mis-crystal-design-system 14.0.55-test-v4 → 14.0.55-test-v5
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/datepicker/base/bs-datepicker-container.d.ts +44 -0
- package/datepicker/bs-datepicker-inline.component.d.ts +64 -0
- package/datepicker/bs-datepicker-inline.config.d.ts +6 -0
- package/datepicker/bs-datepicker-input.directive.d.ts +33 -0
- package/datepicker/bs-datepicker.component.d.ts +126 -0
- package/datepicker/bs-datepicker.config.d.ts +143 -0
- package/datepicker/bs-datepicker.module.d.ts +29 -0
- package/datepicker/bs-daterangepicker-inline.component.d.ts +64 -0
- package/datepicker/bs-daterangepicker-inline.config.d.ts +9 -0
- package/datepicker/bs-daterangepicker-input.directive.d.ts +33 -0
- package/datepicker/bs-daterangepicker.component.d.ts +118 -0
- package/datepicker/bs-daterangepicker.config.d.ts +7 -0
- package/datepicker/bs-locale.service.d.ts +13 -0
- package/datepicker/chronos/create/check-overflow.d.ts +2 -0
- package/datepicker/chronos/create/clone.d.ts +1 -0
- package/datepicker/chronos/create/date-from-array.d.ts +2 -0
- package/datepicker/chronos/create/from-anything.d.ts +4 -0
- package/datepicker/chronos/create/from-array.d.ts +2 -0
- package/datepicker/chronos/create/from-object.d.ts +2 -0
- package/datepicker/chronos/create/from-string-and-array.d.ts +2 -0
- package/datepicker/chronos/create/from-string-and-format.d.ts +4 -0
- package/datepicker/chronos/create/from-string.d.ts +4 -0
- package/datepicker/chronos/create/local.d.ts +3 -0
- package/datepicker/chronos/create/parsing-flags.d.ts +2 -0
- package/datepicker/chronos/create/parsing.types.d.ts +64 -0
- package/datepicker/chronos/create/valid.d.ts +6 -0
- package/datepicker/chronos/duration/bubble.d.ts +4 -0
- package/datepicker/chronos/duration/constructor.d.ts +21 -0
- package/datepicker/chronos/duration/create.d.ts +8 -0
- package/datepicker/chronos/duration/humanize.d.ts +5 -0
- package/datepicker/chronos/duration/valid.d.ts +2 -0
- package/datepicker/chronos/format/format.d.ts +11 -0
- package/datepicker/chronos/format.d.ts +5 -0
- package/datepicker/chronos/i18n/ar.d.ts +2 -0
- package/datepicker/chronos/i18n/bg.d.ts +2 -0
- package/datepicker/chronos/i18n/ca.d.ts +2 -0
- package/datepicker/chronos/i18n/cs.d.ts +2 -0
- package/datepicker/chronos/i18n/da.d.ts +2 -0
- package/datepicker/chronos/i18n/de.d.ts +2 -0
- package/datepicker/chronos/i18n/en-gb.d.ts +2 -0
- package/datepicker/chronos/i18n/es-do.d.ts +2 -0
- package/datepicker/chronos/i18n/es-us.d.ts +2 -0
- package/datepicker/chronos/i18n/es.d.ts +2 -0
- package/datepicker/chronos/i18n/et.d.ts +2 -0
- package/datepicker/chronos/i18n/fi.d.ts +2 -0
- package/datepicker/chronos/i18n/fr.d.ts +2 -0
- package/datepicker/chronos/i18n/gl.d.ts +2 -0
- package/datepicker/chronos/i18n/he.d.ts +2 -0
- package/datepicker/chronos/i18n/hi.d.ts +2 -0
- package/datepicker/chronos/i18n/hr.d.ts +2 -0
- package/datepicker/chronos/i18n/hu.d.ts +2 -0
- package/datepicker/chronos/i18n/id.d.ts +2 -0
- package/datepicker/chronos/i18n/it.d.ts +2 -0
- package/datepicker/chronos/i18n/ja.d.ts +2 -0
- package/datepicker/chronos/i18n/ka.d.ts +2 -0
- package/datepicker/chronos/i18n/kk.d.ts +2 -0
- package/datepicker/chronos/i18n/ko.d.ts +2 -0
- package/datepicker/chronos/i18n/lt.d.ts +2 -0
- package/datepicker/chronos/i18n/lv.d.ts +2 -0
- package/datepicker/chronos/i18n/mn.d.ts +2 -0
- package/datepicker/chronos/i18n/nb.d.ts +2 -0
- package/datepicker/chronos/i18n/nl-be.d.ts +2 -0
- package/datepicker/chronos/i18n/nl.d.ts +2 -0
- package/datepicker/chronos/i18n/pl.d.ts +2 -0
- package/datepicker/chronos/i18n/pt-br.d.ts +2 -0
- package/datepicker/chronos/i18n/ro.d.ts +2 -0
- package/datepicker/chronos/i18n/ru.d.ts +2 -0
- package/datepicker/chronos/i18n/sk.d.ts +2 -0
- package/datepicker/chronos/i18n/sl.d.ts +2 -0
- package/datepicker/chronos/i18n/sq.d.ts +2 -0
- package/datepicker/chronos/i18n/sv.d.ts +2 -0
- package/datepicker/chronos/i18n/th-be.d.ts +2 -0
- package/datepicker/chronos/i18n/th.d.ts +2 -0
- package/datepicker/chronos/i18n/tr.d.ts +2 -0
- package/datepicker/chronos/i18n/uk.d.ts +2 -0
- package/datepicker/chronos/i18n/vi.d.ts +2 -0
- package/datepicker/chronos/i18n/zh-cn.d.ts +2 -0
- package/datepicker/chronos/index.d.ts +1 -0
- package/datepicker/chronos/locale/calendar.d.ts +8 -0
- package/datepicker/chronos/locale/locale.class.d.ts +143 -0
- package/datepicker/chronos/locale/locale.defaults.d.ts +11 -0
- package/datepicker/chronos/locale/locales.d.ts +7 -0
- package/datepicker/chronos/moment/add-subtract.d.ts +5 -0
- package/datepicker/chronos/moment/calendar.d.ts +15 -0
- package/datepicker/chronos/moment/diff.d.ts +3 -0
- package/datepicker/chronos/moment/min-max.d.ts +2 -0
- package/datepicker/chronos/parse/regex.d.ts +22 -0
- package/datepicker/chronos/parse/token.d.ts +5 -0
- package/datepicker/chronos/public_api.d.ts +57 -0
- package/datepicker/chronos/test/chain.d.ts +214 -0
- package/datepicker/chronos/types.d.ts +36 -0
- package/datepicker/chronos/units/aliases.d.ts +7 -0
- package/datepicker/chronos/units/constants.d.ts +9 -0
- package/datepicker/chronos/units/day-of-month.d.ts +1 -0
- package/datepicker/chronos/units/day-of-week.d.ts +20 -0
- package/datepicker/chronos/units/day-of-year.d.ts +3 -0
- package/datepicker/chronos/units/hour.d.ts +1 -0
- package/datepicker/chronos/units/index.d.ts +18 -0
- package/datepicker/chronos/units/millisecond.d.ts +1 -0
- package/datepicker/chronos/units/minute.d.ts +1 -0
- package/datepicker/chronos/units/month.d.ts +2 -0
- package/datepicker/chronos/units/offset.d.ts +10 -0
- package/datepicker/chronos/units/priorities.d.ts +1 -0
- package/datepicker/chronos/units/quarter.d.ts +3 -0
- package/datepicker/chronos/units/second.d.ts +1 -0
- package/datepicker/chronos/units/timestamp.d.ts +1 -0
- package/datepicker/chronos/units/timezone.d.ts +3 -0
- package/datepicker/chronos/units/week-calendar-utils.d.ts +9 -0
- package/datepicker/chronos/units/week-year.d.ts +8 -0
- package/datepicker/chronos/units/week.d.ts +6 -0
- package/datepicker/chronos/units/year.d.ts +4 -0
- package/datepicker/chronos/utils/abs-ceil.d.ts +1 -0
- package/datepicker/chronos/utils/abs-round.d.ts +1 -0
- package/datepicker/chronos/utils/compare-arrays.d.ts +1 -0
- package/datepicker/chronos/utils/date-compare.d.ts +9 -0
- package/datepicker/chronos/utils/date-getters.d.ts +18 -0
- package/datepicker/chronos/utils/date-setters.d.ts +12 -0
- package/datepicker/chronos/utils/defaults.d.ts +1 -0
- package/datepicker/chronos/utils/start-end-of.d.ts +3 -0
- package/datepicker/chronos/utils/type-checks.d.ts +12 -0
- package/datepicker/chronos/utils/zero-fill.d.ts +1 -0
- package/datepicker/chronos/utils.d.ts +2 -0
- package/datepicker/component-loader/bs-component-ref.class.d.ts +5 -0
- package/datepicker/component-loader/component-loader.class.d.ts +75 -0
- package/datepicker/component-loader/component-loader.factory.d.ts +21 -0
- package/datepicker/component-loader/content-ref.class.d.ts +7 -0
- package/datepicker/component-loader/index.d.ts +1 -0
- package/datepicker/component-loader/listen-options.model.d.ts +11 -0
- package/datepicker/component-loader/public_api.d.ts +4 -0
- package/datepicker/date-formatter.d.ts +3 -0
- package/datepicker/datepicker-animations.d.ts +3 -0
- package/datepicker/datepicker-inner.component.d.ts +78 -0
- package/datepicker/datepicker.component.d.ts +81 -0
- package/datepicker/datepicker.config.d.ts +22 -0
- package/datepicker/datepicker.module.d.ts +15 -0
- package/datepicker/daypicker.component.d.ts +17 -0
- package/datepicker/engine/calc-days-calendar.d.ts +2 -0
- package/datepicker/engine/flag-days-calendar.d.ts +17 -0
- package/datepicker/engine/flag-months-calendar.d.ts +12 -0
- package/datepicker/engine/flag-years-calendar.d.ts +12 -0
- package/datepicker/engine/format-days-calendar.d.ts +4 -0
- package/datepicker/engine/format-months-calendar.d.ts +2 -0
- package/datepicker/engine/format-years-calendar.d.ts +4 -0
- package/datepicker/engine/view-mode.d.ts +2 -0
- package/datepicker/index.d.ts +1 -0
- package/datepicker/mini-ngrx/index.d.ts +1 -0
- package/datepicker/mini-ngrx/public_api.d.ts +7 -0
- package/datepicker/mini-ngrx/state.class.d.ts +8 -0
- package/datepicker/mini-ngrx/store.class.d.ts +16 -0
- package/datepicker/models/index.d.ts +102 -0
- package/datepicker/monthpicker.component.d.ts +14 -0
- package/datepicker/positioning/index.d.ts +1 -0
- package/datepicker/positioning/models/index.d.ts +41 -0
- package/datepicker/positioning/modifiers/arrow.d.ts +2 -0
- package/datepicker/positioning/modifiers/flip.d.ts +2 -0
- package/datepicker/positioning/modifiers/index.d.ts +5 -0
- package/datepicker/positioning/modifiers/initData.d.ts +2 -0
- package/datepicker/positioning/modifiers/preventOverflow.d.ts +2 -0
- package/datepicker/positioning/modifiers/shift.d.ts +2 -0
- package/datepicker/positioning/ng-positioning.d.ts +8 -0
- package/datepicker/positioning/positioning.service.d.ts +48 -0
- package/datepicker/positioning/public_api.d.ts +2 -0
- package/datepicker/positioning/utils/computeAutoPlacement.d.ts +2 -0
- package/datepicker/positioning/utils/findCommonOffsetParent.d.ts +1 -0
- package/datepicker/positioning/utils/getBordersSize.d.ts +4 -0
- package/datepicker/positioning/utils/getBoundaries.d.ts +1 -0
- package/datepicker/positioning/utils/getBoundingClientRect.d.ts +2 -0
- package/datepicker/positioning/utils/getClientRect.d.ts +5 -0
- package/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +4 -0
- package/datepicker/positioning/utils/getOffsetParent.d.ts +1 -0
- package/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +2 -0
- package/datepicker/positioning/utils/getOffsets.d.ts +2 -0
- package/datepicker/positioning/utils/getOppositePlacement.d.ts +4 -0
- package/datepicker/positioning/utils/getOppositeVariation.d.ts +4 -0
- package/datepicker/positioning/utils/getOuterSizes.d.ts +7 -0
- package/datepicker/positioning/utils/getParentNode.d.ts +4 -0
- package/datepicker/positioning/utils/getReferenceOffsets.d.ts +2 -0
- package/datepicker/positioning/utils/getRoot.d.ts +4 -0
- package/datepicker/positioning/utils/getScroll.d.ts +4 -0
- package/datepicker/positioning/utils/getScrollParent.d.ts +1 -0
- package/datepicker/positioning/utils/getStyleComputedProperty.d.ts +4 -0
- package/datepicker/positioning/utils/getTargetOffsets.d.ts +2 -0
- package/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +2 -0
- package/datepicker/positioning/utils/getWindowSizes.d.ts +4 -0
- package/datepicker/positioning/utils/includeScroll.d.ts +2 -0
- package/datepicker/positioning/utils/index.d.ts +23 -0
- package/datepicker/positioning/utils/isBrowser.d.ts +1 -0
- package/datepicker/positioning/utils/isFixed.d.ts +1 -0
- package/datepicker/positioning/utils/isIE.d.ts +1 -0
- package/datepicker/positioning/utils/isModifierEnabled.d.ts +4 -0
- package/datepicker/positioning/utils/isNumeric.d.ts +4 -0
- package/datepicker/positioning/utils/isOffsetContainer.d.ts +1 -0
- package/datepicker/positioning/utils/setStyles.d.ts +5 -0
- package/datepicker/positioning/utils/updateContainerClass.d.ts +6 -0
- package/datepicker/public_api.d.ts +25 -0
- package/datepicker/reducer/_defaults.d.ts +2 -0
- package/datepicker/reducer/bs-datepicker.actions.d.ts +46 -0
- package/datepicker/reducer/bs-datepicker.effects.d.ts +41 -0
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +3 -0
- package/datepicker/reducer/bs-datepicker.state.d.ts +43 -0
- package/datepicker/reducer/bs-datepicker.store.d.ts +8 -0
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +5 -0
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +6 -0
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +17 -0
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +36 -0
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +14 -0
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +13 -0
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +12 -0
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +40 -0
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +13 -0
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +26 -0
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +16 -0
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +8 -0
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +16 -0
- package/datepicker/utils/bs-calendar-utils.d.ts +10 -0
- package/datepicker/utils/matrix-utils.d.ts +9 -0
- package/datepicker/utils-v2/decorators.d.ts +1 -0
- package/datepicker/utils-v2/facade/browser.d.ts +23 -0
- package/datepicker/utils-v2/index.d.ts +1 -0
- package/datepicker/utils-v2/linked-list.class.d.ts +26 -0
- package/datepicker/utils-v2/public_api.d.ts +10 -0
- package/datepicker/utils-v2/theme-provider.d.ts +2 -0
- package/datepicker/utils-v2/trigger.class.d.ts +6 -0
- package/datepicker/utils-v2/triggers.d.ts +18 -0
- package/datepicker/utils-v2/utils.class.d.ts +4 -0
- package/datepicker/utils-v2/warn-once.d.ts +1 -0
- package/datepicker/yearpicker.component.d.ts +14 -0
- package/esm2020/datepicker/base/bs-datepicker-container.mjs +47 -0
- package/esm2020/datepicker/bs-datepicker-inline.component.mjs +137 -0
- package/esm2020/datepicker/bs-datepicker-inline.config.mjs +14 -0
- package/esm2020/datepicker/bs-datepicker-input.directive.mjs +160 -0
- package/esm2020/datepicker/bs-datepicker.component.mjs +254 -0
- package/esm2020/datepicker/bs-datepicker.config.mjs +87 -0
- package/esm2020/datepicker/bs-datepicker.module.mjs +126 -0
- package/esm2020/datepicker/bs-daterangepicker-inline.component.mjs +134 -0
- package/esm2020/datepicker/bs-daterangepicker-inline.config.mjs +21 -0
- package/esm2020/datepicker/bs-daterangepicker-input.directive.mjs +192 -0
- package/esm2020/datepicker/bs-daterangepicker.component.mjs +240 -0
- package/esm2020/datepicker/bs-daterangepicker.config.mjs +19 -0
- package/esm2020/datepicker/bs-locale.service.mjs +32 -0
- package/esm2020/datepicker/chronos/create/check-overflow.mjs +30 -0
- package/esm2020/datepicker/chronos/create/clone.mjs +6 -0
- package/esm2020/datepicker/chronos/create/date-from-array.mjs +17 -0
- package/esm2020/datepicker/chronos/create/from-anything.mjs +107 -0
- package/esm2020/datepicker/chronos/create/from-array.mjs +136 -0
- package/esm2020/datepicker/chronos/create/from-object.mjs +17 -0
- package/esm2020/datepicker/chronos/create/from-string-and-array.mjs +38 -0
- package/esm2020/datepicker/chronos/create/from-string-and-format.mjs +106 -0
- package/esm2020/datepicker/chronos/create/from-string.mjs +227 -0
- package/esm2020/datepicker/chronos/create/local.mjs +16 -0
- package/esm2020/datepicker/chronos/create/parsing-flags.mjs +26 -0
- package/esm2020/datepicker/chronos/create/parsing.types.mjs +2 -0
- package/esm2020/datepicker/chronos/create/valid.mjs +42 -0
- package/esm2020/datepicker/chronos/duration/bubble.mjs +47 -0
- package/esm2020/datepicker/chronos/duration/constructor.mjs +130 -0
- package/esm2020/datepicker/chronos/duration/create.mjs +113 -0
- package/esm2020/datepicker/chronos/duration/humanize.mjs +80 -0
- package/esm2020/datepicker/chronos/duration/valid.mjs +43 -0
- package/esm2020/datepicker/chronos/format/format.mjs +51 -0
- package/esm2020/datepicker/chronos/format.mjs +46 -0
- package/esm2020/datepicker/chronos/i18n/ar.mjs +128 -0
- package/esm2020/datepicker/chronos/i18n/bg.mjs +94 -0
- package/esm2020/datepicker/chronos/i18n/ca.mjs +91 -0
- package/esm2020/datepicker/chronos/i18n/cs.mjs +179 -0
- package/esm2020/datepicker/chronos/i18n/da.mjs +50 -0
- package/esm2020/datepicker/chronos/i18n/de.mjs +72 -0
- package/esm2020/datepicker/chronos/i18n/en-gb.mjs +61 -0
- package/esm2020/datepicker/chronos/i18n/es-do.mjs +85 -0
- package/esm2020/datepicker/chronos/i18n/es-us.mjs +79 -0
- package/esm2020/datepicker/chronos/i18n/es.mjs +84 -0
- package/esm2020/datepicker/chronos/i18n/et.mjs +73 -0
- package/esm2020/datepicker/chronos/i18n/fi.mjs +100 -0
- package/esm2020/datepicker/chronos/i18n/fr.mjs +76 -0
- package/esm2020/datepicker/chronos/i18n/gl.mjs +84 -0
- package/esm2020/datepicker/chronos/i18n/he.mjs +98 -0
- package/esm2020/datepicker/chronos/i18n/hi.mjs +124 -0
- package/esm2020/datepicker/chronos/i18n/hr.mjs +62 -0
- package/esm2020/datepicker/chronos/i18n/hu.mjs +104 -0
- package/esm2020/datepicker/chronos/i18n/id.mjs +83 -0
- package/esm2020/datepicker/chronos/i18n/it.mjs +65 -0
- package/esm2020/datepicker/chronos/i18n/ja.mjs +75 -0
- package/esm2020/datepicker/chronos/i18n/ka.mjs +87 -0
- package/esm2020/datepicker/chronos/i18n/kk.mjs +76 -0
- package/esm2020/datepicker/chronos/i18n/ko.mjs +77 -0
- package/esm2020/datepicker/chronos/i18n/lt.mjs +116 -0
- package/esm2020/datepicker/chronos/i18n/lv.mjs +56 -0
- package/esm2020/datepicker/chronos/i18n/mn.mjs +99 -0
- package/esm2020/datepicker/chronos/i18n/nb.mjs +53 -0
- package/esm2020/datepicker/chronos/i18n/nl-be.mjs +81 -0
- package/esm2020/datepicker/chronos/i18n/nl.mjs +80 -0
- package/esm2020/datepicker/chronos/i18n/pl.mjs +126 -0
- package/esm2020/datepicker/chronos/i18n/pt-br.mjs +56 -0
- package/esm2020/datepicker/chronos/i18n/ro.mjs +66 -0
- package/esm2020/datepicker/chronos/i18n/ru.mjs +181 -0
- package/esm2020/datepicker/chronos/i18n/sk.mjs +157 -0
- package/esm2020/datepicker/chronos/i18n/sl.mjs +184 -0
- package/esm2020/datepicker/chronos/i18n/sq.mjs +54 -0
- package/esm2020/datepicker/chronos/i18n/sv.mjs +63 -0
- package/esm2020/datepicker/chronos/i18n/th-be.mjs +74 -0
- package/esm2020/datepicker/chronos/i18n/th.mjs +59 -0
- package/esm2020/datepicker/chronos/i18n/tr.mjs +82 -0
- package/esm2020/datepicker/chronos/i18n/uk.mjs +147 -0
- package/esm2020/datepicker/chronos/i18n/vi.mjs +74 -0
- package/esm2020/datepicker/chronos/i18n/zh-cn.mjs +114 -0
- package/esm2020/datepicker/chronos/index.mjs +2 -0
- package/esm2020/datepicker/chronos/locale/calendar.mjs +9 -0
- package/esm2020/datepicker/chronos/locale/locale.class.mjs +532 -0
- package/esm2020/datepicker/chronos/locale/locale.defaults.mjs +40 -0
- package/esm2020/datepicker/chronos/locale/locales.mjs +229 -0
- package/esm2020/datepicker/chronos/moment/add-subtract.mjs +35 -0
- package/esm2020/datepicker/chronos/moment/calendar.mjs +41 -0
- package/esm2020/datepicker/chronos/moment/diff.mjs +70 -0
- package/esm2020/datepicker/chronos/moment/min-max.mjs +38 -0
- package/esm2020/datepicker/chronos/parse/regex.mjs +49 -0
- package/esm2020/datepicker/chronos/parse/token.mjs +32 -0
- package/esm2020/datepicker/chronos/public_api.mjs +56 -0
- package/esm2020/datepicker/chronos/test/chain.mjs +711 -0
- package/esm2020/datepicker/chronos/types.mjs +2 -0
- package/esm2020/datepicker/chronos/units/aliases.mjs +35 -0
- package/esm2020/datepicker/chronos/units/constants.mjs +11 -0
- package/esm2020/datepicker/chronos/units/day-of-month.mjs +31 -0
- package/esm2020/datepicker/chronos/units/day-of-week.mjs +129 -0
- package/esm2020/datepicker/chronos/units/day-of-year.mjs +37 -0
- package/esm2020/datepicker/chronos/units/hour.mjs +127 -0
- package/esm2020/datepicker/chronos/units/index.mjs +19 -0
- package/esm2020/datepicker/chronos/units/millisecond.mjs +60 -0
- package/esm2020/datepicker/chronos/units/minute.mjs +23 -0
- package/esm2020/datepicker/chronos/units/month.mjs +63 -0
- package/esm2020/datepicker/chronos/units/offset.mjs +210 -0
- package/esm2020/datepicker/chronos/units/priorities.mjs +21 -0
- package/esm2020/datepicker/chronos/units/quarter.mjs +39 -0
- package/esm2020/datepicker/chronos/units/second.mjs +23 -0
- package/esm2020/datepicker/chronos/units/timestamp.mjs +28 -0
- package/esm2020/datepicker/chronos/units/timezone.mjs +19 -0
- package/esm2020/datepicker/chronos/units/week-calendar-utils.mjs +70 -0
- package/esm2020/datepicker/chronos/units/week-year.mjs +101 -0
- package/esm2020/datepicker/chronos/units/week.mjs +58 -0
- package/esm2020/datepicker/chronos/units/year.mjs +60 -0
- package/esm2020/datepicker/chronos/utils/abs-ceil.mjs +4 -0
- package/esm2020/datepicker/chronos/utils/abs-round.mjs +4 -0
- package/esm2020/datepicker/chronos/utils/compare-arrays.mjs +16 -0
- package/esm2020/datepicker/chronos/utils/date-compare.mjs +55 -0
- package/esm2020/datepicker/chronos/utils/date-getters.mjs +67 -0
- package/esm2020/datepicker/chronos/utils/date-setters.mjs +75 -0
- package/esm2020/datepicker/chronos/utils/defaults.mjs +11 -0
- package/esm2020/datepicker/chronos/utils/start-end-of.mjs +57 -0
- package/esm2020/datepicker/chronos/utils/type-checks.mjs +56 -0
- package/esm2020/datepicker/chronos/utils/zero-fill.mjs +10 -0
- package/esm2020/datepicker/chronos/utils.mjs +7 -0
- package/esm2020/datepicker/component-loader/bs-component-ref.class.mjs +3 -0
- package/esm2020/datepicker/component-loader/component-loader.class.mjs +272 -0
- package/esm2020/datepicker/component-loader/component-loader.factory.mjs +29 -0
- package/esm2020/datepicker/component-loader/content-ref.class.mjs +12 -0
- package/esm2020/datepicker/component-loader/index.mjs +2 -0
- package/esm2020/datepicker/component-loader/listen-options.model.mjs +2 -0
- package/esm2020/datepicker/component-loader/public_api.mjs +5 -0
- package/esm2020/datepicker/date-formatter.mjs +7 -0
- package/esm2020/datepicker/datepicker-animations.mjs +16 -0
- package/esm2020/datepicker/datepicker-inner.component.mjs +323 -0
- package/esm2020/datepicker/datepicker.component.mjs +182 -0
- package/esm2020/datepicker/datepicker.config.mjs +32 -0
- package/esm2020/datepicker/datepicker.module.mjs +49 -0
- package/esm2020/datepicker/daypicker.component.mjs +314 -0
- package/esm2020/datepicker/engine/calc-days-calendar.mjs +19 -0
- package/esm2020/datepicker/engine/flag-days-calendar.mjs +91 -0
- package/esm2020/datepicker/engine/flag-months-calendar.mjs +41 -0
- package/esm2020/datepicker/engine/flag-years-calendar.mjs +39 -0
- package/esm2020/datepicker/engine/format-days-calendar.mjs +29 -0
- package/esm2020/datepicker/engine/format-months-calendar.mjs +19 -0
- package/esm2020/datepicker/engine/format-years-calendar.mjs +35 -0
- package/esm2020/datepicker/engine/view-mode.mjs +4 -0
- package/esm2020/datepicker/index.mjs +2 -0
- package/esm2020/datepicker/mini-ngrx/index.mjs +2 -0
- package/esm2020/datepicker/mini-ngrx/public_api.mjs +3 -0
- package/esm2020/datepicker/mini-ngrx/state.class.mjs +16 -0
- package/esm2020/datepicker/mini-ngrx/store.class.mjs +43 -0
- package/esm2020/datepicker/mis-crystal-design-system-datepicker.mjs +5 -0
- package/esm2020/datepicker/models/index.mjs +9 -0
- package/esm2020/datepicker/monthpicker.component.mjs +145 -0
- package/esm2020/datepicker/positioning/index.mjs +2 -0
- package/esm2020/datepicker/positioning/models/index.mjs +2 -0
- package/esm2020/datepicker/positioning/modifiers/arrow.mjs +56 -0
- package/esm2020/datepicker/positioning/modifiers/flip.mjs +66 -0
- package/esm2020/datepicker/positioning/modifiers/index.mjs +6 -0
- package/esm2020/datepicker/positioning/modifiers/initData.mjs +42 -0
- package/esm2020/datepicker/positioning/modifiers/preventOverflow.mjs +59 -0
- package/esm2020/datepicker/positioning/modifiers/shift.mjs +24 -0
- package/esm2020/datepicker/positioning/ng-positioning.mjs +30 -0
- package/esm2020/datepicker/positioning/positioning.service.mjs +75 -0
- package/esm2020/datepicker/positioning/public_api.mjs +3 -0
- package/esm2020/datepicker/positioning/utils/computeAutoPlacement.mjs +57 -0
- package/esm2020/datepicker/positioning/utils/findCommonOffsetParent.mjs +40 -0
- package/esm2020/datepicker/positioning/utils/getBordersSize.mjs +10 -0
- package/esm2020/datepicker/positioning/utils/getBoundaries.mjs +56 -0
- package/esm2020/datepicker/positioning/utils/getBoundingClientRect.mjs +55 -0
- package/esm2020/datepicker/positioning/utils/getClientRect.mjs +8 -0
- package/esm2020/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +17 -0
- package/esm2020/datepicker/positioning/utils/getOffsetParent.mjs +32 -0
- package/esm2020/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +51 -0
- package/esm2020/datepicker/positioning/utils/getOffsets.mjs +11 -0
- package/esm2020/datepicker/positioning/utils/getOppositePlacement.mjs +8 -0
- package/esm2020/datepicker/positioning/utils/getOppositeVariation.mjs +13 -0
- package/esm2020/datepicker/positioning/utils/getOuterSizes.mjs +14 -0
- package/esm2020/datepicker/positioning/utils/getParentNode.mjs +10 -0
- package/esm2020/datepicker/positioning/utils/getReferenceOffsets.mjs +13 -0
- package/esm2020/datepicker/positioning/utils/getRoot.mjs +10 -0
- package/esm2020/datepicker/positioning/utils/getScroll.mjs +14 -0
- package/esm2020/datepicker/positioning/utils/getScrollParent.mjs +26 -0
- package/esm2020/datepicker/positioning/utils/getStyleComputedProperty.mjs +13 -0
- package/esm2020/datepicker/positioning/utils/getTargetOffsets.mjs +30 -0
- package/esm2020/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +19 -0
- package/esm2020/datepicker/positioning/utils/getWindowSizes.mjs +18 -0
- package/esm2020/datepicker/positioning/utils/includeScroll.mjs +15 -0
- package/esm2020/datepicker/positioning/utils/index.mjs +24 -0
- package/esm2020/datepicker/positioning/utils/isBrowser.mjs +2 -0
- package/esm2020/datepicker/positioning/utils/isFixed.mjs +16 -0
- package/esm2020/datepicker/positioning/utils/isIE.mjs +16 -0
- package/esm2020/datepicker/positioning/utils/isModifierEnabled.mjs +10 -0
- package/esm2020/datepicker/positioning/utils/isNumeric.mjs +7 -0
- package/esm2020/datepicker/positioning/utils/isOffsetContainer.mjs +9 -0
- package/esm2020/datepicker/positioning/utils/setStyles.mjs +17 -0
- package/esm2020/datepicker/positioning/utils/updateContainerClass.mjs +22 -0
- package/esm2020/datepicker/public_api.mjs +25 -0
- package/esm2020/datepicker/reducer/_defaults.mjs +5 -0
- package/esm2020/datepicker/reducer/bs-datepicker.actions.mjs +136 -0
- package/esm2020/datepicker/reducer/bs-datepicker.effects.mjs +169 -0
- package/esm2020/datepicker/reducer/bs-datepicker.reducer.mjs +302 -0
- package/esm2020/datepicker/reducer/bs-datepicker.state.mjs +12 -0
- package/esm2020/datepicker/reducer/bs-datepicker.store.mjs +21 -0
- package/esm2020/datepicker/themes/bs/bs-calendar-layout.component.mjs +54 -0
- package/esm2020/datepicker/themes/bs/bs-current-date-view.component.mjs +23 -0
- package/esm2020/datepicker/themes/bs/bs-custom-dates-view.component.mjs +78 -0
- package/esm2020/datepicker/themes/bs/bs-datepicker-container.component.mjs +319 -0
- package/esm2020/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +52 -0
- package/esm2020/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +203 -0
- package/esm2020/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +111 -0
- package/esm2020/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +362 -0
- package/esm2020/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +203 -0
- package/esm2020/datepicker/themes/bs/bs-days-calendar-view.component.mjs +308 -0
- package/esm2020/datepicker/themes/bs/bs-months-calendar-view.component.mjs +106 -0
- package/esm2020/datepicker/themes/bs/bs-timepicker-view.component.mjs +64 -0
- package/esm2020/datepicker/themes/bs/bs-years-calendar-view.component.mjs +107 -0
- package/esm2020/datepicker/utils/bs-calendar-utils.mjs +43 -0
- package/esm2020/datepicker/utils/matrix-utils.mjs +14 -0
- package/esm2020/datepicker/utils-v2/decorators.mjs +25 -0
- package/esm2020/datepicker/utils-v2/facade/browser.mjs +24 -0
- package/esm2020/datepicker/utils-v2/index.mjs +2 -0
- package/esm2020/datepicker/utils-v2/linked-list.class.mjs +240 -0
- package/esm2020/datepicker/utils-v2/public_api.mjs +11 -0
- package/esm2020/datepicker/utils-v2/theme-provider.mjs +35 -0
- package/esm2020/datepicker/utils-v2/trigger.class.mjs +10 -0
- package/esm2020/datepicker/utils-v2/triggers.mjs +110 -0
- package/esm2020/datepicker/utils-v2/utils.class.mjs +21 -0
- package/esm2020/datepicker/utils-v2/warn-once.mjs +12 -0
- package/esm2020/datepicker/yearpicker.component.mjs +147 -0
- package/fesm2015/mis-crystal-design-system-datepicker.mjs +14950 -0
- package/fesm2015/mis-crystal-design-system-datepicker.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-datepicker.mjs +14572 -0
- package/fesm2020/mis-crystal-design-system-datepicker.mjs.map +1 -0
- package/package.json +9 -1
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
import { Component, EventEmitter } from '@angular/core';
|
|
2
|
+
import { take } from 'rxjs/operators';
|
|
3
|
+
import { getFullYear, getMonth } from '../../chronos';
|
|
4
|
+
import { datepickerAnimation } from '../../datepicker-animations';
|
|
5
|
+
import { MisDatePickerAbstractComponent } from '../../base/bs-datepicker-container';
|
|
6
|
+
import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
|
|
7
|
+
import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../../bs-datepicker.config";
|
|
10
|
+
import * as i2 from "../../reducer/bs-datepicker.store";
|
|
11
|
+
import * as i3 from "../../reducer/bs-datepicker.actions";
|
|
12
|
+
import * as i4 from "../../reducer/bs-datepicker.effects";
|
|
13
|
+
import * as i5 from "../../positioning";
|
|
14
|
+
import * as i6 from "@angular/common";
|
|
15
|
+
import * as i7 from "./bs-custom-dates-view.component";
|
|
16
|
+
import * as i8 from "./bs-days-calendar-view.component";
|
|
17
|
+
import * as i9 from "./bs-months-calendar-view.component";
|
|
18
|
+
import * as i10 from "./bs-years-calendar-view.component";
|
|
19
|
+
function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelementStart(0, "mis-days-calendar-view", 9);
|
|
22
|
+
i0.ɵɵlistener("onNavigate", function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template_mis_days_calendar_view_onNavigate_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r9.navigateTo($event)); })("onViewMode", function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template_mis_days_calendar_view_onViewMode_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r11 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r11.setViewMode($event)); })("onHover", function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template_mis_days_calendar_view_onHover_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r12 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r12.dayHoverHandler($event)); })("onHoverWeek", function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template_mis_days_calendar_view_onHoverWeek_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.weekHoverHandler($event)); })("onSelect", function MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template_mis_days_calendar_view_onSelect_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r14 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r14.daySelectHandler($event)); });
|
|
23
|
+
i0.ɵɵpipe(1, "async");
|
|
24
|
+
i0.ɵɵpipe(2, "async");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const calendar_r8 = ctx.$implicit;
|
|
28
|
+
const ctx_r7 = i0.ɵɵnextContext(3);
|
|
29
|
+
let tmp_0_0;
|
|
30
|
+
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 4, ctx_r7.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
31
|
+
i0.ɵɵproperty("calendar", calendar_r8)("options", i0.ɵɵpipeBind1(2, 6, ctx_r7.options));
|
|
32
|
+
} }
|
|
33
|
+
function MisDatePickerContainerComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
35
|
+
i0.ɵɵtemplate(1, MisDatePickerContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template, 3, 8, "mis-days-calendar-view", 8);
|
|
36
|
+
i0.ɵɵpipe(2, "async");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
40
|
+
i0.ɵɵadvance(1);
|
|
41
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r1.daysCalendar));
|
|
42
|
+
} }
|
|
43
|
+
function MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
const _r18 = i0.ɵɵgetCurrentView();
|
|
45
|
+
i0.ɵɵelementStart(0, "mis-month-calendar-view", 11);
|
|
46
|
+
i0.ɵɵlistener("onNavigate", function MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template_mis_month_calendar_view_onNavigate_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.navigateTo($event)); })("onViewMode", function MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template_mis_month_calendar_view_onViewMode_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r19 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r19.setViewMode($event)); })("onHover", function MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template_mis_month_calendar_view_onHover_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r20 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r20.monthHoverHandler($event)); })("onSelect", function MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template_mis_month_calendar_view_onSelect_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r21 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r21.monthSelectHandler($event)); });
|
|
47
|
+
i0.ɵɵpipe(1, "async");
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
const calendar_r16 = ctx.$implicit;
|
|
51
|
+
const ctx_r15 = i0.ɵɵnextContext(3);
|
|
52
|
+
let tmp_0_0;
|
|
53
|
+
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r15.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
54
|
+
i0.ɵɵproperty("calendar", calendar_r16);
|
|
55
|
+
} }
|
|
56
|
+
function MisDatePickerContainerComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
58
|
+
i0.ɵɵtemplate(1, MisDatePickerContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template, 2, 5, "mis-month-calendar-view", 10);
|
|
59
|
+
i0.ɵɵpipe(2, "async");
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
} if (rf & 2) {
|
|
62
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
63
|
+
i0.ɵɵadvance(1);
|
|
64
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r2.monthsCalendar));
|
|
65
|
+
} }
|
|
66
|
+
function MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
const _r25 = i0.ɵɵgetCurrentView();
|
|
68
|
+
i0.ɵɵelementStart(0, "mis-years-calendar-view", 11);
|
|
69
|
+
i0.ɵɵlistener("onNavigate", function MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template_mis_years_calendar_view_onNavigate_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r24 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r24.navigateTo($event)); })("onViewMode", function MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template_mis_years_calendar_view_onViewMode_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r26 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r26.setViewMode($event)); })("onHover", function MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template_mis_years_calendar_view_onHover_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r27 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r27.yearHoverHandler($event)); })("onSelect", function MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template_mis_years_calendar_view_onSelect_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r28 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r28.yearSelectHandler($event)); });
|
|
70
|
+
i0.ɵɵpipe(1, "async");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
} if (rf & 2) {
|
|
73
|
+
const calendar_r23 = ctx.$implicit;
|
|
74
|
+
const ctx_r22 = i0.ɵɵnextContext(3);
|
|
75
|
+
let tmp_0_0;
|
|
76
|
+
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r22.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
77
|
+
i0.ɵɵproperty("calendar", calendar_r23);
|
|
78
|
+
} }
|
|
79
|
+
function MisDatePickerContainerComponent_div_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
81
|
+
i0.ɵɵtemplate(1, MisDatePickerContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template, 2, 5, "mis-years-calendar-view", 10);
|
|
82
|
+
i0.ɵɵpipe(2, "async");
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
86
|
+
i0.ɵɵadvance(1);
|
|
87
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r3.yearsCalendar));
|
|
88
|
+
} }
|
|
89
|
+
function MisDatePickerContainerComponent_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
90
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
91
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "button", 13);
|
|
92
|
+
i0.ɵɵlistener("click", function MisDatePickerContainerComponent_div_0_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.cancel()); });
|
|
93
|
+
i0.ɵɵtext(2, "Cancel");
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
i0.ɵɵelementStart(3, "button", 14);
|
|
96
|
+
i0.ɵɵlistener("click", function MisDatePickerContainerComponent_div_0_div_7_Template_button_click_3_listener($event) { i0.ɵɵrestoreView(_r30); const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.dayApplyHandler($event)); });
|
|
97
|
+
i0.ɵɵtext(4, "Apply");
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
} }
|
|
100
|
+
function MisDatePickerContainerComponent_div_0_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
101
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
102
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "button", 18);
|
|
103
|
+
i0.ɵɵlistener("click", function MisDatePickerContainerComponent_div_0_div_9_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r34.setToday()); });
|
|
104
|
+
i0.ɵɵtext(2);
|
|
105
|
+
i0.ɵɵelementEnd()();
|
|
106
|
+
} if (rf & 2) {
|
|
107
|
+
const ctx_r32 = i0.ɵɵnextContext(3);
|
|
108
|
+
i0.ɵɵclassProp("today-left", ctx_r32.todayPos === "left")("today-right", ctx_r32.todayPos === "right")("today-center", ctx_r32.todayPos === "center");
|
|
109
|
+
i0.ɵɵadvance(2);
|
|
110
|
+
i0.ɵɵtextInterpolate(ctx_r32.todayBtnLbl);
|
|
111
|
+
} }
|
|
112
|
+
function MisDatePickerContainerComponent_div_0_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
114
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "button", 18);
|
|
115
|
+
i0.ɵɵlistener("click", function MisDatePickerContainerComponent_div_0_div_9_div_2_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r36.clearDate()); });
|
|
116
|
+
i0.ɵɵtext(2);
|
|
117
|
+
i0.ɵɵelementEnd()();
|
|
118
|
+
} if (rf & 2) {
|
|
119
|
+
const ctx_r33 = i0.ɵɵnextContext(3);
|
|
120
|
+
i0.ɵɵclassProp("clear-left", ctx_r33.clearPos === "left")("clear-right", ctx_r33.clearPos === "right")("clear-center", ctx_r33.clearPos === "center");
|
|
121
|
+
i0.ɵɵadvance(2);
|
|
122
|
+
i0.ɵɵtextInterpolate(ctx_r33.clearBtnLbl);
|
|
123
|
+
} }
|
|
124
|
+
function MisDatePickerContainerComponent_div_0_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
126
|
+
i0.ɵɵtemplate(1, MisDatePickerContainerComponent_div_0_div_9_div_1_Template, 3, 7, "div", 15);
|
|
127
|
+
i0.ɵɵtemplate(2, MisDatePickerContainerComponent_div_0_div_9_div_2_Template, 3, 7, "div", 16);
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
} if (rf & 2) {
|
|
130
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
131
|
+
i0.ɵɵadvance(1);
|
|
132
|
+
i0.ɵɵproperty("ngIf", ctx_r5.showTodayBtn);
|
|
133
|
+
i0.ɵɵadvance(1);
|
|
134
|
+
i0.ɵɵproperty("ngIf", ctx_r5.showClearBtn);
|
|
135
|
+
} }
|
|
136
|
+
function MisDatePickerContainerComponent_div_0_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
137
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
138
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "mis-custom-date-view", 21);
|
|
139
|
+
i0.ɵɵlistener("onSelect", function MisDatePickerContainerComponent_div_0_div_10_Template_mis_custom_date_view_onSelect_1_listener($event) { i0.ɵɵrestoreView(_r39); const ctx_r38 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r38.setRangeOnCalendar($event)); });
|
|
140
|
+
i0.ɵɵelementEnd()();
|
|
141
|
+
} if (rf & 2) {
|
|
142
|
+
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
143
|
+
i0.ɵɵadvance(1);
|
|
144
|
+
i0.ɵɵproperty("selectedRange", ctx_r6.chosenRange)("ranges", ctx_r6.customRanges)("customRangeLabel", ctx_r6.customRangeBtnLbl);
|
|
145
|
+
} }
|
|
146
|
+
function MisDatePickerContainerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
147
|
+
const _r41 = i0.ɵɵgetCurrentView();
|
|
148
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
149
|
+
i0.ɵɵlistener("@datepickerAnimation.done", function MisDatePickerContainerComponent_div_0_Template_div_animation_datepickerAnimation_done_1_listener() { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r40.positionServiceEnable()); });
|
|
150
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
151
|
+
i0.ɵɵpipe(3, "async");
|
|
152
|
+
i0.ɵɵtemplate(4, MisDatePickerContainerComponent_div_0_div_4_Template, 3, 3, "div", 4);
|
|
153
|
+
i0.ɵɵtemplate(5, MisDatePickerContainerComponent_div_0_div_5_Template, 3, 3, "div", 4);
|
|
154
|
+
i0.ɵɵtemplate(6, MisDatePickerContainerComponent_div_0_div_6_Template, 3, 3, "div", 4);
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
i0.ɵɵtemplate(7, MisDatePickerContainerComponent_div_0_div_7_Template, 5, 0, "div", 5);
|
|
157
|
+
i0.ɵɵpipe(8, "async");
|
|
158
|
+
i0.ɵɵtemplate(9, MisDatePickerContainerComponent_div_0_div_9_Template, 3, 2, "div", 5);
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
i0.ɵɵtemplate(10, MisDatePickerContainerComponent_div_0_div_10_Template, 2, 3, "div", 6);
|
|
161
|
+
i0.ɵɵelementEnd();
|
|
162
|
+
} if (rf & 2) {
|
|
163
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
164
|
+
let tmp_6_0;
|
|
165
|
+
i0.ɵɵproperty("ngClass", ctx_r0.containerClass);
|
|
166
|
+
i0.ɵɵadvance(1);
|
|
167
|
+
i0.ɵɵproperty("@datepickerAnimation", ctx_r0.animationState);
|
|
168
|
+
i0.ɵɵadvance(1);
|
|
169
|
+
i0.ɵɵproperty("ngSwitch", i0.ɵɵpipeBind1(3, 9, ctx_r0.viewMode));
|
|
170
|
+
i0.ɵɵadvance(2);
|
|
171
|
+
i0.ɵɵproperty("ngSwitchCase", "day");
|
|
172
|
+
i0.ɵɵadvance(1);
|
|
173
|
+
i0.ɵɵproperty("ngSwitchCase", "month");
|
|
174
|
+
i0.ɵɵadvance(1);
|
|
175
|
+
i0.ɵɵproperty("ngSwitchCase", "year");
|
|
176
|
+
i0.ɵɵadvance(1);
|
|
177
|
+
i0.ɵɵproperty("ngIf", ((tmp_6_0 = i0.ɵɵpipeBind1(8, 11, ctx_r0.daysCalendar)) == null ? null : tmp_6_0.length) > 1);
|
|
178
|
+
i0.ɵɵadvance(2);
|
|
179
|
+
i0.ɵɵproperty("ngIf", ctx_r0.showTodayBtn || ctx_r0.showClearBtn);
|
|
180
|
+
i0.ɵɵadvance(1);
|
|
181
|
+
i0.ɵɵproperty("ngIf", (ctx_r0.customRanges == null ? null : ctx_r0.customRanges.length) > 0);
|
|
182
|
+
} }
|
|
183
|
+
export class MisDatePickerContainerComponent extends MisDatePickerAbstractComponent {
|
|
184
|
+
constructor(_renderer, _config, _store, _element, _actions, _effects, _positionService) {
|
|
185
|
+
super();
|
|
186
|
+
this._renderer = _renderer;
|
|
187
|
+
this._config = _config;
|
|
188
|
+
this._store = _store;
|
|
189
|
+
this._element = _element;
|
|
190
|
+
this._actions = _actions;
|
|
191
|
+
this._positionService = _positionService;
|
|
192
|
+
this.valueChange = new EventEmitter();
|
|
193
|
+
this.animationState = 'void';
|
|
194
|
+
this._subs = [];
|
|
195
|
+
this._effects = _effects;
|
|
196
|
+
_renderer.setStyle(_element.nativeElement, 'display', 'block');
|
|
197
|
+
_renderer.setStyle(_element.nativeElement, 'position', 'absolute');
|
|
198
|
+
}
|
|
199
|
+
set value(value) {
|
|
200
|
+
this._effects.setValue(value);
|
|
201
|
+
}
|
|
202
|
+
ngOnInit() {
|
|
203
|
+
this._positionService.setOptions({
|
|
204
|
+
modifiers: { flip: { enabled: this._config.adaptivePosition } },
|
|
205
|
+
allowedPositions: ['top', 'bottom']
|
|
206
|
+
});
|
|
207
|
+
this._positionService.event$
|
|
208
|
+
.pipe(take(1))
|
|
209
|
+
.subscribe(() => {
|
|
210
|
+
this._positionService.disable();
|
|
211
|
+
if (this._config.isAnimated) {
|
|
212
|
+
this.animationState = this.isTopPosition ? 'animated-up' : 'animated-down';
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
this.animationState = 'unanimated';
|
|
216
|
+
});
|
|
217
|
+
this.isOtherMonthsActive = this._config.selectFromOtherMonth;
|
|
218
|
+
this.containerClass = this._config.containerClass;
|
|
219
|
+
this.showTodayBtn = this._config.showTodayButton;
|
|
220
|
+
this.todayBtnLbl = this._config.todayButtonLabel;
|
|
221
|
+
this.todayPos = this._config.todayPosition;
|
|
222
|
+
this.showClearBtn = this._config.showClearButton;
|
|
223
|
+
this.clearBtnLbl = this._config.clearButtonLabel;
|
|
224
|
+
this.clearPos = this._config.clearPosition;
|
|
225
|
+
this.customRangeBtnLbl = this._config.customRangeButtonLabel;
|
|
226
|
+
this._effects
|
|
227
|
+
.init(this._store)
|
|
228
|
+
// intial state options
|
|
229
|
+
.setOptions(this._config)
|
|
230
|
+
// data binding view --> model
|
|
231
|
+
.setBindings(this)
|
|
232
|
+
// set event handlers
|
|
233
|
+
.setEventHandlers(this)
|
|
234
|
+
.registerDatePickerSideEffects();
|
|
235
|
+
// todo: move it somewhere else
|
|
236
|
+
// on selected date change
|
|
237
|
+
this._subs.push(this._store
|
|
238
|
+
/* tslint:disable-next-line: no-any */
|
|
239
|
+
.select((state) => state.selectedDate)
|
|
240
|
+
/* tslint:disable-next-line: no-any */
|
|
241
|
+
.subscribe((date) => this.valueChange.emit(date)));
|
|
242
|
+
this._store.dispatch(this._actions.changeViewMode(this._config.startView));
|
|
243
|
+
}
|
|
244
|
+
get isTopPosition() {
|
|
245
|
+
return this._element.nativeElement.classList.contains('top');
|
|
246
|
+
}
|
|
247
|
+
positionServiceEnable() {
|
|
248
|
+
this._positionService.enable();
|
|
249
|
+
}
|
|
250
|
+
dayApplyHandler(day) {
|
|
251
|
+
}
|
|
252
|
+
daySelectHandler(day) {
|
|
253
|
+
if (!day) {
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
const isDisabled = this.isOtherMonthsActive ? day.isDisabled : (day.isOtherMonth || day.isDisabled);
|
|
257
|
+
if (isDisabled) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this._store.dispatch(this._actions.select(day.date));
|
|
261
|
+
}
|
|
262
|
+
monthSelectHandler(day) {
|
|
263
|
+
if (!day || day.isDisabled) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
this._store.dispatch(this._actions.navigateTo({
|
|
267
|
+
unit: {
|
|
268
|
+
month: getMonth(day.date),
|
|
269
|
+
year: getFullYear(day.date)
|
|
270
|
+
},
|
|
271
|
+
viewMode: 'day'
|
|
272
|
+
}));
|
|
273
|
+
}
|
|
274
|
+
yearSelectHandler(day) {
|
|
275
|
+
if (!day || day.isDisabled) {
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
this._store.dispatch(this._actions.navigateTo({
|
|
279
|
+
unit: {
|
|
280
|
+
year: getFullYear(day.date)
|
|
281
|
+
},
|
|
282
|
+
viewMode: 'month'
|
|
283
|
+
}));
|
|
284
|
+
}
|
|
285
|
+
setToday() {
|
|
286
|
+
this._store.dispatch(this._actions.select(new Date()));
|
|
287
|
+
}
|
|
288
|
+
clearDate() {
|
|
289
|
+
this._store.dispatch(this._actions.select(undefined));
|
|
290
|
+
}
|
|
291
|
+
cancel() {
|
|
292
|
+
this._renderer.setStyle(this._element.nativeElement, 'display', 'none');
|
|
293
|
+
}
|
|
294
|
+
ngOnDestroy() {
|
|
295
|
+
for (const sub of this._subs) {
|
|
296
|
+
sub.unsubscribe();
|
|
297
|
+
}
|
|
298
|
+
this._effects.destroy();
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
MisDatePickerContainerComponent.ɵfac = function MisDatePickerContainerComponent_Factory(t) { return new (t || MisDatePickerContainerComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1.MisDatePickerConfig), i0.ɵɵdirectiveInject(i2.MisDatePickerStore), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i3.MisDatePickerActions), i0.ɵɵdirectiveInject(i4.MisDatePickerEffects), i0.ɵɵdirectiveInject(i5.PositioningService)); };
|
|
302
|
+
MisDatePickerContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisDatePickerContainerComponent, selectors: [["mis-datepicker-container"]], hostAttrs: ["role", "dialog", "aria-label", "calendar", 1, "bottom"], hostBindings: function MisDatePickerContainerComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
303
|
+
i0.ɵɵlistener("click", function MisDatePickerContainerComponent_click_HostBindingHandler($event) { return ctx._stopPropagation($event); });
|
|
304
|
+
} }, features: [i0.ɵɵProvidersFeature([MisDatePickerStore, MisDatePickerEffects]), i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["class", "bs-datepicker", 3, "ngClass", 4, "ngIf"], [1, "bs-datepicker", 3, "ngClass"], [1, "bs-datepicker-container"], ["role", "application", 1, "bs-calendar-container", 3, "ngSwitch"], ["class", "bs-media-container", 4, "ngSwitchCase"], ["class", "bs-datepicker-buttons", 4, "ngIf"], ["class", "bs-datepicker-custom-range", 4, "ngIf"], [1, "bs-media-container"], [3, "bs-datepicker-multiple", "calendar", "options", "onNavigate", "onViewMode", "onHover", "onHoverWeek", "onSelect", 4, "ngFor", "ngForOf"], [3, "calendar", "options", "onNavigate", "onViewMode", "onHover", "onHoverWeek", "onSelect"], [3, "bs-datepicker-multiple", "calendar", "onNavigate", "onViewMode", "onHover", "onSelect", 4, "ngFor", "ngForOf"], [3, "calendar", "onNavigate", "onViewMode", "onHover", "onSelect"], [1, "bs-datepicker-buttons"], ["type", "button", 1, "btn", "btn-default", 3, "click"], ["type", "button", 1, "btn", "mis-btn-primary", 3, "click"], ["class", "btn-today-wrapper", 3, "today-left", "today-right", "today-center", 4, "ngIf"], ["class", "btn-clear-wrapper", 3, "clear-left", "clear-right", "clear-center", 4, "ngIf"], [1, "btn-today-wrapper"], [1, "btn", "btn-success", 3, "click"], [1, "btn-clear-wrapper"], [1, "bs-datepicker-custom-range"], [3, "selectedRange", "ranges", "customRangeLabel", "onSelect"]], template: function MisDatePickerContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
305
|
+
i0.ɵɵtemplate(0, MisDatePickerContainerComponent_div_0_Template, 11, 13, "div", 0);
|
|
306
|
+
i0.ɵɵpipe(1, "async");
|
|
307
|
+
} if (rf & 2) {
|
|
308
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.viewMode));
|
|
309
|
+
} }, dependencies: [i6.NgClass, i6.NgForOf, i6.NgIf, i6.NgSwitch, i6.NgSwitchCase, i7.BsCustomDatesViewComponent, i8.MisDaysCalendarViewComponent, i9.BsMonthCalendarViewComponent, i10.BsYearsCalendarViewComponent, i6.AsyncPipe], encapsulation: 2, data: { animation: [datepickerAnimation] } });
|
|
310
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDatePickerContainerComponent, [{
|
|
311
|
+
type: Component,
|
|
312
|
+
args: [{ selector: 'mis-datepicker-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
|
|
313
|
+
class: 'bottom',
|
|
314
|
+
'(click)': '_stopPropagation($event)',
|
|
315
|
+
role: 'dialog',
|
|
316
|
+
'aria-label': 'calendar'
|
|
317
|
+
}, 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>" }]
|
|
318
|
+
}], function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; }, null); })();
|
|
319
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXBpY2tlci1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvZGF0ZXBpY2tlci90aGVtZXMvYnMvYnMtZGF0ZXBpY2tlci1jb250YWluZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvZGF0ZXBpY2tlci90aGVtZXMvYnMvYnMtZGF0ZXBpY2tlci12aWV3Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxZQUFZLE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* as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../bs-datepicker.config";
|
|
4
|
+
const _c0 = ["misDatePickerDayDecorator", ""];
|
|
5
|
+
export class MisDatePickerDayDecoratorComponent {
|
|
6
|
+
constructor(_config, _elRef, _renderer) {
|
|
7
|
+
this._config = _config;
|
|
8
|
+
this._elRef = _elRef;
|
|
9
|
+
this._renderer = _renderer;
|
|
10
|
+
}
|
|
11
|
+
ngOnInit() {
|
|
12
|
+
if (this.day.isToday && this._config && this._config.customTodayClass) {
|
|
13
|
+
this._renderer.addClass(this._elRef.nativeElement, this._config.customTodayClass);
|
|
14
|
+
}
|
|
15
|
+
if (typeof this.day.customClasses === 'string') {
|
|
16
|
+
this.day.customClasses.split(' ')
|
|
17
|
+
.filter((className) => className)
|
|
18
|
+
.forEach((className) => {
|
|
19
|
+
this._renderer.addClass(this._elRef.nativeElement, className);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
MisDatePickerDayDecoratorComponent.ɵfac = function MisDatePickerDayDecoratorComponent_Factory(t) { return new (t || MisDatePickerDayDecoratorComponent)(i0.ɵɵdirectiveInject(i1.MisDatePickerConfig), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
25
|
+
MisDatePickerDayDecoratorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisDatePickerDayDecoratorComponent, selectors: [["", "misDatePickerDayDecorator", ""]], hostVars: 16, hostBindings: function MisDatePickerDayDecoratorComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
26
|
+
i0.ɵɵclassProp("disabled", ctx.day.isDisabled)("is-highlighted", ctx.day.isHovered)("is-other-month", ctx.day.isOtherMonth)("is-active-other-month", ctx.day.isOtherMonthHovered)("in-range", ctx.day.isInRange)("select-start", ctx.day.isSelectionStart)("select-end", ctx.day.isSelectionEnd)("selected", ctx.day.isSelected);
|
|
27
|
+
} }, inputs: { day: "day" }, attrs: _c0, decls: 1, vars: 1, template: function MisDatePickerDayDecoratorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵtext(0);
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
i0.ɵɵtextInterpolate(ctx.day.label);
|
|
31
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
32
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDatePickerDayDecoratorComponent, [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: '[misDatePickerDayDecorator]',
|
|
36
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
37
|
+
host: {
|
|
38
|
+
'[class.disabled]': 'day.isDisabled',
|
|
39
|
+
'[class.is-highlighted]': 'day.isHovered',
|
|
40
|
+
'[class.is-other-month]': 'day.isOtherMonth',
|
|
41
|
+
'[class.is-active-other-month]': 'day.isOtherMonthHovered',
|
|
42
|
+
'[class.in-range]': 'day.isInRange',
|
|
43
|
+
'[class.select-start]': 'day.isSelectionStart',
|
|
44
|
+
'[class.select-end]': 'day.isSelectionEnd',
|
|
45
|
+
'[class.selected]': 'day.isSelected'
|
|
46
|
+
},
|
|
47
|
+
template: `{{ day.label }}`
|
|
48
|
+
}]
|
|
49
|
+
}], function () { return [{ type: i1.MisDatePickerConfig }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { day: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}] }); })();
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXBpY2tlci1kYXktZGVjb3JhdG9yLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL2RhdGVwaWNrZXIvdGhlbWVzL2JzL2JzLWRhdGVwa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