mis-crystal-design-system 14.0.55-test-v6 → 14.0.56
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/dynamic-form/dynamic-form.component.d.ts +10 -2
- package/esm2020/dynamic-form/dynamic-form.component.mjs +471 -213
- package/esm2020/table/table.component.mjs +2 -2
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +524 -212
- package/fesm2015/mis-crystal-design-system-dynamic-form.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/fesm2020/mis-crystal-design-system-dynamic-form.mjs +470 -212
- package/fesm2020/mis-crystal-design-system-dynamic-form.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/package.json +1 -9
- package/datepicker/base/bs-datepicker-container.d.ts +0 -44
- package/datepicker/bs-datepicker-inline.component.d.ts +0 -64
- package/datepicker/bs-datepicker-inline.config.d.ts +0 -6
- package/datepicker/bs-datepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-datepicker.component.d.ts +0 -126
- package/datepicker/bs-datepicker.config.d.ts +0 -143
- package/datepicker/bs-datepicker.module.d.ts +0 -29
- package/datepicker/bs-daterangepicker-inline.component.d.ts +0 -64
- package/datepicker/bs-daterangepicker-inline.config.d.ts +0 -9
- package/datepicker/bs-daterangepicker-input.directive.d.ts +0 -33
- package/datepicker/bs-daterangepicker.component.d.ts +0 -118
- package/datepicker/bs-daterangepicker.config.d.ts +0 -7
- package/datepicker/bs-locale.service.d.ts +0 -13
- package/datepicker/chronos/create/check-overflow.d.ts +0 -2
- package/datepicker/chronos/create/clone.d.ts +0 -1
- package/datepicker/chronos/create/date-from-array.d.ts +0 -2
- package/datepicker/chronos/create/from-anything.d.ts +0 -4
- package/datepicker/chronos/create/from-array.d.ts +0 -2
- package/datepicker/chronos/create/from-object.d.ts +0 -2
- package/datepicker/chronos/create/from-string-and-array.d.ts +0 -2
- package/datepicker/chronos/create/from-string-and-format.d.ts +0 -4
- package/datepicker/chronos/create/from-string.d.ts +0 -4
- package/datepicker/chronos/create/local.d.ts +0 -3
- package/datepicker/chronos/create/parsing-flags.d.ts +0 -2
- package/datepicker/chronos/create/parsing.types.d.ts +0 -64
- package/datepicker/chronos/create/valid.d.ts +0 -6
- package/datepicker/chronos/duration/bubble.d.ts +0 -4
- package/datepicker/chronos/duration/constructor.d.ts +0 -21
- package/datepicker/chronos/duration/create.d.ts +0 -8
- package/datepicker/chronos/duration/humanize.d.ts +0 -5
- package/datepicker/chronos/duration/valid.d.ts +0 -2
- package/datepicker/chronos/format/format.d.ts +0 -11
- package/datepicker/chronos/format.d.ts +0 -5
- package/datepicker/chronos/i18n/ar.d.ts +0 -2
- package/datepicker/chronos/i18n/bg.d.ts +0 -2
- package/datepicker/chronos/i18n/ca.d.ts +0 -2
- package/datepicker/chronos/i18n/cs.d.ts +0 -2
- package/datepicker/chronos/i18n/da.d.ts +0 -2
- package/datepicker/chronos/i18n/de.d.ts +0 -2
- package/datepicker/chronos/i18n/en-gb.d.ts +0 -2
- package/datepicker/chronos/i18n/es-do.d.ts +0 -2
- package/datepicker/chronos/i18n/es-us.d.ts +0 -2
- package/datepicker/chronos/i18n/es.d.ts +0 -2
- package/datepicker/chronos/i18n/et.d.ts +0 -2
- package/datepicker/chronos/i18n/fi.d.ts +0 -2
- package/datepicker/chronos/i18n/fr.d.ts +0 -2
- package/datepicker/chronos/i18n/gl.d.ts +0 -2
- package/datepicker/chronos/i18n/he.d.ts +0 -2
- package/datepicker/chronos/i18n/hi.d.ts +0 -2
- package/datepicker/chronos/i18n/hr.d.ts +0 -2
- package/datepicker/chronos/i18n/hu.d.ts +0 -2
- package/datepicker/chronos/i18n/id.d.ts +0 -2
- package/datepicker/chronos/i18n/it.d.ts +0 -2
- package/datepicker/chronos/i18n/ja.d.ts +0 -2
- package/datepicker/chronos/i18n/ka.d.ts +0 -2
- package/datepicker/chronos/i18n/kk.d.ts +0 -2
- package/datepicker/chronos/i18n/ko.d.ts +0 -2
- package/datepicker/chronos/i18n/lt.d.ts +0 -2
- package/datepicker/chronos/i18n/lv.d.ts +0 -2
- package/datepicker/chronos/i18n/mn.d.ts +0 -2
- package/datepicker/chronos/i18n/nb.d.ts +0 -2
- package/datepicker/chronos/i18n/nl-be.d.ts +0 -2
- package/datepicker/chronos/i18n/nl.d.ts +0 -2
- package/datepicker/chronos/i18n/pl.d.ts +0 -2
- package/datepicker/chronos/i18n/pt-br.d.ts +0 -2
- package/datepicker/chronos/i18n/ro.d.ts +0 -2
- package/datepicker/chronos/i18n/ru.d.ts +0 -2
- package/datepicker/chronos/i18n/sk.d.ts +0 -2
- package/datepicker/chronos/i18n/sl.d.ts +0 -2
- package/datepicker/chronos/i18n/sq.d.ts +0 -2
- package/datepicker/chronos/i18n/sv.d.ts +0 -2
- package/datepicker/chronos/i18n/th-be.d.ts +0 -2
- package/datepicker/chronos/i18n/th.d.ts +0 -2
- package/datepicker/chronos/i18n/tr.d.ts +0 -2
- package/datepicker/chronos/i18n/uk.d.ts +0 -2
- package/datepicker/chronos/i18n/vi.d.ts +0 -2
- package/datepicker/chronos/i18n/zh-cn.d.ts +0 -2
- package/datepicker/chronos/index.d.ts +0 -1
- package/datepicker/chronos/locale/calendar.d.ts +0 -8
- package/datepicker/chronos/locale/locale.class.d.ts +0 -143
- package/datepicker/chronos/locale/locale.defaults.d.ts +0 -11
- package/datepicker/chronos/locale/locales.d.ts +0 -7
- package/datepicker/chronos/moment/add-subtract.d.ts +0 -5
- package/datepicker/chronos/moment/calendar.d.ts +0 -15
- package/datepicker/chronos/moment/diff.d.ts +0 -3
- package/datepicker/chronos/moment/min-max.d.ts +0 -2
- package/datepicker/chronos/parse/regex.d.ts +0 -22
- package/datepicker/chronos/parse/token.d.ts +0 -5
- package/datepicker/chronos/public_api.d.ts +0 -57
- package/datepicker/chronos/test/chain.d.ts +0 -214
- package/datepicker/chronos/types.d.ts +0 -36
- package/datepicker/chronos/units/aliases.d.ts +0 -7
- package/datepicker/chronos/units/constants.d.ts +0 -9
- package/datepicker/chronos/units/day-of-month.d.ts +0 -1
- package/datepicker/chronos/units/day-of-week.d.ts +0 -20
- package/datepicker/chronos/units/day-of-year.d.ts +0 -3
- package/datepicker/chronos/units/hour.d.ts +0 -1
- package/datepicker/chronos/units/index.d.ts +0 -18
- package/datepicker/chronos/units/millisecond.d.ts +0 -1
- package/datepicker/chronos/units/minute.d.ts +0 -1
- package/datepicker/chronos/units/month.d.ts +0 -2
- package/datepicker/chronos/units/offset.d.ts +0 -10
- package/datepicker/chronos/units/priorities.d.ts +0 -1
- package/datepicker/chronos/units/quarter.d.ts +0 -3
- package/datepicker/chronos/units/second.d.ts +0 -1
- package/datepicker/chronos/units/timestamp.d.ts +0 -1
- package/datepicker/chronos/units/timezone.d.ts +0 -3
- package/datepicker/chronos/units/week-calendar-utils.d.ts +0 -9
- package/datepicker/chronos/units/week-year.d.ts +0 -8
- package/datepicker/chronos/units/week.d.ts +0 -6
- package/datepicker/chronos/units/year.d.ts +0 -4
- package/datepicker/chronos/utils/abs-ceil.d.ts +0 -1
- package/datepicker/chronos/utils/abs-round.d.ts +0 -1
- package/datepicker/chronos/utils/compare-arrays.d.ts +0 -1
- package/datepicker/chronos/utils/date-compare.d.ts +0 -9
- package/datepicker/chronos/utils/date-getters.d.ts +0 -18
- package/datepicker/chronos/utils/date-setters.d.ts +0 -12
- package/datepicker/chronos/utils/defaults.d.ts +0 -1
- package/datepicker/chronos/utils/start-end-of.d.ts +0 -3
- package/datepicker/chronos/utils/type-checks.d.ts +0 -12
- package/datepicker/chronos/utils/zero-fill.d.ts +0 -1
- package/datepicker/chronos/utils.d.ts +0 -2
- package/datepicker/component-loader/bs-component-ref.class.d.ts +0 -5
- package/datepicker/component-loader/component-loader.class.d.ts +0 -75
- package/datepicker/component-loader/component-loader.factory.d.ts +0 -21
- package/datepicker/component-loader/content-ref.class.d.ts +0 -7
- package/datepicker/component-loader/index.d.ts +0 -1
- package/datepicker/component-loader/listen-options.model.d.ts +0 -11
- package/datepicker/component-loader/public_api.d.ts +0 -4
- package/datepicker/date-formatter.d.ts +0 -3
- package/datepicker/datepicker-animations.d.ts +0 -3
- package/datepicker/datepicker-inner.component.d.ts +0 -78
- package/datepicker/datepicker.component.d.ts +0 -81
- package/datepicker/datepicker.config.d.ts +0 -22
- package/datepicker/datepicker.module.d.ts +0 -15
- package/datepicker/daypicker.component.d.ts +0 -17
- package/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/datepicker/engine/flag-months-calendar.d.ts +0 -12
- package/datepicker/engine/flag-years-calendar.d.ts +0 -12
- package/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/datepicker/engine/view-mode.d.ts +0 -2
- package/datepicker/index.d.ts +0 -1
- package/datepicker/mini-ngrx/index.d.ts +0 -1
- package/datepicker/mini-ngrx/public_api.d.ts +0 -7
- package/datepicker/mini-ngrx/state.class.d.ts +0 -8
- package/datepicker/mini-ngrx/store.class.d.ts +0 -16
- package/datepicker/models/index.d.ts +0 -102
- package/datepicker/monthpicker.component.d.ts +0 -14
- package/datepicker/positioning/index.d.ts +0 -1
- package/datepicker/positioning/models/index.d.ts +0 -41
- package/datepicker/positioning/modifiers/arrow.d.ts +0 -2
- package/datepicker/positioning/modifiers/flip.d.ts +0 -2
- package/datepicker/positioning/modifiers/index.d.ts +0 -5
- package/datepicker/positioning/modifiers/initData.d.ts +0 -2
- package/datepicker/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/datepicker/positioning/modifiers/shift.d.ts +0 -2
- package/datepicker/positioning/ng-positioning.d.ts +0 -8
- package/datepicker/positioning/positioning.service.d.ts +0 -48
- package/datepicker/positioning/public_api.d.ts +0 -2
- package/datepicker/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/datepicker/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/datepicker/positioning/utils/getBordersSize.d.ts +0 -4
- package/datepicker/positioning/utils/getBoundaries.d.ts +0 -1
- package/datepicker/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/datepicker/positioning/utils/getClientRect.d.ts +0 -5
- package/datepicker/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/datepicker/positioning/utils/getOffsetParent.d.ts +0 -1
- package/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/datepicker/positioning/utils/getOffsets.d.ts +0 -2
- package/datepicker/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/datepicker/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/datepicker/positioning/utils/getOuterSizes.d.ts +0 -7
- package/datepicker/positioning/utils/getParentNode.d.ts +0 -4
- package/datepicker/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/datepicker/positioning/utils/getRoot.d.ts +0 -4
- package/datepicker/positioning/utils/getScroll.d.ts +0 -4
- package/datepicker/positioning/utils/getScrollParent.d.ts +0 -1
- package/datepicker/positioning/utils/getStyleComputedProperty.d.ts +0 -4
- package/datepicker/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/datepicker/positioning/utils/getWindowSizes.d.ts +0 -4
- package/datepicker/positioning/utils/includeScroll.d.ts +0 -2
- package/datepicker/positioning/utils/index.d.ts +0 -23
- package/datepicker/positioning/utils/isBrowser.d.ts +0 -1
- package/datepicker/positioning/utils/isFixed.d.ts +0 -1
- package/datepicker/positioning/utils/isIE.d.ts +0 -1
- package/datepicker/positioning/utils/isModifierEnabled.d.ts +0 -4
- package/datepicker/positioning/utils/isNumeric.d.ts +0 -4
- package/datepicker/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/datepicker/positioning/utils/setStyles.d.ts +0 -5
- package/datepicker/positioning/utils/updateContainerClass.d.ts +0 -6
- package/datepicker/public_api.d.ts +0 -25
- package/datepicker/reducer/_defaults.d.ts +0 -2
- package/datepicker/reducer/bs-datepicker.actions.d.ts +0 -46
- package/datepicker/reducer/bs-datepicker.effects.d.ts +0 -41
- package/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/datepicker/reducer/bs-datepicker.state.d.ts +0 -43
- package/datepicker/reducer/bs-datepicker.store.d.ts +0 -8
- package/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -5
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -6
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -17
- package/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -36
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -14
- package/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -12
- package/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -40
- package/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -13
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -26
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -16
- package/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -8
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -16
- package/datepicker/utils/bs-calendar-utils.d.ts +0 -10
- package/datepicker/utils/matrix-utils.d.ts +0 -9
- package/datepicker/utils-v2/decorators.d.ts +0 -1
- package/datepicker/utils-v2/facade/browser.d.ts +0 -23
- package/datepicker/utils-v2/index.d.ts +0 -1
- package/datepicker/utils-v2/linked-list.class.d.ts +0 -26
- package/datepicker/utils-v2/public_api.d.ts +0 -10
- package/datepicker/utils-v2/theme-provider.d.ts +0 -2
- package/datepicker/utils-v2/trigger.class.d.ts +0 -6
- package/datepicker/utils-v2/triggers.d.ts +0 -18
- package/datepicker/utils-v2/utils.class.d.ts +0 -4
- package/datepicker/utils-v2/warn-once.d.ts +0 -1
- package/datepicker/yearpicker.component.d.ts +0 -14
- package/esm2020/datepicker/base/bs-datepicker-container.mjs +0 -47
- package/esm2020/datepicker/bs-datepicker-inline.component.mjs +0 -137
- package/esm2020/datepicker/bs-datepicker-inline.config.mjs +0 -14
- package/esm2020/datepicker/bs-datepicker-input.directive.mjs +0 -160
- package/esm2020/datepicker/bs-datepicker.component.mjs +0 -254
- package/esm2020/datepicker/bs-datepicker.config.mjs +0 -87
- package/esm2020/datepicker/bs-datepicker.module.mjs +0 -126
- package/esm2020/datepicker/bs-daterangepicker-inline.component.mjs +0 -134
- package/esm2020/datepicker/bs-daterangepicker-inline.config.mjs +0 -21
- package/esm2020/datepicker/bs-daterangepicker-input.directive.mjs +0 -192
- package/esm2020/datepicker/bs-daterangepicker.component.mjs +0 -240
- package/esm2020/datepicker/bs-daterangepicker.config.mjs +0 -19
- package/esm2020/datepicker/bs-locale.service.mjs +0 -32
- package/esm2020/datepicker/chronos/create/check-overflow.mjs +0 -30
- package/esm2020/datepicker/chronos/create/clone.mjs +0 -6
- package/esm2020/datepicker/chronos/create/date-from-array.mjs +0 -17
- package/esm2020/datepicker/chronos/create/from-anything.mjs +0 -107
- package/esm2020/datepicker/chronos/create/from-array.mjs +0 -136
- package/esm2020/datepicker/chronos/create/from-object.mjs +0 -17
- package/esm2020/datepicker/chronos/create/from-string-and-array.mjs +0 -38
- package/esm2020/datepicker/chronos/create/from-string-and-format.mjs +0 -106
- package/esm2020/datepicker/chronos/create/from-string.mjs +0 -227
- package/esm2020/datepicker/chronos/create/local.mjs +0 -16
- package/esm2020/datepicker/chronos/create/parsing-flags.mjs +0 -26
- package/esm2020/datepicker/chronos/create/parsing.types.mjs +0 -2
- package/esm2020/datepicker/chronos/create/valid.mjs +0 -42
- package/esm2020/datepicker/chronos/duration/bubble.mjs +0 -47
- package/esm2020/datepicker/chronos/duration/constructor.mjs +0 -130
- package/esm2020/datepicker/chronos/duration/create.mjs +0 -113
- package/esm2020/datepicker/chronos/duration/humanize.mjs +0 -80
- package/esm2020/datepicker/chronos/duration/valid.mjs +0 -43
- package/esm2020/datepicker/chronos/format/format.mjs +0 -51
- package/esm2020/datepicker/chronos/format.mjs +0 -46
- package/esm2020/datepicker/chronos/i18n/ar.mjs +0 -128
- package/esm2020/datepicker/chronos/i18n/bg.mjs +0 -94
- package/esm2020/datepicker/chronos/i18n/ca.mjs +0 -91
- package/esm2020/datepicker/chronos/i18n/cs.mjs +0 -179
- package/esm2020/datepicker/chronos/i18n/da.mjs +0 -50
- package/esm2020/datepicker/chronos/i18n/de.mjs +0 -72
- package/esm2020/datepicker/chronos/i18n/en-gb.mjs +0 -61
- package/esm2020/datepicker/chronos/i18n/es-do.mjs +0 -85
- package/esm2020/datepicker/chronos/i18n/es-us.mjs +0 -79
- package/esm2020/datepicker/chronos/i18n/es.mjs +0 -84
- package/esm2020/datepicker/chronos/i18n/et.mjs +0 -73
- package/esm2020/datepicker/chronos/i18n/fi.mjs +0 -100
- package/esm2020/datepicker/chronos/i18n/fr.mjs +0 -76
- package/esm2020/datepicker/chronos/i18n/gl.mjs +0 -84
- package/esm2020/datepicker/chronos/i18n/he.mjs +0 -98
- package/esm2020/datepicker/chronos/i18n/hi.mjs +0 -124
- package/esm2020/datepicker/chronos/i18n/hr.mjs +0 -62
- package/esm2020/datepicker/chronos/i18n/hu.mjs +0 -104
- package/esm2020/datepicker/chronos/i18n/id.mjs +0 -83
- package/esm2020/datepicker/chronos/i18n/it.mjs +0 -65
- package/esm2020/datepicker/chronos/i18n/ja.mjs +0 -75
- package/esm2020/datepicker/chronos/i18n/ka.mjs +0 -87
- package/esm2020/datepicker/chronos/i18n/kk.mjs +0 -76
- package/esm2020/datepicker/chronos/i18n/ko.mjs +0 -77
- package/esm2020/datepicker/chronos/i18n/lt.mjs +0 -116
- package/esm2020/datepicker/chronos/i18n/lv.mjs +0 -56
- package/esm2020/datepicker/chronos/i18n/mn.mjs +0 -99
- package/esm2020/datepicker/chronos/i18n/nb.mjs +0 -53
- package/esm2020/datepicker/chronos/i18n/nl-be.mjs +0 -81
- package/esm2020/datepicker/chronos/i18n/nl.mjs +0 -80
- package/esm2020/datepicker/chronos/i18n/pl.mjs +0 -126
- package/esm2020/datepicker/chronos/i18n/pt-br.mjs +0 -56
- package/esm2020/datepicker/chronos/i18n/ro.mjs +0 -66
- package/esm2020/datepicker/chronos/i18n/ru.mjs +0 -181
- package/esm2020/datepicker/chronos/i18n/sk.mjs +0 -157
- package/esm2020/datepicker/chronos/i18n/sl.mjs +0 -184
- package/esm2020/datepicker/chronos/i18n/sq.mjs +0 -54
- package/esm2020/datepicker/chronos/i18n/sv.mjs +0 -63
- package/esm2020/datepicker/chronos/i18n/th-be.mjs +0 -74
- package/esm2020/datepicker/chronos/i18n/th.mjs +0 -59
- package/esm2020/datepicker/chronos/i18n/tr.mjs +0 -82
- package/esm2020/datepicker/chronos/i18n/uk.mjs +0 -147
- package/esm2020/datepicker/chronos/i18n/vi.mjs +0 -74
- package/esm2020/datepicker/chronos/i18n/zh-cn.mjs +0 -114
- package/esm2020/datepicker/chronos/index.mjs +0 -2
- package/esm2020/datepicker/chronos/locale/calendar.mjs +0 -9
- package/esm2020/datepicker/chronos/locale/locale.class.mjs +0 -532
- package/esm2020/datepicker/chronos/locale/locale.defaults.mjs +0 -40
- package/esm2020/datepicker/chronos/locale/locales.mjs +0 -229
- package/esm2020/datepicker/chronos/moment/add-subtract.mjs +0 -35
- package/esm2020/datepicker/chronos/moment/calendar.mjs +0 -41
- package/esm2020/datepicker/chronos/moment/diff.mjs +0 -70
- package/esm2020/datepicker/chronos/moment/min-max.mjs +0 -38
- package/esm2020/datepicker/chronos/parse/regex.mjs +0 -49
- package/esm2020/datepicker/chronos/parse/token.mjs +0 -32
- package/esm2020/datepicker/chronos/public_api.mjs +0 -56
- package/esm2020/datepicker/chronos/test/chain.mjs +0 -711
- package/esm2020/datepicker/chronos/types.mjs +0 -2
- package/esm2020/datepicker/chronos/units/aliases.mjs +0 -35
- package/esm2020/datepicker/chronos/units/constants.mjs +0 -11
- package/esm2020/datepicker/chronos/units/day-of-month.mjs +0 -31
- package/esm2020/datepicker/chronos/units/day-of-week.mjs +0 -129
- package/esm2020/datepicker/chronos/units/day-of-year.mjs +0 -37
- package/esm2020/datepicker/chronos/units/hour.mjs +0 -127
- package/esm2020/datepicker/chronos/units/index.mjs +0 -19
- package/esm2020/datepicker/chronos/units/millisecond.mjs +0 -60
- package/esm2020/datepicker/chronos/units/minute.mjs +0 -23
- package/esm2020/datepicker/chronos/units/month.mjs +0 -63
- package/esm2020/datepicker/chronos/units/offset.mjs +0 -210
- package/esm2020/datepicker/chronos/units/priorities.mjs +0 -21
- package/esm2020/datepicker/chronos/units/quarter.mjs +0 -39
- package/esm2020/datepicker/chronos/units/second.mjs +0 -23
- package/esm2020/datepicker/chronos/units/timestamp.mjs +0 -28
- package/esm2020/datepicker/chronos/units/timezone.mjs +0 -19
- package/esm2020/datepicker/chronos/units/week-calendar-utils.mjs +0 -70
- package/esm2020/datepicker/chronos/units/week-year.mjs +0 -101
- package/esm2020/datepicker/chronos/units/week.mjs +0 -58
- package/esm2020/datepicker/chronos/units/year.mjs +0 -60
- package/esm2020/datepicker/chronos/utils/abs-ceil.mjs +0 -4
- package/esm2020/datepicker/chronos/utils/abs-round.mjs +0 -4
- package/esm2020/datepicker/chronos/utils/compare-arrays.mjs +0 -16
- package/esm2020/datepicker/chronos/utils/date-compare.mjs +0 -55
- package/esm2020/datepicker/chronos/utils/date-getters.mjs +0 -67
- package/esm2020/datepicker/chronos/utils/date-setters.mjs +0 -75
- package/esm2020/datepicker/chronos/utils/defaults.mjs +0 -11
- package/esm2020/datepicker/chronos/utils/start-end-of.mjs +0 -57
- package/esm2020/datepicker/chronos/utils/type-checks.mjs +0 -56
- package/esm2020/datepicker/chronos/utils/zero-fill.mjs +0 -10
- package/esm2020/datepicker/chronos/utils.mjs +0 -7
- package/esm2020/datepicker/component-loader/bs-component-ref.class.mjs +0 -3
- package/esm2020/datepicker/component-loader/component-loader.class.mjs +0 -272
- package/esm2020/datepicker/component-loader/component-loader.factory.mjs +0 -29
- package/esm2020/datepicker/component-loader/content-ref.class.mjs +0 -12
- package/esm2020/datepicker/component-loader/index.mjs +0 -2
- package/esm2020/datepicker/component-loader/listen-options.model.mjs +0 -2
- package/esm2020/datepicker/component-loader/public_api.mjs +0 -5
- package/esm2020/datepicker/date-formatter.mjs +0 -7
- package/esm2020/datepicker/datepicker-animations.mjs +0 -16
- package/esm2020/datepicker/datepicker-inner.component.mjs +0 -323
- package/esm2020/datepicker/datepicker.component.mjs +0 -182
- package/esm2020/datepicker/datepicker.config.mjs +0 -32
- package/esm2020/datepicker/datepicker.module.mjs +0 -49
- package/esm2020/datepicker/daypicker.component.mjs +0 -314
- package/esm2020/datepicker/engine/calc-days-calendar.mjs +0 -19
- package/esm2020/datepicker/engine/flag-days-calendar.mjs +0 -91
- package/esm2020/datepicker/engine/flag-months-calendar.mjs +0 -41
- package/esm2020/datepicker/engine/flag-years-calendar.mjs +0 -39
- package/esm2020/datepicker/engine/format-days-calendar.mjs +0 -29
- package/esm2020/datepicker/engine/format-months-calendar.mjs +0 -19
- package/esm2020/datepicker/engine/format-years-calendar.mjs +0 -35
- package/esm2020/datepicker/engine/view-mode.mjs +0 -4
- package/esm2020/datepicker/index.mjs +0 -2
- package/esm2020/datepicker/mini-ngrx/index.mjs +0 -2
- package/esm2020/datepicker/mini-ngrx/public_api.mjs +0 -3
- package/esm2020/datepicker/mini-ngrx/state.class.mjs +0 -16
- package/esm2020/datepicker/mini-ngrx/store.class.mjs +0 -43
- package/esm2020/datepicker/mis-crystal-design-system-datepicker.mjs +0 -5
- package/esm2020/datepicker/models/index.mjs +0 -9
- package/esm2020/datepicker/monthpicker.component.mjs +0 -145
- package/esm2020/datepicker/positioning/index.mjs +0 -2
- package/esm2020/datepicker/positioning/models/index.mjs +0 -2
- package/esm2020/datepicker/positioning/modifiers/arrow.mjs +0 -56
- package/esm2020/datepicker/positioning/modifiers/flip.mjs +0 -66
- package/esm2020/datepicker/positioning/modifiers/index.mjs +0 -6
- package/esm2020/datepicker/positioning/modifiers/initData.mjs +0 -42
- package/esm2020/datepicker/positioning/modifiers/preventOverflow.mjs +0 -59
- package/esm2020/datepicker/positioning/modifiers/shift.mjs +0 -24
- package/esm2020/datepicker/positioning/ng-positioning.mjs +0 -30
- package/esm2020/datepicker/positioning/positioning.service.mjs +0 -75
- package/esm2020/datepicker/positioning/public_api.mjs +0 -3
- package/esm2020/datepicker/positioning/utils/computeAutoPlacement.mjs +0 -57
- package/esm2020/datepicker/positioning/utils/findCommonOffsetParent.mjs +0 -40
- package/esm2020/datepicker/positioning/utils/getBordersSize.mjs +0 -10
- package/esm2020/datepicker/positioning/utils/getBoundaries.mjs +0 -56
- package/esm2020/datepicker/positioning/utils/getBoundingClientRect.mjs +0 -55
- package/esm2020/datepicker/positioning/utils/getClientRect.mjs +0 -8
- package/esm2020/datepicker/positioning/utils/getFixedPositionOffsetParent.mjs +0 -17
- package/esm2020/datepicker/positioning/utils/getOffsetParent.mjs +0 -32
- package/esm2020/datepicker/positioning/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -51
- package/esm2020/datepicker/positioning/utils/getOffsets.mjs +0 -11
- package/esm2020/datepicker/positioning/utils/getOppositePlacement.mjs +0 -8
- package/esm2020/datepicker/positioning/utils/getOppositeVariation.mjs +0 -13
- package/esm2020/datepicker/positioning/utils/getOuterSizes.mjs +0 -14
- package/esm2020/datepicker/positioning/utils/getParentNode.mjs +0 -10
- package/esm2020/datepicker/positioning/utils/getReferenceOffsets.mjs +0 -13
- package/esm2020/datepicker/positioning/utils/getRoot.mjs +0 -10
- package/esm2020/datepicker/positioning/utils/getScroll.mjs +0 -14
- package/esm2020/datepicker/positioning/utils/getScrollParent.mjs +0 -26
- package/esm2020/datepicker/positioning/utils/getStyleComputedProperty.mjs +0 -13
- package/esm2020/datepicker/positioning/utils/getTargetOffsets.mjs +0 -30
- package/esm2020/datepicker/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -19
- package/esm2020/datepicker/positioning/utils/getWindowSizes.mjs +0 -18
- package/esm2020/datepicker/positioning/utils/includeScroll.mjs +0 -15
- package/esm2020/datepicker/positioning/utils/index.mjs +0 -24
- package/esm2020/datepicker/positioning/utils/isBrowser.mjs +0 -2
- package/esm2020/datepicker/positioning/utils/isFixed.mjs +0 -16
- package/esm2020/datepicker/positioning/utils/isIE.mjs +0 -16
- package/esm2020/datepicker/positioning/utils/isModifierEnabled.mjs +0 -10
- package/esm2020/datepicker/positioning/utils/isNumeric.mjs +0 -7
- package/esm2020/datepicker/positioning/utils/isOffsetContainer.mjs +0 -9
- package/esm2020/datepicker/positioning/utils/setStyles.mjs +0 -17
- package/esm2020/datepicker/positioning/utils/updateContainerClass.mjs +0 -22
- package/esm2020/datepicker/public_api.mjs +0 -25
- package/esm2020/datepicker/reducer/_defaults.mjs +0 -5
- package/esm2020/datepicker/reducer/bs-datepicker.actions.mjs +0 -136
- package/esm2020/datepicker/reducer/bs-datepicker.effects.mjs +0 -169
- package/esm2020/datepicker/reducer/bs-datepicker.reducer.mjs +0 -302
- package/esm2020/datepicker/reducer/bs-datepicker.state.mjs +0 -12
- package/esm2020/datepicker/reducer/bs-datepicker.store.mjs +0 -21
- package/esm2020/datepicker/themes/bs/bs-calendar-layout.component.mjs +0 -54
- package/esm2020/datepicker/themes/bs/bs-current-date-view.component.mjs +0 -23
- package/esm2020/datepicker/themes/bs/bs-custom-dates-view.component.mjs +0 -78
- package/esm2020/datepicker/themes/bs/bs-datepicker-container.component.mjs +0 -319
- package/esm2020/datepicker/themes/bs/bs-datepicker-day-decorator.directive.mjs +0 -52
- package/esm2020/datepicker/themes/bs/bs-datepicker-inline-container.component.mjs +0 -203
- package/esm2020/datepicker/themes/bs/bs-datepicker-navigation-view.component.mjs +0 -111
- package/esm2020/datepicker/themes/bs/bs-daterangepicker-container.component.mjs +0 -362
- package/esm2020/datepicker/themes/bs/bs-daterangepicker-inline-container.component.mjs +0 -203
- package/esm2020/datepicker/themes/bs/bs-days-calendar-view.component.mjs +0 -308
- package/esm2020/datepicker/themes/bs/bs-months-calendar-view.component.mjs +0 -106
- package/esm2020/datepicker/themes/bs/bs-timepicker-view.component.mjs +0 -64
- package/esm2020/datepicker/themes/bs/bs-years-calendar-view.component.mjs +0 -107
- package/esm2020/datepicker/utils/bs-calendar-utils.mjs +0 -43
- package/esm2020/datepicker/utils/matrix-utils.mjs +0 -14
- package/esm2020/datepicker/utils-v2/decorators.mjs +0 -25
- package/esm2020/datepicker/utils-v2/facade/browser.mjs +0 -24
- package/esm2020/datepicker/utils-v2/index.mjs +0 -2
- package/esm2020/datepicker/utils-v2/linked-list.class.mjs +0 -240
- package/esm2020/datepicker/utils-v2/public_api.mjs +0 -11
- package/esm2020/datepicker/utils-v2/theme-provider.mjs +0 -35
- package/esm2020/datepicker/utils-v2/trigger.class.mjs +0 -10
- package/esm2020/datepicker/utils-v2/triggers.mjs +0 -110
- package/esm2020/datepicker/utils-v2/utils.class.mjs +0 -21
- package/esm2020/datepicker/utils-v2/warn-once.mjs +0 -12
- package/esm2020/datepicker/yearpicker.component.mjs +0 -147
- package/fesm2015/mis-crystal-design-system-datepicker.mjs +0 -14950
- package/fesm2015/mis-crystal-design-system-datepicker.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-datepicker.mjs +0 -14572
- package/fesm2020/mis-crystal-design-system-datepicker.mjs.map +0 -1
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { MisDateRangePickerContainerComponent } from './bs-daterangepicker-container.component';
|
|
3
|
-
import { MisDatePickerEffects } from '../../reducer/bs-datepicker.effects';
|
|
4
|
-
import { MisDatePickerStore } from '../../reducer/bs-datepicker.store';
|
|
5
|
-
import { datepickerAnimation } from '../../datepicker-animations';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../bs-datepicker.config";
|
|
8
|
-
import * as i2 from "../../reducer/bs-datepicker.store";
|
|
9
|
-
import * as i3 from "../../reducer/bs-datepicker.actions";
|
|
10
|
-
import * as i4 from "../../reducer/bs-datepicker.effects";
|
|
11
|
-
import * as i5 from "../../positioning";
|
|
12
|
-
import * as i6 from "@angular/common";
|
|
13
|
-
import * as i7 from "./bs-custom-dates-view.component";
|
|
14
|
-
import * as i8 from "./bs-days-calendar-view.component";
|
|
15
|
-
import * as i9 from "./bs-months-calendar-view.component";
|
|
16
|
-
import * as i10 from "./bs-years-calendar-view.component";
|
|
17
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
19
|
-
i0.ɵɵelementStart(0, "mis-days-calendar-view", 9);
|
|
20
|
-
i0.ɵɵlistener("onNavigate", function MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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)); });
|
|
21
|
-
i0.ɵɵpipe(1, "async");
|
|
22
|
-
i0.ɵɵpipe(2, "async");
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} if (rf & 2) {
|
|
25
|
-
const calendar_r8 = ctx.$implicit;
|
|
26
|
-
const ctx_r7 = i0.ɵɵnextContext(3);
|
|
27
|
-
let tmp_0_0;
|
|
28
|
-
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 4, ctx_r7.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
29
|
-
i0.ɵɵproperty("calendar", calendar_r8)("options", i0.ɵɵpipeBind1(2, 6, ctx_r7.options));
|
|
30
|
-
} }
|
|
31
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
33
|
-
i0.ɵɵtemplate(1, MisDateRangePickerInlineContainerComponent_div_0_div_4_mis_days_calendar_view_1_Template, 3, 8, "mis-days-calendar-view", 8);
|
|
34
|
-
i0.ɵɵpipe(2, "async");
|
|
35
|
-
i0.ɵɵelementEnd();
|
|
36
|
-
} if (rf & 2) {
|
|
37
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
38
|
-
i0.ɵɵadvance(1);
|
|
39
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r1.daysCalendar));
|
|
40
|
-
} }
|
|
41
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
-
const _r18 = i0.ɵɵgetCurrentView();
|
|
43
|
-
i0.ɵɵelementStart(0, "mis-month-calendar-view", 11);
|
|
44
|
-
i0.ɵɵlistener("onNavigate", function MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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)); });
|
|
45
|
-
i0.ɵɵpipe(1, "async");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
47
|
-
} if (rf & 2) {
|
|
48
|
-
const calendar_r16 = ctx.$implicit;
|
|
49
|
-
const ctx_r15 = i0.ɵɵnextContext(3);
|
|
50
|
-
let tmp_0_0;
|
|
51
|
-
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r15.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
52
|
-
i0.ɵɵproperty("calendar", calendar_r16);
|
|
53
|
-
} }
|
|
54
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
56
|
-
i0.ɵɵtemplate(1, MisDateRangePickerInlineContainerComponent_div_0_div_5_mis_month_calendar_view_1_Template, 2, 5, "mis-month-calendar-view", 10);
|
|
57
|
-
i0.ɵɵpipe(2, "async");
|
|
58
|
-
i0.ɵɵelementEnd();
|
|
59
|
-
} if (rf & 2) {
|
|
60
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
61
|
-
i0.ɵɵadvance(1);
|
|
62
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r2.monthsCalendar));
|
|
63
|
-
} }
|
|
64
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
const _r25 = i0.ɵɵgetCurrentView();
|
|
66
|
-
i0.ɵɵelementStart(0, "mis-years-calendar-view", 11);
|
|
67
|
-
i0.ɵɵlistener("onNavigate", function MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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 MisDateRangePickerInlineContainerComponent_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)); });
|
|
68
|
-
i0.ɵɵpipe(1, "async");
|
|
69
|
-
i0.ɵɵelementEnd();
|
|
70
|
-
} if (rf & 2) {
|
|
71
|
-
const calendar_r23 = ctx.$implicit;
|
|
72
|
-
const ctx_r22 = i0.ɵɵnextContext(3);
|
|
73
|
-
let tmp_0_0;
|
|
74
|
-
i0.ɵɵclassProp("bs-datepicker-multiple", ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r22.daysCalendar)) == null ? null : tmp_0_0.length) > 1);
|
|
75
|
-
i0.ɵɵproperty("calendar", calendar_r23);
|
|
76
|
-
} }
|
|
77
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
79
|
-
i0.ɵɵtemplate(1, MisDateRangePickerInlineContainerComponent_div_0_div_6_mis_years_calendar_view_1_Template, 2, 5, "mis-years-calendar-view", 10);
|
|
80
|
-
i0.ɵɵpipe(2, "async");
|
|
81
|
-
i0.ɵɵelementEnd();
|
|
82
|
-
} if (rf & 2) {
|
|
83
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
84
|
-
i0.ɵɵadvance(1);
|
|
85
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r3.yearsCalendar));
|
|
86
|
-
} }
|
|
87
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
-
const _r30 = i0.ɵɵgetCurrentView();
|
|
89
|
-
i0.ɵɵelementStart(0, "div", 12)(1, "button", 13);
|
|
90
|
-
i0.ɵɵlistener("click", function MisDateRangePickerInlineContainerComponent_div_0_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.cancel()); });
|
|
91
|
-
i0.ɵɵtext(2, "Cancel");
|
|
92
|
-
i0.ɵɵelementEnd();
|
|
93
|
-
i0.ɵɵelementStart(3, "button", 14);
|
|
94
|
-
i0.ɵɵlistener("click", function MisDateRangePickerInlineContainerComponent_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)); });
|
|
95
|
-
i0.ɵɵtext(4, "Apply");
|
|
96
|
-
i0.ɵɵelementEnd()();
|
|
97
|
-
} }
|
|
98
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
-
const _r35 = i0.ɵɵgetCurrentView();
|
|
100
|
-
i0.ɵɵelementStart(0, "div", 17)(1, "button", 18);
|
|
101
|
-
i0.ɵɵlistener("click", function MisDateRangePickerInlineContainerComponent_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()); });
|
|
102
|
-
i0.ɵɵtext(2);
|
|
103
|
-
i0.ɵɵelementEnd()();
|
|
104
|
-
} if (rf & 2) {
|
|
105
|
-
const ctx_r32 = i0.ɵɵnextContext(3);
|
|
106
|
-
i0.ɵɵclassProp("today-left", ctx_r32.todayPos === "left")("today-right", ctx_r32.todayPos === "right")("today-center", ctx_r32.todayPos === "center");
|
|
107
|
-
i0.ɵɵadvance(2);
|
|
108
|
-
i0.ɵɵtextInterpolate(ctx_r32.todayBtnLbl);
|
|
109
|
-
} }
|
|
110
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
-
const _r37 = i0.ɵɵgetCurrentView();
|
|
112
|
-
i0.ɵɵelementStart(0, "div", 19)(1, "button", 18);
|
|
113
|
-
i0.ɵɵlistener("click", function MisDateRangePickerInlineContainerComponent_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()); });
|
|
114
|
-
i0.ɵɵtext(2);
|
|
115
|
-
i0.ɵɵelementEnd()();
|
|
116
|
-
} if (rf & 2) {
|
|
117
|
-
const ctx_r33 = i0.ɵɵnextContext(3);
|
|
118
|
-
i0.ɵɵclassProp("clear-left", ctx_r33.clearPos === "left")("clear-right", ctx_r33.clearPos === "right")("clear-center", ctx_r33.clearPos === "center");
|
|
119
|
-
i0.ɵɵadvance(2);
|
|
120
|
-
i0.ɵɵtextInterpolate(ctx_r33.clearBtnLbl);
|
|
121
|
-
} }
|
|
122
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
-
i0.ɵɵelementStart(0, "div", 12);
|
|
124
|
-
i0.ɵɵtemplate(1, MisDateRangePickerInlineContainerComponent_div_0_div_9_div_1_Template, 3, 7, "div", 15);
|
|
125
|
-
i0.ɵɵtemplate(2, MisDateRangePickerInlineContainerComponent_div_0_div_9_div_2_Template, 3, 7, "div", 16);
|
|
126
|
-
i0.ɵɵelementEnd();
|
|
127
|
-
} if (rf & 2) {
|
|
128
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
129
|
-
i0.ɵɵadvance(1);
|
|
130
|
-
i0.ɵɵproperty("ngIf", ctx_r5.showTodayBtn);
|
|
131
|
-
i0.ɵɵadvance(1);
|
|
132
|
-
i0.ɵɵproperty("ngIf", ctx_r5.showClearBtn);
|
|
133
|
-
} }
|
|
134
|
-
function MisDateRangePickerInlineContainerComponent_div_0_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
-
const _r39 = i0.ɵɵgetCurrentView();
|
|
136
|
-
i0.ɵɵelementStart(0, "div", 20)(1, "mis-custom-date-view", 21);
|
|
137
|
-
i0.ɵɵlistener("onSelect", function MisDateRangePickerInlineContainerComponent_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)); });
|
|
138
|
-
i0.ɵɵelementEnd()();
|
|
139
|
-
} if (rf & 2) {
|
|
140
|
-
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
141
|
-
i0.ɵɵadvance(1);
|
|
142
|
-
i0.ɵɵproperty("selectedRange", ctx_r6.chosenRange)("ranges", ctx_r6.customRanges)("customRangeLabel", ctx_r6.customRangeBtnLbl);
|
|
143
|
-
} }
|
|
144
|
-
function MisDateRangePickerInlineContainerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
145
|
-
const _r41 = i0.ɵɵgetCurrentView();
|
|
146
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
147
|
-
i0.ɵɵlistener("@datepickerAnimation.done", function MisDateRangePickerInlineContainerComponent_div_0_Template_div_animation_datepickerAnimation_done_1_listener() { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r40.positionServiceEnable()); });
|
|
148
|
-
i0.ɵɵelementStart(2, "div", 3);
|
|
149
|
-
i0.ɵɵpipe(3, "async");
|
|
150
|
-
i0.ɵɵtemplate(4, MisDateRangePickerInlineContainerComponent_div_0_div_4_Template, 3, 3, "div", 4);
|
|
151
|
-
i0.ɵɵtemplate(5, MisDateRangePickerInlineContainerComponent_div_0_div_5_Template, 3, 3, "div", 4);
|
|
152
|
-
i0.ɵɵtemplate(6, MisDateRangePickerInlineContainerComponent_div_0_div_6_Template, 3, 3, "div", 4);
|
|
153
|
-
i0.ɵɵelementEnd();
|
|
154
|
-
i0.ɵɵtemplate(7, MisDateRangePickerInlineContainerComponent_div_0_div_7_Template, 5, 0, "div", 5);
|
|
155
|
-
i0.ɵɵpipe(8, "async");
|
|
156
|
-
i0.ɵɵtemplate(9, MisDateRangePickerInlineContainerComponent_div_0_div_9_Template, 3, 2, "div", 5);
|
|
157
|
-
i0.ɵɵelementEnd();
|
|
158
|
-
i0.ɵɵtemplate(10, MisDateRangePickerInlineContainerComponent_div_0_div_10_Template, 2, 3, "div", 6);
|
|
159
|
-
i0.ɵɵelementEnd();
|
|
160
|
-
} if (rf & 2) {
|
|
161
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
162
|
-
let tmp_6_0;
|
|
163
|
-
i0.ɵɵproperty("ngClass", ctx_r0.containerClass);
|
|
164
|
-
i0.ɵɵadvance(1);
|
|
165
|
-
i0.ɵɵproperty("@datepickerAnimation", ctx_r0.animationState);
|
|
166
|
-
i0.ɵɵadvance(1);
|
|
167
|
-
i0.ɵɵproperty("ngSwitch", i0.ɵɵpipeBind1(3, 9, ctx_r0.viewMode));
|
|
168
|
-
i0.ɵɵadvance(2);
|
|
169
|
-
i0.ɵɵproperty("ngSwitchCase", "day");
|
|
170
|
-
i0.ɵɵadvance(1);
|
|
171
|
-
i0.ɵɵproperty("ngSwitchCase", "month");
|
|
172
|
-
i0.ɵɵadvance(1);
|
|
173
|
-
i0.ɵɵproperty("ngSwitchCase", "year");
|
|
174
|
-
i0.ɵɵadvance(1);
|
|
175
|
-
i0.ɵɵproperty("ngIf", ((tmp_6_0 = i0.ɵɵpipeBind1(8, 11, ctx_r0.daysCalendar)) == null ? null : tmp_6_0.length) > 1);
|
|
176
|
-
i0.ɵɵadvance(2);
|
|
177
|
-
i0.ɵɵproperty("ngIf", ctx_r0.showTodayBtn || ctx_r0.showClearBtn);
|
|
178
|
-
i0.ɵɵadvance(1);
|
|
179
|
-
i0.ɵɵproperty("ngIf", (ctx_r0.customRanges == null ? null : ctx_r0.customRanges.length) > 0);
|
|
180
|
-
} }
|
|
181
|
-
export class MisDateRangePickerInlineContainerComponent extends MisDateRangePickerContainerComponent {
|
|
182
|
-
constructor(_renderer, _config, _store, _element, _actions, _effects, _positioningService) {
|
|
183
|
-
super(_renderer, _config, _store, _element, _actions, _effects, _positioningService);
|
|
184
|
-
_renderer.setStyle(_element.nativeElement, 'display', 'inline-block');
|
|
185
|
-
_renderer.setStyle(_element.nativeElement, 'position', 'static');
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
MisDateRangePickerInlineContainerComponent.ɵfac = function MisDateRangePickerInlineContainerComponent_Factory(t) { return new (t || MisDateRangePickerInlineContainerComponent)(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)); };
|
|
189
|
-
MisDateRangePickerInlineContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisDateRangePickerInlineContainerComponent, selectors: [["mis-daterangepicker-inline-container"]], hostBindings: function MisDateRangePickerInlineContainerComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
190
|
-
i0.ɵɵlistener("click", function MisDateRangePickerInlineContainerComponent_click_HostBindingHandler($event) { return ctx._stopPropagation($event); });
|
|
191
|
-
} }, 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 MisDateRangePickerInlineContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
-
i0.ɵɵtemplate(0, MisDateRangePickerInlineContainerComponent_div_0_Template, 11, 13, "div", 0);
|
|
193
|
-
i0.ɵɵpipe(1, "async");
|
|
194
|
-
} if (rf & 2) {
|
|
195
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.viewMode));
|
|
196
|
-
} }, 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] } });
|
|
197
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDateRangePickerInlineContainerComponent, [{
|
|
198
|
-
type: Component,
|
|
199
|
-
args: [{ selector: 'mis-daterangepicker-inline-container', providers: [MisDatePickerStore, MisDatePickerEffects], host: {
|
|
200
|
-
'(click)': '_stopPropagation($event)'
|
|
201
|
-
}, 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>" }]
|
|
202
|
-
}], function () { return [{ type: i0.Renderer2 }, { type: i1.MisDatePickerConfig }, { type: i2.MisDatePickerStore }, { type: i0.ElementRef }, { type: i3.MisDatePickerActions }, { type: i4.MisDatePickerEffects }, { type: i5.PositioningService }]; }, null); })();
|
|
203
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF0ZXJhbmdlcGlja2VyLWlubGluZS1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvZGF0ZXBpY2tlci90aGVtZXMvYnMvYnMtZGF0ZXJhbmd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5jbGVhci1jZW50ZXJdPVwiY2xlYXJQb3MgPT09ICdjZW50ZXInXCIgKm5nSWY9XCJzaG93Q2xlYXJCdG5cIj5cbiAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ0biBidG4tc3VjY2Vzc1wiIChjbGljayk9XCJjbGVhckRhdGUoKVwiPnt7Y2xlYXJCdG5MYmx9fTwvYnV0dG9uPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG5cbiAgPC9kaXY+XG5cbiAgPCEtLWN1c3RvbSBkYXRlcyBvciBkYXRlIHJhbmdlcyBwaWNrZXItLT5cbiAgPGRpdiBjbGFzcz1cImJzLWRhdGVwaWNrZXItY3VzdG9tLXJhbmdlXCIgKm5nSWY9XCJjdXN0b21SYW5nZXM/Lmxlbmd0aCA+IDBcIj5cbiAgICA8bWlzLWN1c3RvbS1kYXRlLXZpZXcgW3NlbGVjdGVkUmFuZ2VdPVwiY2hvc2VuUmFuZ2VcIiBbcmFuZ2VzXT1cImN1c3RvbVJhbmdlc1wiIFtjdXN0b21SYW5nZUxhYmVsXT1cImN1c3RvbVJhbmdlQnRuTGJsXCJcbiAgICAgIChvblNlbGVjdCk9XCJzZXRSYW5nZU9uQ2FsZW5kYXIoJGV2ZW50KVwiPlxuICAgIDwvbWlzLWN1c3RvbS1kYXRlLXZpZXc+XG4gIDwvZGl2PlxuPC9kaXY+Il19
|
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { isSameDay } from '../../chronos';
|
|
3
|
-
import { BsNavigationDirection } from '../../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../bs-datepicker.config";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
import * as i3 from "mis-crystal-design-system/tooltip";
|
|
8
|
-
import * as i4 from "./bs-calendar-layout.component";
|
|
9
|
-
import * as i5 from "./bs-datepicker-day-decorator.directive";
|
|
10
|
-
import * as i6 from "./bs-datepicker-navigation-view.component";
|
|
11
|
-
function MisDaysCalendarViewComponent_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
-
i0.ɵɵelement(0, "th");
|
|
13
|
-
} }
|
|
14
|
-
function MisDaysCalendarViewComponent_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
-
i0.ɵɵelementStart(0, "th", 5);
|
|
16
|
-
i0.ɵɵtext(1);
|
|
17
|
-
i0.ɵɵelementEnd();
|
|
18
|
-
} if (rf & 2) {
|
|
19
|
-
const i_r4 = ctx.index;
|
|
20
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
21
|
-
i0.ɵɵadvance(1);
|
|
22
|
-
i0.ɵɵtextInterpolate1("", ctx_r1.calendar.weekdays[i_r4], " ");
|
|
23
|
-
} }
|
|
24
|
-
function MisDaysCalendarViewComponent_tr_8_td_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
const _r13 = i0.ɵɵgetCurrentView();
|
|
26
|
-
i0.ɵɵelementStart(0, "span", 11);
|
|
27
|
-
i0.ɵɵlistener("click", function MisDaysCalendarViewComponent_tr_8_td_1_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r13); const week_r5 = i0.ɵɵnextContext(2).$implicit; const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.selectWeek(week_r5)); });
|
|
28
|
-
i0.ɵɵtext(1);
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
const i_r6 = i0.ɵɵnextContext(2).index;
|
|
32
|
-
const ctx_r9 = i0.ɵɵnextContext();
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
i0.ɵɵtextInterpolate(ctx_r9.calendar.weekNumbers[i_r6]);
|
|
35
|
-
} }
|
|
36
|
-
function MisDaysCalendarViewComponent_tr_8_td_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
const _r17 = i0.ɵɵgetCurrentView();
|
|
38
|
-
i0.ɵɵelementStart(0, "span", 12);
|
|
39
|
-
i0.ɵɵlistener("click", function MisDaysCalendarViewComponent_tr_8_td_1_span_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r17); const week_r5 = i0.ɵɵnextContext(2).$implicit; const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.selectWeek(week_r5)); })("mouseenter", function MisDaysCalendarViewComponent_tr_8_td_1_span_2_Template_span_mouseenter_0_listener() { i0.ɵɵrestoreView(_r17); const week_r5 = i0.ɵɵnextContext(2).$implicit; const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.weekHoverHandler(week_r5, true)); })("mouseleave", function MisDaysCalendarViewComponent_tr_8_td_1_span_2_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r17); const week_r5 = i0.ɵɵnextContext(2).$implicit; const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.weekHoverHandler(week_r5, false)); });
|
|
40
|
-
i0.ɵɵtext(1);
|
|
41
|
-
i0.ɵɵelementEnd();
|
|
42
|
-
} if (rf & 2) {
|
|
43
|
-
const i_r6 = i0.ɵɵnextContext(2).index;
|
|
44
|
-
const ctx_r10 = i0.ɵɵnextContext();
|
|
45
|
-
i0.ɵɵadvance(1);
|
|
46
|
-
i0.ɵɵtextInterpolate(ctx_r10.calendar.weekNumbers[i_r6]);
|
|
47
|
-
} }
|
|
48
|
-
function MisDaysCalendarViewComponent_tr_8_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "td", 8);
|
|
50
|
-
i0.ɵɵtemplate(1, MisDaysCalendarViewComponent_tr_8_td_1_span_1_Template, 2, 1, "span", 9);
|
|
51
|
-
i0.ɵɵtemplate(2, MisDaysCalendarViewComponent_tr_8_td_1_span_2_Template, 2, 1, "span", 10);
|
|
52
|
-
i0.ɵɵelementEnd();
|
|
53
|
-
} if (rf & 2) {
|
|
54
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
55
|
-
i0.ɵɵclassProp("active-week", ctx_r7.isWeekHovered);
|
|
56
|
-
i0.ɵɵadvance(1);
|
|
57
|
-
i0.ɵɵproperty("ngIf", ctx_r7.isiOS);
|
|
58
|
-
i0.ɵɵadvance(1);
|
|
59
|
-
i0.ɵɵproperty("ngIf", !ctx_r7.isiOS);
|
|
60
|
-
} }
|
|
61
|
-
function MisDaysCalendarViewComponent_tr_8_td_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
-
const _r29 = i0.ɵɵgetCurrentView();
|
|
63
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
64
|
-
i0.ɵɵlistener("click", function MisDaysCalendarViewComponent_tr_8_td_2_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r29); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.selectDay(day_r23)); })("mouseenter", function MisDaysCalendarViewComponent_tr_8_td_2_span_1_Template_span_mouseenter_0_listener() { i0.ɵɵrestoreView(_r29); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r30 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r30.hoverDay(day_r23, true)); })("mouseleave", function MisDaysCalendarViewComponent_tr_8_td_2_span_1_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r29); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r32 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r32.hoverDay(day_r23, false)); });
|
|
65
|
-
i0.ɵɵtext(1);
|
|
66
|
-
i0.ɵɵelementEnd();
|
|
67
|
-
} if (rf & 2) {
|
|
68
|
-
const day_r23 = i0.ɵɵnextContext().$implicit;
|
|
69
|
-
i0.ɵɵproperty("day", day_r23)("text", day_r23 == null ? null : day_r23.tooltipText);
|
|
70
|
-
i0.ɵɵadvance(1);
|
|
71
|
-
i0.ɵɵtextInterpolate1("", day_r23.label, " 3");
|
|
72
|
-
} }
|
|
73
|
-
function MisDaysCalendarViewComponent_tr_8_td_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
const _r37 = i0.ɵɵgetCurrentView();
|
|
75
|
-
i0.ɵɵelementStart(0, "span", 18);
|
|
76
|
-
i0.ɵɵlistener("click", function MisDaysCalendarViewComponent_tr_8_td_2_span_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r37); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r35 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r35.selectDay(day_r23)); })("mouseenter", function MisDaysCalendarViewComponent_tr_8_td_2_span_2_Template_span_mouseenter_0_listener() { i0.ɵɵrestoreView(_r37); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r38 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r38.hoverDay(day_r23, true)); })("mouseleave", function MisDaysCalendarViewComponent_tr_8_td_2_span_2_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r37); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r40 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r40.hoverDay(day_r23, false)); });
|
|
77
|
-
i0.ɵɵtext(1);
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
} if (rf & 2) {
|
|
80
|
-
const day_r23 = i0.ɵɵnextContext().$implicit;
|
|
81
|
-
i0.ɵɵproperty("day", day_r23);
|
|
82
|
-
i0.ɵɵadvance(1);
|
|
83
|
-
i0.ɵɵtextInterpolate1("", day_r23.label, " 2");
|
|
84
|
-
} }
|
|
85
|
-
function MisDaysCalendarViewComponent_tr_8_td_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
-
const _r45 = i0.ɵɵgetCurrentView();
|
|
87
|
-
i0.ɵɵelementStart(0, "span", 19);
|
|
88
|
-
i0.ɵɵlistener("click", function MisDaysCalendarViewComponent_tr_8_td_2_span_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r45); const day_r23 = i0.ɵɵnextContext().$implicit; const ctx_r43 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r43.selectDay(day_r23)); });
|
|
89
|
-
i0.ɵɵtext(1);
|
|
90
|
-
i0.ɵɵelementEnd();
|
|
91
|
-
} if (rf & 2) {
|
|
92
|
-
const day_r23 = i0.ɵɵnextContext().$implicit;
|
|
93
|
-
i0.ɵɵproperty("day", day_r23);
|
|
94
|
-
i0.ɵɵadvance(1);
|
|
95
|
-
i0.ɵɵtextInterpolate1("", day_r23.label, " 1");
|
|
96
|
-
} }
|
|
97
|
-
function MisDaysCalendarViewComponent_tr_8_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
i0.ɵɵelementStart(0, "td", 13);
|
|
99
|
-
i0.ɵɵtemplate(1, MisDaysCalendarViewComponent_tr_8_td_2_span_1_Template, 2, 3, "span", 14);
|
|
100
|
-
i0.ɵɵtemplate(2, MisDaysCalendarViewComponent_tr_8_td_2_span_2_Template, 2, 2, "span", 15);
|
|
101
|
-
i0.ɵɵtemplate(3, MisDaysCalendarViewComponent_tr_8_td_2_span_3_Template, 2, 2, "span", 16);
|
|
102
|
-
i0.ɵɵelementEnd();
|
|
103
|
-
} if (rf & 2) {
|
|
104
|
-
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
105
|
-
i0.ɵɵadvance(1);
|
|
106
|
-
i0.ɵɵproperty("ngIf", !ctx_r8.isiOS && ctx_r8.isShowTooltip);
|
|
107
|
-
i0.ɵɵadvance(1);
|
|
108
|
-
i0.ɵɵproperty("ngIf", !ctx_r8.isiOS && !ctx_r8.isShowTooltip);
|
|
109
|
-
i0.ɵɵadvance(1);
|
|
110
|
-
i0.ɵɵproperty("ngIf", ctx_r8.isiOS);
|
|
111
|
-
} }
|
|
112
|
-
function MisDaysCalendarViewComponent_tr_8_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
-
i0.ɵɵelementStart(0, "tr");
|
|
114
|
-
i0.ɵɵtemplate(1, MisDaysCalendarViewComponent_tr_8_td_1_Template, 3, 4, "td", 6);
|
|
115
|
-
i0.ɵɵtemplate(2, MisDaysCalendarViewComponent_tr_8_td_2_Template, 4, 3, "td", 7);
|
|
116
|
-
i0.ɵɵelementEnd();
|
|
117
|
-
} if (rf & 2) {
|
|
118
|
-
const week_r5 = ctx.$implicit;
|
|
119
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
120
|
-
i0.ɵɵadvance(1);
|
|
121
|
-
i0.ɵɵproperty("ngIf", ctx_r2.options.showWeekNumbers);
|
|
122
|
-
i0.ɵɵadvance(1);
|
|
123
|
-
i0.ɵɵproperty("ngForOf", week_r5.days);
|
|
124
|
-
} }
|
|
125
|
-
export class MisDaysCalendarViewComponent {
|
|
126
|
-
constructor(_config) {
|
|
127
|
-
this._config = _config;
|
|
128
|
-
this.onNavigate = new EventEmitter();
|
|
129
|
-
this.onViewMode = new EventEmitter();
|
|
130
|
-
this.onSelect = new EventEmitter();
|
|
131
|
-
this.onHover = new EventEmitter();
|
|
132
|
-
this.onHoverWeek = new EventEmitter();
|
|
133
|
-
this.isiOS = (/iPad|iPhone|iPod/.test(navigator.platform) ||
|
|
134
|
-
(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1));
|
|
135
|
-
if (this._config.dateTooltipTexts && this._config.dateTooltipTexts.length > 0) {
|
|
136
|
-
this.isShowTooltip = true;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
navigateTo(event) {
|
|
140
|
-
const step = BsNavigationDirection.DOWN === event ? -1 : 1;
|
|
141
|
-
this.onNavigate.emit({ step: { month: step } });
|
|
142
|
-
}
|
|
143
|
-
changeViewMode(event) {
|
|
144
|
-
this.onViewMode.emit(event);
|
|
145
|
-
}
|
|
146
|
-
selectDay(event) {
|
|
147
|
-
this.onSelect.emit(event);
|
|
148
|
-
}
|
|
149
|
-
selectWeek(week) {
|
|
150
|
-
if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
if (week.days.length === 0) {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
if (this._config.selectWeek && week.days[0]
|
|
157
|
-
&& !week.days[0].isDisabled
|
|
158
|
-
&& this._config.selectFromOtherMonth) {
|
|
159
|
-
this.onSelect.emit(week.days[0]);
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
const selectedDay = week.days.find((day) => {
|
|
163
|
-
return this._config.selectFromOtherMonth
|
|
164
|
-
? !day.isDisabled
|
|
165
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
166
|
-
});
|
|
167
|
-
this.onSelect.emit(selectedDay);
|
|
168
|
-
if (this._config.selectWeekDateRange) {
|
|
169
|
-
const days = week.days.slice(0);
|
|
170
|
-
const lastDayOfRange = days.reverse().find((day) => {
|
|
171
|
-
return this._config.selectFromOtherMonth
|
|
172
|
-
? !day.isDisabled
|
|
173
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
174
|
-
});
|
|
175
|
-
this.onSelect.emit(lastDayOfRange);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
weekHoverHandler(cell, isHovered) {
|
|
179
|
-
if (!this._config.selectWeek && !this._config.selectWeekDateRange) {
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
const hasActiveDays = cell.days.find((day) => {
|
|
183
|
-
return this._config.selectFromOtherMonth
|
|
184
|
-
? !day.isDisabled
|
|
185
|
-
: !day.isOtherMonth && !day.isDisabled;
|
|
186
|
-
});
|
|
187
|
-
if (hasActiveDays) {
|
|
188
|
-
cell.isHovered = isHovered;
|
|
189
|
-
this.isWeekHovered = isHovered;
|
|
190
|
-
this.onHoverWeek.emit(cell);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
hoverDay(cell, isHovered) {
|
|
194
|
-
if (this._config.selectFromOtherMonth && cell.isOtherMonth) {
|
|
195
|
-
cell.isOtherMonthHovered = isHovered;
|
|
196
|
-
}
|
|
197
|
-
if (this._config.dateTooltipTexts) {
|
|
198
|
-
cell.tooltipText = '';
|
|
199
|
-
this._config.dateTooltipTexts.forEach((dateData) => {
|
|
200
|
-
if (isSameDay(dateData.date, cell.date)) {
|
|
201
|
-
cell.tooltipText = dateData.tooltipText;
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
this.onHover.emit({ cell, isHovered });
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
MisDaysCalendarViewComponent.ɵfac = function MisDaysCalendarViewComponent_Factory(t) { return new (t || MisDaysCalendarViewComponent)(i0.ɵɵdirectiveInject(i1.MisDatePickerConfig)); };
|
|
210
|
-
MisDaysCalendarViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisDaysCalendarViewComponent, selectors: [["mis-days-calendar-view"]], inputs: { calendar: "calendar", options: "options" }, outputs: { onNavigate: "onNavigate", onViewMode: "onViewMode", onSelect: "onSelect", onHover: "onHover", onHoverWeek: "onHoverWeek" }, decls: 9, vars: 4, consts: [[3, "calendar", "onNavigate", "onViewMode"], ["role", "grid", 1, "days", "weeks"], [4, "ngIf"], ["aria-label", "weekday", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["aria-label", "weekday"], ["class", "week", 3, "active-week", 4, "ngIf"], ["role", "gridcell", 4, "ngFor", "ngForOf"], [1, "week"], [3, "click", 4, "ngIf"], [3, "click", "mouseenter", "mouseleave", 4, "ngIf"], [3, "click"], [3, "click", "mouseenter", "mouseleave"], ["role", "gridcell"], ["misDatePickerDayDecorator", "", "misToolTip", "", 3, "day", "text", "click", "mouseenter", "mouseleave", 4, "ngIf"], ["misDatePickerDayDecorator", "", 3, "day", "click", "mouseenter", "mouseleave", 4, "ngIf"], ["misDatePickerDayDecorator", "", 3, "day", "click", 4, "ngIf"], ["misDatePickerDayDecorator", "", "misToolTip", "", 3, "day", "text", "click", "mouseenter", "mouseleave"], ["misDatePickerDayDecorator", "", 3, "day", "click", "mouseenter", "mouseleave"], ["misDatePickerDayDecorator", "", 3, "day", "click"]], template: function MisDaysCalendarViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
211
|
-
i0.ɵɵelementStart(0, "mis-calendar-layout")(1, "mis-datepicker-navigation-view", 0);
|
|
212
|
-
i0.ɵɵlistener("onNavigate", function MisDaysCalendarViewComponent_Template_mis_datepicker_navigation_view_onNavigate_1_listener($event) { return ctx.navigateTo($event); })("onViewMode", function MisDaysCalendarViewComponent_Template_mis_datepicker_navigation_view_onViewMode_1_listener($event) { return ctx.changeViewMode($event); });
|
|
213
|
-
i0.ɵɵelementEnd();
|
|
214
|
-
i0.ɵɵelementStart(2, "table", 1)(3, "thead")(4, "tr");
|
|
215
|
-
i0.ɵɵtemplate(5, MisDaysCalendarViewComponent_th_5_Template, 1, 0, "th", 2);
|
|
216
|
-
i0.ɵɵtemplate(6, MisDaysCalendarViewComponent_th_6_Template, 2, 1, "th", 3);
|
|
217
|
-
i0.ɵɵelementEnd()();
|
|
218
|
-
i0.ɵɵelementStart(7, "tbody");
|
|
219
|
-
i0.ɵɵtemplate(8, MisDaysCalendarViewComponent_tr_8_Template, 3, 2, "tr", 4);
|
|
220
|
-
i0.ɵɵelementEnd()()();
|
|
221
|
-
} if (rf & 2) {
|
|
222
|
-
i0.ɵɵadvance(1);
|
|
223
|
-
i0.ɵɵproperty("calendar", ctx.calendar);
|
|
224
|
-
i0.ɵɵadvance(4);
|
|
225
|
-
i0.ɵɵproperty("ngIf", ctx.options.showWeekNumbers);
|
|
226
|
-
i0.ɵɵadvance(1);
|
|
227
|
-
i0.ɵɵproperty("ngForOf", ctx.calendar.weekdays);
|
|
228
|
-
i0.ɵɵadvance(2);
|
|
229
|
-
i0.ɵɵproperty("ngForOf", ctx.calendar.weeks);
|
|
230
|
-
} }, dependencies: [i2.NgForOf, i2.NgIf, i3.ToolTipDirective, i4.BsCalendarLayoutComponent, i5.MisDatePickerDayDecoratorComponent, i6.MisDatePickerNavigationViewComponent], encapsulation: 2 });
|
|
231
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisDaysCalendarViewComponent, [{
|
|
232
|
-
type: Component,
|
|
233
|
-
args: [{
|
|
234
|
-
selector: 'mis-days-calendar-view',
|
|
235
|
-
// changeDetection: ChangeDetectionStrategy.OnPush,
|
|
236
|
-
template: `
|
|
237
|
-
<mis-calendar-layout>
|
|
238
|
-
<mis-datepicker-navigation-view
|
|
239
|
-
[calendar]="calendar"
|
|
240
|
-
(onNavigate)="navigateTo($event)"
|
|
241
|
-
(onViewMode)="changeViewMode($event)"
|
|
242
|
-
></mis-datepicker-navigation-view>
|
|
243
|
-
|
|
244
|
-
<!--days matrix-->
|
|
245
|
-
<table role="grid" class="days weeks">
|
|
246
|
-
<thead>
|
|
247
|
-
<tr>
|
|
248
|
-
<!--if show weeks-->
|
|
249
|
-
<th *ngIf="options.showWeekNumbers"></th>
|
|
250
|
-
<th *ngFor="let weekday of calendar.weekdays; let i = index"
|
|
251
|
-
aria-label="weekday">{{ calendar.weekdays[i] }}
|
|
252
|
-
</th>
|
|
253
|
-
</tr>
|
|
254
|
-
</thead>
|
|
255
|
-
<tbody>
|
|
256
|
-
<tr *ngFor="let week of calendar.weeks; let i = index">
|
|
257
|
-
<td class="week" [class.active-week]="isWeekHovered" *ngIf="options.showWeekNumbers">
|
|
258
|
-
<span *ngIf="isiOS" (click)="selectWeek(week)">{{ calendar.weekNumbers[i] }}</span>
|
|
259
|
-
<span *ngIf="!isiOS"
|
|
260
|
-
(click)="selectWeek(week)"
|
|
261
|
-
(mouseenter)="weekHoverHandler(week, true)"
|
|
262
|
-
(mouseleave)="weekHoverHandler(week, false)">{{ calendar.weekNumbers[i] }}</span>
|
|
263
|
-
</td>
|
|
264
|
-
<td *ngFor="let day of week.days" role="gridcell">
|
|
265
|
-
|
|
266
|
-
<!-- When we want to show tooltips for dates -->
|
|
267
|
-
<span *ngIf="!isiOS && isShowTooltip" misDatePickerDayDecorator
|
|
268
|
-
[day]="day"
|
|
269
|
-
(click)="selectDay(day)"
|
|
270
|
-
misToolTip
|
|
271
|
-
[text]="day?.tooltipText"
|
|
272
|
-
(mouseenter)="hoverDay(day, true)"
|
|
273
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 3</span>
|
|
274
|
-
<!-- When tooltips for dates are disabled -->
|
|
275
|
-
<span *ngIf="!isiOS && !isShowTooltip" misDatePickerDayDecorator
|
|
276
|
-
[day]="day"
|
|
277
|
-
(click)="selectDay(day)"
|
|
278
|
-
(mouseenter)="hoverDay(day, true)"
|
|
279
|
-
(mouseleave)="hoverDay(day, false)">{{ day.label }} 2</span>
|
|
280
|
-
|
|
281
|
-
<!-- For mobile iOS view, tooltips are not needed -->
|
|
282
|
-
<span *ngIf="isiOS" misDatePickerDayDecorator
|
|
283
|
-
[day]="day"
|
|
284
|
-
(click)="selectDay(day)">{{ day.label }} 1</span>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
</tbody>
|
|
288
|
-
</table>
|
|
289
|
-
|
|
290
|
-
</mis-calendar-layout>
|
|
291
|
-
`
|
|
292
|
-
}]
|
|
293
|
-
}], function () { return [{ type: i1.MisDatePickerConfig }]; }, { calendar: [{
|
|
294
|
-
type: Input
|
|
295
|
-
}], options: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}], onNavigate: [{
|
|
298
|
-
type: Output
|
|
299
|
-
}], onViewMode: [{
|
|
300
|
-
type: Output
|
|
301
|
-
}], onSelect: [{
|
|
302
|
-
type: Output
|
|
303
|
-
}], onHover: [{
|
|
304
|
-
type: Output
|
|
305
|
-
}], onHoverWeek: [{
|
|
306
|
-
type: Output
|
|
307
|
-
}] }); })();
|
|
308
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnMtZGF5cy1jYWxlbmRhci12aWV3LmNvbXBvbmVudC5qcy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zaG93IHRvb2x0aXBzIGZvciBkYXRlcyAtLT5cbiAgICAgICAgICAgIDxzcGFuICpuZ0lmPVwiIWlzaU9TICYmIGlzU2hvd1Rvb2x0aXBcIiBtaXNEYXRlUGlja2VyRGF5RGVjb3JhdG9yXG4gICAgICAgICAgICAgICAgW2RheV09XCJkYXlcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJzZWxlY3REYXkoZGF5KVwiXG4gICAgICAgICAgICAgICAgbWlzVG9vbFRpcFxuICAgICAgICAgICAgICAgIFt0ZXh0XT1cImRheT8udG9vbHRpcFRleHRcIlxuICAgICAgICAgICAgICAgIChtb3VzZWVudGVyKT1cImhvdmVyRGF5KGRheSwgdHJ1ZSlcIlxuICAgICAgICAgICAgICAgIChtb3VzZWxlYXZlKT1cImhvdmVyRGF5KGRheSwgZmFsc2UpXCI+e3sgZGF5LmxhYmVsIH19IDM8L3NwYW4+XG4gICAgICAgICAgICA8IS0tIFdoZW4gdG9vbHRpcHMgZm9yIGRhdGVzIGFyZSBkaXNhYmxlZCAtLT5cbiAgICAgICAgICAgIDxzcGFuICpuZ0lmPVwiIWlzaU9TICYmICFpc1Nob3dUb29sdGlwXCIgbWlzRGF0ZVBpY2tlckRheURlY29yYXRvclxuICAgICAgICAgICAgICAgICAgW2RheV09XCJkYXlcIlxuICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInNlbGVjdERheShkYXkpXCJcbiAgICAgICAgICAgICAgICAgIChtb3VzZWVudGVyKT1cImhvdmVyRGF5KGRheSwgdHJ1ZSlcIlxuICAgICAgICAgICAgICAgICAgKG1vdXNlbGVhdmUpPVwiaG92ZXJEYXkoZGF5LCBmYWxzZSlcIj57eyBkYXkubGFiZWwgfX0gMjwvc3Bhbj5cblxuICAgICAgICAgICAgPCEtLSBGb3IgbW9iaWxlIGlPUyB2aWV3LCB0b29sdGlwcyBhcmUgbm90IG5lZWRlZCAtLT5cbiAgICAgICAgICAgIDxzcGFuICpuZ0lmPVwiaXNpT1NcIi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