Skip to content

Commit a1855e3

Browse files
committed
fix: pass attributes renamed to state
1 parent fee8c7a commit a1855e3

File tree

3 files changed

+66
-66
lines changed

3 files changed

+66
-66
lines changed

demo/Cocreate-twilio.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<!-- create conference -->
6262
<!--<input twilio="createConference.friendlyName" placeholder="create createConference" value="SupportCocreate">-->
6363

64-
<!-- pass enque -->
64+
<!-- state enque -->
6565
<!--<input twilio="holdCall.nameEnqueue" value="support">-->
6666

6767
<br />

demo/archive/Cocreate-twilio.new.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
twilio="hangupStopCall.CallSid"
3838
value="{{render2.parameters.CallSid}}" />
3939

40-
<!-- pass enque -->
40+
<!-- state enque -->
4141
<!--<input twilio="holdCall.nameEnqueue" value="support">-->
4242

4343
<br />

demo/call-log.html

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -86,39 +86,39 @@
8686
<!-- Render Builder -->
8787
<li class="margin-right:15px">
8888
<a
89-
actions="pass, openModal"
90-
pass-array="module-views"
91-
pass-object="5fa86bfd4b4c3e4dea76abec"
92-
pass-key="html"
93-
pass_to="render"
89+
actions="state, openModal"
90+
state-array="module-views"
91+
state-object="5fa86bfd4b4c3e4dea76abec"
92+
state-key="html"
93+
state_to="render"
9494
modal-width="100%"
9595
modal-header="false"
9696
class="sessionBuilderUI_Id">
9797
<i
9898
class="display:flex height:18px fill:#505050"
9999
src="/assets/svg/palette.svg"></i>
100100
<div
101-
pass-array="module-views"
102-
pass-object=""
103-
pass_to="builder"
104-
pass_id="render"></div>
101+
state-array="module-views"
102+
state-object=""
103+
state_to="builder"
104+
state_id="render"></div>
105105
</a>
106106
</li>
107107
<!-- Render Module Form -->
108108
<li class="margin-right:15px">
109109
<a
110-
actions="pass, openModal"
110+
actions="state, openModal"
111111
modal-src="form.html"
112-
pass-array="module-views"
113-
pass-object=""
114-
pass_to="render"
112+
state-array="module-views"
113+
state-object=""
114+
state_to="render"
115115
modal-width="320px"
116116
modal-height="100%"
117117
modal-color="#229954"
118118
modal-header="false"
119119
modal-x=""
120120
modal-y=""
121-
pass_id="module_id">
121+
state_id="module_id">
122122
<i
123123
class="height:16px fill:#505050"
124124
src="/assets/svg/plus.svg"></i>
@@ -158,7 +158,7 @@
158158
></a>
159159
</li>
160160
<li class="margin-right:15px">
161-
<a actions="import" array="" pass_id="datatable"
161+
<a actions="import" array="" state_id="datatable"
162162
><i
163163
class="height:18px fill:#505050"
164164
src="/assets/svg/file-upload.svg"></i
@@ -317,12 +317,12 @@
317317
</div>
318318
<div class="margin-left:10px">
319319
<a
320-
actions="pass, openModal"
320+
actions="state, openModal"
321321
modal-src="./module-views/form.html"
322-
pass-array="modules"
323-
pass-object="{{data._id}}"
324-
pass-key="html"
325-
pass_to="render"
322+
state-array="modules"
323+
state-object="{{data._id}}"
324+
state-key="html"
325+
state_to="render"
326326
modal-width="320px"
327327
modal-color="#229954"
328328
modal-header="false">
@@ -341,26 +341,26 @@ <h4>
341341
Status
342342
</h5>
343343
<div
344-
pass-array="modules"
345-
pass-object="{{data._id}}"
346-
pass_to="form-fields"></div>
344+
state-array="modules"
345+
state-object="{{data._id}}"
346+
state_to="form-fields"></div>
347347
<div
348-
pass-array="module-views"
349-
pass-filter-key="module_id"
350-
pass-filter-value="{{data._id}}"
351-
pass_to="module_id"></div>
348+
state-array="module-views"
349+
state-filter-key="module_id"
350+
state-filter-value="{{data._id}}"
351+
state_to="module_id"></div>
352352
</a>
353353
</div>
354354
</div>
355355
</td>
356356
<td class="padding:10px">
357357
<a
358-
actions="pass, openModal"
358+
actions="state, openModal"
359359
modal-src="./module-views/form.html"
360-
pass-object="{{data._id}}"
361-
pass-array="modules"
362-
pass-key="html"
363-
pass_to="render"
360+
state-object="{{data._id}}"
361+
state-array="modules"
362+
state-key="html"
363+
state_to="render"
364364
modal-width="320px"
365365
modal-color="#229954"
366366
modal-header="false">
@@ -380,19 +380,19 @@ <h4>
380380
>CallStatus</b
381381
>
382382
<div
383-
pass-array="modules"
384-
pass-object="{{data._id}}"
385-
pass_to="form-fields"></div>
383+
state-array="modules"
384+
state-object="{{data._id}}"
385+
state_to="form-fields"></div>
386386
</a>
387387
</td>
388388
<td class="padding:10px">
389389
<a
390-
actions="pass, openModal"
390+
actions="state, openModal"
391391
modal-src="./module-views/form.html"
392-
pass-object="{{data._id}}"
393-
pass-array="modules"
394-
pass-key="html"
395-
pass_to="render"
392+
state-object="{{data._id}}"
393+
state-array="modules"
394+
state-key="html"
395+
state_to="render"
396396
modal-width="320px"
397397
modal-color="#229954"
398398
modal-header="false">
@@ -413,19 +413,19 @@ <h4>
413413
>
414414
</h4>
415415
<div
416-
pass-array="modules"
417-
pass-object="{{data._id}}"
418-
pass_to="form-fields"></div>
416+
state-array="modules"
417+
state-object="{{data._id}}"
418+
state_to="form-fields"></div>
419419
</a>
420420
</td>
421421
<td class="padding:10px">
422422
<a
423-
actions="pass, openModal"
423+
actions="state, openModal"
424424
modal-src="./module-views/form.html"
425-
pass-object="{{data._id}}"
426-
pass-array="modules"
427-
pass-key="html"
428-
pass_to="render"
425+
state-object="{{data._id}}"
426+
state-array="modules"
427+
state-key="html"
428+
state_to="render"
429429
modal-width="320px"
430430
modal-color="#229954"
431431
modal-header="false">
@@ -436,19 +436,19 @@ <h4>
436436
>Duration</b
437437
>
438438
<div
439-
pass-array="modules"
440-
pass-object="{{data._id}}"
441-
pass_to="form-fields"></div>
439+
state-array="modules"
440+
state-object="{{data._id}}"
441+
state_to="form-fields"></div>
442442
</a>
443443
</td>
444444
<td class="padding:10px">
445445
<a
446-
actions="pass, openModal"
446+
actions="state, openModal"
447447
modal-src="./module-views/form.html"
448-
pass-object="{{data._id}}"
449-
pass-array="modules"
450-
pass-key="html"
451-
pass_to="render"
448+
state-object="{{data._id}}"
449+
state-array="modules"
450+
state-key="html"
451+
state_to="render"
452452
modal-width="320px"
453453
modal-color="#229954"
454454
modal-header="false">
@@ -459,9 +459,9 @@ <h4>
459459
>CallSid</b
460460
>
461461
<div
462-
pass-array="modules"
463-
pass-object="{{data._id}}"
464-
pass_to="form-fields"></div>
462+
state-array="modules"
463+
state-object="{{data._id}}"
464+
state_to="form-fields"></div>
465465
</a>
466466
</td>
467467
</tr>
@@ -471,17 +471,17 @@ <h4>
471471
</div>
472472

473473
<button
474-
actions="pass, openModal"
474+
actions="state, openModal"
475475
modal-src="./module-views/form.html"
476-
pass-array="modules"
477-
pass-key="form-html"
478-
pass_to="render"
476+
state-array="modules"
477+
state-key="form-html"
478+
state_to="render"
479479
modal-width="320px"
480480
modal-height="100%"
481481
modal-color="#229954"
482482
modal-header="false"
483483
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4) z-index:8"
484-
pass_id="module_id">
484+
state_id="module_id">
485485
<i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
486486
</button>
487487

0 commit comments

Comments
 (0)