@limetech/lime-elements 36.3.0-next.14 → 36.3.0-next.16

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 (35) hide show
  1. package/dist/cjs/{dateFormatter-d7a8d40d.js → dateFormatter-5353def7.js} +227 -141
  2. package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
  3. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +9 -3
  4. package/dist/cjs/limel-form.cjs.entry.js +79 -1
  5. package/dist/collection/components/chip-set/chip-set.js +1 -1
  6. package/dist/collection/components/date-picker/date-picker.js +1 -1
  7. package/dist/collection/components/date-picker/dateFormatter.js +7 -3
  8. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  9. package/dist/collection/components/date-picker/pickers/Picker.js +11 -2
  10. package/dist/collection/components/file/file.js +1 -1
  11. package/dist/collection/components/form/form.css +74 -0
  12. package/dist/collection/components/form/form.js +1 -0
  13. package/dist/collection/components/form/form.types.js +8 -0
  14. package/dist/collection/components/form/row/row.js +47 -0
  15. package/dist/collection/components/form/templates/object-field.js +5 -0
  16. package/dist/collection/components/form/templates/row-layout.js +20 -0
  17. package/dist/collection/components/snackbar/snackbar.js +1 -1
  18. package/dist/esm/{dateFormatter-784c3334.js → dateFormatter-e13137e8.js} +227 -141
  19. package/dist/esm/limel-date-picker.entry.js +1 -1
  20. package/dist/esm/limel-flatpickr-adapter.entry.js +9 -3
  21. package/dist/esm/limel-form.entry.js +79 -1
  22. package/dist/lime-elements/lime-elements.esm.js +1 -1
  23. package/dist/lime-elements/{p-d512656b.entry.js → p-7fb5f651.entry.js} +1 -1
  24. package/dist/lime-elements/{p-73df4d83.js → p-9900c44b.js} +5 -3
  25. package/dist/lime-elements/{p-c4a89055.entry.js → p-aec225e5.entry.js} +1 -1
  26. package/dist/lime-elements/{p-9ec08ebc.entry.js → p-b6a99c02.entry.js} +1 -1
  27. package/dist/types/components/date-picker/date.types.d.ts +1 -1
  28. package/dist/types/components/date-picker/dateFormatter.d.ts +3 -2
  29. package/dist/types/components/date-picker/pickers/Picker.d.ts +3 -0
  30. package/dist/types/components/form/form.d.ts +1 -0
  31. package/dist/types/components/form/form.types.d.ts +16 -1
  32. package/dist/types/components/form/row/row.d.ts +16 -0
  33. package/dist/types/components/form/templates/row-layout.d.ts +11 -0
  34. package/dist/types/components/form/templates/types.d.ts +3 -0
  35. package/package.json +10 -10
@@ -63,6 +63,89 @@ _commonjsHelpers.createCommonjsModule(function (module, exports) {
63
63
  })));
64
64
  });
65
65
 
