@cling-se/widget 0.3.3 → 0.5.0

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 (115) hide show
  1. package/.env +4 -4
  2. package/dist/{DocFormSend.8754868e.js → DocFormSend.63e8ebfd.js} +25 -30
  3. package/dist/DocReceipt.087edc6c.js +189 -0
  4. package/dist/{DocSendReminder.d98e3f1e.js → DocSendReminder.0da038c3.js} +4 -5
  5. package/dist/{DocTimeline.281a4dbc.js → DocTimeline.c75aca03.js} +32 -33
  6. package/dist/index.es.js +29 -4
  7. package/dist/index.umd.js +100 -101
  8. package/dist/{main.837b42e2.js → main.819722de.js} +10877 -10168
  9. package/package.json +2 -1
  10. package/stats.html +1 -1
  11. package/tailwind.config.cjs +1 -1
  12. package/dist/index.0064b913.js +0 -347
  13. package/dist/index.03eb849d.js +0 -392
  14. package/dist/index.06ae19a2.js +0 -392
  15. package/dist/index.0b00c821.js +0 -174
  16. package/dist/index.0b0db0bd.js +0 -405
  17. package/dist/index.0bc608d5.js +0 -373
  18. package/dist/index.0c336ba9.js +0 -405
  19. package/dist/index.0ceaa718.js +0 -358
  20. package/dist/index.0ef1a3a6.js +0 -413
  21. package/dist/index.1503d863.js +0 -424
  22. package/dist/index.15ee0ab9.js +0 -414
  23. package/dist/index.168c2bce.js +0 -423
  24. package/dist/index.16902632.js +0 -392
  25. package/dist/index.18701043.js +0 -419
  26. package/dist/index.198d78b9.js +0 -418
  27. package/dist/index.1b27357e.js +0 -400
  28. package/dist/index.1bc3c82c.js +0 -487
  29. package/dist/index.1cca6025.js +0 -457
  30. package/dist/index.2026e05c.js +0 -413
  31. package/dist/index.222039f9.js +0 -402
  32. package/dist/index.23a35b9b.js +0 -497
  33. package/dist/index.2942b429.js +0 -442
  34. package/dist/index.298a69f1.js +0 -362
  35. package/dist/index.2ace86f5.js +0 -44
  36. package/dist/index.2c359b4e.js +0 -405
  37. package/dist/index.2d941184.js +0 -396
  38. package/dist/index.2db71959.js +0 -542
  39. package/dist/index.2f4aeb17.js +0 -76
  40. package/dist/index.31152a7a.js +0 -460
  41. package/dist/index.311ffa7e.js +0 -527
  42. package/dist/index.32733310.js +0 -437
  43. package/dist/index.3c067fea.js +0 -498
  44. package/dist/index.3fcd5701.js +0 -422
  45. package/dist/index.47d10a37.js +0 -358
  46. package/dist/index.49976861.js +0 -358
  47. package/dist/index.5087f7bd.js +0 -414
  48. package/dist/index.54e2a93d.js +0 -573
  49. package/dist/index.572141f4.js +0 -88
  50. package/dist/index.6158b0ab.js +0 -398
  51. package/dist/index.66cfda66.js +0 -495
  52. package/dist/index.67e7120b.js +0 -497
  53. package/dist/index.694a50c1.js +0 -573
  54. package/dist/index.6b196f79.js +0 -485
  55. package/dist/index.6fbbcdb3.js +0 -392
  56. package/dist/index.741c5144.js +0 -50
  57. package/dist/index.7a83617c.js +0 -495
  58. package/dist/index.7b414677.js +0 -395
  59. package/dist/index.8163ec67.js +0 -89
  60. package/dist/index.825ca275.js +0 -88
  61. package/dist/index.849ab6fa.js +0 -358
  62. package/dist/index.87a7d282.js +0 -422
  63. package/dist/index.89b15e9c.js +0 -11089
  64. package/dist/index.89edadab.js +0 -401
  65. package/dist/index.8d78ff09.js +0 -357
  66. package/dist/index.91647e7b.js +0 -390
  67. package/dist/index.91b4b4e5.js +0 -390
  68. package/dist/index.91b9ac70.js +0 -427
  69. package/dist/index.947cc7ce.js +0 -414
  70. package/dist/index.98d98c90.js +0 -605
  71. package/dist/index.9a09d960.js +0 -401
  72. package/dist/index.9a1c119f.js +0 -103
  73. package/dist/index.9b893c04.js +0 -411
  74. package/dist/index.9c1acbbd.js +0 -422
  75. package/dist/index.9fb3d656.js +0 -89
  76. package/dist/index.9fd80be0.js +0 -423
  77. package/dist/index.a3323069.js +0 -394
  78. package/dist/index.aa84e0d9.js +0 -392
  79. package/dist/index.add715bd.js +0 -664
  80. package/dist/index.b08b5876.js +0 -174
  81. package/dist/index.b3a86349.js +0 -371
  82. package/dist/index.b5842b70.js +0 -89
  83. package/dist/index.b658adad.js +0 -396
  84. package/dist/index.b71f00b5.js +0 -90
  85. package/dist/index.b8750637.js +0 -540
  86. package/dist/index.b995f365.js +0 -358
  87. package/dist/index.ba4f216e.js +0 -399
  88. package/dist/index.bee408a6.js +0 -406
  89. package/dist/index.bf274622.js +0 -397
  90. package/dist/index.bfdd7ce8.js +0 -391
  91. package/dist/index.c02dd0fa.js +0 -344
  92. package/dist/index.c84e7cc7.js +0 -324
  93. package/dist/index.c8b68fb4.js +0 -89
  94. package/dist/index.cbebf0b5.js +0 -89
  95. package/dist/index.cd8e3187.js +0 -247
  96. package/dist/index.cedea761.js +0 -397
  97. package/dist/index.d104916c.js +0 -20
  98. package/dist/index.d3fb286b.js +0 -566
  99. package/dist/index.d6936050.js +0 -446
  100. package/dist/index.d7e2ee42.js +0 -399
  101. package/dist/index.d97cba81.js +0 -564
  102. package/dist/index.dc39d415.js +0 -264
  103. package/dist/index.e1de722f.js +0 -392
  104. package/dist/index.e216613c.js +0 -400
  105. package/dist/index.e70ace17.js +0 -50
  106. package/dist/index.ead78f64.js +0 -496
  107. package/dist/index.eaf0a7c6.js +0 -99
  108. package/dist/index.ef37b57d.js +0 -105
  109. package/dist/index.f9398aeb.js +0 -347
  110. package/dist/index.fbf51f38.js +0 -388
  111. package/dist/index.fd6131ed.js +0 -397
  112. package/dist/index.fe1fd10f.js +0 -514
  113. package/dist/index.fe69dc7a.js +0 -89
  114. package/dist/index.ffd56116.js +0 -161
  115. package/dist/init.1c637e98.js +0 -570
