@haiilo/catalyst 6.2.2 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/catalyst/catalyst.css +57 -23
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +2 -2
  5. package/dist/catalyst/index.esm.js.map +1 -1
  6. package/dist/catalyst/p-90e9d18f.entry.js +10 -0
  7. package/dist/catalyst/p-90e9d18f.entry.js.map +1 -0
  8. package/dist/catalyst/p-dd8ae83e.js +2 -0
  9. package/dist/catalyst/p-dd8ae83e.js.map +1 -0
  10. package/dist/catalyst/scss/_mixins.scss +2 -1
  11. package/dist/catalyst/scss/_variables.scss +1 -8
  12. package/dist/catalyst/scss/core/_nav.scss +2 -3
  13. package/dist/catalyst/scss/utils/_layout.scss +7 -3
  14. package/dist/catalyst/scss/utils/_z-index.mixins.scss +7 -0
  15. package/dist/catalyst/scss/vendor/_flatpickr.scss +62 -14
  16. package/dist/cjs/{cat-alert_25.cjs.entry.js → cat-alert_26.cjs.entry.js} +7190 -8001
  17. package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -0
  18. package/dist/cjs/catalyst.cjs.js +1 -1
  19. package/dist/cjs/index.cjs.js +28 -8
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/of-d9fa1990.js +1435 -0
  23. package/dist/cjs/of-d9fa1990.js.map +1 -0
  24. package/dist/collection/collection-manifest.json +1 -0
  25. package/dist/collection/components/cat-button/cat-button.css +21 -5
  26. package/dist/collection/components/cat-button/cat-button.js +18 -2
  27. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  28. package/dist/collection/components/cat-button/cat-button.spec.js +3 -1
  29. package/dist/collection/components/cat-button/cat-button.spec.js.map +1 -1
  30. package/dist/collection/components/cat-button-group/cat-button-group.js +4 -0
  31. package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -1
  32. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +41 -20
  33. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
  34. package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +22 -0
  35. package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -0
  36. package/dist/collection/components/cat-datepicker/cat-datepicker.js +53 -51
  37. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
  38. package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
  39. package/dist/collection/components/cat-datepicker/cat-datepicker.mode.js +2 -0
  40. package/dist/collection/components/cat-datepicker/cat-datepicker.mode.js.map +1 -0
  41. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.css +1146 -0
  42. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js +10 -0
  43. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js.map +1 -0
  44. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +236 -0
  45. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -0
  46. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js +20 -0
  47. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js.map +1 -0
  48. package/dist/collection/components/cat-dropdown/cat-dropdown.css +34 -11
  49. package/dist/collection/components/cat-form-group/cat-form-group.js +6 -6
  50. package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
  51. package/dist/collection/components/cat-input/cat-input.css +8 -0
  52. package/dist/collection/components/cat-input/cat-input.js +6 -5
  53. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  54. package/dist/collection/components/cat-select/cat-select.css +1 -1
  55. package/dist/collection/components/cat-select/cat-select.js +9 -9
  56. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  57. package/dist/collection/components/cat-select/connectors.js +20 -0
  58. package/dist/collection/components/cat-select/connectors.js.map +1 -0
  59. package/dist/collection/components/cat-tab/cat-tab.js +16 -0
  60. package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
  61. package/dist/collection/components/cat-tabs/cat-tabs.css +24 -2
  62. package/dist/collection/components/cat-tabs/cat-tabs.js +3 -3
  63. package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
  64. package/dist/collection/components/cat-textarea/cat-textarea.css +4 -0
  65. package/dist/collection/components/cat-textarea/cat-textarea.js +4 -3
  66. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  67. package/dist/collection/components/cat-tooltip/cat-tooltip.css +1 -1
  68. package/dist/collection/index.js +4 -3
  69. package/dist/collection/index.js.map +1 -1
  70. package/dist/collection/scss/_mixins.scss +2 -1
  71. package/dist/collection/scss/_variables.scss +1 -8
  72. package/dist/collection/scss/core/_nav.scss +2 -3
  73. package/dist/collection/scss/utils/_layout.scss +7 -3
  74. package/dist/collection/scss/utils/_z-index.mixins.scss +7 -0
  75. package/dist/collection/scss/vendor/_flatpickr.scss +62 -14
  76. package/dist/components/cat-button-group.js.map +1 -1
  77. package/dist/components/cat-button2.js +5 -3
  78. package/dist/components/cat-button2.js.map +1 -1
  79. package/dist/components/cat-datepicker-inline.d.ts +11 -0
  80. package/dist/components/cat-datepicker-inline.js +100 -0
  81. package/dist/components/cat-datepicker-inline.js.map +1 -0
  82. package/dist/components/cat-datepicker.js +39 -2770
  83. package/dist/components/cat-datepicker.js.map +1 -1
  84. package/dist/components/cat-datepicker.locale.js +2768 -0
  85. package/dist/components/cat-datepicker.locale.js.map +1 -0
  86. package/dist/components/cat-dropdown2.js +1 -1
  87. package/dist/components/cat-dropdown2.js.map +1 -1
  88. package/dist/components/cat-form-group.js +6 -6
  89. package/dist/components/cat-form-group.js.map +1 -1
  90. package/dist/components/cat-input2.js +7 -6
  91. package/dist/components/cat-input2.js.map +1 -1
  92. package/dist/components/cat-scrollable2.js +2 -910
  93. package/dist/components/cat-scrollable2.js.map +1 -1
  94. package/dist/components/cat-select-demo.js +4 -2
  95. package/dist/components/cat-select-demo.js.map +1 -1
  96. package/dist/components/cat-select2.js +14 -17
  97. package/dist/components/cat-select2.js.map +1 -1
  98. package/dist/components/cat-tab.js +3 -1
  99. package/dist/components/cat-tab.js.map +1 -1
  100. package/dist/components/cat-tabs.js +4 -4
  101. package/dist/components/cat-tabs.js.map +1 -1
  102. package/dist/components/cat-textarea.js +5 -4
  103. package/dist/components/cat-textarea.js.map +1 -1
  104. package/dist/components/cat-tooltip.js +1 -1
  105. package/dist/components/cat-tooltip.js.map +1 -1
  106. package/dist/components/from.js +912 -0
  107. package/dist/components/from.js.map +1 -0
  108. package/dist/components/index.js +21 -1
  109. package/dist/components/index.js.map +1 -1
  110. package/dist/components/of.js +10 -0
  111. package/dist/components/of.js.map +1 -0
  112. package/dist/esm/{cat-alert_25.entry.js → cat-alert_26.entry.js} +7199 -8011
  113. package/dist/esm/cat-alert_26.entry.js.map +1 -0
  114. package/dist/esm/catalyst.js +1 -1
  115. package/dist/esm/index.js +22 -3
  116. package/dist/esm/index.js.map +1 -1
  117. package/dist/esm/loader.js +1 -1
  118. package/dist/esm/of-5472d434.js +1408 -0
  119. package/dist/esm/of-5472d434.js.map +1 -0
  120. package/dist/types/components/cat-button/cat-button.d.ts +6 -0
  121. package/dist/types/components/cat-button-group/cat-button-group.d.ts +4 -0
  122. package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +13 -1
  123. package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +6 -2
  124. package/dist/types/components/cat-datepicker/cat-datepicker.format.d.ts +2 -0
  125. package/dist/types/components/cat-datepicker/cat-datepicker.locale.d.ts +2 -2
  126. package/dist/types/components/cat-datepicker/cat-datepicker.mode.d.ts +1 -0
  127. package/dist/types/components/cat-datepicker-inline/cat-datepicker-inline.d.ts +43 -0
  128. package/dist/types/components/cat-form-group/cat-form-group.d.ts +2 -2
  129. package/dist/types/components/cat-input/cat-input.d.ts +1 -1
  130. package/dist/types/components/cat-select/cat-select.d.ts +4 -4
  131. package/dist/types/components/cat-select/connectors.d.ts +8 -0
  132. package/dist/types/components/cat-tab/cat-tab.d.ts +6 -0
  133. package/dist/types/components/cat-tabs/cat-tabs.d.ts +1 -1
  134. package/dist/types/components/cat-textarea/cat-textarea.d.ts +1 -1
  135. package/dist/types/components.d.ts +113 -2
  136. package/dist/types/index.d.ts +4 -3
  137. package/package.json +3 -3
  138. package/dist/catalyst/p-42e63e08.js +0 -2
  139. package/dist/catalyst/p-42e63e08.js.map +0 -1
  140. package/dist/catalyst/p-cd1f4492.entry.js +0 -10
  141. package/dist/catalyst/p-cd1f4492.entry.js.map +0 -1
  142. package/dist/cjs/cat-alert_25.cjs.entry.js.map +0 -1
  143. package/dist/cjs/cat-icon-registry-5c292d3f.js +0 -502
  144. package/dist/cjs/cat-icon-registry-5c292d3f.js.map +0 -1
  145. package/dist/esm/cat-alert_25.entry.js.map +0 -1
  146. package/dist/esm/cat-icon-registry-4fc73466.js +0 -494
  147. package/dist/esm/cat-icon-registry-4fc73466.js.map +0 -1
