@carbon/web-components 2.0.2-rc.0 → 2.0.2-rc.1
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/dist/16-01ebcb7f.js +50 -0
- package/dist/16-08c7b6ab.js +50 -0
- package/dist/16-1664e172.js +50 -0
- package/dist/16-1c0007f3.js +50 -0
- package/dist/16-20c5edc1.js +50 -0
- package/dist/16-220724e0.js +50 -0
- package/dist/16-228e7358.js +50 -0
- package/dist/16-291af4c1.js +50 -0
- package/dist/16-36ae18bf.js +50 -0
- package/dist/16-3b37b4ba.js +50 -0
- package/dist/16-46b03826.js +50 -0
- package/dist/16-5aefc3c2.js +50 -0
- package/dist/16-60b422c4.js +50 -0
- package/dist/16-6791071b.js +50 -0
- package/dist/16-6ceb5b82.js +50 -0
- package/dist/16-758bd5d3.js +50 -0
- package/dist/16-99afca88.js +50 -0
- package/dist/16-9e41b122.js +50 -0
- package/dist/16-9f0fa955.js +50 -0
- package/dist/16-a89c399c.js +50 -0
- package/dist/16-ae0e9a56.js +50 -0
- package/dist/16-c0c1a32f.js +50 -0
- package/dist/16-c18899be.js +50 -0
- package/dist/16-c56d8c15.js +50 -0
- package/dist/16-d814df5b.js +50 -0
- package/dist/16-d9457893.js +50 -0
- package/dist/16-d9a15472.js +50 -0
- package/dist/16-f1e0111b.js +50 -0
- package/dist/16-f62d4131.js +50 -0
- package/dist/16-f7a9dffe.js +50 -0
- package/dist/16-fbf142c7.js +50 -0
- package/dist/16-fd11e4ec.js +50 -0
- package/dist/20-1dd5ae57.js +50 -0
- package/dist/20-b7ed64f4.js +50 -0
- package/dist/20-d7cf1679.js +50 -0
- package/dist/20-e51c1f39.js +50 -0
- package/dist/accordion.min.js +103 -0
- package/dist/accordion.rtl.min.js +103 -0
- package/dist/breadcrumb.min.js +64 -0
- package/dist/breadcrumb.rtl.min.js +64 -0
- package/dist/button-3dafe360.js +114 -0
- package/dist/button-582a2f3a.js +114 -0
- package/dist/button-8d4316cb.js +114 -0
- package/dist/button-e33e1c4a.js +114 -0
- package/dist/button-set-04f29086.js +50 -0
- package/dist/button-set-49c4279d.js +50 -0
- package/dist/button-set-5ee221b2.js +50 -0
- package/dist/button-set-c9335535.js +50 -0
- package/dist/button-skeleton-00620289.js +70 -0
- package/dist/button-skeleton-b2facaf2.js +70 -0
- package/dist/button-skeleton-d68066fe.js +70 -0
- package/dist/button-skeleton-f9f83011.js +70 -0
- package/dist/button.min.js +50 -0
- package/dist/button.rtl.min.js +50 -0
- package/dist/carbon-element-4ca9803f.js +58 -0
- package/dist/checkbox-1ca3f18c.js +72 -0
- package/dist/checkbox-1e621c4d.js +72 -0
- package/dist/checkbox-440be135.js +72 -0
- package/dist/checkbox-fa74151f.js +72 -0
- package/dist/checkbox.min.js +56 -0
- package/dist/checkbox.rtl.min.js +56 -0
- package/dist/class-map-0ae732f6.js +55 -0
- package/dist/class-map-ff7e8fde.js +55 -0
- package/dist/code-snippet.min.js +115 -0
- package/dist/code-snippet.rtl.min.js +115 -0
- package/dist/collection-helpers-4e32fe16.js +58 -0
- package/dist/combo-box.min.js +72 -0
- package/dist/combo-box.rtl.min.js +72 -0
- package/dist/content-switcher-item-55b2adca.js +84 -0
- package/dist/content-switcher-item-6d9b81cf.js +84 -0
- package/dist/content-switcher-item-bee4ce7e.js +84 -0
- package/dist/content-switcher-item-f758c238.js +84 -0
- package/dist/content-switcher.min.js +50 -0
- package/dist/content-switcher.rtl.min.js +50 -0
- package/dist/copy-button-0404162f.js +63 -0
- package/dist/copy-button-1d23e1bd.js +63 -0
- package/dist/copy-button-cf261260.js +63 -0
- package/dist/copy-button-d35b2079.js +63 -0
- package/dist/copy-button.min.js +50 -0
- package/dist/copy-button.rtl.min.js +50 -0
- package/dist/custom-element-975be15f.js +55 -0
- package/dist/data-table.min.js +169 -0
- package/dist/data-table.rtl.min.js +169 -0
- package/dist/date-picker.min.js +169 -0
- package/dist/date-picker.rtl.min.js +169 -0
- package/dist/directive-e2d48b9c.js +55 -0
- package/dist/dropdown-item-2ae1dc7f.js +128 -0
- package/dist/dropdown-item-64bf0a4f.js +128 -0
- package/dist/dropdown-item-7273edb2.js +128 -0
- package/dist/dropdown-item-cdd1a116.js +128 -0
- package/dist/dropdown.min.js +57 -0
- package/dist/dropdown.rtl.min.js +57 -0
- package/dist/file-uploader.min.js +128 -0
- package/dist/file-uploader.rtl.min.js +128 -0
- package/dist/floating-menu-1795f0f3.js +58 -0
- package/dist/floating-menu-26d746d4.js +58 -0
- package/dist/floating-menu.min.js +50 -0
- package/dist/floating-menu.rtl.min.js +50 -0
- package/dist/focus-4a59e420.js +58 -0
- package/dist/focus-e79b2a40.js +58 -0
- package/dist/form-54a62766.js +50 -0
- package/dist/form-f6607c5c.js +50 -0
- package/dist/form-group.min.js +61 -0
- package/dist/form-group.rtl.min.js +61 -0
- package/dist/form.min.js +50 -0
- package/dist/form.rtl.min.js +50 -0
- package/dist/get-d229c408.js +50 -0
- package/dist/host-listener-0e75581e.js +58 -0
- package/dist/host-listener-42fdb22d.js +58 -0
- package/dist/icon-button-32eafa9f.js +71 -0
- package/dist/icon-button-334ed010.js +71 -0
- package/dist/icon-button-6974bc9a.js +71 -0
- package/dist/icon-button-8f6cac1e.js +71 -0
- package/dist/icon-button.min.js +50 -0
- package/dist/icon-button.rtl.min.js +50 -0
- package/dist/if-defined-2063a6b2.js +55 -0
- package/dist/if-defined-5b102a7a.js +55 -0
- package/dist/if-non-empty-3cac5484.js +58 -0
- package/dist/if-non-empty-f97d9ca3.js +58 -0
- package/dist/inline-loading.min.js +69 -0
- package/dist/inline-loading.rtl.min.js +69 -0
- package/dist/layer.min.js +50 -0
- package/dist/layer.rtl.min.js +50 -0
- package/dist/link-40eed54e.js +74 -0
- package/dist/link-42b684df.js +74 -0
- package/dist/link.min.js +50 -0
- package/dist/link.rtl.min.js +50 -0
- package/dist/list.min.js +65 -0
- package/dist/list.rtl.min.js +65 -0
- package/dist/loading-38056720.js +50 -0
- package/dist/loading-3aa24148.js +50 -0
- package/dist/loading-638b469c.js +50 -0
- package/dist/loading-dadfb60c.js +50 -0
- package/dist/loading-icon-5f6382df.js +82 -0
- package/dist/loading-icon-64a5114e.js +82 -0
- package/dist/loading.min.js +50 -0
- package/dist/loading.rtl.min.js +50 -0
- package/dist/modal.min.js +87 -0
- package/dist/modal.rtl.min.js +87 -0
- package/dist/multi-select.min.js +119 -0
- package/dist/multi-select.rtl.min.js +119 -0
- package/dist/notification.min.js +119 -0
- package/dist/notification.rtl.min.js +119 -0
- package/dist/number-input.min.js +130 -0
- package/dist/number-input.rtl.min.js +130 -0
- package/dist/objectSpread2-8208d45c.js +50 -0
- package/dist/objectSpread2-ea408269.js +50 -0
- package/dist/on-6c264d49.js +50 -0
- package/dist/overflow-menu.min.js +77 -0
- package/dist/overflow-menu.rtl.min.js +77 -0
- package/dist/pagination.min.js +142 -0
- package/dist/pagination.rtl.min.js +142 -0
- package/dist/popover-content-091b39e0.js +61 -0
- package/dist/popover-content-9e3bbe49.js +61 -0
- package/dist/popover-content-b376ac06.js +61 -0
- package/dist/popover-content-f183f37a.js +61 -0
- package/dist/popover.min.js +50 -0
- package/dist/popover.rtl.min.js +50 -0
- package/dist/progress-bar.min.js +79 -0
- package/dist/progress-bar.rtl.min.js +79 -0
- package/dist/progress-indicator.min.js +87 -0
- package/dist/progress-indicator.rtl.min.js +87 -0
- package/dist/query-6ca5e414.js +55 -0
- package/dist/query-assigned-elements-8e88277c.js +60 -0
- package/dist/radio-button.min.js +89 -0
- package/dist/radio-button.rtl.min.js +89 -0
- package/dist/radio-group-manager-3a681292.js +58 -0
- package/dist/radio-group-manager-f79f750e.js +58 -0
- package/dist/search-28dbefa9.js +79 -0
- package/dist/search-45d09092.js +79 -0
- package/dist/search-63dc2971.js +79 -0
- package/dist/search-f633f8c0.js +79 -0
- package/dist/search.min.js +53 -0
- package/dist/search.rtl.min.js +53 -0
- package/dist/select-item-355b65a2.js +50 -0
- package/dist/select-item-ac48969e.js +50 -0
- package/dist/select.min.js +121 -0
- package/dist/select.rtl.min.js +121 -0
- package/dist/settings-a675998f.js +80 -0
- package/dist/settings-daf72103.js +80 -0
- package/dist/shared-enums-c6fe8c39.js +58 -0
- package/dist/skeleton-placeholder.min.js +50 -0
- package/dist/skeleton-placeholder.rtl.min.js +50 -0
- package/dist/skeleton-text-3f580931.js +58 -0
- package/dist/skeleton-text-5cfb8d17.js +58 -0
- package/dist/skeleton-text-bb615714.js +58 -0
- package/dist/skeleton-text-e6700c4b.js +58 -0
- package/dist/skeleton-text.min.js +50 -0
- package/dist/skeleton-text.rtl.min.js +50 -0
- package/dist/skip-to-content.min.js +54 -0
- package/dist/skip-to-content.rtl.min.js +54 -0
- package/dist/slider.min.js +125 -0
- package/dist/slider.rtl.min.js +125 -0
- package/dist/slug.min.js +84 -0
- package/dist/slug.rtl.min.js +84 -0
- package/dist/spread-6bfe3826.js +58 -0
- package/dist/spread-eaa3f2b9.js +58 -0
- package/dist/stack.min.js +59 -0
- package/dist/stack.rtl.min.js +59 -0
- package/dist/state-63312e74.js +55 -0
- package/dist/structured-list.min.js +68 -0
- package/dist/structured-list.rtl.min.js +68 -0
- package/dist/tabs.min.js +114 -0
- package/dist/tabs.rtl.min.js +114 -0
- package/dist/tag.min.js +71 -0
- package/dist/tag.rtl.min.js +71 -0
- package/dist/text-input-08a8a922.js +119 -0
- package/dist/text-input-45ea7bf7.js +119 -0
- package/dist/text-input-4616af44.js +119 -0
- package/dist/text-input-6d08528b.js +119 -0
- package/dist/text-input.min.js +53 -0
- package/dist/text-input.rtl.min.js +53 -0
- package/dist/textarea.min.js +95 -0
- package/dist/textarea.rtl.min.js +95 -0
- package/dist/tile.min.js +106 -0
- package/dist/tile.rtl.min.js +106 -0
- package/dist/toggle-tip.min.js +50 -0
- package/dist/toggle-tip.rtl.min.js +50 -0
- package/dist/toggle.min.js +92 -0
- package/dist/toggle.rtl.min.js +92 -0
- package/dist/toggletip-0aa429db.js +90 -0
- package/dist/toggletip-0c43069a.js +90 -0
- package/dist/toggletip-6a368ecf.js +90 -0
- package/dist/toggletip-f3e84381.js +90 -0
- package/dist/tooltip-content-2470a2af.js +52 -0
- package/dist/tooltip-content-267c3eb7.js +52 -0
- package/dist/tooltip-content-3096d302.js +52 -0
- package/dist/tooltip-content-a38f2e85.js +52 -0
- package/dist/tooltip.min.js +50 -0
- package/dist/tooltip.rtl.min.js +50 -0
- package/dist/ui-shell.min.js +186 -0
- package/dist/ui-shell.rtl.min.js +186 -0
- package/dist/validity-d86ffa4f.js +58 -0
- package/es/components/accordion/accordion-item.js.map +1 -1
- package/es/components/multi-select/multi-select.js +0 -1
- package/es/components/multi-select/multi-select.js.map +1 -1
- package/package.json +3 -3
- package/scss/components/notification/inline-notification.scss +1 -1
- package/scss/components/slug/slug.scss +1 -1
- package/es/icons/app-switcher/16.d.ts +0 -17
- package/es/icons/app-switcher/16.js +0 -15
- package/es/icons/app-switcher/20.d.ts +0 -17
- package/es/icons/app-switcher/20.js +0 -15
- package/es/icons/app-switcher/24.d.ts +0 -17
- package/es/icons/app-switcher/24.js +0 -15
- package/es/icons/app-switcher/32.d.ts +0 -17
- package/es/icons/app-switcher/32.js +0 -15
- package/es/icons/arrows/16.d.ts +0 -17
- package/es/icons/arrows/16.js +0 -15
- package/es/icons/arrows/20.d.ts +0 -17
- package/es/icons/arrows/20.js +0 -15
- package/es/icons/arrows/24.d.ts +0 -17
- package/es/icons/arrows/24.js +0 -15
- package/es/icons/arrows/32.d.ts +0 -17
- package/es/icons/arrows/32.js +0 -15
- package/es/icons/back-to-top/16.d.ts +0 -17
- package/es/icons/back-to-top/16.js +0 -15
- package/es/icons/back-to-top/20.d.ts +0 -17
- package/es/icons/back-to-top/20.js +0 -15
- package/es/icons/back-to-top/24.d.ts +0 -17
- package/es/icons/back-to-top/24.js +0 -15
- package/es/icons/back-to-top/32.d.ts +0 -17
- package/es/icons/back-to-top/32.js +0 -15
- package/es/icons/checkbox--undeterminate/16.d.ts +0 -17
- package/es/icons/checkbox--undeterminate/16.js +0 -15
- package/es/icons/checkbox--undeterminate/20.d.ts +0 -17
- package/es/icons/checkbox--undeterminate/20.js +0 -15
- package/es/icons/checkbox--undeterminate/24.d.ts +0 -17
- package/es/icons/checkbox--undeterminate/24.js +0 -15
- package/es/icons/checkbox--undeterminate/32.d.ts +0 -17
- package/es/icons/checkbox--undeterminate/32.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/16.d.ts +0 -17
- package/es/icons/checkbox--undeterminate--filled/16.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/20.d.ts +0 -17
- package/es/icons/checkbox--undeterminate--filled/20.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/24.d.ts +0 -17
- package/es/icons/checkbox--undeterminate--filled/24.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/32.d.ts +0 -17
- package/es/icons/checkbox--undeterminate--filled/32.js +0 -15
- package/es/icons/cloud--lightning/16.d.ts +0 -17
- package/es/icons/cloud--lightning/16.js +0 -15
- package/es/icons/cloud--lightning/20.d.ts +0 -17
- package/es/icons/cloud--lightning/20.js +0 -15
- package/es/icons/cloud--lightning/24.d.ts +0 -17
- package/es/icons/cloud--lightning/24.js +0 -15
- package/es/icons/cloud--lightning/32.d.ts +0 -17
- package/es/icons/cloud--lightning/32.js +0 -15
- package/es/icons/cloud--rain/16.d.ts +0 -17
- package/es/icons/cloud--rain/16.js +0 -15
- package/es/icons/cloud--rain/20.d.ts +0 -17
- package/es/icons/cloud--rain/20.js +0 -15
- package/es/icons/cloud--rain/24.d.ts +0 -17
- package/es/icons/cloud--rain/24.js +0 -15
- package/es/icons/cloud--rain/32.d.ts +0 -17
- package/es/icons/cloud--rain/32.js +0 -15
- package/es/icons/cloud--snow/16.d.ts +0 -17
- package/es/icons/cloud--snow/16.js +0 -15
- package/es/icons/cloud--snow/20.d.ts +0 -17
- package/es/icons/cloud--snow/20.js +0 -15
- package/es/icons/cloud--snow/24.d.ts +0 -17
- package/es/icons/cloud--snow/24.js +0 -15
- package/es/icons/cloud--snow/32.d.ts +0 -17
- package/es/icons/cloud--snow/32.js +0 -15
- package/es/icons/glyph--caution/index.d.ts +0 -17
- package/es/icons/glyph--caution/index.js +0 -15
- package/es/icons/glyph--caution-inverted/index.d.ts +0 -17
- package/es/icons/glyph--caution-inverted/index.js +0 -15
- package/es/icons/glyph--circle-fill/index.d.ts +0 -17
- package/es/icons/glyph--circle-fill/index.js +0 -15
- package/es/icons/glyph--circle-stroke/index.d.ts +0 -17
- package/es/icons/glyph--circle-stroke/index.js +0 -15
- package/es/icons/glyph--critical/index.d.ts +0 -17
- package/es/icons/glyph--critical/index.js +0 -15
- package/es/icons/glyph--incomplete/index.d.ts +0 -17
- package/es/icons/glyph--incomplete/index.js +0 -15
- package/es/icons/glyph--square-fill/index.d.ts +0 -17
- package/es/icons/glyph--square-fill/index.js +0 -15
- package/es/icons/glyph--undefined/index.d.ts +0 -17
- package/es/icons/glyph--undefined/index.js +0 -15
- package/es/icons/letter--Aa--large/16.d.ts +0 -17
- package/es/icons/letter--Aa--large/16.js +0 -15
- package/es/icons/letter--Aa--large/20.d.ts +0 -17
- package/es/icons/letter--Aa--large/20.js +0 -15
- package/es/icons/letter--Aa--large/24.d.ts +0 -17
- package/es/icons/letter--Aa--large/24.js +0 -15
- package/es/icons/letter--Aa--large/32.d.ts +0 -17
- package/es/icons/letter--Aa--large/32.js +0 -15
- package/es/icons/logo--delicious/16.d.ts +0 -17
- package/es/icons/logo--delicious/16.js +0 -15
- package/es/icons/logo--delicious/20.d.ts +0 -17
- package/es/icons/logo--delicious/20.js +0 -15
- package/es/icons/logo--delicious/24.d.ts +0 -17
- package/es/icons/logo--delicious/24.js +0 -15
- package/es/icons/logo--delicious/32.d.ts +0 -17
- package/es/icons/logo--delicious/32.js +0 -15
- package/es/icons/logo--google/16.d.ts +0 -17
- package/es/icons/logo--google/16.js +0 -15
- package/es/icons/logo--google/20.d.ts +0 -17
- package/es/icons/logo--google/20.js +0 -15
- package/es/icons/logo--google/24.d.ts +0 -17
- package/es/icons/logo--google/24.js +0 -15
- package/es/icons/logo--google/32.d.ts +0 -17
- package/es/icons/logo--google/32.js +0 -15
- package/es/icons/logo--stumbleupon/16.d.ts +0 -17
- package/es/icons/logo--stumbleupon/16.js +0 -15
- package/es/icons/logo--stumbleupon/20.d.ts +0 -17
- package/es/icons/logo--stumbleupon/20.js +0 -15
- package/es/icons/logo--stumbleupon/24.d.ts +0 -17
- package/es/icons/logo--stumbleupon/24.js +0 -15
- package/es/icons/logo--stumbleupon/32.d.ts +0 -17
- package/es/icons/logo--stumbleupon/32.js +0 -15
- package/es/icons/mammogram--stacked/16.d.ts +0 -17
- package/es/icons/mammogram--stacked/16.js +0 -15
- package/es/icons/mammogram--stacked/20.d.ts +0 -17
- package/es/icons/mammogram--stacked/20.js +0 -15
- package/es/icons/mammogram--stacked/24.d.ts +0 -17
- package/es/icons/mammogram--stacked/24.js +0 -15
- package/es/icons/mammogram--stacked/32.d.ts +0 -17
- package/es/icons/mammogram--stacked/32.js +0 -15
- package/es/icons/misuse--alt/16.d.ts +0 -17
- package/es/icons/misuse--alt/16.js +0 -15
- package/es/icons/misuse--alt/20.d.ts +0 -17
- package/es/icons/misuse--alt/20.js +0 -15
- package/es/icons/misuse--alt/24.d.ts +0 -17
- package/es/icons/misuse--alt/24.js +0 -15
- package/es/icons/misuse--alt/32.d.ts +0 -17
- package/es/icons/misuse--alt/32.js +0 -15
- package/es/icons/research--bloch-sphere/16.d.ts +0 -17
- package/es/icons/research--bloch-sphere/16.js +0 -15
- package/es/icons/research--bloch-sphere/20.d.ts +0 -17
- package/es/icons/research--bloch-sphere/20.js +0 -15
- package/es/icons/research--bloch-sphere/24.d.ts +0 -17
- package/es/icons/research--bloch-sphere/24.js +0 -15
- package/es/icons/research--bloch-sphere/32.d.ts +0 -17
- package/es/icons/research--bloch-sphere/32.js +0 -15
- package/es/icons/research--hinton-plot/16.d.ts +0 -17
- package/es/icons/research--hinton-plot/16.js +0 -15
- package/es/icons/research--hinton-plot/20.d.ts +0 -17
- package/es/icons/research--hinton-plot/20.js +0 -15
- package/es/icons/research--hinton-plot/24.d.ts +0 -17
- package/es/icons/research--hinton-plot/24.js +0 -15
- package/es/icons/research--hinton-plot/32.d.ts +0 -17
- package/es/icons/research--hinton-plot/32.js +0 -15
- package/es/icons/research--matrix/16.d.ts +0 -17
- package/es/icons/research--matrix/16.js +0 -15
- package/es/icons/research--matrix/20.d.ts +0 -17
- package/es/icons/research--matrix/20.js +0 -15
- package/es/icons/research--matrix/24.d.ts +0 -17
- package/es/icons/research--matrix/24.js +0 -15
- package/es/icons/research--matrix/32.d.ts +0 -17
- package/es/icons/research--matrix/32.js +0 -15
- package/es/icons/sunny/16.d.ts +0 -17
- package/es/icons/sunny/16.js +0 -15
- package/es/icons/sunny/20.d.ts +0 -17
- package/es/icons/sunny/20.js +0 -15
- package/es/icons/sunny/24.d.ts +0 -17
- package/es/icons/sunny/24.js +0 -15
- package/es/icons/sunny/32.d.ts +0 -17
- package/es/icons/sunny/32.js +0 -15
- package/es/icons/undefined/index.d.ts +0 -17
- package/es/icons/undefined/index.js +0 -15
- package/es/icons/watson-health/edit-filter/16.d.ts +0 -17
- package/es/icons/watson-health/edit-filter/16.js +0 -15
- package/es/icons/watson-health/edit-filter/20.d.ts +0 -17
- package/es/icons/watson-health/edit-filter/20.js +0 -15
- package/es/icons/watson-health/edit-filter/24.d.ts +0 -17
- package/es/icons/watson-health/edit-filter/24.js +0 -15
- package/es/icons/watson-health/edit-filter/32.d.ts +0 -17
- package/es/icons/watson-health/edit-filter/32.js +0 -15
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
let e,t;import{_ as i}from"./objectSpread2-ea408269.js";import{_ as n,p as s,s as o}from"./settings-daf72103.js";import{H as r,a}from"./host-listener-42fdb22d.js";import{F as l}from"./focus-e79b2a40.js";
|
|
51
|
+
/**
|
|
52
|
+
* @license
|
|
53
|
+
*
|
|
54
|
+
* Copyright IBM Corp. 2020, 2022, 2023
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/!function(e){e.LTR="ltr",e.RTL="rtl"}(e||(e={})),function(e){e.TOP="top",e.BOTTOM="bottom"}(t||(t={}));const h=(e,t)=>(e.observe(t),{release:()=>(e.unobserve(t),null)}),c=(e,t)=>{const i=e.closest(t);if(i)return i;const{host:n}=e.getRootNode();return n?c(n,t):null};let d=n(null,(function(n,r){return{F:class extends r{constructor(...e){super(...e),n(this)}},d:[{kind:"field",key:"_hObserveResizeParent",value:()=>null},{kind:"field",key:"_hObserveResizeContainer",value:()=>null},{kind:"field",key:"_resizeObserver",value(){return new ResizeObserver((()=>{const{container:t,open:i,parent:n,position:s}=this;if(t&&i&&n){const{direction:t,start:i,top:n}=s;this.style[t!==e.RTL?"left":"right"]=`${i}px`,this.style.top=`${n}px`}}))}},{kind:"field",decorators:[a("focusout")],key:"_handleBlur",value(){return({relatedTarget:e})=>{if(!this.contains(e)){const{parent:t}=this;t&&t!==e&&(t.open=!1,HTMLElement.prototype.focus.call(this.parent))}}}},{kind:"field",decorators:[a("click")],key:"_click",value(){return()=>{const{parent:e}=this;e&&(e.open=!1)}}},{kind:"field",decorators:[a("keydown")],key:"_handleKeyDown",value(){return e=>{if("Tab"===e.key&&e.shiftKey){const{parent:e}=this;e&&(e.open=!1)}}}},{kind:"field",key:"parent",value:()=>null},{kind:"get",key:"container",value:function(){return c(this,this.constructor.selectorContainer)||this.ownerDocument.body}},{kind:"get",key:"position",value:function(){const{triggerPosition:i}=this.parent;if(!i)throw new TypeError("Missing information of trigger button position.");const{container:n}=this,{left:s=0,top:o=0,right:r=0,bottom:a=0}=i,{width:l,height:h}=this.getBoundingClientRect(),{left:c=0,right:d=0,top:u=0}=n.getBoundingClientRect(),p=n.ownerDocument.defaultView.getComputedStyle(n),f=p.getPropertyValue("direction"),v=f===e.RTL,b=v?n.ownerDocument.defaultView.innerWidth-d:c,k=v?d-r:s-c,O=v?d-s:r-c,y=o-u;if((n!==this.ownerDocument.body||0!==b||0!==u)&&"static"===p.getPropertyValue("position"))throw new Error("Floating menu container must not have `position:static`.");const{flipped:g,direction:R}=this;if(Object.values(t).indexOf(R)<0)throw new Error(`Wrong menu position direction: ${R}`);const m=g?O-l:k,{start:_,top:z}={[t.TOP]:()=>({start:m,top:y-h}),[t.BOTTOM]:()=>({start:m,top:a})}[R]();return{direction:f,start:_,top:z}}},{kind:"method",key:"disconnectedCallback",value:function(){this._hObserveResizeContainer&&(this._hObserveResizeContainer=this._hObserveResizeContainer.release()),this._hObserveResizeParent&&(this._hObserveResizeParent=this._hObserveResizeParent.release())}},{kind:"method",key:"updated",value:function(t){const{container:i,open:n,parent:s}=this;if((t.has("flipped")||t.has("direction")||t.has("open"))&&n){s||(this.parent=this.parentElement,i.appendChild(this));const{direction:t,start:n,top:o}=this.position;this.style[t!==e.RTL?"left":"right"]=`${n}px`,this.style.top=`${o}px`}if(t.has("open")&&(this._hObserveResizeContainer&&(this._hObserveResizeContainer=this._hObserveResizeContainer.release()),this._hObserveResizeParent&&(this._hObserveResizeParent=this._hObserveResizeParent.release()),n)){var o;const{parentElement:e}=null!==(o=this.parent)&&void 0!==o?o:{};this._hObserveResizeContainer=h(this._resizeObserver,i),e&&(this._hObserveResizeParent=h(this._resizeObserver,e))}}},{kind:"field",static:!0,key:"FLOATING_MENU",value:()=>!0},{kind:"get",static:!0,key:"selectorContainer",value:function(){return`[data-floating-menu-container],${s}-modal`}},{kind:"field",static:!0,key:"shadowRootOptions",value:()=>i(i({},o.shadowRootOptions),{},{delegatesFocus:!0})}]}}),r(l(o)));export{d as C,t as F};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-element:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2017 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-html:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
let e,t;import{_ as i}from"./objectSpread2-8208d45c.js";import{_ as n,p as s,s as o}from"./settings-a675998f.js";import{H as r,a}from"./host-listener-0e75581e.js";import{F as l}from"./focus-4a59e420.js";
|
|
51
|
+
/**
|
|
52
|
+
* @license
|
|
53
|
+
*
|
|
54
|
+
* Copyright IBM Corp. 2020, 2022, 2023
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/!function(e){e.LTR="ltr",e.RTL="rtl"}(e||(e={})),function(e){e.TOP="top",e.BOTTOM="bottom"}(t||(t={}));const h=(e,t)=>(e.observe(t),{release:()=>(e.unobserve(t),null)}),c=(e,t)=>{const i=e.closest(t);if(i)return i;const{host:n}=e.getRootNode();return n?c(n,t):null};let d=n(null,(function(n,r){return{F:class extends r{constructor(...e){super(...e),n(this)}},d:[{kind:"field",key:"_hObserveResizeParent",value:()=>null},{kind:"field",key:"_hObserveResizeContainer",value:()=>null},{kind:"field",key:"_resizeObserver",value(){return new ResizeObserver((()=>{const{container:t,open:i,parent:n,position:s}=this;if(t&&i&&n){const{direction:t,start:i,top:n}=s;this.style[t!==e.RTL?"left":"right"]=`${i}px`,this.style.top=`${n}px`}}))}},{kind:"field",decorators:[a("focusout")],key:"_handleBlur",value(){return({relatedTarget:e})=>{if(!this.contains(e)){const{parent:t}=this;t&&t!==e&&(t.open=!1,HTMLElement.prototype.focus.call(this.parent))}}}},{kind:"field",decorators:[a("click")],key:"_click",value(){return()=>{const{parent:e}=this;e&&(e.open=!1)}}},{kind:"field",decorators:[a("keydown")],key:"_handleKeyDown",value(){return e=>{if("Tab"===e.key&&e.shiftKey){const{parent:e}=this;e&&(e.open=!1)}}}},{kind:"field",key:"parent",value:()=>null},{kind:"get",key:"container",value:function(){return c(this,this.constructor.selectorContainer)||this.ownerDocument.body}},{kind:"get",key:"position",value:function(){const{triggerPosition:i}=this.parent;if(!i)throw new TypeError("Missing information of trigger button position.");const{container:n}=this,{left:s=0,top:o=0,right:r=0,bottom:a=0}=i,{width:l,height:h}=this.getBoundingClientRect(),{left:c=0,right:d=0,top:u=0}=n.getBoundingClientRect(),p=n.ownerDocument.defaultView.getComputedStyle(n),f=p.getPropertyValue("direction"),v=f===e.RTL,k=v?n.ownerDocument.defaultView.innerWidth-d:c,b=v?d-r:s-c,O=v?d-s:r-c,y=o-u;if((n!==this.ownerDocument.body||0!==k||0!==u)&&"static"===p.getPropertyValue("position"))throw new Error("Floating menu container must not have `position:static`.");const{flipped:g,direction:R}=this;if(Object.values(t).indexOf(R)<0)throw new Error(`Wrong menu position direction: ${R}`);const m=g?O-l:b,{start:_,top:z}={[t.TOP]:()=>({start:m,top:y-h}),[t.BOTTOM]:()=>({start:m,top:a})}[R]();return{direction:f,start:_,top:z}}},{kind:"method",key:"disconnectedCallback",value:function(){this._hObserveResizeContainer&&(this._hObserveResizeContainer=this._hObserveResizeContainer.release()),this._hObserveResizeParent&&(this._hObserveResizeParent=this._hObserveResizeParent.release())}},{kind:"method",key:"updated",value:function(t){const{container:i,open:n,parent:s}=this;if((t.has("flipped")||t.has("direction")||t.has("open"))&&n){s||(this.parent=this.parentElement,i.appendChild(this));const{direction:t,start:n,top:o}=this.position;this.style[t!==e.RTL?"left":"right"]=`${n}px`,this.style.top=`${o}px`}if(t.has("open")&&(this._hObserveResizeContainer&&(this._hObserveResizeContainer=this._hObserveResizeContainer.release()),this._hObserveResizeParent&&(this._hObserveResizeParent=this._hObserveResizeParent.release()),n)){var o;const{parentElement:e}=null!==(o=this.parent)&&void 0!==o?o:{};this._hObserveResizeContainer=h(this._resizeObserver,i),e&&(this._hObserveResizeParent=h(this._resizeObserver,e))}}},{kind:"field",static:!0,key:"FLOATING_MENU",value:()=>!0},{kind:"get",static:!0,key:"selectorContainer",value:function(){return`[data-floating-menu-container],${s}-modal`}},{kind:"field",static:!0,key:"shadowRootOptions",value:()=>i(i({},o.shadowRootOptions),{},{delegatesFocus:!0})}]}}),r(l(o)));export{d as C,t as F};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
46
|
+
* https://www.npmjs.com/package/lit
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import"./floating-menu-1795f0f3.js";import"./objectSpread2-ea408269.js";import"./settings-daf72103.js";import"./host-listener-42fdb22d.js";import"./on-6c264d49.js";import"./focus-e79b2a40.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import"./floating-menu-1795f0f3.js";import"./objectSpread2-ea408269.js";import"./settings-daf72103.js";import"./host-listener-42fdb22d.js";import"./on-6c264d49.js";import"./focus-e79b2a40.js";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-element:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2017 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-html:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{a as s}from"./settings-a675998f.js";
|
|
51
|
+
/**
|
|
52
|
+
* @license
|
|
53
|
+
*
|
|
54
|
+
* Copyright IBM Corp. 2019, 2022
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/const o=o=>class extends o{focus(){if(this.shadowRoot.delegatesFocus)super.focus();else{const o=this.shadowRoot.querySelector(s)||this.querySelector(s);o?o.focus():super.focus()}}};export{o as F};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{a as s}from"./settings-daf72103.js";
|
|
51
|
+
/**
|
|
52
|
+
* @license
|
|
53
|
+
*
|
|
54
|
+
* Copyright IBM Corp. 2019, 2022
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/const o=o=>class extends o{focus(){if(this.shadowRoot.delegatesFocus)super.focus();else{const o=this.shadowRoot.querySelector(s)||this.querySelector(s);o?o.focus():super.focus()}}};export{o as F};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-element:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2017 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-html:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{a}from"./objectSpread2-8208d45c.js";import{o as t}from"./on-6c264d49.js";const s=s=>class extends s{constructor(...t){super(...t),a(this,"_hFormdata",null)}connectedCallback(){super.connectedCallback();const a=this.closest("form");a&&(this._hFormdata=t(a,"formdata",this._handleFormdata.bind(this)))}disconnectedCallback(){this._hFormdata&&(this._hFormdata=this._hFormdata.release()),super.disconnectedCallback()}};export{s as F};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{a}from"./objectSpread2-ea408269.js";import{o as t}from"./on-6c264d49.js";const s=s=>class extends s{constructor(...t){super(...t),a(this,"_hFormdata",null)}connectedCallback(){super.connectedCallback();const a=this.closest("form");a&&(this._hFormdata=t(a,"formdata",this._handleFormdata.bind(this)))}disconnectedCallback(){this._hFormdata&&(this._hFormdata=this._hFormdata.release()),super.disconnectedCallback()}};export{s as F};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
46
|
+
* https://www.npmjs.com/package/lit
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{i as e,_ as t,s as r,x as i,p as s}from"./settings-daf72103.js";import{e as a}from"./custom-element-975be15f.js";import{n as d}from"./query-assigned-elements-8e88277c.js";var c=e(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}@keyframes hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{-webkit-text-fill-color:var(--cds-text-primary,#161616);box-shadow:0 0 0 1000px var(--cds-field) inset}.cds--fieldset,:host(cds-form-group) fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before,:host(cds-form-group) fieldset *,:host(cds-form-group) fieldset :after,:host(cds-form-group) fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;box-sizing:border-box;cursor:pointer;display:inline-block;display:flex;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);inline-size:100%;justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:0;padding:0;text-align:start;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:.875rem;border:none;box-shadow:none;inline-size:4.6875rem;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 2.5rem .5rem 1rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{display:none;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-secondary,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host(cds-form-group) fieldset{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}']);let l,n,o=e=>e;t([a(`${s}-form-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[d({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[d({attribute:"legend-id"})],key:"legendId",value:void 0},{kind:"field",decorators:[d({attribute:"legend-text"})],key:"legendText",value:void 0},{kind:"field",decorators:[d({type:Boolean,reflect:!0})],key:"message",value:()=>!1},{kind:"field",decorators:[d({type:String,attribute:"message-text",reflect:!0})],key:"messageText",value:void 0},{kind:"method",key:"render",value:function(){const{invalid:e,legendId:t,legendText:r,message:a,messageText:d}=this;return i(l||(l=o`
|
|
51
|
+
<fieldset
|
|
52
|
+
class="${0}--fieldset"
|
|
53
|
+
?data-invalid=${0}
|
|
54
|
+
aria-labelledby="${0}">
|
|
55
|
+
<legend class="${0}--label" id=${0}>${0}</legend>
|
|
56
|
+
<slot></slot>
|
|
57
|
+
${0}
|
|
58
|
+
</fieldset>
|
|
59
|
+
`),s,e,t,s,t,r,a?i(n||(n=o`<div class="${0}--form__requirements">
|
|
60
|
+
${0}
|
|
61
|
+
</div>`),s,d):null)}},{kind:"field",static:!0,key:"styles",value:()=>c}]}}),r);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2019, 2020
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* This bundle contains the following third-party dependencies:
|
|
13
|
+
*
|
|
14
|
+
* flatpickr:
|
|
15
|
+
*
|
|
16
|
+
flatpickr v4.6.1, @license MIT
|
|
17
|
+
*
|
|
18
|
+
* lit-html:
|
|
19
|
+
*
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2022 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*
|
|
24
|
+
* lit-element:
|
|
25
|
+
*
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*
|
|
30
|
+
* @lit/reactive-element:
|
|
31
|
+
*
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*
|
|
36
|
+
* @carbon/layout:
|
|
37
|
+
*
|
|
38
|
+
* Copyright IBM Corp. 2018, 2023
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*
|
|
43
|
+
* Also refer to the following links for the license of other third-party dependencies:
|
|
44
|
+
*
|
|
45
|
+
* https://www.npmjs.com/package/lit
|
|
46
|
+
* https://www.npmjs.com/package/@carbon/icons
|
|
47
|
+
* https://www.npmjs.com/package/lodash-es
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import{i as e,_ as t,s as r,x as i,p as s}from"./settings-daf72103.js";import{e as a}from"./custom-element-975be15f.js";import{n as d}from"./query-assigned-elements-8e88277c.js";var c=e(['.cds--layer-one,:root{--cds-layer:var(--cds-layer-01,#f4f4f4);--cds-layer-active:var(--cds-layer-active-01,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-01,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01,#a8a8a8);--cds-field:var(--cds-field-01,#f4f4f4);--cds-field-hover:var(--cds-field-hover-01,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01,#c6c6c6);--cds-border-strong:var(--cds-border-strong-01,#8d8d8d);--cds-border-tile:var(--cds-border-tile-01,#c6c6c6)}.cds--layer-two{--cds-layer:var(--cds-layer-02,#fff);--cds-layer-active:var(--cds-layer-active-02,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-02,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02,#a8a8a8);--cds-field:var(--cds-field-02,#fff);--cds-field-hover:var(--cds-field-hover-02,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01,#c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02,#c6c6c6);--cds-border-strong:var(--cds-border-strong-02,#8d8d8d);--cds-border-tile:var(--cds-border-tile-02,#a8a8a8)}.cds--layer-three{--cds-layer:var(--cds-layer-03,#f4f4f4);--cds-layer-active:var(--cds-layer-active-03,#c6c6c6);--cds-layer-hover:var(--cds-layer-hover-03,#e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03,#e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03,#d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03,#e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03,#d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03,#a8a8a8);--cds-field:var(--cds-field-03,#f4f4f4);--cds-field-hover:var(--cds-field-hover-03,#e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02,#e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03,#c6c6c6);--cds-border-strong:var(--cds-border-strong-03,#8d8d8d);--cds-border-tile:var(--cds-border-tile-03,#c6c6c6)}@keyframes hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}to{opacity:.3;transform:scaleX(0);transform-origin:right}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{-webkit-text-fill-color:var(--cds-text-primary,#161616);box-shadow:0 0 0 1000px var(--cds-field) inset}.cds--fieldset,:host(cds-form-group) fieldset{border:0;box-sizing:border-box;font-family:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}.cds--fieldset *,.cds--fieldset :after,.cds--fieldset :before,:host(cds-form-group) fieldset *,:host(cds-form-group) fieldset :after,:host(cds-form-group) fieldset :before{box-sizing:inherit}.cds--form-item{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.cds--label{color:var(--cds-text-secondary,#525252);display:inline-block;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);line-height:1rem;margin-block-end:.5rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}.cds--label code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds--label--no-margin{margin-block-end:0}.cds--label+.cds--tooltip{inset-block-start:.2rem;inset-inline-start:.5rem;position:relative}.cds--label+.cds--tooltip .cds--tooltip__trigger{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;box-sizing:border-box;cursor:pointer;display:inline-block;display:flex;font-family:inherit;font-size:100%;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);inline-size:100%;justify-content:center;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:0;padding:0;text-align:start;vertical-align:baseline}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger :after,.cds--label+.cds--tooltip .cds--tooltip__trigger :before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{inset-block-start:.2rem;inset-inline-start:.5rem}.cds--label.cds--skeleton{background:var(--cds-skeleton-background,#e8e8e8);block-size:.875rem;border:none;box-shadow:none;inline-size:4.6875rem;padding:0;pointer-events:none;position:relative}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:none}.cds--label.cds--skeleton:before{animation:skeleton 3s ease-in-out infinite;background:var(--cds-skeleton-element,#c6c6c6);block-size:100%;content:"";inline-size:100%;position:absolute;will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton:before{animation:none}}input[type=number]{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker--warning~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;font-weight:400;max-block-size:12.5rem;overflow:visible}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:none}.cds--form--fluid .cds--form-requirement{margin:0;padding:.5rem 1rem .5rem 2.5rem}input:not(output,[data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{display:none;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin:.25rem 0 0;max-block-size:0;overflow:hidden}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-block-start:0}.cds--form__helper-text{color:var(--cds-text-secondary,#525252);font-size:var(--cds-helper-text-01-font-size,.75rem);inline-size:100%;letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);margin-block-start:.25rem;opacity:1;z-index:0}.cds--form__helper-text--disabled,.cds--label--disabled,fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host(cds-form-group) fieldset{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}']);let l,n,o=e=>e;t([a(`${s}-form-group`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[d({type:Boolean,reflect:!0})],key:"invalid",value:()=>!1},{kind:"field",decorators:[d({attribute:"legend-id"})],key:"legendId",value:void 0},{kind:"field",decorators:[d({attribute:"legend-text"})],key:"legendText",value:void 0},{kind:"field",decorators:[d({type:Boolean,reflect:!0})],key:"message",value:()=>!1},{kind:"field",decorators:[d({type:String,attribute:"message-text",reflect:!0})],key:"messageText",value:void 0},{kind:"method",key:"render",value:function(){const{invalid:e,legendId:t,legendText:r,message:a,messageText:d}=this;return i(l||(l=o`
|
|
51
|
+
<fieldset
|
|
52
|
+
class="${0}--fieldset"
|
|
53
|
+
?data-invalid=${0}
|
|
54
|
+
aria-labelledby="${0}">
|
|
55
|
+
<legend class="${0}--label" id=${0}>${0}</legend>
|
|
56
|
+
<slot></slot>
|
|
57
|
+
${0}
|
|
58
|
+
</fieldset>
|
|
59
|
+
`),s,e,t,s,t,r,a?i(n||(n=o`<div class="${0}--form__requirements">
|
|
60
|
+
${0}
|
|
61
|
+
</div>`),s,d):null)}},{kind:"field",static:!0,key:"styles",value:()=>c}]}}),r);
|