@esri/solutions-components 0.2.1 → 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 +10 -3
- 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-e2fc11ac.js → solution-store-893499a5.js} +3 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +9 -2
- 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 +10 -3
- 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-b3c65467.js → solution-store-0c58c852.js} +3 -1
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-b25f6ebe.js → p-659edb14.js} +3 -1
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-638738f2.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/{p-7e8985f2.entry.js → p-90629c1d.entry.js} +11 -4
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-542189bc.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 -6
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-e2fc11ac.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 -2225
- 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-b3c65467.js.map +0 -1
- package/dist/solutions-components/p-542189bc.entry.js.map +0 -1
- package/dist/solutions-components/p-638738f2.entry.js.map +0 -1
- package/dist/solutions-components/p-7e8985f2.entry.js.map +0 -1
- package/dist/solutions-components/p-b25f6ebe.js.map +0 -1
@@ -1,489 +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
|
-
/** Detect free variable `global` from Node.js. */
|
7
|
-
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
8
|
-
|
9
|
-
/** Detect free variable `self`. */
|
10
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
11
|
-
|
12
|
-
/** Used as a reference to the global object. */
|
13
|
-
var root = freeGlobal || freeSelf || Function('return this')();
|
14
|
-
|
15
|
-
/** Built-in value references. */
|
16
|
-
var Symbol = root.Symbol;
|
17
|
-
|
18
|
-
/** Used for built-in method references. */
|
19
|
-
var objectProto$1 = Object.prototype;
|
20
|
-
|
21
|
-
/** Used to check objects for own properties. */
|
22
|
-
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Used to resolve the
|
26
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
27
|
-
* of values.
|
28
|
-
*/
|
29
|
-
var nativeObjectToString$1 = objectProto$1.toString;
|
30
|
-
|
31
|
-
/** Built-in value references. */
|
32
|
-
var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
|
33
|
-
|
34
|
-
/**
|
35
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
36
|
-
*
|
37
|
-
* @private
|
38
|
-
* @param {*} value The value to query.
|
39
|
-
* @returns {string} Returns the raw `toStringTag`.
|
40
|
-
*/
|
41
|
-
function getRawTag(value) {
|
42
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
43
|
-
tag = value[symToStringTag$1];
|
44
|
-
|
45
|
-
try {
|
46
|
-
value[symToStringTag$1] = undefined;
|
47
|
-
var unmasked = true;
|
48
|
-
} catch (e) {}
|
49
|
-
|
50
|
-
var result = nativeObjectToString$1.call(value);
|
51
|
-
if (unmasked) {
|
52
|
-
if (isOwn) {
|
53
|
-
value[symToStringTag$1] = tag;
|
54
|
-
} else {
|
55
|
-
delete value[symToStringTag$1];
|
56
|
-
}
|
57
|
-
}
|
58
|
-
return result;
|
59
|
-
}
|
60
|
-
|
61
|
-
/** Used for built-in method references. */
|
62
|
-
var objectProto = Object.prototype;
|
63
|
-
|
64
|
-
/**
|
65
|
-
* Used to resolve the
|
66
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
67
|
-
* of values.
|
68
|
-
*/
|
69
|
-
var nativeObjectToString = objectProto.toString;
|
70
|
-
|
71
|
-
/**
|
72
|
-
* Converts `value` to a string using `Object.prototype.toString`.
|
73
|
-
*
|
74
|
-
* @private
|
75
|
-
* @param {*} value The value to convert.
|
76
|
-
* @returns {string} Returns the converted string.
|
77
|
-
*/
|
78
|
-
function objectToString(value) {
|
79
|
-
return nativeObjectToString.call(value);
|
80
|
-
}
|
81
|
-
|
82
|
-
/** `Object#toString` result references. */
|
83
|
-
var nullTag = '[object Null]',
|
84
|
-
undefinedTag = '[object Undefined]';
|
85
|
-
|
86
|
-
/** Built-in value references. */
|
87
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
88
|
-
|
89
|
-
/**
|
90
|
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
91
|
-
*
|
92
|
-
* @private
|
93
|
-
* @param {*} value The value to query.
|
94
|
-
* @returns {string} Returns the `toStringTag`.
|
95
|
-
*/
|
96
|
-
function baseGetTag(value) {
|
97
|
-
if (value == null) {
|
98
|
-
return value === undefined ? undefinedTag : nullTag;
|
99
|
-
}
|
100
|
-
return (symToStringTag && symToStringTag in Object(value))
|
101
|
-
? getRawTag(value)
|
102
|
-
: objectToString(value);
|
103
|
-
}
|
104
|
-
|
105
|
-
/**
|
106
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
107
|
-
* and has a `typeof` result of "object".
|
108
|
-
*
|
109
|
-
* @static
|
110
|
-
* @memberOf _
|
111
|
-
* @since 4.0.0
|
112
|
-
* @category Lang
|
113
|
-
* @param {*} value The value to check.
|
114
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
115
|
-
* @example
|
116
|
-
*
|
117
|
-
* _.isObjectLike({});
|
118
|
-
* // => true
|
119
|
-
*
|
120
|
-
* _.isObjectLike([1, 2, 3]);
|
121
|
-
* // => true
|
122
|
-
*
|
123
|
-
* _.isObjectLike(_.noop);
|
124
|
-
* // => false
|
125
|
-
*
|
126
|
-
* _.isObjectLike(null);
|
127
|
-
* // => false
|
128
|
-
*/
|
129
|
-
function isObjectLike(value) {
|
130
|
-
return value != null && typeof value == 'object';
|
131
|
-
}
|
132
|
-
|
133
|
-
/** `Object#toString` result references. */
|
134
|
-
var symbolTag = '[object Symbol]';
|
135
|
-
|
136
|
-
/**
|
137
|
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
138
|
-
*
|
139
|
-
* @static
|
140
|
-
* @memberOf _
|
141
|
-
* @since 4.0.0
|
142
|
-
* @category Lang
|
143
|
-
* @param {*} value The value to check.
|
144
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
145
|
-
* @example
|
146
|
-
*
|
147
|
-
* _.isSymbol(Symbol.iterator);
|
148
|
-
* // => true
|
149
|
-
*
|
150
|
-
* _.isSymbol('abc');
|
151
|
-
* // => false
|
152
|
-
*/
|
153
|
-
function isSymbol(value) {
|
154
|
-
return typeof value == 'symbol' ||
|
155
|
-
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
156
|
-
}
|
157
|
-
|
158
|
-
/** Used to match a single whitespace character. */
|
159
|
-
var reWhitespace = /\s/;
|
160
|
-
|
161
|
-
/**
|
162
|
-
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
163
|
-
* character of `string`.
|
164
|
-
*
|
165
|
-
* @private
|
166
|
-
* @param {string} string The string to inspect.
|
167
|
-
* @returns {number} Returns the index of the last non-whitespace character.
|
168
|
-
*/
|
169
|
-
function trimmedEndIndex(string) {
|
170
|
-
var index = string.length;
|
171
|
-
|
172
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
173
|
-
return index;
|
174
|
-
}
|
175
|
-
|
176
|
-
/** Used to match leading whitespace. */
|
177
|
-
var reTrimStart = /^\s+/;
|
178
|
-
|
179
|
-
/**
|
180
|
-
* The base implementation of `_.trim`.
|
181
|
-
*
|
182
|
-
* @private
|
183
|
-
* @param {string} string The string to trim.
|
184
|
-
* @returns {string} Returns the trimmed string.
|
185
|
-
*/
|
186
|
-
function baseTrim(string) {
|
187
|
-
return string
|
188
|
-
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
189
|
-
: string;
|
190
|
-
}
|
191
|
-
|
192
|
-
/**
|
193
|
-
* Checks if `value` is the
|
194
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
195
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
196
|
-
*
|
197
|
-
* @static
|
198
|
-
* @memberOf _
|
199
|
-
* @since 0.1.0
|
200
|
-
* @category Lang
|
201
|
-
* @param {*} value The value to check.
|
202
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
203
|
-
* @example
|
204
|
-
*
|
205
|
-
* _.isObject({});
|
206
|
-
* // => true
|
207
|
-
*
|
208
|
-
* _.isObject([1, 2, 3]);
|
209
|
-
* // => true
|
210
|
-
*
|
211
|
-
* _.isObject(_.noop);
|
212
|
-
* // => true
|
213
|
-
*
|
214
|
-
* _.isObject(null);
|
215
|
-
* // => false
|
216
|
-
*/
|
217
|
-
function isObject(value) {
|
218
|
-
var type = typeof value;
|
219
|
-
return value != null && (type == 'object' || type == 'function');
|
220
|
-
}
|
221
|
-
|
222
|
-
/** Used as references for various `Number` constants. */
|
223
|
-
var NAN = 0 / 0;
|
224
|
-
|
225
|
-
/** Used to detect bad signed hexadecimal string values. */
|
226
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
227
|
-
|
228
|
-
/** Used to detect binary string values. */
|
229
|
-
var reIsBinary = /^0b[01]+$/i;
|
230
|
-
|
231
|
-
/** Used to detect octal string values. */
|
232
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
233
|
-
|
234
|
-
/** Built-in method references without a dependency on `root`. */
|
235
|
-
var freeParseInt = parseInt;
|
236
|
-
|
237
|
-
/**
|
238
|
-
* Converts `value` to a number.
|
239
|
-
*
|
240
|
-
* @static
|
241
|
-
* @memberOf _
|
242
|
-
* @since 4.0.0
|
243
|
-
* @category Lang
|
244
|
-
* @param {*} value The value to process.
|
245
|
-
* @returns {number} Returns the number.
|
246
|
-
* @example
|
247
|
-
*
|
248
|
-
* _.toNumber(3.2);
|
249
|
-
* // => 3.2
|
250
|
-
*
|
251
|
-
* _.toNumber(Number.MIN_VALUE);
|
252
|
-
* // => 5e-324
|
253
|
-
*
|
254
|
-
* _.toNumber(Infinity);
|
255
|
-
* // => Infinity
|
256
|
-
*
|
257
|
-
* _.toNumber('3.2');
|
258
|
-
* // => 3.2
|
259
|
-
*/
|
260
|
-
function toNumber(value) {
|
261
|
-
if (typeof value == 'number') {
|
262
|
-
return value;
|
263
|
-
}
|
264
|
-
if (isSymbol(value)) {
|
265
|
-
return NAN;
|
266
|
-
}
|
267
|
-
if (isObject(value)) {
|
268
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
269
|
-
value = isObject(other) ? (other + '') : other;
|
270
|
-
}
|
271
|
-
if (typeof value != 'string') {
|
272
|
-
return value === 0 ? value : +value;
|
273
|
-
}
|
274
|
-
value = baseTrim(value);
|
275
|
-
var isBinary = reIsBinary.test(value);
|
276
|
-
return (isBinary || reIsOctal.test(value))
|
277
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
278
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
279
|
-
}
|
280
|
-
|
281
|
-
/**
|
282
|
-
* Gets the timestamp of the number of milliseconds that have elapsed since
|
283
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
284
|
-
*
|
285
|
-
* @static
|
286
|
-
* @memberOf _
|
287
|
-
* @since 2.4.0
|
288
|
-
* @category Date
|
289
|
-
* @returns {number} Returns the timestamp.
|
290
|
-
* @example
|
291
|
-
*
|
292
|
-
* _.defer(function(stamp) {
|
293
|
-
* console.log(_.now() - stamp);
|
294
|
-
* }, _.now());
|
295
|
-
* // => Logs the number of milliseconds it took for the deferred invocation.
|
296
|
-
*/
|
297
|
-
var now = function() {
|
298
|
-
return root.Date.now();
|
299
|
-
};
|
300
|
-
|
301
|
-
/** Error message constants. */
|
302
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
303
|
-
|
304
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
305
|
-
var nativeMax = Math.max,
|
306
|
-
nativeMin = Math.min;
|
307
|
-
|
308
|
-
/**
|
309
|
-
* Creates a debounced function that delays invoking `func` until after `wait`
|
310
|
-
* milliseconds have elapsed since the last time the debounced function was
|
311
|
-
* invoked. The debounced function comes with a `cancel` method to cancel
|
312
|
-
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
313
|
-
* Provide `options` to indicate whether `func` should be invoked on the
|
314
|
-
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
315
|
-
* with the last arguments provided to the debounced function. Subsequent
|
316
|
-
* calls to the debounced function return the result of the last `func`
|
317
|
-
* invocation.
|
318
|
-
*
|
319
|
-
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
320
|
-
* invoked on the trailing edge of the timeout only if the debounced function
|
321
|
-
* is invoked more than once during the `wait` timeout.
|
322
|
-
*
|
323
|
-
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
324
|
-
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
325
|
-
*
|
326
|
-
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
327
|
-
* for details over the differences between `_.debounce` and `_.throttle`.
|
328
|
-
*
|
329
|
-
* @static
|
330
|
-
* @memberOf _
|
331
|
-
* @since 0.1.0
|
332
|
-
* @category Function
|
333
|
-
* @param {Function} func The function to debounce.
|
334
|
-
* @param {number} [wait=0] The number of milliseconds to delay.
|
335
|
-
* @param {Object} [options={}] The options object.
|
336
|
-
* @param {boolean} [options.leading=false]
|
337
|
-
* Specify invoking on the leading edge of the timeout.
|
338
|
-
* @param {number} [options.maxWait]
|
339
|
-
* The maximum time `func` is allowed to be delayed before it's invoked.
|
340
|
-
* @param {boolean} [options.trailing=true]
|
341
|
-
* Specify invoking on the trailing edge of the timeout.
|
342
|
-
* @returns {Function} Returns the new debounced function.
|
343
|
-
* @example
|
344
|
-
*
|
345
|
-
* // Avoid costly calculations while the window size is in flux.
|
346
|
-
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
347
|
-
*
|
348
|
-
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
349
|
-
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
350
|
-
* 'leading': true,
|
351
|
-
* 'trailing': false
|
352
|
-
* }));
|
353
|
-
*
|
354
|
-
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
355
|
-
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
356
|
-
* var source = new EventSource('/stream');
|
357
|
-
* jQuery(source).on('message', debounced);
|
358
|
-
*
|
359
|
-
* // Cancel the trailing debounced invocation.
|
360
|
-
* jQuery(window).on('popstate', debounced.cancel);
|
361
|
-
*/
|
362
|
-
function debounce(func, wait, options) {
|
363
|
-
var lastArgs,
|
364
|
-
lastThis,
|
365
|
-
maxWait,
|
366
|
-
result,
|
367
|
-
timerId,
|
368
|
-
lastCallTime,
|
369
|
-
lastInvokeTime = 0,
|
370
|
-
leading = false,
|
371
|
-
maxing = false,
|
372
|
-
trailing = true;
|
373
|
-
|
374
|
-
if (typeof func != 'function') {
|
375
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
376
|
-
}
|
377
|
-
wait = toNumber(wait) || 0;
|
378
|
-
if (isObject(options)) {
|
379
|
-
leading = !!options.leading;
|
380
|
-
maxing = 'maxWait' in options;
|
381
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
382
|
-
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
383
|
-
}
|
384
|
-
|
385
|
-
function invokeFunc(time) {
|
386
|
-
var args = lastArgs,
|
387
|
-
thisArg = lastThis;
|
388
|
-
|
389
|
-
lastArgs = lastThis = undefined;
|
390
|
-
lastInvokeTime = time;
|
391
|
-
result = func.apply(thisArg, args);
|
392
|
-
return result;
|
393
|
-
}
|
394
|
-
|
395
|
-
function leadingEdge(time) {
|
396
|
-
// Reset any `maxWait` timer.
|
397
|
-
lastInvokeTime = time;
|
398
|
-
// Start the timer for the trailing edge.
|
399
|
-
timerId = setTimeout(timerExpired, wait);
|
400
|
-
// Invoke the leading edge.
|
401
|
-
return leading ? invokeFunc(time) : result;
|
402
|
-
}
|
403
|
-
|
404
|
-
function remainingWait(time) {
|
405
|
-
var timeSinceLastCall = time - lastCallTime,
|
406
|
-
timeSinceLastInvoke = time - lastInvokeTime,
|
407
|
-
timeWaiting = wait - timeSinceLastCall;
|
408
|
-
|
409
|
-
return maxing
|
410
|
-
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
411
|
-
: timeWaiting;
|
412
|
-
}
|
413
|
-
|
414
|
-
function shouldInvoke(time) {
|
415
|
-
var timeSinceLastCall = time - lastCallTime,
|
416
|
-
timeSinceLastInvoke = time - lastInvokeTime;
|
417
|
-
|
418
|
-
// Either this is the first call, activity has stopped and we're at the
|
419
|
-
// trailing edge, the system time has gone backwards and we're treating
|
420
|
-
// it as the trailing edge, or we've hit the `maxWait` limit.
|
421
|
-
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
422
|
-
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
423
|
-
}
|
424
|
-
|
425
|
-
function timerExpired() {
|
426
|
-
var time = now();
|
427
|
-
if (shouldInvoke(time)) {
|
428
|
-
return trailingEdge(time);
|
429
|
-
}
|
430
|
-
// Restart the timer.
|
431
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
432
|
-
}
|
433
|
-
|
434
|
-
function trailingEdge(time) {
|
435
|
-
timerId = undefined;
|
436
|
-
|
437
|
-
// Only invoke if we have `lastArgs` which means `func` has been
|
438
|
-
// debounced at least once.
|
439
|
-
if (trailing && lastArgs) {
|
440
|
-
return invokeFunc(time);
|
441
|
-
}
|
442
|
-
lastArgs = lastThis = undefined;
|
443
|
-
return result;
|
444
|
-
}
|
445
|
-
|
446
|
-
function cancel() {
|
447
|
-
if (timerId !== undefined) {
|
448
|
-
clearTimeout(timerId);
|
449
|
-
}
|
450
|
-
lastInvokeTime = 0;
|
451
|
-
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
452
|
-
}
|
453
|
-
|
454
|
-
function flush() {
|
455
|
-
return timerId === undefined ? result : trailingEdge(now());
|
456
|
-
}
|
457
|
-
|
458
|
-
function debounced() {
|
459
|
-
var time = now(),
|
460
|
-
isInvoking = shouldInvoke(time);
|
461
|
-
|
462
|
-
lastArgs = arguments;
|
463
|
-
lastThis = this;
|
464
|
-
lastCallTime = time;
|
465
|
-
|
466
|
-
if (isInvoking) {
|
467
|
-
if (timerId === undefined) {
|
468
|
-
return leadingEdge(lastCallTime);
|
469
|
-
}
|
470
|
-
if (maxing) {
|
471
|
-
// Handle invocations in a tight loop.
|
472
|
-
clearTimeout(timerId);
|
473
|
-
timerId = setTimeout(timerExpired, wait);
|
474
|
-
return invokeFunc(lastCallTime);
|
475
|
-
}
|
476
|
-
}
|
477
|
-
if (timerId === undefined) {
|
478
|
-
timerId = setTimeout(timerExpired, wait);
|
479
|
-
}
|
480
|
-
return result;
|
481
|
-
}
|
482
|
-
debounced.cancel = cancel;
|
483
|
-
debounced.flush = flush;
|
484
|
-
return debounced;
|
485
|
-
}
|
486
|
-
|
487
|
-
export { Symbol as S, isSymbol as a, baseGetTag as b, isObjectLike as c, debounce as d, freeGlobal as f, isObject as i, root as r };
|
488
|
-
|
489
|
-
//# sourceMappingURL=debounce.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"debounce.js","mappings":";;;;;AAAA;AACG,IAAC,UAAU,GAAG,OAAO,MAAM,IAAI,QAAQ,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,IAAI;;ACCpF;AACA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI,CAAC;AACjF;AACA;AACG,IAAC,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC;;ACJ5D;AACG,IAAC,MAAM,GAAG,IAAI,CAAC;;ACDlB;AACA,IAAIA,aAAW,GAAG,MAAM,CAAC,SAAS,CAAC;AACnC;AACA;AACA,IAAI,cAAc,GAAGA,aAAW,CAAC,cAAc,CAAC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,IAAIC,sBAAoB,GAAGD,aAAW,CAAC,QAAQ,CAAC;AAChD;AACA;AACA,IAAIE,gBAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;AAC7D;AACA;AACA;AACA;A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C,YAAY,CAAC,CAAC;AACxC,OAAO;AACP,KAAK;AACL,IAAI,IAAI,OAAO,KAAK,SAAS,EAAE;AAC/B,MAAM,OAAO,GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAC/C,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,GAAG;AACH,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;AAC5B,EAAE,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;AAC1B,EAAE,OAAO,SAAS,CAAC;AACnB;;;;","names":["objectProto","nativeObjectToString","symToStringTag"],"sources":["./node_modules/lodash-es/_freeGlobal.js","./node_modules/lodash-es/_root.js","./node_modules/lodash-es/_Symbol.js","./node_modules/lodash-es/_getRawTag.js","./node_modules/lodash-es/_objectToString.js","./node_modules/lodash-es/_baseGetTag.js","./node_modules/lodash-es/isObjectLike.js","./node_modules/lodash-es/isSymbol.js","./node_modules/lodash-es/_trimmedEndIndex.js","./node_modules/lodash-es/_baseTrim.js","./node_modules/lodash-es/isObject.js","./node_modules/lodash-es/toNumber.js","./node_modules/lodash-es/now.js","./node_modules/lodash-es/debounce.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n"],"version":3}
|