mis-crystal-design-system 14.0.55-test-v3 → 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/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
- package/dynamic-form/dynamic-form.component.d.ts +1 -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/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +14 -24
- package/esm2020/daterangepicker_v2/models/drp-config.model.mjs +1 -1
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +35 -43
- package/esm2020/dynamic-form/dynamic-form.component.mjs +6 -11
- package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +41 -55
- package/esm2020/table/table.component.mjs +2 -2
- package/esm2020/timepicker/timepicker.component.mjs +48 -54
- package/esm2020/timerangepicker/timerangepicker.component.mjs +42 -46
- package/fesm2015/mis-crystal-design-system-datepicker.mjs +14950 -0
- package/fesm2015/mis-crystal-design-system-datepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +13 -23
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +34 -43
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +4 -10
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +40 -54
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-table.mjs +2 -2
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-timepicker.mjs +47 -53
- package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +41 -45
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-datepicker.mjs +14572 -0
- package/fesm2020/mis-crystal-design-system-datepicker.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +13 -23
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +33 -42
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs +4 -10
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs +40 -54
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-table.mjs +2 -2
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-timepicker.mjs +47 -53
- package/fesm2020/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-timerangepicker.mjs +41 -45
- package/fesm2020/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/package.json +9 -1
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MisDatePickerViewMode, BsNavigationDirection, BsNavigationEvent, CellHoverEvent, DatePickerRenderOptions, DaysCalendarViewModel, DayViewModel, WeekViewModel } from '../../models';
|
|
3
|
+
import { MisDatePickerConfig } from '../../bs-datepicker.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MisDaysCalendarViewComponent {
|
|
6
|
+
private _config;
|
|
7
|
+
calendar: DaysCalendarViewModel;
|
|
8
|
+
options: DatePickerRenderOptions;
|
|
9
|
+
onNavigate: EventEmitter<BsNavigationEvent>;
|
|
10
|
+
onViewMode: EventEmitter<MisDatePickerViewMode>;
|
|
11
|
+
onSelect: EventEmitter<DayViewModel>;
|
|
12
|
+
onHover: EventEmitter<CellHoverEvent>;
|
|
13
|
+
onHoverWeek: EventEmitter<WeekViewModel>;
|
|
14
|
+
isWeekHovered: boolean;
|
|
15
|
+
isiOS: boolean;
|
|
16
|
+
isShowTooltip: boolean;
|
|
17
|
+
constructor(_config: MisDatePickerConfig);
|
|
18
|
+
navigateTo(event: BsNavigationDirection): void;
|
|
19
|
+
changeViewMode(event: MisDatePickerViewMode): void;
|
|
20
|
+
selectDay(event: DayViewModel): void;
|
|
21
|
+
selectWeek(week: WeekViewModel): void;
|
|
22
|
+
weekHoverHandler(cell: WeekViewModel, isHovered: boolean): void;
|
|
23
|
+
hoverDay(cell: DayViewModel, isHovered: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MisDaysCalendarViewComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MisDaysCalendarViewComponent, "mis-days-calendar-view", never, { "calendar": "calendar"; "options": "options"; }, { "onNavigate": "onNavigate"; "onViewMode": "onViewMode"; "onSelect": "onSelect"; "onHover": "onHover"; "onHoverWeek": "onHoverWeek"; }, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MisDatePickerViewMode, BsNavigationDirection, BsNavigationEvent, CellHoverEvent, MonthsCalendarViewModel, CalendarCellViewModel } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsMonthCalendarViewComponent {
|
|
5
|
+
calendar: MonthsCalendarViewModel;
|
|
6
|
+
onNavigate: EventEmitter<BsNavigationEvent>;
|
|
7
|
+
onViewMode: EventEmitter<MisDatePickerViewMode>;
|
|
8
|
+
onSelect: EventEmitter<CalendarCellViewModel>;
|
|
9
|
+
onHover: EventEmitter<CellHoverEvent>;
|
|
10
|
+
navigateTo(event: BsNavigationDirection): void;
|
|
11
|
+
viewMonth(month: CalendarCellViewModel): void;
|
|
12
|
+
hoverMonth(cell: CalendarCellViewModel, isHovered: boolean): void;
|
|
13
|
+
changeViewMode(event: MisDatePickerViewMode): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsMonthCalendarViewComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsMonthCalendarViewComponent, "mis-month-calendar-view", never, { "calendar": "calendar"; }, { "onNavigate": "onNavigate"; "onViewMode": "onViewMode"; "onSelect": "onSelect"; "onHover": "onHover"; }, never, never, false>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsTimepickerViewComponent {
|
|
3
|
+
ampm: string;
|
|
4
|
+
hours: number;
|
|
5
|
+
minutes: number;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimepickerViewComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTimepickerViewComponent, "mis-timepicker", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MisDatePickerViewMode, BsNavigationDirection, BsNavigationEvent, CalendarCellViewModel, CellHoverEvent, YearsCalendarViewModel } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsYearsCalendarViewComponent {
|
|
5
|
+
calendar: YearsCalendarViewModel;
|
|
6
|
+
onNavigate: EventEmitter<BsNavigationEvent>;
|
|
7
|
+
onViewMode: EventEmitter<MisDatePickerViewMode>;
|
|
8
|
+
onSelect: EventEmitter<CalendarCellViewModel>;
|
|
9
|
+
onHover: EventEmitter<CellHoverEvent>;
|
|
10
|
+
navigateTo(event: BsNavigationDirection): void;
|
|
11
|
+
viewYear(year: CalendarCellViewModel): void;
|
|
12
|
+
hoverYear(cell: CalendarCellViewModel, isHovered: boolean): void;
|
|
13
|
+
changeViewMode(event: MisDatePickerViewMode): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsYearsCalendarViewComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsYearsCalendarViewComponent, "mis-years-calendar-view", never, { "calendar": "calendar"; }, { "onNavigate": "onNavigate"; "onViewMode": "onViewMode"; "onSelect": "onSelect"; "onHover": "onHover"; }, never, never, false>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MisDatePickerState } from '../reducer/bs-datepicker.state';
|
|
2
|
+
export declare function getStartingDayOfCalendar(date: Date, options: {
|
|
3
|
+
firstDayOfWeek?: number;
|
|
4
|
+
}): Date;
|
|
5
|
+
export declare function calculateDateOffset(weekday: number, startingDayOffset: number): number;
|
|
6
|
+
export declare function isMonthDisabled(date: Date, min: Date, max: Date): boolean;
|
|
7
|
+
export declare function isYearDisabled(date: Date, min: Date, max: Date): boolean;
|
|
8
|
+
export declare function isDisabledDate(date: Date, datesDisabled: Date[]): boolean;
|
|
9
|
+
export declare function isEnabledDate(date: Date, datesEnabled: Date[]): boolean;
|
|
10
|
+
export declare function getYearsCalendarInitialDate(state: MisDatePickerState, calendarIndex?: number): Date;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TimeUnit } from '../chronos';
|
|
2
|
+
export declare type CreateMatrixCb<T> = (date: Date) => T;
|
|
3
|
+
export interface MatrixOptions {
|
|
4
|
+
height: number;
|
|
5
|
+
width: number;
|
|
6
|
+
initialDate: Date;
|
|
7
|
+
shift: TimeUnit;
|
|
8
|
+
}
|
|
9
|
+
export declare function createMatrix<T>(options: MatrixOptions, fn: CreateMatrixCb<T>): T[][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function OnChange(defaultValue?: any): any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* JS version of browser APIs. This library can only run in the browser.
|
|
10
|
+
*/
|
|
11
|
+
declare const win: any;
|
|
12
|
+
export { win as window };
|
|
13
|
+
export declare const document: any;
|
|
14
|
+
export declare const location: any;
|
|
15
|
+
export declare const gc: () => any;
|
|
16
|
+
export declare const performance: any;
|
|
17
|
+
export declare const Event: any;
|
|
18
|
+
export declare const MouseEvent: any;
|
|
19
|
+
export declare const KeyboardEvent: any;
|
|
20
|
+
export declare const EventTarget: any;
|
|
21
|
+
export declare const History: any;
|
|
22
|
+
export declare const Location: any;
|
|
23
|
+
export declare const EventListener: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class LinkedList<T> {
|
|
2
|
+
length: number;
|
|
3
|
+
protected head: any;
|
|
4
|
+
protected tail: any;
|
|
5
|
+
protected current: any;
|
|
6
|
+
protected asArray: T[];
|
|
7
|
+
get(position: number): T;
|
|
8
|
+
add(value: T, position?: number): void;
|
|
9
|
+
remove(position?: number): void;
|
|
10
|
+
set(position: number, value: T): void;
|
|
11
|
+
toArray(): T[];
|
|
12
|
+
findAll(fn: any): any[];
|
|
13
|
+
push(...args: T[]): number;
|
|
14
|
+
pop(): T;
|
|
15
|
+
unshift(...args: T[]): number;
|
|
16
|
+
shift(): T;
|
|
17
|
+
forEach(fn: any): void;
|
|
18
|
+
indexOf(value: T): number;
|
|
19
|
+
some(fn: any): boolean;
|
|
20
|
+
every(fn: any): boolean;
|
|
21
|
+
toString(): string;
|
|
22
|
+
find(fn: any): T;
|
|
23
|
+
findIndex(fn: any): number;
|
|
24
|
+
protected getNode(position: number): any;
|
|
25
|
+
protected createInternalArrayRepresentation(): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './triggers';
|
|
2
|
+
export { isBs3 } from './theme-provider';
|
|
3
|
+
export { LinkedList } from './linked-list.class';
|
|
4
|
+
export { listenToTriggersV2, registerOutsideClick, registerEscClick } from './triggers';
|
|
5
|
+
export { OnChange } from './decorators';
|
|
6
|
+
export { setTheme } from './theme-provider';
|
|
7
|
+
export { Trigger } from './trigger.class';
|
|
8
|
+
export { Utils } from './utils.class';
|
|
9
|
+
export { window, document } from './facade/browser';
|
|
10
|
+
export { warnOnce } from './warn-once';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Renderer2 } from '@angular/core';
|
|
2
|
+
import { Trigger } from './trigger.class';
|
|
3
|
+
export declare type BsEventCallback = (event?: any) => boolean | void;
|
|
4
|
+
export interface ListenOptions {
|
|
5
|
+
target?: HTMLElement;
|
|
6
|
+
targets?: HTMLElement[];
|
|
7
|
+
triggers?: string;
|
|
8
|
+
outsideClick?: boolean;
|
|
9
|
+
outsideEsc?: boolean;
|
|
10
|
+
show?: BsEventCallback;
|
|
11
|
+
hide?: BsEventCallback;
|
|
12
|
+
toggle?: BsEventCallback;
|
|
13
|
+
}
|
|
14
|
+
export declare function parseTriggers(triggers: string, aliases?: any): Trigger[];
|
|
15
|
+
export declare function listenToTriggers(renderer: Renderer2, target: any, triggers: string, showFn: BsEventCallback, hideFn: BsEventCallback, toggleFn: BsEventCallback): Function;
|
|
16
|
+
export declare function listenToTriggersV2(renderer: Renderer2, options: ListenOptions): Function;
|
|
17
|
+
export declare function registerOutsideClick(renderer: Renderer2, options: ListenOptions): Function;
|
|
18
|
+
export declare function registerEscClick(renderer: Renderer2, options: ListenOptions): Function;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function warnOnce(msg: string): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DatePickerInnerComponent } from './datepicker-inner.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class YearPickerComponent implements OnInit {
|
|
5
|
+
datePicker: DatePickerInnerComponent;
|
|
6
|
+
title: string;
|
|
7
|
+
rows: any[];
|
|
8
|
+
constructor(datePicker: DatePickerInnerComponent);
|
|
9
|
+
get isBs4(): boolean;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
protected getStartingYear(year: number): number;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YearPickerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YearPickerComponent, "yearpicker", never, {}, {}, never, never, false>;
|
|
14
|
+
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TzDrpContainerComponent implements OnInit {
|
|
6
6
|
private toast;
|
|
7
7
|
data: IDatePickerData;
|
|
8
|
-
private
|
|
8
|
+
private parseZoneInstance;
|
|
9
9
|
private rawWeekDays;
|
|
10
10
|
weekDays: IWeekDay[];
|
|
11
11
|
currentMonthNumber: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { NsDynamicForm } from "./dynamic-form.namespace";
|
|
3
3
|
import { UntypedFormArray, UntypedFormControl, UntypedFormGroup, ValidatorFn } from "@angular/forms";
|
|
4
|
+
import "moment-timezone";
|
|
4
5
|
import { Subscription } from "rxjs";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DynamicFormComponent implements OnInit, OnDestroy {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export class MisDatePickerAbstractComponent {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.customRanges = [];
|
|
4
|
+
this.chosenRange = [];
|
|
5
|
+
}
|
|
6
|
+
set minDate(value) {
|
|
7
|
+
this._effects.setMinDate(value);
|
|
8
|
+
}
|
|
9
|
+
set maxDate(value) {
|
|
10
|
+
this._effects.setMaxDate(value);
|
|
11
|
+
}
|
|
12
|
+
set daysDisabled(value) {
|
|
13
|
+
this._effects.setDaysDisabled(value);
|
|
14
|
+
}
|
|
15
|
+
set datesDisabled(value) {
|
|
16
|
+
this._effects.setDatesDisabled(value);
|
|
17
|
+
}
|
|
18
|
+
set datesEnabled(value) {
|
|
19
|
+
this._effects.setDatesEnabled(value);
|
|
20
|
+
}
|
|
21
|
+
set isDisabled(value) {
|
|
22
|
+
this._effects.setDisabled(value);
|
|
23
|
+
}
|
|
24
|
+
set dateCustomClasses(value) {
|
|
25
|
+
this._effects.setDateCustomClasses(value);
|
|
26
|
+
}
|
|
27
|
+
set dateTooltipTexts(value) {
|
|
28
|
+
this._effects.setDateTooltipTexts(value);
|
|
29
|
+
}
|
|
30
|
+
setViewMode(event) { }
|
|
31
|
+
navigateTo(event) { }
|
|
32
|
+
dayHoverHandler(event) { }
|
|
33
|
+
weekHoverHandler(event) { }
|
|
34
|
+
monthHoverHandler(event) { }
|
|
35
|
+
yearHoverHandler(event) { }
|
|
36
|
+
daySelectHandler(day) { }
|
|
37
|
+
monthSelectHandler(event) { }
|
|
38
|
+
yearSelectHandler(event) { }
|
|
39
|
+
setRangeOnCalendar(dates) { }
|
|
40
|
+
setToday() { }
|
|
41
|
+
clearDate() { }
|
|
42
|
+
/* tslint:disable-next-line: no-any */
|
|
43
|
+
_stopPropagation(event) {
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0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ge31cblxuICBjbGVhckRhdGUoKTogdm9pZCB7fVxuXG4gICAgLyogdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOiBuby1hbnkgKi9cbiAgX3N0b3BQcm9wYWdhdGlvbihldmVudDogYW55KTogdm9pZCB7XG4gICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Directive, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { MisDatePickerConfig } from './bs-datepicker.config';
|
|
3
|
+
import { MisDatePickerInlineContainerComponent } from './themes/bs/bs-datepicker-inline-container.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./bs-datepicker-inline.config";
|
|
6
|
+
import * as i2 from "./component-loader";
|
|
7
|
+
export class MisDatePickerInlineDirective {
|
|
8
|
+
constructor(_config, _elementRef, _renderer, _viewContainerRef, cis) {
|
|
9
|
+
this._config = _config;
|
|
10
|
+
this._elementRef = _elementRef;
|
|
11
|
+
/**
|
|
12
|
+
* Emits when datepicker value has been changed
|
|
13
|
+
*/
|
|
14
|
+
this.bsValueChange = new EventEmitter();
|
|
15
|
+
this._subs = [];
|
|
16
|
+
// todo: assign only subset of fields
|
|
17
|
+
Object.assign(this, this._config);
|
|
18
|
+
this._datepicker = cis.createLoader(_elementRef, _viewContainerRef, _renderer);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Initial value of datepicker
|
|
22
|
+
*/
|
|
23
|
+
set bsValue(value) {
|
|
24
|
+
if (this._bsValue === value) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (!this._bsValue && value) {
|
|
28
|
+
const now = new Date();
|
|
29
|
+
value.setMilliseconds(now.getMilliseconds());
|
|
30
|
+
value.setSeconds(now.getSeconds());
|
|
31
|
+
value.setMinutes(now.getMinutes());
|
|
32
|
+
value.setHours(now.getHours());
|
|
33
|
+
}
|
|
34
|
+
this._bsValue = value;
|
|
35
|
+
this.bsValueChange.emit(value);
|
|
36
|
+
}
|
|
37
|
+
ngOnInit() {
|
|
38
|
+
this.setConfig();
|
|
39
|
+
// if date changes from external source (model -> view)
|
|
40
|
+
this._subs.push(this.bsValueChange.subscribe((value) => {
|
|
41
|
+
this._datepickerRef.instance.value = value;
|
|
42
|
+
}));
|
|
43
|
+
// if date changes from picker (view -> model)
|
|
44
|
+
this._subs.push(this._datepickerRef.instance.valueChange.subscribe((value) => {
|
|
45
|
+
this.bsValue = value;
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
ngOnChanges(changes) {
|
|
49
|
+
if (!this._datepickerRef || !this._datepickerRef.instance) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (changes.minDate) {
|
|
53
|
+
this._datepickerRef.instance.minDate = this.minDate;
|
|
54
|
+
this.setConfig();
|
|
55
|
+
}
|
|
56
|
+
if (changes.maxDate) {
|
|
57
|
+
this._datepickerRef.instance.maxDate = this.maxDate;
|
|
58
|
+
this.setConfig();
|
|
59
|
+
}
|
|
60
|
+
if (changes.datesDisabled) {
|
|
61
|
+
this._datepickerRef.instance.datesDisabled = this.datesDisabled;
|
|
62
|
+
this.setConfig();
|
|
63
|
+
}
|
|
64
|
+
if (changes.datesEnabled) {
|
|
65
|
+
this._datepickerRef.instance.datesEnabled = this.datesEnabled;
|
|
66
|
+
this._datepickerRef.instance.value = this._bsValue;
|
|
67
|
+
}
|
|
68
|
+
if (changes.isDisabled) {
|
|
69
|
+
this._datepickerRef.instance.isDisabled = this.isDisabled;
|
|
70
|
+
this.setConfig();
|
|
71
|
+
}
|
|
72
|
+
if (changes.dateCustomClasses) {
|
|
73
|
+
this._datepickerRef.instance.dateCustomClasses = this.dateCustomClasses;
|
|
74
|
+
this.setConfig();
|
|
75
|
+
}
|
|
76
|
+
if (changes.dateTooltipTexts) {
|
|
77
|
+
this._datepickerRef.instance.dateTooltipTexts = this.dateTooltipTexts;
|
|
78
|
+
this.setConfig();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Set config for datepicker
|
|
83
|
+
*/
|
|
84
|
+
setConfig() {
|
|
85
|
+
if (this._datepicker) {
|
|
86
|
+
this._datepicker.hide();
|
|
87
|
+
}
|
|
88
|
+
this._config = Object.assign({}, this._config, this.misConfig, {
|
|
89
|
+
value: this._bsValue,
|
|
90
|
+
isDisabled: this.isDisabled,
|
|
91
|
+
minDate: this.minDate || this.misConfig && this.misConfig.minDate,
|
|
92
|
+
maxDate: this.maxDate || this.misConfig && this.misConfig.maxDate,
|
|
93
|
+
dateCustomClasses: this.dateCustomClasses || this.misConfig && this.misConfig.dateCustomClasses,
|
|
94
|
+
dateTooltipTexts: this.dateTooltipTexts || this.misConfig && this.misConfig.dateTooltipTexts,
|
|
95
|
+
datesDisabled: this.datesDisabled || this.misConfig && this.misConfig.datesDisabled,
|
|
96
|
+
datesEnabled: this.datesEnabled || this.misConfig && this.misConfig.datesEnabled
|
|
97
|
+
});
|
|
98
|
+
this._datepickerRef = this._datepicker
|
|
99
|
+
.provide({ provide: MisDatePickerConfig, useValue: this._config })
|
|
100
|
+
.attach(MisDatePickerInlineContainerComponent)
|
|
101
|
+
.to(this._elementRef)
|
|
102
|
+
.show();
|
|
103
|
+
}
|
|
104
|
+
ngOnDestroy() {
|
|
105
|
+
this._datepicker.dispose();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
MisDatePickerInlineDirective.ɵfac = function MisDatePickerInlineDirective_Factory(t) { return new (t || MisDatePickerInlineDirective)(i0.ɵɵdirectiveInject(i1.MisDatePickerInlineConfig), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i2.ComponentLoaderFactory)); };
|
|
109
|
+
MisDatePickerInlineDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MisDatePickerInlineDirective, selectors: [["mis-datepicker-inline"]], inputs: { bsValue: "bsValue", misConfig: "misConfig", isDisabled: "isDisabled", minDate: "minDate", maxDate: "maxDate", dateCustomClasses: "dateCustomClasses", dateTooltipTexts: "dateTooltipTexts", datesEnabled: "datesEnabled", datesDisabled: "datesDisabled" }, outputs: { bsValueChange: "bsValueChange" }, exportAs: ["misDatePickerInline"], features: [i0.ɵɵNgOnChangesFeature] });
|
|
110
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDatePickerInlineDirective, [{
|
|
111
|
+
type: Directive,
|
|
112
|
+
args: [{
|
|
113
|
+
selector: 'mis-datepicker-inline',
|
|
114
|
+
exportAs: 'misDatePickerInline'
|
|
115
|
+
}]
|
|
116
|
+
}], function () { return [{ type: i1.MisDatePickerInlineConfig }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i2.ComponentLoaderFactory }]; }, { bsValue: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], misConfig: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], isDisabled: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], minDate: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], maxDate: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], dateCustomClasses: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], dateTooltipTexts: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], datesEnabled: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], datesDisabled: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], bsValueChange: [{
|
|
135
|
+
type: Output
|
|
136
|
+
}] }); })();
|
|
137
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXBpY2tlci1pbmxpbmUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJv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zLl9kYXRlcGlja2VyLmRpc3Bvc2UoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { MisDatePickerConfig } from './bs-datepicker.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class MisDatePickerInlineConfig extends MisDatePickerConfig {
|
|
5
|
+
}
|
|
6
|
+
MisDatePickerInlineConfig.ɵfac = /*@__PURE__*/ function () { let ɵMisDatePickerInlineConfig_BaseFactory; return function MisDatePickerInlineConfig_Factory(t) { return (ɵMisDatePickerInlineConfig_BaseFactory || (ɵMisDatePickerInlineConfig_BaseFactory = i0.ɵɵgetInheritedFactory(MisDatePickerInlineConfig)))(t || MisDatePickerInlineConfig); }; }();
|
|
7
|
+
MisDatePickerInlineConfig.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MisDatePickerInlineConfig, factory: MisDatePickerInlineConfig.ɵfac, providedIn: 'root' });
|
|
8
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDatePickerInlineConfig, [{
|
|
9
|
+
type: Injectable,
|
|
10
|
+
args: [{
|
|
11
|
+
providedIn: 'root'
|
|
12
|
+
}]
|
|
13
|
+
}], null, null); })();
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXBpY2tlci1pbmxpbmUuY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvZGF0ZXBpY2tlci9icy1kYXRlcGlja2VyLWlubGluZS5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFLN0QsTUFBTSxPQUFPLHlCQUEwQixTQUFRLG1CQUFtQjs7cVJBQXJELHlCQUF5QixTQUF6Qix5QkFBeUI7K0VBQXpCLHlCQUF5QixXQUF6Qix5QkFBeUIsbUJBRnhCLE1BQU07dUZBRVAseUJBQXlCO2NBSHJDLFVBQVU7ZUFBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE1pc0RhdGVQaWNrZXJDb25maWcgfSBmcm9tICcuL2JzLWRhdGVwaWNrZXIuY29uZmlnJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgTWlzRGF0ZVBpY2tlcklubGluZUNvbmZpZyBleHRlbmRzIE1pc0RhdGVQaWNrZXJDb25maWcgeyB9XG4iXX0=
|