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