legalesign-document-viewer 0.2.5 → 0.2.6

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.
@@ -1,4 +1,248 @@
1
1
  :host {
2
+ /* Font Family */
3
+ --font-family: 'IBM Plex Sans', sans-serif;
4
+
5
+ /* Font Sizes & Line Heights */
6
+ --text-xs: 0.75rem;
7
+ --text-xs-line-height: 1rem;
8
+
9
+ --text-sm: 0.875rem;
10
+ --text-sm-line-height: 1.25rem;
11
+
12
+ --text-base: 1rem;
13
+ --text-base-line-height: 1.5rem;
14
+
15
+ --text-lg: 1.125rem;
16
+ --text-lg-line-height: 1.75rem;
17
+
18
+ --text-xl: 1.25rem;
19
+ --text-xl-line-height: 1.75rem;
20
+
21
+ --text-2xl: 1.5rem;
22
+ --text-2xl-line-height: 2rem;
23
+
24
+ --text-3xl: 1.875rem;
25
+ --text-3xl-line-height: 2.25rem;
26
+
27
+ --text-4xl: 2.25rem;
28
+ --text-4xl-line-height: 2.5rem;
29
+
30
+ --text-5xl: 3rem;
31
+ --text-5xl-line-height: 1;
32
+
33
+ --text-6xl: 3.75rem;
34
+ --text-6xl-line-height: 1;
35
+
36
+ --text-7xl: 4.5rem;
37
+ --text-7xl-line-height: 1;
38
+
39
+ --text-9xl: 8rem;
40
+ --text-9xl-line-height: 1;
41
+
42
+ /* Font Weights */
43
+ --font-weight-light: 300;
44
+ --font-weight-normal: 400;
45
+ --font-weight-medium: 500;
46
+ --font-weight-semibold: 600;
47
+ --font-weight-bold: 700;
48
+ --font-weight-black: 900;
49
+
50
+ /* Border Radius */
51
+ --radius-xs: 0.125rem;
52
+ --radius-sm: 0.25rem;
53
+ --radius-md: 0.375rem;
54
+ --radius-lg: 0.5rem;
55
+ --radius-xl: 0.75rem;
56
+ --radius-2xl: 1rem;
57
+
58
+ /* Colors */
59
+ --white: #ffffff;
60
+ --black: #000000;
61
+
62
+ --pink-10: #fff0f9;
63
+ --pink-20: #ffe5f5;
64
+ --pink-30: #fabee2;
65
+ --pink-40: #f5a2d4;
66
+ --pink-50: #fa78c6;
67
+ --pink-60: #f056b2;
68
+ --pink-70: #e043a2;
69
+ --pink-80: #cc2d8c;
70
+ --pink-90: #ad2376;
71
+ --pink-100: #7a1451;
72
+
73
+ --red-10: #fff0f0;
74
+ --red-20: #ffe1e0;
75
+ --red-30: #ffc9c7;
76
+ --red-40: #ffa19e;
77
+ --red-50: #ff706b;
78
+ --red-60: #f64a44;
79
+ --red-70: #dc2721;
80
+ --red-80: #c1140e;
81
+ --red-90: #990500;
82
+ --red-100: #7a1714;
83
+
84
+ --yellow-10: #fffcef;
85
+ --yellow-20: #fff3c2;
86
+ --yellow-30: #fcec9d;
87
+ --yellow-40: #ffe561;
88
+ --yellow-50: #fad232;
89
+ --yellow-60: #f0b618;
90
+ --yellow-70: #cc8904;
91
+ --yellow-80: #9e5913;
92
+ --yellow-90: #8a3f0e;
93
+ --yellow-100: #70350d;
94
+
95
+ --green-10: #effff9;
96
+ --green-20: #c5fde8;
97
+ --green-30: #9df5d4;
98
+ --green-40: #72f0c2;
99
+ --green-50: #57e5b1;
100
+ --green-60: #46dbaa;
101
+ --green-70: #33b88c;
102
+ --green-80: #15946a;
103
+ --green-90: #177559;
104
+ --green-100: #125241;
105
+
106
+ --teal-10: #effffc;
107
+ --teal-20: #c5fcf1;
108
+ --teal-30: #a5fae9;
109
+ --teal-40: #76f5db;
110
+ --teal-50: #54ebcd;
111
+ --teal-60: #46dbbd;
112
+ --teal-70: #33b8a2;
113
+ --teal-80: #148f7e;
114
+ --teal-90: #17756c;
115
+ --teal-100: #15524c;
116
+
117
+ --cyan-10: #efffff;
118
+ --cyan-20: #c5fcfc;
119
+ --cyan-30: #a0fafa;
120
+ --cyan-40: #76f5f5;
121
+ --cyan-50: #54ebeb;
122
+ --cyan-60: #46dbdb;
123
+ --cyan-70: #33b3b8;
124
+ --cyan-80: #11868f;
125
+ --cyan-90: #166a70;
126
+ --cyan-100: #11474d;
127
+
128
+ --lightblue-10: #effbff;
129
+ --lightblue-20: #c7f1ff;
130
+ --lightblue-30: #9de4fc;
131
+ --lightblue-40: #79dbfc;
132
+ --lightblue-50: #51d3ff;
133
+ --lightblue-60: #48c5f0;
134
+ --lightblue-70: #20a6d6;
135
+ --lightblue-80: #0b80b2;
136
+ --lightblue-90: #19648a;
137
+ --lightblue-100: #0c3e57;
138
+
139
+ --blue-10: #f0f6ff;
140
+ --blue-20: #e0ecff;
141
+ --blue-30: #bed4fa;
142
+ --blue-40: #a2bdf5;
143
+ --blue-50: #78a3fa;
144
+ --blue-60: #5684f0;
145
+ --blue-70: #4368e0;
146
+ --blue-80: #2d4dcc;
147
+ --blue-90: #233ead;
148
+ --blue-100: #14287a;
149
+
150
+ --purple-10: #f4f0ff;
151
+ --purple-20: #eee5ff;
152
+ --purple-30: #d6befa;
153
+ --purple-40: #c6a2f5;
154
+ --purple-50: #b078fa;
155
+ --purple-60: #9956f0;
156
+ --purple-70: #8743e0;
157
+ --purple-80: #722dcc;
158
+ --purple-90: #5f23ad;
159
+ --purple-100: #40147a;
160
+
161
+ --primary-10: #eff4ff;
162
+ --primary-20: #c7ddff;
163
+ --primary-30: #9dc3fc;
164
+ --primary-40: #79adfc;
165
+ --primary-50: #5185ff;
166
+ --primary-60: #4456f6;
167
+ --primary-70: #2134dc;
168
+ --primary-80: #0e20c1;
169
+ --primary-90: #000f99;
170
+ --primary-100: #0c1457;
171
+
172
+ --gray-10: #f7f8fa;
173
+ --gray-20: #edeff2;
174
+ --gray-30: #e0e2e5;
175
+ --gray-40: #d8d9dc;
176
+ --gray-50: #c8c9cc;
177
+ --gray-60: #afb0b2;
178
+ --gray-70: #939599;
179
+ --gray-80: #6f7176;
180
+ --gray-90: #5e6066;
181
+ --gray-100: #45484d;
182
+ --gray-110: #292c33;
183
+ --gray-120: #151923;
184
+ --gray-130: #0c1019;
185
+ --gray-140: #05080d;
186
+
187
+ --aubergine-10: #fcf0ff;
188
+ --aubergine-20: #fae5ff;
189
+ --aubergine-30: #eebefa;
190
+ --aubergine-40: #e4a2f5;
191
+ --aubergine-50: #e078fa;
192
+ --aubergine-60: #d156f0;
193
+ --aubergine-70: #c143e0;
194
+ --aubergine-80: #ac2dcc;
195
+ --aubergine-90: #9223ad;
196
+ --aubergine-100: #66147a;
197
+
198
+ --indigo-10: #f2f0ff;
199
+ --indigo-20: #e9e5ff;
200
+ --indigo-30: #c6befa;
201
+ --indigo-40: #ada2f5;
202
+ --indigo-50: #8978fa;
203
+ --indigo-60: #6b56f0;
204
+ --indigo-70: #5843e0;
205
+ --indigo-80: #422dcc;
206
+ --indigo-90: #3523ad;
207
+ --indigo-100: #21147a;
208
+
209
+ --lime-10: #fafff0;
210
+ --lime-20: #f6ffe5;
211
+ --lime-30: #e6fabe;
212
+ --lime-40: #d9f5a2;
213
+ --lime-50: #cffa78;
214
+ --lime-60: #bdf056;
215
+ --lime-70: #ace043;
216
+ --lime-80: #97cc2d;
217
+ --lime-90: #7fad23;
218
+ --lime-100: #587a14;
219
+
220
+ --trueGreen-10: #f0fff0;
221
+ --trueGreen-20: #e5ffe5;
222
+ --trueGreen-30: #befabe;
223
+ --trueGreen-40: #a2f5a2;
224
+ --trueGreen-50: #78fa78;
225
+ --trueGreen-60: #56f056;
226
+ --trueGreen-70: #43e043;
227
+ --trueGreen-80: #2dcc2d;
228
+ --trueGreen-90: #23ad23;
229
+ --trueGreen-100: #147a14;
230
+
231
+ --burnt-10: #fff6f0;
232
+ --burnt-20: #fff0e5;
233
+ --burnt-30: #fad6be;
234
+ --burnt-40: #f5c3a2;
235
+ --burnt-50: #faac78;
236
+ --burnt-60: #f09456;
237
+ --burnt-70: #e08243;
238
+ --burnt-80: #cc6d2d;
239
+ --burnt-90: #ad5a23;
240
+ --burnt-100: #7a3d14;
241
+
242
+ --shadow-base: 0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);
243
+ --shadow-lg: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
244
+ --active: 0px 1px 3px rgba(0, 15, 153, 0.25), 0px 1px 2px rgba(0, 15, 153, 0.06), 0px 0px 0px 4px #9dc3fc;
245
+
2
246
  display: block;
