@designsystem-se/af 34.2.1-beta.1 → 34.2.1-beta.3

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 (144) hide show
  1. package/components/digi-bar-chart.js +10 -10
  2. package/components/digi-form-input-search.js +1 -1
  3. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  4. package/dist/cjs/digi-bar-chart.cjs.entry.js +10 -10
  5. package/dist/cjs/digi-button_10.cjs.entry.js +643 -0
  6. package/dist/cjs/{digi-calendar_16.cjs.entry.js → digi-calendar-datepicker.cjs.entry.js} +48 -1271
  7. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -50
  8. package/dist/cjs/digi-calendar_2.cjs.entry.js +478 -0
  9. package/dist/cjs/digi-code-block_3.cjs.entry.js +5 -4
  10. package/dist/cjs/digi-dialog.cjs.entry.js +5 -4
  11. package/dist/cjs/digi-footer.cjs.entry.js +5 -4
  12. package/dist/cjs/digi-form-error-list.cjs.entry.js +5 -4
  13. package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -9
  14. package/dist/cjs/digi-form-receipt.cjs.entry.js +5 -4
  15. package/dist/cjs/digi-form-select-filter.cjs.entry.js +6 -5
  16. package/dist/cjs/digi-form-select_2.cjs.entry.js +176 -0
  17. package/dist/cjs/digi-header-navigation.cjs.entry.js +5 -4
  18. package/dist/cjs/digi-header.cjs.entry.js +5 -4
  19. package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +30 -0
  20. package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +30 -0
  21. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +5 -4
  22. package/dist/cjs/digi-notification-alert.cjs.entry.js +5 -4
  23. package/dist/cjs/digi-notification-error-page.cjs.entry.js +5 -4
  24. package/dist/cjs/digi-tools-feedback.cjs.entry.js +5 -4
  25. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +83 -0
  26. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
  27. package/dist/cjs/{form-validation-message-variation.enum-c5ec3e2d.js → form-file-upload-variation.enum-634cfae8.js} +0 -7
  28. package/dist/cjs/form-input-variation.enum-d8228d73.js +67 -0
  29. package/dist/cjs/form-select-variation.enum-528c1bf0.js +16 -0
  30. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
  31. package/dist/cjs/index-81fc5a97.js +28 -12
  32. package/dist/cjs/{index-acb7b350.js → index-ac8e01b4.js} +19 -189
  33. package/dist/cjs/index-cad91a90.js +66 -0
  34. package/dist/cjs/index-e8333bcc.js +174 -0
  35. package/dist/cjs/index.cjs.js +55 -54
  36. package/dist/cjs/loader.cjs.js +1 -1
  37. package/dist/cjs/{typography-variation.enum-2cf77231.js → typography-variation.enum-d6a04b47.js} +0 -43
  38. package/dist/collection/components/_chart/bar-chart/bar-chart.js +10 -10
  39. package/dist/collection/components/_form/form-input-search/form-input-search.css +4 -0
  40. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  41. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  42. package/dist/digi-arbetsformedlingen/p-1aa24ef1.entry.js +1 -0
  43. package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
  44. package/dist/digi-arbetsformedlingen/p-25854117.js +1 -0
  45. package/dist/digi-arbetsformedlingen/p-3874db62.entry.js +1 -0
  46. package/dist/digi-arbetsformedlingen/p-4ad84e73.entry.js +1 -0
  47. package/dist/digi-arbetsformedlingen/p-4e2796b4.entry.js +1 -0
  48. package/dist/digi-arbetsformedlingen/p-56ed4535.entry.js +1 -0
  49. package/dist/digi-arbetsformedlingen/p-6786da6f.entry.js +1 -0
  50. package/dist/digi-arbetsformedlingen/p-6f59033a.entry.js +1 -0
  51. package/dist/digi-arbetsformedlingen/p-79152be3.entry.js +1 -0
  52. package/dist/digi-arbetsformedlingen/p-7933b555.js +1 -0
  53. package/dist/digi-arbetsformedlingen/p-7aacd45f.js +1 -0
  54. package/dist/digi-arbetsformedlingen/p-7c138f6f.entry.js +1 -0
  55. package/dist/digi-arbetsformedlingen/p-831ee484.entry.js +1 -0
  56. package/dist/digi-arbetsformedlingen/p-84aa5804.entry.js +1 -0
  57. package/dist/digi-arbetsformedlingen/p-867a8b3e.entry.js +1 -0
  58. package/dist/digi-arbetsformedlingen/p-881168f2.entry.js +1 -0
  59. package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
  60. package/dist/digi-arbetsformedlingen/p-91e65c6d.entry.js +1 -0
  61. package/dist/digi-arbetsformedlingen/p-9f8189c0.entry.js +1 -0
  62. package/dist/digi-arbetsformedlingen/p-9f86edca.entry.js +1 -0
  63. package/dist/digi-arbetsformedlingen/p-a1822414.entry.js +1 -0
  64. package/dist/digi-arbetsformedlingen/p-ae74ccf4.entry.js +1 -0
  65. package/dist/digi-arbetsformedlingen/p-bd5122b0.js +1 -0
  66. package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
  67. package/dist/digi-arbetsformedlingen/p-ce3531cb.entry.js +1 -0
  68. package/dist/digi-arbetsformedlingen/p-d41834f2.entry.js +1 -0
  69. package/dist/digi-arbetsformedlingen/p-d612e424.entry.js +1 -0
  70. package/dist/digi-arbetsformedlingen/p-e5443d9d.entry.js +1 -0
  71. package/dist/digi-arbetsformedlingen/p-f447b984.js +1 -0
  72. package/dist/digi-arbetsformedlingen/p-fee0e9e0.entry.js +1 -0
  73. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  74. package/dist/esm/digi-bar-chart.entry.js +10 -10
  75. package/dist/esm/digi-button_10.entry.js +630 -0
  76. package/dist/esm/{digi-calendar_16.entry.js → digi-calendar-datepicker.entry.js} +11 -1219
  77. package/dist/esm/digi-calendar-week-view.entry.js +2 -1
  78. package/dist/esm/digi-calendar_2.entry.js +473 -0
  79. package/dist/esm/digi-code-block_3.entry.js +5 -4
  80. package/dist/esm/digi-dialog.entry.js +5 -4
  81. package/dist/esm/digi-footer.entry.js +5 -4
  82. package/dist/esm/digi-form-error-list.entry.js +5 -4
  83. package/dist/esm/digi-form-file-upload.entry.js +2 -1
  84. package/dist/esm/digi-form-receipt.entry.js +5 -4
  85. package/dist/esm/digi-form-select-filter.entry.js +5 -4
  86. package/dist/esm/digi-form-select_2.entry.js +171 -0
  87. package/dist/esm/digi-header-navigation.entry.js +5 -4
  88. package/dist/esm/digi-header.entry.js +5 -4
  89. package/dist/esm/digi-icon-chevron-left.entry.js +26 -0
  90. package/dist/esm/digi-icon-chevron-right.entry.js +26 -0
  91. package/dist/esm/digi-navigation-pagination.entry.js +5 -4
  92. package/dist/esm/digi-notification-alert.entry.js +5 -4
  93. package/dist/esm/digi-notification-error-page.entry.js +5 -4
  94. package/dist/esm/digi-tools-feedback.entry.js +5 -4
  95. package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
  96. package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
  97. package/dist/esm/{form-validation-message-variation.enum-f7835fc5.js → form-file-upload-variation.enum-9c49ec5e.js} +1 -8
  98. package/dist/esm/form-input-variation.enum-b78808ba.js +67 -0
  99. package/dist/esm/form-select-variation.enum-f2f6098d.js +16 -0
  100. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
  101. package/dist/esm/{index-dc6b83f7.js → index-2fce392f.js} +3 -170
  102. package/dist/esm/index-5b6c95c6.js +63 -0
  103. package/dist/esm/index-8685f88d.js +170 -0
  104. package/dist/esm/index-bfea2cc5.js +28 -12
  105. package/dist/esm/index.js +5 -4
  106. package/dist/esm/loader.js +1 -1
  107. package/dist/esm/{typography-variation.enum-259c1751.js → typography-variation.enum-0f0f74d5.js} +1 -44
  108. package/hydrate/index.js +11 -11
  109. package/hydrate/index.mjs +11 -11
  110. package/package.json +1 -1
  111. package/dist/cjs/button-type.enum-406723db.js +0 -8
  112. package/dist/cjs/digi-button.cjs.entry.js +0 -130
  113. package/dist/cjs/digi-form-input-search.cjs.entry.js +0 -143
  114. package/dist/cjs/digi-icon-search.cjs.entry.js +0 -30
  115. package/dist/cjs/form-input-type.enum-daf781ba.js +0 -32
  116. package/dist/digi-arbetsformedlingen/p-0399153b.entry.js +0 -1
  117. package/dist/digi-arbetsformedlingen/p-0ae59327.entry.js +0 -1
  118. package/dist/digi-arbetsformedlingen/p-1158702e.entry.js +0 -1
  119. package/dist/digi-arbetsformedlingen/p-2496eee3.entry.js +0 -1
  120. package/dist/digi-arbetsformedlingen/p-3887bb40.js +0 -1
  121. package/dist/digi-arbetsformedlingen/p-403a97f3.entry.js +0 -1
  122. package/dist/digi-arbetsformedlingen/p-4df790de.entry.js +0 -1
  123. package/dist/digi-arbetsformedlingen/p-62534ddc.entry.js +0 -1
  124. package/dist/digi-arbetsformedlingen/p-6f33ef76.entry.js +0 -1
  125. package/dist/digi-arbetsformedlingen/p-8798c901.entry.js +0 -1
  126. package/dist/digi-arbetsformedlingen/p-9092f712.entry.js +0 -1
  127. package/dist/digi-arbetsformedlingen/p-9f124b4f.entry.js +0 -1
  128. package/dist/digi-arbetsformedlingen/p-a105d9fe.js +0 -1
  129. package/dist/digi-arbetsformedlingen/p-a1bffbc3.entry.js +0 -1
  130. package/dist/digi-arbetsformedlingen/p-bd578fbb.entry.js +0 -1
  131. package/dist/digi-arbetsformedlingen/p-c15ba44e.js +0 -1
  132. package/dist/digi-arbetsformedlingen/p-c2d45a0d.entry.js +0 -1
  133. package/dist/digi-arbetsformedlingen/p-cf75cbcd.entry.js +0 -1
  134. package/dist/digi-arbetsformedlingen/p-d4a341f4.js +0 -1
  135. package/dist/digi-arbetsformedlingen/p-dc0da84c.entry.js +0 -1
  136. package/dist/digi-arbetsformedlingen/p-df292ae0.entry.js +0 -1
  137. package/dist/digi-arbetsformedlingen/p-e292ae3b.entry.js +0 -1
  138. package/dist/digi-arbetsformedlingen/p-e5ca499a.entry.js +0 -1
  139. package/dist/digi-arbetsformedlingen/p-ee9589e6.js +0 -1
  140. package/dist/esm/button-type.enum-5250ae0b.js +0 -8
  141. package/dist/esm/digi-button.entry.js +0 -126
  142. package/dist/esm/digi-form-input-search.entry.js +0 -139
  143. package/dist/esm/digi-icon-search.entry.js +0 -26
  144. package/dist/esm/form-input-type.enum-62a97d5d.js +0 -32