66
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
67
+ (function (global, factory) {
68
+ typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
69
+ factory(global.moment);
70
+ }(_commonjsHelpers.commonjsGlobal, (function (moment) {
71
+ //! moment.js locale configuration
72
+
73
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
74
+ var format = {
75
+ m: ['eine Minute', 'einer Minute'],
76
+ h: ['eine Stunde', 'einer Stunde'],
77
+ d: ['ein Tag', 'einem Tag'],
78
+ dd: [number + ' Tage', number + ' Tagen'],
79
+ w: ['eine Woche', 'einer Woche'],
80
+ M: ['ein Monat', 'einem Monat'],
81
+ MM: [number + ' Monate', number + ' Monaten'],
82
+ y: ['ein Jahr', 'einem Jahr'],
83
+ yy: [number + ' Jahre', number + ' Jahren'],
84
+ };
85
+ return withoutSuffix ? format[key][0] : format[key][1];
86
+ }
87
+
88
+ var de = moment.defineLocale('de', {
89
+ months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
90
+ '_'
91
+ ),
92
+ monthsShort:
93
+ 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
94
+ monthsParseExact: true,
95
+ weekdays:
96
+ 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
97
+ '_'
98
+ ),
99
+ weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
100
+ weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
101
+ weekdaysParseExact: true,
102
+ longDateFormat: {
103
+ LT: 'HH:mm',
104
+ LTS: 'HH:mm:ss',
105
+ L: 'DD.MM.YYYY',
106
+ LL: 'D. MMMM YYYY',
107
+ LLL: 'D. MMMM YYYY HH:mm',
108
+ LLLL: 'dddd, D. MMMM YYYY HH:mm',
109
+ },
110
+ calendar: {
111
+ sameDay: '[heute um] LT [Uhr]',
112
+ sameElse: 'L',
113
+ nextDay: '[morgen um] LT [Uhr]',
114
+ nextWeek: 'dddd [um] LT [Uhr]',
115
+ lastDay: '[gestern um] LT [Uhr]',
116
+ lastWeek: '[letzten] dddd [um] LT [Uhr]',
117
+ },
118
+ relativeTime: {
119
+ future: 'in %s',
120
+ past: 'vor %s',
121
+ s: 'ein paar Sekunden',
122
+ ss: '%d Sekunden',
123
+ m: processRelativeTime,
124
+ mm: '%d Minuten',
125
+ h: processRelativeTime,
126
+ hh: '%d Stunden',
127
+ d: processRelativeTime,
128
+ dd: processRelativeTime,
129
+ w: processRelativeTime,
130
+ ww: '%d Wochen',
131
+ M: processRelativeTime,
132
+ MM: processRelativeTime,
133
+ y: processRelativeTime,
134
+ yy: processRelativeTime,
135
+ },
136
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
137
+ ordinal: '%d.',
138
+ week: {
139
+ dow: 1, // Monday is the first day of the week.
140
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
141
+ },
142
+ });
143
+
144
+ return de;
145
+
146
+ })));
147
+ });
148
+
66
149
  _commonjsHelpers.createCommonjsModule(function (module, exports) {
67
150
  (function (global, factory) {
68
151
  typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
@@ -194,146 +277,6 @@ _commonjsHelpers.createCommonjsModule(function (module, exports) {
194
277
  })));
195
278
  });
196
279
 
197
- _commonjsHelpers.createCommonjsModule(function (module, exports) {
198
- (function (global, factory) {
199
- typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
200
- factory(global.moment);
201
- }(_commonjsHelpers.commonjsGlobal, (function (moment) {
202
- //! moment.js locale configuration
203
-
204
- var nb = moment.defineLocale('nb', {
205
- months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
206
- '_'
207
- ),
208
- monthsShort:
209
- 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
210
- monthsParseExact: true,
211
- weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
212
- weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
213
- weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
214
- weekdaysParseExact: true,
215
- longDateFormat: {
216
- LT: 'HH:mm',
217
- LTS: 'HH:mm:ss',
218
- L: 'DD.MM.YYYY',
219
- LL: 'D. MMMM YYYY',
220
- LLL: 'D. MMMM YYYY [kl.] HH:mm',
221
- LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
222
- },
223
- calendar: {
224
- sameDay: '[i dag kl.] LT',
225
- nextDay: '[i morgen kl.] LT',
226
- nextWeek: 'dddd [kl.] LT',
227
- lastDay: '[i går kl.] LT',
228
- lastWeek: '[forrige] dddd [kl.] LT',
229
- sameElse: 'L',
230
- },
231
- relativeTime: {
232
- future: 'om %s',
233
- past: '%s siden',
234
- s: 'noen sekunder',
235
- ss: '%d sekunder',
236
- m: 'ett minutt',
237
- mm: '%d minutter',
238
- h: 'en time',
239
- hh: '%d timer',
240
- d: 'en dag',
241
- dd: '%d dager',
242
- w: 'en uke',
243
- ww: '%d uker',
244
- M: 'en måned',
245
- MM: '%d måneder',
246
- y: 'ett år',
247
- yy: '%d år',
248
- },
249
- dayOfMonthOrdinalParse: /\d{1,2}\./,
250
- ordinal: '%d.',
251
- week: {
252
- dow: 1, // Monday is the first day of the week.
253
- doy: 4, // The week that contains Jan 4th is the first week of the year.
254
- },
255
- });
256
-
257
- return nb;
258
-
259
- })));
260
- });
261
-
262
- _commonjsHelpers.createCommonjsModule(function (module, exports) {
263
- (function (global, factory) {
264
- typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
265
- factory(global.moment);
266
- }(_commonjsHelpers.commonjsGlobal, (function (moment) {
267
- //! moment.js locale configuration
268
-
269
- var sv = moment.defineLocale('sv', {
270
- months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
271
- '_'
272
- ),
273
- monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
274
- weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
275
- weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
276
- weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
277
- longDateFormat: {
278
- LT: 'HH:mm',
279
- LTS: 'HH:mm:ss',
280
- L: 'YYYY-MM-DD',
281
- LL: 'D MMMM YYYY',
282
- LLL: 'D MMMM YYYY [kl.] HH:mm',
283
- LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
284
- lll: 'D MMM YYYY HH:mm',
285
- llll: 'ddd D MMM YYYY HH:mm',
286
- },
287
- calendar: {
288
- sameDay: '[Idag] LT',
289
- nextDay: '[Imorgon] LT',
290
- lastDay: '[Igår] LT',
291
- nextWeek: '[På] dddd LT',
292
- lastWeek: '[I] dddd[s] LT',
293
- sameElse: 'L',
294
- },
295
- relativeTime: {
296
- future: 'om %s',
297
- past: 'för %s sedan',
298
- s: 'några sekunder',
299
- ss: '%d sekunder',
300
- m: 'en minut',
301
- mm: '%d minuter',
302
- h: 'en timme',
303
- hh: '%d timmar',
304
- d: 'en dag',
305
- dd: '%d dagar',
306
- M: 'en månad',
307
- MM: '%d månader',
308
- y: 'ett år',
309
- yy: '%d år',
310
- },
311
- dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
312
- ordinal: function (number) {
313
- var b = number % 10,
314
- output =
315
- ~~((number % 100) / 10) === 1
316
- ? ':e'
317
- : b === 1
318
- ? ':a'
319
- : b === 2
320
- ? ':a'
321
- : b === 3
322
- ? ':e'
323
- : ':e';
324
- return number + output;
325
- },
326
- week: {
327
- dow: 1, // Monday is the first day of the week.
328
- doy: 4, // The week that contains Jan 4th is the first week of the year.
329
- },
330
- });
331
-
332
- return sv;
333
-
334
- })));
335
- });
336
-
337
280
  _commonjsHelpers.createCommonjsModule(function (module, exports) {
338
281
  (function (global, factory) {
339
282
  typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
@@ -449,6 +392,71 @@ _commonjsHelpers.createCommonjsModule(function (module, exports) {
449
392
  })));
450
393
  });