3
247
  position: absolute;
4
248
  margin: 0px;
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
2
2
  import { d as defaultRolePalette } from './p-C00GqV9f.js';
3
3
  import { a as alter, o as oob, m as matchData, g as getApiType } from './p-DqJ_uIFZ.js';
4
4
  import { d as defineCustomElement$B } from './p-BneR1hef.js';
5
- import { d as defineCustomElement$A } from './p-DasXNgMG.js';
5
+ import { d as defineCustomElement$A } from './p-xCgJuAC2.js';
6
6
  import { d as defineCustomElement$z } from './p-C9AqDCzm.js';
7
7
  import { d as defineCustomElement$y } from './p-DVz19y7K.js';
8
8
  import { d as defineCustomElement$x } from './p-DzmtJl3e.js';
@@ -1,4 +1,4 @@
1
- import { L as LsEditorField$1, d as defineCustomElement$1 } from './p-DasXNgMG.js';
1
+ import { L as LsEditorField$1, d as defineCustomElement$1 } from './p-xCgJuAC2.js';
2
2
 
3
3
  const LsEditorField = LsEditorField$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, h, d as Host } from './p-DjfDnBZ1.js';
2
2
  import { b as getInputType } from './p-DqJ_uIFZ.js';
3
3
  import { d as defaultRolePalette } from './p-C00GqV9f.js';
