@cling-se/widget 0.9.10 → 0.9.11

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.
Files changed (147) hide show
  1. package/README.md +35 -35
  2. package/dist/{AddClientCallout-98b5d2c9.js → AddClientCallout-bccc787f.js} +5 -5
  3. package/dist/{AnswerModal-995e7a87.js → AnswerModal-4de1dbc1.js} +7 -7
  4. package/dist/{AttachmentItem-331b9c1e.js → AttachmentItem-800d8c9f.js} +4 -4
  5. package/dist/{BaseDatePicker-7f047527.js → BaseDatePicker-1abafbac.js} +43 -43
  6. package/dist/{BaseInput-c79f0001.js → BaseInput-51ade595.js} +1 -1
  7. package/dist/{BaseUpload-9402cc1b.js → BaseUpload-b9b2fa68.js} +3 -3
  8. package/dist/{BlockMedia-80a082ed.js → BlockMedia-efc20618.js} +2 -2
  9. package/dist/{CCallout-bd314caa.js → CCallout-a357fde2.js} +5 -5
  10. package/dist/{CDropdownItem-ab42f924.js → CDropdownItem-bb7f1de7.js} +1 -1
  11. package/dist/{CField-6da7299b.js → CField-d69fcf46.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-c70342a2.js → CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js} +1 -1
  13. package/dist/{ClientAutocomplete-67fc253c.js → ClientAutocomplete-d126a3bd.js} +6 -6
  14. package/dist/{ClientModal-1709e8c7.js → ClientModal-e2c196c4.js} +5 -5
  15. package/dist/{ColorPicker-4880a624.js → ColorPicker-81f9f778.js} +2 -2
  16. package/dist/{CompanyModal-dbe85884.js → CompanyModal-092999bf.js} +4 -4
  17. package/dist/{ContentWrapper-a602cc3d.js → ContentWrapper-1f930dce.js} +14 -14
  18. package/dist/{CoverBlockSettings-f37fe6e1.js → CoverBlockSettings-5aa513a4.js} +20 -20
  19. package/dist/DocForm-2e9af604.js +7132 -0
  20. package/dist/{DocFormSend-c9b955b9.js → DocFormSend-fadf14c9.js} +18 -19
  21. package/dist/{DocModalBase-8c238a59.js → DocModalBase-4172fbbb.js} +4 -4
  22. package/dist/{DocPrint-2a181ffb.js → DocPrint-edc291ba.js} +5 -5
  23. package/dist/{DocReceipt-00c0f631.js → DocReceipt-bcb8539c.js} +1 -1
  24. package/dist/{DocSendReminder-9effd808.js → DocSendReminder-c75a1906.js} +1 -1
  25. package/dist/{DocTextEditor-0c8a4782.js → DocTextEditor-c9b90281.js} +12 -12
  26. package/dist/{DocTimeline-be5e8b9d.js → DocTimeline-2afee21c.js} +5 -5
  27. package/dist/{DocumentClient-13f55b25.js → DocumentClient-425f6e0b.js} +5 -5
  28. package/dist/{DocumentLayout-2ff55f9f.js → DocumentLayout-0d24ac85.js} +5 -5
  29. package/dist/{DocumentLogotype-80a2521a.js → DocumentLogotype-278b2823.js} +15 -15
  30. package/dist/{EmbedInput-8572a42b.js → EmbedInput-28796e66.js} +2 -2
  31. package/dist/{EmbedSettings-1a60358e.js → EmbedSettings-1e097db9.js} +5 -5
  32. package/dist/{ErrorCallout-84e8168b.js → ErrorCallout-ddbc30af.js} +2 -2
  33. package/dist/{FilePreviewModal-cdafbf1c.js → FilePreviewModal-360216a2.js} +5 -5
  34. package/dist/{HeaderSettings-9f4d182b.js → HeaderSettings-abc9e60f.js} +15 -15
  35. package/dist/{ImageSelectModal-b97c8185.js → ImageSelectModal-2c078df5.js} +10 -10
  36. package/dist/{ImageUploadWrapper-ebcdbc9e.js → ImageUploadWrapper-99a3b0dd.js} +3 -3
  37. package/dist/{Index-4bbfdb2e.js → Index-05d4a173.js} +2 -2
  38. package/dist/{Index-ba4cfb80.js → Index-0a9e95d6.js} +6 -6
  39. package/dist/{Index-623bb993.js → Index-168790bc.js} +4 -4
  40. package/dist/{Index-ddf49640.js → Index-193a4968.js} +6 -6
  41. package/dist/{Index-7b1fd376.js → Index-23c1de88.js} +2 -2
  42. package/dist/{Index-9c5f5d6e.js → Index-44764dbb.js} +7 -7
  43. package/dist/{Index-5428e87c.js → Index-4cae2241.js} +9 -9
  44. package/dist/{Index-11d16691.js → Index-5688e5e1.js} +25 -25
  45. package/dist/{Index-8cba5dac.js → Index-610a54bf.js} +39 -39
  46. package/dist/{Index-6c782bef.js → Index-61786d22.js} +12 -12
  47. package/dist/{Index-3ccc66e4.js → Index-61b794ca.js} +4 -4
  48. package/dist/{Index-dd30bbc5.js → Index-6435f551.js} +12 -12
  49. package/dist/{Index-7f01697f.js → Index-7317f443.js} +7 -7
  50. package/dist/{Index-ffc7dba1.js → Index-7a56c885.js} +5 -5
  51. package/dist/{Index-dca28212.js → Index-81eeecba.js} +2 -2
  52. package/dist/{Index-0bbbe1cf.js → Index-83597574.js} +11 -11
  53. package/dist/{Index-8ecb9aa4.js → Index-8b02f74f.js} +2 -2
  54. package/dist/{Index-b233276b.js → Index-8b57e293.js} +2 -2
  55. package/dist/{Index-039d9c9d.js → Index-901f2f68.js} +6 -6
  56. package/dist/{Index-0bd4a30c.js → Index-942a36d2.js} +6 -6
  57. package/dist/{Index-de93e029.js → Index-a0de23fe.js} +7 -7
  58. package/dist/{Index-c2b2ccd9.js → Index-a8b60741.js} +8 -8
  59. package/dist/{Index-8053871b.js → Index-a8faf552.js} +4 -4
  60. package/dist/{Index-8c4fd5b4.js → Index-abb29c87.js} +27 -27
  61. package/dist/{Index-8755440b.js → Index-ad024dc9.js} +5 -5
  62. package/dist/{Index-8eff4eae.js → Index-aecbccac.js} +2 -2
  63. package/dist/{Index-0022bc40.js → Index-c5b9ad7f.js} +4 -4
  64. package/dist/{Index-341f9388.js → Index-cb10ca9b.js} +8 -8
  65. package/dist/{Index-f9063054.js → Index-cb1efaaa.js} +7 -7
  66. package/dist/{Index-2ecefac2.js → Index-d2d40188.js} +4 -4
  67. package/dist/{Index-95f0dd2f.js → Index-d56d4b7b.js} +19 -19
  68. package/dist/{Index-0306a974.js → Index-d841c396.js} +12 -12
  69. package/dist/{Index-451f5485.js → Index-f3af647f.js} +5 -5
  70. package/dist/{Index-473d0fad.js → Index-f9a97c67.js} +3 -3
  71. package/dist/{InputToggleRow-533651e6.js → InputToggleRow-3bba2a55.js} +2 -2
  72. package/dist/IsPremiumPreStep-1657f1ce.js +2443 -0
  73. package/dist/{MediaWrapper-388589e5.js → MediaWrapper-574eca05.js} +3 -3
  74. package/dist/{NotBindingText-b833c49b.js → NotBindingText-f2acdb51.js} +2 -2
  75. package/dist/{PackageGroup-41b2d524.js → PackageGroup-625d7093.js} +17 -17
  76. package/dist/{PdfTerms-461fcd9e.js → PdfTerms-05e6491e.js} +7 -7
  77. package/dist/{PdfViewer-099b598c.js → PdfViewer-4d32b0f1.js} +2 -2
  78. package/dist/{PlainHtml-37aa5b7b.js → PlainHtml-c2e1feca.js} +1 -1
  79. package/dist/PriceHeader-ce8bb22c.js +337 -0
  80. package/dist/{SearchApi-25909227.js → SearchApi-b7e03288.js} +2 -2
  81. package/dist/Setup-e92daff6.js +50 -0
  82. package/dist/{TermsSettings-c730ac70.js → TermsSettings-de33fad6.js} +10 -10
  83. package/dist/{ThemeColorRow-31d8285b.js → ThemeColorRow-52efe243.js} +3 -3
  84. package/dist/{ToggleBinding-1a98360f.js → ToggleBinding-ec8d351f.js} +3 -3
  85. package/dist/{UploadModal-e0a37c3e.js → UploadModal-463188b1.js} +4 -4
  86. package/dist/{VideoPlayerInput-4d7f302a.js → VideoPlayerInput-9314dfa5.js} +3 -3
  87. package/dist/{VideoPlayerSettings-81168a6b.js → VideoPlayerSettings-e7978498.js} +5 -5
  88. package/dist/{VideoSelectModal-dc429ff0.js → VideoSelectModal-72e1e4e2.js} +26 -26
  89. package/dist/{answerDocumentMixin-3ff2b25d.js → answerDocumentMixin-d65059b8.js} +3 -3
  90. package/dist/assets/article-options-10522.png +0 -0
  91. package/dist/assets/bg-base-11995.png +0 -0
  92. package/dist/assets/bg-pro-89155.png +0 -0
  93. package/dist/assets/bg-start-17372.png +0 -0
  94. package/dist/assets/blank-95062.png +0 -0
  95. package/dist/assets/block-options-11378.png +0 -0
  96. package/dist/assets/columnGallery.image-14820.png +0 -0
  97. package/dist/assets/doc-send-25589.png +0 -0
  98. package/dist/assets/drag-block-21107.png +0 -0
  99. package/dist/assets/headerCircularGradient.image-79345.png +0 -0
  100. package/dist/assets/roiCalculator.image-13673.png +0 -0
  101. package/dist/assets/text-bubble-21606.png +0 -0
  102. package/dist/{cssMode-c6b1b286.js → cssMode-88d0146a.js} +19 -15
  103. package/dist/{focusDrawerMixin-01b547f0.js → focusDrawerMixin-46eade80.js} +1 -1
  104. package/dist/{formComponentsInstall-9e33cb8f.js → formComponentsInstall-0cfab48e.js} +41 -36
  105. package/dist/{formValidationMixin-74c239ee.js → formValidationMixin-94fb3562.js} +1 -1
  106. package/dist/{freemarker2-076519a0.js → freemarker2-fb187d64.js} +23 -19
  107. package/dist/{handlebars-bb155717.js → handlebars-4a1a8024.js} +15 -11
  108. package/dist/{html-1cf008d9.js → html-00e90fc7.js} +18 -14
  109. package/dist/{htmlMode-bf67fa2b.js → htmlMode-cfbebdc7.js} +23 -19
  110. package/dist/{index-7097f05c.js → index-7a30802a.js} +13 -13
  111. package/dist/{index-908333a3.js → index-93fd29b3.js} +9 -9
  112. package/dist/{index-0f09ca1c.js → index-de7702a8.js} +10 -10
  113. package/dist/index-e9d870d0.js +17 -0
  114. package/dist/index.es.js +4 -4
  115. package/dist/index.umd.js +585 -588
  116. package/dist/{javascript-b98377f9.js → javascript-3213b923.js} +15 -11
  117. package/dist/{jsonMode-e9595a57.js → jsonMode-afc781d8.js} +23 -19
  118. package/dist/{liquid-b60636e3.js → liquid-dc5a4df5.js} +18 -14
  119. package/dist/{main-cf622dd3.js → main-abeba7c1.js} +30552 -30687
  120. package/dist/{mapFormMixin-490a1765.js → mapFormMixin-e82f943f.js} +1 -1
  121. package/dist/{publicSenderState-6b369e21.js → publicSenderState-2f11c080.js} +1 -1
  122. package/dist/{python-4e4d18f5.js → python-4bce1745.js} +15 -11
  123. package/dist/{razor-63ead89f.js → razor-f57062fd.js} +22 -18
  124. package/dist/{simplebar.min-3f1edc12.js → simplebar.min-07c0e6b7.js} +1 -1
  125. package/dist/style.css +2 -2
  126. package/dist/template-3600893b.js +528 -0
  127. package/dist/{throttle-2b45d29c.js → throttle-1bf5bb97.js} +2 -2
  128. package/dist/{tinycolor-9f3cc25c.js → tinycolor-0084a04e.js} +1 -1
  129. package/dist/{tippy.esm-dec03596.js → tippy.esm-2bcbed04.js} +7 -7
  130. package/dist/{tsMode-e93504e4.js → tsMode-c0486e4e.js} +19 -15
  131. package/dist/{typescript-111230d0.js → typescript-50a48698.js} +15 -11
  132. package/dist/{utils-fb02e603.js → utils-d907da71.js} +1 -1
  133. package/dist/{vuedraggable.umd-f2d6d3e3.js → vuedraggable.umd-c326d90c.js} +48 -48
  134. package/dist/{xml-987e33cc.js → xml-0ef7a70a.js} +18 -14
  135. package/package.json +8 -10
  136. package/.env +0 -12
  137. package/dist/DocAnswer-081e8239.js +0 -33
  138. package/dist/DocForm-c69281fc.js +0 -7062
  139. package/dist/IsPremiumPreStep-8d46fadc.js +0 -2349
  140. package/dist/PriceHeader-41c48787.js +0 -337
  141. package/dist/index-e37214e9.js +0 -14
  142. package/dist/template-66eba036.js +0 -526
  143. package/jsconfig.json +0 -11
  144. package/postcss.config.cjs +0 -6
  145. package/stats.html +0 -4044
  146. package/tailwind.config.cjs +0 -26
  147. package/vite-plugin-library-asset-external/index.js +0 -134
