@mis-wis/common 0.1.7 → 0.1.9
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/README.md +1 -2
- package/esm2020/lib/interceptors/auth.interceptor.mjs +1 -3
- package/esm2020/lib/models/configurations.model.mjs +1 -1
- package/esm2020/lib/modules/logger/logger.functions.mjs +1 -1
- package/esm2020/lib/modules/logger/logger.service.mjs +1 -2
- package/esm2020/lib/services/http.service.mjs +1 -3
- package/esm2020/lib/services/loader.service.mjs +2 -2
- package/esm2020/lib/services/mfe-communication.service.mjs +12 -5
- package/esm2020/lib/wis-common.module.mjs +1 -1
- package/esm2020/public-api.mjs +1 -4
- package/fesm2015/mis-wis-common.mjs +24 -13612
- package/fesm2015/mis-wis-common.mjs.map +1 -1
- package/fesm2020/mis-wis-common.mjs +25 -13626
- package/fesm2020/mis-wis-common.mjs.map +1 -1
- package/lib/models/configurations.model.d.ts +8 -2
- package/lib/services/mfe-communication.service.d.ts +5 -1
- package/package.json +1 -9
- package/public-api.d.ts +0 -3
- package/styles.scss +3 -0
- package/esm2020/lib/components/datepicker/base/bs-datepicker-container.mjs +0 -47
- package/esm2020/lib/components/datepicker/bs-datepicker-inline.component.mjs +0 -139
- package/esm2020/lib/components/datepicker/bs-datepicker-inline.config.mjs +0 -14
- package/esm2020/lib/components/datepicker/bs-datepicker-input.directive.mjs +0 -160
- package/esm2020/lib/components/datepicker/bs-datepicker.component.mjs +0 -255
- package/esm2020/lib/components/datepicker/bs-datepicker.config.mjs +0 -87
- package/esm2020/lib/components/datepicker/bs-datepicker.module.mjs +0 -125
- package/esm2020/lib/components/datepicker/bs-daterangepicker-inline.component.mjs +0 -136
- package/esm2020/lib/components/datepicker/bs-daterangepicker-inline.config.mjs +0 -21
- package/esm2020/lib/components/datepicker/bs-daterangepicker-input.directive.mjs +0 -192
- package/esm2020/lib/components/datepicker/bs-daterangepicker.component.mjs +0 -242
- package/esm2020/lib/components/datepicker/bs-daterangepicker.config.mjs +0 -19
- package/esm2020/lib/components/datepicker/bs-locale.service.mjs +0 -32
- package/esm2020/lib/components/datepicker/chronos/create/check-overflow.mjs +0 -30
- package/esm2020/lib/components/datepicker/chronos/create/clone.mjs +0 -6
- package/esm2020/lib/components/datepicker/chronos/create/date-from-array.mjs +0 -17
- package/esm2020/lib/components/datepicker/chronos/create/from-anything.mjs +0 -107
- package/esm2020/lib/components/datepicker/chronos/create/from-array.mjs +0 -136
- package/esm2020/lib/components/datepicker/chronos/create/from-object.mjs +0 -17
- package/esm2020/lib/components/datepicker/chronos/create/from-string-and-array.mjs +0 -38
- package/esm2020/lib/components/datepicker/chronos/create/from-string-and-format.mjs +0 -106
- package/esm2020/lib/components/datepicker/chronos/create/from-string.mjs +0 -227
- package/esm2020/lib/components/datepicker/chronos/create/local.mjs +0 -16
- package/esm2020/lib/components/datepicker/chronos/create/parsing-flags.mjs +0 -26
- package/esm2020/lib/components/datepicker/chronos/create/parsing.types.mjs +0 -2
- package/esm2020/lib/components/datepicker/chronos/create/valid.mjs +0 -42
- package/esm2020/lib/components/datepicker/chronos/duration/bubble.mjs +0 -47
- package/esm2020/lib/components/datepicker/chronos/duration/constructor.mjs +0 -130
- package/esm2020/lib/components/datepicker/chronos/duration/create.mjs +0 -113
- package/esm2020/lib/components/datepicker/chronos/duration/humanize.mjs +0 -80
- package/esm2020/lib/components/datepicker/chronos/duration/valid.mjs +0 -43
- package/esm2020/lib/components/datepicker/chronos/format/format.mjs +0 -51
- package/esm2020/lib/components/datepicker/chronos/format.mjs +0 -46
- package/esm2020/lib/components/datepicker/chronos/i18n/ar.mjs +0 -128
- package/esm2020/lib/components/datepicker/chronos/i18n/bg.mjs +0 -94
- package/esm2020/lib/components/datepicker/chronos/i18n/ca.mjs +0 -91
- package/esm2020/lib/components/datepicker/chronos/i18n/cs.mjs +0 -179
- package/esm2020/lib/components/datepicker/chronos/i18n/da.mjs +0 -50
- package/esm2020/lib/components/datepicker/chronos/i18n/de.mjs +0 -72
- package/esm2020/lib/components/datepicker/chronos/i18n/en-gb.mjs +0 -61
- package/esm2020/lib/components/datepicker/chronos/i18n/es-do.mjs +0 -85
- package/esm2020/lib/components/datepicker/chronos/i18n/es-us.mjs +0 -79
- package/esm2020/lib/components/datepicker/chronos/i18n/es.mjs +0 -84
- package/esm2020/lib/components/datepicker/chronos/i18n/et.mjs +0 -73
- package/esm2020/lib/components/datepicker/chronos/i18n/fi.mjs +0 -100
- package/esm2020/lib/components/datepicker/chronos/i18n/fr.mjs +0 -76
- package/esm2020/lib/components/datepicker/chronos/i18n/gl.mjs +0 -84
- package/esm2020/lib/components/datepicker/chronos/i18n/he.mjs +0 -98
- package/esm2020/lib/components/datepicker/chronos/i18n/hi.mjs +0 -124
- package/esm2020/lib/components/datepicker/chronos/i18n/hr.mjs +0 -62
- package/esm2020/lib/components/datepicker/chronos/i18n/hu.mjs +0 -104
- package/esm2020/lib/components/datepicker/chronos/i18n/id.mjs +0 -83
- package/esm2020/lib/components/datepicker/chronos/i18n/it.mjs +0 -65
- package/esm2020/lib/components/datepicker/chronos/i18n/ja.mjs +0 -75
- package/esm2020/lib/components/datepicker/chronos/i18n/ka.mjs +0 -87
- package/esm2020/lib/components/datepicker/chronos/i18n/kk.mjs +0 -76
- package/esm2020/lib/components/datepicker/chronos/i18n/ko.mjs +0 -77
- package/esm2020/lib/components/datepicker/chronos/i18n/lt.mjs +0 -116
- package/esm2020/lib/components/datepicker/chronos/i18n/lv.mjs +0 -56
- package/esm2020/lib/components/datepicker/chronos/i18n/mn.mjs +0 -99
- package/esm2020/lib/components/datepicker/chronos/i18n/nb.mjs +0 -53
- package/esm2020/lib/components/datepicker/chronos/i18n/nl-be.mjs +0 -81
- package/esm2020/lib/components/datepicker/chronos/i18n/nl.mjs +0 -80
- package/esm2020/lib/components/datepicker/chronos/i18n/pl.mjs +0 -126
- package/esm2020/lib/components/datepicker/chronos/i18n/pt-br.mjs +0 -56
- package/esm2020/lib/components/datepicker/chronos/i18n/ro.mjs +0 -66
- package/esm2020/lib/components/datepicker/chronos/i18n/ru.mjs +0 -181
- package/esm2020/lib/components/datepicker/chronos/i18n/sk.mjs +0 -157
- package/esm2020/lib/components/datepicker/chronos/i18n/sl.mjs +0 -184
- package/esm2020/lib/components/datepicker/chronos/i18n/sq.mjs +0 -54
- package/esm2020/lib/components/datepicker/chronos/i18n/sv.mjs +0 -63
- package/esm2020/lib/components/datepicker/chronos/i18n/th-be.mjs +0 -74
- package/esm2020/lib/components/datepicker/chronos/i18n/th.mjs +0 -59
- package/esm2020/lib/components/datepicker/chronos/i18n/tr.mjs +0 -82
- package/esm2020/lib/components/datepicker/chronos/i18n/uk.mjs +0 -147
- package/esm2020/lib/components/datepicker/chronos/i18n/vi.mjs +0 -74
- package/esm2020/lib/components/datepicker/chronos/i18n/zh-cn.mjs +0 -114
- package/esm2020/lib/components/datepicker/chronos/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/chronos/locale/calendar.mjs +0 -9
- package/esm2020/lib/components/datepicker/chronos/locale/locale.class.mjs +0 -532
- package/esm2020/lib/components/datepicker/chronos/locale/locale.defaults.mjs +0 -40
- package/esm2020/lib/components/datepicker/chronos/locale/locales.mjs +0 -229
- package/esm2020/lib/components/datepicker/chronos/moment/add-subtract.mjs +0 -35
- package/esm2020/lib/components/datepicker/chronos/moment/calendar.mjs +0 -41
- package/esm2020/lib/components/datepicker/chronos/moment/diff.mjs +0 -70
- package/esm2020/lib/components/datepicker/chronos/moment/min-max.mjs +0 -38
- package/esm2020/lib/components/datepicker/chronos/parse/regex.mjs +0 -49
- package/esm2020/lib/components/datepicker/chronos/parse/token.mjs +0 -32
- package/esm2020/lib/components/datepicker/chronos/public_api.mjs +0 -56
- package/esm2020/lib/components/datepicker/chronos/test/chain.mjs +0 -711
- package/esm2020/lib/components/datepicker/chronos/types.mjs +0 -2
- package/esm2020/lib/components/datepicker/chronos/units/aliases.mjs +0 -35
- package/esm2020/lib/components/datepicker/chronos/units/constants.mjs +0 -11
- package/esm2020/lib/components/datepicker/chronos/units/day-of-month.mjs +0 -31
- package/esm2020/lib/components/datepicker/chronos/units/day-of-week.mjs +0 -129
- package/esm2020/lib/components/datepicker/chronos/units/day-of-year.mjs +0 -37
- package/esm2020/lib/components/datepicker/chronos/units/hour.mjs +0 -127
- package/esm2020/lib/components/datepicker/chronos/units/index.mjs +0 -19
- package/esm2020/lib/components/datepicker/chronos/units/millisecond.mjs +0 -60
- package/esm2020/lib/components/datepicker/chronos/units/minute.mjs +0 -23
- package/esm2020/lib/components/datepicker/chronos/units/month.mjs +0 -63
- package/esm2020/lib/components/datepicker/chronos/units/offset.mjs +0 -210
- package/esm2020/lib/components/datepicker/chronos/units/priorities.mjs +0 -21
- package/esm2020/lib/components/datepicker/chronos/units/quarter.mjs +0 -39
- package/esm2020/lib/components/datepicker/chronos/units/second.mjs +0 -23
- package/esm2020/lib/components/datepicker/chronos/units/timestamp.mjs +0 -28
- package/esm2020/lib/components/datepicker/chronos/units/timezone.mjs +0 -19
- package/esm2020/lib/components/datepicker/chronos/units/week-calendar-utils.mjs +0 -70
- package/esm2020/lib/components/datepicker/chronos/units/week-year.mjs +0 -101
- package/esm2020/lib/components/datepicker/chronos/units/week.mjs +0 -58
- package/esm2020/lib/components/datepicker/chronos/units/year.mjs +0 -60
- package/esm2020/lib/components/datepicker/chronos/utils/abs-ceil.mjs +0 -4
- package/esm2020/lib/components/datepicker/chronos/utils/abs-round.mjs +0 -4
- package/esm2020/lib/components/datepicker/chronos/utils/compare-arrays.mjs +0 -16
- package/esm2020/lib/components/datepicker/chronos/utils/date-compare.mjs +0 -55
- package/esm2020/lib/components/datepicker/chronos/utils/date-getters.mjs +0 -67
- package/esm2020/lib/components/datepicker/chronos/utils/date-setters.mjs +0 -75
- package/esm2020/lib/components/datepicker/chronos/utils/defaults.mjs +0 -11
- package/esm2020/lib/components/datepicker/chronos/utils/start-end-of.mjs +0 -57
- package/esm2020/lib/components/datepicker/chronos/utils/type-checks.mjs +0 -56
- package/esm2020/lib/components/datepicker/chronos/utils/zero-fill.mjs +0 -10
- package/esm2020/lib/components/datepicker/chronos/utils.mjs +0 -7
- package/esm2020/lib/components/datepicker/component-loader/bs-component-ref.class.mjs +0 -3
- package/esm2020/lib/components/datepicker/component-loader/component-loader.class.mjs +0 -272
- package/esm2020/lib/components/datepicker/component-loader/component-loader.factory.mjs +0 -30
- package/esm2020/lib/components/datepicker/component-loader/content-ref.class.mjs +0 -12
- package/esm2020/lib/components/datepicker/component-loader/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/component-loader/listen-options.model.mjs +0 -2
- package/esm2020/lib/components/datepicker/component-loader/public_api.mjs +0 -5
- package/esm2020/lib/components/datepicker/date-formatter.mjs +0 -7
- package/esm2020/lib/components/datepicker/datepicker-animations.mjs +0 -16
- package/esm2020/lib/components/datepicker/datepicker-inner.component.mjs +0 -317
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +0 -203
- package/esm2020/lib/components/datepicker/datepicker.config.mjs +0 -32
- package/esm2020/lib/components/datepicker/datepicker.module.mjs +0 -48
- package/esm2020/lib/components/datepicker/daypicker.component.mjs +0 -229
- package/esm2020/lib/components/datepicker/engine/calc-days-calendar.mjs +0 -19
- package/esm2020/lib/components/datepicker/engine/flag-days-calendar.mjs +0 -91
- package/esm2020/lib/components/datepicker/engine/flag-months-calendar.mjs +0 -41
- package/esm2020/lib/components/datepicker/engine/flag-years-calendar.mjs +0 -39
- package/esm2020/lib/components/datepicker/engine/format-days-calendar.mjs +0 -29
- package/esm2020/lib/components/datepicker/engine/format-months-calendar.mjs +0 -19
- package/esm2020/lib/components/datepicker/engine/format-years-calendar.mjs +0 -35
- package/esm2020/lib/components/datepicker/engine/view-mode.mjs +0 -4
- package/esm2020/lib/components/datepicker/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/mini-ngrx/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/mini-ngrx/public_api.mjs +0 -3
- package/esm2020/lib/components/datepicker/mini-ngrx/state.class.mjs +0 -16
- package/esm2020/lib/components/datepicker/mini-ngrx/store.class.mjs +0 -43
- package/esm2020/lib/components/datepicker/models/index.mjs +0 -9
- package/esm2020/lib/components/datepicker/monthpicker.component.mjs +0 -117
- package/esm2020/lib/components/datepicker/positioning/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/positioning/models/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/positioning/modifiers/arrow.mjs +0 -56
- package/esm2020/lib/components/datepicker/positioning/modifiers/flip.mjs +0 -66
- package/esm2020/lib/components/datepicker/positioning/modifiers/index.mjs +0 -6
- package/esm2020/lib/components/datepicker/positioning/modifiers/initData.mjs +0 -42
- package/esm2020/lib/components/datepicker/positioning/modifiers/preventOverflow.mjs +0 -59
- package/esm2020/lib/components/datepicker/positioning/modifiers/shift.mjs +0 -24
- package/esm2020/lib/components/datepicker/positioning/ng-positioning.mjs +0 -30
- package/esm2020/lib/components/datepicker/positioning/positioning.service.mjs +0 -75
- package/esm2020/lib/components/datepicker/positioning/public_api.mjs +0 -3
- package/esm2020/lib/components/datepicker/positioning/utils/computeAutoPlacement.mjs +0 -57
- package/esm2020/lib/components/datepicker/positioning/utils/findCommonOffsetParent.mjs +0 -40
- package/esm2020/lib/components/datepicker/positioning/utils/getBordersSize.mjs +0 -10
- package/esm2020/lib/components/datepicker/positioning/utils/getBoundaries.mjs +0 -56
- package/esm2020/lib/components/datepicker/positioning/utils/getBoundingClientRect.mjs +0 -55
- package/esm2020/lib/components/datepicker/positioning/utils/getClientRect.mjs +0 -8
- package/esm2020/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +0 -17
- package/esm2020/lib/components/datepicker/positioning/utils/getOffsetParent.mjs +0 -32
- package/esm2020/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -51
- package/esm2020/lib/components/datepicker/positioning/utils/getOffsets.mjs +0 -11
- package/esm2020/lib/components/datepicker/positioning/utils/getOppositePlacement.mjs +0 -8
- package/esm2020/lib/components/datepicker/positioning/utils/getOppositeVariation.mjs +0 -13
- package/esm2020/lib/components/datepicker/positioning/utils/getOuterSizes.mjs +0 -14
- package/esm2020/lib/components/datepicker/positioning/utils/getParentNode.mjs +0 -10
- package/esm2020/lib/components/datepicker/positioning/utils/getReferenceOffsets.mjs +0 -13
- package/esm2020/lib/components/datepicker/positioning/utils/getRoot.mjs +0 -10
- package/esm2020/lib/components/datepicker/positioning/utils/getScroll.mjs +0 -14
- package/esm2020/lib/components/datepicker/positioning/utils/getScrollParent.mjs +0 -26
- package/esm2020/lib/components/datepicker/positioning/utils/getStyleComputedProperty.mjs +0 -13
- package/esm2020/lib/components/datepicker/positioning/utils/getTargetOffsets.mjs +0 -30
- package/esm2020/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -19
- package/esm2020/lib/components/datepicker/positioning/utils/getWindowSizes.mjs +0 -18
- package/esm2020/lib/components/datepicker/positioning/utils/includeScroll.mjs +0 -15
- package/esm2020/lib/components/datepicker/positioning/utils/index.mjs +0 -24
- package/esm2020/lib/components/datepicker/positioning/utils/isBrowser.mjs +0 -2
- package/esm2020/lib/components/datepicker/positioning/utils/isFixed.mjs +0 -16
- package/esm2020/lib/components/datepicker/positioning/utils/isIE.mjs +0 -16
- package/esm2020/lib/components/datepicker/positioning/utils/isModifierEnabled.mjs +0 -10
- package/esm2020/lib/components/datepicker/positioning/utils/isNumeric.mjs +0 -7
- package/esm2020/lib/components/datepicker/positioning/utils/isOffsetContainer.mjs +0 -9
- package/esm2020/lib/components/datepicker/positioning/utils/setStyles.mjs +0 -17
- package/esm2020/lib/components/datepicker/positioning/utils/updateContainerClass.mjs +0 -22
- package/esm2020/lib/components/datepicker/public_api.mjs +0 -25
- package/esm2020/lib/components/datepicker/reducer/_defaults.mjs +0 -5
- package/esm2020/lib/components/datepicker/reducer/bs-datepicker.actions.mjs +0 -136
- package/esm2020/lib/components/datepicker/reducer/bs-datepicker.effects.mjs +0 -171
- package/esm2020/lib/components/datepicker/reducer/bs-datepicker.reducer.mjs +0 -302
- package/esm2020/lib/components/datepicker/reducer/bs-datepicker.state.mjs +0 -12
- package/esm2020/lib/components/datepicker/reducer/bs-datepicker.store.mjs +0 -21
- package/esm2020/lib/components/datepicker/themes/bs/bs-calendar-layout.component.mjs +0 -47
- package/esm2020/lib/components/datepicker/themes/bs/bs-current-date-view.component.mjs +0 -16
- package/esm2020/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.mjs +0 -68
- package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-container.component.mjs +0 -151
- package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +0 -46
- package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +0 -35
- package/esm2020/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +0 -105
- package/esm2020/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +0 -194
- package/esm2020/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +0 -35
- package/esm2020/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.mjs +0 -230
- package/esm2020/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.mjs +0 -93
- package/esm2020/lib/components/datepicker/themes/bs/bs-timepicker-view.component.mjs +0 -56
- package/esm2020/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.mjs +0 -94
- package/esm2020/lib/components/datepicker/utils/bs-calendar-utils.mjs +0 -43
- package/esm2020/lib/components/datepicker/utils/matrix-utils.mjs +0 -14
- package/esm2020/lib/components/datepicker/utils-v2/decorators.mjs +0 -25
- package/esm2020/lib/components/datepicker/utils-v2/facade/browser.mjs +0 -24
- package/esm2020/lib/components/datepicker/utils-v2/index.mjs +0 -2
- package/esm2020/lib/components/datepicker/utils-v2/linked-list.class.mjs +0 -240
- package/esm2020/lib/components/datepicker/utils-v2/public_api.mjs +0 -11
- package/esm2020/lib/components/datepicker/utils-v2/theme-provider.mjs +0 -35
- package/esm2020/lib/components/datepicker/utils-v2/trigger.class.mjs +0 -10
- package/esm2020/lib/components/datepicker/utils-v2/triggers.mjs +0 -110
- package/esm2020/lib/components/datepicker/utils-v2/utils.class.mjs +0 -21
- package/esm2020/lib/components/datepicker/utils-v2/warn-once.mjs +0 -12
- package/esm2020/lib/components/datepicker/yearpicker.component.mjs +0 -121
- package/esm2020/lib/constants/release.constants.mjs +0 -2
- package/esm2020/lib/functions/utility.functions.mjs +0 -15
- package/esm2020/src/lib/components/datepicker/base/bs-datepicker-container.mjs +0 -47
- package/esm2020/src/lib/components/datepicker/bs-datepicker-inline.component.mjs +0 -139
- package/esm2020/src/lib/components/datepicker/bs-datepicker-inline.config.mjs +0 -14
- package/esm2020/src/lib/components/datepicker/bs-datepicker-input.directive.mjs +0 -160
- package/esm2020/src/lib/components/datepicker/bs-datepicker.component.mjs +0 -255
- package/esm2020/src/lib/components/datepicker/bs-datepicker.config.mjs +0 -87
- package/esm2020/src/lib/components/datepicker/bs-datepicker.module.mjs +0 -125
- package/esm2020/src/lib/components/datepicker/bs-daterangepicker-inline.component.mjs +0 -136
- package/esm2020/src/lib/components/datepicker/bs-daterangepicker-inline.config.mjs +0 -21
- package/esm2020/src/lib/components/datepicker/bs-daterangepicker-input.directive.mjs +0 -192
- package/esm2020/src/lib/components/datepicker/bs-daterangepicker.component.mjs +0 -242
- package/esm2020/src/lib/components/datepicker/bs-daterangepicker.config.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/bs-locale.service.mjs +0 -32
- package/esm2020/src/lib/components/datepicker/chronos/create/check-overflow.mjs +0 -30
- package/esm2020/src/lib/components/datepicker/chronos/create/clone.mjs +0 -6
- package/esm2020/src/lib/components/datepicker/chronos/create/date-from-array.mjs +0 -17
- package/esm2020/src/lib/components/datepicker/chronos/create/from-anything.mjs +0 -107
- package/esm2020/src/lib/components/datepicker/chronos/create/from-array.mjs +0 -136
- package/esm2020/src/lib/components/datepicker/chronos/create/from-object.mjs +0 -17
- package/esm2020/src/lib/components/datepicker/chronos/create/from-string-and-array.mjs +0 -38
- package/esm2020/src/lib/components/datepicker/chronos/create/from-string-and-format.mjs +0 -106
- package/esm2020/src/lib/components/datepicker/chronos/create/from-string.mjs +0 -227
- package/esm2020/src/lib/components/datepicker/chronos/create/local.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/chronos/create/parsing-flags.mjs +0 -26
- package/esm2020/src/lib/components/datepicker/chronos/create/parsing.types.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/chronos/create/valid.mjs +0 -42
- package/esm2020/src/lib/components/datepicker/chronos/duration/bubble.mjs +0 -47
- package/esm2020/src/lib/components/datepicker/chronos/duration/constructor.mjs +0 -130
- package/esm2020/src/lib/components/datepicker/chronos/duration/create.mjs +0 -113
- package/esm2020/src/lib/components/datepicker/chronos/duration/humanize.mjs +0 -80
- package/esm2020/src/lib/components/datepicker/chronos/duration/valid.mjs +0 -43
- package/esm2020/src/lib/components/datepicker/chronos/format/format.mjs +0 -51
- package/esm2020/src/lib/components/datepicker/chronos/format.mjs +0 -46
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ar.mjs +0 -128
- package/esm2020/src/lib/components/datepicker/chronos/i18n/bg.mjs +0 -94
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ca.mjs +0 -91
- package/esm2020/src/lib/components/datepicker/chronos/i18n/cs.mjs +0 -179
- package/esm2020/src/lib/components/datepicker/chronos/i18n/da.mjs +0 -50
- package/esm2020/src/lib/components/datepicker/chronos/i18n/de.mjs +0 -72
- package/esm2020/src/lib/components/datepicker/chronos/i18n/en-gb.mjs +0 -61
- package/esm2020/src/lib/components/datepicker/chronos/i18n/es-do.mjs +0 -85
- package/esm2020/src/lib/components/datepicker/chronos/i18n/es-us.mjs +0 -79
- package/esm2020/src/lib/components/datepicker/chronos/i18n/es.mjs +0 -84
- package/esm2020/src/lib/components/datepicker/chronos/i18n/et.mjs +0 -73
- package/esm2020/src/lib/components/datepicker/chronos/i18n/fi.mjs +0 -100
- package/esm2020/src/lib/components/datepicker/chronos/i18n/fr.mjs +0 -76
- package/esm2020/src/lib/components/datepicker/chronos/i18n/gl.mjs +0 -84
- package/esm2020/src/lib/components/datepicker/chronos/i18n/he.mjs +0 -98
- package/esm2020/src/lib/components/datepicker/chronos/i18n/hi.mjs +0 -124
- package/esm2020/src/lib/components/datepicker/chronos/i18n/hr.mjs +0 -62
- package/esm2020/src/lib/components/datepicker/chronos/i18n/hu.mjs +0 -104
- package/esm2020/src/lib/components/datepicker/chronos/i18n/id.mjs +0 -83
- package/esm2020/src/lib/components/datepicker/chronos/i18n/it.mjs +0 -65
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ja.mjs +0 -75
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ka.mjs +0 -87
- package/esm2020/src/lib/components/datepicker/chronos/i18n/kk.mjs +0 -76
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ko.mjs +0 -77
- package/esm2020/src/lib/components/datepicker/chronos/i18n/lt.mjs +0 -116
- package/esm2020/src/lib/components/datepicker/chronos/i18n/lv.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/chronos/i18n/mn.mjs +0 -99
- package/esm2020/src/lib/components/datepicker/chronos/i18n/nb.mjs +0 -53
- package/esm2020/src/lib/components/datepicker/chronos/i18n/nl-be.mjs +0 -81
- package/esm2020/src/lib/components/datepicker/chronos/i18n/nl.mjs +0 -80
- package/esm2020/src/lib/components/datepicker/chronos/i18n/pl.mjs +0 -126
- package/esm2020/src/lib/components/datepicker/chronos/i18n/pt-br.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ro.mjs +0 -66
- package/esm2020/src/lib/components/datepicker/chronos/i18n/ru.mjs +0 -181
- package/esm2020/src/lib/components/datepicker/chronos/i18n/sk.mjs +0 -157
- package/esm2020/src/lib/components/datepicker/chronos/i18n/sl.mjs +0 -184
- package/esm2020/src/lib/components/datepicker/chronos/i18n/sq.mjs +0 -54
- package/esm2020/src/lib/components/datepicker/chronos/i18n/sv.mjs +0 -63
- package/esm2020/src/lib/components/datepicker/chronos/i18n/th-be.mjs +0 -74
- package/esm2020/src/lib/components/datepicker/chronos/i18n/th.mjs +0 -59
- package/esm2020/src/lib/components/datepicker/chronos/i18n/tr.mjs +0 -82
- package/esm2020/src/lib/components/datepicker/chronos/i18n/uk.mjs +0 -147
- package/esm2020/src/lib/components/datepicker/chronos/i18n/vi.mjs +0 -74
- package/esm2020/src/lib/components/datepicker/chronos/i18n/zh-cn.mjs +0 -114
- package/esm2020/src/lib/components/datepicker/chronos/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/chronos/locale/calendar.mjs +0 -9
- package/esm2020/src/lib/components/datepicker/chronos/locale/locale.class.mjs +0 -532
- package/esm2020/src/lib/components/datepicker/chronos/locale/locale.defaults.mjs +0 -40
- package/esm2020/src/lib/components/datepicker/chronos/locale/locales.mjs +0 -229
- package/esm2020/src/lib/components/datepicker/chronos/moment/add-subtract.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/chronos/moment/calendar.mjs +0 -41
- package/esm2020/src/lib/components/datepicker/chronos/moment/diff.mjs +0 -70
- package/esm2020/src/lib/components/datepicker/chronos/moment/min-max.mjs +0 -38
- package/esm2020/src/lib/components/datepicker/chronos/parse/regex.mjs +0 -49
- package/esm2020/src/lib/components/datepicker/chronos/parse/token.mjs +0 -32
- package/esm2020/src/lib/components/datepicker/chronos/public_api.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/chronos/test/chain.mjs +0 -711
- package/esm2020/src/lib/components/datepicker/chronos/types.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/chronos/units/aliases.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/chronos/units/constants.mjs +0 -11
- package/esm2020/src/lib/components/datepicker/chronos/units/day-of-month.mjs +0 -31
- package/esm2020/src/lib/components/datepicker/chronos/units/day-of-week.mjs +0 -129
- package/esm2020/src/lib/components/datepicker/chronos/units/day-of-year.mjs +0 -37
- package/esm2020/src/lib/components/datepicker/chronos/units/hour.mjs +0 -127
- package/esm2020/src/lib/components/datepicker/chronos/units/index.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/chronos/units/millisecond.mjs +0 -60
- package/esm2020/src/lib/components/datepicker/chronos/units/minute.mjs +0 -23
- package/esm2020/src/lib/components/datepicker/chronos/units/month.mjs +0 -63
- package/esm2020/src/lib/components/datepicker/chronos/units/offset.mjs +0 -210
- package/esm2020/src/lib/components/datepicker/chronos/units/priorities.mjs +0 -21
- package/esm2020/src/lib/components/datepicker/chronos/units/quarter.mjs +0 -39
- package/esm2020/src/lib/components/datepicker/chronos/units/second.mjs +0 -23
- package/esm2020/src/lib/components/datepicker/chronos/units/timestamp.mjs +0 -28
- package/esm2020/src/lib/components/datepicker/chronos/units/timezone.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/chronos/units/week-calendar-utils.mjs +0 -70
- package/esm2020/src/lib/components/datepicker/chronos/units/week-year.mjs +0 -101
- package/esm2020/src/lib/components/datepicker/chronos/units/week.mjs +0 -58
- package/esm2020/src/lib/components/datepicker/chronos/units/year.mjs +0 -60
- package/esm2020/src/lib/components/datepicker/chronos/utils/abs-ceil.mjs +0 -4
- package/esm2020/src/lib/components/datepicker/chronos/utils/abs-round.mjs +0 -4
- package/esm2020/src/lib/components/datepicker/chronos/utils/compare-arrays.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/chronos/utils/date-compare.mjs +0 -55
- package/esm2020/src/lib/components/datepicker/chronos/utils/date-getters.mjs +0 -67
- package/esm2020/src/lib/components/datepicker/chronos/utils/date-setters.mjs +0 -75
- package/esm2020/src/lib/components/datepicker/chronos/utils/defaults.mjs +0 -11
- package/esm2020/src/lib/components/datepicker/chronos/utils/start-end-of.mjs +0 -57
- package/esm2020/src/lib/components/datepicker/chronos/utils/type-checks.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/chronos/utils/zero-fill.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/chronos/utils.mjs +0 -7
- package/esm2020/src/lib/components/datepicker/component-loader/bs-component-ref.class.mjs +0 -3
- package/esm2020/src/lib/components/datepicker/component-loader/component-loader.class.mjs +0 -272
- package/esm2020/src/lib/components/datepicker/component-loader/component-loader.factory.mjs +0 -30
- package/esm2020/src/lib/components/datepicker/component-loader/content-ref.class.mjs +0 -12
- package/esm2020/src/lib/components/datepicker/component-loader/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/component-loader/listen-options.model.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/component-loader/public_api.mjs +0 -5
- package/esm2020/src/lib/components/datepicker/date-formatter.mjs +0 -7
- package/esm2020/src/lib/components/datepicker/datepicker-animations.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/datepicker-inner.component.mjs +0 -317
- package/esm2020/src/lib/components/datepicker/datepicker.component.mjs +0 -203
- package/esm2020/src/lib/components/datepicker/datepicker.config.mjs +0 -32
- package/esm2020/src/lib/components/datepicker/datepicker.module.mjs +0 -48
- package/esm2020/src/lib/components/datepicker/daypicker.component.mjs +0 -229
- package/esm2020/src/lib/components/datepicker/engine/calc-days-calendar.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/engine/flag-days-calendar.mjs +0 -91
- package/esm2020/src/lib/components/datepicker/engine/flag-months-calendar.mjs +0 -41
- package/esm2020/src/lib/components/datepicker/engine/flag-years-calendar.mjs +0 -39
- package/esm2020/src/lib/components/datepicker/engine/format-days-calendar.mjs +0 -29
- package/esm2020/src/lib/components/datepicker/engine/format-months-calendar.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/engine/format-years-calendar.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/engine/view-mode.mjs +0 -4
- package/esm2020/src/lib/components/datepicker/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/mini-ngrx/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/mini-ngrx/public_api.mjs +0 -3
- package/esm2020/src/lib/components/datepicker/mini-ngrx/state.class.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/mini-ngrx/store.class.mjs +0 -43
- package/esm2020/src/lib/components/datepicker/mis-wis-common-src-lib-components-datepicker.mjs +0 -5
- package/esm2020/src/lib/components/datepicker/models/index.mjs +0 -9
- package/esm2020/src/lib/components/datepicker/monthpicker.component.mjs +0 -117
- package/esm2020/src/lib/components/datepicker/positioning/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/positioning/models/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/arrow.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/flip.mjs +0 -66
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/index.mjs +0 -6
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/initData.mjs +0 -42
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/preventOverflow.mjs +0 -59
- package/esm2020/src/lib/components/datepicker/positioning/modifiers/shift.mjs +0 -24
- package/esm2020/src/lib/components/datepicker/positioning/ng-positioning.mjs +0 -30
- package/esm2020/src/lib/components/datepicker/positioning/positioning.service.mjs +0 -75
- package/esm2020/src/lib/components/datepicker/positioning/public_api.mjs +0 -3
- package/esm2020/src/lib/components/datepicker/positioning/utils/computeAutoPlacement.mjs +0 -57
- package/esm2020/src/lib/components/datepicker/positioning/utils/findCommonOffsetParent.mjs +0 -40
- package/esm2020/src/lib/components/datepicker/positioning/utils/getBordersSize.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/positioning/utils/getBoundaries.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/positioning/utils/getBoundingClientRect.mjs +0 -55
- package/esm2020/src/lib/components/datepicker/positioning/utils/getClientRect.mjs +0 -8
- package/esm2020/src/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +0 -17
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsetParent.mjs +0 -32
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -51
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOffsets.mjs +0 -11
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOppositePlacement.mjs +0 -8
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOppositeVariation.mjs +0 -13
- package/esm2020/src/lib/components/datepicker/positioning/utils/getOuterSizes.mjs +0 -14
- package/esm2020/src/lib/components/datepicker/positioning/utils/getParentNode.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/positioning/utils/getReferenceOffsets.mjs +0 -13
- package/esm2020/src/lib/components/datepicker/positioning/utils/getRoot.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/positioning/utils/getScroll.mjs +0 -14
- package/esm2020/src/lib/components/datepicker/positioning/utils/getScrollParent.mjs +0 -26
- package/esm2020/src/lib/components/datepicker/positioning/utils/getStyleComputedProperty.mjs +0 -13
- package/esm2020/src/lib/components/datepicker/positioning/utils/getTargetOffsets.mjs +0 -30
- package/esm2020/src/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -19
- package/esm2020/src/lib/components/datepicker/positioning/utils/getWindowSizes.mjs +0 -18
- package/esm2020/src/lib/components/datepicker/positioning/utils/includeScroll.mjs +0 -15
- package/esm2020/src/lib/components/datepicker/positioning/utils/index.mjs +0 -24
- package/esm2020/src/lib/components/datepicker/positioning/utils/isBrowser.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/positioning/utils/isFixed.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/positioning/utils/isIE.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/positioning/utils/isModifierEnabled.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/positioning/utils/isNumeric.mjs +0 -7
- package/esm2020/src/lib/components/datepicker/positioning/utils/isOffsetContainer.mjs +0 -9
- package/esm2020/src/lib/components/datepicker/positioning/utils/setStyles.mjs +0 -17
- package/esm2020/src/lib/components/datepicker/positioning/utils/updateContainerClass.mjs +0 -22
- package/esm2020/src/lib/components/datepicker/public_api.mjs +0 -25
- package/esm2020/src/lib/components/datepicker/reducer/_defaults.mjs +0 -5
- package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.actions.mjs +0 -136
- package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.effects.mjs +0 -171
- package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.reducer.mjs +0 -302
- package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.state.mjs +0 -12
- package/esm2020/src/lib/components/datepicker/reducer/bs-datepicker.store.mjs +0 -21
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-calendar-layout.component.mjs +0 -47
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-current-date-view.component.mjs +0 -16
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.mjs +0 -68
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-container.component.mjs +0 -151
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +0 -46
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +0 -105
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +0 -194
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.mjs +0 -230
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.mjs +0 -93
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-timepicker-view.component.mjs +0 -56
- package/esm2020/src/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.mjs +0 -94
- package/esm2020/src/lib/components/datepicker/utils/bs-calendar-utils.mjs +0 -43
- package/esm2020/src/lib/components/datepicker/utils/matrix-utils.mjs +0 -14
- package/esm2020/src/lib/components/datepicker/utils-v2/decorators.mjs +0 -25
- package/esm2020/src/lib/components/datepicker/utils-v2/facade/browser.mjs +0 -24
- package/esm2020/src/lib/components/datepicker/utils-v2/index.mjs +0 -2
- package/esm2020/src/lib/components/datepicker/utils-v2/linked-list.class.mjs +0 -240
- package/esm2020/src/lib/components/datepicker/utils-v2/public_api.mjs +0 -11
- package/esm2020/src/lib/components/datepicker/utils-v2/theme-provider.mjs +0 -35
- package/esm2020/src/lib/components/datepicker/utils-v2/trigger.class.mjs +0 -10
- package/esm2020/src/lib/components/datepicker/utils-v2/triggers.mjs +0 -110
- package/esm2020/src/lib/components/datepicker/utils-v2/utils.class.mjs +0 -21
- package/esm2020/src/lib/components/datepicker/utils-v2/warn-once.mjs +0 -12
- package/esm2020/src/lib/components/datepicker/yearpicker.component.mjs +0 -121
- package/fesm2015/mis-wis-common-src-lib-components-datepicker.mjs +0 -13591
- package/fesm2015/mis-wis-common-src-lib-components-datepicker.mjs.map +0 -1
- package/fesm2020/mis-wis-common-src-lib-components-datepicker.mjs +0 -13604
- package/fesm2020/mis-wis-common-src-lib-components-datepicker.mjs.map +0 -1
- package/lib/components/datepicker/base/bs-datepicker-container.d.ts +0 -44
- package/lib/components/datepicker/bs-datepicker-inline.component.d.ts +0 -64
- package/lib/components/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/lib/components/datepicker/bs-datepicker-input.directive.d.ts +0 -33
- package/lib/components/datepicker/bs-datepicker.component.d.ts +0 -126
- package/lib/components/datepicker/bs-datepicker.config.d.ts +0 -143
- package/lib/components/datepicker/bs-datepicker.module.d.ts +0 -29
- package/lib/components/datepicker/bs-daterangepicker-inline.component.d.ts +0 -64
- package/lib/components/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/lib/components/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/lib/components/datepicker/bs-daterangepicker.component.d.ts +0 -118
- package/lib/components/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/lib/components/datepicker/bs-locale.service.d.ts +0 -13
- package/lib/components/datepicker/chronos/create/check-overflow.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/clone.d.ts +0 -1
- package/lib/components/datepicker/chronos/create/date-from-array.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/from-anything.d.ts +0 -4
- package/lib/components/datepicker/chronos/create/from-array.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/from-object.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/from-string-and-array.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/from-string-and-format.d.ts +0 -4
- package/lib/components/datepicker/chronos/create/from-string.d.ts +0 -4
- package/lib/components/datepicker/chronos/create/local.d.ts +0 -3
- package/lib/components/datepicker/chronos/create/parsing-flags.d.ts +0 -2
- package/lib/components/datepicker/chronos/create/parsing.types.d.ts +0 -64
- package/lib/components/datepicker/chronos/create/valid.d.ts +0 -6
- package/lib/components/datepicker/chronos/duration/bubble.d.ts +0 -4
- package/lib/components/datepicker/chronos/duration/constructor.d.ts +0 -21
- package/lib/components/datepicker/chronos/duration/create.d.ts +0 -8
- package/lib/components/datepicker/chronos/duration/humanize.d.ts +0 -5
- package/lib/components/datepicker/chronos/duration/valid.d.ts +0 -2
- package/lib/components/datepicker/chronos/format/format.d.ts +0 -11
- package/lib/components/datepicker/chronos/format.d.ts +0 -5
- package/lib/components/datepicker/chronos/i18n/ar.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/bg.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ca.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/cs.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/da.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/de.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/en-gb.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/es-do.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/es-us.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/es.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/et.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/fi.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/fr.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/gl.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/he.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/hi.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/hr.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/hu.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/id.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/it.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ja.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ka.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/kk.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ko.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/lt.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/lv.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/mn.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/nb.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/nl-be.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/nl.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/pl.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/pt-br.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ro.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/ru.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/sk.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/sl.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/sq.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/sv.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/th-be.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/th.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/tr.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/uk.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/vi.d.ts +0 -2
- package/lib/components/datepicker/chronos/i18n/zh-cn.d.ts +0 -2
- package/lib/components/datepicker/chronos/index.d.ts +0 -1
- package/lib/components/datepicker/chronos/locale/calendar.d.ts +0 -8
- package/lib/components/datepicker/chronos/locale/locale.class.d.ts +0 -143
- package/lib/components/datepicker/chronos/locale/locale.defaults.d.ts +0 -11
- package/lib/components/datepicker/chronos/locale/locales.d.ts +0 -7
- package/lib/components/datepicker/chronos/moment/add-subtract.d.ts +0 -5
- package/lib/components/datepicker/chronos/moment/calendar.d.ts +0 -15
- package/lib/components/datepicker/chronos/moment/diff.d.ts +0 -3
- package/lib/components/datepicker/chronos/moment/min-max.d.ts +0 -2
- package/lib/components/datepicker/chronos/parse/regex.d.ts +0 -22
- package/lib/components/datepicker/chronos/parse/token.d.ts +0 -5
- package/lib/components/datepicker/chronos/public_api.d.ts +0 -57
- package/lib/components/datepicker/chronos/test/chain.d.ts +0 -214
- package/lib/components/datepicker/chronos/types.d.ts +0 -36
- package/lib/components/datepicker/chronos/units/aliases.d.ts +0 -7
- package/lib/components/datepicker/chronos/units/constants.d.ts +0 -9
- package/lib/components/datepicker/chronos/units/day-of-month.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/day-of-week.d.ts +0 -20
- package/lib/components/datepicker/chronos/units/day-of-year.d.ts +0 -3
- package/lib/components/datepicker/chronos/units/hour.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/index.d.ts +0 -18
- package/lib/components/datepicker/chronos/units/millisecond.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/minute.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/month.d.ts +0 -2
- package/lib/components/datepicker/chronos/units/offset.d.ts +0 -10
- package/lib/components/datepicker/chronos/units/priorities.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/quarter.d.ts +0 -3
- package/lib/components/datepicker/chronos/units/second.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/timestamp.d.ts +0 -1
- package/lib/components/datepicker/chronos/units/timezone.d.ts +0 -3
- package/lib/components/datepicker/chronos/units/week-calendar-utils.d.ts +0 -9
- package/lib/components/datepicker/chronos/units/week-year.d.ts +0 -8
- package/lib/components/datepicker/chronos/units/week.d.ts +0 -6
- package/lib/components/datepicker/chronos/units/year.d.ts +0 -4
- package/lib/components/datepicker/chronos/utils/abs-ceil.d.ts +0 -1
- package/lib/components/datepicker/chronos/utils/abs-round.d.ts +0 -1
- package/lib/components/datepicker/chronos/utils/compare-arrays.d.ts +0 -1
- package/lib/components/datepicker/chronos/utils/date-compare.d.ts +0 -9
- package/lib/components/datepicker/chronos/utils/date-getters.d.ts +0 -18
- package/lib/components/datepicker/chronos/utils/date-setters.d.ts +0 -12
- package/lib/components/datepicker/chronos/utils/defaults.d.ts +0 -1
- package/lib/components/datepicker/chronos/utils/start-end-of.d.ts +0 -3
- package/lib/components/datepicker/chronos/utils/type-checks.d.ts +0 -12
- package/lib/components/datepicker/chronos/utils/zero-fill.d.ts +0 -1
- package/lib/components/datepicker/chronos/utils.d.ts +0 -2
- package/lib/components/datepicker/component-loader/bs-component-ref.class.d.ts +0 -5
- package/lib/components/datepicker/component-loader/component-loader.class.d.ts +0 -75
- package/lib/components/datepicker/component-loader/component-loader.factory.d.ts +0 -21
- package/lib/components/datepicker/component-loader/content-ref.class.d.ts +0 -7
- package/lib/components/datepicker/component-loader/index.d.ts +0 -1
- package/lib/components/datepicker/component-loader/listen-options.model.d.ts +0 -11
- package/lib/components/datepicker/component-loader/public_api.d.ts +0 -4
- package/lib/components/datepicker/date-formatter.d.ts +0 -3
- package/lib/components/datepicker/datepicker-animations.d.ts +0 -3
- package/lib/components/datepicker/datepicker-inner.component.d.ts +0 -78
- package/lib/components/datepicker/datepicker.component.d.ts +0 -81
- package/lib/components/datepicker/datepicker.config.d.ts +0 -22
- package/lib/components/datepicker/datepicker.module.d.ts +0 -15
- package/lib/components/datepicker/daypicker.component.d.ts +0 -17
- package/lib/components/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/lib/components/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/lib/components/datepicker/engine/flag-months-calendar.d.ts +0 -12
- package/lib/components/datepicker/engine/flag-years-calendar.d.ts +0 -12
- package/lib/components/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/lib/components/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/lib/components/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/lib/components/datepicker/engine/view-mode.d.ts +0 -2
- package/lib/components/datepicker/index.d.ts +0 -1
- package/lib/components/datepicker/mini-ngrx/index.d.ts +0 -1
- package/lib/components/datepicker/mini-ngrx/public_api.d.ts +0 -7
- package/lib/components/datepicker/mini-ngrx/state.class.d.ts +0 -8
- package/lib/components/datepicker/mini-ngrx/store.class.d.ts +0 -16
- package/lib/components/datepicker/models/index.d.ts +0 -102
- package/lib/components/datepicker/monthpicker.component.d.ts +0 -14
- package/lib/components/datepicker/positioning/index.d.ts +0 -1
- package/lib/components/datepicker/positioning/models/index.d.ts +0 -41
- package/lib/components/datepicker/positioning/modifiers/arrow.d.ts +0 -2
- package/lib/components/datepicker/positioning/modifiers/flip.d.ts +0 -2
- package/lib/components/datepicker/positioning/modifiers/index.d.ts +0 -5
- package/lib/components/datepicker/positioning/modifiers/initData.d.ts +0 -2
- package/lib/components/datepicker/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/lib/components/datepicker/positioning/modifiers/shift.d.ts +0 -2
- package/lib/components/datepicker/positioning/ng-positioning.d.ts +0 -8
- package/lib/components/datepicker/positioning/positioning.service.d.ts +0 -48
- package/lib/components/datepicker/positioning/public_api.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/getBordersSize.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getBoundaries.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getClientRect.d.ts +0 -5
- package/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getOffsetParent.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getOffsets.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getOuterSizes.d.ts +0 -7
- package/lib/components/datepicker/positioning/utils/getParentNode.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getRoot.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getScroll.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getScrollParent.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/getStyleComputedProperty.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/getWindowSizes.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/includeScroll.d.ts +0 -2
- package/lib/components/datepicker/positioning/utils/index.d.ts +0 -23
- package/lib/components/datepicker/positioning/utils/isBrowser.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/isFixed.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/isIE.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/isModifierEnabled.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/isNumeric.d.ts +0 -4
- package/lib/components/datepicker/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/lib/components/datepicker/positioning/utils/setStyles.d.ts +0 -5
- package/lib/components/datepicker/positioning/utils/updateContainerClass.d.ts +0 -6
- package/lib/components/datepicker/public_api.d.ts +0 -25
- package/lib/components/datepicker/reducer/_defaults.d.ts +0 -2
- package/lib/components/datepicker/reducer/bs-datepicker.actions.d.ts +0 -46
- package/lib/components/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/lib/components/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/lib/components/datepicker/reducer/bs-datepicker.state.d.ts +0 -43
- package/lib/components/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/lib/components/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/lib/components/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -17
- package/lib/components/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -36
- package/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -13
- package/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -12
- package/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -40
- package/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -13
- package/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -26
- package/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/lib/components/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/lib/components/datepicker/utils/bs-calendar-utils.d.ts +0 -10
- package/lib/components/datepicker/utils/matrix-utils.d.ts +0 -9
- package/lib/components/datepicker/utils-v2/decorators.d.ts +0 -1
- package/lib/components/datepicker/utils-v2/facade/browser.d.ts +0 -23
- package/lib/components/datepicker/utils-v2/index.d.ts +0 -1
- package/lib/components/datepicker/utils-v2/linked-list.class.d.ts +0 -26
- package/lib/components/datepicker/utils-v2/public_api.d.ts +0 -10
- package/lib/components/datepicker/utils-v2/theme-provider.d.ts +0 -2
- package/lib/components/datepicker/utils-v2/trigger.class.d.ts +0 -6
- package/lib/components/datepicker/utils-v2/triggers.d.ts +0 -18
- package/lib/components/datepicker/utils-v2/utils.class.d.ts +0 -4
- package/lib/components/datepicker/utils-v2/warn-once.d.ts +0 -1
- package/lib/components/datepicker/yearpicker.component.d.ts +0 -14
- package/lib/constants/release.constants.d.ts +0 -1
- package/lib/functions/utility.functions.d.ts +0 -1
- package/src/lib/components/datepicker/base/bs-datepicker-container.d.ts +0 -44
- package/src/lib/components/datepicker/bs-datepicker-inline.component.d.ts +0 -64
- package/src/lib/components/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/src/lib/components/datepicker/bs-datepicker-input.directive.d.ts +0 -33
- package/src/lib/components/datepicker/bs-datepicker.component.d.ts +0 -126
- package/src/lib/components/datepicker/bs-datepicker.config.d.ts +0 -143
- package/src/lib/components/datepicker/bs-datepicker.module.d.ts +0 -29
- package/src/lib/components/datepicker/bs-daterangepicker-inline.component.d.ts +0 -64
- package/src/lib/components/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/src/lib/components/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/src/lib/components/datepicker/bs-daterangepicker.component.d.ts +0 -118
- package/src/lib/components/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/src/lib/components/datepicker/bs-locale.service.d.ts +0 -13
- package/src/lib/components/datepicker/chronos/create/check-overflow.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/clone.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/create/date-from-array.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/from-anything.d.ts +0 -4
- package/src/lib/components/datepicker/chronos/create/from-array.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/from-object.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/from-string-and-array.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/from-string-and-format.d.ts +0 -4
- package/src/lib/components/datepicker/chronos/create/from-string.d.ts +0 -4
- package/src/lib/components/datepicker/chronos/create/local.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/create/parsing-flags.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/create/parsing.types.d.ts +0 -64
- package/src/lib/components/datepicker/chronos/create/valid.d.ts +0 -6
- package/src/lib/components/datepicker/chronos/duration/bubble.d.ts +0 -4
- package/src/lib/components/datepicker/chronos/duration/constructor.d.ts +0 -21
- package/src/lib/components/datepicker/chronos/duration/create.d.ts +0 -8
- package/src/lib/components/datepicker/chronos/duration/humanize.d.ts +0 -5
- package/src/lib/components/datepicker/chronos/duration/valid.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/format/format.d.ts +0 -11
- package/src/lib/components/datepicker/chronos/format.d.ts +0 -5
- package/src/lib/components/datepicker/chronos/i18n/ar.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/bg.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ca.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/cs.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/da.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/de.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/en-gb.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/es-do.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/es-us.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/es.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/et.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/fi.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/fr.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/gl.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/he.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/hi.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/hr.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/hu.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/id.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/it.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ja.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ka.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/kk.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ko.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/lt.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/lv.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/mn.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/nb.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/nl-be.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/nl.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/pl.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/pt-br.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ro.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/ru.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/sk.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/sl.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/sq.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/sv.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/th-be.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/th.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/tr.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/uk.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/vi.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/i18n/zh-cn.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/index.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/locale/calendar.d.ts +0 -8
- package/src/lib/components/datepicker/chronos/locale/locale.class.d.ts +0 -143
- package/src/lib/components/datepicker/chronos/locale/locale.defaults.d.ts +0 -11
- package/src/lib/components/datepicker/chronos/locale/locales.d.ts +0 -7
- package/src/lib/components/datepicker/chronos/moment/add-subtract.d.ts +0 -5
- package/src/lib/components/datepicker/chronos/moment/calendar.d.ts +0 -15
- package/src/lib/components/datepicker/chronos/moment/diff.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/moment/min-max.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/parse/regex.d.ts +0 -22
- package/src/lib/components/datepicker/chronos/parse/token.d.ts +0 -5
- package/src/lib/components/datepicker/chronos/public_api.d.ts +0 -57
- package/src/lib/components/datepicker/chronos/test/chain.d.ts +0 -214
- package/src/lib/components/datepicker/chronos/types.d.ts +0 -36
- package/src/lib/components/datepicker/chronos/units/aliases.d.ts +0 -7
- package/src/lib/components/datepicker/chronos/units/constants.d.ts +0 -9
- package/src/lib/components/datepicker/chronos/units/day-of-month.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/day-of-week.d.ts +0 -20
- package/src/lib/components/datepicker/chronos/units/day-of-year.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/units/hour.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/index.d.ts +0 -18
- package/src/lib/components/datepicker/chronos/units/millisecond.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/minute.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/month.d.ts +0 -2
- package/src/lib/components/datepicker/chronos/units/offset.d.ts +0 -10
- package/src/lib/components/datepicker/chronos/units/priorities.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/quarter.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/units/second.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/timestamp.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/units/timezone.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/units/week-calendar-utils.d.ts +0 -9
- package/src/lib/components/datepicker/chronos/units/week-year.d.ts +0 -8
- package/src/lib/components/datepicker/chronos/units/week.d.ts +0 -6
- package/src/lib/components/datepicker/chronos/units/year.d.ts +0 -4
- package/src/lib/components/datepicker/chronos/utils/abs-ceil.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/utils/abs-round.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/utils/compare-arrays.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/utils/date-compare.d.ts +0 -9
- package/src/lib/components/datepicker/chronos/utils/date-getters.d.ts +0 -18
- package/src/lib/components/datepicker/chronos/utils/date-setters.d.ts +0 -12
- package/src/lib/components/datepicker/chronos/utils/defaults.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/utils/start-end-of.d.ts +0 -3
- package/src/lib/components/datepicker/chronos/utils/type-checks.d.ts +0 -12
- package/src/lib/components/datepicker/chronos/utils/zero-fill.d.ts +0 -1
- package/src/lib/components/datepicker/chronos/utils.d.ts +0 -2
- package/src/lib/components/datepicker/component-loader/bs-component-ref.class.d.ts +0 -5
- package/src/lib/components/datepicker/component-loader/component-loader.class.d.ts +0 -75
- package/src/lib/components/datepicker/component-loader/component-loader.factory.d.ts +0 -21
- package/src/lib/components/datepicker/component-loader/content-ref.class.d.ts +0 -7
- package/src/lib/components/datepicker/component-loader/index.d.ts +0 -1
- package/src/lib/components/datepicker/component-loader/listen-options.model.d.ts +0 -11
- package/src/lib/components/datepicker/component-loader/public_api.d.ts +0 -4
- package/src/lib/components/datepicker/date-formatter.d.ts +0 -3
- package/src/lib/components/datepicker/datepicker-animations.d.ts +0 -3
- package/src/lib/components/datepicker/datepicker-inner.component.d.ts +0 -78
- package/src/lib/components/datepicker/datepicker.component.d.ts +0 -81
- package/src/lib/components/datepicker/datepicker.config.d.ts +0 -22
- package/src/lib/components/datepicker/datepicker.module.d.ts +0 -15
- package/src/lib/components/datepicker/daypicker.component.d.ts +0 -17
- package/src/lib/components/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/src/lib/components/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/src/lib/components/datepicker/engine/flag-months-calendar.d.ts +0 -12
- package/src/lib/components/datepicker/engine/flag-years-calendar.d.ts +0 -12
- package/src/lib/components/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/src/lib/components/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/src/lib/components/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/src/lib/components/datepicker/engine/view-mode.d.ts +0 -2
- package/src/lib/components/datepicker/index.d.ts +0 -1
- package/src/lib/components/datepicker/mini-ngrx/index.d.ts +0 -1
- package/src/lib/components/datepicker/mini-ngrx/public_api.d.ts +0 -7
- package/src/lib/components/datepicker/mini-ngrx/state.class.d.ts +0 -8
- package/src/lib/components/datepicker/mini-ngrx/store.class.d.ts +0 -16
- package/src/lib/components/datepicker/models/index.d.ts +0 -102
- package/src/lib/components/datepicker/monthpicker.component.d.ts +0 -14
- package/src/lib/components/datepicker/positioning/index.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/models/index.d.ts +0 -41
- package/src/lib/components/datepicker/positioning/modifiers/arrow.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/modifiers/flip.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/modifiers/index.d.ts +0 -5
- package/src/lib/components/datepicker/positioning/modifiers/initData.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/modifiers/shift.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/ng-positioning.d.ts +0 -8
- package/src/lib/components/datepicker/positioning/positioning.service.d.ts +0 -48
- package/src/lib/components/datepicker/positioning/public_api.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/getBordersSize.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getBoundaries.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getClientRect.d.ts +0 -5
- package/src/lib/components/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getOffsetParent.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getOffsets.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getOuterSizes.d.ts +0 -7
- package/src/lib/components/datepicker/positioning/utils/getParentNode.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getRoot.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getScroll.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getScrollParent.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/getStyleComputedProperty.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/getWindowSizes.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/includeScroll.d.ts +0 -2
- package/src/lib/components/datepicker/positioning/utils/index.d.ts +0 -23
- package/src/lib/components/datepicker/positioning/utils/isBrowser.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/isFixed.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/isIE.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/isModifierEnabled.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/isNumeric.d.ts +0 -4
- package/src/lib/components/datepicker/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/src/lib/components/datepicker/positioning/utils/setStyles.d.ts +0 -5
- package/src/lib/components/datepicker/positioning/utils/updateContainerClass.d.ts +0 -6
- package/src/lib/components/datepicker/public_api.d.ts +0 -25
- package/src/lib/components/datepicker/reducer/_defaults.d.ts +0 -2
- package/src/lib/components/datepicker/reducer/bs-datepicker.actions.d.ts +0 -46
- package/src/lib/components/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/src/lib/components/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/src/lib/components/datepicker/reducer/bs-datepicker.state.d.ts +0 -43
- package/src/lib/components/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/src/lib/components/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/src/lib/components/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/src/lib/components/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -17
- package/src/lib/components/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -36
- package/src/lib/components/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/src/lib/components/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -13
- package/src/lib/components/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -12
- package/src/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -40
- package/src/lib/components/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -13
- package/src/lib/components/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -26
- package/src/lib/components/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/src/lib/components/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/src/lib/components/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/src/lib/components/datepicker/utils/bs-calendar-utils.d.ts +0 -10
- package/src/lib/components/datepicker/utils/matrix-utils.d.ts +0 -9
- package/src/lib/components/datepicker/utils-v2/decorators.d.ts +0 -1
- package/src/lib/components/datepicker/utils-v2/facade/browser.d.ts +0 -23
- package/src/lib/components/datepicker/utils-v2/index.d.ts +0 -1
- package/src/lib/components/datepicker/utils-v2/linked-list.class.d.ts +0 -26
- package/src/lib/components/datepicker/utils-v2/public_api.d.ts +0 -10
- package/src/lib/components/datepicker/utils-v2/theme-provider.d.ts +0 -2
- package/src/lib/components/datepicker/utils-v2/trigger.class.d.ts +0 -6
- package/src/lib/components/datepicker/utils-v2/triggers.d.ts +0 -18
- package/src/lib/components/datepicker/utils-v2/utils.class.d.ts +0 -4
- package/src/lib/components/datepicker/utils-v2/warn-once.d.ts +0 -1
- package/src/lib/components/datepicker/yearpicker.component.d.ts +0 -14
package/esm2020/src/lib/components/datepicker/themes/bs/bs-daterangepicker-container.component.mjs
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
-
import { take } from 'rxjs/operators';
|
|
3
|
-
import { getFullYear, getMonth } from '../../chronos';
|
|
4
|
-
import { PositioningService } from '../../positioning';
|
|
5
|
-
import { MisDatePickerAbstractComponent } from '../../base/bs-datepicker-container';
|
|
6
|
-
import { MisDatePickerConfig } from '../../bs-datepicker.config';
|
|
7
|
-
import { MisDatePickerActions } from '../../reducer/bs-datepicker.actions';
|
|
8
|
-
import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
|
|
9
|
-
import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
|
|
10
|
-
import { datepickerAnimation } from '../../datepicker-animations';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../../bs-datepicker.config";
|
|
13
|
-
import * as i2 from "../../reducer/bs-datepicker.store";
|
|
14
|
-
import * as i3 from "../../reducer/bs-datepicker.actions";
|
|
15
|
-
import * as i4 from "../../reducer/bs-datepicker.effects";
|
|
16
|
-
import * as i5 from "../../positioning";
|
|
17
|
-
import * as i6 from "@angular/common";
|
|
18
|
-
import * as i7 from "./bs-custom-dates-view.component";
|
|
19
|
-
import * as i8 from "./bs-days-calendar-view.component";
|
|
20
|
-
import * as i9 from "./bs-months-calendar-view.component";
|
|
21
|
-
import * as i10 from "./bs-years-calendar-view.component";
|
|
22
|
-
export class MisDateRangePickerContainerComponent extends MisDatePickerAbstractComponent {
|
|
23
|
-
constructor(_renderer, _config, _store, _element, _actions, _effects, _positionService) {
|
|
24
|
-
super();
|
|
25
|
-
this._renderer = _renderer;
|
|
26
|
-
this._config = _config;
|
|
27
|
-
this._store = _store;
|
|
28
|
-
this._element = _element;
|
|
29
|
-
this._actions = _actions;
|
|
30
|
-
this._positionService = _positionService;
|
|
31
|
-
this.valueChange = new EventEmitter();
|
|
32
|
-
this.animationState = 'void';
|
|
33
|
-
this._rangeStack = [];
|
|
34
|
-
this.chosenRange = [];
|
|
35
|
-
this._subs = [];
|
|
36
|
-
this._effects = _effects;
|
|
37
|
-
this.customRanges = this._config.ranges;
|
|
38
|
-
this.customRangeBtnLbl = this._config.customRangeButtonLabel;
|
|
39
|
-
_renderer.setStyle(_element.nativeElement, 'display', 'block');
|
|
40
|
-
_renderer.setStyle(_element.nativeElement, 'position', 'absolute');
|
|
41
|
-
}
|
|
42
|
-
set value(value) {
|
|
43
|
-
this._effects.setRangeValue(value);
|
|
44
|
-
}
|
|
45
|
-
ngOnInit() {
|
|
46
|
-
this._positionService.setOptions({
|
|
47
|
-
modifiers: { flip: { enabled: this._config.adaptivePosition } },
|
|
48
|
-
allowedPositions: ['top', 'bottom']
|
|
49
|
-
});
|
|
50
|
-
this._positionService.event$
|
|
51
|
-
.pipe(take(1))
|
|
52
|
-
.subscribe(() => {
|
|
53
|
-
this._positionService.disable();
|
|
54
|
-
if (this._config.isAnimated) {
|
|
55
|
-
this.animationState = this.isTopPosition ? 'animated-up' : 'animated-down';
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
this.animationState = 'unanimated';
|
|
59
|
-
});
|
|
60
|
-
this.containerClass = this._config.containerClass;
|
|
61
|
-
this.isOtherMonthsActive = this._config.selectFromOtherMonth;
|
|
62
|
-
this._effects
|
|
63
|
-
.init(this._store)
|
|
64
|
-
// intial state options
|
|
65
|
-
// todo: fix this, split configs
|
|
66
|
-
.setOptions(this._config)
|
|
67
|
-
// data binding view --> model
|
|
68
|
-
.setBindings(this)
|
|
69
|
-
// set event handlers
|
|
70
|
-
.setEventHandlers(this)
|
|
71
|
-
.registerDatePickerSideEffects();
|
|
72
|
-
// todo: move it somewhere else
|
|
73
|
-
// on selected date change
|
|
74
|
-
this._subs.push(this._store
|
|
75
|
-
.select(state => state.selectedRange)
|
|
76
|
-
.subscribe(date => {
|
|
77
|
-
this.chosenRange = date;
|
|
78
|
-
if (this._config.emitOnDateRangeSelect) {
|
|
79
|
-
this.valueChange.emit(date);
|
|
80
|
-
}
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
get isTopPosition() {
|
|
84
|
-
return this._element.nativeElement.classList.contains('top');
|
|
85
|
-
}
|
|
86
|
-
positionServiceEnable() {
|
|
87
|
-
this._positionService.enable();
|
|
88
|
-
}
|
|
89
|
-
daySelectHandler(day) {
|
|
90
|
-
if (!day) {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const isDisabled = this.isOtherMonthsActive ? day.isDisabled : (day.isOtherMonth || day.isDisabled);
|
|
94
|
-
if (isDisabled) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
this.rangesProcessing(day);
|
|
98
|
-
}
|
|
99
|
-
dayApplyHandler(day) {
|
|
100
|
-
this.valueChange.emit(this.chosenRange);
|
|
101
|
-
}
|
|
102
|
-
monthSelectHandler(day) {
|
|
103
|
-
if (!day) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
day.isSelected = true;
|
|
107
|
-
if (this._config.minMode !== 'month') {
|
|
108
|
-
if (day.isDisabled) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
this._store.dispatch(this._actions.navigateTo({
|
|
112
|
-
unit: {
|
|
113
|
-
month: getMonth(day.date),
|
|
114
|
-
year: getFullYear(day.date)
|
|
115
|
-
},
|
|
116
|
-
viewMode: 'day'
|
|
117
|
-
}));
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
this.rangesProcessing(day);
|
|
121
|
-
}
|
|
122
|
-
yearSelectHandler(day) {
|
|
123
|
-
if (!day) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
day.isSelected = true;
|
|
127
|
-
if (this._config.minMode !== 'year') {
|
|
128
|
-
if (day.isDisabled) {
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
this._store.dispatch(this._actions.navigateTo({
|
|
132
|
-
unit: {
|
|
133
|
-
year: getFullYear(day.date)
|
|
134
|
-
},
|
|
135
|
-
viewMode: 'month'
|
|
136
|
-
}));
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
this.rangesProcessing(day);
|
|
140
|
-
}
|
|
141
|
-
rangesProcessing(day) {
|
|
142
|
-
// if only one date is already selected
|
|
143
|
-
// and user clicks on previous date
|
|
144
|
-
// start selection from new date
|
|
145
|
-
// but if new date is after initial one
|
|
146
|
-
// than finish selection
|
|
147
|
-
if (this._rangeStack.length === 1) {
|
|
148
|
-
this._rangeStack =
|
|
149
|
-
day.date >= this._rangeStack[0]
|
|
150
|
-
? [this._rangeStack[0], day.date]
|
|
151
|
-
: [day.date];
|
|
152
|
-
}
|
|
153
|
-
if (this._rangeStack.length === 0) {
|
|
154
|
-
this._rangeStack = [day.date];
|
|
155
|
-
if (this._config.maxDateRange) {
|
|
156
|
-
this.setMaxDateRangeOnCalendar(day.date);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
this._store.dispatch(this._actions.selectRange(this._rangeStack));
|
|
160
|
-
if (this._rangeStack.length === 2) {
|
|
161
|
-
this._rangeStack = [];
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
ngOnDestroy() {
|
|
165
|
-
for (const sub of this._subs) {
|
|
166
|
-
sub.unsubscribe();
|
|
167
|
-
}
|
|
168
|
-
this._effects.destroy();
|
|
169
|
-
}
|
|
170
|
-
cancel() {
|
|
171
|
-
this._renderer.setStyle(this._element.nativeElement, 'display', 'none');
|
|
172
|
-
}
|
|
173
|
-
setRangeOnCalendar(dates) {
|
|
174
|
-
this._rangeStack = (dates === null) ? [] : (dates.value instanceof Date ? [dates.value] : dates.value);
|
|
175
|
-
this._store.dispatch(this._actions.selectRange(this._rangeStack));
|
|
176
|
-
}
|
|
177
|
-
setMaxDateRangeOnCalendar(currentSelection) {
|
|
178
|
-
const maxDateRange = new Date(currentSelection);
|
|
179
|
-
maxDateRange.setDate(currentSelection.getDate() + this._config.maxDateRange);
|
|
180
|
-
this._effects.setMaxDate(maxDateRange);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
MisDateRangePickerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i1.MisDatePickerConfig }, { token: i2.MisDatePickerStore }, { token: i0.ElementRef }, { token: i3.MisDatePickerActions }, { token: i4.MisDatePickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component });
|
|
184
|
-
MisDateRangePickerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDateRangePickerContainerComponent, selector: "mis-daterangepicker-container", host: { attributes: { "role": "dialog", "aria-label": "calendar" }, listeners: { "click": "_stopPropagation($event)" }, classAttribute: "bottom" }, providers: [MisDatePickerStore, MisDatePickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i7.BsCustomDatesViewComponent, selector: "mis-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "component", type: i8.MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: ["calendar", "options"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "component", type: i9.BsMonthCalendarViewComponent, selector: "mis-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: i10.BsYearsCalendarViewComponent, selector: "mis-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }], animations: [datepickerAnimation] });
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerContainerComponent, decorators: [{
|
|
186
|
-
type: Component,
|
|
187
|
-
args: [{ selector: 'mis-daterangepicker-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
|
|
188
|
-
class: 'bottom',
|
|
189
|
-
'(click)': '_stopPropagation($event)',
|
|
190
|
-
role: 'dialog',
|
|
191
|
-
'aria-label': 'calendar'
|
|
192
|
-
}, animations: [datepickerAnimation], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>" }]
|
|
193
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; } });
|
|
194
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXJhbmdlcGlja2VyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvd2lzLWNvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZXBpY2tlci90aGVtZXMvYnMvYnMtZGF0ZXJhbmdlcGlja2VyLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvd2lzLWNvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvZGF0ZXBpY2tlci90aGVtZXMvYnMvYnMtZGF0ZXBpY2tlci12aWV3Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFxQixTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEcsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBR3RDLE9BQU8sRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQU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09PSAnY2VudGVyJ1wiICpuZ0lmPVwic2hvd0NsZWFyQnRuXCI+XG4gICAgICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLXN1Y2Nlc3NcIiAoY2xpY2spPVwiY2xlYXJEYXRlKClcIj57e2NsZWFyQnRuTGJsfX08L2J1dHRvbj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuXG4gIDwvZGl2PlxuXG4gIDwhLS1jdXN0b20gZGF0ZXMgb3IgZGF0ZSByYW5nZXMgcGlja2VyLS0+XG4gIDxkaXYgY2xhc3M9XCJicy1kYXRlcGlja2VyLWN1c3RvbS1yYW5nZVwiICpuZ0lmPVwiY3VzdG9tUmFuZ2VzPy5sZW5ndGggPiAwXCI+XG4gICAgPG1pcy1jdXN0b20tZGF0ZS12aWV3IFtzZWxlY3RlZFJhbmdlXT1cImNob3NlblJhbmdlXCIgW3Jhbmdlc109XCJjdXN0b21SYW5nZXNcIiBbY3VzdG9tUmFuZ2VMYWJlbF09XCJjdXN0b21SYW5nZUJ0bkxibFwiXG4gICAgICAob25TZWxlY3QpPVwic2V0UmFuZ2VPbkNhbGVuZGFyKCRldmVudClcIj5cbiAgICA8L21pcy1jdXN0b20tZGF0ZS12aWV3PlxuICA8L2Rpdj5cbjwvZGl2PiJdfQ==
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Component, Renderer2 } from '@angular/core';
|
|
2
|
-
import { MisDateRangePickerContainerComponent } from './bs-daterangepicker-container.component';
|
|
3
|
-
import { MisDatePickerActions } from '../../reducer/bs-datepicker.actions';
|
|
4
|
-
import { MisDatePickerConfig } from '../../bs-datepicker.config';
|
|
5
|
-
import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
|
|
6
|
-
import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
|
|
7
|
-
import { PositioningService } from '../../positioning';
|
|
8
|
-
import { datepickerAnimation } from '../../datepicker-animations';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../../bs-datepicker.config";
|
|
11
|
-
import * as i2 from "../../reducer/bs-datepicker.store";
|
|
12
|
-
import * as i3 from "../../reducer/bs-datepicker.actions";
|
|
13
|
-
import * as i4 from "../../reducer/bs-datepicker.effects";
|
|
14
|
-
import * as i5 from "../../positioning";
|
|
15
|
-
import * as i6 from "@angular/common";
|
|
16
|
-
import * as i7 from "./bs-custom-dates-view.component";
|
|
17
|
-
import * as i8 from "./bs-days-calendar-view.component";
|
|
18
|
-
import * as i9 from "./bs-months-calendar-view.component";
|
|
19
|
-
import * as i10 from "./bs-years-calendar-view.component";
|
|
20
|
-
export class MisDateRangePickerInlineContainerComponent extends MisDateRangePickerContainerComponent {
|
|
21
|
-
constructor(_renderer, _config, _store, _element, _actions, _effects, _positioningService) {
|
|
22
|
-
super(_renderer, _config, _store, _element, _actions, _effects, _positioningService);
|
|
23
|
-
_renderer.setStyle(_element.nativeElement, 'display', 'inline-block');
|
|
24
|
-
_renderer.setStyle(_element.nativeElement, 'position', 'static');
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
MisDateRangePickerInlineContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerInlineContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i1.MisDatePickerConfig }, { token: i2.MisDatePickerStore }, { token: i0.ElementRef }, { token: i3.MisDatePickerActions }, { token: i4.MisDatePickerEffects }, { token: i5.PositioningService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
MisDateRangePickerInlineContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDateRangePickerInlineContainerComponent, selector: "mis-daterangepicker-inline-container", host: { listeners: { "click": "_stopPropagation($event)" } }, providers: [MisDatePickerStore, MisDatePickerEffects], usesInheritance: true, ngImport: i0, template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i7.BsCustomDatesViewComponent, selector: "mis-custom-date-view", inputs: ["ranges", "selectedRange", "customRangeLabel"], outputs: ["onSelect"] }, { kind: "component", type: i8.MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: ["calendar", "options"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover", "onHoverWeek"] }, { kind: "component", type: i9.BsMonthCalendarViewComponent, selector: "mis-month-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "component", type: i10.BsYearsCalendarViewComponent, selector: "mis-years-calendar-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode", "onSelect", "onHover"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }], animations: [datepickerAnimation] });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDateRangePickerInlineContainerComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{ selector: 'mis-daterangepicker-inline-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
|
|
32
|
-
'(click)': '_stopPropagation($event)'
|
|
33
|
-
}, animations: [datepickerAnimation], template: "<!-- days calendar view mode -->\n<div class=\"bs-datepicker\" [ngClass]=\"containerClass\" *ngIf=\"viewMode | async\">\n <div class=\"bs-datepicker-container\" [@datepickerAnimation]=\"animationState\"\n (@datepickerAnimation.done)=\"positionServiceEnable()\">\n <!--calendars-->\n <div class=\"bs-calendar-container\" [ngSwitch]=\"viewMode | async\" role=\"application\">\n <!--days calendar-->\n <div *ngSwitchCase=\"'day'\" class=\"bs-media-container\">\n <mis-days-calendar-view *ngFor=\"let calendar of daysCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n [options]=\"options | async\" (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\"\n (onHover)=\"dayHoverHandler($event)\" (onHoverWeek)=\"weekHoverHandler($event)\"\n (onSelect)=\"daySelectHandler($event)\">\n </mis-days-calendar-view>\n </div>\n\n <!--months calendar-->\n <div *ngSwitchCase=\"'month'\" class=\"bs-media-container\">\n <mis-month-calendar-view *ngFor=\"let calendar of monthsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"monthHoverHandler($event)\"\n (onSelect)=\"monthSelectHandler($event)\">\n </mis-month-calendar-view>\n </div>\n\n <!--years calendar-->\n <div *ngSwitchCase=\"'year'\" class=\"bs-media-container\">\n <mis-years-calendar-view *ngFor=\"let calendar of yearsCalendar | async\"\n [class.bs-datepicker-multiple]=\"(daysCalendar | async)?.length > 1\" [calendar]=\"calendar\"\n (onNavigate)=\"navigateTo($event)\" (onViewMode)=\"setViewMode($event)\" (onHover)=\"yearHoverHandler($event)\"\n (onSelect)=\"yearSelectHandler($event)\">\n </mis-years-calendar-view>\n </div>\n </div>\n\n <!--applycancel buttons-->\n <div class=\"bs-datepicker-buttons\" *ngIf=\"(daysCalendar | async)?.length > 1\">\n <button class=\"btn btn-default\" (click)=\"cancel()\" type=\"button\">Cancel</button>\n <button class=\"btn mis-btn-primary\" (click)=\"dayApplyHandler($event)\" type=\"button\">Apply</button>\n </div>\n\n <div class=\"bs-datepicker-buttons\" *ngIf=\"showTodayBtn || showClearBtn\">\n <div class=\"btn-today-wrapper\" [class.today-left]=\"todayPos === 'left'\" [class.today-right]=\"todayPos === 'right'\"\n [class.today-center]=\"todayPos === 'center'\" *ngIf=\"showTodayBtn\">\n <button class=\"btn btn-success\" (click)=\"setToday()\">{{todayBtnLbl}}</button>\n </div>\n\n <div class=\"btn-clear-wrapper\" [class.clear-left]=\"clearPos === 'left'\" [class.clear-right]=\"clearPos === 'right'\"\n [class.clear-center]=\"clearPos === 'center'\" *ngIf=\"showClearBtn\">\n <button class=\"btn btn-success\" (click)=\"clearDate()\">{{clearBtnLbl}}</button>\n </div>\n </div>\n\n </div>\n\n <!--custom dates or date ranges picker-->\n <div class=\"bs-datepicker-custom-range\" *ngIf=\"customRanges?.length > 0\">\n <mis-custom-date-view [selectedRange]=\"chosenRange\" [ranges]=\"customRanges\" [customRangeLabel]=\"customRangeBtnLbl\"\n (onSelect)=\"setRangeOnCalendar($event)\">\n </mis-custom-date-view>\n </div>\n</div>" }]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXJhbmdlcGlja2VyLWlubGluZS1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL3dpcy1jb21tb24vc3JjL2xpYi9jb21wb25lbnRzL2RhdGVwaWNrZXIvdGhlbWVzL2JzL2JzLWRhdGVyYW5nZXBpY2tlci1pbmxpbmUtY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy93aXMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9kYXRlcGlja2VyL3RoZW1lcy9icy9icy1kYXRlcGlja2VyLXZpZXcuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFVBQVUsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxvQ0FBb0MsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBRWhHLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQzNFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQz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WxdPVwiY3VzdG9tUmFuZ2VCdG5MYmxcIlxuICAgICAgKG9uU2VsZWN0KT1cInNldFJhbmdlT25DYWxlbmRhcigkZXZlbnQpXCI+XG4gICAgPC9taXMtY3VzdG9tLWRhdGUtdmlldz5cbiAgPC9kaXY+XG48L2Rpdj4iXX0=
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { isSameDay } from '../../chronos';
|
|
3
|
-
import { BsNavigationDirection } from '../../models';
|
|
4
|
-
import { MisDatePickerConfig } from '../../bs-datepicker.config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../bs-datepicker.config";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "mis-crystal-design-system/tooltip";
|
|
9
|
-
import * as i4 from "./bs-calendar-layout.component";
|
|
10
|
-
import * as i5 from "./bs-datepicker-day-decorator.directive";
|
|
11
|
-
import * as i6 from "./bs-datepicker-navigation-view.component";
|
|
12
|
-
export class MisDaysCalendarViewComponent {
|
|
13
|
-
constructor(_config) {
|
|
14
|
-
this._config = _config;
|
|
15
|
-
this.onNavigate = new EventEmitter();
|
|
16
|
-
this.onViewMode = new EventEmitter();
|
|
17
|
-
this.onSelect = new EventEmitter();
|
|
18
|
-
this.onHover = new EventEmitter();
|
|
19
|
-
this.onHoverWeek = new EventEmitter();
|
|
20
|
-
this.isiOS = (/iPad|iPhone|iPod/.test(navigator.platform) ||
|
|
21
|
-
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1));
|
|
22
|
-
if (this._config.dateTooltipTexts && this._config.dateTooltipTexts.length > 0) {
|
|
23
|
-
this.isShowTooltip = true;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
navigateTo(event) {
|
|
27
|
-
const step = BsNavigationDirection.DOWN === event ? -1 : 1;
|
|
28
|
-
this.onNavigate.emit({ step: { month: step } });
|
|
29
|
-
}
|
|
30
|
-
changeViewMode(event) {
|
|
31
|
-
this.onViewMode.emit(event);
|
|
32
|
-
}
|
|
33
|
-
selectDay(event) {
|
|
34
|
-
this.onSelect.emit(event);
|
|
35
|
-
}
|
|
36
|
-
selectWeek(week) {
|
|
37
|
-
if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
if (week.days.length === 0) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (this._config.selectWeek && week.days[0]
|
|
44
|
-
&& !week.days[0].isDisabled
|
|
45
|
-
&& this._config.selectFromOtherMonth) {
|
|
46
|
-
this.onSelect.emit(week.days[0]);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
const selectedDay = week.days.find((day) => {
|
|
50
|
-
return this._config.selectFromOtherMonth
|
|
51
|
-
? !day.isDisabled
|
|
52
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
53
|
-
});
|
|
54
|
-
this.onSelect.emit(selectedDay);
|
|
55
|
-
if (this._config.selectWeekDateRange) {
|
|
56
|
-
const days = week.days.slice(0);
|
|
57
|
-
const lastDayOfRange = days.reverse().find((day) => {
|
|
58
|
-
return this._config.selectFromOtherMonth
|
|
59
|
-
? !day.isDisabled
|
|
60
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
61
|
-
});
|
|
62
|
-
this.onSelect.emit(lastDayOfRange);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
weekHoverHandler(cell, isHovered) {
|
|
66
|
-
if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
const hasActiveDays = cell.days.find((day) => {
|
|
70
|
-
return this._config.selectFromOtherMonth
|
|
71
|
-
? !day.isDisabled
|
|
72
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
73
|
-
});
|
|
74
|
-
if (hasActiveDays) {
|
|
75
|
-
cell.isHovered = isHovered;
|
|
76
|
-
this.isWeekHovered = isHovered;
|
|
77
|
-
this.onHoverWeek.emit(cell);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
hoverDay(cell, isHovered) {
|
|
81
|
-
if (this._config.selectFromOtherMonth && cell.isOtherMonth) {
|
|
82
|
-
cell.isOtherMonthHovered = isHovered;
|
|
83
|
-
}
|
|
84
|
-
if (this._config.dateTooltipTexts) {
|
|
85
|
-
cell.tooltipText = '';
|
|
86
|
-
this._config.dateTooltipTexts.forEach((dateData) => {
|
|
87
|
-
if (isSameDay(dateData.date, cell.date)) {
|
|
88
|
-
cell.tooltipText = dateData.tooltipText;
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
this.onHover.emit({ cell, isHovered });
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
MisDaysCalendarViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDaysCalendarViewComponent, deps: [{ token: i1.MisDatePickerConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
-
MisDaysCalendarViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: MisDaysCalendarViewComponent, selector: "mis-days-calendar-view", inputs: { calendar: "calendar", options: "options" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover", onHoverWeek: "onHoverWeek" }, ngImport: i0, template: `
|
|
98
|
-
<mis-calendar-layout>
|
|
99
|
-
<mis-datepicker-navigation-view
|
|
100
|
-
[calendar]="calendar"
|
|
101
|
-
(onNavigate)="navigateTo($event)"
|
|
102
|
-
(onViewMode)="changeViewMode($event)"
|
|
103
|
-
></mis-datepicker-navigation-view>
|
|
104
|
-
|
|
105
|
-
<!--days matrix-->
|
|
106
|
-
<table role="grid" class="days weeks">
|
|
107
|
-
<thead>
|
|
108
|
-
<tr>
|
|
109
|
-
<!--if show weeks-->
|
|
110
|
-
<th *ngIf="options.showWeekNumbers"></th>
|
|
111
|
-
<th *ngFor="let weekday of calendar.weekdays; let i = index"
|
|
112
|
-
aria-label="weekday">{{ calendar.weekdays[i] }}
|
|
113
|
-
</th>
|
|
114
|
-
</tr>
|
|
115
|
-
</thead>
|
|
116
|
-
<tbody>
|
|
117
|
-
<tr *ngFor="let week of calendar.weeks; let i = index">
|
|
118
|
-
<td class="week" [class.active-week]="isWeekHovered" *ngIf="options.showWeekNumbers">
|
|
119
|
-
<span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
|
|
120
|
-
<span *ngIf="!isiOS"
|
|
121
|
-
(click)="selectWeek(week)"
|
|
122
|
-
(mouseenter)="weekHoverHandler(week, true)"
|
|
123
|
-
(mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
|
|
124
|
-
</td>
|
|
125
|
-
<td *ngFor="let day of week.days" role="gridcell">
|
|
126
|
-
|
|
127
|
-
<!-- When we want to show tooltips for dates -->
|
|
128
|
-
<span *ngIf="!isiOS && isShowTooltip" misDatePickerDayDecorator
|
|
129
|
-
[day]="day"
|
|
130
|
-
(click)="selectDay(day)"
|
|
131
|
-
misToolTip
|
|
132
|
-
[text]="day?.tooltipText"
|
|
133
|
-
(mouseenter)="hoverDay(day, true)"
|
|
134
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
|
|
135
|
-
<!-- When tooltips for dates are disabled -->
|
|
136
|
-
<span *ngIf="!isiOS && !isShowTooltip" misDatePickerDayDecorator
|
|
137
|
-
[day]="day"
|
|
138
|
-
(click)="selectDay(day)"
|
|
139
|
-
(mouseenter)="hoverDay(day, true)"
|
|
140
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
|
|
141
|
-
|
|
142
|
-
<!-- For mobile iOS view, tooltips are not needed -->
|
|
143
|
-
<span *ngIf="isiOS" misDatePickerDayDecorator
|
|
144
|
-
[day]="day"
|
|
145
|
-
(click)="selectDay(day)">{{ day.label }} 1</span>
|
|
146
|
-
</td>
|
|
147
|
-
</tr>
|
|
148
|
-
</tbody>
|
|
149
|
-
</table>
|
|
150
|
-
|
|
151
|
-
</mis-calendar-layout>
|
|
152
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ToolTipDirective, selector: "[misToolTip]", inputs: ["showOnHover", "showToolTip", "text", "position", "alignText", "tooltipTemplate", "tooltipTemplateContext"] }, { kind: "component", type: i4.BsCalendarLayoutComponent, selector: "mis-calendar-layout" }, { kind: "component", type: i5.MisDatePickerDayDecoratorComponent, selector: "[misDatePickerDayDecorator]", inputs: ["day"] }, { kind: "component", type: i6.MisDatePickerNavigationViewComponent, selector: "mis-datepicker-navigation-view", inputs: ["calendar"], outputs: ["onNavigate", "onViewMode"] }] });
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MisDaysCalendarViewComponent, decorators: [{
|
|
154
|
-
type: Component,
|
|
155
|
-
args: [{
|
|
156
|
-
selector: 'mis-days-calendar-view',
|
|
157
|
-
// changeDetection: ChangeDetectionStrategy.OnPush,
|
|
158
|
-
template: `
|
|
159
|
-
<mis-calendar-layout>
|
|
160
|
-
<mis-datepicker-navigation-view
|
|
161
|
-
[calendar]="calendar"
|
|
162
|
-
(onNavigate)="navigateTo($event)"
|
|
163
|
-
(onViewMode)="changeViewMode($event)"
|
|
164
|
-
></mis-datepicker-navigation-view>
|
|
165
|
-
|
|
166
|
-
<!--days matrix-->
|
|
167
|
-
<table role="grid" class="days weeks">
|
|
168
|
-
<thead>
|
|
169
|
-
<tr>
|
|
170
|
-
<!--if show weeks-->
|
|
171
|
-
<th *ngIf="options.showWeekNumbers"></th>
|
|
172
|
-
<th *ngFor="let weekday of calendar.weekdays; let i = index"
|
|
173
|
-
aria-label="weekday">{{ calendar.weekdays[i] }}
|
|
174
|
-
</th>
|
|
175
|
-
</tr>
|
|
176
|
-
</thead>
|
|
177
|
-
<tbody>
|
|
178
|
-
<tr *ngFor="let week of calendar.weeks; let i = index">
|
|
179
|
-
<td class="week" [class.active-week]="isWeekHovered" *ngIf="options.showWeekNumbers">
|
|
180
|
-
<span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
|
|
181
|
-
<span *ngIf="!isiOS"
|
|
182
|
-
(click)="selectWeek(week)"
|
|
183
|
-
(mouseenter)="weekHoverHandler(week, true)"
|
|
184
|
-
(mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
|
|
185
|
-
</td>
|
|
186
|
-
<td *ngFor="let day of week.days" role="gridcell">
|
|
187
|
-
|
|
188
|
-
<!-- When we want to show tooltips for dates -->
|
|
189
|
-
<span *ngIf="!isiOS && isShowTooltip" misDatePickerDayDecorator
|
|
190
|
-
[day]="day"
|
|
191
|
-
(click)="selectDay(day)"
|
|
192
|
-
misToolTip
|
|
193
|
-
[text]="day?.tooltipText"
|
|
194
|
-
(mouseenter)="hoverDay(day, true)"
|
|
195
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
|
|
196
|
-
<!-- When tooltips for dates are disabled -->
|
|
197
|
-
<span *ngIf="!isiOS && !isShowTooltip" misDatePickerDayDecorator
|
|
198
|
-
[day]="day"
|
|
199
|
-
(click)="selectDay(day)"
|
|
200
|
-
(mouseenter)="hoverDay(day, true)"
|
|
201
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
|
|
202
|
-
|
|
203
|
-
<!-- For mobile iOS view, tooltips are not needed -->
|
|
204
|
-
<span *ngIf="isiOS" misDatePickerDayDecorator
|
|
205
|
-
[day]="day"
|
|
206
|
-
(click)="selectDay(day)">{{ day.label }} 1</span>
|
|
207
|
-
</td>
|
|
208
|
-
</tr>
|
|
209
|
-
</tbody>
|
|
210
|
-
</table>
|
|
211
|
-
|
|
212
|
-
</mis-calendar-layout>
|
|
213
|
-
`
|
|
214
|
-
}]
|
|
215
|
-
}], ctorParameters: function () { return [{ type: i1.MisDatePickerConfig }]; }, propDecorators: { calendar: [{
|
|
216
|
-
type: Input
|
|
217
|
-
}], options: [{
|
|
218
|
-
type: Input
|
|
219
|
-
}], onNavigate: [{
|
|
220
|
-
type: Output
|
|
221
|
-
}], onViewMode: [{
|
|
222
|
-
type: Output
|
|
223
|
-
}], onSelect: [{
|
|
224
|
-
type: Output
|
|
225
|
-
}], onHover: [{
|
|
226
|
-
type: Output
|
|
227
|
-
}], onHoverWeek: [{
|
|
228
|
-
type: Output
|
|
229
|
-
}] } });
|
|
230
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF5cy1jYWxlbmRhci12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy93aXMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9kYXRlcGlja2VyL3RoZW1lcy9icy9icy1kYXlzLWNhbGVuZGFyLXZpZXcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ1AsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxPQUFPLEVBRUwscUJBQXFCLEVBTXRCLE1BQU0sY0FBYyxDQUFDO0FBRXRCLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDOzs7Ozs7OztBQThEakUsTUFB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