@@ -1,414 +0,0 @@
1
- import { g as W } from "./init.1c637e98.js";
2
- import { b as j, a as D, c as H, d as O } from "./index.eaf0a7c6.js";
3
- function F(n, e) {
4
- for (var a = 0; a < e.length; a++) {
5
- const i = e[a];
6
- if (typeof i != "string" && !Array.isArray(i)) {
7
- for (const t in i)
8
- if (t !== "default" && !(t in n)) {
9
- const o = Object.getOwnPropertyDescriptor(i, t);
10
- o && Object.defineProperty(n, t, o.get ? o : {
11
- enumerable: !0,
12
- get: () => i[t]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var b = { exports: {} }, P = { exports: {} };
20
- (function(n, e) {
21
- Object.defineProperty(e, "__esModule", {
22
- value: !0
23
- }), e.default = void 0;
24
- function a(u) {
25
- return u.replace(/sekuntia?/, "sekunnin");
26
- }
27
- function i(u) {
28
- return u.replace(/minuuttia?/, "minuutin");
29
- }
30
- function t(u) {
31
- return u.replace(/tuntia?/, "tunnin");
32
- }
33
- function o(u) {
34
- return u.replace(/päivää?/, "p\xE4iv\xE4n");
35
- }
36
- function s(u) {
37
- return u.replace(/(viikko|viikkoa)/, "viikon");
38
- }
39
- function l(u) {
40
- return u.replace(/(kuukausi|kuukautta)/, "kuukauden");
41
- }
42
- function r(u) {
43
- return u.replace(/(vuosi|vuotta)/, "vuoden");
44
- }
45
- var d = {
46
- lessThanXSeconds: {
47
- one: "alle sekunti",
48
- other: "alle {{count}} sekuntia",
49
- futureTense: a
50
- },
51
- xSeconds: {
52
- one: "sekunti",
53
- other: "{{count}} sekuntia",
54
- futureTense: a
55
- },
56
- halfAMinute: {
57
- one: "puoli minuuttia",
58
- other: "puoli minuuttia",
59
- futureTense: function(h) {
60
- return "puolen minuutin";
61
- }
62
- },
63
- lessThanXMinutes: {
64
- one: "alle minuutti",
65
- other: "alle {{count}} minuuttia",
66
- futureTense: i
67
- },
68
- xMinutes: {
69
- one: "minuutti",
70
- other: "{{count}} minuuttia",
71
- futureTense: i
72
- },
73
- aboutXHours: {
74
- one: "noin tunti",
75
- other: "noin {{count}} tuntia",
76
- futureTense: t
77
- },
78
- xHours: {
79
- one: "tunti",
80
- other: "{{count}} tuntia",
81
- futureTense: t
82
- },
83
- xDays: {
84
- one: "p\xE4iv\xE4",
85
- other: "{{count}} p\xE4iv\xE4\xE4",
86
- futureTense: o
87
- },
88
- aboutXWeeks: {
89
- one: "noin viikko",
90
- other: "noin {{count}} viikkoa",
91
- futureTense: s
92
- },
93
- xWeeks: {
94
- one: "viikko",
95
- other: "{{count}} viikkoa",
96
- futureTense: s
97
- },
98
- aboutXMonths: {
99
- one: "noin kuukausi",
100
- other: "noin {{count}} kuukautta",
101
- futureTense: l
102
- },
103
- xMonths: {
104
- one: "kuukausi",
105
- other: "{{count}} kuukautta",
106
- futureTense: l
107
- },
108
- aboutXYears: {
109
- one: "noin vuosi",
110
- other: "noin {{count}} vuotta",
111
- futureTense: r
112
- },
113
- xYears: {
114
- one: "vuosi",
115
- other: "{{count}} vuotta",
116
- futureTense: r
117
- },
118
- overXYears: {
119
- one: "yli vuosi",
120
- other: "yli {{count}} vuotta",
121
- futureTense: r
122
- },
123
- almostXYears: {
124
- one: "l\xE4hes vuosi",
125
- other: "l\xE4hes {{count}} vuotta",
126
- futureTense: r
127
- }
128
- }, m = function(h, f, k) {
129
- var c = d[h], v = f === 1 ? c.one : c.other.replace("{{count}}", String(f));
130
- return k != null && k.addSuffix ? k.comparison && k.comparison > 0 ? c.futureTense(v) + " kuluttua" : v + " sitten" : v;
131
- }, y = m;
132
- e.default = y, n.exports = e.default;
133
- })(P, P.exports);
134
- var M = { exports: {} };
135
- (function(n, e) {
136
- Object.defineProperty(e, "__esModule", {
137
- value: !0
138
- }), e.default = void 0;
139
- var a = i(j.exports);
140
- function i(d) {
141
- return d && d.__esModule ? d : { default: d };
142
- }
143
- var t = {
144
- full: "eeee d. MMMM y",
145
- long: "d. MMMM y",
146
- medium: "d. MMM y",
147
- short: "d.M.y"
148
- }, o = {
149
- full: "HH.mm.ss zzzz",
150
- long: "HH.mm.ss z",
151
- medium: "HH.mm.ss",
152
- short: "HH.mm"
153
- }, s = {
154
- full: "{{date}} 'klo' {{time}}",
155
- long: "{{date}} 'klo' {{time}}",
156
- medium: "{{date}} {{time}}",
157
- short: "{{date}} {{time}}"
158
- }, l = {
159
- date: (0, a.default)({
160
- formats: t,
161
- defaultWidth: "full"
162
- }),
163
- time: (0, a.default)({
164
- formats: o,
165
- defaultWidth: "full"
166
- }),
167
- dateTime: (0, a.default)({
168
- formats: s,
169
- defaultWidth: "full"
170
- })
171
- }, r = l;
172
- e.default = r, n.exports = e.default;
173
- })(M, M.exports);
174
- var g = { exports: {} };
175
- (function(n, e) {
176
- Object.defineProperty(e, "__esModule", {
177
- value: !0
178
- }), e.default = void 0;
179
- var a = {
180
- lastWeek: "'viime' eeee 'klo' p",
181
- yesterday: "'eilen klo' p",
182
- today: "'t\xE4n\xE4\xE4n klo' p",
183
- tomorrow: "'huomenna klo' p",
184
- nextWeek: "'ensi' eeee 'klo' p",
185
- other: "P"
186
- }, i = function(s, l, r, d) {
187
- return a[s];
188
- }, t = i;
189
- e.default = t, n.exports = e.default;
190
- })(g, g.exports);
191
- var w = { exports: {} };
192
- (function(n, e) {
193
- Object.defineProperty(e, "__esModule", {
194
- value: !0
195
- }), e.default = void 0;
196
- var a = i(D.exports);
197
- function i(f) {
198
- return f && f.__esModule ? f : { default: f };
199
- }
200
- var t = {
201
- narrow: ["eaa.", "jaa."],
202
- abbreviated: ["eaa.", "jaa."],
203
- wide: ["ennen ajanlaskun alkua", "j\xE4lkeen ajanlaskun alun"]
204
- }, o = {
205
- narrow: ["1", "2", "3", "4"],
206
- abbreviated: ["Q1", "Q2", "Q3", "Q4"],
207
- wide: ["1. kvartaali", "2. kvartaali", "3. kvartaali", "4. kvartaali"]
208
- }, s = {
209
- narrow: ["T", "H", "M", "H", "T", "K", "H", "E", "S", "L", "M", "J"],
210
- abbreviated: ["tammi", "helmi", "maalis", "huhti", "touko", "kes\xE4", "hein\xE4", "elo", "syys", "loka", "marras", "joulu"],
211
- wide: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kes\xE4kuu", "hein\xE4kuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"]
212
- }, l = {
213
- narrow: s.narrow,
214
- abbreviated: s.abbreviated,
215
- wide: ["tammikuuta", "helmikuuta", "maaliskuuta", "huhtikuuta", "toukokuuta", "kes\xE4kuuta", "hein\xE4kuuta", "elokuuta", "syyskuuta", "lokakuuta", "marraskuuta", "joulukuuta"]
216
- }, r = {
217
- narrow: ["S", "M", "T", "K", "T", "P", "L"],
218
- short: ["su", "ma", "ti", "ke", "to", "pe", "la"],
219
- abbreviated: ["sunn.", "maan.", "tiis.", "kesk.", "torst.", "perj.", "la"],
220
- wide: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"]
221
- }, d = {
222
- narrow: r.narrow,
223
- short: r.short,
224
- abbreviated: r.abbreviated,
225
- wide: ["sunnuntaina", "maanantaina", "tiistaina", "keskiviikkona", "torstaina", "perjantaina", "lauantaina"]
226
- }, m = {
227
- narrow: {
228
- am: "ap",
229
- pm: "ip",
230
- midnight: "keskiy\xF6",
231
- noon: "keskip\xE4iv\xE4",
232
- morning: "ap",
233
- afternoon: "ip",
234
- evening: "illalla",
235
- night: "y\xF6ll\xE4"
236
- },
237
- abbreviated: {
238
- am: "ap",
239
- pm: "ip",
240
- midnight: "keskiy\xF6",
241
- noon: "keskip\xE4iv\xE4",
242
- morning: "ap",
243
- afternoon: "ip",
244
- evening: "illalla",
245
- night: "y\xF6ll\xE4"
246
- },
247
- wide: {
248
- am: "ap",
249
- pm: "ip",
250
- midnight: "keskiy\xF6ll\xE4",
251
- noon: "keskip\xE4iv\xE4ll\xE4",
252
- morning: "aamup\xE4iv\xE4ll\xE4",
253
- afternoon: "iltap\xE4iv\xE4ll\xE4",
254
- evening: "illalla",
255
- night: "y\xF6ll\xE4"
256
- }
257
- }, y = function(k, c) {
258
- var v = Number(k);
259
- return v + ".";
260
- }, u = {
261
- ordinalNumber: y,
262
- era: (0, a.default)({
263
- values: t,
264
- defaultWidth: "wide"
265
- }),
266
- quarter: (0, a.default)({
267
- values: o,
268
- defaultWidth: "wide",
269
- argumentCallback: function(k) {
270
- return k - 1;
271
- }
272
- }),
273
- month: (0, a.default)({
274
- values: s,
275
- defaultWidth: "wide",
276
- formattingValues: l,
277
- defaultFormattingWidth: "wide"
278
- }),
279
- day: (0, a.default)({
280
- values: r,
281
- defaultWidth: "wide",
282
- formattingValues: d,
283
- defaultFormattingWidth: "wide"
284
- }),
285
- dayPeriod: (0, a.default)({
286
- values: m,
287
- defaultWidth: "wide"
288
- })
289
- }, h = u;
290
- e.default = h, n.exports = e.default;
291
- })(w, w.exports);
292
- var x = { exports: {} };
293
- (function(n, e) {
294
- Object.defineProperty(e, "__esModule", {
295
- value: !0
296
- }), e.default = void 0;
297
- var a = t(H.exports), i = t(O.exports);
298
- function t(p) {
299
- return p && p.__esModule ? p : { default: p };
300
- }
301
- var o = /^(\d+)(\.)/i, s = /\d+/i, l = {
302
- narrow: /^(e|j)/i,
303
- abbreviated: /^(eaa.|jaa.)/i,
304
- wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i
305
- }, r = {
306
- any: [/^e/i, /^j/i]
307
- }, d = {
308
- narrow: /^[1234]/i,
309
- abbreviated: /^q[1234]/i,
310
- wide: /^[1234]\.? kvartaali/i
311
- }, m = {
312
- any: [/1/i, /2/i, /3/i, /4/i]
313
- }, y = {
314
- narrow: /^[thmkeslj]/i,
315
- abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,
316
- wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i
317
- }, u = {
318
- narrow: [/^t/i, /^h/i, /^m/i, /^h/i, /^t/i, /^k/i, /^h/i, /^e/i, /^s/i, /^l/i, /^m/i, /^j/i],
319
- any: [/^ta/i, /^hel/i, /^maa/i, /^hu/i, /^to/i, /^k/i, /^hei/i, /^e/i, /^s/i, /^l/i, /^mar/i, /^j/i]
320
- }, h = {
321
- narrow: /^[smtkpl]/i,
322
- short: /^(su|ma|ti|ke|to|pe|la)/i,
323
- abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,
324
- wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i
325
- }, f = {
326
- narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],
327
- any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i]
328
- }, k = {
329
- narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
330
- any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i
331
- }, c = {
332
- any: {
333
- am: /^ap/i,
334
- pm: /^ip/i,
335
- midnight: /^keskiyö/i,
336
- noon: /^keskipäivä/i,
337
- morning: /aamupäivällä/i,
338
- afternoon: /iltapäivällä/i,
339
- evening: /illalla/i,
340
- night: /yöllä/i
341
- }
342
- }, v = {
343
- ordinalNumber: (0, i.default)({
344
- matchPattern: o,
345
- parsePattern: s,
346
- valueCallback: function(_) {
347
- return parseInt(_, 10);
348
- }
349
- }),
350
- era: (0, a.default)({
351
- matchPatterns: l,
352
- defaultMatchWidth: "wide",
353
- parsePatterns: r,
354
- defaultParseWidth: "any"
355
- }),
356
- quarter: (0, a.default)({
357
- matchPatterns: d,
358
- defaultMatchWidth: "wide",
359
- parsePatterns: m,
360
- defaultParseWidth: "any",
361
- valueCallback: function(_) {
362
- return _ + 1;
363
- }
364
- }),
365
- month: (0, a.default)({
366
- matchPatterns: y,
367
- defaultMatchWidth: "wide",
368
- parsePatterns: u,
369
- defaultParseWidth: "any"
370
- }),
371
- day: (0, a.default)({
372
- matchPatterns: h,
373
- defaultMatchWidth: "wide",
374
- parsePatterns: f,
375
- defaultParseWidth: "any"
376
- }),
377
- dayPeriod: (0, a.default)({
378
- matchPatterns: k,
379
- defaultMatchWidth: "any",
380
- parsePatterns: c,
381
- defaultParseWidth: "any"
382
- })
383
- }, T = v;
384
- e.default = T, n.exports = e.default;
385
- })(x, x.exports);
386
- (function(n, e) {
387
- Object.defineProperty(e, "__esModule", {
388
- value: !0
389
- }), e.default = void 0;
390
- var a = l(P.exports), i = l(M.exports), t = l(g.exports), o = l(w.exports), s = l(x.exports);
391
- function l(m) {
392
- return m && m.__esModule ? m : { default: m };
393
- }
394
- var r = {
395
- code: "fi",
396
- formatDistance: a.default,
397
- formatLong: i.default,
398
- formatRelative: t.default,
399
- localize: o.default,
400
- match: s.default,
401
- options: {
402
- weekStartsOn: 1,
403
- firstWeekContainsDate: 4
404
- }
405
- }, d = r;
406
- e.default = d, n.exports = e.default;
407
- })(b, b.exports);
408
- const z = /* @__PURE__ */ W(b.exports), L = /* @__PURE__ */ F({
409
- __proto__: null,
410
- default: z
411
- }, [b.exports]);
412
- export {
413
- L as i
414
- };