smoothly 0.1.87 → 0.1.91

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 (85) hide show
  1. package/dist/cjs/GoogleFont-6c4f0da1.js +21 -0
  2. package/dist/cjs/{index-de5d1ee1.js → index-40d009d5.js} +2 -0
  3. package/dist/cjs/{index-328edd81.js → index-bc3845e8.js} +253 -182
  4. package/dist/cjs/index.cjs.js +8 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/smoothly-accordion_47.cjs.entry.js +296 -201
  7. package/dist/cjs/smoothly-calendar.cjs.entry.js +38 -10
  8. package/dist/cjs/smoothly-dialog.cjs.entry.js +2 -1
  9. package/dist/cjs/smoothly-display-demo.cjs.entry.js +2 -1
  10. package/dist/cjs/smoothly-display.cjs.entry.js +1 -1
  11. package/dist/cjs/smoothly-frame.cjs.entry.js +2 -1
  12. package/dist/cjs/smoothly-google-font.cjs.entry.js +17 -0
  13. package/dist/cjs/smoothly-input-date-range.cjs.entry.js +8 -9
  14. package/dist/cjs/smoothly-input-date.cjs.entry.js +4 -0
  15. package/dist/cjs/smoothly-input.cjs.entry.js +4 -4
  16. package/dist/cjs/smoothly-select-demo.cjs.entry.js +1 -0
  17. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -1
  18. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -1
  19. package/dist/cjs/smoothly.cjs.js +1 -1
  20. package/dist/collection/collection-manifest.json +1 -0
  21. package/dist/collection/components/calendar/index.js +80 -11
  22. package/dist/collection/components/google-font/index.js +33 -0
  23. package/dist/collection/components/input/index.js +3 -3
  24. package/dist/collection/components/input/style.css +1 -0
  25. package/dist/collection/components/input-date/index.js +12 -1
  26. package/dist/collection/components/input-date-range/index.js +14 -15
  27. package/dist/collection/components/select-demo/index.js +1 -0
  28. package/dist/collection/index.js +1 -1
  29. package/dist/collection/model/GoogleFont.js +19 -0
  30. package/dist/collection/model/index.js +1 -0
  31. package/dist/custom-elements/index.d.ts +6 -0
  32. package/dist/custom-elements/index.js +349 -214
  33. package/dist/esm/GoogleFont-8474516b.js +21 -0
  34. package/dist/esm/{index-1be6d668.js → index-37a67c97.js} +253 -182
  35. package/dist/{smoothly/index-68492ed9.js → esm/index-c8b5d468.js} +2 -0
  36. package/dist/esm/index.js +2 -1
  37. package/dist/esm/loader.js +1 -1
  38. package/dist/esm/smoothly-accordion_47.entry.js +296 -201
  39. package/dist/esm/smoothly-calendar.entry.js +38 -10
  40. package/dist/esm/smoothly-dialog.entry.js +2 -1
  41. package/dist/esm/smoothly-display-demo.entry.js +2 -1
  42. package/dist/esm/smoothly-display.entry.js +1 -1
  43. package/dist/esm/smoothly-frame.entry.js +2 -1
  44. package/dist/esm/smoothly-google-font.entry.js +13 -0
  45. package/dist/esm/smoothly-input-date-range.entry.js +8 -9
  46. package/dist/esm/smoothly-input-date.entry.js +4 -0
  47. package/dist/esm/smoothly-input.entry.js +4 -4
  48. package/dist/esm/smoothly-select-demo.entry.js +1 -0
  49. package/dist/esm/smoothly-trigger-sink.entry.js +2 -1
  50. package/dist/esm/smoothly-trigger-source.entry.js +2 -1
  51. package/dist/esm/smoothly.js +1 -1
  52. package/dist/smoothly/GoogleFont-8474516b.js +21 -0
  53. package/dist/smoothly/{index-1be6d668.js → index-37a67c97.js} +253 -182
  54. package/dist/{esm/index-68492ed9.js → smoothly/index-c8b5d468.js} +2 -0
  55. package/dist/smoothly/index.esm.js +2 -1
  56. package/dist/smoothly/p-14232157.entry.js +1 -0
  57. package/dist/smoothly/p-22d4d5a7.entry.js +1 -0
  58. package/dist/smoothly/p-9947e4bf.entry.js +1 -0
  59. package/dist/smoothly/p-b8a3e273.entry.js +1 -0
  60. package/dist/smoothly/p-bd478a53.js +1 -0
  61. package/dist/smoothly/smoothly-calendar.entry.js +38 -10
  62. package/dist/smoothly/smoothly-dialog.entry.js +2 -1
  63. package/dist/smoothly/smoothly-display-demo.entry.js +2 -1
  64. package/dist/smoothly/smoothly-display.entry.js +1 -1
  65. package/dist/smoothly/smoothly-frame.entry.js +2 -1
  66. package/dist/smoothly/smoothly-google-font.entry.js +13 -0
  67. package/dist/smoothly/smoothly-input-date-range.entry.js +8 -9
  68. package/dist/smoothly/smoothly-input-date.entry.js +4 -0
  69. package/dist/smoothly/smoothly-input.entry.js +4 -4
  70. package/dist/smoothly/smoothly-select-demo.entry.js +1 -0
  71. package/dist/smoothly/smoothly-trigger-sink.entry.js +2 -1
  72. package/dist/smoothly/smoothly-trigger-source.entry.js +2 -1
  73. package/dist/smoothly/smoothly.esm.js +1 -1
  74. package/dist/types/components/calendar/index.d.ts +6 -1
  75. package/dist/types/components/google-font/index.d.ts +5 -0
  76. package/dist/types/components/input-date/index.d.ts +1 -0
  77. package/dist/types/components/input-date-range/index.d.ts +2 -2
  78. package/dist/types/components.d.ts +19 -1
  79. package/dist/types/index.d.ts +1 -1
  80. package/dist/types/model/GoogleFont.d.ts +6 -0
  81. package/dist/types/model/index.d.ts +1 -0
  82. package/package.json +2 -2
  83. package/dist/smoothly/p-09d633f8.entry.js +0 -1
  84. package/dist/smoothly/p-1a81597b.entry.js +0 -1
  85. package/dist/smoothly/p-7b43df84.entry.js +0 -1
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ exports.GoogleFont = void 0;
4
+ (function (GoogleFont) {
5
+ function is(value) {
6
+ return (typeof value == "string" &&
7
+ !/[</>"'`]/g.test(value) &&
8
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
9
+ }
10
+ GoogleFont.is = is;
11
+ function getFont(value) {
12
+ return is(value) ? value.split(":")[0].replace(/\+/g, " ") : undefined;
13
+ }
14
+ GoogleFont.getFont = getFont;
15
+ function styleImportString(value) {
16
+ return is(value)
17
+ ? `@import url('https://fonts.googleapis.com/css2?family=${value.replace(/ /g, "+")}&display=swap`
18
+ : undefined;
19
+ }
20
+ GoogleFont.styleImportString = styleImportString;
21
+ })(exports.GoogleFont || (exports.GoogleFont = {}));
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('./GoogleFont-6c4f0da1.js');
4
+
3
5
  class TextEncoder {
4
6
  constructor() {
5
7
  this.encoding = "utf-8";
@@ -517,17 +517,31 @@ var DateFormat;
517
517
  function fromLocale(locale) {
518
518
  let result;
519
519
  switch (locale) {
520
+ case "sq-AL":
521
+ case "es-AR":
522
+ case "it-IT":
520
523
  case "en-GB":
524
+ case "fr-FR":
521
525
  result = "dd/mm/YYYY";
522
526
  break;
523
527
  case "en-US":
524
528
  result = "mm/dd/YYYY";
525
529
  break;
530
+ case "et-EE":
531
+ case "de-AT":
526
532
  case "de-DE":
533
+ case "he-IL":
534
+ case "is-IS":
535
+ case "lv-LV":
527
536
  case "pl-PL":
528
537
  case "ru-RU":
538
+ case "fi-FI":
529
539
  result = "dd.mm.YYYY";
530
540
  break;
541
+ case "hi-IN":
542
+ case "en-IN":
543
+ result = "dd-mm-YYYY";
544
+ break;
531
545
  default:
532
546
  result = "YYYY-mm-dd";
533
547
  break;
@@ -565,150 +579,270 @@ var DateFormat;
565
579
 
566
580
  const DateFormat = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(DateFormat_1);
567
581
 
568
- var helper = _commonjsHelpers.createCommonjsModule(function (module, exports) {
582
+ var Base_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
569
583
  "use strict";
570
584
  Object.defineProperty(exports, "__esModule", { value: true });
571
- exports.validFormat = exports.validSymbol = exports.validYear = exports.validMonth = exports.validDay = void 0;
572
- function validDay(symbol, state, startIndex, endIndex) {
573
- let result = false;
574
- if (state.value.length == startIndex)
575
- result = symbol <= "3" && symbol >= "0";
576
- else if (state.value.length == endIndex) {
577
- if (state.value.substring(startIndex, startIndex + 1) == "2" ||
578
- state.value.substring(startIndex, startIndex + 1) == "1")
579
- result = symbol <= "9" && symbol >= "0";
580
- else if (state.value.substring(startIndex, startIndex + 1) == "0")
581
- result = symbol <= "9" && symbol >= "1";
582
- else
583
- result = symbol == "1" || symbol == "0";
585
+ exports.register = exports.Base = void 0;
586
+
587
+
588
+
589
+ class Base {
590
+ constructor(seperator) {
591
+ this.seperator = seperator;
584
592
  }
585
- return result;
586
- }
587
- exports.validDay = validDay;
588
- function validMonth(symbol, state, startIndex, endIndex) {
589
- let result = false;
590
- if (state.value.length == startIndex)
591
- result = symbol == "1" || symbol == "0";
592
- else if (state.value.length == endIndex) {
593
- if (state.value.substring(startIndex, startIndex + 1) != "1")
594
- result = symbol <= "9" && symbol >= "1";
595
- else
596
- result = symbol < "3" && symbol >= "0";
593
+ unformat(formated) {
594
+ return formated.delete(this.seperator);
595
+ }
596
+ daysInMonth(value) {
597
+ var _a;
598
+ return (32 -
599
+ Number.parseInt(index$3.dist.Date.next(((_a = this.fromString(value.padEnd(8, "1"))) !== null && _a !== void 0 ? _a : "1970-01-01").substring(0, 8) + "28", 4).substring(8, 10)));
600
+ }
601
+ validMonth(day, month, year) {
602
+ return (new Date(Number.parseInt(year !== null && year !== void 0 ? year : "2004"), Number.parseInt(month), 0).getDate() >=
603
+ Number.parseInt(day));
597
604
  }
598
- return result;
599
605
  }
600
- exports.validMonth = validMonth;
601
- function validYear(symbol, state, startIndex, endIndex) {
602
- return state.value.length < endIndex && state.value.length >= startIndex && symbol >= "0" && symbol <= "9";
606
+ exports.Base = Base;
607
+ const handlers = {};
608
+ function register(format, create) {
609
+ handlers[format] = create;
603
610
  }
604
- exports.validYear = validYear;
605
- function validSymbol(symbol, state, firstSplitter, lastSplitter, character) {
606
- return (state.value.length == firstSplitter || state.value.length == lastSplitter) && symbol == character;
611
+ exports.register = register;
612
+ base.add("date", (parameters) => {
613
+ var _a;
614
+ const argument = parameters && parameters.length > 0 ? parameters[0] : undefined;
615
+ const format = DateFormat_1.DateFormat.is(argument) ? argument : DateFormat_1.DateFormat.fromLocale(argument);
616
+ const create = (_a = handlers[format]) !== null && _a !== void 0 ? _a : handlers["YYYY-mm-dd"];
617
+ return create();
618
+ });
619
+ //# sourceMappingURL=Base.js.map
620
+ });
621
+
622
+ const Base = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(Base_1);
623
+
624
+ var dmy = _commonjsHelpers.createCommonjsModule(function (module, exports) {
625
+ "use strict";
626
+ Object.defineProperty(exports, "__esModule", { value: true });
627
+
628
+
629
+ class Handler extends Base_1.Base {
630
+ constructor(seperator) {
631
+ super(seperator);
632
+ }
633
+ toString(data) {
634
+ return data.length == 10
635
+ ? [data.substring(8, 10), data.substring(5, 7), data.substring(0, 4)].join(this.seperator)
636
+ : "";
637
+ }
638
+ fromString(value) {
639
+ const result = value.length == 8 ? `${value.substring(4, 8)}-${value.substring(2, 4)}-${value.substring(0, 2)}` : undefined;
640
+ return index$3.dist.Date.is(result) ? result : undefined;
641
+ }
642
+ format(unformatted) {
643
+ let result = unformatted;
644
+ if (result.get(0, 1) > "3")
645
+ result = result.insert(0, "0");
646
+ if (result.value.length > 1)
647
+ result = result.insert(2, this.seperator);
648
+ if (result.get(3, 1) > "1")
649
+ result = result.insert(3, "0");
650
+ if (result.value.length > 4)
651
+ result = result.insert(5, this.seperator);
652
+ return Object.assign(Object.assign({}, result), { type: "text", length: [0, 10], pattern: new RegExp(["^(0[1-9]|[12][0-9]|3[01])", "(0[1-9]|1[012])", "\\d{4}$"].join(this.seperator)) });
653
+ }
654
+ allowed(symbol, state) {
655
+ return state.selection.start == 1 && state.value[0] == "3"
656
+ ? symbol >= "0" && symbol <= "1"
657
+ : state.selection.start == 1 && state.value[0] == "0"
658
+ ? symbol >= "1" && symbol <= "9"
659
+ : state.selection.start == 2
660
+ ? symbol >= "0" &&
661
+ symbol <= "9" &&
662
+ (symbol == "0" || symbol == "1" || this.validMonth(state.value.substring(0, 2), symbol))
663
+ : state.selection.start == 3
664
+ ? symbol >= "0" && symbol <= "9" && this.validMonth(state.value.substring(0, 2), state.value[2] + symbol)
665
+ : state.selection.start == 7
666
+ ? symbol >= "0" &&
667
+ symbol <= "9" &&
668
+ this.validMonth(state.value.substring(0, 2), state.value.substring(2, 4), state.value.substring(4, 7) + symbol)
669
+ : state.selection.start < 8 && symbol >= "0" && symbol <= "9";
670
+ }
607
671
  }
608
- exports.validSymbol = validSymbol;
609
- function validFormat(symbol, state, format) {
610
- let result;
611
- switch (format) {
612
- case "dd/mm/YYYY":
613
- result =
614
- validDay(symbol, state, 0, 1) ||
615
- validSymbol(symbol, state, 2, 5, "/") ||
616
- validMonth(symbol, state, 3, 4) ||
617
- validYear(symbol, state, 6, 10);
618
- break;
619
- case "dd.mm.YYYY":
620
- result =
621
- validDay(symbol, state, 0, 1) ||
622
- validSymbol(symbol, state, 2, 5, ".") ||
623
- validMonth(symbol, state, 3, 4) ||
624
- validYear(symbol, state, 6, 10);
625
- break;
626
- case "mm/dd/YYYY":
627
- result =
628
- validDay(symbol, state, 3, 4) ||
629
- validSymbol(symbol, state, 2, 5, "/") ||
630
- validMonth(symbol, state, 0, 1) ||
631
- validYear(symbol, state, 6, 10);
632
- break;
633
- default:
634
- result =
635
- validDay(symbol, state, 8, 9) ||
636
- validSymbol(symbol, state, 4, 7, "-") ||
637
- validMonth(symbol, state, 5, 6) ||
638
- validYear(symbol, state, 0, 4);
639
- break;
672
+ Base_1.register("dd.mm.YYYY", () => new Handler("."));
673
+ Base_1.register("dd/mm/YYYY", () => new Handler("/"));
674
+ Base_1.register("dd-mm-YYYY", () => new Handler("-"));
675
+ //# sourceMappingURL=dmy.js.map
676
+ });
677
+
678
+ const dmy$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(dmy);
679
+
680
+ var mdy = _commonjsHelpers.createCommonjsModule(function (module, exports) {
681
+ "use strict";
682
+ Object.defineProperty(exports, "__esModule", { value: true });
683
+
684
+
685
+ class Handler extends Base_1.Base {
686
+ constructor(seperator) {
687
+ super(seperator);
688
+ }
689
+ toString(data) {
690
+ return data.length == 10
691
+ ? [data.substring(5, 7), data.substring(8, 10), data.substring(0, 4)].join(this.seperator)
692
+ : "";
693
+ }
694
+ fromString(value) {
695
+ const result = value.length == 8 ? `${value.substring(4, 8)}-${value.substring(0, 2)}-${value.substring(2, 4)}` : undefined;
696
+ return index$3.dist.Date.is(result) ? result : undefined;
697
+ }
698
+ format(unformatted) {
699
+ let result = unformatted;
700
+ if (result.get(0, 1) > "1")
701
+ result = result.insert(0, "0");
702
+ if (result.value.length > 1)
703
+ result = result.insert(2, this.seperator);
704
+ if (result.get(3, 1) > (result.get(0, 2) == "02" ? "2" : "3"))
705
+ result = result.insert(3, "0");
706
+ if (result.value.length > 4)
707
+ result = result.insert(5, this.seperator);
708
+ return Object.assign(Object.assign({}, result), { type: "text", length: [0, 10], pattern: new RegExp(["^(0[1-9]|1[012])", "(0[1-9]|[12][0-9]|3[01])", "\\d{4}$"].join(this.seperator)) });
709
+ }
710
+ allowed(symbol, state) {
711
+ const result = state.selection.start == 1 && state.value[0] == "1"
712
+ ? symbol >= "0" && symbol <= "2"
713
+ : state.selection.start == 1 && state.value[0] == "0"
714
+ ? symbol >= "1" && symbol <= "9"
715
+ : state.selection.start == 3
716
+ ? symbol >= "0" && symbol <= "9" && this.validMonth(state.value[2] + symbol, state.value.substring(0, 2))
717
+ : state.selection.start == 7
718
+ ? symbol >= "0" &&
719
+ symbol <= "9" &&
720
+ this.validMonth(state.value.substring(2, 4), state.value.substring(0, 2), state.value.substring(4, 7) + symbol)
721
+ : state.selection.start < 8 && symbol >= "0" && symbol <= "9";
722
+ return result;
640
723
  }
641
- return result;
642
724
  }
643
- exports.validFormat = validFormat;
644
- //# sourceMappingURL=helper.js.map
725
+ Base_1.register("mm/dd/YYYY", () => new Handler("/"));
726
+ //# sourceMappingURL=mdy.js.map
645
727
  });
646
728
 
647
- const helper$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(helper);
729
+ const mdy$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(mdy);
730
+
731
+ var ymd = _commonjsHelpers.createCommonjsModule(function (module, exports) {
732
+ "use strict";
733
+ Object.defineProperty(exports, "__esModule", { value: true });
734
+
735
+
736
+ class Handler extends Base_1.Base {
737
+ constructor(seperator) {
738
+ super(seperator);
739
+ }
740
+ toString(data) {
741
+ return typeof data != "string" ? "" : data;
742
+ }
743
+ fromString(value) {
744
+ const result = value.length == 8 ? `${value.substring(0, 4)}-${value.substring(4, 6)}-${value.substring(6, 8)}` : undefined;
745
+ return index$3.dist.Date.is(result) ? result : undefined;
746
+ }
747
+ format(unformatted) {
748
+ let result = unformatted;
749
+ if (result.value.length > 3) {
750
+ result = result.insert(4, this.seperator);
751
+ if (result.get(5, 1) > "1")
752
+ result = result.insert(5, "0");
753
+ if (result.value.length > 6) {
754
+ result = result.insert(7, this.seperator);
755
+ if (result.get(8, 1) > this.daysInMonth(unformatted.value).toString().substring(0, 1))
756
+ result = result.insert(8, "0");
757
+ }
758
+ }
759
+ return Object.assign(Object.assign({}, result), { type: "text", length: [0, 10], pattern: new RegExp(["^\\d{4}", "(0[1-9]|1[012])", "(0[1-9]|[12][0-9]|3[01])$"].join(this.seperator)) });
760
+ }
761
+ allowed(symbol, state) {
762
+ const daysInMonth = this.daysInMonth(state.value);
763
+ return state.selection.start == 5 && state.value[4] == "0"
764
+ ? symbol >= "1" && symbol <= "9"
765
+ : state.selection.start == 5 && state.value[4] == "1"
766
+ ? symbol >= "0" && symbol <= "2"
767
+ : state.selection.start == 7 && state.value[6] == "0"
768
+ ? symbol >= "1" && symbol <= "9"
769
+ : state.selection.start == 7 && ((state.value[6] == "2" && daysInMonth < 30) || state.value[6] == "3")
770
+ ? symbol >= "0" && symbol <= daysInMonth.toString().substring(1)
771
+ : state.selection.start < 8 && symbol >= "0" && symbol <= "9";
772
+ }
773
+ }
774
+ Base_1.register("YYYY-mm-dd", () => new Handler("-"));
775
+ //# sourceMappingURL=ymd.js.map
776
+ });
777
+
778
+ const ymd$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(ymd);
648
779
 
649
780
  var date = _commonjsHelpers.createCommonjsModule(function (module, exports) {
650
781
  "use strict";
651
782
  Object.defineProperty(exports, "__esModule", { value: true });
652
- exports.formatDate = void 0;
653
783
 
654
784
 
655
785
 
786
+ //# sourceMappingURL=index.js.map
787
+ });
788
+
789
+ const index$2 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(date);
790
+
791
+ var dateTime = _commonjsHelpers.createCommonjsModule(function (module, exports) {
792
+ "use strict";
793
+ Object.defineProperty(exports, "__esModule", { value: true });
794
+ exports.formatDate = void 0;
795
+
656
796
 
657
797
  class Handler {
658
- constructor(formatting) {
659
- this.formatting = DateFormat_1.DateFormat.is(formatting) ? formatting : DateFormat_1.DateFormat.fromLocale(formatting);
660
- this.locale = index$3.dist.Locale.is(formatting)
661
- ? formatting
662
- : DateFormat_1.DateFormat.is(formatting)
663
- ? DateFormat_1.DateFormat.toLocale(formatting)
664
- : undefined;
665
- }
666
798
  toString(data) {
667
- return typeof data != "string" ? "" : index$3.dist.Date.is(data) ? index$3.dist.Date.localize(data, this.locale) : data;
799
+ return typeof data == "string" ? data : "";
668
800
  }
669
801
  fromString(value) {
670
- let result;
671
- switch (this.formatting) {
672
- case "dd/mm/YYYY":
673
- case "dd.mm.YYYY":
674
- result = `${value.substring(6, 10)}-${value.substring(3, 5)}-${value.substring(0, 2)}`;
675
- break;
676
- case "mm/dd/YYYY":
677
- result = `${value.substring(6, 10)}-${value.substring(0, 2)}-${value.substring(3, 5)}`;
678
- break;
679
- default:
680
- result = value;
681
- break;
682
- }
683
- return index$3.dist.Date.is(result) ? result : undefined;
802
+ let result = value.replace(" ", "T");
803
+ const fillerDate = "0000-01-01T00:00:00.000Z";
804
+ if (result === null || result === void 0 ? void 0 : result.match(/-\d$/))
805
+ result = result.substring(0, result.length - 1) + "0" + result.substring(result.length - 1, result.length);
806
+ result = !result.match(/^\d{4}-(0[1-9]|1[012])/)
807
+ ? undefined
808
+ : result + fillerDate.substring(result.length, fillerDate.length);
809
+ return index$3.dist.DateTime.is(result) ? result : undefined;
684
810
  }
685
811
  format(unformated) {
686
- let result;
687
- switch (this.formatting) {
688
- case "dd/mm/YYYY":
689
- result = Object.assign(Object.assign({}, formatDate(unformated, "dd/mm/YYYY")), { type: "text", length: [0, 10], pattern: /^([0-2][0-9]|(3)[0-1])(\/)(((0)[0-9])|((1)[0-2]))(\/)\d{4}$/ });
690
- break;
691
- case "dd.mm.YYYY":
692
- result = Object.assign(Object.assign({}, formatDate(unformated, "dd.mm.YYYY")), { type: "text", length: [0, 10], pattern: /^([0-2][0-9]|(3)[0-1])(\.)(((0)[0-9])|((1)[0-2]))(\.)\d{4}$/ });
693
- break;
694
- case "mm/dd/YYYY":
695
- result = Object.assign(Object.assign({}, formatDate(unformated, "mm/dd/YYYY")), { type: "text", length: [0, 10], pattern: /^(((0)[0-9])|((1)[0-2]))(\/)([0-2][0-9]|(3)[0-1])(\/)\d{4}$/ });
696
- break;
697
- default:
698
- result = Object.assign(Object.assign({}, formatDate(unformated)), { type: "text", length: [0, 10], pattern: /^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/ });
699
- break;
700
- }
701
- return result;
812
+ let result = formatDate(unformated);
813
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[\d:.-]$/))
814
+ result = result.insert(10, " ");
815
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 3$/))
816
+ result = result.replace(11, 12, "23:");
817
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [45]$/))
818
+ result = result.insert(11, "23:");
819
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [6-9]$/))
820
+ result = result.insert(11, "23:5");
821
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 24$/))
822
+ result = result.replace(10, 13, "00:");
823
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 25$/))
824
+ result = result.insert(12, "3:");
825
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 2[6-9]$/))
826
+ result = result.insert(12, "3:5").append(":");
827
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])\d[\s\S]$/))
828
+ result = result.insert(13, ":");
829
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[6-9]$/))
830
+ result = result.insert(14, "5");
831
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d\d$/))
832
+ result = result.insert(16, ":");
833
+ if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d:[6-9]$/))
834
+ result = result.insert(17, "5");
835
+ return Object.assign(Object.assign({}, result), { type: "text", length: [0, 19], pattern: /^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])(:[0-5]\d){2}$/ });
702
836
  }