451
394
 
395
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
396
+ (function (global, factory) {
397
+ typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
398
+ factory(global.moment);
399
+ }(_commonjsHelpers.commonjsGlobal, (function (moment) {
400
+ //! moment.js locale configuration
401
+
402
+ var nb = moment.defineLocale('nb', {
403
+ months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
404
+ '_'
405
+ ),
406
+ monthsShort:
407
+ 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
408
+ monthsParseExact: true,
409
+ weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
410
+ weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
411
+ weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
412
+ weekdaysParseExact: true,
413
+ longDateFormat: {
414
+ LT: 'HH:mm',
415
+ LTS: 'HH:mm:ss',
416
+ L: 'DD.MM.YYYY',
417
+ LL: 'D. MMMM YYYY',
418
+ LLL: 'D. MMMM YYYY [kl.] HH:mm',
419
+ LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
420
+ },
421
+ calendar: {
422
+ sameDay: '[i dag kl.] LT',
423
+ nextDay: '[i morgen kl.] LT',
424
+ nextWeek: 'dddd [kl.] LT',
425
+ lastDay: '[i går kl.] LT',
426
+ lastWeek: '[forrige] dddd [kl.] LT',
427
+ sameElse: 'L',
428
+ },
429
+ relativeTime: {
430
+ future: 'om %s',
431
+ past: '%s siden',
432
+ s: 'noen sekunder',
433
+ ss: '%d sekunder',
434
+ m: 'ett minutt',
435
+ mm: '%d minutter',
436
+ h: 'en time',
437
+ hh: '%d timer',
438
+ d: 'en dag',
439
+ dd: '%d dager',
440
+ w: 'en uke',
441
+ ww: '%d uker',
442
+ M: 'en måned',
443
+ MM: '%d måneder',
444
+ y: 'ett år',
445
+ yy: '%d år',
446
+ },
447
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
448
+ ordinal: '%d.',
449
+ week: {
450
+ dow: 1, // Monday is the first day of the week.
451
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
452
+ },
453
+ });
454
+
455
+ return nb;
456
+
457
+ })));
458
+ });
459
+
452
460
  _commonjsHelpers.createCommonjsModule(function (module, exports) {
453
461
  (function (global, factory) {
454
462
  typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
@@ -559,6 +567,81 @@ _commonjsHelpers.createCommonjsModule(function (module, exports) {
559
567
  })));
560
568
  });