@@ -6,12 +6,14 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { Breakpoint } from "./utils/breakpoints";
9
+ import { CatDatepickerMode } from "./components/cat-datepicker/cat-datepicker.mode";
9
10
  import { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
10
11
  import { Placement } from "@floating-ui/dom";
11
12
  import { InputType } from "./components/cat-input/input-type";
12
13
  import { CatSelectConnector, CatSelectMultipleTaggingValue, CatSelectTaggingValue, Item } from "./components/cat-select/cat-select";
13
14
  import { Observable } from "rxjs";
14
15
  export { Breakpoint } from "./utils/breakpoints";
16
+ export { CatDatepickerMode } from "./components/cat-datepicker/cat-datepicker.mode";
15
17
  export { ErrorMap } from "./components/cat-form-hint/cat-form-hint";
16
18
  export { Placement } from "@floating-ui/dom";
17
19
  export { InputType } from "./components/cat-input/input-type";
@@ -169,6 +171,10 @@ export namespace Components {
169
171
  * Attributes that will be added to the native HTML button element
170
172
  */
171
173
  "nativeAttributes"?: { [key: string]: string };
174
+ /**
175
+ * Attributes that will be added to the native HTML button content element
176
+ */
177
+ "nativeContentAttributes"?: { [key: string]: string };
172
178
  /**
173
179
  * Disables ellipse overflowing button content.
174
180
  */
@@ -202,6 +208,10 @@ export namespace Components {
202
208
  */
203
209
  "variant": 'filled' | 'outlined' | 'text';
204
210
  }
211
+ /**
212
+ * Button groups are designed to bring together button controls that are of a
213
+ * similar nature. For example text formatting controls.
214
+ */
205
215
  interface CatButtonGroup {
206
216
  /**
207
217
  * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
@@ -350,7 +360,7 @@ export namespace Components {
350
360
  /**
351
361
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
352
362
  */
353
- "mode": 'date' | 'time' | 'datetime' | 'daterange' | 'week';
363
+ "mode": CatDatepickerMode;
354
364
  /**
355
365
  * The name of the form control. Submitted with the form as part of a name/value pair.
356
366
  */
@@ -392,6 +402,36 @@ export namespace Components {
392
402
  */
393
403
  "value"?: string;
394
404
  }
405
+ interface CatDatepickerInline {
406
+ /**
407
+ * Whether the input is disabled.
408
+ */
409
+ "disabled": boolean;
410
+ /**
411
+ * A maximum value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z.
412
+ */
413
+ "max"?: string;
414
+ /**
415
+ * A minimum value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z.
416
+ */
417
+ "min"?: string;
418
+ /**
419
+ * The mode of the datepicker, to select a date, time, both, a date range or a week number.
420
+ */
421
+ "mode": CatDatepickerMode;
422
+ /**
423
+ * The value is not editable.
424
+ */
425
+ "readonly": boolean;
426
+ /**
427
+ * The step size to use when changing the time.
428
+ */
429
+ "step": number;
430
+ /**
431
+ * The value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z or as a week number string.
432
+ */
433
+ "value"?: string;
434
+ }
395
435
  interface CatDropdown {
396
436
  /**
397
437
  * Closes the dropdown.
@@ -896,6 +936,10 @@ export namespace Components {
896
936
  * The label of the tab.
897
937
  */
898
938
  "label": string;
939
+ /**
940
+ * Attributes that will be added to the native HTML button element
941
+ */
942
+ "nativeAttributes"?: { [key: string]: string };
899
943
  /**
900
944
  * A destination to link to, rendered in the href attribute of a link.
901
945
  */
@@ -1121,6 +1165,10 @@ export interface CatDatepickerCustomEvent<T> extends CustomEvent<T> {
1121
1165
  detail: T;
1122
1166
  target: HTMLCatDatepickerElement;
1123
1167
  }
1168
+ export interface CatDatepickerInlineCustomEvent<T> extends CustomEvent<T> {
1169
+ detail: T;
1170
+ target: HTMLCatDatepickerInlineElement;
1171
+ }
1124
1172
  export interface CatDropdownCustomEvent<T> extends CustomEvent<T> {
1125
1173
  detail: T;
1126
1174
  target: HTMLCatDropdownElement;
@@ -1201,6 +1249,10 @@ declare global {
1201
1249
  prototype: HTMLCatButtonElement;
1202
1250
  new (): HTMLCatButtonElement;
1203
1251
  };
1252
+ /**
1253
+ * Button groups are designed to bring together button controls that are of a
1254
+ * similar nature. For example text formatting controls.
1255
+ */
1204
1256
  interface HTMLCatButtonGroupElement extends Components.CatButtonGroup, HTMLStencilElement {
1205
1257
  }
1206
1258
  var HTMLCatButtonGroupElement: {
@@ -1233,6 +1285,12 @@ declare global {
1233
1285
  prototype: HTMLCatDatepickerElement;
1234
1286
  new (): HTMLCatDatepickerElement;
1235
1287
  };
1288
+ interface HTMLCatDatepickerInlineElement extends Components.CatDatepickerInline, HTMLStencilElement {
1289
+ }
1290
+ var HTMLCatDatepickerInlineElement: {
1291
+ prototype: HTMLCatDatepickerInlineElement;
1292
+ new (): HTMLCatDatepickerInlineElement;
1293
+ };
1236
1294
  interface HTMLCatDropdownElement extends Components.CatDropdown, HTMLStencilElement {
1237
1295
  }
1238
1296
  var HTMLCatDropdownElement: {
@@ -1397,6 +1455,7 @@ declare global {
1397
1455
  "cat-card": HTMLCatCardElement;
1398
1456
  "cat-checkbox": HTMLCatCheckboxElement;
1399
1457
  "cat-datepicker": HTMLCatDatepickerElement;
1458
+ "cat-datepicker-inline": HTMLCatDatepickerInlineElement;
1400
1459
  "cat-dropdown": HTMLCatDropdownElement;
1401
1460
  "cat-form-group": HTMLCatFormGroupElement;
1402
1461
  "cat-icon": HTMLCatIconElement;
@@ -1555,6 +1614,10 @@ declare namespace LocalJSX {
1555
1614
  * Attributes that will be added to the native HTML button element
1556
1615
  */
1557
1616
  "nativeAttributes"?: { [key: string]: string };
1617
+ /**
1618
+ * Attributes that will be added to the native HTML button content element
1619
+ */
1620
+ "nativeContentAttributes"?: { [key: string]: string };
1558
1621
  /**
1559
1622
  * Disables ellipse overflowing button content.
1560
1623
  */
@@ -1600,6 +1663,10 @@ declare namespace LocalJSX {
1600
1663
  */
1601
1664
  "variant"?: 'filled' | 'outlined' | 'text';
1602
1665
  }
1666
+ /**
1667
+ * Button groups are designed to bring together button controls that are of a
1668
+ * similar nature. For example text formatting controls.
1669
+ */
1603
1670
  interface CatButtonGroup {
1604
1671
  /**
1605
1672
  * Adds an accessible label for the button group that it is only shown in assistive technologies, like screen readers.
@@ -1742,7 +1809,7 @@ declare namespace LocalJSX {
1742
1809
  /**
1743
1810
  * The mode of the datepicker, to select a date, time, both, a date range or a week number.
1744
1811
  */
1745
- "mode"?: 'date' | 'time' | 'datetime' | 'daterange' | 'week';
1812
+ "mode"?: CatDatepickerMode;
1746
1813
  /**
1747
1814
  * The name of the form control. Submitted with the form as part of a name/value pair.
1748
1815
  */
@@ -1796,6 +1863,40 @@ declare namespace LocalJSX {
1796
1863
  */
1797
1864
  "value"?: string;
1798
1865
  }
1866
+ interface CatDatepickerInline {
1867
+ /**
1868
+ * Whether the input is disabled.
1869
+ */
1870
+ "disabled"?: boolean;
1871
+ /**
1872
+ * A maximum value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z.
1873
+ */
1874
+ "max"?: string;
1875
+ /**
1876
+ * A minimum value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z.
1877
+ */
1878
+ "min"?: string;
1879
+ /**
1880
+ * The mode of the datepicker, to select a date, time, both, a date range or a week number.
1881
+ */
1882
+ "mode"?: CatDatepickerMode;
1883
+ /**
1884
+ * Emitted when the value is changed.
1885
+ */
1886
+ "onCatChange"?: (event: CatDatepickerInlineCustomEvent<string>) => void;
1887
+ /**
1888
+ * The value is not editable.
1889
+ */
1890
+ "readonly"?: boolean;
1891
+ /**
1892
+ * The step size to use when changing the time.
1893
+ */
1894
+ "step"?: number;
1895
+ /**
1896
+ * The value as ISO Date string, e.g. 2017-03-04T01:23:43.000Z or as a week number string.
1897
+ */
1898
+ "value"?: string;
1899
+ }
1799
1900
  interface CatDropdown {
1800
1901
  /**
1801
1902
  * Do not close the dropdown on outside clicks.
@@ -2349,6 +2450,10 @@ declare namespace LocalJSX {
2349
2450
  * The label of the tab.
2350
2451
  */
2351
2452
  "label"?: string;
2453
+ /**
2454
+ * Attributes that will be added to the native HTML button element
2455
+ */
2456
+ "nativeAttributes"?: { [key: string]: string };
2352
2457
  /**
2353
2458
  * Emitted when tab is clicked.
2354
2459
  */
@@ -2576,6 +2681,7 @@ declare namespace LocalJSX {
2576
2681
  "cat-card": CatCard;
2577
2682
  "cat-checkbox": CatCheckbox;
2578
2683
  "cat-datepicker": CatDatepicker;
2684
+ "cat-datepicker-inline": CatDatepickerInline;
2579
2685
  "cat-dropdown": CatDropdown;
2580
2686
  "cat-form-group": CatFormGroup;
2581
2687
  "cat-icon": CatIcon;
@@ -2618,6 +2724,10 @@ declare module "@stencil/core" {
2618
2724
  * once per view for main call-to-action.
2619
2725
  */
2620
2726
  "cat-button": LocalJSX.CatButton & JSXBase.HTMLAttributes<HTMLCatButtonElement>;
2727
+ /**
2728
+ * Button groups are designed to bring together button controls that are of a
2729
+ * similar nature. For example text formatting controls.
2730
+ */
2621
2731
  "cat-button-group": LocalJSX.CatButtonGroup & JSXBase.HTMLAttributes<HTMLCatButtonGroupElement>;
2622
2732
  /**
2623
2733
  * Cards are surfaces that display content and actions on a single topic. They
@@ -2630,6 +2740,7 @@ declare module "@stencil/core" {
2630
2740
  */
2631
2741
  "cat-checkbox": LocalJSX.CatCheckbox & JSXBase.HTMLAttributes<HTMLCatCheckboxElement>;
2632
2742
  "cat-datepicker": LocalJSX.CatDatepicker & JSXBase.HTMLAttributes<HTMLCatDatepickerElement>;
2743
+ "cat-datepicker-inline": LocalJSX.CatDatepickerInline & JSXBase.HTMLAttributes<HTMLCatDatepickerInlineElement>;
2633
2744
  "cat-dropdown": LocalJSX.CatDropdown & JSXBase.HTMLAttributes<HTMLCatDropdownElement>;
2634
2745
  "cat-form-group": LocalJSX.CatFormGroup & JSXBase.HTMLAttributes<HTMLCatFormGroupElement>;
2635
2746
  /**
@@ -1,5 +1,6 @@
1
1
  export { Components, JSX } from './components';
2
- export { catI18nRegistry, CatI18nRegistry } from './components/cat-i18n/cat-i18n-registry';
3
- export { catIconRegistry, CatIconRegistry } from './components/cat-icon/cat-icon-registry';
4
- export { catNotificationService, CatNotificationService, ToastOptions } from './components/cat-notification/cat-notification';
2
+ export { CatI18nRegistry, catI18nRegistry } from './components/cat-i18n/cat-i18n-registry';
3
+ export { CatIconRegistry, catIconRegistry } from './components/cat-icon/cat-icon-registry';
4
+ export { CatNotificationService, ToastOptions, catNotificationService } from './components/cat-notification/cat-notification';
5
5
  export { CatSelectConnector, CatSelectMultipleTaggingValue, CatSelectTaggingValue, Item, Page, RenderInfo } from './components/cat-select/cat-select';
6
+ export { stringArrayConnector } from './components/cat-select/connectors';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst",
3
- "version": "6.2.2",
3
+ "version": "6.3.0",
4
4
  "description": "Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "sanitize.css": "13.0.0",
39
39
  "tabbable": "6.2.0",
40
40
  "toastify-js": "1.12.0",
41
- "@haiilo/catalyst-tokens": "6.2.2"
41
+ "@haiilo/catalyst-tokens": "6.3.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.19.6",
@@ -49,7 +49,7 @@
49
49
  "@stencil/vue-output-target": "^0.8.6",
50
50
  "@types/autosize": "^4.0.1",
51
51
  "@types/jest": "^27.5.2",
52
- "@types/node": "^16.18.11",
52
+ "@types/node": "^18.16.0",
53
53
  "@types/toastify-js": "^1.11.1",
54
54
  "@typescript-eslint/eslint-plugin": "^5.59.0",
55
55
  "@typescript-eslint/parser": "^5.59.0",
@@ -1,2 +0,0 @@
1
- var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function n(e,n,o){return o={path:n,exports:{},require:function(e,n){return t()}},e(o,o.exports),o.exports}function t(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var o=n((function(n){(function(e,t){if(n.exports){n.exports=t()}else{e.log=t()}})(e,(function(){var e=function(){};var n="undefined";var t=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent);var o=["trace","debug","info","warn","error"];function i(e,n){var t=e[n];if(typeof t.bind==="function"){return t.bind(e)}else{try{return Function.prototype.bind.call(t,e)}catch(n){return function(){return Function.prototype.apply.apply(t,[e,arguments])}}}}function s(){if(console.log){if(console.log.apply){console.log.apply(console,arguments)}else{Function.prototype.apply.apply(console.log,[console,arguments])}}if(console.trace)console.trace()}function r(o){if(o==="debug"){o="log"}if(typeof console===n){return false}else if(o==="trace"&&t){return s}else if(console[o]!==undefined){return i(console,o)}else if(console.log!==undefined){return i(console,"log")}else{return e}}function a(n,t){for(var i=0;i<o.length;i++){var s=o[i];this[s]=i<n?e:this.methodFactory(s,n,t)}this.log=this.debug}function l(e,t,o){return function(){if(typeof console!==n){a.call(this,t,o);this[e].apply(this,arguments)}}}function c(e,n,t){return r(e)||l.apply(this,arguments)}function d(e,t,i){var s=this;var r;t=t==null?"WARN":t;var l="loglevel";if(typeof e==="string"){l+=":"+e}else if(typeof e==="symbol"){l=undefined}function d(e){var t=(o[e]||"silent").toUpperCase();if(typeof window===n||!l)return;try{window.localStorage[l]=t;return}catch(e){}try{window.document.cookie=encodeURIComponent(l)+"="+t+";"}catch(e){}}function u(){var e;if(typeof window===n||!l)return;try{e=window.localStorage[l]}catch(e){}if(typeof e===n){try{var t=window.document.cookie;var o=t.indexOf(encodeURIComponent(l)+"=");if(o!==-1){e=/^([^;]+)/.exec(t.slice(o))[1]}}catch(e){}}if(s.levels[e]===undefined){e=undefined}return e}function w(){if(typeof window===n||!l)return;try{window.localStorage.removeItem(l);return}catch(e){}try{window.document.cookie=encodeURIComponent(l)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}s.name=e;s.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5};s.methodFactory=i||c;s.getLevel=function(){return r};s.setLevel=function(t,o){if(typeof t==="string"&&s.levels[t.toUpperCase()]!==undefined){t=s.levels[t.toUpperCase()]}if(typeof t==="number"&&t>=0&&t<=s.levels.SILENT){r=t;if(o!==false){d(t)}a.call(s,t,e);if(typeof console===n&&t<s.levels.SILENT){return"No console available for logging"}}else{throw"log.setLevel() called with invalid level: "+t}};s.setDefaultLevel=function(e){t=e;if(!u()){s.setLevel(e,false)}};s.resetLevel=function(){s.setLevel(t,false);w()};s.enableAll=function(e){s.setLevel(s.levels.TRACE,e)};s.disableAll=function(e){s.setLevel(s.levels.SILENT,e)};var f=u();if(f==null){f=t}s.setLevel(f,false)}var u=new d;var w={};u.getLogger=function e(n){if(typeof n!=="symbol"&&typeof n!=="string"||n===""){throw new TypeError("You must supply a name when creating a logger.")}var t=w[n];if(!t){t=w[n]=new d(n,u.getLevel(),u.methodFactory)}return t};var f=typeof window!==n?window.log:undefined;u.noConflict=function(){if(typeof window!==n&&window.log===u){window.log=f}return u};u.getLoggers=function e(){return w};u["default"]=u;return u}))}));class i{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.i18n=new Map;window.addEventListener("cat-i18n-set",(e=>{const{detail:n}=e||{};if(n&&n.id!==this.id){this.set(n.i18n,true)}}));window.addEventListener("cat-i18n-clear",(e=>{const{detail:n}=e||{};if(n&&n.id!==this.id){this.clear(true)}}))}static getInstance(){if(!i.instance){i.instance=new i}return i.instance}getLocale(){return this._locale??window?.navigator?.language??"en"}setLocale(e){try{this._locale=Intl.getCanonicalLocales(e)[0];o.info(`[CatI18nRegistry] Set locale: ${this._locale}`)}catch(n){o.error(`[CatI18nRegistry] Invalid locale: ${e}`)}}set(e,n=false){const t=Object.entries(e);t.forEach((([e,n])=>this.i18n.set(e,n)));o.info(`[CatI18nRegistry] Registered ${t.length!==1?"messages":"message"}`);!n&&window.dispatchEvent(this.buildEvent("cat-i18n-set",{i18n:e,id:this.id}))}clear(e=false){this.i18n.clear();o.info(`[CatI18nRegistry] Cleared messages`);!e&&window.dispatchEvent(this.buildEvent("cat-i18n-clear"))}t(e,n){const t=this.i18n.get(e);if(t===undefined){o.error(`[CatI18nRegistry] Unknown message key: ${e}`);return e}return t.replace(/{{\s*([-a-zA-Z._]+)\s*}}/g,((e,t)=>`${n?.[t]??""}`))}buildEvent(e,n){return new CustomEvent(e,{bubbles:true,composed:true,detail:n})}}const s=i.getInstance();const r=`<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06L8 9.06l3.47 3.47a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47a.75.75 0 0 0-1.06-1.06L8 6.94 4.53 3.47Z"/></svg>`;const a=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V8Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5Z"/></svg>\n`;const l=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.768-12.36a1 1 0 1 0-1.536-1.28l-4.3 5.159-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067l5-6Z"/></svg>`;const c=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.47 9.47a.75.75 0 0 1 1.06 0L12 13.94l4.47-4.47a.75.75 0 1 1 1.06 1.06l-5 5a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 0 1 0-1.06Z"/></svg>`;const d=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.53 6.47a.75.75 0 0 1 0 1.06L10.06 12l4.47 4.47a.75.75 0 1 1-1.06 1.06l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 0Z"/></svg>`;const u=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.47 6.47a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06L13.94 12 9.47 7.53a.75.75 0 0 1 0-1.06Z"/></svg>`;const w=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4V7Z"/></svg>`;const f=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z"/></svg>`;const v=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 0-1.06Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z"/></svg>`;const g=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94 7.53 6.47Z"/></svg>`;const h=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3.25c-.429 0-.85.113-1.22.328a2.5 2.5 0 0 0-.899.891L2.577 16.981a2.554 2.554 0 0 0-.007 2.491c.212.381.519.7.891.926a2.44 2.44 0 0 0 1.234.352h14.61a2.44 2.44 0 0 0 1.233-.352 2.5 2.5 0 0 0 .892-.926 2.553 2.553 0 0 0-.007-2.491L14.119 4.469a2.494 2.494 0 0 0-.899-.891A2.439 2.439 0 0 0 12 3.25ZM12 8a1 1 0 0 1 1 1v3.5a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></svg>`;const p=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-7.82-3.001L12 5 9.82 8.999l-4.477.838 3.129 3.31-.587 4.516L12 15.71l4.114 1.953-.586-4.517 3.13-3.31L14.18 9Z"/></svg>`;class y{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.icons=new Map;this.addIcons({"alert-danger":f,"alert-primary":p,"alert-secondary":w,"alert-success":l,"alert-warning":h,"dialog-close":g,"input-close":v,"input-error":a,"notification-close":v,"pagination-left":d,"pagination-right":u,"select-clear":r,"select-open":c},"$cat",true);window.addEventListener("cat-icons-added",(e=>{const{detail:n}=e||{};if(n&&n.id!==this.id){this.addIcons(n.icons,n.setName,true)}}));window.addEventListener("cat-icons-removed",(e=>{const{detail:n}=e||{};if(n&&n.id!==this.id){this.removeIcons(n.names,n.setName,true)}}))}static getInstance(){if(!y.instance){y.instance=new y}return y.instance}getIcon(e,n){const t=this.icons.get(this.buildName(e,n));if(!t){o.error(`[CatIconRegistry] Unknown icon${n?` in set ${n}`:""}: ${e}`)}return t}addIcons(e,n,t=false){const i=Object.entries(e);const s=i.length;i.forEach((([e,t])=>this.icons.set(this.buildName(e,n),t)));o.info(`[CatIconRegistry] Added ${s!==1?"icons":"icon"}${n?` to set ${n}`:""}`);!t&&window.dispatchEvent(this.buildEvent("cat-icons-added",{id:this.id,icons:e,setName:n}));return this}removeIcons(e,n,t=false){const i=e.length;e.forEach((e=>this.icons.delete(this.buildName(e,n))));o.info(`[CatIconRegistry] Removed ${i!==1?"icons":"icon"}${n?` from set ${n}`:""}`);!t&&window.dispatchEvent(this.buildEvent("cat-icons-removed",{id:this.id,names:e,setName:n}));return this}buildName(e,n){return n?`${n}:${e}`:e}buildEvent(e,n){return new CustomEvent(e,{bubbles:true,composed:true,detail:n})}}const m=y.getInstance();export{i as C,e as a,s as b,n as c,m as d,y as e,o as l};
2
- //# sourceMappingURL=p-42e63e08.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["root","definition","module","exports","log","this","noop","undefinedType","isIE","window","navigator","test","userAgent","logMethods","bindMethod","obj","methodName","method","bind","Function","prototype","call","e","apply","arguments","traceForIE","console","trace","realMethod","undefined","replaceLoggingMethods","level","loggerName","i","length","methodFactory","debug","enableLoggingWhenConsoleArrives","defaultMethodFactory","Logger","name","defaultLevel","factory","self","currentLevel","storageKey","persistLevelIfPossible","levelNum","levelName","toUpperCase","localStorage","ignore","document","cookie","encodeURIComponent","getPersistedLevel","storedLevel","location","indexOf","exec","slice","levels","clearPersistedLevel","removeItem","TRACE","DEBUG","INFO","WARN","ERROR","SILENT","getLevel","setLevel","persist","setDefaultLevel","resetLevel","enableAll","disableAll","initialLevel","defaultLogger","_loggersByName","getLogger","TypeError","logger","_log","noConflict","getLoggers","CatI18nRegistry","constructor","id","Math","random","toString","substring","i18n","Map","addEventListener","event","detail","set","clear","static","instance","getLocale","_locale","language","setLocale","locale","Intl","getCanonicalLocales","info","err","error","silent","i18nEntries","Object","entries","forEach","key","message","dispatchEvent","buildEvent","t","params","get","replace","_match","CustomEvent","bubbles","composed","catI18nRegistry","getInstance","CatIconRegistry","icons","addIcons","crossCircleFilled","starCircleFilled","clockFilled","checkCircleFilled","dangerFilled","crossOutlined","crossCircleOutlined","alertCircleOutlined","chevronLeftOutlined","chevronRightOutlined","cross16","chevronDownOutlined","setName","removeIcons","names","getIcon","icon","buildName","iconEntries","iconSize","data","delete","catIconRegistry"],"sources":["../node_modules/.pnpm/loglevel@1.8.1/node_modules/loglevel/lib/loglevel.js","src/components/cat-i18n/cat-i18n-registry.ts","src/components/cat-icon/cat-icon-registry.ts"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods(level, loggerName) {\n /*jshint validthis:true */\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, loggerName);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this, level, loggerName);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, level, loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, defaultLevel, factory) {\n var self = this;\n var currentLevel;\n defaultLevel = defaultLevel == null ? \"WARN\" : defaultLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var location = cookie.indexOf(\n encodeURIComponent(storageKey) + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n return currentLevel;\n };\n\n self.setLevel = function (level, persist) {\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n currentLevel = level;\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(level);\n }\n replaceLoggingMethods.call(self, level, name);\n if (typeof console === undefinedType && level < self.levels.SILENT) {\n return \"No console available for logging\";\n }\n } else {\n throw \"log.setLevel() called with invalid level: \" + level;\n }\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = level;\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n self.setLevel(defaultLevel, false);\n clearPersistedLevel();\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n // Initialize with the right level\n var initialLevel = getPersistedLevel();\n if (initialLevel == null) {\n initialLevel = defaultLevel;\n }\n self.setLevel(initialLevel, false);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n var defaultLogger = new Logger();\n\n var _loggersByName = {};\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name, defaultLogger.getLevel(), defaultLogger.methodFactory);\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n","import log from 'loglevel';\n\nexport class CatI18nRegistry {\n private static instance: CatI18nRegistry;\n\n private readonly id = (Math.random() + 1).toString(36).substring(2);\n private readonly i18n: Map<string, string> = new Map();\n private _locale?: string;\n\n private constructor() {\n // hide constructor\n\n // In rare cases, the registry can be initialized twice. This can happen in\n // a micro frontend architecture where the registry is initialized in the\n // host application and in the micro frontend. To prevent the registry in\n // one application from overwriting the registry in the other, we listen for\n // events that are dispatched when messages are added or removed in other\n // applications and add or remove messages if the event was not dispatched\n // by this registry.\n window.addEventListener('cat-i18n-set', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.set(detail.i18n, true);\n }\n });\n window.addEventListener('cat-i18n-clear', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.clear(true);\n }\n });\n }\n\n static getInstance(): CatI18nRegistry {\n if (!CatI18nRegistry.instance) {\n CatI18nRegistry.instance = new CatI18nRegistry();\n }\n return CatI18nRegistry.instance;\n }\n\n getLocale(): string {\n return this._locale ?? window?.navigator?.language ?? 'en';\n }\n\n setLocale(locale: string): void {\n try {\n this._locale = Intl.getCanonicalLocales(locale)[0];\n log.info(`[CatI18nRegistry] Set locale: ${this._locale}`);\n } catch (err) {\n log.error(`[CatI18nRegistry] Invalid locale: ${locale}`);\n }\n }\n\n set(i18n: { [key: string]: string }, silent = false): void {\n const i18nEntries = Object.entries(i18n);\n i18nEntries.forEach(([key, message]) => this.i18n.set(key, message));\n log.info(`[CatI18nRegistry] Registered ${i18nEntries.length !== 1 ? 'messages' : 'message'}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-i18n-set', { i18n, id: this.id }));\n }\n\n clear(silent = false): void {\n this.i18n.clear();\n log.info(`[CatI18nRegistry] Cleared messages`);\n !silent && window.dispatchEvent(this.buildEvent('cat-i18n-clear'));\n }\n\n t(key: string, params?: { [key: string]: unknown }): string {\n const message = this.i18n.get(key);\n if (message === undefined) {\n log.error(`[CatI18nRegistry] Unknown message key: ${key}`);\n return key;\n }\n return message.replace(/{{\\s*([-a-zA-Z._]+)\\s*}}/g, (_match, key) => `${params?.[key] ?? ''}`);\n }\n\n private buildEvent<T>(name: string, detail?: T) {\n return new CustomEvent(name, {\n bubbles: true,\n composed: true,\n detail\n });\n }\n}\n\nexport const catI18nRegistry = CatI18nRegistry.getInstance();\n","import cross16 from '@haiilo/catalyst-icons/tmp/assets/16-cross.svg';\nimport alertCircleOutlined from '@haiilo/catalyst-icons/tmp/assets/alert-circle-outlined.svg';\nimport checkCircleFilled from '@haiilo/catalyst-icons/tmp/assets/check-circle-filled.svg';\nimport chevronDownOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-down-outlined.svg';\nimport chevronLeftOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-left-outlined.svg';\nimport chevronRightOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-right-outlined.svg';\nimport clockFilled from '@haiilo/catalyst-icons/tmp/assets/clock-filled.svg';\nimport crossCircleFilled from '@haiilo/catalyst-icons/tmp/assets/cross-circle-filled.svg';\nimport crossCircleOutlined from '@haiilo/catalyst-icons/tmp/assets/cross-circle-outlined.svg';\nimport crossOutlined from '@haiilo/catalyst-icons/tmp/assets/cross-outlined.svg';\nimport dangerFilled from '@haiilo/catalyst-icons/tmp/assets/danger-filled.svg';\nimport starCircleFilled from '@haiilo/catalyst-icons/tmp/assets/star-circle-filled.svg';\nimport log from 'loglevel';\n\nexport class CatIconRegistry {\n private static instance: CatIconRegistry;\n\n private readonly id = (Math.random() + 1).toString(36).substring(2);\n private readonly icons: Map<string, string> = new Map();\n\n private constructor() {\n // hide constructor\n\n // register default icons that are used in the framework by other components\n this.addIcons(\n {\n 'alert-danger': crossCircleFilled,\n 'alert-primary': starCircleFilled,\n 'alert-secondary': clockFilled,\n 'alert-success': checkCircleFilled,\n 'alert-warning': dangerFilled,\n 'dialog-close': crossOutlined,\n 'input-close': crossCircleOutlined,\n 'input-error': alertCircleOutlined,\n 'notification-close': crossCircleOutlined,\n 'pagination-left': chevronLeftOutlined,\n 'pagination-right': chevronRightOutlined,\n 'select-clear': cross16,\n 'select-open': chevronDownOutlined\n },\n '$cat',\n true\n );\n\n // In rare cases, the registry can be initialized twice. This can happen in\n // a micro frontend architecture where the registry is initialized in the\n // host application and in the micro frontend. To prevent the registry in\n // one application from overwriting the registry in the other, we listen for\n // events that are dispatched when icons are added or removed in other\n // applications and add or remove icons if the event was not dispatched by\n // this registry.\n window.addEventListener('cat-icons-added', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.addIcons(detail.icons, detail.setName, true);\n }\n });\n window.addEventListener('cat-icons-removed', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.removeIcons(detail.names, detail.setName, true);\n }\n });\n }\n\n static getInstance(): CatIconRegistry {\n if (!CatIconRegistry.instance) {\n CatIconRegistry.instance = new CatIconRegistry();\n }\n return CatIconRegistry.instance;\n }\n\n getIcon(name: string, setName?: string): string | undefined {\n const icon = this.icons.get(this.buildName(name, setName));\n if (!icon) {\n log.error(`[CatIconRegistry] Unknown icon${setName ? ` in set ${setName}` : ''}: ${name}`);\n }\n return icon;\n }\n\n addIcons(icons: { [name: string]: string }, setName?: string, silent = false): CatIconRegistry {\n const iconEntries = Object.entries(icons);\n const iconSize = iconEntries.length;\n iconEntries.forEach(([name, data]) => this.icons.set(this.buildName(name, setName), data));\n log.info(`[CatIconRegistry] Added ${iconSize !== 1 ? 'icons' : 'icon'}${setName ? ` to set ${setName}` : ''}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-icons-added', { id: this.id, icons, setName }));\n return this;\n }\n\n removeIcons(names: string[], setName?: string, silent = false): CatIconRegistry {\n const iconSize = names.length;\n names.forEach(name => this.icons.delete(this.buildName(name, setName)));\n log.info(`[CatIconRegistry] Removed ${iconSize !== 1 ? 'icons' : 'icon'}${setName ? ` from set ${setName}` : ''}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-icons-removed', { id: this.id, names, setName }));\n return this;\n }\n\n private buildName(name: string, setName?: string) {\n return setName ? `${setName}:${name}` : name;\n }\n\n private buildEvent<T>(name: string, detail?: T) {\n return new CustomEvent(name, {\n bubbles: true,\n composed: true,\n detail\n });\n }\n}\n\nexport const catIconRegistry = CatIconRegistry.getInstance();\n"],"mappings":"iYAMC,SAAUA,EAAMC,GAIN,GAAkCC,EAAOC,QAAS,CACrDD,EAAAC,QAAiBF,GACzB,KAAW,CACHD,EAAKI,IAAMH,GACnB,CACA,EATA,CASEI,GAAM,WAIJ,IAAIC,EAAO,WAAW,EACtB,IAAIC,EAAgB,YACpB,IAAIC,SAAeC,SAAWF,UAA0BE,OAAOC,YAAcH,GACzE,kBAAkBI,KAAKF,OAAOC,UAAUE,WAG5C,IAAIC,EAAa,CACb,QACA,QACA,OACA,OACA,SAIJ,SAASC,EAAWC,EAAKC,GACrB,IAAIC,EAASF,EAAIC,GACjB,UAAWC,EAAOC,OAAS,WAAY,CACnC,OAAOD,EAAOC,KAAKH,EAC/B,KAAe,CACH,IACI,OAAOI,SAASC,UAA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