@@ -0,0 +1,83 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-81fc5a97.js');
6
+ const keyboardHandler_util = require('./keyboardHandler.util-d8600adb.js');
7
+
8
+ const UtilKeydownHandler = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.afOnEsc = index.createEvent(this, "afOnEsc", 7);
12
+ this.afOnEnter = index.createEvent(this, "afOnEnter", 7);
13
+ this.afOnTab = index.createEvent(this, "afOnTab", 7);
14
+ this.afOnSpace = index.createEvent(this, "afOnSpace", 7);
15
+ this.afOnShiftTab = index.createEvent(this, "afOnShiftTab", 7);
16
+ this.afOnUp = index.createEvent(this, "afOnUp", 7);
17
+ this.afOnDown = index.createEvent(this, "afOnDown", 7);
18
+ this.afOnLeft = index.createEvent(this, "afOnLeft", 7);
19
+ this.afOnRight = index.createEvent(this, "afOnRight", 7);
20
+ this.afOnHome = index.createEvent(this, "afOnHome", 7);
21
+ this.afOnEnd = index.createEvent(this, "afOnEnd", 7);
22
+ this.afOnKeyDown = index.createEvent(this, "afOnKeyDown", 7);
23
+ }
24
+ keydownHandler(e) {
25
+ const key = keyboardHandler_util.keyboardHandler(e);
26
+ switch (key) {
27
+ case keyboardHandler_util.KEY_CODE.SHIFT_TAB:
28
+ this.afOnShiftTab.emit(e);
29
+ break;
30
+ case keyboardHandler_util.KEY_CODE.DOWN_ARROW:
31
+ this.afOnDown.emit(e);
32
+ this.afOnKeyDown.emit(e);
33
+ break;
34
+ case keyboardHandler_util.KEY_CODE.UP_ARROW:
35
+ this.afOnUp.emit(e);
36
+ this.afOnKeyDown.emit(e);
37
+ break;
38
+ case keyboardHandler_util.KEY_CODE.LEFT_ARROW:
39
+ this.afOnLeft.emit(e);
40
+ this.afOnKeyDown.emit(e);
41
+ break;
42
+ case keyboardHandler_util.KEY_CODE.RIGHT_ARROW:
43
+ this.afOnRight.emit(e);
44
+ this.afOnKeyDown.emit(e);
45
+ break;
46
+ case keyboardHandler_util.KEY_CODE.ENTER:
47
+ this.afOnEnter.emit(e);
48
+ this.afOnKeyDown.emit(e);
49
+ break;
50
+ case keyboardHandler_util.KEY_CODE.ESCAPE:
51
+ this.afOnEsc.emit(e);
52
+ this.afOnKeyDown.emit(e);
53
+ break;
54
+ case keyboardHandler_util.KEY_CODE.TAB:
55
+ this.afOnTab.emit(e);
56
+ this.afOnKeyDown.emit(e);
57
+ break;
58
+ case keyboardHandler_util.KEY_CODE.SPACE:
59
+ this.afOnSpace.emit(e);
60
+ this.afOnKeyDown.emit(e);
61
+ break;
62
+ case keyboardHandler_util.KEY_CODE.HOME:
63
+ this.afOnHome.emit(e);
64
+ this.afOnKeyDown.emit(e);
65
+ break;
66
+ case keyboardHandler_util.KEY_CODE.END:
67
+ this.afOnEnd.emit(e);
68
+ this.afOnKeyDown.emit(e);
69
+ break;
70
+ case keyboardHandler_util.KEY_CODE.ANY:
71
+ this.afOnKeyDown.emit(e);
72
+ break;
73
+ default:
74
+ this.afOnKeyDown.emit(e);
75
+ return;
76
+ }
77
+ }
78
+ render() {
79
+ return index.h("slot", { key: 'd7f48cfd9a71e8e14b457f93ffd79f0d17becf37' });
80
+ }
81
+ };
82
+
83
+ exports.digi_util_keydown_handler = UtilKeydownHandler;
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-81fc5a97.js');
6
+ const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
7
+
8
+ const UtilMutationObserver = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.afOnChange = index.createEvent(this, "afOnChange", 7);
12
+ this._observer = null;
13
+ this._isObserving = false;
14
+ this.afId = randomIdGenerator_util.randomIdGenerator('digi-util-mutation-observer');
15
+ this.afOptions = {
16
+ attributes: false,
17
+ childList: true,
18
+ subtree: false,
19
+ characterData: false
20
+ };
21
+ }
22
+ afOptionsWatcher(newValue) {
23
+ this._afOptions =
24
+ typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
25
+ }
26
+ componentWillLoad() {
27
+ this.afOptionsWatcher(this.afOptions);
28
+ this.initObserver();
29
+ }
30
+ disconnectedCallback() {
31
+ if (this._isObserving) {
32
+ this.removeObserver();
33
+ }
34
+ }
35
+ initObserver() {
36
+ this._observer = new MutationObserver((mutationsList) => {
37
+ for (const mutation of mutationsList) {
38
+ if (mutation.type === 'childList' ||
39
+ mutation.type === 'attributes' ||
40
+ mutation.type === 'characterData') {
41
+ this.changeHandler(mutation);
42
+ }
43
+ }
44
+ });
45
+ this._observer.observe(this.$el, this._afOptions);
46
+ this._isObserving = true;
47
+ }
48
+ removeObserver() {
49
+ this._observer.disconnect();
50
+ this._isObserving = false;
51
+ }
52
+ changeHandler(e) {
53
+ this.afOnChange.emit(e);
54
+ }
55
+ render() {
56
+ index.h("div", { id: this.afId, ref: (el) => (this.$el = el) }, index.h("slot", null));
57
+ }
58
+ get $el() { return index.getElement(this); }
59
+ static get watchers() { return {
60
+ "afOptions": ["afOptionsWatcher"]
61
+ }; }
62
+ };
63
+
64
+ exports.digi_util_mutation_observer = UtilMutationObserver;
@@ -22,10 +22,3 @@ exports.FormFileUploadVariation = void 0;
22
22
  FormFileUploadVariation["MEDIUM"] = "medium";