561
569
 
570
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
571
+ (function (global, factory) {
572
+ typeof _commonjsHelpers.commonjsRequire === 'function' ? factory(moment.moment) :
573
+ factory(global.moment);
574
+ }(_commonjsHelpers.commonjsGlobal, (function (moment) {
575
+ //! moment.js locale configuration
576
+
577
+ var sv = moment.defineLocale('sv', {
578
+ months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
579
+ '_'
580
+ ),
581
+ monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
582
+ weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
583
+ weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
584
+ weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
585
+ longDateFormat: {
586
+ LT: 'HH:mm',
587
+ LTS: 'HH:mm:ss',
588
+ L: 'YYYY-MM-DD',
589
+ LL: 'D MMMM YYYY',
590
+ LLL: 'D MMMM YYYY [kl.] HH:mm',
591
+ LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
592
+ lll: 'D MMM YYYY HH:mm',
593
+ llll: 'ddd D MMM YYYY HH:mm',
594
+ },
595
+ calendar: {
596
+ sameDay: '[Idag] LT',
597
+ nextDay: '[Imorgon] LT',
598
+ lastDay: '[Igår] LT',
599
+ nextWeek: '[På] dddd LT',
600
+ lastWeek: '[I] dddd[s] LT',
601
+ sameElse: 'L',
602
+ },
603
+ relativeTime: {
604
+ future: 'om %s',
605
+ past: 'för %s sedan',
606
+ s: 'några sekunder',
607
+ ss: '%d sekunder',
608
+ m: 'en minut',
609
+ mm: '%d minuter',
610
+ h: 'en timme',
611
+ hh: '%d timmar',
612
+ d: 'en dag',
613
+ dd: '%d dagar',
614
+ M: 'en månad',
615
+ MM: '%d månader',
616
+ y: 'ett år',
617
+ yy: '%d år',
618
+ },
619
+ dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
620
+ ordinal: function (number) {
621
+ var b = number % 10,
622
+ output =
623
+ ~~((number % 100) / 10) === 1
624
+ ? ':e'
625
+ : b === 1
626
+ ? ':a'
627
+ : b === 2
628
+ ? ':a'
629
+ : b === 3
630
+ ? ':e'
631
+ : ':e';
632
+ return number + output;
633
+ },
634
+ week: {
635
+ dow: 1, // Monday is the first day of the week.
636
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
637
+ },
638
+ });
639
+
640
+ return sv;
641
+
642
+ })));
643
+ });
644
+
562
645
  class DateFormatter {
563
646
  constructor(language = 'en') {
564
647
  this.language = language;
@@ -576,7 +659,10 @@ class DateFormatter {
576
659
  return null;
577
660
  }
578
661
  getLanguage() {
579
- return this.language === 'no' ? 'nb' : this.language;
662
+ if (this.language === 'no') {
663
+ return 'nb';
664
+ }
665
+ return this.language;
580
666
  }
581
667
  getDateFormat(type) {
582
668
  return ({
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-287e25e0.js');
6
6
  const randomString = require('./random-string-4c3b7f1c.js');
7
7
  const device = require('./device-c5841113.js');
8
- const dateFormatter = require('./dateFormatter-d7a8d40d.js');
8
+ const dateFormatter = require('./dateFormatter-5353def7.js');
9
9
  const component = require('./component-ae3bfacf.js');
10
10
  require('./_commonjsHelpers-0c557e26.js');
11
11
  require('./moment-d1e35cdc.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-287e25e0.js');
6
6
  const translations = require('./translations-ca7279bc.js');
7
7
  const _commonjsHelpers = require('./_commonjsHelpers-0c557e26.js');
8
- const dateFormatter = require('./dateFormatter-d7a8d40d.js');
8
+ const dateFormatter = require('./dateFormatter-5353def7.js');
9
9
  const moment = require('./moment-d1e35cdc.js');
10
10
  const device = require('./device-c5841113.js');
11
11
  const eq = require('./eq-9a943b00.js');
@@ -6527,10 +6527,16 @@ class Picker {
6527
6527
  });
6528
6528
  }
6529
6529
  getFlatpickrLang() {
6530
- return this.language === 'nb' ? 'no' : this.language;
6530
+ if (this.language === 'nb') {
6531
+ return 'no';
6532
+ }
6533
+ return this.language;
6531
6534
  }
6532
6535
  getMomentLang() {
6533
- return this.language === 'no' ? 'nb' : this.language;
6536
+ if (this.language === 'no') {
6537
+ return 'nb';
6538
+ }
6539
+ return this.language;
6534
6540
  }
6535
6541
  getPickerDate(selectedDates) {
6536
6542
  return selectedDates[0] ? new Date(selectedDates[0].toJSON()) : null;
@@ -24000,6 +24000,14 @@ var FormLayoutType;
24000
24000
  * Render the form fields using a responsive grid layout
24001
24001
  */
24002
24002
  FormLayoutType["Grid"] = "grid";
24003
+ /**
24004
+ * Render the form fields in full-width rows.
24005
+ * Each row can have a leading `icon`, and a field.
24006
+ * `title` and `description` provided by the schema will be placed
24007
+ * on the row itself, and not on the field.
24008
+ * This layout is good for creating UIs for user settings pages.
24009
+ */
24010
+ FormLayoutType["Row"] = "row";
24003
24011
  })(FormLayoutType || (FormLayoutType = {}));
24004
24012
 
24005
24013
  const MAX_COLUMNS = 5;
@@ -24059,6 +24067,72 @@ class GridLayout extends react.Component {
24059
24067
  }
24060
24068
  }
24061
24069
 
24070
+ class Row extends react.Component {
24071
+ constructor(props) {
24072
+ super(props);
24073
+ this.props = props;
24074
+ }
24075
+ render() {
24076
+ const classes = ['row'];
24077
+ if (this.icon) {
24078
+ classes.push('has-icon');
24079
+ }
24080
+ return react.createElement('div', {
24081
+ className: classes.join(' '),
24082
+ }, this.renderMainInformation(), this.renderDescription());
24083
+ }
24084
+ renderIcon() {
24085
+ if (this.icon) {
24086
+ return react.createElement('limel-icon', {
24087
+ name: this.icon,
24088
+ });
24089
+ }
24090
+ }
24091
+ renderMainInformation() {
24092
+ return react.createElement('div', { className: 'main-information' }, this.renderIcon(), this.renderTitle(), this.renderChildren());
24093
+ }
24094
+ renderTitle() {
24095
+ var _a;
24096
+ return react.createElement('h1', { className: 'title' }, (_a = this.schema) === null || _a === void 0 ? void 0 : _a.title);
24097
+ }
24098
+ renderDescription() {
24099
+ var _a;
24100
+ if ((_a = this.schema) === null || _a === void 0 ? void 0 : _a.description) {
24101
+ return react.createElement('p', { className: 'description' }, this.schema.description);
24102
+ }
24103
+ }
24104
+ renderChildren() {
24105
+ const children = this.props.children;
24106
+ return Object.assign(Object.assign({}, children), { props: Object.assign(Object.assign({}, children.props), { schema: Object.assign(Object.assign({}, children.props.schema), { title: null, description: null }) }) });
24107
+ }
24108
+ get schema() {
24109
+ return this.props.children.props.schema;
24110
+ }
24111
+ get icon() {
24112
+ var _a, _b, _c;
24113
+ return (_c = (_b = (_a = this.schema) === null || _a === void 0 ? void 0 : _a.lime) === null || _b === void 0 ? void 0 : _b.layout) === null || _c === void 0 ? void 0 : _c.icon;
24114
+ }
24115
+ }
24116
+
24117
+ class RowLayout extends react.Component {
24118
+ constructor(props) {
24119
+ super(props);
24120
+ this.props = props;
24121
+ this.elementRef = react.createRef();
24122
+ }
24123
+ render() {
24124
+ const classes = ['limel-form-row--layout'];
24125
+ return react.createElement('div', {
24126
+ className: classes.join(' '),
24127
+ ref: this.elementRef,
24128
+ }, this.props.children.map((child, index) => {
24129
+ return react.createElement(Row, {
24130
+ key: index.toString(),
24131
+ }, child);
24132
+ }));
24133
+ }
24134
+ }
24135
+
24062
24136
  const ObjectFieldTemplate = (props) => {
24063
24137
  const id = props.idSchema.$id;
24064
24138
  if (id === 'root' || !isCollapsible(props.schema)) {
@@ -24098,6 +24172,7 @@ function renderLayout(properties, layout) {
24098
24172
  const layouts = {
24099
24173
  default: renderDefaultLayout,
24100
24174
  grid: renderGridLayout,
24175
+ row: renderRowLayout,
24101
24176
  };
24102
24177
  return layouts[type](properties, layout);
24103
24178
  }
@@ -24111,6 +24186,9 @@ function renderGridLayout(properties, layout) {
24111
24186
  options: layout,
24112
24187
  }, properties.map((element) => element.content));
24113
24188
  }
24189
+ function renderRowLayout(properties) {
24190
+ return react.createElement(RowLayout, {}, properties.map((element) => element.content));
24191
+ }
24114
24192
  function isCollapsible(schema) {
24115
24193
  var _a;
24116
24194
  return !!((_a = schema.lime) === null || _a === void 0 ? void 0 : _a.collapsible);
@@ -29531,7 +29609,7 @@ function isInteger(data) {
29531
29609
  return Number.isInteger(Number(data));
29532
29610
  }
29533
29611
 
29534
- const formCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.375rem;font-size:var(--mdc-typography-headline1-font-size, 1.375rem);line-height:1.375rem;line-height:var(--mdc-typography-headline1-line-height, 1.375rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-0.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -0.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline2-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline2-line-height, 0.875rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-0.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -0.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline3-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline3-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline4-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline4-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:0.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, 0.0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-headline5-font-size, 0.875rem);line-height:0.875rem;line-height:var(--mdc-typography-headline5-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-headline6-font-size, 0.875rem);line-height:0.875rem;line-height:var(--mdc-typography-headline6-line-height, 0.875rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.8125rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.125rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body1-font-size, 0.8125rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:none;text-transform:var(--mdc-typography-button-text-transform, none)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-overline-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-overline-line-height, 0.875rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:0.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, 0.1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)}.limel-form-array-item--simple{display:flex;align-items:center;margin-right:0.625rem}.limel-form-array-item--simple *:first-child{flex-grow:1}.limel-form-array-item--object{margin-bottom:0.25rem}.limel-form-layout--default{--gap:1rem;display:grid;gap:var(--gap);padding:var(--form-body-padding, 1rem)}.limel-form-layout--grid{--gap:1rem;--min-height-of-one-row:4.71rem;display:grid;gap:var(--gap);padding:var(--form-body-padding, 1rem);grid-template-columns:repeat(var(--number-of-columns), minmax(0, 1fr))}.limel-form-layout--grid.auto-reorder-to-avoid-empty-cells{grid-auto-flow:dense}.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--1,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--5{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--5{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--5{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--5{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--4{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--5{grid-column:span 5}.limel-form-layout--grid .limel-form-layout-colspan--all{grid-column:1/-1}.limel-form-layout--grid limel-checkbox,.limel-form-layout--grid limel-switch{min-height:calc(\n var(--min-height-of-one-row) - 0.9375rem\n )}.limel-form-layout--grid limel-checkbox{margin-top:0.5rem;display:block}.limel-form-layout--grid limel-switch{margin-left:0.5rem}.form-error{color:var(--mdc-theme-error, #b00020);font-size:0.6875rem;line-height:1.5;visibility:inherit;padding-right:1rem;padding-left:1rem;padding-top:0.25rem}.button-add-new{margin-top:0.5rem;width:100%}.mdc-typography--headline1{position:relative}.form-group .mdc-typography--headline1,.form-group .mdc-typography--body1{color:rgb(var(--contrast-1100))}.form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:2rem;--mdc-typography-headline1-line-height:2.25rem;--mdc-typography-headline1-letter-spacing:-0.0625rem;--mdc-typography-headline1-font-weight:400;margin-top:1.5rem;margin-bottom:0.5rem}.form-group .form-group .mdc-typography--headline1,.form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1200))}.form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.625rem;--mdc-typography-headline1-line-height:1.25rem;--mdc-typography-headline1-font-weight:300;margin-top:1.25rem;margin-bottom:0.5rem}.form-group .form-group .mdc-typography--headline1:before{content:\"\";display:block;position:absolute;top:0;bottom:0;margin:auto;left:-0.75rem;background-color:var(--mdc-theme-primary);width:0.125rem;height:var(--mdc-typography-headline1-line-height);border-radius:0.125rem;opacity:0.6}.form-group .form-group .form-group .mdc-typography--headline1,.form-group .form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1300))}.form-group .form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.375rem;--mdc-typography-headline1-line-height:1.5rem;--mdc-typography-headline1-font-weight:300;margin-top:1rem;margin-bottom:0.5rem}.form-group .form-group .form-group .mdc-typography--headline1:before{display:none}.form-group .form-group .form-group .form-group .mdc-typography--headline1,.form-group .form-group .form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1400))}.form-group .form-group .form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.25rem;--mdc-typography-headline1-line-height:1.25rem;--mdc-typography-headline1-font-weight:300;margin-top:1rem;margin-bottom:0.5rem}.form-group .form-group .form-group .form-group .mdc-typography--headline1:before{display:none}";
29612
+ const formCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.375rem;font-size:var(--mdc-typography-headline1-font-size, 1.375rem);line-height:1.375rem;line-height:var(--mdc-typography-headline1-line-height, 1.375rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-0.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -0.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline2-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline2-line-height, 0.875rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-0.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -0.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline3-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline3-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-headline4-font-size, 1rem);line-height:0.875rem;line-height:var(--mdc-typography-headline4-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:0.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, 0.0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-headline5-font-size, 0.875rem);line-height:0.875rem;line-height:var(--mdc-typography-headline5-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-headline6-font-size, 0.875rem);line-height:0.875rem;line-height:var(--mdc-typography-headline6-line-height, 0.875rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.8125rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.125rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body1-font-size, 0.8125rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:none;text-transform:var(--mdc-typography-button-text-transform, none)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-overline-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-overline-line-height, 0.875rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:0.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, 0.1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)}.limel-form-array-item--simple{display:flex;align-items:center;margin-right:0.625rem}.limel-form-array-item--simple *:first-child{flex-grow:1}.limel-form-array-item--object{margin-bottom:0.25rem}.limel-form-layout--default{--gap:1rem;display:grid;gap:var(--gap);padding:var(--form-body-padding, 1rem)}.limel-form-layout--grid{--gap:1rem;--min-height-of-one-row:4.71rem;display:grid;gap:var(--gap);padding:var(--form-body-padding, 1rem);grid-template-columns:repeat(var(--number-of-columns), minmax(0, 1fr))}.limel-form-layout--grid.auto-reorder-to-avoid-empty-cells{grid-auto-flow:dense}.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--1,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--5{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--5{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--5{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--5{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--4{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--5{grid-column:span 5}.limel-form-layout--grid .limel-form-layout-colspan--all{grid-column:1/-1}.limel-form-layout--grid limel-checkbox,.limel-form-layout--grid limel-switch{min-height:calc(\n var(--min-height-of-one-row) - 0.9375rem\n )}.limel-form-layout--grid limel-checkbox{margin-top:0.5rem;display:block}.limel-form-layout--grid limel-switch{margin-left:0.5rem}.form-error{color:var(--mdc-theme-error, #b00020);font-size:0.6875rem;line-height:1.5;visibility:inherit;padding-right:1rem;padding-left:1rem;padding-top:0.25rem}.button-add-new{margin-top:0.5rem;width:100%}.mdc-typography--headline1{position:relative}.form-group .mdc-typography--headline1,.form-group .mdc-typography--body1{color:rgb(var(--contrast-1100))}.form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:2rem;--mdc-typography-headline1-line-height:2.25rem;--mdc-typography-headline1-letter-spacing:-0.0625rem;--mdc-typography-headline1-font-weight:400;margin-top:1.5rem;margin-bottom:0.5rem}.form-group .form-group .mdc-typography--headline1,.form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1200))}.form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.625rem;--mdc-typography-headline1-line-height:1.25rem;--mdc-typography-headline1-font-weight:300;margin-top:1.25rem;margin-bottom:0.5rem}.form-group .form-group .mdc-typography--headline1:before{content:\"\";display:block;position:absolute;top:0;bottom:0;margin:auto;left:-0.75rem;background-color:var(--mdc-theme-primary);width:0.125rem;height:var(--mdc-typography-headline1-line-height);border-radius:0.125rem;opacity:0.6}.form-group .form-group .form-group .mdc-typography--headline1,.form-group .form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1300))}.form-group .form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.375rem;--mdc-typography-headline1-line-height:1.5rem;--mdc-typography-headline1-font-weight:300;margin-top:1rem;margin-bottom:0.5rem}.form-group .form-group .form-group .mdc-typography--headline1:before{display:none}.form-group .form-group .form-group .form-group .mdc-typography--headline1,.form-group .form-group .form-group .form-group .mdc-typography--body1{color:rgb(var(--contrast-1400))}.form-group .form-group .form-group .form-group .mdc-typography--headline1{--mdc-typography-headline1-font-size:1.25rem;--mdc-typography-headline1-line-height:1.25rem;--mdc-typography-headline1-font-weight:300;margin-top:1rem;margin-bottom:0.5rem}.form-group .form-group .form-group .form-group .mdc-typography--headline1:before{display:none}.limel-form-row--layout{--limel-form-row-border-radius:0.375rem;--limel-form-row-icon-size:1.75rem;--limel-form-row-main-information-gap:0.5rem;display:flex;flex-direction:column}.limel-form-row--layout .row{display:flex;gap:0.5rem;flex-direction:column;padding:0.5rem 1rem}.limel-form-row--layout .row:nth-child(odd){background-color:var(--form-background-color-of-odd-rows, rgb(var(--contrast-200)))}.limel-form-row--layout .row:nth-child(even){background-color:var(--form-background-color-of-even-rows, transparent)}.limel-form-row--layout .row:first-child{border-radius:var(--limel-form-row-border-radius) var(--limel-form-row-border-radius) 0 0}.limel-form-row--layout .row:last-child{border-radius:0 0 var(--limel-form-row-border-radius) var(--limel-form-row-border-radius)}.limel-form-row--layout .main-information{display:flex;flex-direction:row;align-items:center;gap:var(--limel-form-row-main-information-gap);min-width:0}.limel-form-row--layout limel-icon{width:var(--limel-form-row-icon-size);flex-shrink:0;min-width:0}.limel-form-row--layout .title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;font-weight:normal;flex-grow:1;color:var(--mdc-theme-on-surface);font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem)}.limel-form-row--layout .description{margin:0;color:var(--mdc-theme-text-secondary-on-background);font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.5}.limel-form-row--layout .has-icon .description{padding-left:calc(var(--limel-form-row-icon-size) + var(--limel-form-row-main-information-gap))}.limel-form-row--layout .form-group.field{flex-shrink:0;display:flex;align-content:center}.limel-form-row--layout .form-group.field limel-slider{min-width:8rem;display:block}";
29535
29613
 
29536
29614
  const Form = class {
29537
29615
  constructor(hostRef) {
@@ -662,7 +662,7 @@ export class ChipSet {
662
662
  "mutable": false,
663
663
  "complexType": {
664
664
  "original": "Languages",
665
- "resolved": "\"da\" | \"en\" | \"fi\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
665
+ "resolved": "\"da\" | \"de\" | \"en\" | \"fi\" | \"fr\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
666
666
  "references": {
667
667
  "Languages": {
668
668
  "location": "import",
@@ -400,7 +400,7 @@ export class DatePicker {
400
400
  "mutable": false,
401
401
  "complexType": {
402
402
  "original": "Languages",
403
- "resolved": "\"da\" | \"en\" | \"fi\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
403
+ "resolved": "\"da\" | \"de\" | \"en\" | \"fi\" | \"fr\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
404
404
  "references": {
405
405
  "Languages": {
406
406
  "location": "import",
@@ -1,9 +1,10 @@
1
1
  import 'moment/locale/da';
2
+ import 'moment/locale/de';
2
3
  import 'moment/locale/fi';
3
- import 'moment/locale/nb';
4
- import 'moment/locale/sv';
5
4
  import 'moment/locale/fr';
5
+ import 'moment/locale/nb';
6
6
  import 'moment/locale/nl';
7
+ import 'moment/locale/sv';
7
8
  import moment from 'moment/moment';
8
9
  export class DateFormatter {
9
10
  constructor(language = 'en') {
@@ -22,7 +23,10 @@ export class DateFormatter {
22
23
  return null;
23
24
  }
24
25
  getLanguage() {
25
- return this.language === 'no' ? 'nb' : this.language;
26
+ if (this.language === 'no') {
27
+ return 'nb';
28
+ }
29
+ return this.language;
26
30
  }
27
31
  getDateFormat(type) {
28
32
  return ({