703
837
  unformat(formated) {
704
838
  return formated;
705
839
  }
706
840
  allowed(symbol, state) {
707
- var _a;
708
- return helper.validFormat(symbol, state, (_a = this.formatting) !== null && _a !== void 0 ? _a : "YYYY-mm-dd");
841
+ return (state.value.length < 19 &&
842
+ ((symbol >= "0" && symbol <= "9") || symbol == "-" || symbol == ":" || symbol == "." || symbol == " "));
709
843
  }
710
844
  }
711
- base.add("date", (argument) => new Handler(argument && argument.length > 0 ? argument[0] : undefined));
845
+ base.add("date-time", () => new Handler());
712
846
  function formatDate(unformated, format) {
713
847
  let result = unformated;
714
848
  switch (format) {
@@ -739,7 +873,7 @@ function formatDate(unformated, format) {
739
873
  break;
740
874
  default:
741
875
  if (unformated.value.length == 10) {
742
- if (!validDate(result.value))
876
+ if (!validDate(result.value)) {
743
877
  result = result.replace(0, 10, validDate(result.value.substring(0, 8) + "31")
744
878
  ? result.value.substring(0, 8) + "31"
745
879
  : validDate(result.value.substring(0, 8) + "30")
@@ -749,7 +883,9 @@ function formatDate(unformated, format) {
749
883
  : validDate(result.value.substring(0, 8) + "28")
750
884
  ? result.value.substring(0, 8) + "28"
751
885
  : result.value);
752
- break;
886
+ break;
887
+ }
888
+ return unformated;
753
889
  }
754
890
  }
755
891
  return result;
@@ -759,29 +895,24 @@ function validDate(date, format) {
759
895
  let year;
760
896
  let month;
761
897
  let day;
762
- let result;
763
898
  switch (format) {
764
899
  case "dd/mm/YYYY":
765
900
  case "dd.mm.YYYY":
766
901
  year = parseInt(date.substring(6, 10));
767
902
  month = parseInt(date.substring(3, 5));
768
903
  day = parseInt(date.substring(0, 2));
769
- result = year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
770
- break;
904
+ return year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
771
905
  case "mm/dd/YYYY":
772
906
  year = parseInt(date.substring(6, 10));
773
907
  month = parseInt(date.substring(0, 2));
774
908
  day = parseInt(date.substring(3, 5));
775
- result = year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
776
- break;
909
+ return year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
777
910
  default:
778
911
  year = parseInt(date.substring(0, 4));
779
912
  month = parseInt(date.substring(5, 7));
780
913
  day = parseInt(date.substring(8, 10));
781
- result = year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
782
- break;
914
+ return year && month && day ? day > 0 && daysPerMonth(year, month) >= day : false;
783
915
  }
784
- return result;
785
916
  }
786
917
  function daysPerMonth(year, month) {
787
918
  let result;
@@ -808,66 +939,6 @@ function daysPerMonth(year, month) {
808
939
  }
809
940
  return result;
810
941
  }
811
- //# sourceMappingURL=index.js.map
812
- });
813
-
814
- const index$2 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(date);
815
-
816
- var dateTime = _commonjsHelpers.createCommonjsModule(function (module, exports) {
817
- "use strict";
818
- Object.defineProperty(exports, "__esModule", { value: true });
819
-
820
-
821
-
822
- class Handler {
823
- toString(data) {
824
- return typeof data == "string" ? data : "";
825
- }
826
- fromString(value) {
827
- let result = value.replace(" ", "T");
828
- const fillerDate = "0000-01-01T00:00:00.000Z";
829
- if (result === null || result === void 0 ? void 0 : result.match(/-\d$/))
830
- result = result.substring(0, result.length - 1) + "0" + result.substring(result.length - 1, result.length);
831
- result = !result.match(/^\d{4}-(0[1-9]|1[012])/)
832
- ? undefined
833
- : result + fillerDate.substring(result.length, fillerDate.length);
834
- return index$3.dist.DateTime.is(result) ? result : undefined;
835
- }
836
- format(unformated) {
837
- let result = date.formatDate(unformated);
838
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[\d:.-]$/))
839
- result = result.insert(10, " ");
840
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 3$/))
841
- result = result.replace(11, 12, "23:");
842
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [45]$/))
843
- result = result.insert(11, "23:");
844
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) [6-9]$/))
845
- result = result.insert(11, "23:5");
846
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 24$/))
847
- result = result.replace(10, 13, "00:");
848
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 25$/))
849
- result = result.insert(12, "3:");
850
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) 2[6-9]$/))
851
- result = result.insert(12, "3:5").append(":");
852
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])\d[\s\S]$/))
853
- result = result.insert(13, ":");
854
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[6-9]$/))
855
- result = result.insert(14, "5");
856
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d\d$/))
857
- result = result.insert(16, ":");
858
- if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3]):[0-5]\d:[6-9]$/))
859
- result = result.insert(17, "5");
860
- return Object.assign(Object.assign({}, result), { type: "text", length: [0, 19], pattern: /^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([0-1]\d|2[0-3])(:[0-5]\d){2}$/ });
861
- }
862
- unformat(formated) {
863
- return formated;
864
- }
865
- allowed(symbol, state) {
866
- return (state.value.length < 19 &&
867
- ((symbol >= "0" && symbol <= "9") || symbol == "-" || symbol == ":" || symbol == "." || symbol == " "));
868
- }
869
- }
870
- base.add("date-time", () => new Handler());
871
942
  //# sourceMappingURL=date-time.js.map
