@duetds/components 5.1.4 → 5.1.5
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.
- package/hydrate/index.js +132 -27
- package/lib/cjs/duet-action-button.cjs.entry.js +16 -5
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +104 -26
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-9ac6d246.js → focus-utils-a84555de.js} +1 -1
- package/lib/cjs/{index-c417c983.js → index-d5c2b63c.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-d1f8069b.js → token-utils-50a1f7e2.js} +15 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +14 -2
- package/lib/collection/components/duet-table/duet-table.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +136 -27
- package/lib/collection/components/duet-upload/upload-editable-item-pending.js +7 -0
- package/lib/collection/utils/token-utils.js +14 -0
- package/lib/custom-elements-bundle/index.js +133 -30
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-f650fa99.entry.js → p-032948e5.entry.js} +1 -1
- package/lib/duet/{p-b1375931.entry.js → p-04ac5c4e.entry.js} +1 -1
- package/lib/duet/{p-24c8d0df.entry.js → p-05092d95.entry.js} +1 -1
- package/lib/duet/{p-18d04f2e.system.entry.js → p-05ab59af.system.entry.js} +1 -1
- package/lib/duet/{p-4dace9be.system.entry.js → p-0dbd1f32.system.entry.js} +1 -1
- package/lib/duet/{p-24f41cb3.system.entry.js → p-0f1327c5.system.entry.js} +1 -1
- package/lib/duet/{p-4ae75bd5.entry.js → p-0f428b46.entry.js} +1 -1
- package/lib/duet/{p-f4943cc5.system.entry.js → p-111e56ea.system.entry.js} +1 -1
- package/lib/duet/{p-8a684ac7.system.entry.js → p-1271800f.system.entry.js} +1 -1
- package/lib/duet/{p-20c86cc5.system.entry.js → p-18137a51.system.entry.js} +1 -1
- package/lib/duet/{p-4a1a4d2d.system.entry.js → p-199b8120.system.entry.js} +1 -1
- package/lib/duet/{p-29b73b1b.system.entry.js → p-1eb573fd.system.entry.js} +1 -1
- package/lib/duet/{p-30371492.entry.js → p-1ef3c483.entry.js} +1 -1
- package/lib/duet/{p-e2074848.system.js → p-2271f8d5.system.js} +1 -1
- package/lib/duet/{p-8fa8bdab.system.entry.js → p-258f3ccc.system.entry.js} +1 -1
- package/lib/duet/{p-47053a5e.entry.js → p-26294067.entry.js} +1 -1
- package/lib/duet/p-2879eb73.entry.js +4 -0
- package/lib/duet/{p-b49f89cf.system.entry.js → p-28ee491f.system.entry.js} +1 -1
- package/lib/duet/{p-5ff75ab0.entry.js → p-33e5acf3.entry.js} +1 -1
- package/lib/duet/{p-f597ccbb.system.entry.js → p-3b316fee.system.entry.js} +1 -1
- package/lib/duet/{p-2aeb9bd2.system.entry.js → p-3e654074.system.entry.js} +1 -1
- package/lib/duet/{p-e8340671.entry.js → p-3f0c0460.entry.js} +1 -1
- package/lib/duet/{p-078fcf7c.system.entry.js → p-4017ddb2.system.entry.js} +1 -1
- package/lib/duet/{p-ecf2860f.entry.js → p-41582a97.entry.js} +1 -1
- package/lib/duet/{p-bf95adc2.entry.js → p-45753e58.entry.js} +1 -1
- package/lib/duet/{p-e6aa9737.entry.js → p-45805cfc.entry.js} +1 -1
- package/lib/duet/{p-3956c0b8.system.entry.js → p-45aef220.system.entry.js} +1 -1
- package/lib/duet/{p-3f4ea241.entry.js → p-45e5f4f4.entry.js} +1 -1
- package/lib/duet/{p-be6e164e.system.entry.js → p-46917bfa.system.entry.js} +1 -1
- package/lib/duet/{p-b1039960.system.entry.js → p-4c080f56.system.entry.js} +1 -1
- package/lib/duet/{p-37a36786.entry.js → p-4d4ad632.entry.js} +1 -1
- package/lib/duet/{p-0e2e056f.system.entry.js → p-5265e0d0.system.entry.js} +1 -1
- package/lib/duet/{p-1e5f2840.entry.js → p-5742b705.entry.js} +1 -1
- package/lib/duet/{p-89042509.system.entry.js → p-5ce17df4.system.entry.js} +1 -1
- package/lib/duet/{p-ab84084f.entry.js → p-5ecfc1ad.entry.js} +1 -1
- package/lib/duet/p-6190e2d6.system.js +4 -0
- package/lib/duet/{p-e6eb55cf.system.entry.js → p-62e99b72.system.entry.js} +1 -1
- package/lib/duet/{p-e15afaf5.system.entry.js → p-67c75f37.system.entry.js} +1 -1
- package/lib/duet/{p-0356ed8e.entry.js → p-696fb340.entry.js} +1 -1
- package/lib/duet/{p-78d2dfc8.system.entry.js → p-6d480ff6.system.entry.js} +1 -1
- package/lib/duet/{p-6440fa65.entry.js → p-740f3d97.entry.js} +1 -1
- package/lib/duet/p-746c8ba5.js +4 -0
- package/lib/duet/{p-9ce054f9.system.entry.js → p-75d1f821.system.entry.js} +1 -1
- package/lib/duet/{p-f8b1afeb.system.entry.js → p-76733981.system.entry.js} +1 -1
- package/lib/duet/p-7c1b3583.entry.js +4 -0
- package/lib/duet/{p-212f7cf5.entry.js → p-7dfb2869.entry.js} +1 -1
- package/lib/duet/{p-d4d7c619.entry.js → p-817aaa83.entry.js} +1 -1
- package/lib/duet/{p-445d538d.entry.js → p-820f1caa.entry.js} +1 -1
- package/lib/duet/p-83e6a536.system.entry.js +4 -0
- package/lib/duet/{p-b6e0ea1d.entry.js → p-84603769.entry.js} +1 -1
- package/lib/duet/{p-ec1797d8.entry.js → p-85a02775.entry.js} +1 -1
- package/lib/duet/{p-b78ab2f5.system.js → p-88ad1951.system.js} +1 -1
- package/lib/duet/{p-ec06dc8c.system.entry.js → p-9601701a.system.entry.js} +1 -1
- package/lib/duet/{p-460e6137.system.entry.js → p-96bd1cbc.system.entry.js} +1 -1
- package/lib/duet/{p-bd8c5946.entry.js → p-987b7532.entry.js} +1 -1
- package/lib/duet/{p-4cab1ba4.system.entry.js → p-9af6ba66.system.entry.js} +1 -1
- package/lib/duet/{p-b2dfc5bd.system.entry.js → p-9bfffd81.system.entry.js} +1 -1
- package/lib/duet/p-9cca0bb4.js +4 -0
- package/lib/duet/{p-e7f60c95.system.entry.js → p-9ecaa83e.system.entry.js} +1 -1
- package/lib/duet/{p-f2f17151.system.entry.js → p-a08af4d9.system.entry.js} +1 -1
- package/lib/duet/{p-e0e35d41.js → p-a31268d6.js} +1 -1
- package/lib/duet/{p-efeac1a1.entry.js → p-a712a800.entry.js} +1 -1
- package/lib/duet/{p-37217e63.entry.js → p-aea39e5a.entry.js} +1 -1
- package/lib/duet/p-b5a180e9.system.entry.js +4 -0
- package/lib/duet/{p-472da63a.system.entry.js → p-bddd664d.system.entry.js} +1 -1
- package/lib/duet/{p-87900286.entry.js → p-c0086352.entry.js} +1 -1
- package/lib/duet/{p-9d681426.system.entry.js → p-c2ac1fab.system.entry.js} +1 -1
- package/lib/duet/{p-4c74be13.system.entry.js → p-c8ad170c.system.entry.js} +1 -1
- package/lib/duet/{p-9f3c3af5.system.entry.js → p-ca57d285.system.entry.js} +1 -1
- package/lib/duet/{p-7af28ef6.entry.js → p-cc2204e6.entry.js} +1 -1
- package/lib/duet/{p-4d95a973.entry.js → p-cc37da81.entry.js} +1 -1
- package/lib/duet/{p-1862208a.system.entry.js → p-d41db290.system.entry.js} +1 -1
- package/lib/duet/{p-4bbd7a9c.entry.js → p-dab4fba0.entry.js} +1 -1
- package/lib/duet/{p-78ccd8fa.entry.js → p-db79c34d.entry.js} +1 -1
- package/lib/duet/{p-85e8d34e.system.entry.js → p-dbb107d3.system.entry.js} +1 -1
- package/lib/duet/{p-99187a3a.system.js → p-e133d744.system.js} +1 -1
- package/lib/duet/{p-2e959285.system.entry.js → p-e1a86fe6.system.entry.js} +1 -1
- package/lib/duet/{p-553366aa.entry.js → p-e3882375.entry.js} +1 -1
- package/lib/duet/{p-9bf95a5d.entry.js → p-ea9ebc20.entry.js} +1 -1
- package/lib/duet/{p-b7e592bf.entry.js → p-eb779add.entry.js} +1 -1
- package/lib/duet/{p-71d151e6.entry.js → p-ebf20912.entry.js} +1 -1
- package/lib/duet/{p-a980e270.system.entry.js → p-ec0d8fa3.system.entry.js} +1 -1
- package/lib/duet/{p-9903055f.system.entry.js → p-ed747a10.system.entry.js} +1 -1
- package/lib/duet/{p-9c9947a8.entry.js → p-ef5be208.entry.js} +1 -1
- package/lib/duet/{p-2000ef23.entry.js → p-f3f0db95.entry.js} +1 -1
- package/lib/duet/{p-4df9144d.system.entry.js → p-f3f1d874.system.entry.js} +1 -1
- package/lib/duet/{p-64611b86.entry.js → p-f4f18841.entry.js} +1 -1
- package/lib/duet/{p-3474c348.entry.js → p-fc0e878a.entry.js} +1 -1
- package/lib/duet/{p-2fd66459.entry.js → p-fc29251a.entry.js} +1 -1
- package/lib/duet/{p-b8e8a024.entry.js → p-fdb59ab3.entry.js} +1 -1
- package/lib/duet/{p-6144a827.system.entry.js → p-ff56790f.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +16 -5
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +2 -2
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +104 -26
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +2 -2
- package/lib/esm/{focus-utils-bcb5b759.js → focus-utils-b869910b.js} +1 -1
- package/lib/esm/{index-7dc1fa94.js → index-1e15387b.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm/{token-utils-f3b5f7a8.js → token-utils-1f9435bc.js} +15 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-b869910b.js +4 -0
- package/lib/esm-es5/{index-7dc1fa94.js → index-1e15387b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/token-utils-1f9435bc.js +4 -0
- package/lib/html.html-data.json +7 -3
- package/lib/types/components/duet-upload/duet-upload.d.ts +18 -1
- package/lib/types/components/duet-upload/upload-editable-item-pending.d.ts +6 -0
- package/lib/types/components.d.ts +14 -2
- package/lib/types/utils/token-utils.d.ts +1 -0
- package/package.json +5 -5
- package/lib/duet/p-32774c23.system.entry.js +0 -4
- package/lib/duet/p-41e4f10e.entry.js +0 -4
- package/lib/duet/p-50363944.js +0 -4
- package/lib/duet/p-7212c87c.entry.js +0 -4
- package/lib/duet/p-81ccf6d6.system.entry.js +0 -4
- package/lib/duet/p-9eaccbf3.system.js +0 -4
- package/lib/duet/p-e918a990.js +0 -4
- package/lib/esm-es5/focus-utils-bcb5b759.js +0 -4
- package/lib/esm-es5/token-utils-f3b5f7a8.js +0 -4
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const jsUtils = require('./js-utils-be1d29ae.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
11
11
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
@@ -310,7 +310,7 @@ const DuetTable = class {
|
|
|
310
310
|
// this clears all pending mutations,
|
|
311
311
|
// that way we avoid dealing with any initial changes
|
|
312
312
|
// and only get genuine mutations as rows are added/removed
|
|
313
|
-
this.observer.takeRecords();
|
|
313
|
+
this.observer ? this.observer.takeRecords() : null;
|
|
314
314
|
}
|
|
315
315
|
disconnectedCallback() {
|
|
316
316
|
this.observer.disconnect();
|
|
@@ -523,6 +523,10 @@ const ProgressItem = ({ progress, name }) => (index.h("span", null,
|
|
|
523
523
|
index.h("duet-spacer", { size: "xx-small" }),
|
|
524
524
|
index.h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
|
|
525
525
|
|
|
526
|
+
const PendingItem = ({ name }) => (index.h("span", null,
|
|
527
|
+
index.h("duet-paragraph", { color: "secondary", margin: "none", size: "small" }, name),
|
|
528
|
+
index.h("duet-spacer", { size: "xx-small" })));
|
|
529
|
+
|
|
526
530
|
const formatBytes = (bytes, decimals = 2) => {
|
|
527
531
|
if (bytes === 0) {
|
|
528
532
|
return "0 Bytes";
|
|
@@ -700,9 +704,13 @@ const DuetUpload = class {
|
|
|
700
704
|
* it will be up to you to handle the upload and return progress information to the upload-component
|
|
701
705
|
*/
|
|
702
706
|
this.external = false;
|
|
707
|
+
/**
|
|
708
|
+
* If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
|
|
709
|
+
*/
|
|
710
|
+
this.deferUpload = false;
|
|
703
711
|
/**
|
|
704
712
|
* If set the upload component will not display an upload button, you will have to create one yourself
|
|
705
|
-
* and call the exposed method startUpload
|
|
713
|
+
* and call the exposed method startUpload to open the upload dialog
|
|
706
714
|
*/
|
|
707
715
|
this.hideButton = false;
|
|
708
716
|
/**
|
|
@@ -715,7 +723,7 @@ const DuetUpload = class {
|
|
|
715
723
|
size: "x-small",
|
|
716
724
|
background: "gray-lightest",
|
|
717
725
|
name: "delete",
|
|
718
|
-
map: ["success", "failure"],
|
|
726
|
+
map: ["success", "failure", "pending"],
|
|
719
727
|
label: {
|
|
720
728
|
fi: "Poista tiedosto",
|
|
721
729
|
en: "Poista tiedosto",
|
|
@@ -969,6 +977,7 @@ const DuetUpload = class {
|
|
|
969
977
|
this.DefaultGroups = {
|
|
970
978
|
inprogress: "inprogress",
|
|
971
979
|
success: "success",
|
|
980
|
+
pending: "pending",
|
|
972
981
|
failure: "failure",
|
|
973
982
|
};
|
|
974
983
|
/**
|
|
@@ -985,6 +994,14 @@ const DuetUpload = class {
|
|
|
985
994
|
en: "Files inprogress",
|
|
986
995
|
},
|
|
987
996
|
},
|
|
997
|
+
{
|
|
998
|
+
id: this.DefaultGroups.pending,
|
|
999
|
+
label: {
|
|
1000
|
+
en: "Files to upload",
|
|
1001
|
+
sv: "Filer att ladda",
|
|
1002
|
+
fi: "Tiedostot ladattavat",
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
988
1005
|
{
|
|
989
1006
|
id: this.DefaultGroups.success,
|
|
990
1007
|
label: {
|
|
@@ -1012,7 +1029,6 @@ const DuetUpload = class {
|
|
|
1012
1029
|
this.element.addEventListener("duetActionEvent", (e) => {
|
|
1013
1030
|
const detail = e.detail;
|
|
1014
1031
|
const { action, id, originalEvent } = detail;
|
|
1015
|
-
console.log(e);
|
|
1016
1032
|
switch (action) {
|
|
1017
1033
|
case "delete":
|
|
1018
1034
|
this.onDelete(id, originalEvent);
|
|
@@ -1040,9 +1056,6 @@ const DuetUpload = class {
|
|
|
1040
1056
|
if (item.valid && item.progress === 100) {
|
|
1041
1057
|
// if the item has a group, move the file to that group instead
|
|
1042
1058
|
// of into the standard success group
|
|
1043
|
-
if (item.group) {
|
|
1044
|
-
return item.group;
|
|
1045
|
-
}
|
|
1046
1059
|
return this.DefaultGroups.success;
|
|
1047
1060
|
}
|
|
1048
1061
|
else if (item.progress > 0 && item.progress !== 100) {
|
|
@@ -1051,6 +1064,9 @@ const DuetUpload = class {
|
|
|
1051
1064
|
else if (!item.valid) {
|
|
1052
1065
|
return this.DefaultGroups.failure;
|
|
1053
1066
|
}
|
|
1067
|
+
else if (item.pending) {
|
|
1068
|
+
return this.DefaultGroups.pending;
|
|
1069
|
+
}
|
|
1054
1070
|
else if (item.group) {
|
|
1055
1071
|
return item.group;
|
|
1056
1072
|
}
|
|
@@ -1065,6 +1081,9 @@ const DuetUpload = class {
|
|
|
1065
1081
|
else if (group === this.DefaultGroups.inprogress) {
|
|
1066
1082
|
return index.h(ProgressItem, { progress: data.progress, name: data.item.name });
|
|
1067
1083
|
}
|
|
1084
|
+
else if (group === this.DefaultGroups.pending) {
|
|
1085
|
+
return index.h(PendingItem, { name: data.item.name });
|
|
1086
|
+
}
|
|
1068
1087
|
else if (group === this.DefaultGroups.failure) {
|
|
1069
1088
|
return index.h(ErrorItem, { data: data });
|
|
1070
1089
|
}
|
|
@@ -1077,9 +1096,16 @@ const DuetUpload = class {
|
|
|
1077
1096
|
};
|
|
1078
1097
|
this.genHashName = () => Date.now().toString(36) + Math.random();
|
|
1079
1098
|
this.updateValueInMap = (item, key, value, kick = true) => {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1099
|
+
try {
|
|
1100
|
+
const fileItem = this.files.get(item);
|
|
1101
|
+
fileItem[key] = value;
|
|
1102
|
+
this.files.set(item, fileItem);
|
|
1103
|
+
}
|
|
1104
|
+
catch (e) {
|
|
1105
|
+
// if a users tries to update entries on a file that doesn't exist,
|
|
1106
|
+
// this will blow up - so we're swallowing the errors here on purpose
|
|
1107
|
+
// console.warn("operation on missing items")
|
|
1108
|
+
}
|
|
1083
1109
|
if (kick) {
|
|
1084
1110
|
this.kick();
|
|
1085
1111
|
}
|
|
@@ -1197,6 +1223,46 @@ const DuetUpload = class {
|
|
|
1197
1223
|
fileMaxReached: isTotalFileAmountAboveMax,
|
|
1198
1224
|
};
|
|
1199
1225
|
};
|
|
1226
|
+
this.uploadFile = async (fileListItem, force = false, key) => {
|
|
1227
|
+
if (!force && this.deferUpload) {
|
|
1228
|
+
this.updateValueInMap(fileListItem.item.name, "pending", true, false);
|
|
1229
|
+
this.updateValueInMap(fileListItem.item.name, "group", "pending", true);
|
|
1230
|
+
}
|
|
1231
|
+
else if (force) {
|
|
1232
|
+
this.updateValueInMap(fileListItem.item.name, "pending", false, false);
|
|
1233
|
+
this.updateValueInMap(fileListItem.item.name, "group", undefined, true);
|
|
1234
|
+
}
|
|
1235
|
+
try {
|
|
1236
|
+
if (!this.deferUpload || force) {
|
|
1237
|
+
// if all is well AND external file upload handling has not been set, start upload
|
|
1238
|
+
const data = new FormData();
|
|
1239
|
+
data.append("file", fileListItem.item);
|
|
1240
|
+
if (key) {
|
|
1241
|
+
data.append("key", key);
|
|
1242
|
+
}
|
|
1243
|
+
data.append("uid", fileListItem.uid);
|
|
1244
|
+
data.append("name", fileListItem.item.name);
|
|
1245
|
+
data.append("metadata", JSON.stringify({
|
|
1246
|
+
uid: fileListItem.uid,
|
|
1247
|
+
url: this.uri,
|
|
1248
|
+
size: fileListItem.item.size,
|
|
1249
|
+
meta: fileListItem.meta,
|
|
1250
|
+
}));
|
|
1251
|
+
fileListItem.xhr = await this.makeXHRPostRequest(data);
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
catch (e) {
|
|
1255
|
+
// in case one of the global maxes have been reached, invalidate the file
|
|
1256
|
+
this.updateValueInMap(fileListItem.item.name, "valid", false, false);
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
this.uploadPendingFiles = () => {
|
|
1260
|
+
for (const [key, value] of this.files.entries()) {
|
|
1261
|
+
if (value.group === "pending" && value.pending === true) {
|
|
1262
|
+
this.uploadFile(value, true, key);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1200
1266
|
this.getItemFromUID = (uid) => {
|
|
1201
1267
|
for (const [key, value] of this.files.entries()) {
|
|
1202
1268
|
if (value.uid === uid) {
|
|
@@ -1206,7 +1272,8 @@ const DuetUpload = class {
|
|
|
1206
1272
|
return null;
|
|
1207
1273
|
};
|
|
1208
1274
|
this.onDelete = (key, ev) => {
|
|
1209
|
-
const
|
|
1275
|
+
const item = this.getItemFromUID(key);
|
|
1276
|
+
const retrievedKey = item.key;
|
|
1210
1277
|
const deletedItem = this.files.get(retrievedKey);
|
|
1211
1278
|
this.files.delete(retrievedKey);
|
|
1212
1279
|
this.validateTotals();
|
|
@@ -1216,7 +1283,8 @@ const DuetUpload = class {
|
|
|
1216
1283
|
data: { deletion: deletedItem },
|
|
1217
1284
|
component: "duet-upload",
|
|
1218
1285
|
});
|
|
1219
|
-
if
|
|
1286
|
+
// don't send a xhr request if the item was pending, just remove it from the list
|
|
1287
|
+
if (!this.external && !deletedItem.pending) {
|
|
1220
1288
|
this.makeXHRDeleteRequest(deletedItem);
|
|
1221
1289
|
}
|
|
1222
1290
|
this.resetFormFields();
|
|
@@ -1281,6 +1349,7 @@ const DuetUpload = class {
|
|
|
1281
1349
|
const all = [...this.files.values()];
|
|
1282
1350
|
const inprogress = [];
|
|
1283
1351
|
const failure = [];
|
|
1352
|
+
const pending = [];
|
|
1284
1353
|
const success = [];
|
|
1285
1354
|
all.forEach(data => {
|
|
1286
1355
|
const group = this.getGroupFromItemData(data);
|
|
@@ -1299,6 +1368,13 @@ const DuetUpload = class {
|
|
|
1299
1368
|
group,
|
|
1300
1369
|
});
|
|
1301
1370
|
}
|
|
1371
|
+
else if (group === this.DefaultGroups.pending) {
|
|
1372
|
+
pending.push({
|
|
1373
|
+
uid: data.uid,
|
|
1374
|
+
item,
|
|
1375
|
+
group,
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1302
1378
|
else if (group === this.DefaultGroups.failure) {
|
|
1303
1379
|
failure.push({
|
|
1304
1380
|
uid: data.uid,
|
|
@@ -1316,6 +1392,7 @@ const DuetUpload = class {
|
|
|
1316
1392
|
});
|
|
1317
1393
|
return {
|
|
1318
1394
|
inprogress,
|
|
1395
|
+
pending,
|
|
1319
1396
|
failure,
|
|
1320
1397
|
success,
|
|
1321
1398
|
};
|
|
@@ -1389,6 +1466,12 @@ const DuetUpload = class {
|
|
|
1389
1466
|
this.nativeInput.click();
|
|
1390
1467
|
return;
|
|
1391
1468
|
}
|
|
1469
|
+
/**
|
|
1470
|
+
* Method for uploading pending files
|
|
1471
|
+
*/
|
|
1472
|
+
async uploadPending() {
|
|
1473
|
+
this.uploadPendingFiles();
|
|
1474
|
+
}
|
|
1392
1475
|
/**
|
|
1393
1476
|
* Method for forcing a render of the upload list, element.files can be changed externally
|
|
1394
1477
|
* But it will only rerender on a new Map or a top Level change - this can be used to update
|
|
@@ -1527,19 +1610,14 @@ const DuetUpload = class {
|
|
|
1527
1610
|
this.updateValueInMap(item.name, "valid", false, false);
|
|
1528
1611
|
}
|
|
1529
1612
|
else if (valid && !this.external) {
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1539
|
-
catch (e) {
|
|
1540
|
-
// in case one of the global maxes have been reached, invalidate the file
|
|
1541
|
-
this.updateValueInMap(item.name, "valid", false, false);
|
|
1542
|
-
}
|
|
1613
|
+
await this.uploadFile(fileListItem);
|
|
1614
|
+
}
|
|
1615
|
+
else if (valid && this.external) {
|
|
1616
|
+
this.updateValueInMap(fileListItem.item.name, "pending", true, false);
|
|
1617
|
+
this.updateValueInMap(fileListItem.item.name, "group", "pending", true);
|
|
1618
|
+
}
|
|
1619
|
+
else if (!valid) {
|
|
1620
|
+
this.updateValueInMap(item.name, "valid", false, true);
|
|
1543
1621
|
}
|
|
1544
1622
|
// kick the stat to force update
|
|
1545
1623
|
this.kick();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
10
10
|
|
|
11
11
|
const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:#00294d;text-align:center;background:#f5f8fa;border-radius:4px}.duet-empty-state.duet-theme-turva{color:#171c3a;background:#f5f5f7}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
|
|
10
10
|
const actionArrowRightSmall = require('./action-arrow-right-small-a25eb475.js');
|
|
11
11
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const tokens = require('./tokens-29450bcb.js');
|
|
10
10
|
const watchOptions = require('./watch-options-d88afac0.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const formSearch = require('./form-search-d61b2843.js');
|
|
10
10
|
const tokens = require('./tokens-29450bcb.js');
|
|
11
11
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-6ef1142a.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
10
10
|
const commonStrings = require('./common-strings-de17f887.js');
|
|
11
11
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
10
|
-
const tokenUtils = require('./token-utils-
|
|
10
|
+
const tokenUtils = require('./token-utils-50a1f7e2.js');
|
|
11
11
|
require('./tokens.module-ef598645.js');
|
|
12
12
|
|
|
13
13
|
const cleanupSvg = (svgContent) => {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const formSearch = require('./form-search-d61b2843.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const inputUtils = require('./input-utils-b5e8f524.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const isInternetExplorer = require('./is-internet-explorer-91361c56.js');
|
|
10
10
|
|
|
11
11
|
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-layout-has-top{margin-top:0}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%;margin:72px auto 0}.duet-layout-top.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
10
10
|
const watchOptions = require('./watch-options-d88afac0.js');
|
|
11
11
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-6ef1142a.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
|
-
const focusUtils = require('./focus-utils-
|
|
11
|
+
const focusUtils = require('./focus-utils-a84555de.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
13
13
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
14
14
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
11
11
|
const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
11
11
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const jsUtils = require('./js-utils-be1d29ae.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
11
11
|
const watchOptions = require('./watch-options-d88afac0.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const tokens_module = require('./tokens.module-ef598645.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const isInternetExplorer = require('./is-internet-explorer-91361c56.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
10
10
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
11
11
|
const createId = require('./create-id-c3b984b1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const stringUtils = require('./string-utils-5cadd058.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-bb32119b.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const inputUtils = require('./input-utils-b5e8f524.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const createId = require('./create-id-c3b984b1.js');
|
|
10
10
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-940d3b50.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
const tokens_module = require('./tokens.module-ef598645.js');
|
|
10
10
|
const createId = require('./create-id-c3b984b1.js');
|
|
11
11
|
const languageUtils = require('./language-utils-4f62a7db.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-d5c2b63c.js');
|
|
9
9
|
|
|
10
10
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
|
|
11
11
|
|