@esri/solutions-components 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +1095 -4
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -7
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -1141
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-c1f6173a.js.map +0 -1
- package/dist/solutions-components/p-065830b8.js.map +0 -1
- package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
- package/dist/solutions-components/p-401541a5.entry.js +0 -895
- package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
- package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"date-picker-month.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,6pEAA6pE;;MCO3qE,eAAe;EAC1B;;;;;;;;;IAEE,IAAI,CAAC,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;;;;;;IAM7B,IAAI,CAAC,cAAc,GAAG,CAAC,KAAK;MAC1B,IAAI,KAAK,CAAC,gBAAgB,EAAE;QAC1B,OAAO;OACR;MACD,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK,KAAK,CAAC;MACpC,QAAQ,KAAK,CAAC,GAAG;QACf,KAAK,SAAS;UACZ,KAAK,CAAC,cAAc,EAAE,CAAC;UACvB,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;UACjB,MAAM;QACR,KAAK,YAAY;UACf,KAAK,CAAC,cAAc,EAAE,CAAC;UACvB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;UAC7B,MAAM;QACR,KAAK,WAAW;UACd,KAAK,CAAC,cAAc,EAAE,CAAC;UACvB,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;UAChB,MAAM;QACR,KAAK,WAAW;UACd,KAAK,CAAC,cAAc,EAAE,CAAC;UACvB,IAAI,CAAC,OAAO,CAAC,KAAK,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month.css?tag=calcite-date-picker-month&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.calender {\n margin-block-end: 0.25rem;\n}\n\n.week-headers {\n display: flex;\n border-width: 0px;\n border-block-start-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n padding-block: 0px;\n padding-inline: 0.25rem;\n}\n\n.week-header {\n text-align: center;\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-ui-text-3);\n inline-size: 14.2857142857%;\n}\n\n:host([scale=s]) .week-header {\n padding-inline: 0px;\n padding-block: 0.5rem 0.75rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=m]) .week-header {\n padding-inline: 0px;\n padding-block: 0.75rem 1rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=l]) .week-header {\n padding-inline: 0px;\n padding-block: 1rem 1.25rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n.week-days {\n display: flex;\n flex-direction: row;\n padding-block: 0px;\n padding-inline: 6px;\n}\n.week-days:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { Host, h } from \"@stencil/core\";\nimport { inRange, sameDate, dateFromRange } from \"../../utils/date\";\nexport class DatePickerMonth {\n constructor() {\n /** Date currently active.*/\n this.activeDate = new Date();\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n this.keyDownHandler = (event) => {\n if (event.defaultPrevented) {\n return;\n }\n const isRTL = this.el.dir === \"rtl\";\n switch (event.key) {\n case \"ArrowUp\":\n event.preventDefault();\n this.addDays(-7);\n break;\n case \"ArrowRight\":\n event.preventDefault();\n this.addDays(isRTL ? -1 : 1);\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.addDays(7);\n break;\n case \"ArrowLeft\":\n event.preventDefault();\n this.addDays(isRTL ? 1 : -1);\n break;\n case \"PageUp\":\n event.preventDefault();\n this.addMonths(-1);\n break;\n case \"PageDown\":\n event.preventDefault();\n this.addMonths(1);\n break;\n case \"Home\":\n event.preventDefault();\n this.activeDate.setDate(1);\n this.addDays();\n break;\n case \"End\":\n event.preventDefault();\n this.activeDate.setDate(new Date(this.activeDate.getFullYear(), this.activeDate.getMonth() + 1, 0).getDate());\n this.addDays();\n break;\n case \"Enter\":\n case \" \":\n event.preventDefault();\n break;\n case \"Tab\":\n this.activeFocus = false;\n }\n };\n /**\n * Once user is not interacting via keyboard,\n * disable auto focusing of active date\n */\n this.disableActiveFocus = () => {\n this.activeFocus = false;\n };\n this.dayHover = (event) => {\n const target = event.target;\n if (target.disabled) {\n this.calciteInternalDatePickerMouseOut.emit();\n }\n else {\n this.calciteInternalDatePickerHover.emit(target.value);\n }\n event.stopPropagation();\n };\n this.daySelect = (event) => {\n const target = event.target;\n this.calciteDatePickerSelect.emit(target.value);\n };\n }\n mouseoutHandler() {\n this.calciteInternalDatePickerMouseOut.emit();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n const month = this.activeDate.getMonth();\n const year = this.activeDate.getFullYear();\n const startOfWeek = this.localeData.weekStart % 7;\n const { abbreviated, short, narrow } = this.localeData.days;\n const weekDays = this.scale === \"s\" ? narrow || short || abbreviated : short || abbreviated || narrow;\n const adjustedWeekDays = [...weekDays.slice(startOfWeek, 7), ...weekDays.slice(0, startOfWeek)];\n const curMonDays = this.getCurrentMonthDays(month, year);\n const prevMonDays = this.getPrevMonthdays(month, year, startOfWeek);\n const nextMonDays = this.getNextMonthDays(month, year, startOfWeek);\n const days = [\n ...prevMonDays.map((day) => {\n const date = new Date(year, month - 1, day);\n return this.renderDateDay(false, day, date);\n }),\n ...curMonDays.map((day) => {\n const date = new Date(year, month, day);\n const active = sameDate(date, this.activeDate);\n return this.renderDateDay(active, day, date, true, true);\n }),\n ...nextMonDays.map((day) => {\n const date = new Date(year, month + 1, day);\n return this.renderDateDay(false, day, date);\n })\n ];\n const weeks = [];\n for (let i = 0; i < days.length; i += 7) {\n weeks.push(days.slice(i, i + 7));\n }\n return (h(Host, { onFocusOut: this.disableActiveFocus, onKeyDown: this.keyDownHandler }, h(\"div\", { class: \"calender\", role: \"grid\" }, h(\"div\", { class: \"week-headers\", role: \"row\" }, adjustedWeekDays.map((weekday) => (h(\"span\", { class: \"week-header\", role: \"columnheader\" }, weekday)))), weeks.map((days) => (h(\"div\", { class: \"week-days\", role: \"row\" }, days))))));\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n /**\n * Add n months to the current month\n *\n * @param step\n */\n addMonths(step) {\n const nextDate = new Date(this.activeDate);\n nextDate.setMonth(this.activeDate.getMonth() + step);\n this.calciteDatePickerActiveDateChange.emit(dateFromRange(nextDate, this.min, this.max));\n this.activeFocus = true;\n }\n /**\n * Add n days to the current date\n *\n * @param step\n */\n addDays(step = 0) {\n const nextDate = new Date(this.activeDate);\n nextDate.setDate(this.activeDate.getDate() + step);\n this.calciteDatePickerActiveDateChange.emit(dateFromRange(nextDate, this.min, this.max));\n this.activeFocus = true;\n }\n /**\n * Get dates for last days of the previous month\n *\n * @param month\n * @param year\n * @param startOfWeek\n */\n getPrevMonthdays(month, year, startOfWeek) {\n const lastDate = new Date(year, month, 0);\n const date = lastDate.getDate();\n const day = lastDate.getDay();\n const days = [];\n if (day - 6 === startOfWeek) {\n return days;\n }\n for (let i = lastDate.getDay() - startOfWeek; i >= 0; i--) {\n days.push(date - i);\n }\n return days;\n }\n /**\n * Get dates for the current month\n *\n * @param month\n * @param year\n */\n getCurrentMonthDays(month, year) {\n const num = new Date(year, month + 1, 0).getDate();\n const days = [];\n for (let i = 0; i < num; i++) {\n days.push(i + 1);\n }\n return days;\n }\n /**\n * Get dates for first days of the next month\n *\n * @param month\n * @param year\n * @param startOfWeek\n */\n getNextMonthDays(month, year, startOfWeek) {\n const endDay = new Date(year, month + 1, 0).getDay();\n const days = [];\n if (endDay === (startOfWeek + 6) % 7) {\n return days;\n }\n for (let i = 0; i < (6 - (endDay - startOfWeek)) % 7; i++) {\n days.push(i + 1);\n }\n return days;\n }\n /**\n * Determine if the date is in between the start and end dates\n *\n * @param date\n */\n betweenSelectedRange(date) {\n return !!(this.startDate &&\n this.endDate &&\n date > this.startDate &&\n date < this.endDate &&\n !this.isRangeHover(date));\n }\n /**\n * Determine if the date should be in selected state\n *\n * @param date\n */\n isSelected(date) {\n return !!(sameDate(date, this.selectedDate) ||\n (this.startDate && sameDate(date, this.startDate)) ||\n (this.endDate && sameDate(date, this.endDate)));\n }\n /**\n * Determine if the date is the start of the date range\n *\n * @param date\n */\n isStartOfRange(date) {\n return !!(this.startDate &&\n !sameDate(this.startDate, this.endDate) &&\n sameDate(this.startDate, date) &&\n !this.isEndOfRange(date));\n }\n isEndOfRange(date) {\n return !!((this.endDate && !sameDate(this.startDate, this.endDate) && sameDate(this.endDate, date)) ||\n (!this.endDate &&\n this.hoverRange &&\n sameDate(this.startDate, this.hoverRange.end) &&\n sameDate(date, this.hoverRange.end)));\n }\n /**\n * Render calcite-date-picker-day\n *\n * @param active\n * @param day\n * @param date\n * @param currentMonth\n * @param ref\n */\n renderDateDay(active, day, date, currentMonth, ref) {\n var _a;\n const isFocusedOnStart = this.isFocusedOnStart();\n const isHoverInRange = this.isHoverInRange() ||\n (!this.endDate && this.hoverRange && sameDate((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.end, this.startDate));\n return (h(\"calcite-date-picker-day\", { active: active, class: {\n \"hover--inside-range\": this.startDate && isHoverInRange,\n \"hover--outside-range\": this.startDate && !isHoverInRange,\n \"focused--start\": isFocusedOnStart,\n \"focused--end\": !isFocusedOnStart\n }, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {\n // when moving via keyboard, focus must be updated on active date\n if (ref && active && this.activeFocus) {\n el === null || el === void 0 ? void 0 : el.focus();\n }\n }, scale: this.scale, selected: this.isSelected(date), startOfRange: this.isStartOfRange(date), value: date }));\n }\n isFocusedOnStart() {\n var _a;\n return ((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === \"start\";\n }\n isHoverInRange() {\n if (!this.hoverRange) {\n return false;\n }\n const { start, end } = this.hoverRange;\n return !!((!this.isFocusedOnStart() && this.startDate && (!this.endDate || end < this.endDate)) ||\n (this.isFocusedOnStart() && this.startDate && start > this.startDate));\n }\n isRangeHover(date) {\n if (!this.hoverRange) {\n return false;\n }\n const { start, end } = this.hoverRange;\n const isStart = this.isFocusedOnStart();\n const insideRange = this.isHoverInRange();\n const cond1 = insideRange &&\n ((!isStart && date > this.startDate && (date < end || sameDate(date, end))) ||\n (isStart && date < this.endDate && (date > start || sameDate(date, start))));\n const cond2 = !insideRange &&\n ((!isStart && date >= this.endDate && (date < end || sameDate(date, end))) ||\n (isStart &&\n (date < this.startDate || (this.endDate && sameDate(date, this.startDate))) &&\n (date > start || sameDate(date, start))));\n return cond1 || cond2;\n }\n static get is() { return \"calcite-date-picker-month\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"date-picker-month.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"date-picker-month.css\"]\n };\n }\n static get properties() {\n return {\n \"selectedDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Already selected date.\"\n }\n },\n \"activeDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Date currently active.\"\n },\n \"defaultValue\": \"new Date()\"\n },\n \"startDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Start date currently active.\"\n }\n },\n \"endDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"End date currently active\"\n }\n },\n \"min\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Minimum date of the calendar below which is disabled.\"\n }\n },\n \"max\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Maximum date of the calendar above which is disabled.\"\n }\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of the date picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n },\n \"localeData\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"DateLocaleData\",\n \"resolved\": \"DateLocaleData\",\n \"references\": {\n \"DateLocaleData\": {\n \"location\": \"import\",\n \"path\": \"../date-picker/utils\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"CLDR locale data for current locale\"\n }\n },\n \"hoverRange\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HoverRange\",\n \"resolved\": \"HoverRange\",\n \"references\": {\n \"HoverRange\": {\n \"location\": \"import\",\n \"path\": \"../../utils/date\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The range of dates currently being hovered\"\n }\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteDatePickerSelect\",\n \"name\": \"calciteDatePickerSelect\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Event emitted when user selects the date.\"\n },\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalDatePickerHover\",\n \"name\": \"calciteInternalDatePickerHover\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Event emitted when user hovers the date.\"\n },\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteDatePickerActiveDateChange\",\n \"name\": \"calciteDatePickerActiveDateChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Active date for the user keyboard access.\"\n },\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalDatePickerMouseOut\",\n \"name\": \"calciteInternalDatePickerMouseOut\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"pointerout\",\n \"method\": \"mouseoutHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n"],"version":3}
|
@@ -1,577 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client';
|
7
|
-
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale2.js';
|
8
|
-
import { a as dateFromISO, g as getDaysDiff, d as dateToISO, b as dateFromRange, s as setEndOfDay } from './date.js';
|
9
|
-
import { d as defineCustomElement$4 } from './date-picker-day.js';
|
10
|
-
import { d as defineCustomElement$3 } from './date-picker-month.js';
|
11
|
-
import { d as defineCustomElement$2 } from './date-picker-month-header.js';
|
12
|
-
import { d as defineCustomElement$1 } from './icon.js';
|
13
|
-
|
14
|
-
/*!
|
15
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
16
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
17
|
-
* v1.0.0-beta.97
|
18
|
-
*/
|
19
|
-
/**
|
20
|
-
* CLDR cache.
|
21
|
-
* Exported for testing purposes.
|
22
|
-
*
|
23
|
-
* @private
|
24
|
-
*/
|
25
|
-
const translationCache = {};
|
26
|
-
/**
|
27
|
-
* CLDR request cache.
|
28
|
-
* Exported for testing purposes.
|
29
|
-
*
|
30
|
-
* @private
|
31
|
-
*/
|
32
|
-
const requestCache = {};
|
33
|
-
/**
|
34
|
-
* Fetch calendar data for a given locale from list of supported languages
|
35
|
-
*
|
36
|
-
* @param lang
|
37
|
-
* @public
|
38
|
-
*/
|
39
|
-
async function getLocaleData(lang) {
|
40
|
-
const locale = getSupportedLocale(lang);
|
41
|
-
if (translationCache[locale]) {
|
42
|
-
return translationCache[locale];
|
43
|
-
}
|
44
|
-
if (!requestCache[locale]) {
|
45
|
-
requestCache[locale] = fetch(getAssetPath(`./assets/date-picker/nls/${locale}.json`))
|
46
|
-
.then((resp) => resp.json())
|
47
|
-
.catch(() => {
|
48
|
-
console.error(`Translations for "${locale}" not found or invalid, falling back to english`);
|
49
|
-
return getLocaleData("en");
|
50
|
-
});
|
51
|
-
}
|
52
|
-
const data = await requestCache[locale];
|
53
|
-
translationCache[locale] = data;
|
54
|
-
return data;
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Maps value to valueAsDate
|
58
|
-
*
|
59
|
-
* @param value
|
60
|
-
*/
|
61
|
-
function getValueAsDateRange(value) {
|
62
|
-
return value.map((v, index) => dateFromISO(v, index === 1));
|
63
|
-
}
|
64
|
-
|
65
|
-
/*!
|
66
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
67
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
68
|
-
* v1.0.0-beta.97
|
69
|
-
*/
|
70
|
-
const HEADING_LEVEL = 2;
|
71
|
-
const TEXT = {
|
72
|
-
nextMonth: "Next month",
|
73
|
-
prevMonth: "Previous month",
|
74
|
-
year: "Year"
|
75
|
-
};
|
76
|
-
|
77
|
-
const datePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
78
|
-
|
79
|
-
const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
80
|
-
constructor() {
|
81
|
-
super();
|
82
|
-
this.__registerHost();
|
83
|
-
this.__attachShadow();
|
84
|
-
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 6);
|
85
|
-
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
|
86
|
-
/**
|
87
|
-
* Localized string for "previous month" (used for aria label)
|
88
|
-
*
|
89
|
-
* @default "Previous month"
|
90
|
-
*/
|
91
|
-
this.intlPrevMonth = TEXT.prevMonth;
|
92
|
-
/**
|
93
|
-
* Localized string for "next month" (used for aria label)
|
94
|
-
*
|
95
|
-
* @default "Next month"
|
96
|
-
*/
|
97
|
-
this.intlNextMonth = TEXT.nextMonth;
|
98
|
-
/**
|
99
|
-
* Localized string for "year" (used for aria label)
|
100
|
-
*
|
101
|
-
* @default "Year"
|
102
|
-
*/
|
103
|
-
this.intlYear = TEXT.year;
|
104
|
-
/** specify the scale of the date picker */
|
105
|
-
this.scale = "m";
|
106
|
-
/** Range mode activation */
|
107
|
-
this.range = false;
|
108
|
-
/** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
|
109
|
-
this.proximitySelectionDisabled = false;
|
110
|
-
this.globalAttributes = {};
|
111
|
-
//--------------------------------------------------------------------------
|
112
|
-
//
|
113
|
-
// Private State/Props
|
114
|
-
//
|
115
|
-
//--------------------------------------------------------------------------
|
116
|
-
this.effectiveLocale = "";
|
117
|
-
//--------------------------------------------------------------------------
|
118
|
-
//
|
119
|
-
// Private Methods
|
120
|
-
//
|
121
|
-
//--------------------------------------------------------------------------
|
122
|
-
this.keyDownHandler = (event) => {
|
123
|
-
if (event.key === "Escape") {
|
124
|
-
this.reset();
|
125
|
-
}
|
126
|
-
};
|
127
|
-
this.monthHeaderSelectChange = (event) => {
|
128
|
-
const date = new Date(event.detail);
|
129
|
-
if (!this.range) {
|
130
|
-
this.activeDate = date;
|
131
|
-
}
|
132
|
-
else {
|
133
|
-
if (this.activeRange === "end") {
|
134
|
-
this.activeEndDate = date;
|
135
|
-
}
|
136
|
-
else {
|
137
|
-
this.activeStartDate = date;
|
138
|
-
}
|
139
|
-
this.mostRecentRangeValue = date;
|
140
|
-
}
|
141
|
-
};
|
142
|
-
this.monthActiveDateChange = (event) => {
|
143
|
-
const date = new Date(event.detail);
|
144
|
-
if (!this.range) {
|
145
|
-
this.activeDate = date;
|
146
|
-
}
|
147
|
-
else {
|
148
|
-
if (this.activeRange === "end") {
|
149
|
-
this.activeEndDate = date;
|
150
|
-
}
|
151
|
-
else {
|
152
|
-
this.activeStartDate = date;
|
153
|
-
}
|
154
|
-
this.mostRecentRangeValue = date;
|
155
|
-
}
|
156
|
-
};
|
157
|
-
this.monthHoverChange = (event) => {
|
158
|
-
if (!this.startAsDate) {
|
159
|
-
this.hoverRange = undefined;
|
160
|
-
return;
|
161
|
-
}
|
162
|
-
const date = new Date(event.detail);
|
163
|
-
this.hoverRange = {
|
164
|
-
focused: this.activeRange || "start",
|
165
|
-
start: this.startAsDate,
|
166
|
-
end: this.endAsDate
|
167
|
-
};
|
168
|
-
if (!this.proximitySelectionDisabled) {
|
169
|
-
if (this.endAsDate) {
|
170
|
-
const startDiff = getDaysDiff(date, this.startAsDate);
|
171
|
-
const endDiff = getDaysDiff(date, this.endAsDate);
|
172
|
-
if (endDiff > 0) {
|
173
|
-
this.hoverRange.end = date;
|
174
|
-
this.hoverRange.focused = "end";
|
175
|
-
}
|
176
|
-
else if (startDiff < 0) {
|
177
|
-
this.hoverRange.start = date;
|
178
|
-
this.hoverRange.focused = "start";
|
179
|
-
}
|
180
|
-
else if (startDiff > endDiff) {
|
181
|
-
this.hoverRange.start = date;
|
182
|
-
this.hoverRange.focused = "start";
|
183
|
-
}
|
184
|
-
else {
|
185
|
-
this.hoverRange.end = date;
|
186
|
-
this.hoverRange.focused = "end";
|
187
|
-
}
|
188
|
-
}
|
189
|
-
else {
|
190
|
-
if (date < this.startAsDate) {
|
191
|
-
this.hoverRange = {
|
192
|
-
focused: "start",
|
193
|
-
start: date,
|
194
|
-
end: this.startAsDate
|
195
|
-
};
|
196
|
-
}
|
197
|
-
else {
|
198
|
-
this.hoverRange.end = date;
|
199
|
-
this.hoverRange.focused = "end";
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
else {
|
204
|
-
if (!this.endAsDate) {
|
205
|
-
if (date < this.startAsDate) {
|
206
|
-
this.hoverRange = {
|
207
|
-
focused: "start",
|
208
|
-
start: date,
|
209
|
-
end: this.startAsDate
|
210
|
-
};
|
211
|
-
}
|
212
|
-
else {
|
213
|
-
this.hoverRange.end = date;
|
214
|
-
this.hoverRange.focused = "end";
|
215
|
-
}
|
216
|
-
}
|
217
|
-
else {
|
218
|
-
this.hoverRange = undefined;
|
219
|
-
}
|
220
|
-
}
|
221
|
-
event.stopPropagation();
|
222
|
-
};
|
223
|
-
this.monthMouseOutChange = () => {
|
224
|
-
if (this.hoverRange) {
|
225
|
-
this.hoverRange = undefined;
|
226
|
-
}
|
227
|
-
};
|
228
|
-
/**
|
229
|
-
* Reset active date and close
|
230
|
-
*/
|
231
|
-
this.reset = () => {
|
232
|
-
var _a, _b, _c, _d, _e, _f;
|
233
|
-
if (!Array.isArray(this.valueAsDate) &&
|
234
|
-
this.valueAsDate &&
|
235
|
-
((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {
|
236
|
-
this.activeDate = new Date(this.valueAsDate);
|
237
|
-
}
|
238
|
-
if (this.startAsDate && ((_c = this.startAsDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = this.activeStartDate) === null || _d === void 0 ? void 0 : _d.getTime())) {
|
239
|
-
this.activeStartDate = new Date(this.startAsDate);
|
240
|
-
}
|
241
|
-
if (this.endAsDate && ((_e = this.endAsDate) === null || _e === void 0 ? void 0 : _e.getTime()) !== ((_f = this.activeEndDate) === null || _f === void 0 ? void 0 : _f.getTime())) {
|
242
|
-
this.activeEndDate = new Date(this.endAsDate);
|
243
|
-
}
|
244
|
-
};
|
245
|
-
/**
|
246
|
-
* Event handler for when the selected date changes
|
247
|
-
*
|
248
|
-
* @param event
|
249
|
-
*/
|
250
|
-
this.monthDateChange = (event) => {
|
251
|
-
const date = new Date(event.detail);
|
252
|
-
if (!this.range) {
|
253
|
-
this.value = date ? dateToISO(date) : "";
|
254
|
-
this.valueAsDate = date || null;
|
255
|
-
this.activeDate = date || null;
|
256
|
-
this.calciteDatePickerChange.emit(date);
|
257
|
-
return;
|
258
|
-
}
|
259
|
-
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
260
|
-
if (this.startAsDate) {
|
261
|
-
this.setEndDate(new Date(this.startAsDate));
|
262
|
-
}
|
263
|
-
if (this.activeRange == "end") {
|
264
|
-
this.setEndDate(date);
|
265
|
-
}
|
266
|
-
else {
|
267
|
-
this.setStartDate(date);
|
268
|
-
}
|
269
|
-
}
|
270
|
-
else if (!this.endAsDate) {
|
271
|
-
this.setEndDate(date);
|
272
|
-
}
|
273
|
-
else {
|
274
|
-
if (!this.proximitySelectionDisabled) {
|
275
|
-
if (this.activeRange) {
|
276
|
-
if (this.activeRange == "end") {
|
277
|
-
this.setEndDate(date);
|
278
|
-
}
|
279
|
-
else {
|
280
|
-
this.setStartDate(date);
|
281
|
-
}
|
282
|
-
}
|
283
|
-
else {
|
284
|
-
const startDiff = getDaysDiff(date, this.startAsDate);
|
285
|
-
const endDiff = getDaysDiff(date, this.endAsDate);
|
286
|
-
if (endDiff === 0 || startDiff < 0) {
|
287
|
-
this.setStartDate(date);
|
288
|
-
}
|
289
|
-
else if (startDiff === 0 || endDiff < 0) {
|
290
|
-
this.setEndDate(date);
|
291
|
-
}
|
292
|
-
else if (startDiff < endDiff) {
|
293
|
-
this.setStartDate(date);
|
294
|
-
}
|
295
|
-
else {
|
296
|
-
this.setEndDate(date);
|
297
|
-
}
|
298
|
-
}
|
299
|
-
}
|
300
|
-
else {
|
301
|
-
this.setStartDate(date);
|
302
|
-
this.endAsDate = this.activeEndDate = this.end = undefined;
|
303
|
-
}
|
304
|
-
}
|
305
|
-
this.calciteDatePickerChange.emit(date);
|
306
|
-
};
|
307
|
-
}
|
308
|
-
handleValueAsDate(date) {
|
309
|
-
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
310
|
-
this.activeDate = date;
|
311
|
-
}
|
312
|
-
}
|
313
|
-
handleRangeChange() {
|
314
|
-
const { startAsDate: startDate, endAsDate: endDate } = this;
|
315
|
-
this.activeEndDate = endDate;
|
316
|
-
this.activeStartDate = startDate;
|
317
|
-
}
|
318
|
-
onMinChanged(min) {
|
319
|
-
if (min) {
|
320
|
-
this.minAsDate = dateFromISO(min);
|
321
|
-
}
|
322
|
-
}
|
323
|
-
onMaxChanged(max) {
|
324
|
-
if (max) {
|
325
|
-
this.maxAsDate = dateFromISO(max);
|
326
|
-
}
|
327
|
-
}
|
328
|
-
// --------------------------------------------------------------------------
|
329
|
-
//
|
330
|
-
// Lifecycle
|
331
|
-
//
|
332
|
-
// --------------------------------------------------------------------------
|
333
|
-
connectedCallback() {
|
334
|
-
connectLocalized(this);
|
335
|
-
if (Array.isArray(this.value)) {
|
336
|
-
this.valueAsDate = getValueAsDateRange(this.value);
|
337
|
-
this.start = this.value[0];
|
338
|
-
this.end = this.value[1];
|
339
|
-
}
|
340
|
-
else if (this.value) {
|
341
|
-
this.valueAsDate = dateFromISO(this.value);
|
342
|
-
}
|
343
|
-
if (this.start) {
|
344
|
-
this.setStartAsDate(dateFromISO(this.start));
|
345
|
-
}
|
346
|
-
if (this.end) {
|
347
|
-
this.setEndAsDate(dateFromISO(this.end));
|
348
|
-
}
|
349
|
-
if (this.min) {
|
350
|
-
this.minAsDate = dateFromISO(this.min);
|
351
|
-
}
|
352
|
-
if (this.max) {
|
353
|
-
this.maxAsDate = dateFromISO(this.max);
|
354
|
-
}
|
355
|
-
}
|
356
|
-
disconnectedCallback() {
|
357
|
-
disconnectLocalized(this);
|
358
|
-
}
|
359
|
-
async componentWillLoad() {
|
360
|
-
await this.loadLocaleData();
|
361
|
-
this.onMinChanged(this.min);
|
362
|
-
this.onMaxChanged(this.max);
|
363
|
-
}
|
364
|
-
render() {
|
365
|
-
var _a;
|
366
|
-
const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
367
|
-
const activeStartDate = this.range
|
368
|
-
? this.getActiveStartDate(date, this.minAsDate, this.maxAsDate)
|
369
|
-
: this.getActiveDate(date, this.minAsDate, this.maxAsDate);
|
370
|
-
let activeDate = activeStartDate;
|
371
|
-
const endDate = this.range
|
372
|
-
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
373
|
-
: null;
|
374
|
-
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
375
|
-
if ((this.activeRange === "end" ||
|
376
|
-
(((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "end" && (!this.proximitySelectionDisabled || endDate))) &&
|
377
|
-
activeEndDate) {
|
378
|
-
activeDate = activeEndDate;
|
379
|
-
}
|
380
|
-
if (this.range && this.mostRecentRangeValue) {
|
381
|
-
activeDate = this.mostRecentRangeValue;
|
382
|
-
}
|
383
|
-
const minDate = this.range && this.activeRange
|
384
|
-
? this.activeRange === "start"
|
385
|
-
? this.minAsDate
|
386
|
-
: date || this.minAsDate
|
387
|
-
: this.minAsDate;
|
388
|
-
const maxDate = this.range && this.activeRange
|
389
|
-
? this.activeRange === "start"
|
390
|
-
? endDate || this.maxAsDate
|
391
|
-
: this.maxAsDate
|
392
|
-
: this.maxAsDate;
|
393
|
-
return (h(Host, { onBlur: this.reset, onKeyDown: this.keyDownHandler, role: "application" }, this.renderCalendar(activeDate, maxDate, minDate, date, endDate)));
|
394
|
-
}
|
395
|
-
valueHandler(value) {
|
396
|
-
if (Array.isArray(value)) {
|
397
|
-
this.valueAsDate = getValueAsDateRange(value);
|
398
|
-
this.start = value[0];
|
399
|
-
this.end = value[1];
|
400
|
-
}
|
401
|
-
else if (value) {
|
402
|
-
this.valueAsDate = dateFromISO(value);
|
403
|
-
this.start = "";
|
404
|
-
this.end = "";
|
405
|
-
}
|
406
|
-
}
|
407
|
-
startWatcher(start) {
|
408
|
-
this.setStartAsDate(dateFromISO(start));
|
409
|
-
}
|
410
|
-
endWatcher(end) {
|
411
|
-
this.setEndAsDate(dateFromISO(end));
|
412
|
-
}
|
413
|
-
async loadLocaleData() {
|
414
|
-
if (!Build.isBrowser) {
|
415
|
-
return;
|
416
|
-
}
|
417
|
-
numberStringFormatter.numberFormatOptions = {
|
418
|
-
numberingSystem: this.numberingSystem,
|
419
|
-
locale: this.effectiveLocale,
|
420
|
-
useGrouping: false
|
421
|
-
};
|
422
|
-
this.localeData = await getLocaleData(this.effectiveLocale);
|
423
|
-
}
|
424
|
-
/**
|
425
|
-
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
426
|
-
*
|
427
|
-
* @param activeDate
|
428
|
-
* @param maxDate
|
429
|
-
* @param minDate
|
430
|
-
* @param date
|
431
|
-
* @param endDate
|
432
|
-
*/
|
433
|
-
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
434
|
-
return (this.localeData && [
|
435
|
-
h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
436
|
-
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerSelect: this.monthDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
|
437
|
-
]);
|
438
|
-
}
|
439
|
-
/**
|
440
|
-
* Update date instance of start if valid
|
441
|
-
*
|
442
|
-
* @param startDate
|
443
|
-
* @param emit
|
444
|
-
*/
|
445
|
-
setStartAsDate(startDate, emit) {
|
446
|
-
this.startAsDate = startDate;
|
447
|
-
this.mostRecentRangeValue = this.startAsDate;
|
448
|
-
if (emit) {
|
449
|
-
this.calciteDatePickerRangeChange.emit({
|
450
|
-
startDate,
|
451
|
-
endDate: this.endAsDate
|
452
|
-
});
|
453
|
-
}
|
454
|
-
}
|
455
|
-
/**
|
456
|
-
* Update date instance of end if valid
|
457
|
-
*
|
458
|
-
* @param endDate
|
459
|
-
* @param emit
|
460
|
-
*/
|
461
|
-
setEndAsDate(endDate, emit) {
|
462
|
-
this.endAsDate = endDate ? setEndOfDay(endDate) : endDate;
|
463
|
-
this.mostRecentRangeValue = this.endAsDate;
|
464
|
-
if (emit) {
|
465
|
-
this.calciteDatePickerRangeChange.emit({
|
466
|
-
startDate: this.startAsDate,
|
467
|
-
endDate
|
468
|
-
});
|
469
|
-
}
|
470
|
-
}
|
471
|
-
setEndDate(date) {
|
472
|
-
this.end = date ? dateToISO(date) : "";
|
473
|
-
this.setEndAsDate(date, true);
|
474
|
-
this.activeEndDate = date || null;
|
475
|
-
}
|
476
|
-
setStartDate(date) {
|
477
|
-
this.start = date ? dateToISO(date) : "";
|
478
|
-
this.setStartAsDate(date, true);
|
479
|
-
this.activeStartDate = date || null;
|
480
|
-
}
|
481
|
-
/**
|
482
|
-
* Get an active date using the value, or current date as default
|
483
|
-
*
|
484
|
-
* @param value
|
485
|
-
* @param min
|
486
|
-
* @param max
|
487
|
-
*/
|
488
|
-
getActiveDate(value, min, max) {
|
489
|
-
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
490
|
-
}
|
491
|
-
getActiveStartDate(value, min, max) {
|
492
|
-
return (dateFromRange(this.activeStartDate, min, max) || value || dateFromRange(new Date(), min, max));
|
493
|
-
}
|
494
|
-
getActiveEndDate(value, min, max) {
|
495
|
-
return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));
|
496
|
-
}
|
497
|
-
static get assetsDirs() { return ["assets"]; }
|
498
|
-
get el() { return this; }
|
499
|
-
static get watchers() { return {
|
500
|
-
"valueAsDate": ["handleValueAsDate"],
|
501
|
-
"startAsDate": ["handleRangeChange"],
|
502
|
-
"endAsDate": ["handleRangeChange"],
|
503
|
-
"min": ["onMinChanged"],
|
504
|
-
"max": ["onMaxChanged"],
|
505
|
-
"value": ["valueHandler"],
|
506
|
-
"start": ["startWatcher"],
|
507
|
-
"end": ["endWatcher"],
|
508
|
-
"effectiveLocale": ["loadLocaleData"]
|
509
|
-
}; }
|
510
|
-
static get style() { return datePickerCss; }
|
511
|
-
}, [1, "calcite-date-picker", {
|
512
|
-
"activeRange": [513, "active-range"],
|
513
|
-
"value": [1025],
|
514
|
-
"headingLevel": [514, "heading-level"],
|
515
|
-
"valueAsDate": [1040],
|
516
|
-
"startAsDate": [1040],
|
517
|
-
"endAsDate": [1040],
|
518
|
-
"minAsDate": [1040],
|
519
|
-
"maxAsDate": [1040],
|
520
|
-
"min": [1537],
|
521
|
-
"max": [1537],
|
522
|
-
"intlPrevMonth": [1, "intl-prev-month"],
|
523
|
-
"intlNextMonth": [1, "intl-next-month"],
|
524
|
-
"intlYear": [1, "intl-year"],
|
525
|
-
"locale": [1],
|
526
|
-
"numberingSystem": [513, "numbering-system"],
|
527
|
-
"scale": [513],
|
528
|
-
"range": [516],
|
529
|
-
"start": [1537],
|
530
|
-
"end": [1537],
|
531
|
-
"proximitySelectionDisabled": [516, "proximity-selection-disabled"],
|
532
|
-
"activeDate": [32],
|
533
|
-
"activeStartDate": [32],
|
534
|
-
"activeEndDate": [32],
|
535
|
-
"globalAttributes": [32],
|
536
|
-
"effectiveLocale": [32],
|
537
|
-
"localeData": [32],
|
538
|
-
"hoverRange": [32]
|
539
|
-
}]);
|
540
|
-
function defineCustomElement() {
|
541
|
-
if (typeof customElements === "undefined") {
|
542
|
-
return;
|
543
|
-
}
|
544
|
-
const components = ["calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-icon"];
|
545
|
-
components.forEach(tagName => { switch (tagName) {
|
546
|
-
case "calcite-date-picker":
|
547
|
-
if (!customElements.get(tagName)) {
|
548
|
-
customElements.define(tagName, DatePicker);
|
549
|
-
}
|
550
|
-
break;
|
551
|
-
case "calcite-date-picker-day":
|
552
|
-
if (!customElements.get(tagName)) {
|
553
|
-
defineCustomElement$4();
|
554
|
-
}
|
555
|
-
break;
|
556
|
-
case "calcite-date-picker-month":
|
557
|
-
if (!customElements.get(tagName)) {
|
558
|
-
defineCustomElement$3();
|
559
|
-
}
|
560
|
-
break;
|
561
|
-
case "calcite-date-picker-month-header":
|
562
|
-
if (!customElements.get(tagName)) {
|
563
|
-
defineCustomElement$2();
|
564
|
-
}
|
565
|
-
break;
|
566
|
-
case "calcite-icon":
|
567
|
-
if (!customElements.get(tagName)) {
|
568
|
-
defineCustomElement$1();
|
569
|
-
}
|
570
|
-
break;
|
571
|
-
} });
|
572
|
-
}
|
573
|
-
defineCustomElement();
|
574
|
-
|
575
|
-
export { DatePicker as D, TEXT as T, getLocaleData as a, defineCustomElement as d, getValueAsDateRange as g };
|
576
|
-
|
577
|
-
//# sourceMappingURL=date-picker.js.map
|