@siemens/ix 1.1.0-beta.1 → 1.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -23
- package/dist/cjs/animation-dfe01edc.js +0 -19
- package/dist/cjs/anime.es-8822f296.js +0 -1311
- package/dist/cjs/base-button-eb1d47db.js +0 -33
- package/dist/cjs/default-tree-item-4597cd84.js +0 -22
- package/dist/cjs/flip-tile-state-c95639e5.js +0 -18
- package/dist/cjs/index-1e4a348f.js +0 -1849
- package/dist/cjs/index.cjs.js +0 -96
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -217
- package/dist/cjs/ix-application-header.cjs.entry.js +0 -30
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -44
- package/dist/cjs/ix-blind.cjs.entry.js +0 -89
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -155
- package/dist/cjs/ix-button.cjs.entry.js +0 -50
- package/dist/cjs/ix-category-filter.cjs.entry.js +0 -399
- package/dist/cjs/ix-chip.cjs.entry.js +0 -47
- package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +0 -9039
- package/dist/cjs/ix-date-time-card.cjs.entry.js +0 -36
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +0 -113
- package/dist/cjs/ix-drawer.cjs.entry.js +0 -122
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -203
- package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -151
- package/dist/cjs/ix-expanding-search.cjs.entry.js +0 -92
- package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -79
- package/dist/cjs/ix-group_3.cjs.entry.js +0 -174
- package/dist/cjs/ix-icon-button.cjs.entry.js +0 -40
- package/dist/cjs/ix-icon.cjs.entry.js +0 -33
- package/dist/cjs/ix-input-group.cjs.entry.js +0 -40
- package/dist/cjs/ix-kpi.cjs.entry.js +0 -50
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -165
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -888
- package/dist/cjs/ix-message-bar.cjs.entry.js +0 -58
- package/dist/cjs/ix-modal-example.cjs.entry.js +0 -24
- package/dist/cjs/ix-modal_2.cjs.entry.js +0 -14
- package/dist/cjs/ix-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -309
- package/dist/cjs/ix-spinner.cjs.entry.js +0 -30
- package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -114
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -187
- package/dist/cjs/ix-tile.cjs.entry.js +0 -27
- package/dist/cjs/ix-toast_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-toggle.cjs.entry.js +0 -82
- package/dist/cjs/ix-tree_2.cjs.entry.js +0 -690
- package/dist/cjs/ix-upload.cjs.entry.js +0 -139
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -107
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -191
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/logical-filter-operator-467e2faf.js +0 -35
- package/dist/cjs/modal-5be2b1a3.js +0 -221
- package/dist/cjs/modal-utils-5d7bb217.js +0 -42
- package/dist/cjs/mutation-observer-29bedada.js +0 -13
- package/dist/cjs/my-component.cjs.entry.js +0 -19
- package/dist/cjs/popper-d7a0f999.js +0 -1801
- package/dist/cjs/rwd.util-482d41d4.js +0 -42
- package/dist/cjs/siemens-ix.cjs.js +0 -19
- package/dist/cjs/typed-event-8f5a32a2.js +0 -46
- package/dist/cjs/upload-file-state-923b2c65.js +0 -17
- package/dist/collection/collection-manifest.json +0 -264
- package/dist/collection/components/animated-tab/animated-tab.css +0 -14
- package/dist/collection/components/animated-tab/animated-tab.js +0 -59
- package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
- package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
- package/dist/collection/components/application-header/application-header.css +0 -30
- package/dist/collection/components/application-header/application-header.js +0 -56
- package/dist/collection/components/basic-navigation/basic-navigation.css +0 -29
- package/dist/collection/components/basic-navigation/basic-navigation.js +0 -91
- package/dist/collection/components/blind/blind.css +0 -146
- package/dist/collection/components/blind/blind.js +0 -152
- package/dist/collection/components/breadcrumb/breadcrumb.css +0 -228
- package/dist/collection/components/breadcrumb/breadcrumb.js +0 -252
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +0 -11
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +0 -59
- package/dist/collection/components/button/base-button.js +0 -29
- package/dist/collection/components/button/button.css +0 -15
- package/dist/collection/components/button/button.js +0 -192
- package/dist/collection/components/category-filter/category-filter.css +0 -188
- package/dist/collection/components/category-filter/category-filter.js +0 -704
- package/dist/collection/components/category-filter/filter-state.js +0 -10
- package/dist/collection/components/category-filter/input-state.js +0 -17
- package/dist/collection/components/category-filter/logical-filter-operator.js +0 -13
- package/dist/collection/components/chip/chip.css +0 -475
- package/dist/collection/components/chip/chip.js +0 -197
- package/dist/collection/components/counter-pill/counter-pill.css +0 -313
- package/dist/collection/components/counter-pill/counter-pill.js +0 -137
- package/dist/collection/components/date-picker/date-picker.css +0 -224
- package/dist/collection/components/date-picker/date-picker.js +0 -679
- package/dist/collection/components/date-picker/events.js +0 -1
- package/dist/collection/components/date-time-card/date-time-card.css +0 -51
- package/dist/collection/components/date-time-card/date-time-card.js +0 -89
- package/dist/collection/components/datetime-picker/datetime-picker.css +0 -44
- package/dist/collection/components/datetime-picker/datetime-picker.js +0 -501
- package/dist/collection/components/datetime-picker/event.js +0 -9
- package/dist/collection/components/drawer/drawer.css +0 -78
- package/dist/collection/components/drawer/drawer.js +0 -300
- package/dist/collection/components/dropdown/dropdown.css +0 -536
- package/dist/collection/components/dropdown/dropdown.js +0 -392
- package/dist/collection/components/dropdown-item/dropdown-item.css +0 -61
- package/dist/collection/components/dropdown-item/dropdown-item.js +0 -187
- package/dist/collection/components/event-list/event-list.css +0 -58
- package/dist/collection/components/event-list/event-list.js +0 -197
- package/dist/collection/components/event-list-item/event-list-item.css +0 -126
- package/dist/collection/components/event-list-item/event-list-item.js +0 -162
- package/dist/collection/components/expanding-search/expanding-search.css +0 -127
- package/dist/collection/components/expanding-search/expanding-search.js +0 -178
- package/dist/collection/components/filter-chip/filter-chip.css +0 -82
- package/dist/collection/components/filter-chip/filter-chip.js +0 -74
- package/dist/collection/components/flip-tile/flip-tile-state.js +0 -16
- package/dist/collection/components/flip-tile/flip-tile.css +0 -143
- package/dist/collection/components/flip-tile/flip-tile.js +0 -125
- package/dist/collection/components/flip-tile-content/flip-tile-content.css +0 -12
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +0 -23
- package/dist/collection/components/group/group.css +0 -170
- package/dist/collection/components/group/group.js +0 -329
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -60
- package/dist/collection/components/group-item/group-item.css +0 -116
- package/dist/collection/components/group-item/group-item.js +0 -200
- package/dist/collection/components/icon/icon.css +0 -45
- package/dist/collection/components/icon/icon.js +0 -91
- package/dist/collection/components/icon-button/icon-button.js +0 -242
- package/dist/collection/components/input-group/input-group.css +0 -27
- package/dist/collection/components/input-group/input-group.js +0 -48
- package/dist/collection/components/kpi/kpi.css +0 -131
- package/dist/collection/components/kpi/kpi.js +0 -151
- package/dist/collection/components/map-navigation/map-navigation.css +0 -161
- package/dist/collection/components/map-navigation/map-navigation.js +0 -328
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -237
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -105
- package/dist/collection/components/menu/menu.css +0 -128
- package/dist/collection/components/menu/menu.js +0 -988
- package/dist/collection/components/menu-about/menu-about.css +0 -207
- package/dist/collection/components/menu-about/menu-about.js +0 -167
- package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
- package/dist/collection/components/menu-about-item/menu-about-item.js +0 -42
- package/dist/collection/components/menu-about-news/menu-about-news.css +0 -99
- package/dist/collection/components/menu-about-news/menu-about-news.js +0 -204
- package/dist/collection/components/menu-avatar/menu-avatar.css +0 -91
- package/dist/collection/components/menu-avatar/menu-avatar.js +0 -136
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +0 -12
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +0 -79
- package/dist/collection/components/menu-item/menu-item.css +0 -143
- package/dist/collection/components/menu-item/menu-item.js +0 -166
- package/dist/collection/components/menu-settings/menu-settings.css +0 -204
- package/dist/collection/components/menu-settings/menu-settings.js +0 -151
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -13
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +0 -42
- package/dist/collection/components/message-bar/message-bar.css +0 -68
- package/dist/collection/components/message-bar/message-bar.js +0 -125
- package/dist/collection/components/modal/modal-utils.js +0 -36
- package/dist/collection/components/modal/modal.css +0 -96
- package/dist/collection/components/modal/modal.js +0 -540
- package/dist/collection/components/modal-container/modal-container.css +0 -14
- package/dist/collection/components/modal-container/modal-container.js +0 -107
- package/dist/collection/components/my-component/example-modal.js +0 -31
- package/dist/collection/components/my-component/my-component.css +0 -34
- package/dist/collection/components/my-component/my-component.js +0 -22
- package/dist/collection/components/pill/pill.css +0 -269
- package/dist/collection/components/pill/pill.js +0 -155
- package/dist/collection/components/select/select.css +0 -176
- package/dist/collection/components/select/select.js +0 -509
- package/dist/collection/components/select-item/select-item.css +0 -14
- package/dist/collection/components/select-item/select-item.js +0 -169
- package/dist/collection/components/spinner/spinner.css +0 -42
- package/dist/collection/components/spinner/spinner.js +0 -137
- package/dist/collection/components/split-button/split-button.css +0 -11
- package/dist/collection/components/split-button/split-button.js +0 -310
- package/dist/collection/components/split-button-item/split-button-item.css +0 -12
- package/dist/collection/components/split-button-item/split-button-item.js +0 -79
- package/dist/collection/components/tab-item/tab-item.css +0 -195
- package/dist/collection/components/tab-item/tab-item.js +0 -219
- package/dist/collection/components/tabs/tabs.css +0 -84
- package/dist/collection/components/tabs/tabs.js +0 -305
- package/dist/collection/components/tile/tile.css +0 -92
- package/dist/collection/components/tile/tile.js +0 -60
- package/dist/collection/components/time-picker/time-picker.css +0 -94
- package/dist/collection/components/time-picker/time-picker.js +0 -431
- package/dist/collection/components/toast/toast-container.js +0 -170
- package/dist/collection/components/toast/toast-utils.js +0 -40
- package/dist/collection/components/toast/toast.css +0 -110
- package/dist/collection/components/toast/toast.js +0 -237
- package/dist/collection/components/toggle/toggle.css +0 -226
- package/dist/collection/components/toggle/toggle.js +0 -263
- package/dist/collection/components/tree/tree-model.js +0 -9
- package/dist/collection/components/tree/tree.css +0 -12
- package/dist/collection/components/tree/tree.js +0 -296
- package/dist/collection/components/tree-item/default-tree-item.js +0 -18
- package/dist/collection/components/tree-item/tree-item.css +0 -86
- package/dist/collection/components/tree-item/tree-item.js +0 -124
- package/dist/collection/components/upload/upload-file-state.js +0 -15
- package/dist/collection/components/upload/upload.css +0 -120
- package/dist/collection/components/upload/upload.js +0 -413
- package/dist/collection/components/utils/animation.js +0 -15
- package/dist/collection/components/utils/button-variants.js +0 -9
- package/dist/collection/components/utils/mutation-observer.js +0 -9
- package/dist/collection/components/utils/notification-color.js +0 -9
- package/dist/collection/components/utils/popover.util.js +0 -33
- package/dist/collection/components/utils/rwd.util.js +0 -37
- package/dist/collection/components/utils/toggle-theme.js +0 -24
- package/dist/collection/components/utils/typed-event.js +0 -42
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -236
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -167
- package/dist/collection/components/workflow-step/workflow-step.css +0 -131
- package/dist/collection/components/workflow-step/workflow-step.js +0 -249
- package/dist/collection/components/workflow-steps/workflow-steps.css +0 -29
- package/dist/collection/components/workflow-steps/workflow-steps.js +0 -182
- package/dist/collection/env.js +0 -9
- package/dist/collection/exports.js +0 -15
- package/dist/collection/index.js +0 -16
- package/dist/collection/utils/test/index.js +0 -9
- package/dist/collection/utils/test/page.js +0 -29
- package/dist/components/_commonjsHelpers.js +0 -19
- package/dist/components/animation.js +0 -17
- package/dist/components/anime.es.js +0 -1309
- package/dist/components/application-header.js +0 -43
- package/dist/components/base-button.js +0 -31
- package/dist/components/button.js +0 -68
- package/dist/components/date-picker.js +0 -385
- package/dist/components/date-time-card.js +0 -49
- package/dist/components/default-tree-item.js +0 -20
- package/dist/components/dropdown-item.js +0 -73
- package/dist/components/dropdown.js +0 -181
- package/dist/components/filter-chip.js +0 -48
- package/dist/components/flip-tile-state.js +0 -18
- package/dist/components/group-item.js +0 -63
- package/dist/components/icon-button.js +0 -68
- package/dist/components/icon.js +0 -47
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -62
- package/dist/components/ix-animated-tab.d.ts +0 -11
- package/dist/components/ix-animated-tab.js +0 -35
- package/dist/components/ix-animated-tabs.d.ts +0 -11
- package/dist/components/ix-animated-tabs.js +0 -229
- package/dist/components/ix-application-header.d.ts +0 -11
- package/dist/components/ix-application-header.js +0 -6
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -66
- package/dist/components/ix-blind.d.ts +0 -11
- package/dist/components/ix-blind.js +0 -105
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb-item.js +0 -35
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -180
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-button.js +0 -6
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -447
- package/dist/components/ix-chip.d.ts +0 -11
- package/dist/components/ix-chip.js +0 -74
- package/dist/components/ix-counter-pill.d.ts +0 -11
- package/dist/components/ix-counter-pill.js +0 -59
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-picker.js +0 -6
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-date-time-card.js +0 -6
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -184
- package/dist/components/ix-drawer.d.ts +0 -11
- package/dist/components/ix-drawer.js +0 -155
- package/dist/components/ix-dropdown-item.d.ts +0 -11
- package/dist/components/ix-dropdown-item.js +0 -6
- package/dist/components/ix-dropdown.d.ts +0 -11
- package/dist/components/ix-dropdown.js +0 -6
- package/dist/components/ix-event-list-item.d.ts +0 -11
- package/dist/components/ix-event-list-item.js +0 -59
- package/dist/components/ix-event-list.d.ts +0 -11
- package/dist/components/ix-event-list.js +0 -135
- package/dist/components/ix-expanding-search.d.ts +0 -11
- package/dist/components/ix-expanding-search.js +0 -124
- package/dist/components/ix-filter-chip.d.ts +0 -11
- package/dist/components/ix-filter-chip.js +0 -6
- package/dist/components/ix-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile-content.js +0 -33
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -96
- package/dist/components/ix-group-dropdown-item.d.ts +0 -11
- package/dist/components/ix-group-dropdown-item.js +0 -47
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group-item.js +0 -6
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -174
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-button.js +0 -6
- package/dist/components/ix-icon.d.ts +0 -11
- package/dist/components/ix-icon.js +0 -6
- package/dist/components/ix-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -53
- package/dist/components/ix-kpi.d.ts +0 -11
- package/dist/components/ix-kpi.js +0 -75
- package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
- package/dist/components/ix-map-navigation-overlay.js +0 -6
- package/dist/components/ix-map-navigation.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -182
- package/dist/components/ix-menu-about-item.d.ts +0 -11
- package/dist/components/ix-menu-about-item.js +0 -34
- package/dist/components/ix-menu-about-news.d.ts +0 -11
- package/dist/components/ix-menu-about-news.js +0 -78
- package/dist/components/ix-menu-about.d.ts +0 -11
- package/dist/components/ix-menu-about.js +0 -120
- package/dist/components/ix-menu-avatar-item.d.ts +0 -11
- package/dist/components/ix-menu-avatar-item.js +0 -6
- package/dist/components/ix-menu-avatar.d.ts +0 -11
- package/dist/components/ix-menu-avatar.js +0 -83
- package/dist/components/ix-menu-item.d.ts +0 -11
- package/dist/components/ix-menu-item.js +0 -6
- package/dist/components/ix-menu-settings-item.d.ts +0 -11
- package/dist/components/ix-menu-settings-item.js +0 -34
- package/dist/components/ix-menu-settings.d.ts +0 -11
- package/dist/components/ix-menu-settings.js +0 -107
- package/dist/components/ix-menu.d.ts +0 -11
- package/dist/components/ix-menu.js +0 -619
- package/dist/components/ix-message-bar.d.ts +0 -11
- package/dist/components/ix-message-bar.js +0 -88
- package/dist/components/ix-modal-container.d.ts +0 -11
- package/dist/components/ix-modal-container.js +0 -6
- package/dist/components/ix-modal-example.d.ts +0 -11
- package/dist/components/ix-modal-example.js +0 -67
- package/dist/components/ix-modal.d.ts +0 -11
- package/dist/components/ix-modal.js +0 -6
- package/dist/components/ix-pill.d.ts +0 -11
- package/dist/components/ix-pill.js +0 -66
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select-item.js +0 -6
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-select.js +0 -339
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-spinner.js +0 -6
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -49
- package/dist/components/ix-split-button.d.ts +0 -11
- package/dist/components/ix-split-button.js +0 -135
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tab-item.js +0 -6
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tabs.js +0 -6
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-tile.js +0 -42
- package/dist/components/ix-time-picker.d.ts +0 -11
- package/dist/components/ix-time-picker.js +0 -6
- package/dist/components/ix-toast-container.d.ts +0 -11
- package/dist/components/ix-toast-container.js +0 -110
- package/dist/components/ix-toast.d.ts +0 -11
- package/dist/components/ix-toast.js +0 -6
- package/dist/components/ix-toggle.d.ts +0 -11
- package/dist/components/ix-toggle.js +0 -104
- package/dist/components/ix-tree-item.d.ts +0 -11
- package/dist/components/ix-tree-item.js +0 -6
- package/dist/components/ix-tree.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -694
- package/dist/components/ix-upload.d.ts +0 -11
- package/dist/components/ix-upload.js +0 -178
- package/dist/components/ix-validation-tooltip.d.ts +0 -11
- package/dist/components/ix-validation-tooltip.js +0 -124
- package/dist/components/ix-workflow-step.d.ts +0 -11
- package/dist/components/ix-workflow-step.js +0 -142
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/ix-workflow-steps.js +0 -101
- package/dist/components/logical-filter-operator.js +0 -33
- package/dist/components/luxon.js +0 -8584
- package/dist/components/map-navigation-overlay.js +0 -53
- package/dist/components/menu-avatar-item.js +0 -46
- package/dist/components/menu-item.js +0 -65
- package/dist/components/modal-container.js +0 -99
- package/dist/components/modal-utils.js +0 -38
- package/dist/components/modal.js +0 -189
- package/dist/components/mutation-observer.js +0 -11
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/my-component.js +0 -32
- package/dist/components/popover.util.js +0 -36
- package/dist/components/popper.js +0 -1799
- package/dist/components/rwd.util.js +0 -39
- package/dist/components/select-item.js +0 -71
- package/dist/components/spinner.js +0 -43
- package/dist/components/tab-item.js +0 -86
- package/dist/components/tabs.js +0 -207
- package/dist/components/time-picker.js +0 -193
- package/dist/components/toast.js +0 -123
- package/dist/components/tree-item.js +0 -52
- package/dist/components/typed-event.js +0 -44
- package/dist/components/upload-file-state.js +0 -17
- package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -19
- package/dist/esm/animation-b667a4c4.js +0 -17
- package/dist/esm/anime.es-185e9087.js +0 -1309
- package/dist/esm/base-button-7bfb747f.js +0 -31
- package/dist/esm/default-tree-item-638c435a.js +0 -20
- package/dist/esm/flip-tile-state-28a1f8ce.js +0 -18
- package/dist/esm/index-55cfd20d.js +0 -1819
- package/dist/esm/index.js +0 -64
- package/dist/esm/ix-animated-tab_2.entry.js +0 -212
- package/dist/esm/ix-application-header.entry.js +0 -26
- package/dist/esm/ix-basic-navigation.entry.js +0 -40
- package/dist/esm/ix-blind.entry.js +0 -85
- package/dist/esm/ix-breadcrumb_2.entry.js +0 -150
- package/dist/esm/ix-button.entry.js +0 -46
- package/dist/esm/ix-category-filter.entry.js +0 -395
- package/dist/esm/ix-chip.entry.js +0 -43
- package/dist/esm/ix-counter-pill.entry.js +0 -36
- package/dist/esm/ix-date-picker_2.entry.js +0 -9034
- package/dist/esm/ix-date-time-card.entry.js +0 -32
- package/dist/esm/ix-datetime-picker.entry.js +0 -109
- package/dist/esm/ix-drawer.entry.js +0 -118
- package/dist/esm/ix-dropdown_2.entry.js +0 -198
- package/dist/esm/ix-event-list_2.entry.js +0 -146
- package/dist/esm/ix-expanding-search.entry.js +0 -88
- package/dist/esm/ix-filter-chip.entry.js +0 -26
- package/dist/esm/ix-flip-tile_2.entry.js +0 -74
- package/dist/esm/ix-group_3.entry.js +0 -168
- package/dist/esm/ix-icon-button.entry.js +0 -36
- package/dist/esm/ix-icon.entry.js +0 -29
- package/dist/esm/ix-input-group.entry.js +0 -36
- package/dist/esm/ix-kpi.entry.js +0 -46
- package/dist/esm/ix-map-navigation_2.entry.js +0 -160
- package/dist/esm/ix-menu_9.entry.js +0 -876
- package/dist/esm/ix-message-bar.entry.js +0 -54
- package/dist/esm/ix-modal-example.entry.js +0 -20
- package/dist/esm/ix-modal_2.entry.js +0 -5
- package/dist/esm/ix-pill.entry.js +0 -36
- package/dist/esm/ix-select_2.entry.js +0 -304
- package/dist/esm/ix-spinner.entry.js +0 -26
- package/dist/esm/ix-split-button_2.entry.js +0 -109
- package/dist/esm/ix-tab-item.entry.js +0 -63
- package/dist/esm/ix-tabs.entry.js +0 -183
- package/dist/esm/ix-tile.entry.js +0 -23
- package/dist/esm/ix-toast_2.entry.js +0 -154
- package/dist/esm/ix-toggle.entry.js +0 -78
- package/dist/esm/ix-tree_2.entry.js +0 -685
- package/dist/esm/ix-upload.entry.js +0 -135
- package/dist/esm/ix-validation-tooltip.entry.js +0 -103
- package/dist/esm/ix-workflow-step_2.entry.js +0 -186
- package/dist/esm/loader.js +0 -17
- package/dist/esm/logical-filter-operator-1bf83315.js +0 -33
- package/dist/esm/modal-8ed87a6c.js +0 -218
- package/dist/esm/modal-utils-ec39c1bc.js +0 -38
- package/dist/esm/mutation-observer-379959bb.js +0 -11
- package/dist/esm/my-component.entry.js +0 -15
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popper-42db9fbd.js +0 -1799
- package/dist/esm/rwd.util-33a69d24.js +0 -39
- package/dist/esm/siemens-ix.js +0 -17
- package/dist/esm/typed-event-dd6c83dd.js +0 -44
- package/dist/esm/upload-file-state-631bb8a2.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/siemens-ix/index.esm.js +0 -1
- package/dist/siemens-ix/p-02501b64.entry.js +0 -1
- package/dist/siemens-ix/p-03ef9fe5.entry.js +0 -1
- package/dist/siemens-ix/p-0a12b3df.js +0 -1
- package/dist/siemens-ix/p-0bf04780.js +0 -1
- package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
- package/dist/siemens-ix/p-1c82637e.js +0 -1
- package/dist/siemens-ix/p-1d30454e.js +0 -1
- package/dist/siemens-ix/p-1d56d9b6.entry.js +0 -1
- package/dist/siemens-ix/p-235606b2.entry.js +0 -1
- package/dist/siemens-ix/p-2b7ed5d4.entry.js +0 -1
- package/dist/siemens-ix/p-301ddeb7.js +0 -1
- package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -1
- package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
- package/dist/siemens-ix/p-4287bd7e.entry.js +0 -1
- package/dist/siemens-ix/p-47ea9884.js +0 -1
- package/dist/siemens-ix/p-52d99490.entry.js +0 -1
- package/dist/siemens-ix/p-5a1dcc74.js +0 -1
- package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
- package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
- package/dist/siemens-ix/p-6726f740.entry.js +0 -1
- package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
- package/dist/siemens-ix/p-6f625f0e.js +0 -1
- package/dist/siemens-ix/p-71de6498.entry.js +0 -1
- package/dist/siemens-ix/p-77823732.entry.js +0 -1
- package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
- package/dist/siemens-ix/p-7d667916.entry.js +0 -1
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
- package/dist/siemens-ix/p-810b5232.js +0 -1
- package/dist/siemens-ix/p-81e46337.entry.js +0 -1
- package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
- package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
- package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
- package/dist/siemens-ix/p-a49005f3.entry.js +0 -1
- package/dist/siemens-ix/p-a8396077.entry.js +0 -1
- package/dist/siemens-ix/p-ab715295.entry.js +0 -1
- package/dist/siemens-ix/p-b4003026.entry.js +0 -1
- package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
- package/dist/siemens-ix/p-bd15d8ca.entry.js +0 -1
- package/dist/siemens-ix/p-bdd294d2.js +0 -1
- package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
- package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
- package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
- package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
- package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
- package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
- package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
- package/dist/siemens-ix/p-cbd0f8a7.entry.js +0 -1
- package/dist/siemens-ix/p-d23706a7.js +0 -1
- package/dist/siemens-ix/p-d2fc562a.entry.js +0 -1
- package/dist/siemens-ix/p-da2cae32.js +0 -1
- package/dist/siemens-ix/p-df43662b.entry.js +0 -1
- package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
- package/dist/siemens-ix/p-f86fcdf4.js +0 -1
- package/dist/siemens-ix/p-fa44655a.entry.js +0 -1
- package/dist/siemens-ix/p-fbe40498.js +0 -1
- package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
- package/dist/siemens-ix/siemens-ix.css +0 -19249
- package/dist/siemens-ix/siemens-ix.esm.js +0 -1
- package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
- package/dist/types/components/application-header/application-header.d.ts +0 -10
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -16
- package/dist/types/components/blind/blind.d.ts +0 -26
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -48
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -11
- package/dist/types/components/button/base-button.d.ts +0 -13
- package/dist/types/components/button/button.d.ts +0 -34
- package/dist/types/components/category-filter/category-filter.d.ts +0 -129
- package/dist/types/components/category-filter/filter-state.d.ts +0 -9
- package/dist/types/components/category-filter/input-state.d.ts +0 -6
- package/dist/types/components/category-filter/logical-filter-operator.d.ts +0 -4
- package/dist/types/components/chip/chip.d.ts +0 -38
- package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
- package/dist/types/components/date-picker/date-picker.d.ts +0 -136
- package/dist/types/components/date-picker/events.d.ts +0 -5
- package/dist/types/components/date-time-card/date-time-card.d.ts +0 -14
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -128
- package/dist/types/components/datetime-picker/event.d.ts +0 -5
- package/dist/types/components/drawer/drawer.d.ts +0 -49
- package/dist/types/components/dropdown/dropdown.d.ts +0 -70
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -33
- package/dist/types/components/event-list/event-list.d.ts +0 -31
- package/dist/types/components/event-list-item/event-list-item.d.ts +0 -34
- package/dist/types/components/expanding-search/expanding-search.d.ts +0 -31
- package/dist/types/components/filter-chip/filter-chip.d.ts +0 -14
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +0 -7
- package/dist/types/components/flip-tile/flip-tile.d.ts +0 -22
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +0 -3
- package/dist/types/components/group/group.d.ts +0 -59
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
- package/dist/types/components/group-item/group-item.d.ts +0 -39
- package/dist/types/components/icon/icon.d.ts +0 -15
- package/dist/types/components/icon-button/icon-button.d.ts +0 -51
- package/dist/types/components/input-group/input-group.d.ts +0 -5
- package/dist/types/components/kpi/kpi.d.ts +0 -25
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -51
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -20
- package/dist/types/components/menu/menu.d.ts +0 -145
- package/dist/types/components/menu-about/menu-about.d.ts +0 -31
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +0 -7
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +0 -36
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -26
- package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +0 -17
- package/dist/types/components/menu-item/menu-item.d.ts +0 -31
- package/dist/types/components/menu-settings/menu-settings.d.ts +0 -27
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +0 -7
- package/dist/types/components/message-bar/message-bar.d.ts +0 -23
- package/dist/types/components/modal/modal-utils.d.ts +0 -26
- package/dist/types/components/modal/modal.d.ts +0 -99
- package/dist/types/components/modal-container/modal-container.d.ts +0 -15
- package/dist/types/components/my-component/example-modal.d.ts +0 -6
- package/dist/types/components/my-component/my-component.d.ts +0 -3
- package/dist/types/components/pill/pill.d.ts +0 -28
- package/dist/types/components/select/select.d.ts +0 -83
- package/dist/types/components/select-item/select-item.d.ts +0 -31
- package/dist/types/components/spinner/spinner.d.ts +0 -11
- package/dist/types/components/split-button/split-button.d.ts +0 -57
- package/dist/types/components/split-button-item/split-button-item.d.ts +0 -17
- package/dist/types/components/tab-item/tab-item.d.ts +0 -36
- package/dist/types/components/tabs/tabs.d.ts +0 -46
- package/dist/types/components/tile/tile.d.ts +0 -7
- package/dist/types/components/time-picker/time-picker.d.ts +0 -80
- package/dist/types/components/toast/toast-container.d.ts +0 -25
- package/dist/types/components/toast/toast-utils.d.ts +0 -33
- package/dist/types/components/toast/toast.d.ts +0 -39
- package/dist/types/components/toggle/toggle.d.ts +0 -45
- package/dist/types/components/tree/tree-model.d.ts +0 -17
- package/dist/types/components/tree/tree.d.ts +0 -44
- package/dist/types/components/tree-item/default-tree-item.d.ts +0 -6
- package/dist/types/components/tree-item/tree-item.d.ts +0 -25
- package/dist/types/components/upload/upload-file-state.d.ts +0 -6
- package/dist/types/components/upload/upload.d.ts +0 -70
- package/dist/types/components/utils/animation.d.ts +0 -7
- package/dist/types/components/utils/button-variants.d.ts +0 -1
- package/dist/types/components/utils/mutation-observer.d.ts +0 -1
- package/dist/types/components/utils/notification-color.d.ts +0 -4
- package/dist/types/components/utils/popover.util.d.ts +0 -9
- package/dist/types/components/utils/rwd.util.d.ts +0 -2
- package/dist/types/components/utils/toggle-theme.d.ts +0 -1
- package/dist/types/components/utils/typed-event.d.ts +0 -15
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -31
- package/dist/types/components/workflow-step/workflow-step.d.ts +0 -35
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -29
- package/dist/types/components.d.ts +0 -3689
- package/dist/types/env.d.ts +0 -1
- package/dist/types/exports.d.ts +0 -7
- package/dist/types/index.d.ts +0 -11
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/utils/test/index.d.ts +0 -1
- package/dist/types/utils/test/page.d.ts +0 -3
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -10
|
@@ -1,679 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { Component, Event, Fragment, h, Host, Method, Prop, State, } from '@stencil/core';
|
|
10
|
-
import { DateTime, Info } from 'luxon';
|
|
11
|
-
export class DatePicker {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.daysInWeek = 7;
|
|
14
|
-
this.dayNames = Info.weekdays();
|
|
15
|
-
this.monthNames = Info.months();
|
|
16
|
-
/**
|
|
17
|
-
* Date format string.
|
|
18
|
-
* See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.
|
|
19
|
-
*/
|
|
20
|
-
this.format = 'yyyy/LL/dd';
|
|
21
|
-
/**
|
|
22
|
-
* If true a range of dates can be selected.
|
|
23
|
-
*/
|
|
24
|
-
this.range = true;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated - will get removed with next major release
|
|
27
|
-
*/
|
|
28
|
-
this.individual = true;
|
|
29
|
-
/**
|
|
30
|
-
* Corner style
|
|
31
|
-
*/
|
|
32
|
-
this.corners = 'rounded';
|
|
33
|
-
/**
|
|
34
|
-
* Picker date. If the picker is in range mode this property is the start date.
|
|
35
|
-
*
|
|
36
|
-
* Format is based on `format`
|
|
37
|
-
*
|
|
38
|
-
* @since 1.1.0
|
|
39
|
-
*/
|
|
40
|
-
this.from = DateTime.now().toFormat(this.format);
|
|
41
|
-
/**
|
|
42
|
-
* Picker date. If the picker is in range mode this property is the end date.
|
|
43
|
-
* If the picker is not in range mode leave this value `null`
|
|
44
|
-
*
|
|
45
|
-
* Format is based on `format`
|
|
46
|
-
*
|
|
47
|
-
* @since 1.1.0
|
|
48
|
-
*/
|
|
49
|
-
this.to = null;
|
|
50
|
-
/**
|
|
51
|
-
* Default behavior of the done event is to join the two events (date and time) into one combined string output.
|
|
52
|
-
* This combination can be configured over the delimiter
|
|
53
|
-
*
|
|
54
|
-
* @since 1.1.0
|
|
55
|
-
*/
|
|
56
|
-
this.eventDelimiter = ' - ';
|
|
57
|
-
/**
|
|
58
|
-
* Text of date select button
|
|
59
|
-
*
|
|
60
|
-
* @since 1.1.0
|
|
61
|
-
*/
|
|
62
|
-
this.textSelectDate = 'Done';
|
|
63
|
-
this.yearValue = this.year;
|
|
64
|
-
this.today = DateTime.now();
|
|
65
|
-
this.monthValue = this.month;
|
|
66
|
-
this.calendar = [];
|
|
67
|
-
this.years = [...Array(10).keys()].map((year) => year + this.year - 5);
|
|
68
|
-
this.tempYear = this.yearValue;
|
|
69
|
-
this.tempMonth = this.monthValue;
|
|
70
|
-
this.start = DateTime.fromObject({
|
|
71
|
-
year: this.year,
|
|
72
|
-
month: this.month,
|
|
73
|
-
day: this.day,
|
|
74
|
-
});
|
|
75
|
-
this.end = this.to
|
|
76
|
-
? DateTime.fromFormat(this.to, this.format)
|
|
77
|
-
: null;
|
|
78
|
-
}
|
|
79
|
-
get year() {
|
|
80
|
-
return DateTime.fromFormat(this.from, this.format).year;
|
|
81
|
-
}
|
|
82
|
-
get day() {
|
|
83
|
-
return DateTime.fromFormat(this.from, this.format).day;
|
|
84
|
-
}
|
|
85
|
-
get month() {
|
|
86
|
-
return DateTime.fromFormat(this.from, this.format).month;
|
|
87
|
-
}
|
|
88
|
-
onDone() {
|
|
89
|
-
var _a;
|
|
90
|
-
this.done.emit(this.getOutputFormat());
|
|
91
|
-
this.dateSelect.emit({
|
|
92
|
-
from: this.start.toFormat(this.format),
|
|
93
|
-
to: (_a = this.end) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
onDateChange() {
|
|
97
|
-
var _a, _b, _c, _d;
|
|
98
|
-
if (this.eventDelimiter) {
|
|
99
|
-
this.dateChange.emit(this.getOutputFormat());
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
this.dateChange.emit({
|
|
103
|
-
from: (_a = this.start) === null || _a === void 0 ? void 0 : _a.toFormat(this.format),
|
|
104
|
-
to: (_b = this.end) === null || _b === void 0 ? void 0 : _b.toFormat(this.format),
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
if (this.range) {
|
|
108
|
-
this.dateRangeChange.emit({
|
|
109
|
-
from: (_c = this.start) === null || _c === void 0 ? void 0 : _c.toFormat(this.format),
|
|
110
|
-
to: (_d = this.end) === null || _d === void 0 ? void 0 : _d.toFormat(this.format),
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
selectionProps() {
|
|
115
|
-
if (this.year !== null) {
|
|
116
|
-
this.yearValue = this.year;
|
|
117
|
-
}
|
|
118
|
-
if (this.month !== null) {
|
|
119
|
-
this.monthValue = this.month;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
getStartOfMonth(year = DateTime.local().get('year'), month = DateTime.local().get('month')) {
|
|
123
|
-
return DateTime.local(year, month).startOf('month');
|
|
124
|
-
}
|
|
125
|
-
getEndOfMonth(year = DateTime.local().get('year'), month = DateTime.local().get('month')) {
|
|
126
|
-
return DateTime.local(year, month).endOf('month');
|
|
127
|
-
}
|
|
128
|
-
getDaysInMonth(start = this.getStartOfMonth(), end = this.getEndOfMonth()) {
|
|
129
|
-
return Math.ceil(end.diff(start, 'days').days);
|
|
130
|
-
}
|
|
131
|
-
calculateCalendar() {
|
|
132
|
-
this.selectionProps();
|
|
133
|
-
const start = this.getStartOfMonth(this.yearValue, this.monthValue);
|
|
134
|
-
const end = this.getEndOfMonth(this.yearValue, this.monthValue);
|
|
135
|
-
const totalDays = this.getDaysInMonth(start, end);
|
|
136
|
-
const totalWeeks = 6;
|
|
137
|
-
const totalDaysInWeeks = totalWeeks * this.daysInWeek;
|
|
138
|
-
const startWeekDay = start.weekday;
|
|
139
|
-
const prependDays = startWeekDay - 1;
|
|
140
|
-
const appendDays = totalDaysInWeeks - totalDays - prependDays;
|
|
141
|
-
let weekdays = [];
|
|
142
|
-
const calendar = [];
|
|
143
|
-
// create list of days
|
|
144
|
-
let days = [...new Array(totalDaysInWeeks).keys()].map((day) => day + 1);
|
|
145
|
-
// add start empty days
|
|
146
|
-
days.unshift(...new Array(prependDays));
|
|
147
|
-
// remove & add end days
|
|
148
|
-
days = days.slice(0, days.length - prependDays - appendDays);
|
|
149
|
-
days.push(...new Array(appendDays));
|
|
150
|
-
// make weeks
|
|
151
|
-
weekdays = days.reduce((result, item, index) => {
|
|
152
|
-
const weekIndex = Math.floor(index / this.daysInWeek);
|
|
153
|
-
if (!result[weekIndex])
|
|
154
|
-
result[weekIndex] = []; // start a new chunk
|
|
155
|
-
result[weekIndex].push(item);
|
|
156
|
-
return result;
|
|
157
|
-
}, []);
|
|
158
|
-
for (let index = 1; index <= totalWeeks; index++) {
|
|
159
|
-
const week = weekdays[index - 1];
|
|
160
|
-
const firstWeekDay = week.find((day) => day !== undefined);
|
|
161
|
-
const weekNumber = firstWeekDay
|
|
162
|
-
? DateTime.local(this.yearValue, this.monthValue, weekdays[index - 1][0]).weekNumber
|
|
163
|
-
: undefined;
|
|
164
|
-
calendar.push([weekNumber, week]);
|
|
165
|
-
}
|
|
166
|
-
this.calendar = calendar;
|
|
167
|
-
}
|
|
168
|
-
changeMonth(number) {
|
|
169
|
-
if (this.monthValue + number < 1) {
|
|
170
|
-
this.yearValue--;
|
|
171
|
-
this.monthValue = 12;
|
|
172
|
-
}
|
|
173
|
-
else if (this.monthValue + number > 12) {
|
|
174
|
-
this.yearValue++;
|
|
175
|
-
this.monthValue = 1;
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
this.monthValue += number;
|
|
179
|
-
}
|
|
180
|
-
this.calculateCalendar();
|
|
181
|
-
}
|
|
182
|
-
selectMonth(month) {
|
|
183
|
-
this.monthValue = month;
|
|
184
|
-
this.yearValue = this.tempYear;
|
|
185
|
-
this.tempMonth = month;
|
|
186
|
-
}
|
|
187
|
-
infiniteScrollYears() {
|
|
188
|
-
const scroll = this.yearContainerRef.scrollTop;
|
|
189
|
-
const maxScroll = this.yearContainerRef.scrollHeight;
|
|
190
|
-
const atTop = scroll === 0;
|
|
191
|
-
const atBottom = scroll + this.yearContainerRef.getBoundingClientRect().height ===
|
|
192
|
-
maxScroll;
|
|
193
|
-
const limit = 200;
|
|
194
|
-
if (this.years.length > limit)
|
|
195
|
-
return;
|
|
196
|
-
if (atTop) {
|
|
197
|
-
this.years = [
|
|
198
|
-
...[...Array(5).keys()].map((year) => year + this.years[0] - 5),
|
|
199
|
-
...this.years,
|
|
200
|
-
];
|
|
201
|
-
this.yearContainerRef.scroll({ behavior: 'smooth', top: scroll + 100 });
|
|
202
|
-
}
|
|
203
|
-
if (atBottom) {
|
|
204
|
-
this.years = [
|
|
205
|
-
...this.years,
|
|
206
|
-
...[...Array(5).keys()].map((year) => year + this.years[this.years.length - 1]),
|
|
207
|
-
];
|
|
208
|
-
this.yearContainerRef.scroll({ behavior: 'smooth', top: scroll - 50 });
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
selectTempYear(event, year) {
|
|
212
|
-
event.stopPropagation();
|
|
213
|
-
this.tempYear = year;
|
|
214
|
-
}
|
|
215
|
-
todayClass(day) {
|
|
216
|
-
const today = DateTime.local();
|
|
217
|
-
const daaay = DateTime.local(this.yearValue, this.monthValue, day);
|
|
218
|
-
const isToday = Math.ceil(daaay.diff(today, 'days').days) === 0;
|
|
219
|
-
return {
|
|
220
|
-
'calendar-item': true,
|
|
221
|
-
'empty-day': day === undefined,
|
|
222
|
-
today: isToday,
|
|
223
|
-
selected: (this.start && daaay.toISO() === this.start.toISO()) ||
|
|
224
|
-
(this.end && daaay.toISO() === this.end.toISO()),
|
|
225
|
-
range: this.start &&
|
|
226
|
-
this.end &&
|
|
227
|
-
daaay.toISO() > this.start.toISO() &&
|
|
228
|
-
daaay.toISO() < this.end.toISO(),
|
|
229
|
-
disabled: !this.isWithinMinMax(daaay) ||
|
|
230
|
-
(this.start &&
|
|
231
|
-
daaay.toISO() < this.start.toISO() &&
|
|
232
|
-
this.end === null &&
|
|
233
|
-
this.range),
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
selectDay(day) {
|
|
237
|
-
const date = DateTime.local(this.yearValue, this.monthValue, day);
|
|
238
|
-
const isNotDay = day === undefined;
|
|
239
|
-
const isFirstDay = this.start === null;
|
|
240
|
-
const isLastDay = this.end === null;
|
|
241
|
-
const isPeriod = this.start !== null && this.end !== null;
|
|
242
|
-
const isStartBeforeEnd = this.start && this.start.toISO() < date.toISO();
|
|
243
|
-
const isSameDay = this.start && !this.end && this.start.toISO() === date.toISO();
|
|
244
|
-
if (isNotDay)
|
|
245
|
-
return;
|
|
246
|
-
if (isSameDay) {
|
|
247
|
-
this.start = null;
|
|
248
|
-
this.onDateChange();
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
if (!this.range) {
|
|
252
|
-
this.start = date;
|
|
253
|
-
}
|
|
254
|
-
if (this.range && isFirstDay) {
|
|
255
|
-
this.start = date;
|
|
256
|
-
}
|
|
257
|
-
if (this.range && isLastDay && isStartBeforeEnd) {
|
|
258
|
-
this.end = date;
|
|
259
|
-
}
|
|
260
|
-
if (this.range && isPeriod) {
|
|
261
|
-
this.start = date;
|
|
262
|
-
this.end = null;
|
|
263
|
-
}
|
|
264
|
-
this.onDateChange();
|
|
265
|
-
}
|
|
266
|
-
getOutputFormat() {
|
|
267
|
-
if (!this.start) {
|
|
268
|
-
return null;
|
|
269
|
-
}
|
|
270
|
-
if (!this.end) {
|
|
271
|
-
return this.start.toFormat(this.format);
|
|
272
|
-
}
|
|
273
|
-
return [
|
|
274
|
-
this.start.toFormat(this.format),
|
|
275
|
-
this.end.toFormat(this.format),
|
|
276
|
-
].join(this.eventDelimiter);
|
|
277
|
-
}
|
|
278
|
-
isWithinMinMax(date) {
|
|
279
|
-
const dateIso = date.toISO();
|
|
280
|
-
const _minDate = this.minDate
|
|
281
|
-
? DateTime.fromFormat(this.minDate, this.format)
|
|
282
|
-
: null;
|
|
283
|
-
const _maxDate = this.maxDate
|
|
284
|
-
? DateTime.fromFormat(this.maxDate, this.format)
|
|
285
|
-
: null;
|
|
286
|
-
return ((!_minDate || _minDate.toISO() <= dateIso) &&
|
|
287
|
-
(!_maxDate || _maxDate.toISO() >= dateIso));
|
|
288
|
-
}
|
|
289
|
-
componentWillRender() {
|
|
290
|
-
this.calculateCalendar();
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* Get the current DateTime
|
|
294
|
-
*/
|
|
295
|
-
async getCurrentDate() {
|
|
296
|
-
return {
|
|
297
|
-
start: this.start,
|
|
298
|
-
end: this.end,
|
|
299
|
-
};
|
|
300
|
-
}
|
|
301
|
-
render() {
|
|
302
|
-
return (h(Host, null,
|
|
303
|
-
h("ix-date-time-card", { individual: this.individual, corners: this.corners },
|
|
304
|
-
h("div", { class: "header", slot: "header" },
|
|
305
|
-
h("ix-icon-button", { onClick: () => this.changeMonth(-1), ghost: true, icon: "chevron-left", variant: "Primary", class: "arrows" }),
|
|
306
|
-
h("div", { class: "selector" },
|
|
307
|
-
h("ix-button", { ghost: true, ref: (ref) => (this.dropdownButtonRef = ref) },
|
|
308
|
-
h("span", { class: "fontSize capitalize" },
|
|
309
|
-
this.monthNames[this.monthValue - 1],
|
|
310
|
-
" ",
|
|
311
|
-
this.yearValue)),
|
|
312
|
-
h("ix-dropdown", { class: "dropdown", trigger: this.dropdownButtonRef, placement: "bottom" },
|
|
313
|
-
h("div", { class: "wrapper" },
|
|
314
|
-
h("div", { class: "overflow", onScroll: () => this.infiniteScrollYears(), ref: (ref) => (this.yearContainerRef = ref) }, this.years.map((year) => (h("div", { class: { arrowYear: true }, onClick: (event) => this.selectTempYear(event, year) },
|
|
315
|
-
h("ix-icon", { class: {
|
|
316
|
-
hidden: this.tempYear !== year,
|
|
317
|
-
arrowPosition: true,
|
|
318
|
-
}, name: "chevron-right", size: "12" }),
|
|
319
|
-
h("div", { style: { 'min-width': 'max-content' } }, `${year}`))))),
|
|
320
|
-
h("div", { class: "overflow" }, this.monthNames.map((month, index) => (h("div", { class: {
|
|
321
|
-
arrowYear: true,
|
|
322
|
-
selected: this.tempMonth - 1 === index,
|
|
323
|
-
}, onClick: () => this.selectMonth((index + 1)) },
|
|
324
|
-
h("ix-icon", { class: {
|
|
325
|
-
hidden: this.tempMonth - 1 !== index,
|
|
326
|
-
checkPosition: true,
|
|
327
|
-
}, name: "single-check", size: "16" }),
|
|
328
|
-
h("div", null,
|
|
329
|
-
h("span", { class: { capitalize: true, monthMargin: true } }, `${month} ${this.tempYear}`))))))))),
|
|
330
|
-
h("ix-icon-button", { onClick: () => this.changeMonth(1), ghost: true, icon: "chevron-right", variant: "Primary", class: "arrows" })),
|
|
331
|
-
h("div", { class: "grid" },
|
|
332
|
-
h("div", { class: "calendar-item week-day" }),
|
|
333
|
-
this.dayNames.map((name) => (h("div", { class: "calendar-item week-day" }, name.slice(0, 3)))),
|
|
334
|
-
this.calendar.map((week) => {
|
|
335
|
-
return (h(Fragment, null,
|
|
336
|
-
h("div", { class: "calendar-item week-number" }, week[0]),
|
|
337
|
-
week[1].map((day) => (h("div", { class: this.todayClass(day), onClick: () => this.selectDay(day) }, day)))));
|
|
338
|
-
})),
|
|
339
|
-
h("div", { class: { button: true, hidden: !this.individual } },
|
|
340
|
-
h("ix-button", { onClick: () => this.onDone() }, this.textSelectDate)))));
|
|
341
|
-
}
|
|
342
|
-
static get is() { return "ix-date-picker"; }
|
|
343
|
-
static get encapsulation() { return "scoped"; }
|
|
344
|
-
static get originalStyleUrls() { return {
|
|
345
|
-
"$": ["date-picker.scss"]
|
|
346
|
-
}; }
|
|
347
|
-
static get styleUrls() { return {
|
|
348
|
-
"$": ["date-picker.css"]
|
|
349
|
-
}; }
|
|
350
|
-
static get properties() { return {
|
|
351
|
-
"format": {
|
|
352
|
-
"type": "string",
|
|
353
|
-
"mutable": false,
|
|
354
|
-
"complexType": {
|
|
355
|
-
"original": "string",
|
|
356
|
-
"resolved": "string",
|
|
357
|
-
"references": {}
|
|
358
|
-
},
|
|
359
|
-
"required": false,
|
|
360
|
-
"optional": false,
|
|
361
|
-
"docs": {
|
|
362
|
-
"tags": [],
|
|
363
|
-
"text": "Date format string.\nSee {@link https ://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens."
|
|
364
|
-
},
|
|
365
|
-
"attribute": "format",
|
|
366
|
-
"reflect": false,
|
|
367
|
-
"defaultValue": "'yyyy/LL/dd'"
|
|
368
|
-
},
|
|
369
|
-
"range": {
|
|
370
|
-
"type": "boolean",
|
|
371
|
-
"mutable": false,
|
|
372
|
-
"complexType": {
|
|
373
|
-
"original": "boolean",
|
|
374
|
-
"resolved": "boolean",
|
|
375
|
-
"references": {}
|
|
376
|
-
},
|
|
377
|
-
"required": false,
|
|
378
|
-
"optional": false,
|
|
379
|
-
"docs": {
|
|
380
|
-
"tags": [],
|
|
381
|
-
"text": "If true a range of dates can be selected."
|
|
382
|
-
},
|
|
383
|
-
"attribute": "range",
|
|
384
|
-
"reflect": false,
|
|
385
|
-
"defaultValue": "true"
|
|
386
|
-
},
|
|
387
|
-
"individual": {
|
|
388
|
-
"type": "boolean",
|
|
389
|
-
"mutable": false,
|
|
390
|
-
"complexType": {
|
|
391
|
-
"original": "boolean",
|
|
392
|
-
"resolved": "boolean",
|
|
393
|
-
"references": {}
|
|
394
|
-
},
|
|
395
|
-
"required": false,
|
|
396
|
-
"optional": false,
|
|
397
|
-
"docs": {
|
|
398
|
-
"tags": [{
|
|
399
|
-
"name": "deprecated",
|
|
400
|
-
"text": "- will get removed with next major release"
|
|
401
|
-
}],
|
|
402
|
-
"text": ""
|
|
403
|
-
},
|
|
404
|
-
"attribute": "individual",
|
|
405
|
-
"reflect": false,
|
|
406
|
-
"defaultValue": "true"
|
|
407
|
-
},
|
|
408
|
-
"corners": {
|
|
409
|
-
"type": "string",
|
|
410
|
-
"mutable": false,
|
|
411
|
-
"complexType": {
|
|
412
|
-
"original": "DateTimeCardCorners",
|
|
413
|
-
"resolved": "\"left\" | \"right\" | \"rounded\"",
|
|
414
|
-
"references": {
|
|
415
|
-
"DateTimeCardCorners": {
|
|
416
|
-
"location": "import",
|
|
417
|
-
"path": "../date-time-card/date-time-card"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
"required": false,
|
|
422
|
-
"optional": false,
|
|
423
|
-
"docs": {
|
|
424
|
-
"tags": [],
|
|
425
|
-
"text": "Corner style"
|
|
426
|
-
},
|
|
427
|
-
"attribute": "corners",
|
|
428
|
-
"reflect": false,
|
|
429
|
-
"defaultValue": "'rounded'"
|
|
430
|
-
},
|
|
431
|
-
"from": {
|
|
432
|
-
"type": "string",
|
|
433
|
-
"mutable": false,
|
|
434
|
-
"complexType": {
|
|
435
|
-
"original": "string",
|
|
436
|
-
"resolved": "string",
|
|
437
|
-
"references": {}
|
|
438
|
-
},
|
|
439
|
-
"required": false,
|
|
440
|
-
"optional": false,
|
|
441
|
-
"docs": {
|
|
442
|
-
"tags": [{
|
|
443
|
-
"name": "since",
|
|
444
|
-
"text": "1.1.0"
|
|
445
|
-
}],
|
|
446
|
-
"text": "Picker date. If the picker is in range mode this property is the start date.\n\nFormat is based on `format`"
|
|
447
|
-
},
|
|
448
|
-
"attribute": "from",
|
|
449
|
-
"reflect": false,
|
|
450
|
-
"defaultValue": "DateTime.now().toFormat(this.format)"
|
|
451
|
-
},
|
|
452
|
-
"to": {
|
|
453
|
-
"type": "string",
|
|
454
|
-
"mutable": false,
|
|
455
|
-
"complexType": {
|
|
456
|
-
"original": "string | null",
|
|
457
|
-
"resolved": "string",
|
|
458
|
-
"references": {}
|
|
459
|
-
},
|
|
460
|
-
"required": false,
|
|
461
|
-
"optional": false,
|
|
462
|
-
"docs": {
|
|
463
|
-
"tags": [{
|
|
464
|
-
"name": "since",
|
|
465
|
-
"text": "1.1.0"
|
|
466
|
-
}],
|
|
467
|
-
"text": "Picker date. If the picker is in range mode this property is the end date.\nIf the picker is not in range mode leave this value `null`\n\nFormat is based on `format`"
|
|
468
|
-
},
|
|
469
|
-
"attribute": "to",
|
|
470
|
-
"reflect": false,
|
|
471
|
-
"defaultValue": "null"
|
|
472
|
-
},
|
|
473
|
-
"minDate": {
|
|
474
|
-
"type": "string",
|
|
475
|
-
"mutable": false,
|
|
476
|
-
"complexType": {
|
|
477
|
-
"original": "string",
|
|
478
|
-
"resolved": "string",
|
|
479
|
-
"references": {}
|
|
480
|
-
},
|
|
481
|
-
"required": false,
|
|
482
|
-
"optional": false,
|
|
483
|
-
"docs": {
|
|
484
|
-
"tags": [{
|
|
485
|
-
"name": "since",
|
|
486
|
-
"text": "1.1.0"
|
|
487
|
-
}],
|
|
488
|
-
"text": "The earliest date that can be selected by the date picker.\nIf not set there will be no restriction."
|
|
489
|
-
},
|
|
490
|
-
"attribute": "min-date",
|
|
491
|
-
"reflect": false
|
|
492
|
-
},
|
|
493
|
-
"maxDate": {
|
|
494
|
-
"type": "string",
|
|
495
|
-
"mutable": false,
|
|
496
|
-
"complexType": {
|
|
497
|
-
"original": "string",
|
|
498
|
-
"resolved": "string",
|
|
499
|
-
"references": {}
|
|
500
|
-
},
|
|
501
|
-
"required": false,
|
|
502
|
-
"optional": false,
|
|
503
|
-
"docs": {
|
|
504
|
-
"tags": [{
|
|
505
|
-
"name": "since",
|
|
506
|
-
"text": "1.1.0"
|
|
507
|
-
}],
|
|
508
|
-
"text": "The latest date that can be selected by the date picker.\nIf not set there will be no restriction."
|
|
509
|
-
},
|
|
510
|
-
"attribute": "max-date",
|
|
511
|
-
"reflect": false
|
|
512
|
-
},
|
|
513
|
-
"eventDelimiter": {
|
|
514
|
-
"type": "string",
|
|
515
|
-
"mutable": false,
|
|
516
|
-
"complexType": {
|
|
517
|
-
"original": "string",
|
|
518
|
-
"resolved": "string",
|
|
519
|
-
"references": {}
|
|
520
|
-
},
|
|
521
|
-
"required": false,
|
|
522
|
-
"optional": false,
|
|
523
|
-
"docs": {
|
|
524
|
-
"tags": [{
|
|
525
|
-
"name": "since",
|
|
526
|
-
"text": "1.1.0"
|
|
527
|
-
}],
|
|
528
|
-
"text": "Default behavior of the done event is to join the two events (date and time) into one combined string output.\nThis combination can be configured over the delimiter"
|
|
529
|
-
},
|
|
530
|
-
"attribute": "event-delimiter",
|
|
531
|
-
"reflect": false,
|
|
532
|
-
"defaultValue": "' - '"
|
|
533
|
-
},
|
|
534
|
-
"textSelectDate": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"mutable": false,
|
|
537
|
-
"complexType": {
|
|
538
|
-
"original": "string",
|
|
539
|
-
"resolved": "string",
|
|
540
|
-
"references": {}
|
|
541
|
-
},
|
|
542
|
-
"required": false,
|
|
543
|
-
"optional": false,
|
|
544
|
-
"docs": {
|
|
545
|
-
"tags": [{
|
|
546
|
-
"name": "since",
|
|
547
|
-
"text": "1.1.0"
|
|
548
|
-
}],
|
|
549
|
-
"text": "Text of date select button"
|
|
550
|
-
},
|
|
551
|
-
"attribute": "text-select-date",
|
|
552
|
-
"reflect": false,
|
|
553
|
-
"defaultValue": "'Done'"
|
|
554
|
-
}
|
|
555
|
-
}; }
|
|
556
|
-
static get states() { return {
|
|
557
|
-
"yearValue": {},
|
|
558
|
-
"today": {},
|
|
559
|
-
"monthValue": {},
|
|
560
|
-
"calendar": {},
|
|
561
|
-
"years": {},
|
|
562
|
-
"tempYear": {},
|
|
563
|
-
"tempMonth": {},
|
|
564
|
-
"start": {},
|
|
565
|
-
"end": {},
|
|
566
|
-
"dropdownButtonRef": {},
|
|
567
|
-
"yearContainerRef": {}
|
|
568
|
-
}; }
|
|
569
|
-
static get events() { return [{
|
|
570
|
-
"method": "dateChange",
|
|
571
|
-
"name": "dateChange",
|
|
572
|
-
"bubbles": true,
|
|
573
|
-
"cancelable": true,
|
|
574
|
-
"composed": true,
|
|
575
|
-
"docs": {
|
|
576
|
-
"tags": [{
|
|
577
|
-
"name": "depracted",
|
|
578
|
-
"text": "String output will be removed. Set \u00B4doneEventDelimiter\u00B4 to undefined or null to get date change object instead of a string"
|
|
579
|
-
}],
|
|
580
|
-
"text": "Date change event\n\nIf datepicker is in range mode the event detail will be sperated with a `-` e.g.\n`2022/10/22 - 2022/10/24` (start and end). If range mode is choosen consider to use `dateRangeChange`."
|
|
581
|
-
},
|
|
582
|
-
"complexType": {
|
|
583
|
-
"original": "LegacyDateChangeEvent",
|
|
584
|
-
"resolved": "DateChangeEvent | string",
|
|
585
|
-
"references": {
|
|
586
|
-
"LegacyDateChangeEvent": {
|
|
587
|
-
"location": "import",
|
|
588
|
-
"path": "./events"
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}, {
|
|
593
|
-
"method": "dateRangeChange",
|
|
594
|
-
"name": "dateRangeChange",
|
|
595
|
-
"bubbles": true,
|
|
596
|
-
"cancelable": true,
|
|
597
|
-
"composed": true,
|
|
598
|
-
"docs": {
|
|
599
|
-
"tags": [{
|
|
600
|
-
"name": "since",
|
|
601
|
-
"text": "1.1.0"
|
|
602
|
-
}],
|
|
603
|
-
"text": "Date range change.\nOnly triggered if datepicker is in range mode"
|
|
604
|
-
},
|
|
605
|
-
"complexType": {
|
|
606
|
-
"original": "DateChangeEvent",
|
|
607
|
-
"resolved": "DateChangeEvent",
|
|
608
|
-
"references": {
|
|
609
|
-
"DateChangeEvent": {
|
|
610
|
-
"location": "import",
|
|
611
|
-
"path": "./events"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}, {
|
|
616
|
-
"method": "done",
|
|
617
|
-
"name": "done",
|
|
618
|
-
"bubbles": true,
|
|
619
|
-
"cancelable": true,
|
|
620
|
-
"composed": true,
|
|
621
|
-
"docs": {
|
|
622
|
-
"tags": [{
|
|
623
|
-
"name": "deprecated",
|
|
624
|
-
"text": "Use `dateSelect`"
|
|
625
|
-
}],
|
|
626
|
-
"text": "Date selection confirmed via button action"
|
|
627
|
-
},
|
|
628
|
-
"complexType": {
|
|
629
|
-
"original": "string",
|
|
630
|
-
"resolved": "string",
|
|
631
|
-
"references": {}
|
|
632
|
-
}
|
|
633
|
-
}, {
|
|
634
|
-
"method": "dateSelect",
|
|
635
|
-
"name": "dateSelect",
|
|
636
|
-
"bubbles": true,
|
|
637
|
-
"cancelable": true,
|
|
638
|
-
"composed": true,
|
|
639
|
-
"docs": {
|
|
640
|
-
"tags": [{
|
|
641
|
-
"name": "since",
|
|
642
|
-
"text": "1.1.0"
|
|
643
|
-
}],
|
|
644
|
-
"text": "Date selection confirmed via button action"
|
|
645
|
-
},
|
|
646
|
-
"complexType": {
|
|
647
|
-
"original": "DateChangeEvent",
|
|
648
|
-
"resolved": "DateChangeEvent",
|
|
649
|
-
"references": {
|
|
650
|
-
"DateChangeEvent": {
|
|
651
|
-
"location": "import",
|
|
652
|
-
"path": "./events"
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}]; }
|
|
657
|
-
static get methods() { return {
|
|
658
|
-
"getCurrentDate": {
|
|
659
|
-
"complexType": {
|
|
660
|
-
"signature": "() => Promise<{ start: DateTime; end: DateTime; }>",
|
|
661
|
-
"parameters": [],
|
|
662
|
-
"references": {
|
|
663
|
-
"Promise": {
|
|
664
|
-
"location": "global"
|
|
665
|
-
},
|
|
666
|
-
"DateTime": {
|
|
667
|
-
"location": "import",
|
|
668
|
-
"path": "luxon"
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
"return": "Promise<{ start: DateTime; end: DateTime; }>"
|
|
672
|
-
},
|
|
673
|
-
"docs": {
|
|
674
|
-
"text": "Get the current DateTime",
|
|
675
|
-
"tags": []
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}; }
|
|
679
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|