4
4
 
5
- const lsEditorFieldCss = ":host{display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field{opacity:0.7}.ls-editor-field-editable:focus{outline:none}.ls-editor-field-draggable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;min-width:2px;height:98%;width:98%}.hidden-field{display:none}input{all:unset}.draggable-input{font-family:inherit;font-size:inherit;position:relative;height:95%;width:95%}.editing-input{caret-color:rgb(15 23 42);caret-shape:auto;height:100%;width:100%}";
5
+ const lsEditorFieldCss = ":host{--font-family:'IBM Plex Sans', sans-serif;--text-xs:0.75rem;--text-xs-line-height:1rem;--text-sm:0.875rem;--text-sm-line-height:1.25rem;--text-base:1rem;--text-base-line-height:1.5rem;--text-lg:1.125rem;--text-lg-line-height:1.75rem;--text-xl:1.25rem;--text-xl-line-height:1.75rem;--text-2xl:1.5rem;--text-2xl-line-height:2rem;--text-3xl:1.875rem;--text-3xl-line-height:2.25rem;--text-4xl:2.25rem;--text-4xl-line-height:2.5rem;--text-5xl:3rem;--text-5xl-line-height:1;--text-6xl:3.75rem;--text-6xl-line-height:1;--text-7xl:4.5rem;--text-7xl-line-height:1;--text-9xl:8rem;--text-9xl-line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--radius-xs:0.125rem;--radius-sm:0.25rem;--radius-md:0.375rem;--radius-lg:0.5rem;--radius-xl:0.75rem;--radius-2xl:1rem;--white:#ffffff;--black:#000000;--pink-10:#fff0f9;--pink-20:#ffe5f5;--pink-30:#fabee2;--pink-40:#f5a2d4;--pink-50:#fa78c6;--pink-60:#f056b2;--pink-70:#e043a2;--pink-80:#cc2d8c;--pink-90:#ad2376;--pink-100:#7a1451;--red-10:#fff0f0;--red-20:#ffe1e0;--red-30:#ffc9c7;--red-40:#ffa19e;--red-50:#ff706b;--red-60:#f64a44;--red-70:#dc2721;--red-80:#c1140e;--red-90:#990500;--red-100:#7a1714;--yellow-10:#fffcef;--yellow-20:#fff3c2;--yellow-30:#fcec9d;--yellow-40:#ffe561;--yellow-50:#fad232;--yellow-60:#f0b618;--yellow-70:#cc8904;--yellow-80:#9e5913;--yellow-90:#8a3f0e;--yellow-100:#70350d;--green-10:#effff9;--green-20:#c5fde8;--green-30:#9df5d4;--green-40:#72f0c2;--green-50:#57e5b1;--green-60:#46dbaa;--green-70:#33b88c;--green-80:#15946a;--green-90:#177559;--green-100:#125241;--teal-10:#effffc;--teal-20:#c5fcf1;--teal-30:#a5fae9;--teal-40:#76f5db;--teal-50:#54ebcd;--teal-60:#46dbbd;--teal-70:#33b8a2;--teal-80:#148f7e;--teal-90:#17756c;--teal-100:#15524c;--cyan-10:#efffff;--cyan-20:#c5fcfc;--cyan-30:#a0fafa;--cyan-40:#76f5f5;--cyan-50:#54ebeb;--cyan-60:#46dbdb;--cyan-70:#33b3b8;--cyan-80:#11868f;--cyan-90:#166a70;--cyan-100:#11474d;--lightblue-10:#effbff;--lightblue-20:#c7f1ff;--lightblue-30:#9de4fc;--lightblue-40:#79dbfc;--lightblue-50:#51d3ff;--lightblue-60:#48c5f0;--lightblue-70:#20a6d6;--lightblue-80:#0b80b2;--lightblue-90:#19648a;--lightblue-100:#0c3e57;--blue-10:#f0f6ff;--blue-20:#e0ecff;--blue-30:#bed4fa;--blue-40:#a2bdf5;--blue-50:#78a3fa;--blue-60:#5684f0;--blue-70:#4368e0;--blue-80:#2d4dcc;--blue-90:#233ead;--blue-100:#14287a;--purple-10:#f4f0ff;--purple-20:#eee5ff;--purple-30:#d6befa;--purple-40:#c6a2f5;--purple-50:#b078fa;--purple-60:#9956f0;--purple-70:#8743e0;--purple-80:#722dcc;--purple-90:#5f23ad;--purple-100:#40147a;--primary-10:#eff4ff;--primary-20:#c7ddff;--primary-30:#9dc3fc;--primary-40:#79adfc;--primary-50:#5185ff;--primary-60:#4456f6;--primary-70:#2134dc;--primary-80:#0e20c1;--primary-90:#000f99;--primary-100:#0c1457;--gray-10:#f7f8fa;--gray-20:#edeff2;--gray-30:#e0e2e5;--gray-40:#d8d9dc;--gray-50:#c8c9cc;--gray-60:#afb0b2;--gray-70:#939599;--gray-80:#6f7176;--gray-90:#5e6066;--gray-100:#45484d;--gray-110:#292c33;--gray-120:#151923;--gray-130:#0c1019;--gray-140:#05080d;--aubergine-10:#fcf0ff;--aubergine-20:#fae5ff;--aubergine-30:#eebefa;--aubergine-40:#e4a2f5;--aubergine-50:#e078fa;--aubergine-60:#d156f0;--aubergine-70:#c143e0;--aubergine-80:#ac2dcc;--aubergine-90:#9223ad;--aubergine-100:#66147a;--indigo-10:#f2f0ff;--indigo-20:#e9e5ff;--indigo-30:#c6befa;--indigo-40:#ada2f5;--indigo-50:#8978fa;--indigo-60:#6b56f0;--indigo-70:#5843e0;--indigo-80:#422dcc;--indigo-90:#3523ad;--indigo-100:#21147a;--lime-10:#fafff0;--lime-20:#f6ffe5;--lime-30:#e6fabe;--lime-40:#d9f5a2;--lime-50:#cffa78;--lime-60:#bdf056;--lime-70:#ace043;--lime-80:#97cc2d;--lime-90:#7fad23;--lime-100:#587a14;--trueGreen-10:#f0fff0;--trueGreen-20:#e5ffe5;--trueGreen-30:#befabe;--trueGreen-40:#a2f5a2;--trueGreen-50:#78fa78;--trueGreen-60:#56f056;--trueGreen-70:#43e043;--trueGreen-80:#2dcc2d;--trueGreen-90:#23ad23;--trueGreen-100:#147a14;--burnt-10:#fff6f0;--burnt-20:#fff0e5;--burnt-30:#fad6be;--burnt-40:#f5c3a2;--burnt-50:#faac78;--burnt-60:#f09456;--burnt-70:#e08243;--burnt-80:#cc6d2d;--burnt-90:#ad5a23;--burnt-100:#7a3d14;--shadow-base:0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);--shadow-lg:0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);--active:0px 1px 3px rgba(0, 15, 153, 0.25), 0px 1px 2px rgba(0, 15, 153, 0.06), 0px 0px 0px 4px #9dc3fc;display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field{opacity:0.7}.ls-editor-field-editable:focus{outline:none}.ls-editor-field-draggable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;min-width:2px;height:98%;width:98%}.hidden-field{display:none}input{all:unset}.draggable-input{font-family:inherit;font-size:inherit;position:relative;height:95%;width:95%}.editing-input{caret-color:rgb(15 23 42);caret-shape:auto;height:100%;width:100%}";
6
6
 