23
23
  FormFileUploadVariation["LARGE"] = "large";
24
24
  })(exports.FormFileUploadVariation || (exports.FormFileUploadVariation = {}));
25
-
26
- exports.FormValidationMessageVariation = void 0;
27
- (function (FormValidationMessageVariation) {
28
- FormValidationMessageVariation["SUCCESS"] = "success";
29
- FormValidationMessageVariation["ERROR"] = "error";
30
- FormValidationMessageVariation["WARNING"] = "warning";
31
- })(exports.FormValidationMessageVariation || (exports.FormValidationMessageVariation = {}));
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ exports.ButtonType = void 0;
4
+ (function (ButtonType) {
5
+ ButtonType["BUTTON"] = "button";
6
+ ButtonType["SUBMIT"] = "submit";
7
+ ButtonType["RESET"] = "reset";
8
+ })(exports.ButtonType || (exports.ButtonType = {}));
9
+
10
+ exports.FormInputSearchVariation = void 0;
11
+ (function (FormInputSearchVariation) {
12
+ FormInputSearchVariation["SMALL"] = "small";
13
+ FormInputSearchVariation["MEDIUM"] = "medium";
14
+ FormInputSearchVariation["LARGE"] = "large";
15
+ })(exports.FormInputSearchVariation || (exports.FormInputSearchVariation = {}));
16
+
17
+ exports.FormInputButtonVariation = void 0;
18
+ (function (FormInputButtonVariation) {
19
+ FormInputButtonVariation["PRIMARY"] = "primary";
20
+ FormInputButtonVariation["SECONDARY"] = "secondary";
21
+ })(exports.FormInputButtonVariation || (exports.FormInputButtonVariation = {}));
22
+
23
+ exports.FormInputMode = void 0;
24
+ (function (FormInputMode) {
25
+ FormInputMode["DEFAULT"] = "";
26
+ FormInputMode["NONE"] = "none";
27
+ FormInputMode["TEXT"] = "text";
28
+ FormInputMode["DECIMAL"] = "decimal";
29
+ FormInputMode["NUMERIC"] = "numeric";
30
+ FormInputMode["TEL"] = "tel";
31
+ FormInputMode["SEARCH"] = "search";
32
+ FormInputMode["EMAIL"] = "email";
33
+ FormInputMode["URL"] = "url";
34
+ })(exports.FormInputMode || (exports.FormInputMode = {}));
35
+
36
+ exports.FormInputType = void 0;
37
+ (function (FormInputType) {
38
+ FormInputType["COLOR"] = "color";
39
+ FormInputType["DATE"] = "date";
40
+ FormInputType["DATETIME_LOCAL"] = "datetime-local";
41
+ FormInputType["EMAIL"] = "email";
42
+ FormInputType["HIDDEN"] = "hidden";
43
+ FormInputType["MONTH"] = "month";
44
+ FormInputType["NUMBER"] = "number";
45
+ FormInputType["PASSWORD"] = "password";
46
+ FormInputType["SEARCH"] = "search";
47
+ FormInputType["TEL"] = "tel";
48
+ FormInputType["TEXT"] = "text";
49
+ FormInputType["TIME"] = "time";
50
+ FormInputType["URL"] = "url";
51
+ FormInputType["WEEK"] = "week";
52
+ })(exports.FormInputType || (exports.FormInputType = {}));
53
+
54
+ exports.FormInputValidation = void 0;
55
+ (function (FormInputValidation) {
56
+ FormInputValidation["SUCCESS"] = "success";
57
+ FormInputValidation["ERROR"] = "error";
58
+ FormInputValidation["WARNING"] = "warning";
59
+ FormInputValidation["NEUTRAL"] = "neutral";
60
+ })(exports.FormInputValidation || (exports.FormInputValidation = {}));
61
+
62
+ exports.FormInputVariation = void 0;
63
+ (function (FormInputVariation) {
64
+ FormInputVariation["SMALL"] = "small";
65
+ FormInputVariation["MEDIUM"] = "medium";
66
+ FormInputVariation["LARGE"] = "large";
67
+ })(exports.FormInputVariation || (exports.FormInputVariation = {}));
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ exports.FormSelectValidation = void 0;
4
+ (function (FormSelectValidation) {
5
+ FormSelectValidation["SUCCESS"] = "success";
6
+ FormSelectValidation["ERROR"] = "error";
7
+ FormSelectValidation["WARNING"] = "warning";
8
+ FormSelectValidation["NEUTRAL"] = "neutral";
9
+ })(exports.FormSelectValidation || (exports.FormSelectValidation = {}));
10
+
11
+ exports.FormSelectVariation = void 0;
12
+ (function (FormSelectVariation) {
13
+ FormSelectVariation["SMALL"] = "small";
14
+ FormSelectVariation["MEDIUM"] = "medium";
15
+ FormSelectVariation["LARGE"] = "large";
16
+ })(exports.FormSelectVariation || (exports.FormSelectVariation = {}));
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ exports.FormValidationMessageVariation = void 0;
4
+ (function (FormValidationMessageVariation) {
5
+ FormValidationMessageVariation["SUCCESS"] = "success";
6
+ FormValidationMessageVariation["ERROR"] = "error";
7
+ FormValidationMessageVariation["WARNING"] = "warning";
8
+ })(exports.FormValidationMessageVariation || (exports.FormValidationMessageVariation = {}));
@@ -74,10 +74,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
74
74
  }
