@creaditor/web-starterkit 1.0.62 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/112.creaditor.bundle.js.gz +0 -0
- package/dist/1142.creaditor.bundle.js.gz +0 -0
- package/dist/1204.creaditor.bundle.js.gz +0 -0
- package/dist/1271.creaditor.bundle.js.gz +0 -0
- package/dist/1317.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1317.creaditor.bundle.js.gz +0 -0
- package/dist/1334.creaditor.bundle.js.gz +0 -0
- package/dist/1396.creaditor.bundle.js.gz +0 -0
- package/dist/1403.creaditor.bundle.js.gz +0 -0
- package/dist/1456.creaditor.bundle.js.gz +0 -0
- package/dist/1529.creaditor.bundle.js.gz +0 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/168.creaditor.bundle.js.gz +0 -0
- package/dist/170.creaditor.bundle.js.gz +0 -0
- package/dist/175.creaditor.bundle.js.gz +0 -0
- package/dist/1972.creaditor.bundle.js.gz +0 -0
- package/dist/211.creaditor.bundle.js.gz +0 -0
- package/dist/2112.creaditor.bundle.js.gz +0 -0
- package/dist/2154.creaditor.bundle.js.gz +0 -0
- package/dist/2234.creaditor.bundle.js.gz +0 -0
- package/dist/2298.creaditor.bundle.js.gz +0 -0
- package/dist/235.creaditor.bundle.js.gz +0 -0
- package/dist/2350.creaditor.bundle.js.gz +0 -0
- package/dist/2377.creaditor.bundle.js.gz +0 -0
- package/dist/2384.creaditor.bundle.js.gz +0 -0
- package/dist/2397.creaditor.bundle.js.gz +0 -0
- package/dist/2409.creaditor.bundle.js.gz +0 -0
- package/dist/2547.creaditor.bundle.js.gz +0 -0
- package/dist/2550.creaditor.bundle.js.gz +0 -0
- package/dist/2590.creaditor.bundle.js.gz +0 -0
- package/dist/2655.creaditor.bundle.js.gz +0 -0
- package/dist/2706.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2706.creaditor.bundle.js.gz +0 -0
- package/dist/271.creaditor.bundle.js.gz +0 -0
- package/dist/2717.creaditor.bundle.js.gz +0 -0
- package/dist/2765.creaditor.bundle.js.gz +0 -0
- package/dist/2773.creaditor.bundle.js.gz +0 -0
- package/dist/2833.creaditor.bundle.js.gz +0 -0
- package/dist/2837.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2837.creaditor.bundle.js.gz +0 -0
- package/dist/2956.creaditor.bundle.js.gz +0 -0
- package/dist/2963.creaditor.bundle.js.gz +0 -0
- package/dist/3105.creaditor.bundle.js.gz +0 -0
- package/dist/3233.creaditor.bundle.js.gz +0 -0
- package/dist/3418.creaditor.bundle.js.gz +0 -0
- package/dist/3521.creaditor.bundle.js.gz +0 -0
- package/dist/353.creaditor.bundle.js.gz +0 -0
- package/dist/3545.creaditor.bundle.js.gz +0 -0
- package/dist/3553.creaditor.bundle.js.gz +0 -0
- package/dist/3601.creaditor.bundle.js +288 -0
- package/dist/3601.creaditor.bundle.js.gz +0 -0
- package/dist/3606.creaditor.bundle.js.gz +0 -0
- package/dist/3792.creaditor.bundle.js.gz +0 -0
- package/dist/380.creaditor.bundle.js.gz +0 -0
- package/dist/3827.creaditor.bundle.js.gz +0 -0
- package/dist/3847.creaditor.bundle.js +114 -67
- package/dist/3847.creaditor.bundle.js.gz +0 -0
- package/dist/3875.creaditor.bundle.js.gz +0 -0
- package/dist/3971.creaditor.bundle.js.gz +0 -0
- package/dist/4061.creaditor.bundle.js.gz +0 -0
- package/dist/407.creaditor.bundle.js.gz +0 -0
- package/dist/4074.creaditor.bundle.js.gz +0 -0
- package/dist/4100.creaditor.bundle.js.gz +0 -0
- package/dist/4109.creaditor.bundle.js.gz +0 -0
- package/dist/4114.creaditor.bundle.js.gz +0 -0
- package/dist/4161.creaditor.bundle.js.gz +0 -0
- package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4186.creaditor.bundle.js.gz +0 -0
- package/dist/4288.creaditor.bundle.js.gz +0 -0
- package/dist/4413.creaditor.bundle.js.gz +0 -0
- package/dist/4475.creaditor.bundle.js.gz +0 -0
- package/dist/453.creaditor.bundle.js.gz +0 -0
- package/dist/4615.creaditor.bundle.js.gz +0 -0
- package/dist/4639.creaditor.bundle.js.gz +0 -0
- package/dist/467.creaditor.bundle.js.gz +0 -0
- package/dist/4762.creaditor.bundle.js.gz +0 -0
- package/dist/4770.creaditor.bundle.js.gz +0 -0
- package/dist/4947.creaditor.bundle.js.gz +0 -0
- package/dist/4987.creaditor.bundle.js.gz +0 -0
- package/dist/4988.creaditor.bundle.js.gz +0 -0
- package/dist/507.creaditor.bundle.js +334 -0
- package/dist/507.creaditor.bundle.js.gz +0 -0
- package/dist/5119.creaditor.bundle.js.gz +0 -0
- package/dist/5133.creaditor.bundle.js.gz +0 -0
- package/dist/5156.creaditor.bundle.js.gz +0 -0
- package/dist/5284.creaditor.bundle.js.gz +0 -0
- package/dist/5379.creaditor.bundle.js.gz +0 -0
- package/dist/5391.creaditor.bundle.js.gz +0 -0
- package/dist/5411.creaditor.bundle.js.gz +0 -0
- package/dist/5501.creaditor.bundle.js.gz +0 -0
- package/dist/5530.creaditor.bundle.js.gz +0 -0
- package/dist/5666.creaditor.bundle.js.gz +0 -0
- package/dist/567.creaditor.bundle.js.gz +0 -0
- package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5713.creaditor.bundle.js.gz +0 -0
- package/dist/574.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/574.creaditor.bundle.js.gz +0 -0
- package/dist/578.creaditor.bundle.js.gz +0 -0
- package/dist/5839.creaditor.bundle.js.gz +0 -0
- package/dist/5849.creaditor.bundle.js.gz +0 -0
- package/dist/5850.creaditor.bundle.js.gz +0 -0
- package/dist/5884.creaditor.bundle.js.gz +0 -0
- package/dist/59.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/59.creaditor.bundle.js.gz +0 -0
- package/dist/5926.creaditor.bundle.js.gz +0 -0
- package/dist/6036.creaditor.bundle.js.gz +0 -0
- package/dist/6151.creaditor.bundle.js.gz +0 -0
- package/dist/6216.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6216.creaditor.bundle.js.gz +0 -0
- package/dist/{4819.creaditor.bundle.js → 6323.creaditor.bundle.js} +7 -7
- package/dist/6323.creaditor.bundle.js.gz +0 -0
- package/dist/638.creaditor.bundle.js.gz +0 -0
- package/dist/6442.creaditor.bundle.js.gz +0 -0
- package/dist/6496.creaditor.bundle.js.gz +0 -0
- package/dist/653.creaditor.bundle.js.gz +0 -0
- package/dist/6751.creaditor.bundle.js.gz +0 -0
- package/dist/6814.creaditor.bundle.js.gz +0 -0
- package/dist/6937.creaditor.bundle.js.gz +0 -0
- package/dist/7055.creaditor.bundle.js.gz +0 -0
- package/dist/7155.creaditor.bundle.js.gz +0 -0
- package/dist/7209.creaditor.bundle.js.gz +0 -0
- package/dist/7238.creaditor.bundle.js.gz +0 -0
- package/dist/7255.creaditor.bundle.js.gz +0 -0
- package/dist/738.creaditor.bundle.js.gz +0 -0
- package/dist/7380.creaditor.bundle.js.gz +0 -0
- package/dist/7463.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7463.creaditor.bundle.js.gz +0 -0
- package/dist/7466.creaditor.bundle.js.gz +0 -0
- package/dist/752.creaditor.bundle.js.gz +0 -0
- package/dist/7523.creaditor.bundle.js.gz +0 -0
- package/dist/7564.creaditor.bundle.js.gz +0 -0
- package/dist/7654.creaditor.bundle.js.gz +0 -0
- package/dist/767.creaditor.bundle.js.gz +0 -0
- package/dist/7789.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7789.creaditor.bundle.js.gz +0 -0
- package/dist/7838.creaditor.bundle.js.gz +0 -0
- package/dist/7937.creaditor.bundle.js.gz +0 -0
- package/dist/7997.creaditor.bundle.js.gz +0 -0
- package/dist/8042.creaditor.bundle.js.gz +0 -0
- package/dist/8064.creaditor.bundle.js.gz +0 -0
- package/dist/8088.creaditor.bundle.js +141 -0
- package/dist/8088.creaditor.bundle.js.gz +0 -0
- package/dist/8141.creaditor.bundle.js.gz +0 -0
- package/dist/8173.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8173.creaditor.bundle.js.gz +0 -0
- package/dist/8196.creaditor.bundle.js.gz +0 -0
- package/dist/823.creaditor.bundle.js.gz +0 -0
- package/dist/8250.creaditor.bundle.js.gz +0 -0
- package/dist/8251.creaditor.bundle.js.gz +0 -0
- package/dist/8299.creaditor.bundle.js.gz +0 -0
- package/dist/8315.creaditor.bundle.js.gz +0 -0
- package/dist/8443.creaditor.bundle.js.gz +0 -0
- package/dist/8516.creaditor.bundle.js.gz +0 -0
- package/dist/8533.creaditor.bundle.js.gz +0 -0
- package/dist/8547.creaditor.bundle.js.gz +0 -0
- package/dist/8570.creaditor.bundle.js.gz +0 -0
- package/dist/8646.creaditor.bundle.js.gz +0 -0
- package/dist/8654.creaditor.bundle.js.gz +0 -0
- package/dist/8854.creaditor.bundle.js.gz +0 -0
- package/dist/8878.creaditor.bundle.js.gz +0 -0
- package/dist/8916.creaditor.bundle.js.gz +0 -0
- package/dist/8921.creaditor.bundle.js.gz +0 -0
- package/dist/898.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/898.creaditor.bundle.js.gz +0 -0
- package/dist/8983.creaditor.bundle.js.gz +0 -0
- package/dist/9041.creaditor.bundle.js.gz +0 -0
- package/dist/9158.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9158.creaditor.bundle.js.gz +0 -0
- package/dist/9250.creaditor.bundle.js.gz +0 -0
- package/dist/9386.creaditor.bundle.js.gz +0 -0
- package/dist/9431.creaditor.bundle.js.gz +0 -0
- package/dist/9453.creaditor.bundle.js.gz +0 -0
- package/dist/9570.creaditor.bundle.js.gz +0 -0
- package/dist/9694.creaditor.bundle.js.gz +0 -0
- package/dist/975.creaditor.bundle.js.gz +0 -0
- package/dist/976.creaditor.bundle.js.gz +0 -0
- package/dist/9986.creaditor.bundle.js.gz +0 -0
- package/dist/9990.creaditor.bundle.js.gz +0 -0
- package/dist/9994.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +249 -83
- package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/creaditor.bundle.js.gz +0 -0
- package/dist/index.html.gz +0 -0
- package/dist/service-worker.js +1 -1
- package/dist/service-worker.js.gz +0 -0
- package/dist/workbox-f3063069.js.gz +0 -0
- package/package.json +1 -1
- package/dist/2001.creaditor.bundle.js +0 -335
- package/dist/2001.creaditor.bundle.js.LICENSE.txt +0 -11
- package/dist/2001.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2001.creaditor.bundle.js.gz +0 -0
- package/dist/4819.creaditor.bundle.js.gz +0 -0
- package/dist/5791.creaditor.bundle.js +0 -288
- package/dist/5791.creaditor.bundle.js.gz +0 -0
- package/dist/7051.creaditor.bundle.js +0 -162
- package/dist/7051.creaditor.bundle.js.LICENSE.txt +0 -17
- package/dist/7051.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7051.creaditor.bundle.js.gz +0 -0
- package/dist/715.creaditor.bundle.js +0 -142
- package/dist/715.creaditor.bundle.js.LICENSE.txt +0 -11
- package/dist/715.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/715.creaditor.bundle.js.gz +0 -0
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5791],{25791(t,e,i){i.r(e),i.d(e,{MakeNewsletterAsEventPlugin:()=>p});var a=i(59929),o=i(49410),n=i(21421),r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=(t,e,i,a)=>{for(var o,n=a>1?void 0:a?s(e,i):e,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(a?o(e,i,n):o(n))||n);return a&&n&&r(e,i,n),n};let p=class extends a.WF{constructor(){super(...arguments),this.lang="en",this.primaryColor="#000000",this.primaryTextColor="#ffffff",this.buttonText="#ffffff",this.iconColor="#ffffff",this.buttonTextContent="",this.headerText="Create Event",this.startLabel="Start Date & Time",this.endLabel="End Date & Time",this.locationLabel="Location",this.linkLabel="Link (Optional)",this.saveButtonText="Save Event",this.cancelEventText="Cancel Event",this.confirmCancelText="Are you sure you want to cancel?",this.creatingEventText="Creating Event...",this.eventCreatedText="Event Created!",this.errorMessage="End date/time must be after start date/time",this.locationPlaceholder="Enter event location",this.linkPlaceholder="Enter event link",this.initialStartDate="",this.initialStartTime="",this.initialEndDate="",this.initialEndTime="",this.initialLocation="",this.initialLink="",this.startDate="",this.startTime="",this.endDate="",this.endTime="",this.location="",this.link="",this.error="",this.isSaving=!1,this.isSaved=!1,this.isConfirmingCancel=!1,this.popoverRef=(0,n._)(),this.cancelTimeout=null}get buttonDisplayText(){return this.isSaved?this.eventCreatedText:this.isSaving?this.creatingEventText:this.startDate&&this.startTime?new Date(`${this.startDate}T${this.startTime}`).toLocaleDateString(this.lang,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}):this.buttonTextContent}connectedCallback(){super.connectedCallback(),this.initialStartDate&&this.initialStartTime&&(this.startDate=this.initialStartDate,this.startTime=this.initialStartTime),this.initialEndDate&&this.initialEndTime&&(this.endDate=this.initialEndDate,this.endTime=this.initialEndTime),this.initialLocation&&(this.location=this.initialLocation),this.initialLink&&(this.link=this.initialLink)}handleStartDateTimeChange(t){const e=t.target,[i,a]=e.value.split("T");if(this.startDate=i,this.startTime=a,!this.endDate&&!this.endTime){const t=new Date(new Date(`${i}T${a}`).getTime()+36e5);this.endDate=t.toISOString().split("T")[0],this.endTime=t.toTimeString().slice(0,5)}this.validateDates()}handleEndDateTimeChange(t){const e=t.target,[i,a]=e.value.split("T");this.endDate=i,this.endTime=a,this.validateDates()}validateDates(){if(this.startDate&&this.startTime&&this.endDate&&this.endTime){const t=new Date(`${this.startDate}T${this.startTime}`);new Date(`${this.endDate}T${this.endTime}`)<=t?this.error=this.errorMessage:this.error=""}}async handleSave(){var t;if(this.error)return;this.isSaving=!0,this.isSaved=!1;const e=new CustomEvent("event-created",{detail:{startDate:this.startDate,startTime:this.startTime,endDate:this.endDate,endTime:this.endTime,location:this.location,link:this.link},bubbles:!0,composed:!0});this.dispatchEvent(e),null==(t=this.popoverRef.value)||t.close(),await new Promise(t=>setTimeout(t,1500)),this.isSaving=!1,this.isSaved=!0,setTimeout(()=>{this.isSaved=!1},2e3)}handleCancelEvent(){var t;if(this.isConfirmingCancel){this.cancelTimeout&&(clearTimeout(this.cancelTimeout),this.cancelTimeout=null),this.startDate="",this.startTime="",this.endDate="",this.endTime="",this.location="",this.link="",this.error="",this.isConfirmingCancel=!1;const e=new CustomEvent("event-cancelled",{detail:{startDate:this.startDate,startTime:this.startTime,endDate:this.endDate,endTime:this.endTime,location:this.location,link:this.link},bubbles:!0,composed:!0});this.dispatchEvent(e),null==(t=this.popoverRef.value)||t.close()}else this.isConfirmingCancel=!0,this.cancelTimeout=window.setTimeout(()=>{this.isConfirmingCancel=!1},3e3)}disconnectedCallback(){super.disconnectedCallback(),this.cancelTimeout&&clearTimeout(this.cancelTimeout)}render(){return a.qy`
|
|
2
|
-
<cdtr-popover ${(0,n.K)(this.popoverRef)}>
|
|
3
|
-
<paper-button
|
|
4
|
-
color="primary"
|
|
5
|
-
slot="trigger"
|
|
6
|
-
dir="auto"
|
|
7
|
-
?disabled=${this.isSaving}
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
style="color:${this.iconColor}"
|
|
11
|
-
class="button-content ${this.isSaved?"hidden":""}"
|
|
12
|
-
>
|
|
13
|
-
<svg
|
|
14
|
-
width="20"
|
|
15
|
-
height="20"
|
|
16
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
-
viewBox="0 0 24 24"
|
|
18
|
-
fill="${this.iconColor||"currentColor"}"
|
|
19
|
-
>
|
|
20
|
-
<path
|
|
21
|
-
d="M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM11 13V17H6V13H11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"
|
|
22
|
-
></path>
|
|
23
|
-
</svg>
|
|
24
|
-
${this.buttonDisplayText}
|
|
25
|
-
</div>
|
|
26
|
-
<div
|
|
27
|
-
class="button-border ${this.isSaving?"loading":""} ${this.isSaved?"success":""}"
|
|
28
|
-
></div>
|
|
29
|
-
<svg
|
|
30
|
-
class="checkmark ${this.isSaved?"visible":""}"
|
|
31
|
-
viewBox="0 0 24 24"
|
|
32
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
-
>
|
|
34
|
-
<path
|
|
35
|
-
d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"
|
|
36
|
-
fill="${"currentColor"}"
|
|
37
|
-
/>
|
|
38
|
-
</svg>
|
|
39
|
-
</paper-button>
|
|
40
|
-
<div slot="content" class="popover-content" dir="auto">
|
|
41
|
-
<div class="popover-header">
|
|
42
|
-
<h3 dir="auto">${this.headerText}</h3>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<div class="input-group">
|
|
46
|
-
<label dir="auto">${this.startLabel}</label>
|
|
47
|
-
<input
|
|
48
|
-
type="datetime-local"
|
|
49
|
-
.value=${`${this.startDate}T${this.startTime}`}
|
|
50
|
-
@change=${this.handleStartDateTimeChange}
|
|
51
|
-
dir="auto"
|
|
52
|
-
/>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<div class="input-group">
|
|
56
|
-
<label dir="auto">${this.endLabel}</label>
|
|
57
|
-
<input
|
|
58
|
-
type="datetime-local"
|
|
59
|
-
.value=${`${this.endDate}T${this.endTime}`}
|
|
60
|
-
@change=${this.handleEndDateTimeChange}
|
|
61
|
-
dir="auto"
|
|
62
|
-
/>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div class="input-group">
|
|
66
|
-
<label dir="auto">${this.locationLabel}</label>
|
|
67
|
-
<input
|
|
68
|
-
type="text"
|
|
69
|
-
.value=${this.location}
|
|
70
|
-
@input=${t=>this.location=t.target.value}
|
|
71
|
-
placeholder=${this.locationPlaceholder}
|
|
72
|
-
dir="auto"
|
|
73
|
-
/>
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<div class="input-group">
|
|
77
|
-
<label dir="auto">${this.linkLabel}</label>
|
|
78
|
-
<input
|
|
79
|
-
name="link"
|
|
80
|
-
type="url"
|
|
81
|
-
.value=${this.link}
|
|
82
|
-
@input=${t=>this.link=t.target.value}
|
|
83
|
-
placeholder=${this.linkPlaceholder}
|
|
84
|
-
dir="auto"
|
|
85
|
-
/>
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
${this.error?a.qy`<div class="error" dir="auto">${this.error}</div>`:""}
|
|
89
|
-
|
|
90
|
-
<div class="button-group">
|
|
91
|
-
${this.startDate||this.endDate?a.qy`
|
|
92
|
-
<paper-button
|
|
93
|
-
style=${`background: #ff0000;color:${this.primaryTextColor}`}
|
|
94
|
-
class="cancel-event ${this.isConfirmingCancel?"confirming":""}"
|
|
95
|
-
@click=${this.handleCancelEvent}
|
|
96
|
-
?disabled=${this.isSaving}
|
|
97
|
-
dir="auto"
|
|
98
|
-
>
|
|
99
|
-
${this.isConfirmingCancel?this.confirmCancelText:this.cancelEventText}
|
|
100
|
-
</paper-button>
|
|
101
|
-
`:""}
|
|
102
|
-
<paper-button
|
|
103
|
-
@click=${this.handleSave}
|
|
104
|
-
?disabled=${!!this.error||this.isSaving}
|
|
105
|
-
style=${`background: ${this.primaryColor};color:${this.primaryTextColor};width:100%;`}
|
|
106
|
-
dir="auto"
|
|
107
|
-
>
|
|
108
|
-
${this.saveButtonText}
|
|
109
|
-
</paper-button>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
</cdtr-popover>
|
|
113
|
-
`}};p.styles=a.AH`
|
|
114
|
-
:host {
|
|
115
|
-
display: block;
|
|
116
|
-
}
|
|
117
|
-
* {
|
|
118
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
119
|
-
box-sizing: border-box;
|
|
120
|
-
}
|
|
121
|
-
.popover-content {
|
|
122
|
-
padding: 16px;
|
|
123
|
-
min-width: 300px;
|
|
124
|
-
}
|
|
125
|
-
.popover-header {
|
|
126
|
-
display: flex;
|
|
127
|
-
align-items: center;
|
|
128
|
-
gap: 8px;
|
|
129
|
-
margin-bottom: 16px;
|
|
130
|
-
padding-bottom: 8px;
|
|
131
|
-
border-bottom: 1px solid #e0e0e0;
|
|
132
|
-
}
|
|
133
|
-
.popover-header h3 {
|
|
134
|
-
margin: 0;
|
|
135
|
-
font-size: 16px;
|
|
136
|
-
font-weight: 600;
|
|
137
|
-
color: #333;
|
|
138
|
-
}
|
|
139
|
-
.popover-header svg {
|
|
140
|
-
width: 20px;
|
|
141
|
-
height: 20px;
|
|
142
|
-
color: #666;
|
|
143
|
-
}
|
|
144
|
-
.input-group {
|
|
145
|
-
margin-bottom: 16px;
|
|
146
|
-
}
|
|
147
|
-
.input-group label {
|
|
148
|
-
display: block;
|
|
149
|
-
margin-bottom: 4px;
|
|
150
|
-
font-size: 14px;
|
|
151
|
-
color: #333;
|
|
152
|
-
}
|
|
153
|
-
.input-group input {
|
|
154
|
-
padding: 8px 12px;
|
|
155
|
-
border: 1px solid #ccc;
|
|
156
|
-
border-radius: 4px;
|
|
157
|
-
width: 100%;
|
|
158
|
-
font-size: 14px;
|
|
159
|
-
transition: border-color 0.2s;
|
|
160
|
-
}
|
|
161
|
-
.input-group input:focus {
|
|
162
|
-
border-color: #666;
|
|
163
|
-
outline: none;
|
|
164
|
-
}
|
|
165
|
-
.datetime-container {
|
|
166
|
-
display: grid;
|
|
167
|
-
grid-template-columns: 1fr 1fr;
|
|
168
|
-
gap: 8px;
|
|
169
|
-
}
|
|
170
|
-
.error {
|
|
171
|
-
color: #ff0000;
|
|
172
|
-
font-size: 12px;
|
|
173
|
-
margin-bottom: 8px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.button-content {
|
|
177
|
-
display: flex;
|
|
178
|
-
align-items: center;
|
|
179
|
-
gap: 8px;
|
|
180
|
-
position: relative;
|
|
181
|
-
z-index: 1;
|
|
182
|
-
transition: opacity 0.3s ease;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.button-content.hidden {
|
|
186
|
-
opacity: 0;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.button-border {
|
|
190
|
-
position: absolute;
|
|
191
|
-
top: 0;
|
|
192
|
-
left: 0;
|
|
193
|
-
right: 0;
|
|
194
|
-
bottom: 0;
|
|
195
|
-
border: 2px solid transparent;
|
|
196
|
-
border-radius: 4px;
|
|
197
|
-
pointer-events: none;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.button-border.loading {
|
|
201
|
-
border-color: #ffffff;
|
|
202
|
-
animation: borderRotate 1.5s linear infinite;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.button-border.success {
|
|
206
|
-
border-color: #4caf50;
|
|
207
|
-
animation: borderSuccess 0.5s ease-out forwards;
|
|
208
|
-
}
|
|
209
|
-
paper-button {
|
|
210
|
-
min-width: 10px;
|
|
211
|
-
max-height:40px;
|
|
212
|
-
}
|
|
213
|
-
.checkmark {
|
|
214
|
-
position: absolute;
|
|
215
|
-
top: 50%;
|
|
216
|
-
left: 50%;
|
|
217
|
-
transform: translate(-50%, -50%) scale(0);
|
|
218
|
-
width: 24px;
|
|
219
|
-
height: 24px;
|
|
220
|
-
opacity: 0;
|
|
221
|
-
transition: opacity 0.3s ease;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.checkmark.visible {
|
|
225
|
-
opacity: 1;
|
|
226
|
-
transform: translate(-50%, -50%) scale(1);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@keyframes borderRotate {
|
|
230
|
-
0% {
|
|
231
|
-
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
232
|
-
}
|
|
233
|
-
25% {
|
|
234
|
-
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
235
|
-
}
|
|
236
|
-
50% {
|
|
237
|
-
clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
|
|
238
|
-
}
|
|
239
|
-
75% {
|
|
240
|
-
clip-path: polygon(100% 100%, 0 100%, 0 100%, 100% 100%);
|
|
241
|
-
}
|
|
242
|
-
100% {
|
|
243
|
-
clip-path: polygon(0 100%, 0 0, 0 0, 0 100%);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
@keyframes borderSuccess {
|
|
248
|
-
0% {
|
|
249
|
-
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
250
|
-
}
|
|
251
|
-
100% {
|
|
252
|
-
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@keyframes checkmarkSuccess {
|
|
257
|
-
0% {
|
|
258
|
-
transform: translate(-50%, -50%) scale(0);
|
|
259
|
-
opacity: 0;
|
|
260
|
-
}
|
|
261
|
-
50% {
|
|
262
|
-
transform: translate(-50%, -50%) scale(1.2);
|
|
263
|
-
opacity: 1;
|
|
264
|
-
}
|
|
265
|
-
100% {
|
|
266
|
-
transform: translate(-50%, -50%) scale(1);
|
|
267
|
-
opacity: 1;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.button-group {
|
|
272
|
-
display: flex;
|
|
273
|
-
gap: 8px;
|
|
274
|
-
margin-top: 16px;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
@keyframes pulse {
|
|
278
|
-
0% {
|
|
279
|
-
transform: scale(1);
|
|
280
|
-
}
|
|
281
|
-
50% {
|
|
282
|
-
transform: scale(1.05);
|
|
283
|
-
}
|
|
284
|
-
100% {
|
|
285
|
-
transform: scale(1);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`,l([(0,o.MZ)({type:String})],p.prototype,"lang",2),l([(0,o.MZ)({type:String})],p.prototype,"primaryColor",2),l([(0,o.MZ)({type:String})],p.prototype,"primaryTextColor",2),l([(0,o.MZ)({type:String})],p.prototype,"buttonText",2),l([(0,o.MZ)({type:String})],p.prototype,"iconColor",2),l([(0,o.MZ)({type:String})],p.prototype,"buttonTextContent",2),l([(0,o.MZ)({type:String})],p.prototype,"headerText",2),l([(0,o.MZ)({type:String})],p.prototype,"startLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"endLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"locationLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"linkLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"saveButtonText",2),l([(0,o.MZ)({type:String})],p.prototype,"cancelEventText",2),l([(0,o.MZ)({type:String})],p.prototype,"confirmCancelText",2),l([(0,o.MZ)({type:String})],p.prototype,"creatingEventText",2),l([(0,o.MZ)({type:String})],p.prototype,"eventCreatedText",2),l([(0,o.MZ)({type:String})],p.prototype,"errorMessage",2),l([(0,o.MZ)({type:String})],p.prototype,"locationPlaceholder",2),l([(0,o.MZ)({type:String})],p.prototype,"linkPlaceholder",2),l([(0,o.MZ)({type:String})],p.prototype,"initialStartDate",2),l([(0,o.MZ)({type:String})],p.prototype,"initialStartTime",2),l([(0,o.MZ)({type:String})],p.prototype,"initialEndDate",2),l([(0,o.MZ)({type:String})],p.prototype,"initialEndTime",2),l([(0,o.MZ)({type:String})],p.prototype,"initialLocation",2),l([(0,o.MZ)({type:String})],p.prototype,"initialLink",2),l([(0,o.MZ)()],p.prototype,"startDate",2),l([(0,o.MZ)()],p.prototype,"startTime",2),l([(0,o.MZ)()],p.prototype,"endDate",2),l([(0,o.MZ)()],p.prototype,"endTime",2),l([(0,o.MZ)()],p.prototype,"location",2),l([(0,o.MZ)()],p.prototype,"link",2),l([(0,o.MZ)()],p.prototype,"error",2),l([(0,o.MZ)()],p.prototype,"isSaving",2),l([(0,o.MZ)()],p.prototype,"isSaved",2),l([(0,o.MZ)()],p.prototype,"isConfirmingCancel",2),p=l([(0,o.EM)("cdtr-make-newsletter-as-event-plugin")],p)}}]);
|
|
Binary file
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 7051.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7051],{97051(t,e,s){s.r(e),s.d(e,{default:()=>St});var i=Object.defineProperty,n=(t,e,s)=>((t,e,s)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s)(t,"symbol"!=typeof e?e+"":e,s);const o=globalThis,r=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new WeakMap;let a=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&h.set(e,t))}return t}toString(){return this.cssText}};const d=function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i<e;i++)s[i-1]=arguments[i];const n=1===t.length?t[0]:s.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(n,t,l)},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,l))(e)})(t):t,{is:u,defineProperty:p,getOwnPropertyDescriptor:f,getOwnPropertyNames:$,getOwnPropertySymbols:v,getPrototypeOf:g}=Object,m=globalThis,_=m.trustedTypes,y=_?_.emptyScript:"",b=m.reactiveElementPolyfillSupport,A=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch{s=null}}return s}},E=(t,e)=>!u(t,e),x={attribute:!0,type:String,converter:w,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),m.litPropertyMetadata??(m.litPropertyMetadata=new WeakMap);let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x;if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&p(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=f(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const o=null==i?void 0:i.call(this);null==n||n.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const t=this.properties,e=[...$(t),...v(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(r)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),i=o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var s;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(void 0!==n&&!0===i.reflect){const o=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:w).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(t,e){var s,i;const n=this.constructor,o=n._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=n.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:w;this._$Em=o;const l=r.fromAttribute(e,t.type);this[o]=l??(null==(i=this._$Ej)?void 0:i.get(o))??l,this._$Em=null}}requestUpdate(t,e,s){var i;if(void 0!==t){const n=this.constructor,o=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??E)(o,e)||s.useDefault&&s.reflect&&o===(null==(i=this._$Ej)?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,s,i){let{useDefault:n,reflect:o,wrapped:r}=s;n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==r||void 0!==i)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(s)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[A("elementProperties")]=new Map,C[A("finalized")]=new Map,null==b||b({ReactiveElement:C}),(m.reactiveElementVersions??(m.reactiveElementVersions=[])).push("2.1.1");const S=globalThis,k=S.trustedTypes,P=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,R="$lit$",T=`lit$${Math.random().toFixed(9).slice(2)}$`,U="?"+T,N=`<${U}>`,O=document,H=()=>O.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,L=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,G=/"/g,V=/^(?:script|style|textarea|title)$/i,q=(Z=1,function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i<e;i++)s[i-1]=arguments[i];return{_$litType$:Z,strings:t,values:s}}),K=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),J=new WeakMap,Q=O.createTreeWalker(O,129);var Z;function X(t,e){if(!I(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==P?P.createHTML(e):e}class Y{constructor(t,e){let s,{strings:i,_$litType$:n}=t;this.parts=[];let o=0,r=0;const l=i.length-1,h=this.parts,[a,d]=((t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",r=B;for(let e=0;e<s;e++){const s=t[e];let l,h,a=-1,d=0;for(;d<s.length&&(r.lastIndex=d,h=r.exec(s),null!==h);)d=r.lastIndex,r===B?"!--"===h[1]?r=D:void 0!==h[1]?r=L:void 0!==h[2]?(V.test(h[2])&&(n=RegExp("</"+h[2],"g")),r=j):void 0!==h[3]&&(r=j):r===j?">"===h[0]?(r=n??B,a=-1):void 0===h[1]?a=-2:(a=r.lastIndex-h[2].length,l=h[1],r=void 0===h[3]?j:'"'===h[3]?G:W):r===G||r===W?r=j:r===D||r===L?r=B:(r=j,n=void 0);const c=r===j&&t[e+1].startsWith("/>")?" ":"";o+=r===B?s+N:a>=0?(i.push(l),s.slice(0,a)+R+s.slice(a)+T+c):s+T+(-2===a?e:c)}return[X(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]})(i,n);if(this.el=Y.createElement(a,e),Q.currentNode=this.el.content,2===n||3===n){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=Q.nextNode())&&h.length<l;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(R)){const e=d[r++],i=s.getAttribute(t).split(T),n=/([.?@])?(.*)/.exec(e);h.push({type:1,index:o,name:n[2],strings:i,ctor:"."===n[1]?nt:"?"===n[1]?ot:"@"===n[1]?rt:it}),s.removeAttribute(t)}else t.startsWith(T)&&(h.push({type:6,index:o}),s.removeAttribute(t));if(V.test(s.tagName)){const t=s.textContent.split(T),e=t.length-1;if(e>0){s.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],H()),Q.nextNode(),h.push({type:2,index:++o});s.append(t[e],H())}}}else if(8===s.nodeType)if(s.data===U)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(T,t+1));)h.push({type:7,index:o}),t+=T.length-1}o++}}static createElement(t,e){const s=O.createElement("template");return s.innerHTML=t,s}}function tt(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0;var n,o;if(e===K)return e;let r=void 0!==i?null==(n=s._$Co)?void 0:n[i]:s._$Cl;const l=M(e)?void 0:e._$litDirective$;return(null==r?void 0:r.constructor)!==l&&(null==(o=null==r?void 0:r._$AO)||o.call(r,!1),void 0===l?r=void 0:(r=new l(t),r._$AT(t,s,i)),void 0!==i?(s._$Co??(s._$Co=[]))[i]=r:s._$Cl=r),void 0!==r&&(e=tt(t,r._$AS(t,e.values),r,i)),e}class et{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((null==t?void 0:t.creationScope)??O).importNode(e,!0);Q.currentNode=i;let n=Q.nextNode(),o=0,r=0,l=s[0];for(;void 0!==l;){if(o===l.index){let e;2===l.type?e=new st(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new lt(n,this,t)),this._$AV.push(e),l=s[++r]}o!==(null==l?void 0:l.index)&&(n=Q.nextNode(),o++)}return Q.currentNode=O,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class st{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(null==i?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=tt(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),M(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>I(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==F&&M(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Y.createElement(X(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===n)this._$AH.p(s);else{const t=new et(n,this),e=t.u(this.options);t.p(s),this.T(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}k(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new st(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var s;for(null==(s=this._$AP)||s.call(this,!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class it{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=F}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;const n=this.strings;let o=!1;if(void 0===n)t=tt(this,t,e,0),o=!M(t)||t!==this._$AH&&t!==K,o&&(this._$AH=t);else{const i=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=tt(this,i[s+r],e,r),l===K&&(l=this._$AH[r]),o||(o=!M(l)||l!==this._$AH[r]),l===F?t=F:t!==F&&(t+=(l??"")+n[r+1]),this._$AH[r]=l}o&&!i&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class nt extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}class ot extends it{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}}class rt extends it{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t){if((t=tt(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??F)===K)return;const e=this._$AH,s=t===F&&e!==F||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==F&&(e===F||s);s&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const ht=S.litHtmlPolyfillSupport;null==ht||ht(Y,st),(S.litHtmlVersions??(S.litHtmlVersions=[])).push("3.3.1");const at=globalThis;let dt=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{const i=(null==s?void 0:s.renderBefore)??e;let n=i._$litPart$;if(void 0===n){const t=(null==s?void 0:s.renderBefore)??null;i._$litPart$=n=new st(e.insertBefore(H(),t),t,void 0,s??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return K}};var ct;dt._$litElement$=!0,dt.finalized=!0,null==(ct=at.litElementHydrateSupport)||ct.call(at,{LitElement:dt});const ut=at.litElementPolyfillSupport;null==ut||ut({LitElement:dt}),(at.litElementVersions??(at.litElementVersions=[])).push("4.2.1");const pt=2;class ft{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const $t=(t,e)=>{var s;const i=t._$AN;if(void 0===i)return!1;for(const t of i)null==(s=t._$AO)||s.call(t,e,!1),$t(t,e);return!0},vt=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===(null==s?void 0:s.size))},gt=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),yt(e)}};function mt(t){void 0!==this._$AN?(vt(this),this._$AM=t,gt(this)):this._$AM=t}function _t(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)$t(i[t],!1),vt(i[t]);else null!=i&&($t(i,!1),vt(i));else $t(this,t)}const yt=t=>{t.type==pt&&(t._$AP??(t._$AP=_t),t._$AQ??(t._$AQ=mt))};class bt extends ft{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),gt(this),this.isConnected=t._$AU}_$AO(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var s,i;t!==this.isConnected&&(this.isConnected=t,t?null==(s=this.reconnected)||s.call(this):null==(i=this.disconnected)||i.call(this)),e&&($t(this,t),vt(this))}setValue(t){if((t=>void 0===t.strings)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class At{}const wt=new WeakMap,Et=(t=>function(){for(var e=arguments.length,s=new Array(e),i=0;i<e;i++)s[i]=arguments[i];return{_$litDirective$:t,values:s}})(class extends bt{render(t){return F}update(t,e){let[s]=e;var i;const n=s!==this.G;return n&&void 0!==this.G&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=s,this.ht=null==(i=t.options)?void 0:i.host,this.rt(this.ct=t.element)),F}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=wt.get(e);void 0===s&&(s=new WeakMap,wt.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e;return"function"==typeof this.G?null==(t=wt.get(this.ht??globalThis))?void 0:t.get(this.G):null==(e=this.G)?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});let xt=1500;function Ct(){return xt++}class St extends dt{constructor(){super(),n(this,"contentRef",new At),this.toggle=this.toggle.bind(this),this.onEnter=this.onEnter.bind(this),this.onKeydown=this.onKeydown.bind(this),this.overflow=!0,this.maxHeight=300,this.left=0,this.top=0,this.custom=!1,this.opened=!1}close(){this.toggle()}onBouncing(t){this.searchText=t.target.value;const e=new UIEvent("search",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}render(){return q`
|
|
3
|
-
<slot @click=${()=>this.toggle()} tabindex="0" name="trigger"></slot>
|
|
4
|
-
${this.opened?q` <div
|
|
5
|
-
@mouseup=${this.onClickOutside}
|
|
6
|
-
class="backdrop"
|
|
7
|
-
style="z-index:${Ct()};"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
${Et(this.contentRef)}
|
|
11
|
-
@mouseup=${this.preventClosing}
|
|
12
|
-
style="z-index:${Ct()};left:${this.left}px;top:${this.top}px;"
|
|
13
|
-
class="dropdown-content fade-in ${this.custom?"":"dropdown-background"}"
|
|
14
|
-
>
|
|
15
|
-
${this.search?q`<cdtr-input
|
|
16
|
-
@input=${this.onBouncing}
|
|
17
|
-
type="search"
|
|
18
|
-
value=${this.searchText}
|
|
19
|
-
></cdtr-input>`:null}
|
|
20
|
-
<slot name="content"></slot>
|
|
21
|
-
</div>
|
|
22
|
-
</div>`:null}
|
|
23
|
-
`}preventClosing(t){return t.stopPropagation(),setTimeout(()=>{this.calcRects()},0),!1}onClickOutside(){this.toggle(!1)}updated(){var t;this.opened&&(setTimeout(()=>{this.calcRects()},0),null==(t=this.contentRef.value)||t.classList.add("fade-in"),this.contentRef.value.style.maxHeight=`${this.maxHeight}px`)}calcRects(){var t,e;let s=0,i=0;const n=this.getBoundingClientRect(),o=null==(e=null==(t=this.contentRef)?void 0:t.value)?void 0:e.getBoundingClientRect();o&&(s=n.left,i=n.top,s<0&&(s=0),i<0&&(i=0),s+o.width>window.innerWidth&&(s=window.innerWidth-o.width),i+o.height>window.innerHeight&&(i=window.innerHeight-o.height),this.left=s,this.top=i,this.contentRef.value.style.left=`${n.left}px`,this.contentRef.value.style.top=`${i+n.height}px`,this.contentRef.value.style.overflow=this.overflow?"hidden auto":"hidden")}toggle(){var t;const e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]||!this.opened;e?(window.removeEventListener("keydown",this.onKeydown),window.addEventListener("keydown",this.onKeydown),this.opened=e,setTimeout(()=>{const t=this.focusedItem=this.querySelector("cdtr-dropdown-item[focused]")||this.querySelector("cdtr-dropdown-item");t&&t.focus()},20)):(window.removeEventListener("keydown",this.onKeydown),null==(t=this.contentRef.value)||t.classList.add("fade-out"),setTimeout(()=>{this.opened=e},150)),this.setAttribute("aria-expanded",e)}onEnter(t){t.target===this&&13===t.keyCode&&this.toggle()}onKeydown(t){this.focusedItem&&40===t.keyCode&&this.focusedItem.nextElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.nextElementSibling.nodeName?(this.focusedItem=this.focusedItem.nextElementSibling,this.focusedItem&&this.focusedItem.focus()):this.focusedItem&&38===t.keyCode&&this.focusedItem.previousElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.previousElementSibling.nodeName?(this.focusedItem=this.focusedItem.previousElementSibling,this.focusedItem&&this.focusedItem.focus()):27===t.keyCode&&this.toggle();const e=new UIEvent("keypress",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("tabindex","0"),this.setAttribute("aria-disabled","false"),this.setAttribute("aria-haspopup","true"),this.setAttribute("aria-expanded",this.opened),this.addEventListener("keydown",this.onEnter),setTimeout(()=>{this.opened&&this.toggle(!0)},50)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("keydown",this.onKeydown)}patch(t){this.value=t,this.toggle(!1);const e=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e),setTimeout(()=>{this.focus()},0)}}n(St,"styles",d`
|
|
24
|
-
:host {
|
|
25
|
-
display: inline-block;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.backdrop {
|
|
31
|
-
position: fixed;
|
|
32
|
-
top: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
width: 100%;
|
|
35
|
-
height: 100%;
|
|
36
|
-
background: transparent;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
}
|
|
39
|
-
.dropdown-background {
|
|
40
|
-
background: #fff;
|
|
41
|
-
}
|
|
42
|
-
.dropdown-content {
|
|
43
|
-
box-sizing: border-box;
|
|
44
|
-
min-width: 50px;
|
|
45
|
-
min-height: 50;
|
|
46
|
-
position: fixed;
|
|
47
|
-
border-radius: 0.25rem;
|
|
48
|
-
/* padding: 3px; */
|
|
49
|
-
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
50
|
-
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
51
|
-
}
|
|
52
|
-
.fade-in {
|
|
53
|
-
animation: fade-in 0.3s;
|
|
54
|
-
}
|
|
55
|
-
.fade-out {
|
|
56
|
-
animation: fade-out 0.3s;
|
|
57
|
-
opacity: 0;
|
|
58
|
-
}
|
|
59
|
-
@keyframes fade-in {
|
|
60
|
-
from {
|
|
61
|
-
opacity: 0;
|
|
62
|
-
margin-top: 5px;
|
|
63
|
-
}
|
|
64
|
-
to {
|
|
65
|
-
opacity: 1;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
@keyframes fade-out {
|
|
69
|
-
from {
|
|
70
|
-
opacity: 1;
|
|
71
|
-
}
|
|
72
|
-
to {
|
|
73
|
-
margin-top: 5px;
|
|
74
|
-
opacity: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
`),n(St,"properties",{search:{type:Boolean},searchText:{type:String},left:{type:Number},top:{type:Number},opened:{type:Boolean},maxHeight:{type:Number},overflow:{type:Boolean},value:{type:String},custom:{type:String}});class kt extends dt{constructor(){super(),this.minWidth=50}render(){return q`<paper-button style="min-width:${this.minWidth}px"
|
|
78
|
-
><slot></slot> <cdtr-dd-arrow-icon></cdtr-dd-arrow-icon
|
|
79
|
-
></paper-button>`}}n(kt,"properties",{minWidth:{type:Number}}),n(kt,"styles",d`
|
|
80
|
-
paper-button {
|
|
81
|
-
display: flex;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
text-transform: capitalize;
|
|
84
|
-
width: 100%;
|
|
85
|
-
font-size: 14px;
|
|
86
|
-
font-weight: 400;
|
|
87
|
-
line-height: 1.5;
|
|
88
|
-
color: rgb(33, 37, 41);
|
|
89
|
-
background: rgb(255, 255, 255);
|
|
90
|
-
background-clip: padding-box;
|
|
91
|
-
border-width: 1px;
|
|
92
|
-
border-style: solid;
|
|
93
|
-
border-image: initial;
|
|
94
|
-
appearance: none;
|
|
95
|
-
border-radius: 0.25rem;
|
|
96
|
-
transition: border-color 0.15s ease-in-out 0s,
|
|
97
|
-
box-shadow 0.15s ease-in-out 0s;
|
|
98
|
-
margin: 0px;
|
|
99
|
-
font-family: var(--font-family);
|
|
100
|
-
border-color: var(--input-border-color);
|
|
101
|
-
box-sizing: border-box;
|
|
102
|
-
padding: 5px;
|
|
103
|
-
font-size: 12px;
|
|
104
|
-
}
|
|
105
|
-
paper-button:hover {
|
|
106
|
-
border-color: black;
|
|
107
|
-
}
|
|
108
|
-
`);class Pt extends dt{constructor(){super(),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}focus(){this.shadowRoot.querySelector(".dropdown-item").focus()}onFocus(){this.focused=!0}onBlur(){this.focused=!1}onClick(t){if(this.notClickable)return;const e=this.closest("cdtr-dropdown");e&&e.patch(this.value,t,this)}onPress(t){if(13===t.keyCode){const e=new UIEvent("click",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e);const s=this.closest("cdtr-dropdown");s&&s.patch(this.value,t,this)}}connectedCallback(){super.connectedCallback(),this.selected&&this.scrollIntoView({behavior:"smooth",block:"start"})}render(){return q`<div role="button"
|
|
109
|
-
@click=${this.onClick}
|
|
110
|
-
@keydown=${this.onPress}
|
|
111
|
-
@blur=${this.onBlur}
|
|
112
|
-
@focus=${this.onFocus}
|
|
113
|
-
class="dropdown-item"
|
|
114
|
-
tabindex="0"
|
|
115
|
-
>
|
|
116
|
-
${this.selected?q` <svg
|
|
117
|
-
class="selected-svg"
|
|
118
|
-
fill="var(--primary)"
|
|
119
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
120
|
-
viewBox="0 0 24 24"
|
|
121
|
-
width="24"
|
|
122
|
-
height="24"
|
|
123
|
-
>
|
|
124
|
-
<path fill="none" d="M0 0h24v24H0z" />
|
|
125
|
-
<path
|
|
126
|
-
d="M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z"
|
|
127
|
-
/>
|
|
128
|
-
</svg>`:null}
|
|
129
|
-
<slot></slot>
|
|
130
|
-
</div>`}}n(Pt,"properties",{focused:{type:Boolean,reflect:!0},selected:{type:Boolean,reflect:!0},value:{type:String,reflect:!0},notClickable:{type:Boolean}}),n(Pt,"styles",d`
|
|
131
|
-
.dropdown-item {
|
|
132
|
-
position: relative;
|
|
133
|
-
box-sizing: border-box;
|
|
134
|
-
display: flex;
|
|
135
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
136
|
-
font-size: 12px;
|
|
137
|
-
cursor: pointer;
|
|
138
|
-
margin-bottom: 2px;
|
|
139
|
-
display: flex;
|
|
140
|
-
align-items: center;
|
|
141
|
-
user-select: none;
|
|
142
|
-
width: 100%;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
padding: 10px 20px;
|
|
146
|
-
}
|
|
147
|
-
.dropdown-item:hover {
|
|
148
|
-
background: #f3f3f396;
|
|
149
|
-
}
|
|
150
|
-
.dropdown-item:focus {
|
|
151
|
-
color: var(--primary-color);
|
|
152
|
-
outline: none;
|
|
153
|
-
background: #f3f3f3;
|
|
154
|
-
}
|
|
155
|
-
.selected-svg {
|
|
156
|
-
width: 16px;
|
|
157
|
-
position: absolute;
|
|
158
|
-
left: 95%;
|
|
159
|
-
transform: translate(-70%, -50%);
|
|
160
|
-
top: 50%;
|
|
161
|
-
}
|
|
162
|
-
`),customElements.get("cdtr-dropdown-item")||customElements.define("cdtr-dropdown-item",Pt),customElements.get("cdtr-dropdown-button")||customElements.define("cdtr-dropdown-button",kt),customElements.get("cdtr-dropdown")||customElements.define("cdtr-dropdown",St)}}]);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright 2019 Google LLC
|
|
10
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @license
|
|
15
|
-
* Copyright 2020 Google LLC
|
|
16
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
-
*/
|
|
Binary file
|
|
Binary file
|