872
943
  });
873
944
 
@@ -3,7 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const App = require('./App-ffc56e72.js');
6
- const index = require('./index-de5d1ee1.js');
6
+ const index = require('./index-40d009d5.js');
7
+ const GoogleFont = require('./GoogleFont-6c4f0da1.js');
7
8
  require('./index-138c41c2.js');
8
9
 
9
10
  var Hex;
@@ -381,3 +382,9 @@ exports.ClientIdentifier = index.ClientIdentifier;
381
382
  exports.Message = index.Message;
382
383
  exports.Notice = index.Notice;
383
384
  exports.Trigger = index.Trigger;
385
+ Object.defineProperty(exports, 'GoogleFont', {
386
+ enumerable: true,
387
+ get: function () {
388
+ return GoogleFont.GoogleFont;
389
+ }
390
+ });
@@ -30,7 +30,7 @@ const defineCustomElements = (win, options) => {
30
30
  if (typeof window === 'undefined') return Promise.resolve();
31
31
  return patchEsm().then(() => {
32
32
  appGlobals.globalScripts();
33
- return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"]]]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-picker.cjs",[[1,"smoothly-picker",{"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"optionStyle":[8,"option-style"],"options":[16],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet.cjs",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon.cjs",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025]}]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537]}]]],["smoothly-menu-options.cjs",[[1,"smoothly-menu-options",{"emptyMenuLabel":[1025,"empty-menu-label"],"maxMenuHeight":[1,"max-menu-height"],"order":[4],"optionStyle":[8,"option-style"],"options":[1040],"resetHighlightOnOptionsChange":[1028,"reset-highlight-on-options-change"],"filteredOptions":[32],"highlightIndex":[32],"moveHighlight":[64],"setHighlight":[64],"getHighlighted":[64],"filterOptions":[64]},[[0,"optionHover","optionHoverHandler"]]]]],["smoothly-display.cjs",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time.cjs",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516]}]]],["smoothly-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"]}]]],["smoothly-input.cjs",[[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
33
+ return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]]]],["smoothly-picker.cjs",[[1,"smoothly-picker",{"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"optionStyle":[8,"option-style"],"options":[16],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet.cjs",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon.cjs",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025]},[[0,"dateSet","dateSetHandler"]]]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537]}]]],["smoothly-menu-options.cjs",[[1,"smoothly-menu-options",{"emptyMenuLabel":[1025,"empty-menu-label"],"maxMenuHeight":[1,"max-menu-height"],"order":[4],"optionStyle":[8,"option-style"],"options":[1040],"resetHighlightOnOptionsChange":[1028,"reset-highlight-on-options-change"],"filteredOptions":[32],"highlightIndex":[32],"moveHighlight":[64],"setHighlight":[64],"getHighlighted":[64],"filterOptions":[64]},[[0,"optionHover","optionHoverHandler"]]]]],["smoothly-display.cjs",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time.cjs",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516]}]]],["smoothly-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}]]],["smoothly-input.cjs",[[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
34
34
  });
35
35
  };
36
36