@xplortech/apollo-core 1.0.0-beta.8 → 2.4.2
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/.typings/apollo-components.html-data.json +4396 -0
- package/README.md +57 -25
- package/build/style.css +4374 -3359
- package/dist/apollo-core/apollo-core.css +50 -24
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0ac33b3a.entry.js +1 -0
- package/dist/apollo-core/p-23ef2717.entry.js +6 -0
- package/dist/apollo-core/p-31461db7.entry.js +1 -0
- package/dist/apollo-core/p-3b5f8989.entry.js +1 -0
- package/dist/apollo-core/p-4fab8172.entry.js +1 -0
- package/dist/apollo-core/p-576ce90f.entry.js +1 -0
- package/dist/apollo-core/p-5ec45742.entry.js +1 -0
- package/dist/apollo-core/p-7b7db57a.entry.js +1 -0
- package/dist/apollo-core/p-7f8e5cd0.entry.js +1 -0
- package/dist/apollo-core/p-812bb0e4.entry.js +1 -0
- package/dist/apollo-core/p-845eef0d.entry.js +1 -0
- package/dist/apollo-core/p-8c1f73ea.entry.js +1 -0
- package/dist/apollo-core/p-94209785.entry.js +1 -0
- package/dist/apollo-core/p-9853028c.entry.js +1 -0
- package/dist/apollo-core/p-9d65ece7.entry.js +1 -0
- package/dist/apollo-core/p-CH4yJ6Qx.js +1 -0
- package/dist/apollo-core/p-Cqlsd6nf.js +1 -0
- package/dist/apollo-core/p-DQuL1Twl.js +1 -0
- package/dist/apollo-core/p-DhZas3eX.js +2 -0
- package/dist/apollo-core/p-b1f4604d.entry.js +1 -0
- package/dist/apollo-core/p-be292555.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +15 -13
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/{esm/xpl-input.entry.js → cjs/index-BvmWjxWc.js} +2 -94
- package/dist/cjs/index-D__N_vw2.js +2160 -0
- package/dist/cjs/loader.cjs.js +6 -15
- package/dist/cjs/{v4-14140ff3.js → v4-D4KzFnn8.js} +1 -11
- package/dist/cjs/xpl-accordion.cjs.entry.js +73 -0
- package/dist/cjs/xpl-application-shell.cjs.entry.js +41 -46
- package/dist/cjs/xpl-avatar_41.cjs.entry.js +5521 -0
- package/dist/cjs/xpl-button-row.cjs.entry.js +13 -18
- package/dist/cjs/xpl-calendar.cjs.entry.js +66 -0
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +33 -0
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +37 -0
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +64 -0
- package/dist/cjs/xpl-grid-item.cjs.entry.js +16 -18
- package/dist/cjs/xpl-grid.cjs.entry.js +29 -28
- package/dist/cjs/xpl-large-card.cjs.entry.js +27 -0
- package/dist/cjs/xpl-list.cjs.entry.js +23 -30
- package/dist/cjs/xpl-main-nav.cjs.entry.js +18 -20
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +57 -0
- package/dist/cjs/xpl-table-header.cjs.entry.js +14 -0
- package/dist/cjs/xpl-toggle.cjs.entry.js +22 -30
- package/dist/cjs/xpl-toolbar.cjs.entry.js +28 -0
- package/dist/collection/collection-manifest.json +59 -32
- package/dist/collection/components/xpl-accordion/accordion.stories.js +76 -0
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +236 -0
- package/dist/collection/components/xpl-application-shell/application-shell.stories.js +733 -0
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +163 -158
- package/dist/collection/components/xpl-avatar/avatar.stories.js +128 -0
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +171 -162
- package/dist/collection/components/xpl-backdrop/backdrop.stories.js +20 -0
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +39 -37
- package/dist/collection/components/xpl-badge/badge.stories.js +48 -0
- package/dist/collection/components/xpl-badge/xpl-badge.js +52 -52
- package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +130 -0
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +8 -12
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +5 -8
- package/dist/collection/components/xpl-button/button.stories.js +133 -0
- package/dist/collection/components/xpl-button/xpl-button.js +272 -245
- package/dist/collection/components/xpl-button-row/button-row.stories.js +69 -0
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +119 -116
- package/dist/collection/components/xpl-calendar/calendar.stories.js +59 -0
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +224 -0
- package/dist/collection/components/xpl-checkbox/checkbox.stories.js +79 -0
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +226 -193
- package/dist/collection/components/xpl-choicelist/choicelist.stories.js +134 -0
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +220 -154
- package/dist/collection/components/xpl-content-area/content-area.stories.js +55 -0
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +35 -33
- package/dist/collection/components/xpl-dashboard/dashboard.stories.js +48 -0
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +7 -0
- package/dist/collection/components/xpl-data-card/data-card.stories.js +111 -0
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +316 -0
- package/dist/collection/components/xpl-divider/divider.stories.js +32 -0
- package/dist/collection/components/xpl-divider/xpl-divider.js +30 -31
- package/dist/collection/components/xpl-dropdown/dropdown.stories.js +383 -0
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +68 -66
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +28 -29
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +148 -114
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +438 -256
- package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +161 -0
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +97 -0
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +52 -0
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +81 -0
- package/dist/{stories → collection/components/xpl-grid}/grid.stories.js +44 -68
- package/dist/collection/components/xpl-grid/xpl-grid.js +27 -24
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +100 -92
- package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +48 -0
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +200 -0
- package/dist/collection/components/xpl-icon/icons.stories.js +107 -0
- package/dist/collection/components/xpl-icon/xpl-icon.css +5 -0
- package/dist/collection/components/xpl-icon/xpl-icon.js +101 -0
- package/dist/collection/components/xpl-input/input.stories.js +531 -0
- package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +167 -0
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +387 -0
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +377 -0
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +276 -0
- package/dist/collection/components/xpl-input/xpl-input-time/time-utils.js +63 -0
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +425 -0
- package/dist/collection/components/xpl-input/xpl-input.js +729 -460
- package/dist/collection/components/xpl-large-card/large-card.stories.js +127 -0
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +81 -0
- package/dist/collection/components/xpl-list/list.stories.js +148 -0
- package/dist/collection/components/xpl-list/xpl-list.js +51 -53
- package/dist/collection/components/xpl-main-nav/main-nav.stories.js +307 -0
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +65 -63
- package/dist/collection/components/xpl-modal/modal.stories.js +87 -0
- package/dist/collection/components/xpl-modal/xpl-modal.js +139 -0
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +63 -61
- package/dist/collection/components/xpl-pagination/pagination.stories.js +35 -0
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +217 -172
- package/dist/collection/components/xpl-popover/popover.stories.js +164 -0
- package/dist/collection/components/xpl-popover/xpl-popover.js +346 -0
- package/dist/collection/components/xpl-progress/progress.stories.js +102 -0
- package/dist/collection/components/xpl-progress/xpl-progress.js +60 -0
- package/dist/collection/components/xpl-radio/radio.stories.js +91 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +188 -175
- package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +78 -0
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +5 -5
- package/dist/collection/components/xpl-select/select.stories.js +293 -0
- package/dist/collection/components/xpl-select/xpl-select.js +660 -308
- package/dist/collection/components/xpl-skeleton/skeleton.stories.js +67 -0
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +175 -0
- package/dist/collection/components/xpl-slideout/slideout.stories.js +103 -0
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +150 -0
- package/dist/collection/components/xpl-tab/xpl-tab.js +77 -0
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +56 -0
- package/dist/collection/components/xpl-table/table.stories.js +143 -0
- package/dist/collection/components/xpl-table/xpl-table.js +379 -214
- package/dist/collection/components/xpl-table-header/table-header.stories.js +122 -0
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +7 -0
- package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +71 -0
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +198 -0
- package/dist/collection/components/xpl-tabs/tabs.stories.js +77 -0
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +206 -0
- package/dist/collection/components/xpl-tag/xpl-tag.js +27 -27
- package/dist/collection/components/xpl-toast/toast.stories.js +82 -0
- package/dist/collection/components/xpl-toast/xpl-toast.js +162 -0
- package/dist/collection/components/xpl-toggle/toggle.stories.js +84 -0
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +165 -157
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +56 -0
- package/dist/collection/components/xpl-tooltip/tooltip-arrow.js +2 -0
- package/dist/collection/components/xpl-tooltip/tooltip.stories.js +85 -0
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +75 -0
- package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +87 -0
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +89 -93
- package/dist/components/_commonjsHelpers.js +1 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index2.js +1 -0
- package/dist/components/index3.js +1 -0
- package/dist/components/v4.js +1 -0
- package/dist/components/xpl-accordion.d.ts +11 -0
- package/dist/components/xpl-accordion.js +1 -0
- package/dist/components/xpl-application-shell.d.ts +11 -0
- package/dist/components/xpl-application-shell.js +1 -0
- package/dist/components/xpl-avatar.d.ts +11 -0
- package/dist/components/xpl-avatar.js +1 -0
- package/dist/components/xpl-avatar2.js +1 -0
- package/dist/components/xpl-backdrop.d.ts +11 -0
- package/dist/components/xpl-backdrop.js +1 -0
- package/dist/components/xpl-backdrop2.js +1 -0
- package/dist/components/xpl-badge.d.ts +11 -0
- package/dist/components/xpl-badge.js +1 -0
- package/dist/components/xpl-badge2.js +1 -0
- package/dist/components/xpl-breadcrumb-item.d.ts +11 -0
- package/dist/components/xpl-breadcrumb-item.js +1 -0
- package/dist/components/xpl-breadcrumbs.d.ts +11 -0
- package/dist/components/xpl-breadcrumbs.js +1 -0
- package/dist/components/xpl-button-row.d.ts +11 -0
- package/dist/components/xpl-button-row.js +1 -0
- package/dist/components/xpl-button.d.ts +11 -0
- package/dist/components/xpl-button.js +1 -0
- package/dist/components/xpl-button2.js +1 -0
- package/dist/components/xpl-calendar.d.ts +11 -0
- package/dist/components/xpl-calendar.js +1 -0
- package/dist/components/xpl-checkbox.d.ts +11 -0
- package/dist/components/xpl-checkbox.js +1 -0
- package/dist/components/xpl-checkbox2.js +1 -0
- package/dist/components/xpl-choicelist.d.ts +11 -0
- package/dist/components/xpl-choicelist.js +1 -0
- package/dist/components/xpl-content-area.d.ts +11 -0
- package/dist/components/xpl-content-area.js +1 -0
- package/dist/components/xpl-dashboard.d.ts +11 -0
- package/dist/components/xpl-dashboard.js +1 -0
- package/dist/components/xpl-data-card.d.ts +11 -0
- package/dist/components/xpl-data-card.js +1 -0
- package/dist/components/xpl-divider.d.ts +11 -0
- package/dist/components/xpl-divider.js +1 -0
- package/dist/components/xpl-divider2.js +1 -0
- package/dist/components/xpl-dropdown-group.d.ts +11 -0
- package/dist/components/xpl-dropdown-group.js +1 -0
- package/dist/components/xpl-dropdown-group2.js +1 -0
- package/dist/components/xpl-dropdown-heading.d.ts +11 -0
- package/dist/components/xpl-dropdown-heading.js +1 -0
- package/dist/components/xpl-dropdown-heading2.js +1 -0
- package/dist/components/xpl-dropdown-option.d.ts +11 -0
- package/dist/components/xpl-dropdown-option.js +1 -0
- package/dist/components/xpl-dropdown-option2.js +1 -0
- package/dist/components/xpl-dropdown.d.ts +11 -0
- package/dist/components/xpl-dropdown.js +1 -0
- package/dist/components/xpl-dropdown2.js +1 -0
- package/dist/components/xpl-dynamic-table-cell.d.ts +11 -0
- package/dist/components/xpl-dynamic-table-cell.js +1 -0
- package/dist/components/xpl-dynamic-table-row.d.ts +11 -0
- package/dist/components/xpl-dynamic-table-row.js +1 -0
- package/dist/components/xpl-dynamic-table.d.ts +11 -0
- package/dist/components/xpl-dynamic-table.js +1 -0
- package/dist/components/xpl-grid-item.d.ts +11 -0
- package/dist/components/xpl-grid-item.js +1 -0
- package/dist/components/xpl-grid.d.ts +11 -0
- package/dist/components/xpl-grid.js +1 -0
- package/dist/components/xpl-header-accordion.d.ts +11 -0
- package/dist/components/xpl-header-accordion.js +1 -0
- package/dist/components/xpl-icon.d.ts +11 -0
- package/dist/components/xpl-icon.js +1 -0
- package/dist/components/xpl-icon2.js +6 -0
- package/dist/components/xpl-input-color.d.ts +11 -0
- package/dist/components/xpl-input-color.js +1 -0
- package/dist/components/xpl-input-date.d.ts +11 -0
- package/dist/components/xpl-input-date.js +1 -0
- package/dist/components/xpl-input-date2.js +1 -0
- package/dist/components/xpl-input-file.d.ts +11 -0
- package/dist/components/xpl-input-file.js +1 -0
- package/dist/components/xpl-input-file2.js +1 -0
- package/dist/components/xpl-input-time.d.ts +11 -0
- package/dist/components/xpl-input-time.js +1 -0
- package/dist/components/xpl-input.d.ts +11 -0
- package/dist/components/xpl-input.js +1 -0
- package/dist/components/xpl-input2.js +1 -0
- package/dist/components/xpl-large-card.d.ts +11 -0
- package/dist/components/xpl-large-card.js +1 -0
- package/dist/components/xpl-list.d.ts +11 -0
- package/dist/components/xpl-list.js +1 -0
- package/dist/components/xpl-main-nav.d.ts +11 -0
- package/dist/components/xpl-main-nav.js +1 -0
- package/dist/components/xpl-modal.d.ts +11 -0
- package/dist/components/xpl-modal.js +1 -0
- package/dist/components/xpl-nav-item.d.ts +11 -0
- package/dist/components/xpl-nav-item.js +1 -0
- package/dist/components/xpl-pagination.d.ts +11 -0
- package/dist/components/xpl-pagination.js +1 -0
- package/dist/components/xpl-popover.d.ts +11 -0
- package/dist/components/xpl-popover.js +1 -0
- package/dist/components/xpl-popover2.js +1 -0
- package/dist/components/xpl-progress.d.ts +11 -0
- package/dist/components/xpl-progress.js +1 -0
- package/dist/components/xpl-radio.d.ts +11 -0
- package/dist/components/xpl-radio.js +1 -0
- package/dist/components/xpl-radio2.js +1 -0
- package/dist/components/xpl-secondary-nav.d.ts +11 -0
- package/dist/components/xpl-secondary-nav.js +1 -0
- package/dist/components/xpl-select.d.ts +11 -0
- package/dist/components/xpl-select.js +1 -0
- package/dist/components/xpl-select2.js +1 -0
- package/dist/components/xpl-skeleton.d.ts +11 -0
- package/dist/components/xpl-skeleton.js +1 -0
- package/dist/components/xpl-slideout.d.ts +11 -0
- package/dist/components/xpl-slideout.js +1 -0
- package/dist/components/xpl-tab-panel.d.ts +11 -0
- package/dist/components/xpl-tab-panel.js +1 -0
- package/dist/components/xpl-tab.d.ts +11 -0
- package/dist/components/xpl-tab.js +1 -0
- package/dist/components/xpl-table-header-cell.d.ts +11 -0
- package/dist/components/xpl-table-header-cell.js +1 -0
- package/dist/components/xpl-table-header.d.ts +11 -0
- package/dist/components/xpl-table-header.js +1 -0
- package/dist/components/xpl-table.d.ts +11 -0
- package/dist/components/xpl-table.js +1 -0
- package/dist/components/xpl-tabs.d.ts +11 -0
- package/dist/components/xpl-tabs.js +1 -0
- package/dist/components/xpl-tag.d.ts +11 -0
- package/dist/components/xpl-tag.js +1 -0
- package/dist/components/xpl-tag2.js +1 -0
- package/dist/components/xpl-toast.d.ts +11 -0
- package/dist/components/xpl-toast.js +1 -0
- package/dist/components/xpl-toggle.d.ts +11 -0
- package/dist/components/xpl-toggle.js +1 -0
- package/dist/components/xpl-toolbar.d.ts +11 -0
- package/dist/components/xpl-toolbar.js +1 -0
- package/dist/components/xpl-tooltip.d.ts +11 -0
- package/dist/components/xpl-tooltip.js +1 -0
- package/dist/components/xpl-tooltip2.js +1 -0
- package/dist/components/xpl-utility-bar.d.ts +11 -0
- package/dist/components/xpl-utility-bar.js +1 -0
- package/dist/css/typography.stories.js +144 -0
- package/dist/esm/apollo-core.js +15 -12
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/{cjs/xpl-input.cjs.entry.js → esm/index-CH4yJ6Qx.js} +1 -99
- package/dist/esm/index-DhZas3eX.js +2132 -0
- package/dist/esm/loader.js +7 -14
- package/dist/esm/{v4-929670b7.js → v4-Cqlsd6nf.js} +1 -11
- package/dist/esm/xpl-accordion.entry.js +71 -0
- package/dist/esm/xpl-application-shell.entry.js +41 -44
- package/dist/esm/xpl-avatar_41.entry.js +5479 -0
- package/dist/esm/xpl-button-row.entry.js +13 -16
- package/dist/esm/xpl-calendar.entry.js +64 -0
- package/dist/esm/xpl-dynamic-table-cell.entry.js +31 -0
- package/dist/esm/xpl-dynamic-table-row.entry.js +35 -0
- package/dist/esm/xpl-dynamic-table.entry.js +62 -0
- package/dist/esm/xpl-grid-item.entry.js +16 -16
- package/dist/esm/xpl-grid.entry.js +29 -26
- package/dist/esm/xpl-large-card.entry.js +25 -0
- package/dist/esm/xpl-list.entry.js +23 -28
- package/dist/esm/xpl-main-nav.entry.js +18 -18
- package/dist/esm/xpl-table-header-cell.entry.js +55 -0
- package/dist/esm/xpl-table-header.entry.js +12 -0
- package/dist/esm/xpl-toggle.entry.js +22 -28
- package/dist/esm/xpl-toolbar.entry.js +26 -0
- package/dist/types/components/xpl-accordion/accordion.stories.d.ts +37 -0
- package/dist/types/components/xpl-accordion/xpl-accordion.d.ts +16 -0
- package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +60 -0
- package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +12 -27
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +75 -0
- package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +9 -9
- package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +17 -0
- package/dist/types/components/xpl-backdrop/xpl-backdrop.d.ts +2 -6
- package/dist/types/components/xpl-badge/badge.stories.d.ts +44 -0
- package/dist/types/components/xpl-badge/xpl-badge.d.ts +3 -3
- package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +53 -0
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.d.ts +2 -5
- package/dist/types/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.d.ts +1 -4
- package/dist/types/components/xpl-button/button.stories.d.ts +92 -0
- package/dist/types/components/xpl-button/xpl-button.d.ts +14 -43
- package/dist/types/components/xpl-button-row/button-row.stories.d.ts +45 -0
- package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +10 -32
- package/dist/types/components/xpl-calendar/calendar.stories.d.ts +58 -0
- package/dist/types/components/xpl-calendar/xpl-calendar.d.ts +18 -0
- package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +65 -0
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +13 -13
- package/dist/types/components/xpl-choicelist/choice.d.ts +5 -4
- package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +40 -0
- package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +16 -32
- package/dist/types/components/xpl-content-area/content-area.stories.d.ts +13 -0
- package/dist/types/components/xpl-content-area/xpl-content-area.d.ts +2 -5
- package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +31 -0
- package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +3 -0
- package/dist/types/components/xpl-data-card/data-card.stories.d.ts +114 -0
- package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +21 -0
- package/dist/types/components/xpl-divider/divider.stories.d.ts +37 -0
- package/dist/types/components/xpl-divider/xpl-divider.d.ts +2 -7
- package/dist/types/components/xpl-dropdown/dropdown-option.d.ts +12 -0
- package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +25 -0
- package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +4 -6
- package/dist/types/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.d.ts +2 -3
- package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +13 -14
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +34 -35
- package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +41 -0
- package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +14 -0
- package/dist/types/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.d.ts +9 -0
- package/dist/types/components/xpl-dynamic-table-row/xpl-dynamic-table-row.d.ts +11 -0
- package/dist/types/components/xpl-grid/grid.stories.d.ts +133 -0
- package/dist/types/components/xpl-grid/xpl-grid.d.ts +3 -3
- package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +5 -5
- package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +44 -0
- package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +20 -0
- package/dist/types/components/xpl-icon/icons.stories.d.ts +54 -0
- package/dist/types/components/xpl-icon/xpl-icon.d.ts +8 -0
- package/dist/types/components/xpl-input/input.stories.d.ts +206 -0
- package/dist/types/components/xpl-input/xpl-input-color/color-utils.d.ts +41 -0
- package/dist/types/components/xpl-input/xpl-input-color/xpl-input-color.d.ts +30 -0
- package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +30 -0
- package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +24 -0
- package/dist/types/components/xpl-input/xpl-input-time/time-utils.d.ts +5 -0
- package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +39 -0
- package/dist/types/components/xpl-input/xpl-input.d.ts +45 -85
- package/dist/types/components/xpl-large-card/large-card.stories.d.ts +71 -0
- package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +8 -0
- package/dist/types/components/xpl-list/list.stories.d.ts +63 -0
- package/dist/types/components/xpl-list/listitem.d.ts +14 -14
- package/dist/types/components/xpl-list/xpl-list.d.ts +2 -26
- package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +13 -0
- package/dist/types/components/xpl-main-nav/xpl-main-nav.d.ts +6 -13
- package/dist/types/components/xpl-modal/modal.stories.d.ts +99 -0
- package/dist/types/components/xpl-modal/xpl-modal.d.ts +15 -0
- package/dist/types/components/xpl-nav-item/xpl-nav-item.d.ts +4 -10
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +35 -0
- package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +19 -22
- package/dist/types/components/xpl-popover/popover.stories.d.ts +12 -0
- package/dist/types/components/xpl-popover/xpl-popover.d.ts +24 -0
- package/dist/types/components/xpl-progress/progress.stories.d.ts +34 -0
- package/dist/types/components/xpl-progress/xpl-progress.d.ts +6 -0
- package/dist/types/components/xpl-radio/radio.stories.d.ts +79 -0
- package/dist/types/components/xpl-radio/xpl-radio.d.ts +11 -11
- package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +5 -0
- package/dist/types/components/xpl-secondary-nav/xpl-secondary-nav.d.ts +1 -1
- package/dist/types/components/xpl-select/select.stories.d.ts +164 -0
- package/dist/types/components/xpl-select/xpl-select.d.ts +59 -55
- package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +26 -0
- package/dist/types/components/xpl-skeleton/xpl-skeleton.d.ts +10 -0
- package/dist/types/components/xpl-slideout/slideout.stories.d.ts +114 -0
- package/dist/types/components/xpl-slideout/xpl-slideout.d.ts +14 -0
- package/dist/types/components/xpl-tab/xpl-tab.d.ts +8 -0
- package/dist/types/components/xpl-tab-panel/xpl-tab-panel.d.ts +5 -0
- package/dist/types/components/xpl-table/table.stories.d.ts +84 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +37 -23
- package/dist/types/components/xpl-table-header/table-header.stories.d.ts +103 -0
- package/dist/types/components/xpl-table-header/xpl-table-header.d.ts +3 -0
- package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +55 -0
- package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +14 -0
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +40 -0
- package/dist/types/components/xpl-tabs/xpl-tabs.d.ts +28 -0
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +2 -2
- package/dist/types/components/xpl-toast/toast.stories.d.ts +62 -0
- package/dist/types/components/xpl-toast/xpl-toast.d.ts +14 -0
- package/dist/types/components/xpl-toggle/toggle.stories.d.ts +67 -0
- package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +9 -21
- package/dist/types/components/xpl-toolbar/xpl-toolbar.d.ts +7 -0
- package/dist/types/components/xpl-tooltip/tooltip-arrow.d.ts +2 -0
- package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +39 -0
- package/dist/types/components/xpl-tooltip/xpl-tooltip.d.ts +6 -0
- package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +20 -0
- package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +7 -17
- package/dist/types/components.d.ts +3060 -498
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/css/typography.stories.d.ts +90 -0
- package/dist/types/stencil-public-runtime.d.ts +236 -34
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +5 -2
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +110 -61
- package/CHANGELOG.md +0 -106
- package/dist/apollo-core/p-10f00380.entry.js +0 -1
- package/dist/apollo-core/p-26ec64fe.entry.js +0 -1
- package/dist/apollo-core/p-2f90296c.js +0 -10
- package/dist/apollo-core/p-31acfdb4.entry.js +0 -1
- package/dist/apollo-core/p-4184ac44.entry.js +0 -1
- package/dist/apollo-core/p-4fa14839.entry.js +0 -1
- package/dist/apollo-core/p-55b87345.js +0 -2
- package/dist/apollo-core/p-63a6c98a.entry.js +0 -1
- package/dist/apollo-core/p-68c33b77.entry.js +0 -1
- package/dist/apollo-core/p-78d07caf.entry.js +0 -1
- package/dist/apollo-core/p-796957d3.entry.js +0 -1
- package/dist/apollo-core/p-88160d68.entry.js +0 -1
- package/dist/apollo-core/p-9ec318bb.entry.js +0 -1
- package/dist/apollo-core/p-a2a34e44.entry.js +0 -1
- package/dist/apollo-core/p-ad90fe4d.js +0 -1
- package/dist/apollo-core/p-beea2502.entry.js +0 -1
- package/dist/apollo-core/p-d499e43f.entry.js +0 -1
- package/dist/apollo-core/p-d8a3d94c.entry.js +0 -1
- package/dist/apollo-core/p-e047b446.entry.js +0 -1
- package/dist/cjs/index-2ab4832e.js +0 -2003
- package/dist/cjs/regular-872f5226.js +0 -16043
- package/dist/cjs/xpl-avatar_12.cjs.entry.js +0 -362
- package/dist/cjs/xpl-backdrop.cjs.entry.js +0 -21
- package/dist/cjs/xpl-choicelist.cjs.entry.js +0 -50
- package/dist/cjs/xpl-divider.cjs.entry.js +0 -19
- package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +0 -113
- package/dist/cjs/xpl-dropdown_2.cjs.entry.js +0 -121
- package/dist/cjs/xpl-pagination.cjs.entry.js +0 -79
- package/dist/cjs/xpl-select.cjs.entry.js +0 -610
- package/dist/collection/components/xpl-select/selectchoice.js +0 -1
- package/dist/custom-elements/index.d.ts +0 -219
- package/dist/custom-elements/index.js +0 -20353
- package/dist/esm/index-392b5b96.js +0 -1973
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/regular-86225e9d.js +0 -16041
- package/dist/esm/xpl-avatar_12.entry.js +0 -347
- package/dist/esm/xpl-backdrop.entry.js +0 -17
- package/dist/esm/xpl-choicelist.entry.js +0 -46
- package/dist/esm/xpl-divider.entry.js +0 -15
- package/dist/esm/xpl-dropdown-group_3.entry.js +0 -107
- package/dist/esm/xpl-dropdown_2.entry.js +0 -116
- package/dist/esm/xpl-pagination.entry.js +0 -75
- package/dist/esm/xpl-select.entry.js +0 -606
- package/dist/stories/application-shell.stories.js +0 -776
- package/dist/stories/avatar.stories.js +0 -173
- package/dist/stories/backdrop.stories.js +0 -18
- package/dist/stories/badge.stories.js +0 -48
- package/dist/stories/breadcrumbs.stories.js +0 -117
- package/dist/stories/button-row.stories.js +0 -68
- package/dist/stories/button.stories.js +0 -122
- package/dist/stories/checkbox.stories.js +0 -78
- package/dist/stories/choicelist.stories.js +0 -112
- package/dist/stories/content-area.stories.js +0 -53
- package/dist/stories/divider.stories.js +0 -34
- package/dist/stories/dropdown.stories.js +0 -377
- package/dist/stories/input.stories.js +0 -268
- package/dist/stories/list.stories.js +0 -154
- package/dist/stories/main-nav.stories.js +0 -308
- package/dist/stories/pagination.stories.js +0 -84
- package/dist/stories/radio.stories.js +0 -68
- package/dist/stories/secondary-nav.stories.js +0 -76
- package/dist/stories/select.stories.js +0 -119
- package/dist/stories/table.stories.js +0 -107
- package/dist/stories/tabs.stories.js +0 -24
- package/dist/stories/toggle.stories.js +0 -84
- package/dist/stories/utility-bar.stories.js +0 -94
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/application-shell.stories.d.ts +0 -71
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/avatar.stories.d.ts +0 -91
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/backdrop.stories.d.ts +0 -16
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/badge.stories.d.ts +0 -48
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -53
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button-row.stories.d.ts +0 -49
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/button.stories.d.ts +0 -91
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/checkbox.stories.d.ts +0 -72
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/choicelist.stories.d.ts +0 -41
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/content-area.stories.d.ts +0 -29
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/divider.stories.d.ts +0 -40
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/dropdown.stories.d.ts +0 -135
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/grid.stories.d.ts +0 -150
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/input.stories.d.ts +0 -190
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/list.stories.d.ts +0 -71
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/main-nav.stories.d.ts +0 -30
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/radio.stories.d.ts +0 -64
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -16
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/select.stories.d.ts +0 -74
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/table.stories.d.ts +0 -49
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/toggle.stories.d.ts +0 -74
- package/dist/types/Users/fernandogelin/Xplor/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -20
- package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +0 -10
- package/dist/types/components/xpl-select/selectchoice.d.ts +0 -4
- package/loader/package.json +0 -11
- /package/dist/collection/components/xpl-dropdown/{dropdownoption.js → dropdown-option.js} +0 -0
|
@@ -1,95 +1,91 @@
|
|
|
1
|
-
import { h, Host
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class XplUtilityBar {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"references": {}
|
|
92
|
-
}
|
|
93
|
-
}];
|
|
94
|
-
}
|
|
3
|
+
constructor() {
|
|
4
|
+
this.open = true;
|
|
5
|
+
}
|
|
6
|
+
onNavToggle() {
|
|
7
|
+
this.open = !this.open;
|
|
8
|
+
this.navOpen.emit(this.open);
|
|
9
|
+
}
|
|
10
|
+
componentWillLoad() {
|
|
11
|
+
this.open = this.isNavOpenAtStartup !== undefined ? this.isNavOpenAtStartup : this.open;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { key: 'a67e91188d392358df4b052d7e9026cf2f6b9b04' }, h("nav", { key: 'f51a3c37a1c8ae3d4f4ba8b524fb1f2ff2dd5ea8', "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, this.navControl ? (h("div", null, h("button", { class: "xpl-utility-bar__nav-control", onClick: () => this.onNavToggle() }, h("xpl-icon", { class: "xpl-utility-nav__bars", icon: "three-bars" })), h("slot", { name: "aside" }))) : (h("slot", { name: "aside" })), h("slot", { key: '75f581a8455f372b692a9ec190c2f0974b214105', name: "main" }))));
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "xpl-utility-bar"; }
|
|
17
|
+
static get properties() {
|
|
18
|
+
return {
|
|
19
|
+
"navControl": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"mutable": false,
|
|
22
|
+
"complexType": {
|
|
23
|
+
"original": "boolean",
|
|
24
|
+
"resolved": "boolean",
|
|
25
|
+
"references": {}
|
|
26
|
+
},
|
|
27
|
+
"required": false,
|
|
28
|
+
"optional": true,
|
|
29
|
+
"docs": {
|
|
30
|
+
"tags": [{
|
|
31
|
+
"name": "property",
|
|
32
|
+
"text": "{boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)"
|
|
33
|
+
}],
|
|
34
|
+
"text": ""
|
|
35
|
+
},
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"attribute": "nav-control"
|
|
40
|
+
},
|
|
41
|
+
"isNavOpenAtStartup": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "boolean",
|
|
46
|
+
"resolved": "boolean",
|
|
47
|
+
"references": {}
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"optional": true,
|
|
51
|
+
"docs": {
|
|
52
|
+
"tags": [{
|
|
53
|
+
"name": "property",
|
|
54
|
+
"text": "{boolean} - Optional property that defines whether or not the main nav is open at startup."
|
|
55
|
+
}],
|
|
56
|
+
"text": ""
|
|
57
|
+
},
|
|
58
|
+
"getter": false,
|
|
59
|
+
"setter": false,
|
|
60
|
+
"reflect": false,
|
|
61
|
+
"attribute": "is-nav-open-at-startup"
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
static get states() {
|
|
66
|
+
return {
|
|
67
|
+
"open": {}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static get events() {
|
|
71
|
+
return [{
|
|
72
|
+
"method": "navOpen",
|
|
73
|
+
"name": "navOpen",
|
|
74
|
+
"bubbles": true,
|
|
75
|
+
"cancelable": true,
|
|
76
|
+
"composed": true,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [{
|
|
79
|
+
"name": "event",
|
|
80
|
+
"text": "{boolean} - Emits the desired state of the navigation bar (open: true/false)"
|
|
81
|
+
}],
|
|
82
|
+
"text": ""
|
|
83
|
+
},
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "boolean",
|
|
86
|
+
"resolved": "boolean",
|
|
87
|
+
"references": {}
|
|
88
|
+
}
|
|
89
|
+
}];
|
|
90
|
+
}
|
|
95
91
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as c,n as g}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the base path to where the assets can be found. Use "setAssetPath(path)"
|
|
3
|
+
* if the path needs to be customized.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getAssetPath: (path: string) => string;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Used to manually set the base path where assets can be found.
|
|
9
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
10
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
11
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
12
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
13
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
14
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
15
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
16
|
+
*/
|
|
17
|
+
export declare const setAssetPath: (path: string) => void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
21
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
22
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
23
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
24
|
+
* will result in the same behavior.
|
|
25
|
+
*/
|
|
26
|
+
export declare const setNonce: (nonce: string) => void
|
|
27
|
+
|
|
28
|
+
export interface SetPlatformOptions {
|
|
29
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
30
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
31
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Utility to define all custom elements within this package using the tag name provided in the component's source.
|
|
37
|
+
* When defining each custom element, it will also check it's safe to define by:
|
|
38
|
+
*
|
|
39
|
+
* 1. Ensuring the "customElements" registry is available in the global context (window).
|
|
40
|
+
* 2. Ensuring that the component tag name is not already defined.
|
|
41
|
+
*
|
|
42
|
+
* Use the standard [customElements.define()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)
|
|
43
|
+
* method instead to define custom elements individually, or to provide a different tag name.
|
|
44
|
+
*/
|
|
45
|
+
export declare const defineCustomElements: (opts?: any) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{transformTag as o}from"@stencil/core/internal/client";export{getAssetPath,render,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";import{XplAccordion as r}from"./xpl-accordion.js";import{XplApplicationShell as p}from"./xpl-application-shell.js";import{XplAvatar as m}from"./xpl-avatar.js";import{XplBackdrop as t}from"./xpl-backdrop.js";import{XplBadge as i}from"./xpl-badge.js";import{XplBreadcrumbItem as l}from"./xpl-breadcrumb-item.js";import{XplBreadcrumbs as s}from"./xpl-breadcrumbs.js";import{XplButton as e}from"./xpl-button.js";import{XplButtonRow as f}from"./xpl-button-row.js";import{XplCalendar as x}from"./xpl-calendar.js";import{XplCheckbox as a}from"./xpl-checkbox.js";import{XplChoicelist as j}from"./xpl-choicelist.js";import{XplContentArea as n}from"./xpl-content-area.js";import{XplDashboard as d}from"./xpl-dashboard.js";import{XplDataCard as c}from"./xpl-data-card.js";import{XplDivider as b}from"./xpl-divider.js";import{XplDropdown as u}from"./xpl-dropdown.js";import{XplDropdownGroup as g}from"./xpl-dropdown-group.js";import{XplDropdownHeading as h}from"./xpl-dropdown-heading.js";import{XplDropdownOption as v}from"./xpl-dropdown-option.js";import{XplDynamicTable as w}from"./xpl-dynamic-table.js";import{XplDynamicTableCell as y}from"./xpl-dynamic-table-cell.js";import{XplDynamicTableRow as k}from"./xpl-dynamic-table-row.js";import{XplGrid as E}from"./xpl-grid.js";import{XplGridItem as P}from"./xpl-grid-item.js";import{XplHeaderAccordion as A}from"./xpl-header-accordion.js";import{XplIcon as N}from"./xpl-icon.js";import{XplInput as O}from"./xpl-input.js";import{XplInputColor as q}from"./xpl-input-color.js";import{XplInputDate as z}from"./xpl-input-date.js";import{XplInputFile as B}from"./xpl-input-file.js";import{XplInputTime as C}from"./xpl-input-time.js";import{XplLargeCard as D}from"./xpl-large-card.js";import{XplList as F}from"./xpl-list.js";import{XplMainNav as G}from"./xpl-main-nav.js";import{XplModal as H}from"./xpl-modal.js";import{XplNavItem as I}from"./xpl-nav-item.js";import{XplPagination as J}from"./xpl-pagination.js";import{XplPopover as K}from"./xpl-popover.js";import{XplProgress as L}from"./xpl-progress.js";import{XplRadio as M}from"./xpl-radio.js";import{XplSecondaryNav as Q}from"./xpl-secondary-nav.js";import{XplSelect as R}from"./xpl-select.js";import{XplSkeleton as S}from"./xpl-skeleton.js";import{XplSlideout as T}from"./xpl-slideout.js";import{XplTab as U}from"./xpl-tab.js";import{XplTabPanel as V}from"./xpl-tab-panel.js";import{XplTable as W}from"./xpl-table.js";import{XplTableHeader as X}from"./xpl-table-header.js";import{XplTableHeaderCell as Y}from"./xpl-table-header-cell.js";import{XplTabs as Z}from"./xpl-tabs.js";import{XplTag as $}from"./xpl-tag.js";import{XplToast as _}from"./xpl-toast.js";import{XplToggle as oo}from"./xpl-toggle.js";import{XplToolbar as ro}from"./xpl-toolbar.js";import{XplTooltip as po}from"./xpl-tooltip.js";import{XplUtilityBar as mo}from"./xpl-utility-bar.js";const to=to=>{"undefined"!=typeof customElements&&[r,p,m,t,i,l,s,e,f,x,a,j,n,d,c,b,u,g,h,v,w,y,k,E,P,A,N,O,q,z,B,C,D,F,G,H,I,J,K,L,M,Q,R,S,T,U,V,W,X,Y,Z,$,_,oo,ro,po,mo].forEach((r=>{customElements.get(o(r.is))||customElements.define(o(r.is),r,to)}))};export{to as defineCustomElements}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],e={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return"undefined"!=typeof console&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},t={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var e=n%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},r=function(n,e){return void 0===e&&(e=2),("000"+n).slice(-1*e)},i=function(n){return!0===n?1:0};function o(n,e){var t;return function(){var r=this,i=arguments;clearTimeout(t),t=setTimeout((function(){return n.apply(r,i)}),e)}}var a=function(n){return n instanceof Array?n:[n]};function u(n,e,t){if(!0===t)return n.classList.add(e);n.classList.remove(e)}function f(n,e,t){var r=window.document.createElement(n);return t=t||"",r.className=e=e||"",void 0!==t&&(r.textContent=t),r}function c(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function d(n,e){return e(n)?n:n.parentNode?d(n.parentNode,e):void 0}function v(n,e){var t=f("div","numInputWrapper"),r=f("input","numInput "+n),i=f("span","arrowUp"),o=f("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),void 0!==e)for(var a in e)r.setAttribute(a,e[a]);return t.appendChild(r),t.appendChild(i),t.appendChild(o),t}function l(n){try{return"function"==typeof n.composedPath?n.composedPath()[0]:n.target}catch(e){return n.target}}var s=function(){},p=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},w={D:s,F:function(n,e,t){n.setMonth(t.months.longhand.indexOf(e))},G:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},H:function(n,e){n.setHours(parseFloat(e))},J:function(n,e){n.setDate(parseFloat(e))},K:function(n,e,t){n.setHours(n.getHours()%12+12*i(new RegExp(t.amPM[1],"i").test(e)))},M:function(n,e,t){n.setMonth(t.months.shorthand.indexOf(e))},S:function(n,e){n.setSeconds(parseFloat(e))},U:function(n,e){return new Date(1e3*parseFloat(e))},W:function(n,e,t){var r=parseInt(e),i=new Date(n.getFullYear(),0,2+7*(r-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(n,e){n.setFullYear(parseFloat(e))},Z:function(n,e){return new Date(e)},d:function(n,e){n.setDate(parseFloat(e))},h:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},i:function(n,e){n.setMinutes(parseFloat(e))},j:function(n,e){n.setDate(parseFloat(e))},l:s,m:function(n,e){n.setMonth(parseFloat(e)-1)},n:function(n,e){n.setMonth(parseFloat(e)-1)},s:function(n,e){n.setSeconds(parseFloat(e))},u:function(n,e){return new Date(parseFloat(e))},w:s,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},h={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},m={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[m.w(n,e,t)]},F:function(n,e,t){return p(m.n(n,e,t)-1,!1,e)},G:function(n,e,t){return r(m.h(n,e,t))},H:function(n){return r(n.getHours())},J:function(n,e){return void 0!==e.ordinal?n.getDate()+e.ordinal(n.getDate()):n.getDate()},K:function(n,e){return e.amPM[i(n.getHours()>11)]},M:function(n,e){return p(n.getMonth(),!0,e)},S:function(n){return r(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return r(n.getFullYear(),4)},d:function(n){return r(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return r(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return r(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},g=function(n){var r=n.config,i=void 0===r?e:r,o=n.l10n,a=void 0===o?t:o,u=n.isMobile,f=void 0!==u&&u;return function(n,e,t){var r=t||a;return void 0===i.formatDate||f?e.split("").map((function(e,t,o){return m[e]&&"\\"!==o[t-1]?m[e](n,r,i):"\\"!==e?e:""})).join(""):i.formatDate(n,e,r)}},y=function(n){var r=n.config,i=void 0===r?e:r,o=n.l10n,a=void 0===o?t:o;return function(n,t,r,o){if(0===n||n){var u,f=o||a,c=n;if(n instanceof Date)u=new Date(n.getTime());else if("string"!=typeof n&&void 0!==n.toFixed)u=new Date(n);else if("string"==typeof n){var d=t||(i||e).dateFormat,v=String(n).trim();if("today"===v)u=new Date,r=!0;else if(i&&i.parseDate)u=i.parseDate(n,d);else if(/Z$/.test(v)||/GMT$/.test(v))u=new Date(n);else{for(var l=void 0,s=[],p=0,m=0,g="";p<d.length;p++){var y=d[p],k="\\"===y;if(h[y]&&"\\"!==d[p-1]&&!k){g+=h[y];var b=new RegExp(g).exec(n);b&&(l=!0)&&s["Y"!==y?"push":"unshift"]({fn:w[y],val:b[++m]})}else k||(g+=".")}u=i&&i.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),s.forEach((function(n){return u=(0,n.fn)(u,n.val,f)||u})),u=l?u:void 0}}if(u instanceof Date&&!isNaN(u.getTime()))return!0===r&&u.setHours(0,0,0,0),u;i.errorHandler(new Error("Invalid date provided: "+c))}}};function k(n,e,t){return void 0===t&&(t=!0),!1!==t?new Date(n.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):n.getTime()-e.getTime()}var b=function(n,e,t){return 3600*n+60*e+t};function M(n){var e=n.defaultHour,t=n.defaultMinute,r=n.defaultSeconds;if(void 0!==n.minDate){var i=n.minDate.getHours(),o=n.minDate.getMinutes(),a=n.minDate.getSeconds();e<i&&(e=i),e===i&&t<o&&(t=o),e===i&&t===o&&r<a&&(r=n.minDate.getSeconds())}if(void 0!==n.maxDate){var u=n.maxDate.getHours(),f=n.maxDate.getMinutes();(e=Math.min(e,u))===u&&(t=Math.min(f,t)),e===u&&t===f&&(r=n.maxDate.getSeconds())}return{hours:e,minutes:t,seconds:r}}"function"!=typeof Object.assign&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var r=function(e){e&&Object.keys(e).forEach((function(t){return n[t]=e[t]}))},i=0,o=e;i<o.length;i++)r(o[i]);return n});var D=function(){return D=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n},D.apply(this,arguments)},C=function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;var r=Array(n),i=0;for(e=0;e<t;e++)for(var o=arguments[e],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r};function x(s,w){var m={config:D(D({},e),O.defaultConfig),l10n:t};function x(){var n;return(null===(n=m.calendarContainer)||void 0===n?void 0:n.getRootNode()).activeElement||document.activeElement}function S(n){return n.bind(m)}function A(){var n=m.config;!1===n.weekNumbers&&1===n.showMonths||!0!==n.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==m.calendarContainer&&(m.calendarContainer.style.visibility="hidden",m.calendarContainer.style.display="block"),void 0!==m.daysContainer){var e=(m.days.offsetWidth+1)*n.showMonths;m.daysContainer.style.width=e+"px",m.calendarContainer.style.width=e+(void 0!==m.weekWrapper?m.weekWrapper.offsetWidth:0)+"px",m.calendarContainer.style.removeProperty("visibility"),m.calendarContainer.style.removeProperty("display")}}))}function j(n){if(0===m.selectedDates.length){var e=void 0===m.config.minDate||k(new Date,m.config.minDate)>=0?new Date:new Date(m.config.minDate.getTime()),t=M(m.config);e.setHours(t.hours,t.minutes,t.seconds,e.getMilliseconds()),m.selectedDates=[e],m.latestSelectedDateObj=e}void 0!==n&&"blur"!==n.type&&function(n){n.preventDefault();var e="keydown"===n.type,t=l(n),o=t;void 0!==m.amPM&&t===m.amPM&&(m.amPM.textContent=m.l10n.amPM[i(m.amPM.textContent===m.l10n.amPM[0])]);var a=parseFloat(o.getAttribute("min")),u=parseFloat(o.getAttribute("max")),f=parseFloat(o.getAttribute("step")),c=parseInt(o.value,10),d=c+f*(n.delta||(e?38===n.which?1:-1:0));if(void 0!==o.value&&2===o.value.length){var v=o===m.hourElement,s=o===m.minuteElement;d<a?(d=u+d+i(!v)+(i(v)&&i(!m.amPM)),s&&Y(void 0,-1,m.hourElement)):d>u&&(d=o===m.hourElement?d-u-i(!m.amPM):a,s&&Y(void 0,1,m.hourElement)),m.amPM&&v&&(1===f?d+c===23:Math.abs(d-c)>f)&&(m.amPM.textContent=m.l10n.amPM[i(m.amPM.textContent===m.l10n.amPM[0])]),o.value=r(d)}}(n);var o=m._input.value;F(),Dn(),m._input.value!==o&&m._debouncedChange()}function F(){if(void 0!==m.hourElement&&void 0!==m.minuteElement){var n=(parseInt(m.hourElement.value.slice(-2),10)||0)%24,e=(parseInt(m.minuteElement.value,10)||0)%60,t=void 0!==m.secondElement?(parseInt(m.secondElement.value,10)||0)%60:0;void 0!==m.amPM&&(n=n%12+12*i(m.amPM.textContent===m.l10n.amPM[1]));var r=void 0!==m.config.minTime||m.config.minDate&&m.minDateHasTime&&m.latestSelectedDateObj&&0===k(m.latestSelectedDateObj,m.config.minDate,!0),o=void 0!==m.config.maxTime||m.config.maxDate&&m.maxDateHasTime&&m.latestSelectedDateObj&&0===k(m.latestSelectedDateObj,m.config.maxDate,!0);if(void 0!==m.config.maxTime&&void 0!==m.config.minTime&&m.config.minTime>m.config.maxTime){var a=b(m.config.minTime.getHours(),m.config.minTime.getMinutes(),m.config.minTime.getSeconds()),u=b(m.config.maxTime.getHours(),m.config.maxTime.getMinutes(),m.config.maxTime.getSeconds()),f=b(n,e,t);if(f>u&&f<a){var c=function(n){var e=Math.floor(n/3600),t=(n-3600*e)/60;return[e,t,n-3600*e-60*t]}(a);n=c[0],e=c[1],t=c[2]}}else{if(o){var d=void 0!==m.config.maxTime?m.config.maxTime:m.config.maxDate;(n=Math.min(n,d.getHours()))===d.getHours()&&(e=Math.min(e,d.getMinutes())),e===d.getMinutes()&&(t=Math.min(t,d.getSeconds()))}if(r){var v=void 0!==m.config.minTime?m.config.minTime:m.config.minDate;(n=Math.max(n,v.getHours()))===v.getHours()&&e<v.getMinutes()&&(e=v.getMinutes()),e===v.getMinutes()&&(t=Math.max(t,v.getSeconds()))}}T(n,e,t)}}function I(n){var e=n||m.latestSelectedDateObj;e&&e instanceof Date&&T(e.getHours(),e.getMinutes(),e.getSeconds())}function T(n,e,t){void 0!==m.latestSelectedDateObj&&m.latestSelectedDateObj.setHours(n%24,e,t||0,0),m.hourElement&&m.minuteElement&&!m.isMobile&&(m.hourElement.value=r(m.config.time_24hr?n:(12+n)%12+12*i(n%12==0)),m.minuteElement.value=r(e),void 0!==m.amPM&&(m.amPM.textContent=m.l10n.amPM[i(n>=12)]),void 0!==m.secondElement&&(m.secondElement.value=r(t)))}function E(n){var e=l(n),t=parseInt(e.value)+(n.delta||0);(t/1e3>1||"Enter"===n.key&&!/[^\d]/.test(t.toString()))&&q(t)}function P(n,e,t,r){return e instanceof Array?e.forEach((function(e){return P(n,e,t,r)})):n instanceof Array?n.forEach((function(n){return P(n,e,t,r)})):(n.addEventListener(e,t,r),void m._handlers.push({remove:function(){return n.removeEventListener(e,t,r)}}))}function N(){gn("onChange")}function R(n,e){var t=void 0!==n?m.parseDate(n):m.latestSelectedDateObj||(m.config.minDate&&m.config.minDate>m.now?m.config.minDate:m.config.maxDate&&m.config.maxDate<m.now?m.config.maxDate:m.now),r=m.currentYear,i=m.currentMonth;try{void 0!==t&&(m.currentYear=t.getFullYear(),m.currentMonth=t.getMonth())}catch(n){n.message="Invalid date supplied: "+t,m.config.errorHandler(n)}e&&m.currentYear!==r&&(gn("onYearChange"),B()),!e||m.currentYear===r&&m.currentMonth===i||gn("onMonthChange"),m.redraw()}function H(n){var e=l(n);~e.className.indexOf("arrow")&&Y(n,e.classList.contains("arrowUp")?1:-1)}function Y(n,e,t){var r=n&&l(n),i=t||r&&r.parentNode&&r.parentNode.firstChild,o=yn("increment");o.delta=e,i&&i.dispatchEvent(o)}function _(n,e,t,r){var i=nn(e,!0),o=f("span",n,e.getDate().toString());return o.dateObj=e,o.$i=r,o.setAttribute("aria-label",m.formatDate(e,m.config.ariaDateFormat)),-1===n.indexOf("hidden")&&0===k(e,m.now)&&(m.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,kn(e)&&(o.classList.add("selected"),m.selectedDateElem=o,"range"===m.config.mode&&(u(o,"startRange",m.selectedDates[0]&&0===k(e,m.selectedDates[0],!0)),u(o,"endRange",m.selectedDates[1]&&0===k(e,m.selectedDates[1],!0)),"nextMonthDay"===n&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===m.config.mode&&function(n){return!("range"!==m.config.mode||m.selectedDates.length<2)&&k(n,m.selectedDates[0])>=0&&k(n,m.selectedDates[1])<=0}(e)&&!kn(e)&&o.classList.add("inRange"),m.weekNumbers&&1===m.config.showMonths&&"prevMonthDay"!==n&&r%7==6&&m.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+m.config.getWeek(e)+"</span>"),gn("onDayCreate",o),o}function J(n){n.focus(),"range"===m.config.mode&&on(n)}function L(n){for(var e=n>0?m.config.showMonths:-1,t=n>0?0:m.config.showMonths-1;t!=e;t+=n)for(var r=m.daysContainer.children[t],i=n>0?r.children.length:-1,o=n>0?0:r.children.length-1;o!=i;o+=n){var a=r.children[o];if(-1===a.className.indexOf("hidden")&&nn(a.dateObj))return a}}function W(n,e){var t=x(),r=en(t||document.body),i=void 0!==n?n:r?t:void 0!==m.selectedDateElem&&en(m.selectedDateElem)?m.selectedDateElem:void 0!==m.todayDateElem&&en(m.todayDateElem)?m.todayDateElem:L(e>0?1:-1);void 0===i?m._input.focus():r?function(n,e){for(var t=-1===n.className.indexOf("Month")?n.dateObj.getMonth():m.currentMonth,r=e>0?m.config.showMonths:-1,i=e>0?1:-1,o=t-m.currentMonth;o!=r;o+=i)for(var a=m.daysContainer.children[o],u=a.children.length,f=t-m.currentMonth===o?n.$i+e:e<0?a.children.length-1:0;f>=0&&f<u&&f!=(e>0?u:-1);f+=i){var c=a.children[f];if(-1===c.className.indexOf("hidden")&&nn(c.dateObj)&&Math.abs(n.$i-f)>=Math.abs(e))return J(c)}m.changeMonth(i),W(L(i),0)}(i,e):J(i)}function U(n,e){for(var t=(new Date(n,e,1).getDay()-m.l10n.firstDayOfWeek+7)%7,r=m.utils.getDaysInMonth((e-1+12)%12,n),i=m.utils.getDaysInMonth(e,n),o=window.document.createDocumentFragment(),a=m.config.showMonths>1,u=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",d=r+1-t,v=0;d<=r;d++,v++)o.appendChild(_("flatpickr-day "+u,new Date(n,e-1,d),0,v));for(d=1;d<=i;d++,v++)o.appendChild(_("flatpickr-day",new Date(n,e,d),0,v));for(var l=i+1;l<=42-t&&(1===m.config.showMonths||v%7!=0);l++,v++)o.appendChild(_("flatpickr-day "+c,new Date(n,e+1,l%i),0,v));var s=f("div","dayContainer");return s.appendChild(o),s}function K(){if(void 0!==m.daysContainer){c(m.daysContainer),m.weekNumbers&&c(m.weekNumbers);for(var n=document.createDocumentFragment(),e=0;e<m.config.showMonths;e++){var t=new Date(m.currentYear,m.currentMonth,1);t.setMonth(m.currentMonth+e),n.appendChild(U(t.getFullYear(),t.getMonth()))}m.daysContainer.appendChild(n),m.days=m.daysContainer.firstChild,"range"===m.config.mode&&1===m.selectedDates.length&&on()}}function B(){if(!(m.config.showMonths>1||"dropdown"!==m.config.monthSelectorType)){var n=function(n){return!(void 0!==m.config.minDate&&m.currentYear===m.config.minDate.getFullYear()&&n<m.config.minDate.getMonth()||void 0!==m.config.maxDate&&m.currentYear===m.config.maxDate.getFullYear()&&n>m.config.maxDate.getMonth())};m.monthsDropdownContainer.tabIndex=-1,m.monthsDropdownContainer.innerHTML="";for(var e=0;e<12;e++)if(n(e)){var t=f("option","flatpickr-monthDropdown-month");t.value=new Date(m.currentYear,e).getMonth().toString(),t.textContent=p(e,m.config.shorthandCurrentMonth,m.l10n),t.tabIndex=-1,m.currentMonth===e&&(t.selected=!0),m.monthsDropdownContainer.appendChild(t)}}}function G(){var n,e=f("div","flatpickr-month"),t=window.document.createDocumentFragment();m.config.showMonths>1||"static"===m.config.monthSelectorType?n=f("span","cur-month"):(m.monthsDropdownContainer=f("select","flatpickr-monthDropdown-months"),m.monthsDropdownContainer.setAttribute("aria-label",m.l10n.monthAriaLabel),P(m.monthsDropdownContainer,"change",(function(n){var e=l(n),t=parseInt(e.value,10);m.changeMonth(t-m.currentMonth),gn("onMonthChange")})),B(),n=m.monthsDropdownContainer);var r=v("cur-year",{tabindex:"-1"}),i=r.getElementsByTagName("input")[0];i.setAttribute("aria-label",m.l10n.yearAriaLabel),m.config.minDate&&i.setAttribute("min",m.config.minDate.getFullYear().toString()),m.config.maxDate&&(i.setAttribute("max",m.config.maxDate.getFullYear().toString()),i.disabled=!!m.config.minDate&&m.config.minDate.getFullYear()===m.config.maxDate.getFullYear());var o=f("div","flatpickr-current-month");return o.appendChild(n),o.appendChild(r),t.appendChild(o),e.appendChild(t),{container:e,yearElement:i,monthElement:n}}function Z(){c(m.monthNav),m.monthNav.appendChild(m.prevMonthNav),m.config.showMonths&&(m.yearElements=[],m.monthElements=[]);for(var n=m.config.showMonths;n--;){var e=G();m.yearElements.push(e.yearElement),m.monthElements.push(e.monthElement),m.monthNav.appendChild(e.container)}m.monthNav.appendChild(m.nextMonthNav)}function z(){m.weekdayContainer?c(m.weekdayContainer):m.weekdayContainer=f("div","flatpickr-weekdays");for(var n=m.config.showMonths;n--;){var e=f("div","flatpickr-weekdaycontainer");m.weekdayContainer.appendChild(e)}return Q(),m.weekdayContainer}function Q(){if(m.weekdayContainer){var n=m.l10n.firstDayOfWeek,e=C(m.l10n.weekdays.shorthand);n>0&&n<e.length&&(e=C(e.splice(n,e.length),e.splice(0,n)));for(var t=m.config.showMonths;t--;)m.weekdayContainer.children[t].innerHTML="\n <span class='flatpickr-weekday'>\n "+e.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function V(n,e){void 0===e&&(e=!0);var t=e?n:n-m.currentMonth;t<0&&!0===m._hidePrevMonthArrow||t>0&&!0===m._hideNextMonthArrow||(m.currentMonth+=t,(m.currentMonth<0||m.currentMonth>11)&&(m.currentYear+=m.currentMonth>11?1:-1,m.currentMonth=(m.currentMonth+12)%12,gn("onYearChange"),B()),K(),gn("onMonthChange"),bn())}function $(n){return m.calendarContainer.contains(n)}function X(n){if(m.isOpen&&!m.config.inline){var e=l(n),t=$(e),r=!(e===m.input||e===m.altInput||m.element.contains(e)||n.path&&n.path.indexOf&&(~n.path.indexOf(m.input)||~n.path.indexOf(m.altInput))||t||$(n.relatedTarget)),i=!m.config.ignoredFocusElements.some((function(n){return n.contains(e)}));r&&i&&(m.config.allowInput&&m.setDate(m._input.value,!1,m.config.altInput?m.config.altFormat:m.config.dateFormat),void 0!==m.timeContainer&&void 0!==m.minuteElement&&void 0!==m.hourElement&&""!==m.input.value&&void 0!==m.input.value&&j(),m.close(),m.config&&"range"===m.config.mode&&1===m.selectedDates.length&&m.clear(!1))}}function q(n){if(!(!n||m.config.minDate&&n<m.config.minDate.getFullYear()||m.config.maxDate&&n>m.config.maxDate.getFullYear())){var e=m.currentYear!==n;m.currentYear=n||m.currentYear,m.config.maxDate&&m.currentYear===m.config.maxDate.getFullYear()?m.currentMonth=Math.min(m.config.maxDate.getMonth(),m.currentMonth):m.config.minDate&&m.currentYear===m.config.minDate.getFullYear()&&(m.currentMonth=Math.max(m.config.minDate.getMonth(),m.currentMonth)),e&&(m.redraw(),gn("onYearChange"),B())}}function nn(n,e){var t;void 0===e&&(e=!0);var r=m.parseDate(n,void 0,e);if(m.config.minDate&&r&&k(r,m.config.minDate,void 0!==e?e:!m.minDateHasTime)<0||m.config.maxDate&&r&&k(r,m.config.maxDate,void 0!==e?e:!m.maxDateHasTime)>0)return!1;if(!m.config.enable&&0===m.config.disable.length)return!0;if(void 0===r)return!1;for(var i=!!m.config.enable,o=null!==(t=m.config.enable)&&void 0!==t?t:m.config.disable,a=0,u=void 0;a<o.length;a++){if("function"==typeof(u=o[a])&&u(r))return i;if(u instanceof Date&&void 0!==r&&u.getTime()===r.getTime())return i;if("string"==typeof u){var f=m.parseDate(u,void 0,!0);return f&&f.getTime()===r.getTime()?i:!i}if("object"==typeof u&&void 0!==r&&u.from&&u.to&&r.getTime()>=u.from.getTime()&&r.getTime()<=u.to.getTime())return i}return!i}function en(n){return void 0!==m.daysContainer&&-1===n.className.indexOf("hidden")&&-1===n.className.indexOf("flatpickr-disabled")&&m.daysContainer.contains(n)}function tn(n){var e=n.target===m._input,t=m._input.value.trimEnd()!==Mn();!e||!t||n.relatedTarget&&$(n.relatedTarget)||m.setDate(m._input.value,!0,n.target===m.altInput?m.config.altFormat:m.config.dateFormat)}function rn(n){var e=l(n),t=m.config.wrap?s.contains(e):e===m._input,r=m.config.allowInput,i=m.isOpen&&(!r||!t),o=m.config.inline&&t&&!r;if(13===n.keyCode&&t){if(r)return m.setDate(m._input.value,!0,e===m.altInput?m.config.altFormat:m.config.dateFormat),m.close(),e.blur();m.open()}else if($(e)||i||o){var a=!!m.timeContainer&&m.timeContainer.contains(e);switch(n.keyCode){case 13:a?(n.preventDefault(),j(),ln()):sn(n);break;case 27:n.preventDefault(),ln();break;case 8:case 46:t&&!m.config.allowInput&&(n.preventDefault(),m.clear());break;case 37:case 39:if(a||t)m.hourElement&&m.hourElement.focus();else{n.preventDefault();var u=x();if(void 0!==m.daysContainer&&(!1===r||u&&en(u))){var f=39===n.keyCode?1:-1;n.ctrlKey?(n.stopPropagation(),V(f),W(L(1),0)):W(void 0,f)}}break;case 38:case 40:n.preventDefault();var c=40===n.keyCode?1:-1;m.daysContainer&&void 0!==e.$i||e===m.input||e===m.altInput?n.ctrlKey?(n.stopPropagation(),q(m.currentYear-c),W(L(1),0)):a||W(void 0,7*c):e===m.currentYearElement?q(m.currentYear-c):m.config.enableTime&&(!a&&m.hourElement&&m.hourElement.focus(),j(n),m._debouncedChange());break;case 9:if(a){var d=[m.hourElement,m.minuteElement,m.secondElement,m.amPM].concat(m.pluginElements).filter((function(n){return n})),v=d.indexOf(e);if(-1!==v){var p=d[v+(n.shiftKey?-1:1)];n.preventDefault(),(p||m._input).focus()}}else!m.config.noCalendar&&m.daysContainer&&m.daysContainer.contains(e)&&n.shiftKey&&(n.preventDefault(),m._input.focus())}}if(void 0!==m.amPM&&e===m.amPM)switch(n.key){case m.l10n.amPM[0].charAt(0):case m.l10n.amPM[0].charAt(0).toLowerCase():m.amPM.textContent=m.l10n.amPM[0],F(),Dn();break;case m.l10n.amPM[1].charAt(0):case m.l10n.amPM[1].charAt(0).toLowerCase():m.amPM.textContent=m.l10n.amPM[1],F(),Dn()}(t||$(e))&&gn("onKeyDown",n)}function on(n,e){if(void 0===e&&(e="flatpickr-day"),1===m.selectedDates.length&&(!n||n.classList.contains(e)&&!n.classList.contains("flatpickr-disabled"))){for(var t=n?n.dateObj.getTime():m.days.firstElementChild.dateObj.getTime(),r=m.parseDate(m.selectedDates[0],void 0,!0).getTime(),i=Math.min(t,m.selectedDates[0].getTime()),o=Math.max(t,m.selectedDates[0].getTime()),a=!1,u=0,f=0,c=i;c<o;c+=864e5)nn(new Date(c),!0)||(a=a||c>i&&c<o,c<r&&(!u||c>u)?u=c:c>r&&(!f||c<f)&&(f=c));Array.from(m.rContainer.querySelectorAll("*:nth-child(-n+"+m.config.showMonths+") > ."+e)).forEach((function(e){var i,o,c,d=e.dateObj.getTime(),v=u>0&&d<u||f>0&&d>f;if(v)return e.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(n){e.classList.remove(n)}));a&&!v||(["startRange","inRange","endRange","notAllowed"].forEach((function(n){e.classList.remove(n)})),void 0!==n&&(n.classList.add(t<=m.selectedDates[0].getTime()?"startRange":"endRange"),r<t&&d===r?e.classList.add("startRange"):r>t&&d===r&&e.classList.add("endRange"),d>=u&&(0===f||d<=f)&&(o=r,c=t,(i=d)>Math.min(o,c)&&i<Math.max(o,c))&&e.classList.add("inRange")))}))}}function an(){!m.isOpen||m.config.static||m.config.inline||dn()}function un(n){return function(e){var t=m.config["_"+n+"Date"]=m.parseDate(e,m.config.dateFormat),r=m.config["_"+("min"===n?"max":"min")+"Date"];void 0!==t&&(m["min"===n?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),m.selectedDates&&(m.selectedDates=m.selectedDates.filter((function(n){return nn(n)})),m.selectedDates.length||"min"!==n||I(t),Dn()),m.daysContainer&&(vn(),void 0!==t?m.currentYearElement[n]=t.getFullYear().toString():m.currentYearElement.removeAttribute(n),m.currentYearElement.disabled=!!r&&void 0!==t&&r.getFullYear()===t.getFullYear())}}function fn(){return m.config.wrap?s.querySelector("[data-input]"):s}function cn(){"object"!=typeof m.config.locale&&void 0===O.l10ns[m.config.locale]&&m.config.errorHandler(new Error("flatpickr: invalid locale "+m.config.locale)),m.l10n=D(D({},O.l10ns.default),"object"==typeof m.config.locale?m.config.locale:"default"!==m.config.locale?O.l10ns[m.config.locale]:void 0),h.D="("+m.l10n.weekdays.shorthand.join("|")+")",h.l="("+m.l10n.weekdays.longhand.join("|")+")",h.M="("+m.l10n.months.shorthand.join("|")+")",h.F="("+m.l10n.months.longhand.join("|")+")",h.K="("+m.l10n.amPM[0]+"|"+m.l10n.amPM[1]+"|"+m.l10n.amPM[0].toLowerCase()+"|"+m.l10n.amPM[1].toLowerCase()+")",void 0===D(D({},w),JSON.parse(JSON.stringify(s.dataset||{}))).time_24hr&&void 0===O.defaultConfig.time_24hr&&(m.config.time_24hr=m.l10n.time_24hr),m.formatDate=g(m),m.parseDate=y({config:m.config,l10n:m.l10n})}function dn(n){if("function"!=typeof m.config.position){if(void 0!==m.calendarContainer){gn("onPreCalendarPosition");var e=n||m._positionElement,t=Array.prototype.reduce.call(m.calendarContainer.children,(function(n,e){return n+e.offsetHeight}),0),r=m.calendarContainer.offsetWidth,i=m.config.position.split(" "),o=i[0],a=i.length>1?i[1]:null,f=e.getBoundingClientRect(),c=window.innerHeight-f.bottom,d="above"===o||"below"!==o&&c<t&&f.top>t,v=window.pageYOffset+f.top+(d?-t-2:e.offsetHeight+2);if(u(m.calendarContainer,"arrowTop",!d),u(m.calendarContainer,"arrowBottom",d),!m.config.inline){var l=window.pageXOffset+f.left,s=!1,p=!1;"center"===a?(l-=(r-f.width)/2,s=!0):"right"===a&&(l-=r-f.width,p=!0),u(m.calendarContainer,"arrowLeft",!s&&!p),u(m.calendarContainer,"arrowCenter",s),u(m.calendarContainer,"arrowRight",p);var w=window.document.body.offsetWidth-(window.pageXOffset+f.right),h=l+r>window.document.body.offsetWidth,g=w+r>window.document.body.offsetWidth;if(u(m.calendarContainer,"rightMost",h),!m.config.static)if(m.calendarContainer.style.top=v+"px",h)if(g){var y=function(){for(var n=null,e=0;e<document.styleSheets.length;e++){var t=document.styleSheets[e];if(t.cssRules){n=t;break}}return null!=n?n:(r=document.createElement("style"),document.head.appendChild(r),r.sheet);var r}();if(void 0===y)return;var k=window.document.body.offsetWidth,b=Math.max(0,k/2-r/2),M=y.cssRules.length,D="{left:"+f.left+"px;right:auto;}";u(m.calendarContainer,"rightMost",!1),u(m.calendarContainer,"centerMost",!0),y.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+D,M),m.calendarContainer.style.left=b+"px",m.calendarContainer.style.right="auto"}else m.calendarContainer.style.left="auto",m.calendarContainer.style.right=w+"px";else m.calendarContainer.style.left=l+"px",m.calendarContainer.style.right="auto"}}}else m.config.position(m,n)}function vn(){m.config.noCalendar||m.isMobile||(B(),bn(),K())}function ln(){m._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(m.close,0):m.close()}function sn(n){n.preventDefault(),n.stopPropagation();var e=d(l(n),(function(n){return n.classList&&n.classList.contains("flatpickr-day")&&!n.classList.contains("flatpickr-disabled")&&!n.classList.contains("notAllowed")}));if(void 0!==e){var t=e,r=m.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(r.getMonth()<m.currentMonth||r.getMonth()>m.currentMonth+m.config.showMonths-1)&&"range"!==m.config.mode;if(m.selectedDateElem=t,"single"===m.config.mode)m.selectedDates=[r];else if("multiple"===m.config.mode){var o=kn(r);o?m.selectedDates.splice(parseInt(o),1):m.selectedDates.push(r)}else"range"===m.config.mode&&(2===m.selectedDates.length&&m.clear(!1,!1),m.latestSelectedDateObj=r,m.selectedDates.push(r),0!==k(r,m.selectedDates[0],!0)&&m.selectedDates.sort((function(n,e){return n.getTime()-e.getTime()})));if(F(),i){var a=m.currentYear!==r.getFullYear();m.currentYear=r.getFullYear(),m.currentMonth=r.getMonth(),a&&(gn("onYearChange"),B()),gn("onMonthChange")}bn(),K(),Dn(),i||"range"===m.config.mode||1!==m.config.showMonths?void 0!==m.selectedDateElem&&void 0===m.hourElement&&m.selectedDateElem&&m.selectedDateElem.focus():J(t),void 0!==m.hourElement&&void 0!==m.hourElement&&m.hourElement.focus(),m.config.closeOnSelect&&("single"===m.config.mode&&!m.config.enableTime||"range"===m.config.mode&&2===m.selectedDates.length&&!m.config.enableTime)&&ln(),N()}}m.parseDate=y({config:m.config,l10n:m.l10n}),m._handlers=[],m.pluginElements=[],m.loadedPlugins=[],m._bind=P,m._setHoursFromDate=I,m._positionCalendar=dn,m.changeMonth=V,m.changeYear=q,m.clear=function(n,e){if(void 0===n&&(n=!0),void 0===e&&(e=!0),m.input.value="",void 0!==m.altInput&&(m.altInput.value=""),void 0!==m.mobileInput&&(m.mobileInput.value=""),m.selectedDates=[],m.latestSelectedDateObj=void 0,!0===e&&(m.currentYear=m._initialDate.getFullYear(),m.currentMonth=m._initialDate.getMonth()),!0===m.config.enableTime){var t=M(m.config);T(t.hours,t.minutes,t.seconds)}m.redraw(),n&&gn("onChange")},m.close=function(){m.isOpen=!1,m.isMobile||(void 0!==m.calendarContainer&&m.calendarContainer.classList.remove("open"),void 0!==m._input&&m._input.classList.remove("active")),gn("onClose")},m.onMouseOver=on,m._createElement=f,m.createDay=_,m.destroy=function(){void 0!==m.config&&gn("onDestroy");for(var n=m._handlers.length;n--;)m._handlers[n].remove();if(m._handlers=[],m.mobileInput)m.mobileInput.parentNode&&m.mobileInput.parentNode.removeChild(m.mobileInput),m.mobileInput=void 0;else if(m.calendarContainer&&m.calendarContainer.parentNode)if(m.config.static&&m.calendarContainer.parentNode){var e=m.calendarContainer.parentNode;if(e.lastChild&&e.removeChild(e.lastChild),e.parentNode){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.parentNode.removeChild(e)}}else m.calendarContainer.parentNode.removeChild(m.calendarContainer);m.altInput&&(m.input.type="text",m.altInput.parentNode&&m.altInput.parentNode.removeChild(m.altInput),delete m.altInput),m.input&&(m.input.type=m.input._type,m.input.classList.remove("flatpickr-input"),m.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(n){try{delete m[n]}catch(n){}}))},m.isEnabled=nn,m.jumpToDate=R,m.updateValue=Dn,m.open=function(n,e){if(void 0===e&&(e=m._positionElement),!0===m.isMobile){if(n){n.preventDefault();var t=l(n);t&&t.blur()}return void 0!==m.mobileInput&&(m.mobileInput.focus(),m.mobileInput.click()),void gn("onOpen")}if(!m._input.disabled&&!m.config.inline){var r=m.isOpen;m.isOpen=!0,r||(m.calendarContainer.classList.add("open"),m._input.classList.add("active"),gn("onOpen"),dn(e)),!0===m.config.enableTime&&!0===m.config.noCalendar&&(!1!==m.config.allowInput||void 0!==n&&m.timeContainer.contains(n.relatedTarget)||setTimeout((function(){return m.hourElement.select()}),50))}},m.redraw=vn,m.set=function(e,t){if(null!==e&&"object"==typeof e)for(var r in Object.assign(m.config,e),e)void 0!==pn[r]&&pn[r].forEach((function(n){return n()}));else m.config[e]=t,void 0!==pn[e]?pn[e].forEach((function(n){return n()})):n.indexOf(e)>-1&&(m.config[e]=a(t));m.redraw(),Dn(!0)},m.setDate=function(n,e,t){if(void 0===e&&(e=!1),void 0===t&&(t=m.config.dateFormat),0!==n&&!n||n instanceof Array&&0===n.length)return m.clear(e);wn(n,t),m.latestSelectedDateObj=m.selectedDates[m.selectedDates.length-1],m.redraw(),R(void 0,e),I(),0===m.selectedDates.length&&m.clear(!1),Dn(e),e&&gn("onChange")},m.toggle=function(n){if(!0===m.isOpen)return m.close();m.open(n)};var pn={locale:[cn,Q],showMonths:[Z,A,z],minDate:[R],maxDate:[R],positionElement:[mn],clickOpens:[function(){!0===m.config.clickOpens?(P(m._input,"focus",m.open),P(m._input,"click",m.open)):(m._input.removeEventListener("focus",m.open),m._input.removeEventListener("click",m.open))}]};function wn(n,e){var t=[];if(n instanceof Array)t=n.map((function(n){return m.parseDate(n,e)}));else if(n instanceof Date||"number"==typeof n)t=[m.parseDate(n,e)];else if("string"==typeof n)switch(m.config.mode){case"single":case"time":t=[m.parseDate(n,e)];break;case"multiple":t=n.split(m.config.conjunction).map((function(n){return m.parseDate(n,e)}));break;case"range":t=n.split(m.l10n.rangeSeparator).map((function(n){return m.parseDate(n,e)}))}else m.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(n)));m.selectedDates=m.config.allowInvalidPreload?t:t.filter((function(n){return n instanceof Date&&nn(n,!1)})),"range"===m.config.mode&&m.selectedDates.sort((function(n,e){return n.getTime()-e.getTime()}))}function hn(n){return n.slice().map((function(n){return"string"==typeof n||"number"==typeof n||n instanceof Date?m.parseDate(n,void 0,!0):n&&"object"==typeof n&&n.from&&n.to?{from:m.parseDate(n.from,void 0),to:m.parseDate(n.to,void 0)}:n})).filter((function(n){return n}))}function mn(){m._positionElement=m.config.positionElement||m._input}function gn(n,e){if(void 0!==m.config){var t=m.config[n];if(void 0!==t&&t.length>0)for(var r=0;t[r]&&r<t.length;r++)t[r](m.selectedDates,m.input.value,m,e);"onChange"===n&&(m.input.dispatchEvent(yn("change")),m.input.dispatchEvent(yn("input")))}}function yn(n){var e=document.createEvent("Event");return e.initEvent(n,!0,!0),e}function kn(n){for(var e=0;e<m.selectedDates.length;e++){var t=m.selectedDates[e];if(t instanceof Date&&0===k(t,n))return""+e}return!1}function bn(){m.config.noCalendar||m.isMobile||!m.monthNav||(m.yearElements.forEach((function(n,e){var t=new Date(m.currentYear,m.currentMonth,1);t.setMonth(m.currentMonth+e),m.config.showMonths>1||"static"===m.config.monthSelectorType?m.monthElements[e].textContent=p(t.getMonth(),m.config.shorthandCurrentMonth,m.l10n)+" ":m.monthsDropdownContainer.value=t.getMonth().toString(),n.value=t.getFullYear().toString()})),m._hidePrevMonthArrow=void 0!==m.config.minDate&&(m.currentYear===m.config.minDate.getFullYear()?m.currentMonth<=m.config.minDate.getMonth():m.currentYear<m.config.minDate.getFullYear()),m._hideNextMonthArrow=void 0!==m.config.maxDate&&(m.currentYear===m.config.maxDate.getFullYear()?m.currentMonth+1>m.config.maxDate.getMonth():m.currentYear>m.config.maxDate.getFullYear()))}function Mn(n){var e=n||(m.config.altInput?m.config.altFormat:m.config.dateFormat);return m.selectedDates.map((function(n){return m.formatDate(n,e)})).filter((function(n,e,t){return"range"!==m.config.mode||m.config.enableTime||t.indexOf(n)===e})).join("range"!==m.config.mode?m.config.conjunction:m.l10n.rangeSeparator)}function Dn(n){void 0===n&&(n=!0),void 0!==m.mobileInput&&m.mobileFormatStr&&(m.mobileInput.value=void 0!==m.latestSelectedDateObj?m.formatDate(m.latestSelectedDateObj,m.mobileFormatStr):""),m.input.value=Mn(m.config.dateFormat),void 0!==m.altInput&&(m.altInput.value=Mn(m.config.altFormat)),!1!==n&&gn("onValueUpdate")}function Cn(n){var e=l(n),t=m.prevMonthNav.contains(e),r=m.nextMonthNav.contains(e);t||r?V(t?-1:1):m.yearElements.indexOf(e)>=0?e.select():e.classList.contains("arrowUp")?m.changeYear(m.currentYear+1):e.classList.contains("arrowDown")&&m.changeYear(m.currentYear-1)}return function(){m.element=m.input=s,m.isOpen=!1,function(){var t=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],r=D(D({},JSON.parse(JSON.stringify(s.dataset||{}))),w),i={};m.config.parseDate=r.parseDate,m.config.formatDate=r.formatDate,Object.defineProperty(m.config,"enable",{get:function(){return m.config._enable},set:function(n){m.config._enable=hn(n)}}),Object.defineProperty(m.config,"disable",{get:function(){return m.config._disable},set:function(n){m.config._disable=hn(n)}});var o="time"===r.mode;r.dateFormat||!r.enableTime&&!o||(i.dateFormat=r.noCalendar||o?"H:i"+(r.enableSeconds?":S":""):(O.defaultConfig.dateFormat||e.dateFormat)+" H:i"+(r.enableSeconds?":S":"")),r.altInput&&(r.enableTime||o)&&!r.altFormat&&(i.altFormat=r.noCalendar||o?"h:i"+(r.enableSeconds?":S K":" K"):(O.defaultConfig.altFormat||e.altFormat)+" h:i"+(r.enableSeconds?":S":"")+" K"),Object.defineProperty(m.config,"minDate",{get:function(){return m.config._minDate},set:un("min")}),Object.defineProperty(m.config,"maxDate",{get:function(){return m.config._maxDate},set:un("max")});var u=function(n){return function(e){m.config["min"===n?"_minTime":"_maxTime"]=m.parseDate(e,"H:i:S")}};Object.defineProperty(m.config,"minTime",{get:function(){return m.config._minTime},set:u("min")}),Object.defineProperty(m.config,"maxTime",{get:function(){return m.config._maxTime},set:u("max")}),"time"===r.mode&&(m.config.noCalendar=!0,m.config.enableTime=!0),Object.assign(m.config,i,r);for(var f=0;f<t.length;f++)m.config[t[f]]=!0===m.config[t[f]]||"true"===m.config[t[f]];for(n.filter((function(n){return void 0!==m.config[n]})).forEach((function(n){m.config[n]=a(m.config[n]||[]).map(S)})),m.isMobile=!m.config.disableMobile&&!m.config.inline&&"single"===m.config.mode&&!m.config.disable.length&&!m.config.enable&&!m.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),f=0;f<m.config.plugins.length;f++){var c=m.config.plugins[f](m)||{};for(var d in c)n.indexOf(d)>-1?m.config[d]=a(c[d]).map(S).concat(m.config[d]):void 0===r[d]&&(m.config[d]=c[d])}r.altInputClass||(m.config.altInputClass=fn().className+" "+m.config.altInputClass),gn("onParseConfig")}(),cn(),m.input=fn(),m.input?(m.input._type=m.input.type,m.input.type="text",m.input.classList.add("flatpickr-input"),m._input=m.input,m.config.altInput&&(m.altInput=f(m.input.nodeName,m.config.altInputClass),m._input=m.altInput,m.altInput.placeholder=m.input.placeholder,m.altInput.disabled=m.input.disabled,m.altInput.required=m.input.required,m.altInput.tabIndex=m.input.tabIndex,m.altInput.type="text",m.input.setAttribute("type","hidden"),!m.config.static&&m.input.parentNode&&m.input.parentNode.insertBefore(m.altInput,m.input.nextSibling)),m.config.allowInput||m._input.setAttribute("readonly","readonly"),mn()):m.config.errorHandler(new Error("Invalid input element specified")),function(){m.selectedDates=[],m.now=m.parseDate(m.config.now)||new Date;var n=m.config.defaultDate||("INPUT"!==m.input.nodeName&&"TEXTAREA"!==m.input.nodeName||!m.input.placeholder||m.input.value!==m.input.placeholder?m.input.value:null);n&&wn(n,m.config.dateFormat),m._initialDate=m.selectedDates.length>0?m.selectedDates[0]:m.config.minDate&&m.config.minDate.getTime()>m.now.getTime()?m.config.minDate:m.config.maxDate&&m.config.maxDate.getTime()<m.now.getTime()?m.config.maxDate:m.now,m.currentYear=m._initialDate.getFullYear(),m.currentMonth=m._initialDate.getMonth(),m.selectedDates.length>0&&(m.latestSelectedDateObj=m.selectedDates[0]),void 0!==m.config.minTime&&(m.config.minTime=m.parseDate(m.config.minTime,"H:i")),void 0!==m.config.maxTime&&(m.config.maxTime=m.parseDate(m.config.maxTime,"H:i")),m.minDateHasTime=!!m.config.minDate&&(m.config.minDate.getHours()>0||m.config.minDate.getMinutes()>0||m.config.minDate.getSeconds()>0),m.maxDateHasTime=!!m.config.maxDate&&(m.config.maxDate.getHours()>0||m.config.maxDate.getMinutes()>0||m.config.maxDate.getSeconds()>0)}(),m.utils={getDaysInMonth:function(n,e){return void 0===n&&(n=m.currentMonth),void 0===e&&(e=m.currentYear),1===n&&(e%4==0&&e%100!=0||e%400==0)?29:m.l10n.daysInMonth[n]}},m.isMobile||function(){var n=window.document.createDocumentFragment();if(m.calendarContainer=f("div","flatpickr-calendar"),m.calendarContainer.tabIndex=-1,!m.config.noCalendar){if(n.appendChild((m.monthNav=f("div","flatpickr-months"),m.yearElements=[],m.monthElements=[],m.prevMonthNav=f("span","flatpickr-prev-month"),m.prevMonthNav.innerHTML=m.config.prevArrow,m.nextMonthNav=f("span","flatpickr-next-month"),m.nextMonthNav.innerHTML=m.config.nextArrow,Z(),Object.defineProperty(m,"_hidePrevMonthArrow",{get:function(){return m.__hidePrevMonthArrow},set:function(n){m.__hidePrevMonthArrow!==n&&(u(m.prevMonthNav,"flatpickr-disabled",n),m.__hidePrevMonthArrow=n)}}),Object.defineProperty(m,"_hideNextMonthArrow",{get:function(){return m.__hideNextMonthArrow},set:function(n){m.__hideNextMonthArrow!==n&&(u(m.nextMonthNav,"flatpickr-disabled",n),m.__hideNextMonthArrow=n)}}),m.currentYearElement=m.yearElements[0],bn(),m.monthNav)),m.innerContainer=f("div","flatpickr-innerContainer"),m.config.weekNumbers){var e=function(){m.calendarContainer.classList.add("hasWeeks");var n=f("div","flatpickr-weekwrapper");n.appendChild(f("span","flatpickr-weekday",m.l10n.weekAbbreviation));var e=f("div","flatpickr-weeks");return n.appendChild(e),{weekWrapper:n,weekNumbers:e}}(),t=e.weekWrapper,o=e.weekNumbers;m.innerContainer.appendChild(t),m.weekNumbers=o,m.weekWrapper=t}m.rContainer=f("div","flatpickr-rContainer"),m.rContainer.appendChild(z()),m.daysContainer||(m.daysContainer=f("div","flatpickr-days"),m.daysContainer.tabIndex=-1),K(),m.rContainer.appendChild(m.daysContainer),m.innerContainer.appendChild(m.rContainer),n.appendChild(m.innerContainer)}m.config.enableTime&&n.appendChild(function(){m.calendarContainer.classList.add("hasTime"),m.config.noCalendar&&m.calendarContainer.classList.add("noCalendar");var n=M(m.config);m.timeContainer=f("div","flatpickr-time"),m.timeContainer.tabIndex=-1;var e=f("span","flatpickr-time-separator",":"),t=v("flatpickr-hour",{"aria-label":m.l10n.hourAriaLabel});m.hourElement=t.getElementsByTagName("input")[0];var o=v("flatpickr-minute",{"aria-label":m.l10n.minuteAriaLabel});if(m.minuteElement=o.getElementsByTagName("input")[0],m.hourElement.tabIndex=m.minuteElement.tabIndex=-1,m.hourElement.value=r(m.latestSelectedDateObj?m.latestSelectedDateObj.getHours():m.config.time_24hr?n.hours:function(n){switch(n%24){case 0:case 12:return 12;default:return n%12}}(n.hours)),m.minuteElement.value=r(m.latestSelectedDateObj?m.latestSelectedDateObj.getMinutes():n.minutes),m.hourElement.setAttribute("step",m.config.hourIncrement.toString()),m.minuteElement.setAttribute("step",m.config.minuteIncrement.toString()),m.hourElement.setAttribute("min",m.config.time_24hr?"0":"1"),m.hourElement.setAttribute("max",m.config.time_24hr?"23":"12"),m.hourElement.setAttribute("maxlength","2"),m.minuteElement.setAttribute("min","0"),m.minuteElement.setAttribute("max","59"),m.minuteElement.setAttribute("maxlength","2"),m.timeContainer.appendChild(t),m.timeContainer.appendChild(e),m.timeContainer.appendChild(o),m.config.time_24hr&&m.timeContainer.classList.add("time24hr"),m.config.enableSeconds){m.timeContainer.classList.add("hasSeconds");var a=v("flatpickr-second");m.secondElement=a.getElementsByTagName("input")[0],m.secondElement.value=r(m.latestSelectedDateObj?m.latestSelectedDateObj.getSeconds():n.seconds),m.secondElement.setAttribute("step",m.minuteElement.getAttribute("step")),m.secondElement.setAttribute("min","0"),m.secondElement.setAttribute("max","59"),m.secondElement.setAttribute("maxlength","2"),m.timeContainer.appendChild(f("span","flatpickr-time-separator",":")),m.timeContainer.appendChild(a)}return m.config.time_24hr||(m.amPM=f("span","flatpickr-am-pm",m.l10n.amPM[i((m.latestSelectedDateObj?m.hourElement.value:m.config.defaultHour)>11)]),m.amPM.title=m.l10n.toggleTitle,m.amPM.tabIndex=-1,m.timeContainer.appendChild(m.amPM)),m.timeContainer}()),u(m.calendarContainer,"rangeMode","range"===m.config.mode),u(m.calendarContainer,"animate",!0===m.config.animate),u(m.calendarContainer,"multiMonth",m.config.showMonths>1),m.calendarContainer.appendChild(n);var a=void 0!==m.config.appendTo&&void 0!==m.config.appendTo.nodeType;if((m.config.inline||m.config.static)&&(m.calendarContainer.classList.add(m.config.inline?"inline":"static"),m.config.inline&&(!a&&m.element.parentNode?m.element.parentNode.insertBefore(m.calendarContainer,m._input.nextSibling):void 0!==m.config.appendTo&&m.config.appendTo.appendChild(m.calendarContainer)),m.config.static)){var c=f("div","flatpickr-wrapper");m.element.parentNode&&m.element.parentNode.insertBefore(c,m.element),c.appendChild(m.element),m.altInput&&c.appendChild(m.altInput),c.appendChild(m.calendarContainer)}m.config.static||m.config.inline||(void 0!==m.config.appendTo?m.config.appendTo:window.document.body).appendChild(m.calendarContainer)}(),function(){if(m.config.wrap&&["open","close","toggle","clear"].forEach((function(n){Array.prototype.forEach.call(m.element.querySelectorAll("[data-"+n+"]"),(function(e){return P(e,"click",m[n])}))})),m.isMobile)!function(){var n=m.config.enableTime?m.config.noCalendar?"time":"datetime-local":"date";m.mobileInput=f("input",m.input.className+" flatpickr-mobile"),m.mobileInput.tabIndex=1,m.mobileInput.type=n,m.mobileInput.disabled=m.input.disabled,m.mobileInput.required=m.input.required,m.mobileInput.placeholder=m.input.placeholder,m.mobileFormatStr="datetime-local"===n?"Y-m-d\\TH:i:S":"date"===n?"Y-m-d":"H:i:S",m.selectedDates.length>0&&(m.mobileInput.defaultValue=m.mobileInput.value=m.formatDate(m.selectedDates[0],m.mobileFormatStr)),m.config.minDate&&(m.mobileInput.min=m.formatDate(m.config.minDate,"Y-m-d")),m.config.maxDate&&(m.mobileInput.max=m.formatDate(m.config.maxDate,"Y-m-d")),m.input.getAttribute("step")&&(m.mobileInput.step=String(m.input.getAttribute("step"))),m.input.type="hidden",void 0!==m.altInput&&(m.altInput.type="hidden");try{m.input.parentNode&&m.input.parentNode.insertBefore(m.mobileInput,m.input.nextSibling)}catch(n){}P(m.mobileInput,"change",(function(n){m.setDate(l(n).value,!1,m.mobileFormatStr),gn("onChange"),gn("onClose")}))}();else{var n=o(an,50);if(m._debouncedChange=o(N,300),m.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&P(m.daysContainer,"mouseover",(function(n){"range"===m.config.mode&&on(l(n))})),P(m._input,"keydown",rn),void 0!==m.calendarContainer&&P(m.calendarContainer,"keydown",rn),m.config.inline||m.config.static||P(window,"resize",n),void 0!==window.ontouchstart?P(window.document,"touchstart",X):P(window.document,"mousedown",X),P(window.document,"focus",X,{capture:!0}),!0===m.config.clickOpens&&(P(m._input,"focus",m.open),P(m._input,"click",m.open)),void 0!==m.daysContainer&&(P(m.monthNav,"click",Cn),P(m.monthNav,["keyup","increment"],E),P(m.daysContainer,"click",sn)),void 0!==m.timeContainer&&void 0!==m.minuteElement&&void 0!==m.hourElement){P(m.timeContainer,["increment"],j),P(m.timeContainer,"blur",j,{capture:!0}),P(m.timeContainer,"click",H),P([m.hourElement,m.minuteElement],["focus","click"],(function(n){return l(n).select()})),void 0!==m.secondElement&&P(m.secondElement,"focus",(function(){return m.secondElement&&m.secondElement.select()})),void 0!==m.amPM&&P(m.amPM,"click",(function(n){j(n)}))}m.config.allowInput&&P(m._input,"blur",tn)}}(),(m.selectedDates.length||m.config.noCalendar)&&(m.config.enableTime&&I(m.config.noCalendar?m.latestSelectedDateObj:void 0),Dn(!1)),A();var t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!m.isMobile&&t&&dn(),gn("onReady")}(),m}function S(n,e){for(var t=Array.prototype.slice.call(n).filter((function(n){return n instanceof HTMLElement})),r=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=x(o,e||{}),r.push(o._flatpickr)}catch(n){console.error(n)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return S(this,n)},HTMLElement.prototype.flatpickr=function(n){return S([this],n)});var O=function(n,e){return"string"==typeof n?S(window.document.querySelectorAll(n),e):n instanceof Node?S([n],e):S(n,e)};O.defaultConfig={},O.l10ns={en:D({},t),default:D({},t)},O.localize=function(n){O.l10ns.default=D(D({},O.l10ns.default),n)},O.setDefaults=function(n){O.defaultConfig=D(D({},O.defaultConfig),n)},O.parseDate=y({}),O.formatDate=g({}),O.compareDates=k,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(n){return S(this,n)}),Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof n?parseInt(n,10):n))},"undefined"!=typeof window&&(window.flatpickr=O);export{O as f}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as t,g as n}from"./_commonjsHelpers.js";var r,i,e=n(function(){if(i)return r;i=1;var n="Expected a function",e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt,a="object"==typeof self&&self&&self.Object===Object&&self,s="object"==typeof t&&t&&t.Object===Object&&t||a||Function("return this")(),v=Object.prototype.toString,p=Math.max,m=Math.min,y=function(){return s.Date.now()};function l(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function b(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==v.call(t)}(t))return NaN;if(l(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=l(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var r=u.test(t);return r||f.test(t)?c(t.slice(2),r?2:8):o.test(t)?NaN:+t}return r=function(t,r,i){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError(n);return l(i)&&(e="leading"in i?!!i.leading:e,o="trailing"in i?!!i.trailing:o),function(t,r,i){var e,o,u,f,c,a,s=0,v=!1,d=!1,j=!0;if("function"!=typeof t)throw new TypeError(n);function g(n){var r=e,i=o;return e=o=void 0,s=n,f=t.apply(i,r)}function T(t){var n=t-a;return void 0===a||n>=r||n<0||d&&t-s>=u}function h(){var t=y();if(T(t))return x(t);c=setTimeout(h,function(t){var n=r-(t-a);return d?m(n,u-(t-s)):n}(t))}function x(t){return c=void 0,j&&e?g(t):(e=o=void 0,f)}function w(){var t=y(),n=T(t);if(e=arguments,o=this,a=t,n){if(void 0===c)return function(t){return s=t,c=setTimeout(h,r),v?g(t):f}(a);if(d)return c=setTimeout(h,r),g(a)}return void 0===c&&(c=setTimeout(h,r)),f}return r=b(r)||0,l(i)&&(v=!!i.leading,u=(d="maxWait"in i)?p(b(i.maxWait)||0,r):u,j="trailing"in i?!!i.trailing:j),w.cancel=function(){void 0!==c&&clearTimeout(c),s=0,e=a=o=c=void 0},w.flush=function(){return void 0===c?f:x(y())},w}(t,r,{leading:e,maxWait:r,trailing:o})}}());export{e as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r,t=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(t)}for(var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,e=[],i=0;i<256;++i)e.push((i+256).toString(16).substr(1));function f(r){var t=(r=r||{}).random||(r.rng||o)();return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(e[r[t+0]]+e[r[t+1]]+e[r[t+2]]+e[r[t+3]]+"-"+e[r[t+4]]+e[r[t+5]]+"-"+e[r[t+6]]+e[r[t+7]]+"-"+e[r[t+8]]+e[r[t+9]]+"-"+e[r[t+10]]+e[r[t+11]]+e[r[t+12]]+e[r[t+13]]+e[r[t+14]]+e[r[t+15]]).toLowerCase();if(!function(r){return"string"==typeof r&&n.test(r)}(o))throw TypeError("Stringified UUID is invalid");return o}(t)}export{f as v}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplAccordion extends Components.XplAccordion, HTMLElement {}
|
|
4
|
+
export const XplAccordion: {
|
|
5
|
+
prototype: XplAccordion;
|
|
6
|
+
new (): XplAccordion;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as n,h as c,Host as o,transformTag as t}from"@stencil/core/internal/client";import{d as a}from"./xpl-icon2.js";const i=e(class extends n{constructor(e){super(),!1!==e&&this.__registerHost(),this.initialExpanded=!1,this.size="3",this.borderType="none",this.expanded=this.initialExpanded,this.toggleAccordion=e=>{e.stopPropagation(),this.expanded=!this.expanded}}watchInitialExpanded(){this.expanded=this.initialExpanded}async parentCheckboxChange(e){return this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])").forEach((n=>{n.checked=e})),null}handleChildCheckboxChange(){const e=this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])"),n=Array.from(e).filter((e=>e.checked)).length,c=this.el.querySelector(".xpl-accordion-header xpl-checkbox")||this.el.querySelector(".xpl-accordion-header input");if(c)switch(n){case 0:c.checked=!1,c.indeterminate=!1;break;case e.length:c.checked=!0,c.indeterminate=!1;break;default:c.checked=!1,c.indeterminate=!0}}listenToChangeEvent(){this.handleChildCheckboxChange()}render(){return c(o,{key:"196af13fff0f920975af9c4a6ebe726a98e5a663",class:"xpl-accordion "+{none:"",bordered:"xpl-accordion--border-bordered"+(this.expanded?"--expanded":""),bottom:"xpl-accordion--border-bottom"+(this.expanded?"--expanded":"")}[this.borderType]},c("button",{key:"724993d5464ef62e7bc6ec0d63334fcebf8d93fa","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},c("header",{key:"8b38921367d44ff8e2dbfb5fcecf4712f480b907",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},c("slot",{key:"a940edeb394372f71cc927db8dfa622ce2c281f8",name:"heading"},this.header),c("xpl-icon",{key:"9e8e85697f46f808802cc4466046ada165e372e6",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),c("div",{key:"a91f59cd8a2450b8d46ba9880a05f67a8d1cbb62",class:"xpl-accordion-description"},c("slot",{key:"6cc83b45061eb6349dd7f8934bc49b4f1a3b878d",name:"description"},this.description))),c("section",{key:"72d5e5b77651c23a08b52849079e42456a5aed6d",id:this.contentId,role:"region",class:`xpl-accordion-content xpl-accordion-content--${this.expanded?"shown":"hidden"} ${this.expanded?{none:"",bordered:"xpl-accordion-content--shown-bordered",bottom:"xpl-accordion-content--shown-border-bottom"}[this.borderType]:""}`},c("slot",{key:"46231eeef0f6457a26e70aaf3a976a5a2b6076c3",name:"content"})))}get el(){return this}static get watchers(){return{initialExpanded:[{watchInitialExpanded:0}]}}},[260,"xpl-accordion",{contentId:[1,"content-id"],header:[1],description:[1],initialExpanded:[4,"initial-expanded"],size:[1],borderType:[1,"border-type"],expanded:[32],parentCheckboxChange:[64]},[[0,"checkboxChange","listenToChangeEvent"]],{initialExpanded:[{watchInitialExpanded:0}]}]),d=i,s=function(){"undefined"!=typeof customElements&&["xpl-accordion","xpl-icon"].forEach((e=>{switch(e){case"xpl-accordion":customElements.get(t(e))||customElements.define(t(e),i);break;case"xpl-icon":customElements.get(t(e))||a()}}))};export{d as XplAccordion,s as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplApplicationShell extends Components.XplApplicationShell, HTMLElement {}
|
|
4
|
+
export const XplApplicationShell: {
|
|
5
|
+
prototype: XplApplicationShell;
|
|
6
|
+
new (): XplApplicationShell;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as a,HTMLElement as e,h as t,Host as l,transformTag as i}from"@stencil/core/internal/client";import{d as s}from"./xpl-backdrop2.js";const n=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(a){this.navWidth=a.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let a="xpl-application-shell";this.withUtility&&(a+=" xpl-application-shell--with_utility");let e="xpl-application-shell__nav";return e+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:" xpl-application-shell__nav--"+this.navWidth,t(l,{key:"fb7ea1e06b4e26898f0d115dade22a00b4e59c42",class:a},t("div",{key:"a2ffa00e3be22a9564b81c53bed26aa62a212cfe",class:e},t("slot",{key:"34633219fcf07dc7fe1db169937e7fed97681812",name:"nav"})),t("div",{key:"c67239ab7d3a151a64a7a7aa11b8fdb8d097ec50",class:"xpl-application-shell__subnav"},t("slot",{key:"8318c25bd82a31b574773ed38ff186b5186aa6a7",name:"subnav"})),t("div",{key:"22b3f72754c3f8e172b509daca09caafc5d5c088",class:"xpl-application-shell__utility"},t("slot",{key:"12cbf50d23d6ca4b3fe1143d5f2aeca357657332",name:"utility"})),t("div",{key:"dda9dc9741a06ec49cfcf5631d0782b54898b15a",class:"xpl-application-shell__content"},t("slot",{key:"5586153e5f3db1470a12112d929c4d6d814cbab8",name:"content"})),t("xpl-backdrop",{key:"1db206c2ad0253ccc3436922d1c38354efa96675",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}},[260,"xpl-application-shell",{withSubnav:[4,"with-subnav"],withUtility:[4,"with-utility"],navWidth:[1,"nav-width"],isNavOpenAtStartup:[4,"is-nav-open-at-startup"],navOpen:[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]),c=n,p=function(){"undefined"!=typeof customElements&&["xpl-application-shell","xpl-backdrop"].forEach((a=>{switch(a){case"xpl-application-shell":customElements.get(i(a))||customElements.define(i(a),n);break;case"xpl-backdrop":customElements.get(i(a))||s()}}))};export{c as XplApplicationShell,p as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplAvatar extends Components.XplAvatar, HTMLElement {}
|
|
4
|
+
export const XplAvatar: {
|
|
5
|
+
prototype: XplAvatar;
|
|
6
|
+
new (): XplAvatar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as a,d as o}from"./xpl-avatar2.js";const r=a,s=o;export{r as XplAvatar,s as defineCustomElement}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as a,h as s,Host as e,transformTag as c}from"@stencil/core/internal/client";const i=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.disabled=!1}render(){let t="xpl-avatar";this.size&&(t+=` xpl-avatar--${this.size}`),this.color&&(t+=` xpl-avatar--${this.color}`);const a=s("div",{key:"491c0f4f1ac5c4359f1f0a678e74358c47383412"},this.src?s("img",{alt:this.name,src:this.src}):s("div",{class:"xpl-avatar__placeholder"},s("slot",null)),this.status&&s("div",{key:"1eddc940a7126cfdff262a3c1bbe93909663452f",class:`xpl-avatar__dot--${this.status}`}));return s(e,{key:"3cde3ed32c5b71deca67701635cac3dfabe8a076"},this.href&&!this.disabled?s("a",{href:this.href,class:t,target:this.target},a):s("div",this.href&&this.disabled?{class:`${t} xpl-avatar--disabled`}:{class:t},a))}},[260,"xpl-avatar",{color:[1],disabled:[4],href:[1],name:[1],size:[1],src:[1],status:[1],target:[1]}]);function l(){"undefined"!=typeof customElements&&["xpl-avatar"].forEach((t=>{"xpl-avatar"===t&&(customElements.get(c(t))||customElements.define(c(t),i))}))}export{i as X,l as d}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplBackdrop extends Components.XplBackdrop, HTMLElement {}
|
|
4
|
+
export const XplBackdrop: {
|
|
5
|
+
prototype: XplBackdrop;
|
|
6
|
+
new (): XplBackdrop;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as p}from"./xpl-backdrop2.js";const r=o,s=p;export{r as XplBackdrop,s as defineCustomElement}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as r,Host as c,transformTag as s}from"@stencil/core/internal/client";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.relative=!1}render(){return r(c,{key:"94479cd370f0304f8ce4d416a7000f851c927da8",class:{"xpl-backdrop":!0,"xpl-backdrop--fixed":!this.relative,"xpl-backdrop--relative":this.relative},"aria-hidden":"true"})}},[0,"xpl-backdrop",{relative:[4]}]);function a(){"undefined"!=typeof customElements&&["xpl-backdrop"].forEach((e=>{"xpl-backdrop"===e&&(customElements.get(s(e))||customElements.define(s(e),o))}))}export{o as X,a as d}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplBadge extends Components.XplBadge, HTMLElement {}
|
|
4
|
+
export const XplBadge: {
|
|
5
|
+
prototype: XplBadge;
|
|
6
|
+
new (): XplBadge;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as s}from"./xpl-badge2.js";const a=o,p=s;export{a as XplBadge,p as defineCustomElement}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as a,Host as d,transformTag as s}from"@stencil/core/internal/client";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}render(){let e="xpl-badge";return this.dot&&(e+=" xpl-badge--dot"),this.variant&&(e+=` xpl-badge--${this.variant}`),a(d,{key:"7a4da384c01815ea2bd1fed3eeaa96da99758de4"},a("div",{key:"6f955a5ddde98ff183409ffaf65edc946387a6c7",class:e},a("slot",{key:"a3cd6f85cf89c5a287eb464973c664d92fa03f40"})))}},[260,"xpl-badge",{dot:[4],variant:[1]}]);function n(){"undefined"!=typeof customElements&&["xpl-badge"].forEach((e=>{"xpl-badge"===e&&(customElements.get(s(e))||customElements.define(s(e),c))}))}export{c as X,n as d}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplBreadcrumbItem extends Components.XplBreadcrumbItem, HTMLElement {}
|
|
4
|
+
export const XplBreadcrumbItem: {
|
|
5
|
+
prototype: XplBreadcrumbItem;
|
|
6
|
+
new (): XplBreadcrumbItem;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as c,h as t,Host as r,transformTag as n}from"@stencil/core/internal/client";const s=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost(),this.chevron='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\n <path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>\n </svg>\n '}render(){return t(r,{key:"0fe6cf2098433d9933fe64337f86e7fd17067745",class:"xpl-breadcrumb-item",role:"listitem"},t("li",{key:"3f43a1e7569ce739e8097bc5a574c9bad1cebc76",role:"none"},t("slot",{key:"035487c5c3de89e51227c578b09791e18173470a"})),t("span",{key:"32e76833f80a44c66d136e4f3f3cf7f1be39fdbe",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),a=s,i=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(n(e))||customElements.define(n(e),s))}))};export{a as XplBreadcrumbItem,i as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplBreadcrumbs extends Components.XplBreadcrumbs, HTMLElement {}
|
|
4
|
+
export const XplBreadcrumbs: {
|
|
5
|
+
prototype: XplBreadcrumbs;
|
|
6
|
+
new (): XplBreadcrumbs;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as c,h as d,Host as r,transformTag as b}from"@stencil/core/internal/client";const s=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return d(r,{key:"113bb54d6703b9d1d7dd98adb1d87a53dc56d747"},d("nav",{key:"c9903307abfb990b67f042b63463c89213a1de55",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},d("ol",{key:"cc49ec0f0356f7d0e3f39ce24294e3ed22728bbe",role:"list"},d("slot",{key:"910bce9c62ed5d1310559305d3f2b6e21a0f9a0d"}))))}},[260,"xpl-breadcrumbs"]),t=s,a=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(b(e))||customElements.define(b(e),s))}))};export{t as XplBreadcrumbs,a as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplButtonRow extends Components.XplButtonRow, HTMLElement {}
|
|
4
|
+
export const XplButtonRow: {
|
|
5
|
+
prototype: XplButtonRow;
|
|
6
|
+
new (): XplButtonRow;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,createEvent as s,h as a,Host as i,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./xpl-button2.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.clickPrimary=s(this,"clickPrimary",7),this.clickSecondary=s(this,"clickSecondary",7),this.clickTertiary=s(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return a(i,{key:"c1d468abe10991fb2de71dd01daba53b00ad088d",class:"xpl-button-row"},a("div",{key:"102e327fea3824fffb0f04bd7d91e5615aca86e3",class:"xpl-button-row-inner"},a("div",{key:"745044b4b26b0a368ca5aec8b440ebdaa9677e2b",class:"xpl-button-row__left"},this.secondary&&a("xpl-button",{key:"e895967af49c96eb3a3e98b24c0d10b30951bb7b",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),a("div",{key:"d35ad947185a638f2f03530ae50a349cebbe5855",class:"xpl-button-row__right"},this.tertiary&&a("xpl-button",{key:"f25895afa16581325345f619085adee0cf092ee5",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&a("xpl-button",{key:"8f606ced48a532bb1abaf20a7bc9dc570feb7d21",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&a("xpl-button",{key:"b6837c20a4adc3af10d4fd6724e226efd1d307ff",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),b=c,r=function(){"undefined"!=typeof customElements&&["xpl-button-row","xpl-button"].forEach((t=>{switch(t){case"xpl-button-row":customElements.get(o(t))||customElements.define(o(t),c);break;case"xpl-button":customElements.get(o(t))||n()}}))};export{b as XplButtonRow,r as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplButton extends Components.XplButton, HTMLElement {}
|
|
4
|
+
export const XplButton: {
|
|
5
|
+
prototype: XplButton;
|
|
6
|
+
new (): XplButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{X as o,d as t}from"./xpl-button2.js";const s=o,p=t;export{s as XplButton,p as defineCustomElement}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as n,Host as s,transformTag as l}from"@stencil/core/internal/client";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.size="default",this.variant="primary",this.state="neutral"}componentDidRender(){const t=this.el.attributes,e=Object.keys(t).filter((e=>{const n=t[e].name;return!!n&&(n.includes("data-test")||n.includes("aria-"))})).reduce(((e,n)=>Object.assign(Object.assign({},e),{[t[n].name]:t[n].value})),{}),n=this.el.querySelector("button");Object.keys(e).forEach((t=>{n.setAttribute(t,e[t]),this.el.removeAttribute(t)}))}render(){let t=`xpl-button\n xpl-button--${this.size}\n xpl-button--${this.state}\n xpl-button--${this.variant}`;return this.iconOnly&&(t+=" xpl-button--icon-only"),this.fullWidth&&(t+=" xpl-button--full-width"),this.link&&this.disabled&&(t+=" xpl-button--link-disabled"),n(s,{key:"6def1e58f1fc0f0b1cee740c09278ab19ef77be5",class:t},this.link?n("slot",null):n("button",{disabled:this.disabled,name:this.name,type:this.type,value:this.value,form:this.form},n("slot",null)))}get el(){return this}},[260,"xpl-button",{disabled:[4],link:[4],iconOnly:[4,"icon-only"],fullWidth:[4,"full-width"],name:[1],size:[1],type:[1],value:[1],variant:[1],state:[1],form:[1]}]);function o(){"undefined"!=typeof customElements&&["xpl-button"].forEach((t=>{"xpl-button"===t&&(customElements.get(l(t))||customElements.define(l(t),i))}))}export{i as X,o as d}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface XplCalendar extends Components.XplCalendar, HTMLElement {}
|
|
4
|
+
export const XplCalendar: {
|
|
5
|
+
prototype: XplCalendar;
|
|
6
|
+
new (): XplCalendar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|