75
75
  switch(bundleId) {
76
76
 
77
- case 'digi-calendar_16.cjs':
77
+ case 'digi-button_10.cjs':
78
78
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
79
79
  /* webpackMode: "lazy" */
80
- './digi-calendar_16.cjs.entry.js')); }).then(processMod, consoleError);
80
+ './digi-button_10.cjs.entry.js')); }).then(processMod, consoleError);
81
81
  case 'digi-badge-status.cjs':
82
82
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
83
83
  /* webpackMode: "lazy" */
@@ -86,6 +86,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
86
86
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
87
87
  /* webpackMode: "lazy" */
88
88
  './digi-bar-chart.cjs.entry.js')); }).then(processMod, consoleError);
89
+ case 'digi-calendar-datepicker.cjs':
90
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
91
+ /* webpackMode: "lazy" */
92
+ './digi-calendar-datepicker.cjs.entry.js')); }).then(processMod, consoleError);
89
93
  case 'digi-calendar-week-view.cjs':
90
94
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
91
95
  /* webpackMode: "lazy" */
@@ -146,10 +150,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
146
150
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
147
151
  /* webpackMode: "lazy" */
148
152
  './digi-form-filter.cjs.entry.js')); }).then(processMod, consoleError);
149
- case 'digi-form-input-search.cjs':
150
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
151
- /* webpackMode: "lazy" */
152
- './digi-form-input-search.cjs.entry.js')); }).then(processMod, consoleError);
153
153
  case 'digi-form-radiogroup.cjs':