@@ -0,0 +1,528 @@
1
+ import { P as s, L as d, k as l } from "./main-abeba7c1.js";
2
+ import c from "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/headerCircularGradient.image-79345.png";
3
+ import g from "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/columnGallery.image-14820.png";
4
+ import p from "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/roiCalculator.image-13673.png";
5
+ import u from "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/blank-95062.png";
6
+ function t(e) {
7
+ return btoa(encodeURIComponent(e));
8
+ }
9
+ function $(e) {
10
+ return decodeURIComponent(atob(e));
11
+ }
12
+ const h = {
13
+ previewUrl: `<div style="position: relative;"><img src="${c}" style="width: 100%; height: auto;"></div>`,
14
+ data: {
15
+ html: t(`
16
+ <!-- Add your HTML code here -->
17
+ <div class="root">
18
+ <div class="outer-container">
19
+ <div class="inner-container">
20
+ <div class="title">Proposal Title</div>
21
+ <div class="text">Prepared for Name Namesson</div>
22
+ <div class="logo">
23
+ Logo
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ `),
29
+ css: t(`
30
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
31
+
32
+ body,html {
33
+ margin: 0;
34
+ font-family: 'Poppins', sans-serif;
35
+ font-size: 16px;
36
+ }
37
+
38
+ .root {
39
+ background-color: green;
40
+ background-image: radial-gradient(100% 150% at 13.58% 44.42%, #001855 0%, #00917d 100%);
41
+ position: relative;
42
+ display: grid;
43
+ place-items: center;
44
+ padding: 120px 100px;
45
+ overflow: hidden;
46
+ }
47
+ .root::before {
48
+ position: absolute;
49
+ content: '';
50
+ height: 100%;
51
+ width: 40%;
52
+ right: -10%;
53
+ top: 20%;
54
+ pointer-events: none;
55
+ border-radius: 100%;
56
+ background-color: rgb(0, 255, 200);
57
+ filter: blur(200px);
58
+ }
59
+ .root::after {
60
+ position: absolute;
61
+ content: '';
62
+ height: 200vh;
63
+ width: 200vh;
64
+ right: 40%;
65
+ top: 0;
66
+ transform: translateY(-40%);
67
+ pointer-events: none;
68
+ border-radius: 100%;
69
+ background: radial-gradient(46.29% 46.29% at 47.93% 53.28%, #00449c 0%, rgba(4, 200, 207, 0.404) 100%);
70
+ box-shadow: 0px 0px 250px 250px rgba(4, 76, 124, 0.8);
71
+ }
72
+ .outer-container {
73
+ position: relative;
74
+ z-index: 1;
75
+ background-color: red;
76
+ background: radial-gradient(100% 100% at 50% 0%, #220081 0%, #00b7cf 100%);
77
+ box-shadow: 0 20px 50px 10px rgba(0,0,0,0.1);
78
+ overflow: hidden;
79
+ width: 100%;
80
+ max-width: 1000px;
81
+ }
82
+ .outer-container::after {
83
+ content: '';
84
+ position: absolute;
85
+ pointer-events: none;
86
+ background: radial-gradient(46.29% 46.29% at 50% 50%, #00ffc8 0%, rgb(116, 4, 207) 100%);
87
+ width: 200%;
88
+ border-radius: 50%;
89
+ height: 300%;
90
+ top: -20%;
91
+ right: 15%;
92
+ }
93
+ .inner-container {
94
+ position: relative;
95
+ z-index: 1;
96
+ margin: 80px;
97
+ padding: 60px;
98
+ background-color: #FFFFFF;
99
+ box-shadow: 0 20px 50px rgba(0,0,0,0.1);
100
+ }
101
+ .title {
102
+ font-size: 2.8rem;
103
+ font-weight: 400;
104
+ padding-top: 13rem;
105
+ }
106
+ .text {
107
+ color: #3b385f;
108
+ font-weight: 300;
109
+ }
110
+ .logo {
111
+ color: rgb(180, 180, 206);
112
+ position: absolute;
113
+ right: 40px;
114
+ top: 40px;
115
+ border: 3px solid currentColor;
116
+ padding: 4px;
117
+ line-height: 1;
118
+ font-size: 11px;
119
+ text-transform: uppercase;
120
+ font-weight: 700;
121
+ }
122
+ `),
123
+ javascript: t("")
124
+ }
125
+ }, m = {
126
+ previewUrl: `<div style="position: relative;"><img src="${g}" style="width: 100%; height: auto;"></div>`,
127
+ data: {
128
+ html: t(`
129
+ <div class="container">
130
+ <div class="header">
131
+ <div class="title">A title</div>
132
+ <div class="text">This is where you can add some more text.</div>
133
+ </div>
134
+ <div class="grid">
135
+ <div class="column-xs-12 column-md-4">
136
+ <figure class="img-container">
137
+ <img src="https://images.unsplash.com/photo-1526170375885-4d8ecf77b99f?crop=entropy&cs=tinysrgb&fm=jpg&ixlib=rb-1.2.1&q=80&raw_url=true&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800" />
138
+ </figure>
139
+ <div class="img-text">
140
+ This is a description.
141
+ </div>
142
+ </div>
143
+ <div class="column-xs-12 column-md-4">
144
+ <figure class="img-container">
145
+ <img src="https://images.unsplash.com/photo-1526170286768-b3c80b34b036?ixlib=rb-1.2.1&raw_url=true&q=80&fm=jpg&crop=entropy&cs=tinysrgb&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800" />
146
+ </figure>
147
+ <div class="img-text">
148
+ This is a description.
149
+ </div>
150
+ </div>
151
+ <div class="column-xs-12 column-md-4">
152
+ <figure class="img-container">
153
+ <img src="https://images.unsplash.com/photo-1526170160160-1a5eb242ab58?ixlib=rb-1.2.1&raw_url=true&q=80&fm=jpg&crop=entropy&cs=tinysrgb&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800">
154
+ </figure>
155
+ <div class="img-text">
156
+ This is a description.
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </div>
161
+ `),
162
+ css: t(`
163
+ @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&display=swap');
164
+
165
+ body, html {
166
+ margin: 0;
167
+ font-size: 16px;
168
+ font-family: 'Space Grotesk', sans-serif;
169
+ }
170
+
171
+ .container {
172
+ padding: 60px 1rem;
173
+ }
174
+
175
+ .header {
176
+ text-align: center;
177
+ padding-bottom: 40px;
178
+ }
179
+
180
+ .title {
181
+ font-size: 2.5rem;
182
+ font-weight: 700;
183
+ padding-bottom: 0.25em;
184
+ }
185
+
186
+ .text {
187
+ color: hsla(0, 0%, 35%);
188
+ font-weight: 300;
189
+ }
190
+
191
+ .grid {
192
+ display: grid;
193
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
194
+ grid-gap: 30px;
195
+ max-width: 1000px;
196
+ margin: 0 auto;
197
+ }
198
+
199
+ .img-container {
200
+ width: 100%;
201
+ height: 400px;
202
+ overflow: hidden;
203
+ margin: 0;
204
+ border-radius: 6px;
205
+ box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15);
206
+ }
207
+
208
+ img {
209
+ width: 100%;
210
+ height: 400px;
211
+ object-fit: cover;
212
+ }
213
+
214
+ .img-text {
215
+ font-size: 14px;
216
+ padding-top: 8px;
217
+ text-align: center;
218
+ color: hsla(0, 0%, 45%);
219
+ }
220
+ `),
221
+ javascript: t("")
222
+ }
223
+ }, v = {
224
+ previewUrl: `<div style="position: relative;"><img src="${p}" style="width: 100%; height: auto;"></div>`,
225
+ data: {
226
+ html: t(`
227
+ <section class="root">
228
+ <div class="container">
229
+ <h2>Savings calculator</h2>
230
+ <h1>
231
+ $<span class="savings-amount"></span>
232
+ </h1>
233
+ <p>Savings per year.</p>
234
+ <div class="range-slider">
235
+ <div class="range-slider__range-base"></div>
236
+ <div class="range-slider__range-filled"></div>
237
+ <input
238
+ class="range-slider__range"
239
+ type="range"
240
+ value="100"
241
+ min="10"
242
+ max="500"
243
+ step="1"
244
+ />
245
+ </div>
246
+ <h4>
247
+ Number of seats: <span class="value-amount"></span>
248
+ </h4>
249
+ </div>
250
+ </section>
251
+ `),
252
+ css: t(`
253
+ html, body {
254
+ margin: 0;
255
+ font-family: sans-serif;
256
+ color: white;
257
+ }
258
+
259
+ .root {
260
+ background-color: hsl(0, 0%, 95%);
261
+ padding: 100px 0;
262
+ background: linear-gradient(hsla(0, 0%, 0%, 0.2), hsla(0, 0%, 0%, 0.6)), url(https://images.unsplash.com/photo-1497366811353-6870744d04b2?crop=entropy&cs=tinysrgb&fm=jpg&ixlib=rb-1.2.1&q=80&raw_url=true&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1400);
263
+ background-repeat: no-repeat;
264
+ background-size: cover;
265
+ background-position: center;
266
+ }
267
+
268
+ .container {
269
+ padding: 20px;
270
+ text-align: center;
271
+ max-width: 800px;
272
+ margin: 0 auto;
273
+ }
274
+
275
+ h1 {
276
+ font-size: 4.25rem;
277
+ margin: 0;
278
+ line-height: 1.2;
279
+ padding: 0;
280
+ }
281
+ h2 {
282
+ font-size: 1.25rem;
283
+ padding: 0 0 1rem 0;
284
+ margin: 0;
285
+ color: hsl(35, 100%, 70%);
286
+ font-weight: normal;
287
+ }
288
+
289
+ h4 {
290
+ font-size: 1rem;
291
+ padding: 0;
292
+ margin: 1rem 0 0 0;
293
+ font-weight: normal;
294
+ opacity: 0.85;
295
+ }
296
+
297
+ p {
298
+ font-size: 18px;
299
+ padding: 0;
300
+ margin: 0;
301
+ line-height: 1.5;
302
+ padding-bottom: 3rem;
303
+ opacity: 0.8;
304
+ font-weight: lighter;
305
+ }
306
+
307
+
308
+ /* Input slider */
309
+ :root {
310
+ --range-width: 100%;
311
+ --range-max-width: 460px;
312
+ --range-handle-color: white;
313
+ --range-handle-color-hover: hsl(0, 0%, 95%);
314
+ --range-handle-size: 34px;
315
+ --range-filled-color: hsl(35, 100%, 60%);
316
+ --range-track-color: hsla(0, 0%, 100%, 0.4);
317
+ --range-track-height: 10px;
318
+ }
319
+ .range-slider {
320
+ width: var(--range-width);
321
+ max-width: var(--range-max-width);
322
+ margin: 0 auto;
323
+ position: relative;
324
+ height: 2em;
325
+ }
326
+
327
+ .range-slider__range {
328
+ -webkit-appearance: none;
329
+ width: 100%;
330
+ height: 100%;
331
+ background-color: transparent;
332
+ outline: none;
333
+ padding: 0;
334
+ margin: 0;
335
+ position: relative;
336
+
337
+ }
338
+ .range-slider__range-base {
339
+ width: 100%;
340
+ height: var(--range-track-height);
341
+ border-radius: 5px;
342
+ background: var(--range-track-color);
343
+ position: absolute;
344
+ left: 0;
345
+ top: 50%;
346
+ pointer-events: none;
347
+ transform: translateY(-50%);
348
+ }
349
+ .range-slider__range-filled {
350
+ height: var(--range-track-height);
351
+ border-radius: 5px;
352
+ background: var(--range-filled-color);
353
+ position: absolute;
354
+ left: 0;
355
+ top: 50%;
356
+ pointer-events: none;
357
+ transform: translateY(-50%);
358
+ }
359
+
360
+ /* Range Handle */
361
+ .range-slider__range::-webkit-slider-thumb {
362
+ appearance: none;
363
+ width: var(--range-handle-size);
364
+ height: var(--range-handle-size);
365
+ border-radius: 50%;
366
+ background: var(--range-handle-color);
367
+ cursor: pointer;
368
+ transition: background 0.15s ease-in-out;
369
+ box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.2);
370
+ }
371
+ .range-slider__range::-webkit-slider-thumb:hover {
372
+ background: var(--range-handle-color-hover);
373
+ }
374
+
375
+ .range-slider__range:active::-webkit-slider-thumb {
376
+ background: var(--range-handle-color-hover);
377
+ }
378
+
379
+ .range-slider__range::-moz-range-thumb {
380
+ width: var(--range-handle-size);
381
+ height: var(--range-handle-size);
382
+ border: 0;
383
+ border-radius: 50%;
384
+ background: var(--range-handle-color);
385
+ cursor: pointer;
386
+ transition: background 0.15s ease-in-out;
387
+ box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.2);
388
+
389
+ }
390
+ .range-slider__range::-moz-range-thumb:hover {
391
+ background: var(--range-handle-color-hover);
392
+ }
393
+
394
+ .range-slider__range:active::-moz-range-thumb {
395
+ background: var(--range-handle-color-hover);
396
+ }
397
+
398
+ /* Focus state */
399
+ .range-slider__range:focus::-webkit-slider-thumb {
400
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
401
+ }
402
+
403
+ /* Firefox Overrides */
404
+ ::-moz-range-track {
405
+ background: var(--range-track-color);
406
+ border: 0;
407
+ }
408
+
409
+ input::-moz-focus-inner,
410
+ input::-moz-focus-outer {
411
+ border: 0;
412
+ }
413
+ `),
414
+ javascript: t(`
415
+ const inputSlider = document.querySelector('.range-slider__range');
416
+ const sliderFill = document.querySelector('.range-slider__range-filled');
417
+ const savingsAmount = document.querySelector('.savings-amount');
418
+ const valueAmount = document.querySelector('.value-amount');
419
+
420
+
421
+ function setContent(input) {
422
+ const newWidth = Math.min((100 * (parseInt(input.value, 10) - parseInt(input.min, 10))) / (parseInt(input.max, 10) - parseInt(input.min, 10)), 100) + '%';
423
+ sliderFill.style.width = newWidth;
424
+
425
+ const savingsPerSeat = 300;
426
+ savingsAmount.innerText = new Intl.NumberFormat().format(savingsPerSeat * input.value);
427
+ valueAmount.innerText = new Intl.NumberFormat().format(input.value);
428
+ }
429
+
430
+ function onInput(event) {
431
+ const el = event.target;
432
+ setContent(el);
433
+ }
434
+
435
+ inputSlider.addEventListener('input', onInput);
436
+
437
+ setContent(inputSlider);
438
+ `)
439
+ }
440
+ }, f = [
441
+ h,
442
+ v,
443
+ m
444
+ ], r = "custom", n = () => ({
445
+ javascript: t(`// Add your javascript here
446
+ // You can also access all the document data
447
+ // from the global variable doc
448
+
449
+ // To see what's available, uncomment the line below:
450
+ // console.log(window.doc);
451
+
452
+ // Listen to the event 'docUpdate' to detect updates on doc
453
+ // window.addEventListener('docUpdate', function(e) {
454
+ // // A change has been detected on doc
455
+ // });`),
456
+ html: t(`
457
+ <!--
458
+ Type your HTML inside this tab.
459
+
460
+ Tip: You can access variables with the following syntax: {{PATH_TO_VARIABLE}}
461
+
462
+ For example:
463
+ - {{data.name}} // Prints the document name
464
+ - {{data.clients[0].name}} // Prints the name of the first client
465
+
466
+ To see all available data variables and paths, switch to the Data-tab,
467
+ -->
468
+ `),
469
+ css: t("/* Add your CSS code here */")
470
+ }), b = (e) => [{
471
+ itemId: r,
472
+ itemType: r,
473
+ value: {
474
+ custom: `data.${r}-${e}`
475
+ },
476
+ parentId: "0",
477
+ nodeId: d()
478
+ }], x = (e) => [{
479
+ key: `${r}-${e}`,
480
+ defaultValue: n(),
481
+ $ref: `${l.api.baseUrl}/schemas/custom/1.json`
482
+ }], w = (e) => ({
483
+ [`data.${r}-${e}`]: n()
484
+ }), A = ({ includeMockData: e = !1, contentData: i = null } = {}) => {
485
+ const a = d();
486
+ let o = null;
487
+ return typeof i == "function" ? o = i(a) : e && (o = w(a)), {
488
+ readView: b(a),
489
+ validation: x(a),
490
+ ...o && {
491
+ data: o
492
+ }
493
+ };
494
+ };
495
+ s.loadOptions({
496
+ namespaces: "customTemplate",
497
+ messages: {
498
+ en: {
499
+ title: "Custom"
500
+ },
501
+ sv: {
502
+ title: "Custom"
503
+ }
504
+ }
505
+ });
506
+ const y = {
507
+ previewUrl: `
508
+ <div style="position: relative;">
509
+ <img src="${u}" style="width: 100%; height: auto;">
510
+ <div class="submenu-item-badge">
511
+ ${s.t("customTemplate:title")}
512
+ </div>
513
+ </div>
514
+ `,
515
+ data: n()
516
+ }, H = ({ language: e = "en" } = {}) => [y, ...f].map((i) => ({
517
+ previewUrl: i.previewUrl,
518
+ contentData: (a) => ({
519
+ [`data.${r}-${a}`]: i.data
520
+ })
521
+ }));
522
+ export {
523
+ n as a,
524
+ $ as b,
525
+ H as c,
526
+ t as d,
527
+ A as g
528
+ };
@@ -1,5 +1,5 @@
1
- import { f as n, i as l } from "./main-cf622dd3.js";
2
- import { a as o } from "./CDropdownItem-ab42f924.js";
1
+ import { f as n, i as l } from "./main-abeba7c1.js";
2
+ import { a as o } from "./CDropdownItem-bb7f1de7.js";
3
3
  var f = o, g = l, c = "Expected a function";