7
7
  const LsEditorField = /*@__PURE__*/ proxyCustomElement(class LsEditorField extends H {
8
8
  constructor() {
@@ -157,6 +157,6 @@ function defineCustomElement() {
157
157
  defineCustomElement();
158
158
 
159
159
  export { LsEditorField as L, defineCustomElement as d };
160
- //# sourceMappingURL=p-DasXNgMG.js.map
160
+ //# sourceMappingURL=p-xCgJuAC2.js.map
161
161
 
162
- //# sourceMappingURL=p-DasXNgMG.js.map
162
+ //# sourceMappingURL=p-xCgJuAC2.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-xCgJuAC2.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,i/JAAi/J;;MCU7/J,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;;;;;;;AAEC,IAAA,QAAQ;AACzB,IAAA,QAAQ;AACR,IAAA,QAAQ;AACR,IAAA,OAAO;AACP,IAAA,IAAI;AACJ,IAAA,IAAI;IACH,SAAS,GAAY,KAAK;IAC1B,QAAQ,GAAW,IAAI;IACvB,cAAc,GAAY,KAAK;AAC/B,IAAA,UAAU;AACX,IAAA,YAAY;AAGpB,IAAA,WAAW,CAAC,CAAgB,EAAA;AAC1B,QAAA,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE;AACtB,YAAA,IAAI,CAAC,SAAS,GAAG,KAAK;AACtB,YAAA,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;;;AAKrF,IAAA,eAAe,CAAC,CAAC,EAAA;QACf,IAAI,IAAI,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AAE,MAAM,CAAC,CAAM,IAAA,CAAA,EAAE,EAAA,EAC5F,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,iBAAiB,EAAE,IAAI;gBACvB,aAAa,EAAE,IAAI,CAAC,QAAQ;aAC7B,EAAA,EAED,CACE,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAE,EAAC,eAAe,EAClB,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,0BAA0B,GAAG,cAAc,EACnE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,SAAS,EACtD,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,IAAI,IAAI,CAAC,UAAU,EAC9C,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EACpC,CAAA,EACF,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,EAAE,EAAC,YAAY,EAAC,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,cAAc,GAAG,2BAA2B,EAAA,EACtF,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,EAAE,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,eAAe,CACtE,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-editor-field/ls-editor-field.css?tag=ls-editor-field&encapsulation=shadow","src/components/ls-editor-field/ls-editor-field.tsx"],"sourcesContent":[":host {\n /* Font Family */\n --font-family: 'IBM Plex Sans', sans-serif;\n\n /* Font Sizes & Line Heights */\n --text-xs: 0.75rem;\n --text-xs-line-height: 1rem;\n\n --text-sm: 0.875rem;\n --text-sm-line-height: 1.25rem;\n\n --text-base: 1rem;\n --text-base-line-height: 1.5rem;\n\n --text-lg: 1.125rem;\n --text-lg-line-height: 1.75rem;\n\n --text-xl: 1.25rem;\n --text-xl-line-height: 1.75rem;\n\n --text-2xl: 1.5rem;\n --text-2xl-line-height: 2rem;\n\n --text-3xl: 1.875rem;\n --text-3xl-line-height: 2.25rem;\n\n --text-4xl: 2.25rem;\n --text-4xl-line-height: 2.5rem;\n\n --text-5xl: 3rem;\n --text-5xl-line-height: 1;\n\n --text-6xl: 3.75rem;\n --text-6xl-line-height: 1;\n\n --text-7xl: 4.5rem;\n --text-7xl-line-height: 1;\n\n --text-9xl: 8rem;\n --text-9xl-line-height: 1;\n\n /* Font Weights */\n --font-weight-light: 300;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-black: 900;\n\n /* Border Radius */\n --radius-xs: 0.125rem;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n\n /* Colors */\n --white: #ffffff;\n --black: #000000;\n\n --pink-10: #fff0f9;\n --pink-20: #ffe5f5;\n --pink-30: #fabee2;\n --pink-40: #f5a2d4;\n --pink-50: #fa78c6;\n --pink-60: #f056b2;\n --pink-70: #e043a2;\n --pink-80: #cc2d8c;\n --pink-90: #ad2376;\n --pink-100: #7a1451;\n\n --red-10: #fff0f0;\n --red-20: #ffe1e0;\n --red-30: #ffc9c7;\n --red-40: #ffa19e;\n --red-50: #ff706b;\n --red-60: #f64a44;\n --red-70: #dc2721;\n --red-80: #c1140e;\n --red-90: #990500;\n --red-100: #7a1714;\n\n --yellow-10: #fffcef;\n --yellow-20: #fff3c2;\n --yellow-30: #fcec9d;\n --yellow-40: #ffe561;\n --yellow-50: #fad232;\n --yellow-60: #f0b618;\n --yellow-70: #cc8904;\n --yellow-80: #9e5913;\n --yellow-90: #8a3f0e;\n --yellow-100: #70350d;\n\n --green-10: #effff9;\n --green-20: #c5fde8;\n --green-30: #9df5d4;\n --green-40: #72f0c2;\n --green-50: #57e5b1;\n --green-60: #46dbaa;\n --green-70: #33b88c;\n --green-80: #15946a;\n --green-90: #177559;\n --green-100: #125241;\n\n --teal-10: #effffc;\n --teal-20: #c5fcf1;\n --teal-30: #a5fae9;\n --teal-40: #76f5db;\n --teal-50: #54ebcd;\n --teal-60: #46dbbd;\n --teal-70: #33b8a2;\n --teal-80: #148f7e;\n --teal-90: #17756c;\n --teal-100: #15524c;\n\n --cyan-10: #efffff;\n --cyan-20: #c5fcfc;\n --cyan-30: #a0fafa;\n --cyan-40: #76f5f5;\n --cyan-50: #54ebeb;\n --cyan-60: #46dbdb;\n --cyan-70: #33b3b8;\n --cyan-80: #11868f;\n --cyan-90: #166a70;\n --cyan-100: #11474d;\n\n --lightblue-10: #effbff;\n --lightblue-20: #c7f1ff;\n --lightblue-30: #9de4fc;\n --lightblue-40: #79dbfc;\n --lightblue-50: #51d3ff;\n --lightblue-60: #48c5f0;\n --lightblue-70: #20a6d6;\n --lightblue-80: #0b80b2;\n --lightblue-90: #19648a;\n --lightblue-100: #0c3e57;\n\n --blue-10: #f0f6ff;\n --blue-20: #e0ecff;\n --blue-30: #bed4fa;\n --blue-40: #a2bdf5;\n --blue-50: #78a3fa;\n --blue-60: #5684f0;\n --blue-70: #4368e0;\n --blue-80: #2d4dcc;\n --blue-90: #233ead;\n --blue-100: #14287a;\n\n --purple-10: #f4f0ff;\n --purple-20: #eee5ff;\n --purple-30: #d6befa;\n --purple-40: #c6a2f5;\n --purple-50: #b078fa;\n --purple-60: #9956f0;\n --purple-70: #8743e0;\n --purple-80: #722dcc;\n --purple-90: #5f23ad;\n --purple-100: #40147a;\n\n --primary-10: #eff4ff;\n --primary-20: #c7ddff;\n --primary-30: #9dc3fc;\n --primary-40: #79adfc;\n --primary-50: #5185ff;\n --primary-60: #4456f6;\n --primary-70: #2134dc;\n --primary-80: #0e20c1;\n --primary-90: #000f99;\n --primary-100: #0c1457;\n\n --gray-10: #f7f8fa;\n --gray-20: #edeff2;\n --gray-30: #e0e2e5;\n --gray-40: #d8d9dc;\n --gray-50: #c8c9cc;\n --gray-60: #afb0b2;\n --gray-70: #939599;\n --gray-80: #6f7176;\n --gray-90: #5e6066;\n --gray-100: #45484d;\n --gray-110: #292c33;\n --gray-120: #151923;\n --gray-130: #0c1019;\n --gray-140: #05080d;\n\n --aubergine-10: #fcf0ff;\n --aubergine-20: #fae5ff;\n --aubergine-30: #eebefa;\n --aubergine-40: #e4a2f5;\n --aubergine-50: #e078fa;\n --aubergine-60: #d156f0;\n --aubergine-70: #c143e0;\n --aubergine-80: #ac2dcc;\n --aubergine-90: #9223ad;\n --aubergine-100: #66147a;\n\n --indigo-10: #f2f0ff;\n --indigo-20: #e9e5ff;\n --indigo-30: #c6befa;\n --indigo-40: #ada2f5;\n --indigo-50: #8978fa;\n --indigo-60: #6b56f0;\n --indigo-70: #5843e0;\n --indigo-80: #422dcc;\n --indigo-90: #3523ad;\n --indigo-100: #21147a;\n\n --lime-10: #fafff0;\n --lime-20: #f6ffe5;\n --lime-30: #e6fabe;\n --lime-40: #d9f5a2;\n --lime-50: #cffa78;\n --lime-60: #bdf056;\n --lime-70: #ace043;\n --lime-80: #97cc2d;\n --lime-90: #7fad23;\n --lime-100: #587a14;\n\n --trueGreen-10: #f0fff0;\n --trueGreen-20: #e5ffe5;\n --trueGreen-30: #befabe;\n --trueGreen-40: #a2f5a2;\n --trueGreen-50: #78fa78;\n --trueGreen-60: #56f056;\n --trueGreen-70: #43e043;\n --trueGreen-80: #2dcc2d;\n --trueGreen-90: #23ad23;\n --trueGreen-100: #147a14;\n\n --burnt-10: #fff6f0;\n --burnt-20: #fff0e5;\n --burnt-30: #fad6be;\n --burnt-40: #f5c3a2;\n --burnt-50: #faac78;\n --burnt-60: #f09456;\n --burnt-70: #e08243;\n --burnt-80: #cc6d2d;\n --burnt-90: #ad5a23;\n --burnt-100: #7a3d14;\n\n --shadow-base: 0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);\n --shadow-lg: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);\n --active: 0px 1px 3px rgba(0, 15, 153, 0.25), 0px 1px 2px rgba(0, 15, 153, 0.06), 0px 0px 0px 4px #9dc3fc;\n\n display: block;\n position: absolute;\n margin: 0px;\n padding: 0px 0px 0px 0px;\n isolation: isolate;\n}\n\n.ls-editor-field-editable {\n display: block;\n font-family: inherit;\n font-size: inherit;\n overflow: hidden;\n\n /* no extra spaces */\n white-space: nowrap;\n margin: 0;\n padding: 0px 0px 0px 0px;\n /* default widths */\n min-width: 2em;\n height: 100%;\n width: 100%;\n}\n\n.ls-editor-field {\n opacity: 0.7;\n}\n\n.ls-editor-field-editable:focus {\n outline: none;\n}\n\n.ls-editor-field-draggable {\n display: block;\n font-family: inherit;\n font-size: inherit;\n overflow: hidden;\n\n /* no extra spaces */\n white-space: nowrap;\n\n /* default widths */\n min-width: 2px;\n height: 98%;\n width: 98%;\n}\n\n/* .is-selected {\n border: 1px dotted rgb(193, 26, 26);\n} */\n\n.hidden-field {\n display: none;\n}\n\ninput {\n all: unset;\n}\n\n.draggable-input {\n font-family: inherit;\n font-size: inherit;\n position: relative;\n height: 95%;\n width: 95%;\n}\n\n.editing-input {\n caret-color: rgb(15 23 42);\n caret-shape: auto;\n height: 100%;\n width: 100%;\n}","import { Component, Host, h, Element, State, Prop, Watch, Listen } from '@stencil/core';\nimport { LSApiElement } from '../../components';\nimport { getInputType } from '../ls-document-viewer/editorUtils';\nimport { defaultRolePalette } from '../ls-document-viewer/defaultPalette';\n\n@Component({\n tag: 'ls-editor-field',\n styleUrl: 'ls-editor-field.css',\n shadow: true,\n})\nexport class LsEditorField {\n @Element() component: HTMLElement;\n @Prop({ mutable: true }) dataItem: LSApiElement;\n @Prop() selected: boolean;\n @Prop() readonly: boolean;\n @Prop() palette: string[];\n @Prop() type: 'text' | 'signature' | 'date' | 'regex' | 'file' | 'number' | 'autodate';\n @Prop() page: { height: number; width: number };\n @State() isEditing: boolean = false;\n @State() heldEdge: string = null;\n @State() isEdgeDragging: boolean = false;\n @State() innerValue: string;\n private sizeObserver: ResizeObserver;\n\n @Listen('keydown')\n handleInput(e: KeyboardEvent) {\n if (e.code === 'Enter') {\n this.isEditing = false;\n this.sizeObserver.observe(this.component.shadowRoot.getElementById('field-info'));\n }\n }\n\n @Listen('mousemove', { capture: true })\n handleMouseMove(e) {\n if (this.readonly) return;\n if (!e.clientX) return;\n\n // Determine which edge is being moved over and what cursor to show.\n if (Math.abs(e.offsetX) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetX - this.component.clientWidth) < 5) {\n this.component.style.cursor = 'ew-resize';\n } else if (Math.abs(e.offsetY) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else if (Math.abs(e.offsetY - this.component.clientHeight) < 5) {\n this.component.style.cursor = 'ns-resize';\n } else {\n this.component.style.cursor = 'move';\n }\n }\n\n @Listen('dblclick', { capture: true })\n handleDoubleClick() {\n if (this.readonly) return;\n this.isEditing = true;\n this.heldEdge = null;\n this.isEdgeDragging = false;\n this.sizeObserver.disconnect();\n this.innerValue = this.innerValue ? this.innerValue : this.dataItem?.value;\n\n const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLInputElement;\n console.log(editbox);\n\n if (editbox) {\n editbox.className = 'ls-editor-field-editable';\n editbox.focus();\n }\n }\n\n @Listen('dragstart', { capture: false, passive: false })\n handleDragStart(event) {\n console.log('dragstart ls-editor-field', event, this.type);\n // Add the target element's id to the data transfer object\n event.dataTransfer.setData(\n 'application/json',\n JSON.stringify({\n type: this.type,\n }),\n );\n event.dataTransfer.dropEffect = 'move';\n }\n\n @Watch('selected')\n watchSelectedHandler(_newValue: boolean, _oldValue: boolean) {\n if (_newValue) {\n this.component.style.background = `var(--${this.participantColor(this.dataItem?.signer)}-20)`;\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = 'transparent';\n this.component.style.boxShadow = 'none';\n }\n }\n\n onInputChange(e) {\n // console.log(\"INPUT CHANGE\", e);\n this.innerValue = e.target.value;\n }\n\n componentDidLoad() {\n this.sizeObserver = new ResizeObserver(entries => {\n for (const entry of entries) {\n if (entry.contentRect) {\n // const editbox = this.component.shadowRoot.getElementById('editing-input') as HTMLElement;\n const movebox = this.component.shadowRoot.getElementById('field-info') as HTMLElement;\n // console.log(editbox)\n // editbox.style.height = entry.contentRect.height + \"px\"\n // editbox.style.width = entry.contentRect.width + \"px\"\n\n movebox.style.height = entry.contentRect.height + 'px';\n movebox.style.width = entry.contentRect.width + 'px';\n }\n }\n });\n\n this.sizeObserver.observe(this.component);\n\n // New dropped components automatically need selecting.\n if (this.selected) {\n this.component.style.background = `var(--${this.participantColor(this.dataItem?.signer)}-20)`;\n this.component.style.opacity = '0.7';\n this.component.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';\n } else {\n this.component.style.background = `transparent`;\n this.component.style.boxShadow = 'none';\n }\n }\n\n participantColor = (index: number) => {\n return index > 200 ? defaultRolePalette[index - 200] : index > 100 ? defaultRolePalette[index - 100] : defaultRolePalette[index] || defaultRolePalette[0];\n };\n\n render() {\n return (\n <Host style={{ border: `2px solid var(--${this.participantColor(this.dataItem?.signer)}-60)` }}>\n <div\n class={{\n 'ls-editor-field': true,\n 'is-selected': this.selected,\n }}\n >\n <input\n id=\"editing-input\"\n class={this.isEditing ? 'ls-editor-field-editable' : 'hidden-field'}\n type={getInputType(this.dataItem.validation).inputType}\n value={this.dataItem?.value || this.innerValue}\n onChange={e => this.onInputChange(e)}\n />\n <div id=\"field-info\" class={this.isEditing ? 'hidden-field' : 'ls-editor-field-draggable'}>\n {this.innerValue || this.dataItem?.label || this.dataItem?.formElementType}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -25057,7 +25057,7 @@ const LsDocumentViewer = class {
25057
25057
  };
25058
25058
  LsDocumentViewer.style = lsDocumentViewerCss;
25059
25059
 
25060
- const lsEditorFieldCss = ":host{display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field{opacity:0.7}.ls-editor-field-editable:focus{outline:none}.ls-editor-field-draggable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;min-width:2px;height:98%;width:98%}.hidden-field{display:none}input{all:unset}.draggable-input{font-family:inherit;font-size:inherit;position:relative;height:95%;width:95%}.editing-input{caret-color:rgb(15 23 42);caret-shape:auto;height:100%;width:100%}";
25060
+ const lsEditorFieldCss = ":host{--font-family:'IBM Plex Sans', sans-serif;--text-xs:0.75rem;--text-xs-line-height:1rem;--text-sm:0.875rem;--text-sm-line-height:1.25rem;--text-base:1rem;--text-base-line-height:1.5rem;--text-lg:1.125rem;--text-lg-line-height:1.75rem;--text-xl:1.25rem;--text-xl-line-height:1.75rem;--text-2xl:1.5rem;--text-2xl-line-height:2rem;--text-3xl:1.875rem;--text-3xl-line-height:2.25rem;--text-4xl:2.25rem;--text-4xl-line-height:2.5rem;--text-5xl:3rem;--text-5xl-line-height:1;--text-6xl:3.75rem;--text-6xl-line-height:1;--text-7xl:4.5rem;--text-7xl-line-height:1;--text-9xl:8rem;--text-9xl-line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--radius-xs:0.125rem;--radius-sm:0.25rem;--radius-md:0.375rem;--radius-lg:0.5rem;--radius-xl:0.75rem;--radius-2xl:1rem;--white:#ffffff;--black:#000000;--pink-10:#fff0f9;--pink-20:#ffe5f5;--pink-30:#fabee2;--pink-40:#f5a2d4;--pink-50:#fa78c6;--pink-60:#f056b2;--pink-70:#e043a2;--pink-80:#cc2d8c;--pink-90:#ad2376;--pink-100:#7a1451;--red-10:#fff0f0;--red-20:#ffe1e0;--red-30:#ffc9c7;--red-40:#ffa19e;--red-50:#ff706b;--red-60:#f64a44;--red-70:#dc2721;--red-80:#c1140e;--red-90:#990500;--red-100:#7a1714;--yellow-10:#fffcef;--yellow-20:#fff3c2;--yellow-30:#fcec9d;--yellow-40:#ffe561;--yellow-50:#fad232;--yellow-60:#f0b618;--yellow-70:#cc8904;--yellow-80:#9e5913;--yellow-90:#8a3f0e;--yellow-100:#70350d;--green-10:#effff9;--green-20:#c5fde8;--green-30:#9df5d4;--green-40:#72f0c2;--green-50:#57e5b1;--green-60:#46dbaa;--green-70:#33b88c;--green-80:#15946a;--green-90:#177559;--green-100:#125241;--teal-10:#effffc;--teal-20:#c5fcf1;--teal-30:#a5fae9;--teal-40:#76f5db;--teal-50:#54ebcd;--teal-60:#46dbbd;--teal-70:#33b8a2;--teal-80:#148f7e;--teal-90:#17756c;--teal-100:#15524c;--cyan-10:#efffff;--cyan-20:#c5fcfc;--cyan-30:#a0fafa;--cyan-40:#76f5f5;--cyan-50:#54ebeb;--cyan-60:#46dbdb;--cyan-70:#33b3b8;--cyan-80:#11868f;--cyan-90:#166a70;--cyan-100:#11474d;--lightblue-10:#effbff;--lightblue-20:#c7f1ff;--lightblue-30:#9de4fc;--lightblue-40:#79dbfc;--lightblue-50:#51d3ff;--lightblue-60:#48c5f0;--lightblue-70:#20a6d6;--lightblue-80:#0b80b2;--lightblue-90:#19648a;--lightblue-100:#0c3e57;--blue-10:#f0f6ff;--blue-20:#e0ecff;--blue-30:#bed4fa;--blue-40:#a2bdf5;--blue-50:#78a3fa;--blue-60:#5684f0;--blue-70:#4368e0;--blue-80:#2d4dcc;--blue-90:#233ead;--blue-100:#14287a;--purple-10:#f4f0ff;--purple-20:#eee5ff;--purple-30:#d6befa;--purple-40:#c6a2f5;--purple-50:#b078fa;--purple-60:#9956f0;--purple-70:#8743e0;--purple-80:#722dcc;--purple-90:#5f23ad;--purple-100:#40147a;--primary-10:#eff4ff;--primary-20:#c7ddff;--primary-30:#9dc3fc;--primary-40:#79adfc;--primary-50:#5185ff;--primary-60:#4456f6;--primary-70:#2134dc;--primary-80:#0e20c1;--primary-90:#000f99;--primary-100:#0c1457;--gray-10:#f7f8fa;--gray-20:#edeff2;--gray-30:#e0e2e5;--gray-40:#d8d9dc;--gray-50:#c8c9cc;--gray-60:#afb0b2;--gray-70:#939599;--gray-80:#6f7176;--gray-90:#5e6066;--gray-100:#45484d;--gray-110:#292c33;--gray-120:#151923;--gray-130:#0c1019;--gray-140:#05080d;--aubergine-10:#fcf0ff;--aubergine-20:#fae5ff;--aubergine-30:#eebefa;--aubergine-40:#e4a2f5;--aubergine-50:#e078fa;--aubergine-60:#d156f0;--aubergine-70:#c143e0;--aubergine-80:#ac2dcc;--aubergine-90:#9223ad;--aubergine-100:#66147a;--indigo-10:#f2f0ff;--indigo-20:#e9e5ff;--indigo-30:#c6befa;--indigo-40:#ada2f5;--indigo-50:#8978fa;--indigo-60:#6b56f0;--indigo-70:#5843e0;--indigo-80:#422dcc;--indigo-90:#3523ad;--indigo-100:#21147a;--lime-10:#fafff0;--lime-20:#f6ffe5;--lime-30:#e6fabe;--lime-40:#d9f5a2;--lime-50:#cffa78;--lime-60:#bdf056;--lime-70:#ace043;--lime-80:#97cc2d;--lime-90:#7fad23;--lime-100:#587a14;--trueGreen-10:#f0fff0;--trueGreen-20:#e5ffe5;--trueGreen-30:#befabe;--trueGreen-40:#a2f5a2;--trueGreen-50:#78fa78;--trueGreen-60:#56f056;--trueGreen-70:#43e043;--trueGreen-80:#2dcc2d;--trueGreen-90:#23ad23;--trueGreen-100:#147a14;--burnt-10:#fff6f0;--burnt-20:#fff0e5;--burnt-30:#fad6be;--burnt-40:#f5c3a2;--burnt-50:#faac78;--burnt-60:#f09456;--burnt-70:#e08243;--burnt-80:#cc6d2d;--burnt-90:#ad5a23;--burnt-100:#7a3d14;--shadow-base:0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);--shadow-lg:0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);--active:0px 1px 3px rgba(0, 15, 153, 0.25), 0px 1px 2px rgba(0, 15, 153, 0.06), 0px 0px 0px 4px #9dc3fc;display:block;position:absolute;margin:0px;padding:0px 0px 0px 0px;isolation:isolate}.ls-editor-field-editable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;margin:0;padding:0px 0px 0px 0px;min-width:2em;height:100%;width:100%}.ls-editor-field{opacity:0.7}.ls-editor-field-editable:focus{outline:none}.ls-editor-field-draggable{display:block;font-family:inherit;font-size:inherit;overflow:hidden;white-space:nowrap;min-width:2px;height:98%;width:98%}.hidden-field{display:none}input{all:unset}.draggable-input{font-family:inherit;font-size:inherit;position:relative;height:95%;width:95%}.editing-input{caret-color:rgb(15 23 42);caret-shape:auto;height:100%;width:100%}";
25061
25061
 
25062
25062
  const LsEditorField = class {
25063
25063
  constructor(hostRef) {