154
154
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
155
155
  /* webpackMode: "lazy" */
@@ -950,6 +950,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
950
950
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
951
951
  /* webpackMode: "lazy" */
952
952
  './digi-badge-notification.cjs.entry.js')); }).then(processMod, consoleError);
953
+ case 'digi-calendar_2.cjs':
954
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
955
+ /* webpackMode: "lazy" */
956
+ './digi-calendar_2.cjs.entry.js')); }).then(processMod, consoleError);
953
957
  case 'digi-code-block_3.cjs':
954
958
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
955
959
  /* webpackMode: "lazy" */
@@ -970,10 +974,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
970
974
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
971
975
  /* webpackMode: "lazy" */
972
976
  './digi-icon-check-circle-solid_4.cjs.entry.js')); }).then(processMod, consoleError);
973
- case 'digi-icon-search.cjs':
974
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
975
- /* webpackMode: "lazy" */
976
- './digi-icon-search.cjs.entry.js')); }).then(processMod, consoleError);
977
977
  case 'digi-layout-columns.cjs':
978
978
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
979
979
  /* webpackMode: "lazy" */
@@ -994,6 +994,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
994
994
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
995
995
  /* webpackMode: "lazy" */
996
996
  './digi-util-resize-observer.cjs.entry.js')); }).then(processMod, consoleError);