4
4
  function u(a, i, t) {
5
5
  var r = !0, e = !0;
@@ -1,4 +1,4 @@
1
- import { f as he } from "./main-cf622dd3.js";
1
+ import { f as he } from "./main-abeba7c1.js";
2
2
  var N = { exports: {} };
3
3
  (function(R) {
4
4
  (function(c) {
@@ -1,8 +1,8 @@
1
- import { C as mr } from "./ColorPicker-4880a624.js";
2
- import { F as hr } from "./DocumentLayout-2ff55f9f.js";
3
- import { C as gr, b as yr } from "./CDropdownItem-ab42f924.js";
4
- import { n as Wt, o as br, aP as Ct } from "./main-cf622dd3.js";
5
- import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-c70342a2.js";
1
+ import { C as mr } from "./ColorPicker-81f9f778.js";
2
+ import { F as hr } from "./DocumentLayout-0d24ac85.js";
3
+ import { C as gr, b as yr } from "./CDropdownItem-bb7f1de7.js";
4
+ import { n as Wt, o as br, aO as Ct } from "./main-abeba7c1.js";
5
+ import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js";
6
6
  const xr = {
7
7
  AED: "United Arab Emirates Dirham",
8
8
  AFN: "Afghan Afghani",
@@ -241,7 +241,7 @@ var Or = function() {
241
241
  Cr,
242
242
  !1,
243
243
  null,
244
- "6cadece1",
244
+ "0b0912ae",
245
245
  null,
246
246
  null
247
247
  );
@@ -314,7 +314,7 @@ var Er = function() {
314
314
  Pr,
315
315
  !1,
316
316
  null,
317
- "cd5d6d1d",
317
+ "36f65d63",
318
318
  null,
319
319
  null
320
320
  );
@@ -1,14 +1,18 @@
1
1
  var N = Object.defineProperty;
2
2
  var M = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _ = (e, t, r) => (M(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { t as K, m as R } from "./Index-8c4fd5b4.js";
5
- import "./mapFormMixin-490a1765.js";
6
- import "./main-cf622dd3.js";
7
- import "./throttle-2b45d29c.js";
8
- import "./CDropdownItem-ab42f924.js";
4
+ import { t as K, m as R } from "./Index-abb29c87.js";
5
+ import "./mapFormMixin-e82f943f.js";
6
+ import "./main-abeba7c1.js";
7
+ import "./throttle-1bf5bb97.js";
8
+ import "./CDropdownItem-bb7f1de7.js";
9
9
  import "./splitpanes-ba7897bf.js";
10
- import "./DocumentLayout-2ff55f9f.js";
11
- import "./template-66eba036.js";
10
+ import "./DocumentLayout-0d24ac85.js";
11
+ import "./template-3600893b.js";
12
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/headerCircularGradient.image-79345.png";
13
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/columnGallery.image-14820.png";
14
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/roiCalculator.image-13673.png";
15
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/blank-95062.png";
12
16
  /*!-----------------------------------------------------------------------------
13
17
  * Copyright (c) Microsoft Corporation. All rights reserved.
14
18
  * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
@@ -755,20 +759,20 @@ var S = class extends w {
755
759
  }
756
760
  }
757
761
  }, A, T;
758
- function ge(e) {
762
+ function he(e) {
759
763
  T = I(e, "typescript");
760
764
  }
761
- function de(e) {
765
+ function be(e) {
762
766
  A = I(e, "javascript");
763
767
  }
764
- function pe() {
768
+ function me() {
765
769
  return new Promise((e, t) => {
766
770
  if (!A)
767
771
  return t("JavaScript not registered!");
768
772
  e(A);
769
773
  });
770
774
  }
771
- function fe() {
775
+ function _e() {
772
776
  return new Promise((e, t) => {
773
777
  if (!T)
774
778
  return t("TypeScript not registered!");
@@ -799,8 +803,8 @@ export {
799
803
  D as SuggestAdapter,
800
804
  B as WorkerManager,
801
805
  F as flattenDiagnosticMessageText,
802
- pe as getJavaScriptWorker,
803
- fe as getTypeScriptWorker,
804
- de as setupJavaScript,
805
- ge as setupTypeScript
806
+ me as getJavaScriptWorker,
807
+ _e as getTypeScriptWorker,
808
+ be as setupJavaScript,
809
+ he as setupTypeScript
806
810
  };
@@ -1,11 +1,15 @@
1
- import { m as s } from "./Index-8c4fd5b4.js";
2
- import "./mapFormMixin-490a1765.js";
3
- import "./main-cf622dd3.js";
4
- import "./throttle-2b45d29c.js";
5
- import "./CDropdownItem-ab42f924.js";
1
+ import { m as s } from "./Index-abb29c87.js";
2
+ import "./mapFormMixin-e82f943f.js";
3
+ import "./main-abeba7c1.js";
4
+ import "./throttle-1bf5bb97.js";
5
+ import "./CDropdownItem-bb7f1de7.js";
6
6
  import "./splitpanes-ba7897bf.js";
7
- import "./DocumentLayout-2ff55f9f.js";
8
- import "./template-66eba036.js";
7
+ import "./DocumentLayout-0d24ac85.js";
8
+ import "./template-3600893b.js";
9
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/headerCircularGradient.image-79345.png";
10
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/columnGallery.image-14820.png";
11
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/roiCalculator.image-13673.png";
12
+ import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/blank-95062.png";
9
13
  /*!-----------------------------------------------------------------------------
10
14
  * Copyright (c) Microsoft Corporation. All rights reserved.
11
15
  * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
@@ -19,7 +23,7 @@ var c = Object.defineProperty, a = Object.getOwnPropertyDescriptor, p = Object.g
19
23
  return r;
20
24
  }, n = {};
21
25
  l(n, s);
22
- var _ = {
26
+ var $ = {
23
27
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
24
28
  comments: {
25
29
  lineComment: "//",
@@ -76,7 +80,7 @@ var _ = {
76
80
  end: new RegExp("^\\s*//\\s*#?endregion\\b")
77
81
  }
78
82
  }
79
- }, w = {
83
+ }, h = {
80
84
  defaultToken: "invalid",
81
85
  tokenPostfix: ".ts",
82
86
  keywords: [
@@ -328,6 +332,6 @@ var _ = {
328
332
  }
329
333
  };
330
334
  export {
331
- _ as conf,
332
- w as language
335
+ $ as conf,
336
+ h as language
333
337
  };
@@ -1,4 +1,4 @@
1
- import { j as d, k as m } from "./main-cf622dd3.js";
1
+ import { j as d, k as m } from "./main-abeba7c1.js";
2
2
  const s = {
3
3
  youtube: {
4
4
  reg: /^(?:https?:\/\/)?(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((?:\w|-){11})(?:\S+)?$/,