997
+ case 'digi-form-select_2.cjs':
998
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
999
+ /* webpackMode: "lazy" */
1000
+ './digi-form-select_2.cjs.entry.js')); }).then(processMod, consoleError);
997
1001
  case 'digi-icon-bars.cjs':
998
1002
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
999
1003
  /* webpackMode: "lazy" */
@@ -1038,6 +1042,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1038
1042
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1039
1043
  /* webpackMode: "lazy" */
1040
1044
  './digi-icon-check.cjs.entry.js')); }).then(processMod, consoleError);
1045
+ case 'digi-icon-chevron-left.cjs':
1046
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1047
+ /* webpackMode: "lazy" */
1048
+ './digi-icon-chevron-left.cjs.entry.js')); }).then(processMod, consoleError);
1041
1049
  case 'digi-layout-block_2.cjs':
1042
1050
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1043
1051
  /* webpackMode: "lazy" */
@@ -1050,6 +1058,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1050
1058
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1051
1059
  /* webpackMode: "lazy" */
1052
1060
  './digi-util-breakpoint-observer.cjs.entry.js')); }).then(processMod, consoleError);
1061
+ case 'digi-util-keydown-handler.cjs':
1062
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1063
+ /* webpackMode: "lazy" */
1064
+ './digi-util-keydown-handler.cjs.entry.js')); }).then(processMod, consoleError);
1053
1065
  case 'digi-icon-chevron-down.cjs':
1054
1066
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1055
1067
  /* webpackMode: "lazy" */
@@ -1058,10 +1070,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1058
1070
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1059
1071
  /* webpackMode: "lazy" */
1060
1072
  './digi-icon-x.cjs.entry.js')); }).then(processMod, consoleError);
1061
- case 'digi-button.cjs':
1073
+ case 'digi-icon-chevron-right.cjs':
1074
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1075
+ /* webpackMode: "lazy" */
1076
+ './digi-icon-chevron-right.cjs.entry.js')); }).then(processMod, consoleError);
1077
+ case 'digi-util-mutation-observer.cjs':
1062
1078
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1063
1079
  /* webpackMode: "lazy" */
1064
- './digi-button.cjs.entry.js')); }).then(processMod, consoleError);
1080
+ './digi-util-mutation-observer.cjs.entry.js')); }).then(processMod, consoleError);
1065
1081
  }
1066
1082
  }
1067
1083
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ const index = require('./index-e8333bcc.js');
4
+
3
5
  function toInteger(dirtyNumber) {
4
6
  if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
5
7
  return NaN;
@@ -14,64 +16,6 @@ function toInteger(dirtyNumber) {
14
16
  return number < 0 ? Math.ceil(number) : Math.floor(number);
15
17
  }
16
18
 
17
- function requiredArgs(required, args) {
18
- if (args.length < required) {
19
- throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
20
- }
21
- }
22
-
23
- /**
24
- * @name toDate
25
- * @category Common Helpers
26
- * @summary Convert the given argument to an instance of Date.
27
- *
28
- * @description
29
- * Convert the given argument to an instance of Date.
30
- *
31
- * If the argument is an instance of Date, the function returns its clone.
32
- *
33
- * If the argument is a number, it is treated as a timestamp.
34
- *
35
- * If the argument is none of the above, the function returns Invalid Date.
36
- *
37
- * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
38
- *
39
- * @param {Date|Number} argument - the value to convert
40
- * @returns {Date} the parsed date in the local time zone
41
- * @throws {TypeError} 1 argument required
42
- *
43
- * @example
44
- * // Clone the date:
45
- * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
46
- * //=> Tue Feb 11 2014 11:30:30
47
- *
48
- * @example
49
- * // Convert the timestamp to date:
50
- * const result = toDate(1392098430000)
51
- * //=> Tue Feb 11 2014 11:30:30
52
- */
53
-
54
- function toDate(argument) {
55
- requiredArgs(1, arguments);
56
- var argStr = Object.prototype.toString.call(argument); // Clone the date
57
-
58
- if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
59
- // Prevent the date to lose the milliseconds when passed to new Date() in IE10
60
- return new Date(argument.getTime());
61
- } else if (typeof argument === 'number' || argStr === '[object Number]') {
62
- return new Date(argument);
63
- } else {
64
- if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
65
- // eslint-disable-next-line no-console
66
- console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
67
-
68
- console.warn(new Error().stack);
69
- }
70
-
71
- return new Date(NaN);
72
- }
73
- }
74
-
75
19
  /**
76
20
  * @name addMilliseconds
77
21
  * @category Millisecond Helpers
@@ -96,8 +40,8 @@ function toDate(argument) {
96
40
  */
97
41
 
98
42
  function addMilliseconds(dirtyDate, dirtyAmount) {
99
- requiredArgs(2, arguments);
100
- var timestamp = toDate(dirtyDate).getTime();
43
+ index.requiredArgs(2, arguments);
44
+ var timestamp = index.toDate(dirtyDate).getTime();
101
45
  var amount = toInteger(dirtyAmount);
102
46
  return new Date(timestamp + amount);
103
47
  }
@@ -119,117 +63,6 @@ function getTimezoneOffsetInMilliseconds(date) {
119
63
  return date.getTime() - utcDate.getTime();
120
64
  }
121
65
 
122
- /**
123
- * @name isDate
124
- * @category Common Helpers
125
- * @summary Is the given value a date?
126
- *
127
- * @description
128
- * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
129
- *
130
- * ### v2.0.0 breaking changes:
131
- *
132
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
133
- *
134
- * @param {*} value - the value to check
135
- * @returns {boolean} true if the given value is a date
136
- * @throws {TypeError} 1 arguments required
137
- *
138
- * @example
139
- * // For a valid date:
140
- * const result = isDate(new Date())
141
- * //=> true
142
- *
143
- * @example
144
- * // For an invalid date:
145
- * const result = isDate(new Date(NaN))
146
- * //=> true
147
- *
148
- * @example
149
- * // For some value:
150
- * const result = isDate('2014-02-31')
151
- * //=> false
152
- *
153
- * @example
154
- * // For an object:
155
- * const result = isDate({})
156
- * //=> false
157
- */
158
-
159
- function isDate(value) {
160
- requiredArgs(1, arguments);
161
- return value instanceof Date || typeof value === 'object' && Object.prototype.toString.call(value) === '[object Date]';
162
- }
163
-
164
- /**
165
- * @name isValid
166
- * @category Common Helpers
167
- * @summary Is the given date valid?
168
- *
169
- * @description
170
- * Returns false if argument is Invalid Date and true otherwise.
171
- * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
172
- * Invalid Date is a Date, whose time value is NaN.
173
- *
174
- * Time value of Date: http://es5.github.io/#x15.9.1.1
175
- *
176
- * ### v2.0.0 breaking changes:
177
- *
178
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
179
- *
180
- * - Now `isValid` doesn't throw an exception
181
- * if the first argument is not an instance of Date.
182
- * Instead, argument is converted beforehand using `toDate`.
183
- *
184
- * Examples:
185
- *
186
- * | `isValid` argument | Before v2.0.0 | v2.0.0 onward |
187
- * |---------------------------|---------------|---------------|
188
- * | `new Date()` | `true` | `true` |
189
- * | `new Date('2016-01-01')` | `true` | `true` |
190
- * | `new Date('')` | `false` | `false` |
191
- * | `new Date(1488370835081)` | `true` | `true` |
192
- * | `new Date(NaN)` | `false` | `false` |
193
- * | `'2016-01-01'` | `TypeError` | `false` |
194
- * | `''` | `TypeError` | `false` |
195
- * | `1488370835081` | `TypeError` | `true` |
196
- * | `NaN` | `TypeError` | `false` |
197
- *
198
- * We introduce this change to make *date-fns* consistent with ECMAScript behavior
199
- * that try to coerce arguments to the expected type
200
- * (which is also the case with other *date-fns* functions).
201
- *
202
- * @param {*} date - the date to check
203
- * @returns {Boolean} the date is valid
204
- * @throws {TypeError} 1 argument required
205
- *
206
- * @example
207
- * // For the valid date:
208
- * const result = isValid(new Date(2014, 1, 31))
209
- * //=> true
210
- *
211
- * @example
212
- * // For the value, convertable into a date:
213
- * const result = isValid(1393804800000)
214
- * //=> true
215
- *
216
- * @example
217
- * // For the invalid date:
218
- * const result = isValid(new Date(''))
219
- * //=> false
220
- */
221
-
222
- function isValid(dirtyDate) {
223
- requiredArgs(1, arguments);
224
-
225
- if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
226
- return false;
227
- }
228
-
229
- var date = toDate(dirtyDate);
230
- return !isNaN(Number(date));
231
- }
232
-
233
66
  var formatDistanceLocale = {
234
67
  lessThanXSeconds: {
235
68
  one: 'less than a second',
@@ -761,7 +594,7 @@ const defaultLocale = locale;
761
594
  */
762
595
 
763
596
  function subMilliseconds(dirtyDate, dirtyAmount) {
764
- requiredArgs(2, arguments);
597
+ index.requiredArgs(2, arguments);
765
598
  var amount = toInteger(dirtyAmount);
766
599
  return addMilliseconds(dirtyDate, -amount);
767
600
  }
@@ -769,9 +602,9 @@ function subMilliseconds(dirtyDate, dirtyAmount) {
769
602
  // See issue: https://github.com/date-fns/date-fns/issues/376
770
603
 
771
604
  function startOfUTCISOWeek(dirtyDate) {
772
- requiredArgs(1, arguments);
605
+ index.requiredArgs(1, arguments);
773
606
  var weekStartsOn = 1;
774
- var date = toDate(dirtyDate);
607
+ var date = index.toDate(dirtyDate);
775
608
  var day = date.getUTCDay();
776
609
  var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
777
610
  date.setUTCDate(date.getUTCDate() - diff);
@@ -782,8 +615,8 @@ function startOfUTCISOWeek(dirtyDate) {
782
615
  // See issue: https://github.com/date-fns/date-fns/issues/376
783
616
 
784
617
  function getUTCISOWeekYear(dirtyDate) {
785
- requiredArgs(1, arguments);
786
- var date = toDate(dirtyDate);
618
+ index.requiredArgs(1, arguments);
619
+ var date = index.toDate(dirtyDate);
787
620
  var year = date.getUTCFullYear();
788
621
  var fourthOfJanuaryOfNextYear = new Date(0);
789
622
  fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);
@@ -806,7 +639,7 @@ function getUTCISOWeekYear(dirtyDate) {
806
639
  // See issue: https://github.com/date-fns/date-fns/issues/376
807
640
 
808
641
  function startOfUTCISOWeekYear(dirtyDate) {
809
- requiredArgs(1, arguments);
642
+ index.requiredArgs(1, arguments);
810
643
  var year = getUTCISOWeekYear(dirtyDate);
811
644
  var fourthOfJanuary = new Date(0);
812
645
  fourthOfJanuary.setUTCFullYear(year, 0, 4);
@@ -819,8 +652,8 @@ var MILLISECONDS_IN_WEEK$1 = 604800000; // This function will be a part of publi
819
652
  // See issue: https://github.com/date-fns/date-fns/issues/376
820
653
 
821
654
  function getUTCISOWeek(dirtyDate) {
822
- requiredArgs(1, arguments);
823
- var date = toDate(dirtyDate);
655
+ index.requiredArgs(1, arguments);
656
+ var date = index.toDate(dirtyDate);
824
657
  var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer
825
658
  // because the number of milliseconds in a week is not constant
826
659
  // (e.g. it's different in the week of the daylight saving time clock shift)
@@ -831,7 +664,7 @@ function getUTCISOWeek(dirtyDate) {
831
664
  // See issue: https://github.com/date-fns/date-fns/issues/376
832
665
 
833
666
  function startOfUTCWeek(dirtyDate, dirtyOptions) {
834
- requiredArgs(1, arguments);
667
+ index.requiredArgs(1, arguments);
835
668
  var options = dirtyOptions || {};
836
669
  var locale = options.locale;
837
670
  var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
@@ -842,7 +675,7 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
842
675
  throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
843
676
  }
844
677
 
845
- var date = toDate(dirtyDate);
678
+ var date = index.toDate(dirtyDate);
846
679
  var day = date.getUTCDay();
847
680
  var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
848
681
  date.setUTCDate(date.getUTCDate() - diff);
@@ -853,8 +686,8 @@ function startOfUTCWeek(dirtyDate, dirtyOptions) {
853
686
  // See issue: https://github.com/date-fns/date-fns/issues/376
854
687
 
855
688
  function getUTCWeekYear(dirtyDate, dirtyOptions) {
856
- requiredArgs(1, arguments);
857
- var date = toDate(dirtyDate, dirtyOptions);
689
+ index.requiredArgs(1, arguments);
690
+ var date = index.toDate(dirtyDate, dirtyOptions);
858
691
  var year = date.getUTCFullYear();
859
692
  var options = dirtyOptions || {};
860
693
  var locale = options.locale;
@@ -887,7 +720,7 @@ function getUTCWeekYear(dirtyDate, dirtyOptions) {
887
720
  // See issue: https://github.com/date-fns/date-fns/issues/376
888
721
 
889
722
  function startOfUTCWeekYear(dirtyDate, dirtyOptions) {
890
- requiredArgs(1, arguments);
723
+ index.requiredArgs(1, arguments);
891
724
  var options = dirtyOptions || {};
892
725
  var locale = options.locale;
893
726
  var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;
@@ -905,8 +738,8 @@ var MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public
905
738
  // See issue: https://github.com/date-fns/date-fns/issues/376
906
739
 
907
740
  function getUTCWeek(dirtyDate, options) {
908
- requiredArgs(1, arguments);
909
- var date = toDate(dirtyDate);
741
+ index.requiredArgs(1, arguments);
742
+ var date = index.toDate(dirtyDate);
910
743
  var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer
911
744
  // because the number of milliseconds in a week is not constant
912
745
  // (e.g. it's different in the week of the daylight saving time clock shift)
@@ -1043,12 +876,9 @@ exports.getUTCWeek = getUTCWeek;
1043
876
  exports.getUTCWeekYear = getUTCWeekYear;
1044
877
  exports.isProtectedDayOfYearToken = isProtectedDayOfYearToken;
1045
878
  exports.isProtectedWeekYearToken = isProtectedWeekYearToken;
1046
- exports.isValid = isValid;
1047
879
  exports.longFormatters = longFormatters$1;
1048
- exports.requiredArgs = requiredArgs;
1049
880
  exports.startOfUTCISOWeek = startOfUTCISOWeek;
1050
881
  exports.startOfUTCWeek = startOfUTCWeek;
1051
882
  exports.subMilliseconds = subMilliseconds;
1052
883
  exports.throwProtectedError = throwProtectedError;
1053
- exports.toDate = toDate;
1054
884
  exports.toInteger = toInteger;