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
|
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import * as i2 from '@angular/forms';
|
|
4
4
|
import { UntypedFormArray, UntypedFormGroup, UntypedFormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
6
|
+
import { EventEmitter, Component, Input, Output, ContentChild, NgModule } from '@angular/core';
|
|
7
7
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
8
8
|
import { ScrollingModule } from '@angular/cdk-experimental/scrolling';
|
|
9
9
|
import * as i3 from 'mis-crystal-design-system/dropdown';
|
|
@@ -16,7 +16,15 @@ import { MultiSelectDropdownModule } from 'mis-crystal-design-system/multi-selec
|
|
|
16
16
|
import * as i6 from 'mis-crystal-design-system/datepicker_v2';
|
|
17
17
|
import { DatepickerModuleV2 } from 'mis-crystal-design-system/datepicker_v2';
|
|
18
18
|
|
|
19
|
-
const _c0 =
|
|
19
|
+
const _c0 = ["customInputTextNumber"];
|
|
20
|
+
const _c1 = ["customInputTextarea"];
|
|
21
|
+
const _c2 = ["customInputDate"];
|
|
22
|
+
const _c3 = ["customBooleanToggle"];
|
|
23
|
+
const _c4 = ["customSingleSelectDropdown"];
|
|
24
|
+
const _c5 = ["customSingleSelectRadio"];
|
|
25
|
+
const _c6 = ["customMultiSelectCheckbox"];
|
|
26
|
+
const _c7 = ["customMultiSelectDropdown"];
|
|
27
|
+
const _c8 = function (a0, a1) { return { $implicit: a0, control: a1 }; };
|
|
20
28
|
function DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template(rf, ctx) {
|
|
21
29
|
if (rf & 1) {
|
|
22
30
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -32,7 +40,7 @@ function DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template(rf, c
|
|
|
32
40
|
const ctx_r8 = i0.ɵɵnextContext();
|
|
33
41
|
const _r1 = i0.ɵɵreference(4);
|
|
34
42
|
i0.ɵɵadvance(1);
|
|
35
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
43
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c8, ctx_r8.findSelectedSubFieldConfig(ctx_r8.formFields[i_r6] == null ? null : ctx_r8.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value, j_r10), subFieldControl_r9));
|
|
36
44
|
}
|
|
37
45
|
}
|
|
38
46
|
function DynamicFormComponent_ng_container_2_div_2_Template(rf, ctx) {
|
|
@@ -47,7 +55,7 @@ function DynamicFormComponent_ng_container_2_div_2_Template(rf, ctx) {
|
|
|
47
55
|
i0.ɵɵproperty("ngForOf", fieldControl_r5.controls.subFields.controls);
|
|
48
56
|
}
|
|
49
57
|
}
|
|
50
|
-
const
|
|
58
|
+
const _c9 = function (a0, a1, a2) { return { $implicit: a0, formGroup: a1, control: a2 }; };
|
|
51
59
|
function DynamicFormComponent_ng_container_2_Template(rf, ctx) {
|
|
52
60
|
if (rf & 1) {
|
|
53
61
|
i0.ɵɵelementContainerStart(0, 5);
|
|
@@ -62,164 +70,244 @@ function DynamicFormComponent_ng_container_2_Template(rf, ctx) {
|
|
|
62
70
|
const _r1 = i0.ɵɵreference(4);
|
|
63
71
|
i0.ɵɵproperty("formGroupName", i_r6);
|
|
64
72
|
i0.ɵɵadvance(1);
|
|
65
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction3(4,
|
|
73
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction3(4, _c9, ctx_r0.formFields[i_r6], fieldControl_r5, fieldControl_r5.controls.value));
|
|
66
74
|
i0.ɵɵadvance(1);
|
|
67
75
|
i0.ɵɵproperty("ngIf", fieldControl_r5.value && (!!(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields) && (ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields == null ? null : ctx_r0.formFields[i_r6].subFields.length) > 0 && ctx_r0.matchParentConfig(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value)));
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
|
-
function
|
|
78
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
79
|
+
const _c10 = function (a0, a1, a2) { return { field: a0, control: a1, formgroup: a2 }; };
|
|
80
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_Template(rf, ctx) {
|
|
81
|
+
if (rf & 1) {
|
|
82
|
+
i0.ɵɵelementContainerStart(0);
|
|
83
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
84
|
+
i0.ɵɵelementContainerEnd();
|
|
85
|
+
}
|
|
86
|
+
if (rf & 2) {
|
|
87
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
88
|
+
const field_r13 = ctx_r28.$implicit;
|
|
89
|
+
const control_r14 = ctx_r28.control;
|
|
90
|
+
const formgroup_r15 = ctx_r28.formGroup;
|
|
91
|
+
const ctx_r24 = i0.ɵɵnextContext();
|
|
92
|
+
i0.ɵɵadvance(1);
|
|
93
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r24.customInputTextNumber)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_span_3_Template(rf, ctx) {
|
|
71
97
|
if (rf & 1) {
|
|
72
98
|
i0.ɵɵelementStart(0, "span");
|
|
73
99
|
i0.ɵɵtext(1, " *");
|
|
74
100
|
i0.ɵɵelementEnd();
|
|
75
101
|
}
|
|
76
102
|
}
|
|
77
|
-
const
|
|
78
|
-
function
|
|
103
|
+
const _c11 = function (a0) { return { $implicit: a0 }; };
|
|
104
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_ng_container_6_Template(rf, ctx) {
|
|
79
105
|
if (rf & 1) {
|
|
80
106
|
i0.ɵɵelementContainer(0, 6);
|
|
81
107
|
}
|
|
82
108
|
if (rf & 2) {
|
|
83
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
109
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
84
110
|
i0.ɵɵnextContext();
|
|
85
111
|
const _r3 = i0.ɵɵreference(6);
|
|
86
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
112
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
87
113
|
}
|
|
88
114
|
}
|
|
89
|
-
const
|
|
90
|
-
const
|
|
91
|
-
function
|
|
115
|
+
const _c12 = function (a0) { return { "border-bottom": a0 }; };
|
|
116
|
+
const _c13 = function (a0) { return { "border": a0 }; };
|
|
117
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template(rf, ctx) {
|
|
92
118
|
if (rf & 1) {
|
|
93
|
-
const
|
|
94
|
-
i0.ɵɵelementStart(0, "div",
|
|
119
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
120
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
95
121
|
i0.ɵɵtext(2);
|
|
96
|
-
i0.ɵɵtemplate(3,
|
|
122
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
97
123
|
i0.ɵɵelementEnd();
|
|
98
124
|
i0.ɵɵelement(4, "div", 15);
|
|
99
125
|
i0.ɵɵelementStart(5, "input", 16);
|
|
100
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
126
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(2); const field_r13 = ctx_r33.$implicit; const formgroup_r15 = ctx_r33.formGroup; const ctx_r32 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r32.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
101
127
|
i0.ɵɵelementEnd();
|
|
102
|
-
i0.ɵɵtemplate(6,
|
|
128
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
103
129
|
i0.ɵɵelementEnd();
|
|
104
130
|
}
|
|
105
131
|
if (rf & 2) {
|
|
106
|
-
const
|
|
107
|
-
const formgroup_r15 =
|
|
108
|
-
const field_r13 =
|
|
109
|
-
const control_r14 =
|
|
110
|
-
const
|
|
111
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
132
|
+
const ctx_r35 = i0.ɵɵnextContext(2);
|
|
133
|
+
const formgroup_r15 = ctx_r35.formGroup;
|
|
134
|
+
const field_r13 = ctx_r35.$implicit;
|
|
135
|
+
const control_r14 = ctx_r35.control;
|
|
136
|
+
const ctx_r26 = i0.ɵɵnextContext();
|
|
137
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r26.removeSepratorForSubFields ? "none" : ""));
|
|
112
138
|
i0.ɵɵadvance(2);
|
|
113
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, " ");
|
|
139
|
+
i0.ɵɵtextInterpolate1(" ", field_r13 == null ? null : field_r13.title, " ");
|
|
114
140
|
i0.ɵɵadvance(1);
|
|
115
141
|
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
116
142
|
i0.ɵɵadvance(2);
|
|
117
|
-
i0.ɵɵproperty("type", field_r13.fieldInputType)("formControl", control_r14)("ngStyle", i0.ɵɵpureFunction1(11,
|
|
143
|
+
i0.ɵɵproperty("type", field_r13.fieldInputType)("formControl", control_r14)("ngStyle", i0.ɵɵpureFunction1(11, _c13, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("min", field_r13.fieldInputType === "number" ? 0 : "");
|
|
118
144
|
i0.ɵɵadvance(1);
|
|
119
145
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
120
146
|
}
|
|
121
147
|
}
|
|
122
|
-
function
|
|
148
|
+
function DynamicFormComponent_ng_template_3_ng_container_0_Template(rf, ctx) {
|
|
149
|
+
if (rf & 1) {
|
|
150
|
+
i0.ɵɵelementContainerStart(0);
|
|
151
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
152
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template, 7, 13, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
153
|
+
i0.ɵɵelementContainerEnd();
|
|
154
|
+
}
|
|
155
|
+
if (rf & 2) {
|
|
156
|
+
const _r25 = i0.ɵɵreference(3);
|
|
157
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
158
|
+
i0.ɵɵadvance(1);
|
|
159
|
+
i0.ɵɵproperty("ngIf", ctx_r16.customInputTextNumber)("ngIfElse", _r25);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
163
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
164
|
+
if (rf & 1) {
|
|
165
|
+
i0.ɵɵelementContainerStart(0);
|
|
166
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
167
|
+
i0.ɵɵelementContainerEnd();
|
|
168
|
+
}
|
|
169
|
+
if (rf & 2) {
|
|
170
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
171
|
+
const field_r13 = ctx_r40.$implicit;
|
|
172
|
+
const control_r14 = ctx_r40.control;
|
|
173
|
+
const formgroup_r15 = ctx_r40.formGroup;
|
|
174
|
+
const ctx_r36 = i0.ɵɵnextContext();
|
|
175
|
+
i0.ɵɵadvance(1);
|
|
176
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r36.customInputTextarea)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_Template(rf, ctx) {
|
|
123
180
|
if (rf & 1) {
|
|
124
181
|
i0.ɵɵelementStart(0, "span");
|
|
125
182
|
i0.ɵɵtext(1, " *");
|
|
126
183
|
i0.ɵɵelementEnd();
|
|
127
184
|
}
|
|
128
185
|
}
|
|
129
|
-
function
|
|
186
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_ng_container_6_Template(rf, ctx) {
|
|
130
187
|
if (rf & 1) {
|
|
131
188
|
i0.ɵɵelementContainer(0, 6);
|
|
132
189
|
}
|
|
133
190
|
if (rf & 2) {
|
|
134
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
191
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
135
192
|
i0.ɵɵnextContext();
|
|
136
193
|
const _r3 = i0.ɵɵreference(6);
|
|
137
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
194
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
138
195
|
}
|
|
139
196
|
}
|
|
140
|
-
function
|
|
197
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template(rf, ctx) {
|
|
141
198
|
if (rf & 1) {
|
|
142
|
-
const
|
|
143
|
-
i0.ɵɵelementStart(0, "div",
|
|
199
|
+
const _r46 = i0.ɵɵgetCurrentView();
|
|
200
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
144
201
|
i0.ɵɵtext(2);
|
|
145
|
-
i0.ɵɵtemplate(3,
|
|
202
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
146
203
|
i0.ɵɵelementEnd();
|
|
147
204
|
i0.ɵɵelement(4, "div", 15);
|
|
148
|
-
i0.ɵɵelementStart(5, "textarea",
|
|
149
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
205
|
+
i0.ɵɵelementStart(5, "textarea", 19);
|
|
206
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template_textarea_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r46); const ctx_r45 = i0.ɵɵnextContext(2); const field_r13 = ctx_r45.$implicit; const formgroup_r15 = ctx_r45.formGroup; const ctx_r44 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r44.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
150
207
|
i0.ɵɵelementEnd();
|
|
151
|
-
i0.ɵɵtemplate(6,
|
|
208
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
152
209
|
i0.ɵɵelementEnd();
|
|
153
210
|
}
|
|
154
211
|
if (rf & 2) {
|
|
155
|
-
const
|
|
156
|
-
const formgroup_r15 =
|
|
157
|
-
const field_r13 =
|
|
158
|
-
const control_r14 =
|
|
159
|
-
const
|
|
160
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7,
|
|
212
|
+
const ctx_r47 = i0.ɵɵnextContext(2);
|
|
213
|
+
const formgroup_r15 = ctx_r47.formGroup;
|
|
214
|
+
const field_r13 = ctx_r47.$implicit;
|
|
215
|
+
const control_r14 = ctx_r47.control;
|
|
216
|
+
const ctx_r38 = i0.ɵɵnextContext();
|
|
217
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r38.removeSepratorForSubFields ? "none" : ""));
|
|
161
218
|
i0.ɵɵadvance(2);
|
|
162
219
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
163
220
|
i0.ɵɵadvance(1);
|
|
164
221
|
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
165
222
|
i0.ɵɵadvance(2);
|
|
166
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
223
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c13, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("formControl", control_r14);
|
|
167
224
|
i0.ɵɵadvance(1);
|
|
168
225
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
169
226
|
}
|
|
170
227
|
}
|
|
171
|
-
function
|
|
228
|
+
function DynamicFormComponent_ng_template_3_ng_container_1_Template(rf, ctx) {
|
|
229
|
+
if (rf & 1) {
|
|
230
|
+
i0.ɵɵelementContainerStart(0);
|
|
231
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
232
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template, 7, 11, "ng-template", null, 18, i0.ɵɵtemplateRefExtractor);
|
|
233
|
+
i0.ɵɵelementContainerEnd();
|
|
234
|
+
}
|
|
235
|
+
if (rf & 2) {
|
|
236
|
+
const _r37 = i0.ɵɵreference(3);
|
|
237
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
238
|
+
i0.ɵɵadvance(1);
|
|
239
|
+
i0.ɵɵproperty("ngIf", ctx_r17.customInputTextarea)("ngIfElse", _r37);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
243
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_Template(rf, ctx) {
|
|
244
|
+
if (rf & 1) {
|
|
245
|
+
i0.ɵɵelementContainerStart(0);
|
|
246
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
247
|
+
i0.ɵɵelementContainerEnd();
|
|
248
|
+
}
|
|
249
|
+
if (rf & 2) {
|
|
250
|
+
const ctx_r52 = i0.ɵɵnextContext(2);
|
|
251
|
+
const field_r13 = ctx_r52.$implicit;
|
|
252
|
+
const control_r14 = ctx_r52.control;
|
|
253
|
+
const formgroup_r15 = ctx_r52.formGroup;
|
|
254
|
+
const ctx_r48 = i0.ɵɵnextContext();
|
|
255
|
+
i0.ɵɵadvance(1);
|
|
256
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r48.customInputDate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_span_3_Template(rf, ctx) {
|
|
172
260
|
if (rf & 1) {
|
|
173
261
|
i0.ɵɵelementStart(0, "span");
|
|
174
262
|
i0.ɵɵtext(1, " *");
|
|
175
263
|
i0.ɵɵelementEnd();
|
|
176
264
|
}
|
|
177
265
|
}
|
|
178
|
-
function
|
|
266
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template(rf, ctx) {
|
|
179
267
|
if (rf & 1) {
|
|
180
|
-
const
|
|
181
|
-
i0.ɵɵelementStart(0, "img",
|
|
182
|
-
i0.ɵɵlistener("click", function
|
|
268
|
+
const _r59 = i0.ɵɵgetCurrentView();
|
|
269
|
+
i0.ɵɵelementStart(0, "img", 28);
|
|
270
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r59); i0.ɵɵnextContext(); const _r55 = i0.ɵɵreference(6); return i0.ɵɵresetView(_r55.click()); });
|
|
183
271
|
i0.ɵɵelementEnd();
|
|
184
272
|
}
|
|
185
273
|
if (rf & 2) {
|
|
186
|
-
const
|
|
187
|
-
i0.ɵɵproperty("src",
|
|
274
|
+
const ctx_r56 = i0.ɵɵnextContext(5);
|
|
275
|
+
i0.ɵɵproperty("src", ctx_r56.calendarIconUrl, i0.ɵɵsanitizeUrl);
|
|
188
276
|
}
|
|
189
277
|
}
|
|
190
|
-
function
|
|
278
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_ng_container_8_Template(rf, ctx) {
|
|
191
279
|
if (rf & 1) {
|
|
192
280
|
i0.ɵɵelementContainer(0, 6);
|
|
193
281
|
}
|
|
194
282
|
if (rf & 2) {
|
|
195
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
283
|
+
const control_r14 = i0.ɵɵnextContext(4).control;
|
|
196
284
|
i0.ɵɵnextContext();
|
|
197
285
|
const _r3 = i0.ɵɵreference(6);
|
|
198
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
286
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
199
287
|
}
|
|
200
288
|
}
|
|
201
|
-
function
|
|
289
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template(rf, ctx) {
|
|
202
290
|
if (rf & 1) {
|
|
203
|
-
const
|
|
204
|
-
i0.ɵɵelementStart(0, "div",
|
|
291
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
292
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
205
293
|
i0.ɵɵtext(2);
|
|
206
|
-
i0.ɵɵtemplate(3,
|
|
294
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_span_3_Template, 2, 0, "span", 10);
|
|
207
295
|
i0.ɵɵelementEnd();
|
|
208
|
-
i0.ɵɵelementStart(4, "div",
|
|
209
|
-
i0.ɵɵlistener("dateChange", function
|
|
296
|
+
i0.ɵɵelementStart(4, "div", 24)(5, "input", 25, 26);
|
|
297
|
+
i0.ɵɵlistener("dateChange", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template_input_dateChange_5_listener($event) { i0.ɵɵrestoreView(_r63); const control_r14 = i0.ɵɵnextContext(3).control; return i0.ɵɵresetView(control_r14.setValue($event)); });
|
|
210
298
|
i0.ɵɵelementEnd();
|
|
211
|
-
i0.ɵɵtemplate(7,
|
|
299
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template, 1, 1, "img", 27);
|
|
212
300
|
i0.ɵɵelementEnd();
|
|
213
|
-
i0.ɵɵtemplate(8,
|
|
301
|
+
i0.ɵɵtemplate(8, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_ng_container_8_Template, 1, 4, "ng-container", 17);
|
|
214
302
|
i0.ɵɵelementEnd();
|
|
215
303
|
}
|
|
216
304
|
if (rf & 2) {
|
|
217
|
-
const
|
|
218
|
-
const formgroup_r15 =
|
|
219
|
-
const field_r13 =
|
|
220
|
-
const control_r14 =
|
|
221
|
-
const
|
|
222
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
305
|
+
const ctx_r64 = i0.ɵɵnextContext(3);
|
|
306
|
+
const formgroup_r15 = ctx_r64.formGroup;
|
|
307
|
+
const field_r13 = ctx_r64.$implicit;
|
|
308
|
+
const control_r14 = ctx_r64.control;
|
|
309
|
+
const ctx_r53 = i0.ɵɵnextContext();
|
|
310
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r53.removeSepratorForSubFields ? "none" : ""));
|
|
223
311
|
i0.ɵɵadvance(2);
|
|
224
312
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, " ");
|
|
225
313
|
i0.ɵɵadvance(1);
|
|
@@ -227,49 +315,89 @@ function DynamicFormComponent_ng_template_3_div_2_Template(rf, ctx) {
|
|
|
227
315
|
i0.ɵɵadvance(2);
|
|
228
316
|
i0.ɵɵproperty("dpConfig", field_r13.fieldConfig)("selectedDate", control_r14.value)("offsetY", 0)("value", control_r14.value);
|
|
229
317
|
i0.ɵɵadvance(2);
|
|
230
|
-
i0.ɵɵproperty("ngIf",
|
|
318
|
+
i0.ɵɵproperty("ngIf", ctx_r53.calendarIconUrl);
|
|
231
319
|
i0.ɵɵadvance(1);
|
|
232
320
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
233
321
|
}
|
|
234
322
|
}
|
|
235
|
-
function
|
|
323
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_Template(rf, ctx) {
|
|
324
|
+
if (rf & 1) {
|
|
325
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template, 9, 11, "div", 21);
|
|
326
|
+
}
|
|
327
|
+
if (rf & 2) {
|
|
328
|
+
const field_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
329
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "input" && field_r13.fieldInputType === "date");
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
function DynamicFormComponent_ng_template_3_ng_container_2_Template(rf, ctx) {
|
|
333
|
+
if (rf & 1) {
|
|
334
|
+
i0.ɵɵelementContainerStart(0);
|
|
335
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
336
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_Template, 1, 1, "ng-template", null, 20, i0.ɵɵtemplateRefExtractor);
|
|
337
|
+
i0.ɵɵelementContainerEnd();
|
|
338
|
+
}
|
|
339
|
+
if (rf & 2) {
|
|
340
|
+
const _r49 = i0.ɵɵreference(3);
|
|
341
|
+
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
342
|
+
i0.ɵɵadvance(1);
|
|
343
|
+
i0.ɵɵproperty("ngIf", ctx_r18.customInputDate)("ngIfElse", _r49);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
347
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_Template(rf, ctx) {
|
|
348
|
+
if (rf & 1) {
|
|
349
|
+
i0.ɵɵelementContainerStart(0);
|
|
350
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
351
|
+
i0.ɵɵelementContainerEnd();
|
|
352
|
+
}
|
|
353
|
+
if (rf & 2) {
|
|
354
|
+
const ctx_r70 = i0.ɵɵnextContext(2);
|
|
355
|
+
const field_r13 = ctx_r70.$implicit;
|
|
356
|
+
const control_r14 = ctx_r70.control;
|
|
357
|
+
const formgroup_r15 = ctx_r70.formGroup;
|
|
358
|
+
const ctx_r66 = i0.ɵɵnextContext();
|
|
359
|
+
i0.ɵɵadvance(1);
|
|
360
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r66.customBooleanToggle)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_Template(rf, ctx) {
|
|
236
364
|
if (rf & 1) {
|
|
237
365
|
i0.ɵɵelementStart(0, "span");
|
|
238
366
|
i0.ɵɵtext(1, " *");
|
|
239
367
|
i0.ɵɵelementEnd();
|
|
240
368
|
}
|
|
241
369
|
}
|
|
242
|
-
function
|
|
370
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_ng_container_5_Template(rf, ctx) {
|
|
243
371
|
if (rf & 1) {
|
|
244
372
|
i0.ɵɵelementContainer(0, 6);
|
|
245
373
|
}
|
|
246
374
|
if (rf & 2) {
|
|
247
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
375
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
248
376
|
i0.ɵɵnextContext();
|
|
249
377
|
const _r3 = i0.ɵɵreference(6);
|
|
250
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
378
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
251
379
|
}
|
|
252
380
|
}
|
|
253
|
-
function
|
|
381
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template(rf, ctx) {
|
|
254
382
|
if (rf & 1) {
|
|
255
|
-
const
|
|
256
|
-
i0.ɵɵelementStart(0, "div",
|
|
383
|
+
const _r76 = i0.ɵɵgetCurrentView();
|
|
384
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
257
385
|
i0.ɵɵtext(2);
|
|
258
|
-
i0.ɵɵtemplate(3,
|
|
386
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
259
387
|
i0.ɵɵelementEnd();
|
|
260
|
-
i0.ɵɵelementStart(4, "mis-switch",
|
|
261
|
-
i0.ɵɵlistener("valueChanged", function
|
|
388
|
+
i0.ɵɵelementStart(4, "mis-switch", 30);
|
|
389
|
+
i0.ɵɵlistener("valueChanged", function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template_mis_switch_valueChanged_4_listener($event) { i0.ɵɵrestoreView(_r76); const ctx_r75 = i0.ɵɵnextContext(2); const field_r13 = ctx_r75.$implicit; const formgroup_r15 = ctx_r75.formGroup; const ctx_r74 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r74.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
262
390
|
i0.ɵɵelementEnd();
|
|
263
|
-
i0.ɵɵtemplate(5,
|
|
391
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
264
392
|
i0.ɵɵelementEnd();
|
|
265
393
|
}
|
|
266
394
|
if (rf & 2) {
|
|
267
|
-
const
|
|
268
|
-
const formgroup_r15 =
|
|
269
|
-
const field_r13 =
|
|
270
|
-
const control_r14 =
|
|
271
|
-
const
|
|
272
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
395
|
+
const ctx_r77 = i0.ɵɵnextContext(2);
|
|
396
|
+
const formgroup_r15 = ctx_r77.formGroup;
|
|
397
|
+
const field_r13 = ctx_r77.$implicit;
|
|
398
|
+
const control_r14 = ctx_r77.control;
|
|
399
|
+
const ctx_r68 = i0.ɵɵnextContext();
|
|
400
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r68.removeSepratorForSubFields ? "none" : ""));
|
|
273
401
|
i0.ɵɵadvance(2);
|
|
274
402
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
275
403
|
i0.ɵɵadvance(1);
|
|
@@ -280,142 +408,204 @@ function DynamicFormComponent_ng_template_3_div_3_Template(rf, ctx) {
|
|
|
280
408
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
281
409
|
}
|
|
282
410
|
}
|
|
283
|
-
function
|
|
411
|
+
function DynamicFormComponent_ng_template_3_ng_container_3_Template(rf, ctx) {
|
|
412
|
+
if (rf & 1) {
|
|
413
|
+
i0.ɵɵelementContainerStart(0);
|
|
414
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
415
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template, 6, 7, "ng-template", null, 29, i0.ɵɵtemplateRefExtractor);
|
|
416
|
+
i0.ɵɵelementContainerEnd();
|
|
417
|
+
}
|
|
418
|
+
if (rf & 2) {
|
|
419
|
+
const _r67 = i0.ɵɵreference(3);
|
|
420
|
+
const ctx_r19 = i0.ɵɵnextContext(2);
|
|
421
|
+
i0.ɵɵadvance(1);
|
|
422
|
+
i0.ɵɵproperty("ngIf", ctx_r19.customBooleanToggle)("ngIfElse", _r67);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
426
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_Template(rf, ctx) {
|
|
427
|
+
if (rf & 1) {
|
|
428
|
+
i0.ɵɵelementContainerStart(0);
|
|
429
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
430
|
+
i0.ɵɵelementContainerEnd();
|
|
431
|
+
}
|
|
432
|
+
if (rf & 2) {
|
|
433
|
+
const ctx_r82 = i0.ɵɵnextContext(2);
|
|
434
|
+
const field_r13 = ctx_r82.$implicit;
|
|
435
|
+
const control_r14 = ctx_r82.control;
|
|
436
|
+
const formgroup_r15 = ctx_r82.formGroup;
|
|
437
|
+
const ctx_r78 = i0.ɵɵnextContext();
|
|
438
|
+
i0.ɵɵadvance(1);
|
|
439
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r78.customSingleSelectDropdown)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_Template(rf, ctx) {
|
|
284
443
|
if (rf & 1) {
|
|
285
444
|
i0.ɵɵelementStart(0, "span");
|
|
286
445
|
i0.ɵɵtext(1, " *");
|
|
287
446
|
i0.ɵɵelementEnd();
|
|
288
447
|
}
|
|
289
448
|
}
|
|
290
|
-
function
|
|
449
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template(rf, ctx) {
|
|
291
450
|
if (rf & 1) {
|
|
292
|
-
const
|
|
293
|
-
i0.ɵɵelementStart(0, "img",
|
|
294
|
-
i0.ɵɵlistener("click", function
|
|
451
|
+
const _r88 = i0.ɵɵgetCurrentView();
|
|
452
|
+
i0.ɵɵelementStart(0, "img", 35);
|
|
453
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r88); const field_r13 = i0.ɵɵnextContext(3).$implicit; const ctx_r86 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r86.fieldRemoved.emit(field_r13)); });
|
|
295
454
|
i0.ɵɵelementEnd();
|
|
296
455
|
}
|
|
297
456
|
if (rf & 2) {
|
|
298
|
-
const
|
|
299
|
-
i0.ɵɵproperty("src",
|
|
457
|
+
const ctx_r84 = i0.ɵɵnextContext(4);
|
|
458
|
+
i0.ɵɵproperty("src", ctx_r84.removeIconUrl, i0.ɵɵsanitizeUrl);
|
|
300
459
|
}
|
|
301
460
|
}
|
|
302
|
-
function
|
|
461
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_ng_container_7_Template(rf, ctx) {
|
|
303
462
|
if (rf & 1) {
|
|
304
463
|
i0.ɵɵelementContainer(0, 6);
|
|
305
464
|
}
|
|
306
465
|
if (rf & 2) {
|
|
307
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
466
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
308
467
|
i0.ɵɵnextContext();
|
|
309
468
|
const _r3 = i0.ɵɵreference(6);
|
|
310
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
469
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
311
470
|
}
|
|
312
471
|
}
|
|
313
|
-
const
|
|
314
|
-
function
|
|
472
|
+
const _c14 = function (a0) { return { "removeable-container": a0 }; };
|
|
473
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template(rf, ctx) {
|
|
315
474
|
if (rf & 1) {
|
|
316
|
-
const
|
|
317
|
-
i0.ɵɵelementStart(0, "div",
|
|
475
|
+
const _r92 = i0.ɵɵgetCurrentView();
|
|
476
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
318
477
|
i0.ɵɵtext(2);
|
|
319
|
-
i0.ɵɵtemplate(3,
|
|
478
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
320
479
|
i0.ɵɵelementEnd();
|
|
321
|
-
i0.ɵɵelementStart(4, "div",
|
|
322
|
-
i0.ɵɵlistener("onChange", function
|
|
480
|
+
i0.ɵɵelementStart(4, "div", 32)(5, "mis-dropdown", 33);
|
|
481
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template_mis_dropdown_onChange_5_listener($event) { i0.ɵɵrestoreView(_r92); const ctx_r91 = i0.ɵɵnextContext(2); const field_r13 = ctx_r91.$implicit; const control_r14 = ctx_r91.control; const formgroup_r15 = ctx_r91.formGroup; const ctx_r90 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r90.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
323
482
|
i0.ɵɵelementEnd();
|
|
324
|
-
i0.ɵɵtemplate(6,
|
|
483
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template, 1, 1, "img", 34);
|
|
325
484
|
i0.ɵɵelementEnd();
|
|
326
|
-
i0.ɵɵtemplate(7,
|
|
485
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
327
486
|
i0.ɵɵelementEnd();
|
|
328
487
|
}
|
|
329
488
|
if (rf & 2) {
|
|
330
|
-
const
|
|
331
|
-
const formgroup_r15 =
|
|
332
|
-
const field_r13 =
|
|
333
|
-
const control_r14 =
|
|
334
|
-
const
|
|
335
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10,
|
|
489
|
+
const ctx_r93 = i0.ɵɵnextContext(2);
|
|
490
|
+
const formgroup_r15 = ctx_r93.formGroup;
|
|
491
|
+
const field_r13 = ctx_r93.$implicit;
|
|
492
|
+
const control_r14 = ctx_r93.control;
|
|
493
|
+
const ctx_r80 = i0.ɵɵnextContext();
|
|
494
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r80.removeSepratorForSubFields ? "none" : ""));
|
|
336
495
|
i0.ɵɵadvance(2);
|
|
337
496
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
338
497
|
i0.ɵɵadvance(1);
|
|
339
498
|
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
340
499
|
i0.ɵɵadvance(1);
|
|
341
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12,
|
|
500
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c14, field_r13 == null ? null : field_r13.isRemoveable));
|
|
342
501
|
i0.ɵɵadvance(1);
|
|
343
502
|
i0.ɵɵproperty("searchEnabled", false)("width", "140px")("data", field_r13.itemsList)("selectedItem", control_r14.value);
|
|
344
503
|
i0.ɵɵadvance(1);
|
|
345
|
-
i0.ɵɵproperty("ngIf", field_r13.isRemoveable &&
|
|
504
|
+
i0.ɵɵproperty("ngIf", field_r13.isRemoveable && ctx_r80.removeIconUrl);
|
|
346
505
|
i0.ɵɵadvance(1);
|
|
347
506
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
348
507
|
}
|
|
349
508
|
}
|
|
350
|
-
function
|
|
509
|
+
function DynamicFormComponent_ng_template_3_ng_container_4_Template(rf, ctx) {
|
|
510
|
+
if (rf & 1) {
|
|
511
|
+
i0.ɵɵelementContainerStart(0);
|
|
512
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
513
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template, 8, 14, "ng-template", null, 31, i0.ɵɵtemplateRefExtractor);
|
|
514
|
+
i0.ɵɵelementContainerEnd();
|
|
515
|
+
}
|
|
516
|
+
if (rf & 2) {
|
|
517
|
+
const _r79 = i0.ɵɵreference(3);
|
|
518
|
+
const ctx_r20 = i0.ɵɵnextContext(2);
|
|
519
|
+
i0.ɵɵadvance(1);
|
|
520
|
+
i0.ɵɵproperty("ngIf", ctx_r20.customSingleSelectDropdown)("ngIfElse", _r79);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
524
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
525
|
+
if (rf & 1) {
|
|
526
|
+
i0.ɵɵelementContainerStart(0);
|
|
527
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
528
|
+
i0.ɵɵelementContainerEnd();
|
|
529
|
+
}
|
|
530
|
+
if (rf & 2) {
|
|
531
|
+
const ctx_r98 = i0.ɵɵnextContext(2);
|
|
532
|
+
const field_r13 = ctx_r98.$implicit;
|
|
533
|
+
const control_r14 = ctx_r98.control;
|
|
534
|
+
const formgroup_r15 = ctx_r98.formGroup;
|
|
535
|
+
const ctx_r94 = i0.ɵɵnextContext();
|
|
536
|
+
i0.ɵɵadvance(1);
|
|
537
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r94.customSingleSelectRadio)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_Template(rf, ctx) {
|
|
351
541
|
if (rf & 1) {
|
|
352
542
|
i0.ɵɵelementStart(0, "span");
|
|
353
543
|
i0.ɵɵtext(1, " *");
|
|
354
544
|
i0.ɵɵelementEnd();
|
|
355
545
|
}
|
|
356
546
|
}
|
|
357
|
-
function
|
|
547
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_img_1_Template(rf, ctx) {
|
|
358
548
|
if (rf & 1) {
|
|
359
|
-
i0.ɵɵelement(0, "img",
|
|
549
|
+
i0.ɵɵelement(0, "img", 41);
|
|
360
550
|
}
|
|
361
551
|
if (rf & 2) {
|
|
362
|
-
const
|
|
363
|
-
i0.ɵɵproperty("src",
|
|
552
|
+
const ctx_r103 = i0.ɵɵnextContext(5);
|
|
553
|
+
i0.ɵɵproperty("src", ctx_r103.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
364
554
|
}
|
|
365
555
|
}
|
|
366
|
-
const
|
|
367
|
-
function
|
|
556
|
+
const _c15 = function (a0) { return { "checkbox-active": a0 }; };
|
|
557
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template(rf, ctx) {
|
|
368
558
|
if (rf & 1) {
|
|
369
|
-
const
|
|
370
|
-
i0.ɵɵelementStart(0, "div",
|
|
371
|
-
i0.ɵɵlistener("click", function
|
|
372
|
-
i0.ɵɵtemplate(1,
|
|
373
|
-
i0.ɵɵelementStart(2, "p",
|
|
559
|
+
const _r106 = i0.ɵɵgetCurrentView();
|
|
560
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
561
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r106); const item_r102 = restoredCtx.$implicit; const ctx_r105 = i0.ɵɵnextContext(3); const field_r13 = ctx_r105.$implicit; const control_r14 = ctx_r105.control; const formgroup_r15 = ctx_r105.formGroup; const ctx_r104 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r104.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, item_r102)); });
|
|
562
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_img_1_Template, 1, 1, "img", 40);
|
|
563
|
+
i0.ɵɵelementStart(2, "p", 23);
|
|
374
564
|
i0.ɵɵtext(3);
|
|
375
565
|
i0.ɵɵelementEnd()();
|
|
376
566
|
}
|
|
377
567
|
if (rf & 2) {
|
|
378
|
-
const
|
|
379
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
380
|
-
const
|
|
381
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3,
|
|
568
|
+
const item_r102 = ctx.$implicit;
|
|
569
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
570
|
+
const ctx_r100 = i0.ɵɵnextContext();
|
|
571
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15, item_r102.label === (control_r14.value == null ? null : control_r14.value.label)));
|
|
382
572
|
i0.ɵɵadvance(1);
|
|
383
|
-
i0.ɵɵproperty("ngIf",
|
|
573
|
+
i0.ɵɵproperty("ngIf", item_r102.label === (control_r14.value == null ? null : control_r14.value.label) && ctx_r100.activeBtnIconUrl);
|
|
384
574
|
i0.ɵɵadvance(2);
|
|
385
|
-
i0.ɵɵtextInterpolate(
|
|
575
|
+
i0.ɵɵtextInterpolate(item_r102.label);
|
|
386
576
|
}
|
|
387
577
|
}
|
|
388
|
-
function
|
|
578
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_ng_container_7_Template(rf, ctx) {
|
|
389
579
|
if (rf & 1) {
|
|
390
580
|
i0.ɵɵelementContainer(0, 6);
|
|
391
581
|
}
|
|
392
582
|
if (rf & 2) {
|
|
393
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
583
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
394
584
|
i0.ɵɵnextContext();
|
|
395
585
|
const _r3 = i0.ɵɵreference(6);
|
|
396
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
586
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
397
587
|
}
|
|
398
588
|
}
|
|
399
|
-
function
|
|
589
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_Template(rf, ctx) {
|
|
400
590
|
if (rf & 1) {
|
|
401
|
-
i0.ɵɵelementStart(0, "div",
|
|
591
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
402
592
|
i0.ɵɵtext(2);
|
|
403
|
-
i0.ɵɵtemplate(3,
|
|
593
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
404
594
|
i0.ɵɵelementEnd();
|
|
405
595
|
i0.ɵɵelement(4, "div", 15);
|
|
406
|
-
i0.ɵɵelementStart(5, "div",
|
|
407
|
-
i0.ɵɵtemplate(6,
|
|
596
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
597
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template, 4, 5, "div", 38);
|
|
408
598
|
i0.ɵɵelementEnd();
|
|
409
|
-
i0.ɵɵtemplate(7,
|
|
599
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
410
600
|
i0.ɵɵelementEnd();
|
|
411
601
|
}
|
|
412
602
|
if (rf & 2) {
|
|
413
|
-
const
|
|
414
|
-
const formgroup_r15 =
|
|
415
|
-
const field_r13 =
|
|
416
|
-
const control_r14 =
|
|
417
|
-
const
|
|
418
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
603
|
+
const ctx_r109 = i0.ɵɵnextContext(2);
|
|
604
|
+
const formgroup_r15 = ctx_r109.formGroup;
|
|
605
|
+
const field_r13 = ctx_r109.$implicit;
|
|
606
|
+
const control_r14 = ctx_r109.control;
|
|
607
|
+
const ctx_r96 = i0.ɵɵnextContext();
|
|
608
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r96.removeSepratorForSubFields ? "none" : ""));
|
|
419
609
|
i0.ɵɵadvance(2);
|
|
420
610
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
421
611
|
i0.ɵɵadvance(1);
|
|
@@ -426,74 +616,105 @@ function DynamicFormComponent_ng_template_3_div_5_Template(rf, ctx) {
|
|
|
426
616
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
427
617
|
}
|
|
428
618
|
}
|
|
429
|
-
function
|
|
619
|
+
function DynamicFormComponent_ng_template_3_ng_container_5_Template(rf, ctx) {
|
|
620
|
+
if (rf & 1) {
|
|
621
|
+
i0.ɵɵelementContainerStart(0);
|
|
622
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
623
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_Template, 8, 7, "ng-template", null, 36, i0.ɵɵtemplateRefExtractor);
|
|
624
|
+
i0.ɵɵelementContainerEnd();
|
|
625
|
+
}
|
|
626
|
+
if (rf & 2) {
|
|
627
|
+
const _r95 = i0.ɵɵreference(3);
|
|
628
|
+
const ctx_r21 = i0.ɵɵnextContext(2);
|
|
629
|
+
i0.ɵɵadvance(1);
|
|
630
|
+
i0.ɵɵproperty("ngIf", ctx_r21.customSingleSelectRadio)("ngIfElse", _r95);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
634
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_Template(rf, ctx) {
|
|
635
|
+
if (rf & 1) {
|
|
636
|
+
i0.ɵɵelementContainerStart(0);
|
|
637
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
638
|
+
i0.ɵɵelementContainerEnd();
|
|
639
|
+
}
|
|
640
|
+
if (rf & 2) {
|
|
641
|
+
const ctx_r114 = i0.ɵɵnextContext(2);
|
|
642
|
+
const field_r13 = ctx_r114.$implicit;
|
|
643
|
+
const control_r14 = ctx_r114.control;
|
|
644
|
+
const formgroup_r15 = ctx_r114.formGroup;
|
|
645
|
+
const ctx_r110 = i0.ɵɵnextContext();
|
|
646
|
+
i0.ɵɵadvance(1);
|
|
647
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r110.customMultiSelectCheckbox)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_Template(rf, ctx) {
|
|
430
651
|
if (rf & 1) {
|
|
431
652
|
i0.ɵɵelementStart(0, "span");
|
|
432
653
|
i0.ɵɵtext(1, " *");
|
|
433
654
|
i0.ɵɵelementEnd();
|
|
434
655
|
}
|
|
435
656
|
}
|
|
436
|
-
function
|
|
657
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_img_1_Template(rf, ctx) {
|
|
437
658
|
if (rf & 1) {
|
|
438
|
-
i0.ɵɵelement(0, "img",
|
|
659
|
+
i0.ɵɵelement(0, "img", 41);
|
|
439
660
|
}
|
|
440
661
|
if (rf & 2) {
|
|
441
|
-
const
|
|
442
|
-
i0.ɵɵproperty("src",
|
|
662
|
+
const ctx_r119 = i0.ɵɵnextContext(5);
|
|
663
|
+
i0.ɵɵproperty("src", ctx_r119.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
443
664
|
}
|
|
444
665
|
}
|
|
445
|
-
function
|
|
666
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template(rf, ctx) {
|
|
446
667
|
if (rf & 1) {
|
|
447
|
-
const
|
|
448
|
-
i0.ɵɵelementStart(0, "div",
|
|
449
|
-
i0.ɵɵlistener("click", function
|
|
450
|
-
i0.ɵɵtemplate(1,
|
|
451
|
-
i0.ɵɵelementStart(2, "p",
|
|
668
|
+
const _r122 = i0.ɵɵgetCurrentView();
|
|
669
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
670
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r122); const item_r118 = restoredCtx.$implicit; const ctx_r121 = i0.ɵɵnextContext(3); const field_r13 = ctx_r121.$implicit; const control_r14 = ctx_r121.control; const formgroup_r15 = ctx_r121.formGroup; const ctx_r120 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r120.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, [item_r118])); });
|
|
671
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_img_1_Template, 1, 1, "img", 40);
|
|
672
|
+
i0.ɵɵelementStart(2, "p", 23);
|
|
452
673
|
i0.ɵɵtext(3);
|
|
453
674
|
i0.ɵɵelementEnd()();
|
|
454
675
|
}
|
|
455
676
|
if (rf & 2) {
|
|
456
|
-
const
|
|
457
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
458
|
-
const
|
|
459
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3,
|
|
677
|
+
const item_r118 = ctx.$implicit;
|
|
678
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
679
|
+
const ctx_r116 = i0.ɵɵnextContext();
|
|
680
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15, ctx_r116.isCheckBoxSelected(item_r118.label, control_r14.value)));
|
|
460
681
|
i0.ɵɵadvance(1);
|
|
461
|
-
i0.ɵɵproperty("ngIf",
|
|
682
|
+
i0.ɵɵproperty("ngIf", ctx_r116.isCheckBoxSelected(item_r118.label, control_r14.value) && ctx_r116.activeBtnIconUrl);
|
|
462
683
|
i0.ɵɵadvance(2);
|
|
463
|
-
i0.ɵɵtextInterpolate(
|
|
684
|
+
i0.ɵɵtextInterpolate(item_r118.label);
|
|
464
685
|
}
|
|
465
686
|
}
|
|
466
|
-
function
|
|
687
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_ng_container_7_Template(rf, ctx) {
|
|
467
688
|
if (rf & 1) {
|
|
468
689
|
i0.ɵɵelementContainer(0, 6);
|
|
469
690
|
}
|
|
470
691
|
if (rf & 2) {
|
|
471
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
692
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
472
693
|
i0.ɵɵnextContext();
|
|
473
694
|
const _r3 = i0.ɵɵreference(6);
|
|
474
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
695
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
475
696
|
}
|
|
476
697
|
}
|
|
477
|
-
function
|
|
698
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_Template(rf, ctx) {
|
|
478
699
|
if (rf & 1) {
|
|
479
|
-
i0.ɵɵelementStart(0, "div",
|
|
700
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
480
701
|
i0.ɵɵtext(2);
|
|
481
|
-
i0.ɵɵtemplate(3,
|
|
702
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
482
703
|
i0.ɵɵelementEnd();
|
|
483
704
|
i0.ɵɵelement(4, "div", 15);
|
|
484
|
-
i0.ɵɵelementStart(5, "div",
|
|
485
|
-
i0.ɵɵtemplate(6,
|
|
705
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
706
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template, 4, 5, "div", 38);
|
|
486
707
|
i0.ɵɵelementEnd();
|
|
487
|
-
i0.ɵɵtemplate(7,
|
|
708
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
488
709
|
i0.ɵɵelementEnd();
|
|
489
710
|
}
|
|
490
711
|
if (rf & 2) {
|
|
491
|
-
const
|
|
492
|
-
const formgroup_r15 =
|
|
493
|
-
const field_r13 =
|
|
494
|
-
const control_r14 =
|
|
495
|
-
const
|
|
496
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
712
|
+
const ctx_r125 = i0.ɵɵnextContext(2);
|
|
713
|
+
const formgroup_r15 = ctx_r125.formGroup;
|
|
714
|
+
const field_r13 = ctx_r125.$implicit;
|
|
715
|
+
const control_r14 = ctx_r125.control;
|
|
716
|
+
const ctx_r112 = i0.ɵɵnextContext();
|
|
717
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r112.removeSepratorForSubFields ? "none" : ""));
|
|
497
718
|
i0.ɵɵadvance(2);
|
|
498
719
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
499
720
|
i0.ɵɵadvance(1);
|
|
@@ -504,44 +725,75 @@ function DynamicFormComponent_ng_template_3_div_6_Template(rf, ctx) {
|
|
|
504
725
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
505
726
|
}
|
|
506
727
|
}
|
|
507
|
-
function
|
|
728
|
+
function DynamicFormComponent_ng_template_3_ng_container_6_Template(rf, ctx) {
|
|
729
|
+
if (rf & 1) {
|
|
730
|
+
i0.ɵɵelementContainerStart(0);
|
|
731
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
732
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_Template, 8, 7, "ng-template", null, 42, i0.ɵɵtemplateRefExtractor);
|
|
733
|
+
i0.ɵɵelementContainerEnd();
|
|
734
|
+
}
|
|
735
|
+
if (rf & 2) {
|
|
736
|
+
const _r111 = i0.ɵɵreference(3);
|
|
737
|
+
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
738
|
+
i0.ɵɵadvance(1);
|
|
739
|
+
i0.ɵɵproperty("ngIf", ctx_r22.customMultiSelectCheckbox)("ngIfElse", _r111);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
743
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_Template(rf, ctx) {
|
|
744
|
+
if (rf & 1) {
|
|
745
|
+
i0.ɵɵelementContainerStart(0);
|
|
746
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
747
|
+
i0.ɵɵelementContainerEnd();
|
|
748
|
+
}
|
|
749
|
+
if (rf & 2) {
|
|
750
|
+
const ctx_r130 = i0.ɵɵnextContext(2);
|
|
751
|
+
const field_r13 = ctx_r130.$implicit;
|
|
752
|
+
const control_r14 = ctx_r130.control;
|
|
753
|
+
const formgroup_r15 = ctx_r130.formGroup;
|
|
754
|
+
const ctx_r126 = i0.ɵɵnextContext();
|
|
755
|
+
i0.ɵɵadvance(1);
|
|
756
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r126.customMultiSelectDropdown)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_Template(rf, ctx) {
|
|
508
760
|
if (rf & 1) {
|
|
509
761
|
i0.ɵɵelementStart(0, "span");
|
|
510
762
|
i0.ɵɵtext(1, " *");
|
|
511
763
|
i0.ɵɵelementEnd();
|
|
512
764
|
}
|
|
513
765
|
}
|
|
514
|
-
function
|
|
766
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_ng_container_5_Template(rf, ctx) {
|
|
515
767
|
if (rf & 1) {
|
|
516
768
|
i0.ɵɵelementContainer(0, 6);
|
|
517
769
|
}
|
|
518
770
|
if (rf & 2) {
|
|
519
|
-
const control_r14 = i0.ɵɵnextContext(
|
|
771
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
520
772
|
i0.ɵɵnextContext();
|
|
521
773
|
const _r3 = i0.ɵɵreference(6);
|
|
522
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
|
774
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
523
775
|
}
|
|
524
776
|
}
|
|
525
|
-
function
|
|
777
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template(rf, ctx) {
|
|
526
778
|
if (rf & 1) {
|
|
527
|
-
const
|
|
528
|
-
i0.ɵɵelementStart(0, "div",
|
|
779
|
+
const _r136 = i0.ɵɵgetCurrentView();
|
|
780
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
529
781
|
i0.ɵɵtext(2);
|
|
530
|
-
i0.ɵɵtemplate(3,
|
|
782
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
531
783
|
i0.ɵɵelementEnd();
|
|
532
|
-
i0.ɵɵelementStart(4, "mis-multi-select-dropdown",
|
|
533
|
-
i0.ɵɵlistener("onChange", function
|
|
784
|
+
i0.ɵɵelementStart(4, "mis-multi-select-dropdown", 44);
|
|
785
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template_mis_multi_select_dropdown_onChange_4_listener($event) { i0.ɵɵrestoreView(_r136); const ctx_r135 = i0.ɵɵnextContext(2); const field_r13 = ctx_r135.$implicit; const control_r14 = ctx_r135.control; const formgroup_r15 = ctx_r135.formGroup; const ctx_r134 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r134.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
534
786
|
i0.ɵɵelementEnd();
|
|
535
|
-
i0.ɵɵtemplate(5,
|
|
787
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
536
788
|
i0.ɵɵelementEnd();
|
|
537
789
|
}
|
|
538
790
|
if (rf & 2) {
|
|
539
|
-
const
|
|
540
|
-
const formgroup_r15 =
|
|
541
|
-
const field_r13 =
|
|
542
|
-
const control_r14 =
|
|
543
|
-
const
|
|
544
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11,
|
|
791
|
+
const ctx_r137 = i0.ɵɵnextContext(2);
|
|
792
|
+
const formgroup_r15 = ctx_r137.formGroup;
|
|
793
|
+
const field_r13 = ctx_r137.$implicit;
|
|
794
|
+
const control_r14 = ctx_r137.control;
|
|
795
|
+
const ctx_r128 = i0.ɵɵnextContext();
|
|
796
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r128.removeSepratorForSubFields ? "none" : ""));
|
|
545
797
|
i0.ɵɵadvance(2);
|
|
546
798
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
547
799
|
i0.ɵɵadvance(1);
|
|
@@ -552,16 +804,30 @@ function DynamicFormComponent_ng_template_3_div_7_Template(rf, ctx) {
|
|
|
552
804
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
553
805
|
}
|
|
554
806
|
}
|
|
807
|
+
function DynamicFormComponent_ng_template_3_ng_container_7_Template(rf, ctx) {
|
|
808
|
+
if (rf & 1) {
|
|
809
|
+
i0.ɵɵelementContainerStart(0);
|
|
810
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
811
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template, 6, 13, "ng-template", null, 43, i0.ɵɵtemplateRefExtractor);
|
|
812
|
+
i0.ɵɵelementContainerEnd();
|
|
813
|
+
}
|
|
814
|
+
if (rf & 2) {
|
|
815
|
+
const _r127 = i0.ɵɵreference(3);
|
|
816
|
+
const ctx_r23 = i0.ɵɵnextContext(2);
|
|
817
|
+
i0.ɵɵadvance(1);
|
|
818
|
+
i0.ɵɵproperty("ngIf", ctx_r23.customMultiSelectDropdown)("ngIfElse", _r127);
|
|
819
|
+
}
|
|
820
|
+
}
|
|
555
821
|
function DynamicFormComponent_ng_template_3_Template(rf, ctx) {
|
|
556
822
|
if (rf & 1) {
|
|
557
|
-
i0.ɵɵtemplate(0,
|
|
558
|
-
i0.ɵɵtemplate(1,
|
|
559
|
-
i0.ɵɵtemplate(2,
|
|
560
|
-
i0.ɵɵtemplate(3,
|
|
561
|
-
i0.ɵɵtemplate(4,
|
|
562
|
-
i0.ɵɵtemplate(5,
|
|
563
|
-
i0.ɵɵtemplate(6,
|
|
564
|
-
i0.ɵɵtemplate(7,
|
|
823
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_0_Template, 4, 2, "ng-container", 10);
|
|
824
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_Template, 4, 2, "ng-container", 10);
|
|
825
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_2_Template, 4, 2, "ng-container", 10);
|
|
826
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_3_Template, 4, 2, "ng-container", 10);
|
|
827
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_ng_container_4_Template, 4, 2, "ng-container", 10);
|
|
828
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_5_Template, 4, 2, "ng-container", 10);
|
|
829
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_6_Template, 4, 2, "ng-container", 10);
|
|
830
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_7_Template, 4, 2, "ng-container", 10);
|
|
565
831
|
}
|
|
566
832
|
if (rf & 2) {
|
|
567
833
|
const field_r13 = ctx.$implicit;
|
|
@@ -585,29 +851,29 @@ function DynamicFormComponent_ng_template_3_Template(rf, ctx) {
|
|
|
585
851
|
function DynamicFormComponent_ng_template_5_ng_container_1_Template(rf, ctx) {
|
|
586
852
|
if (rf & 1) {
|
|
587
853
|
i0.ɵɵelementContainerStart(0);
|
|
588
|
-
i0.ɵɵelementStart(1, "p",
|
|
854
|
+
i0.ɵɵelementStart(1, "p", 46);
|
|
589
855
|
i0.ɵɵtext(2);
|
|
590
856
|
i0.ɵɵelementEnd();
|
|
591
|
-
i0.ɵɵelement(3, "div",
|
|
857
|
+
i0.ɵɵelement(3, "div", 47);
|
|
592
858
|
i0.ɵɵelementContainerEnd();
|
|
593
859
|
}
|
|
594
860
|
if (rf & 2) {
|
|
595
|
-
const
|
|
861
|
+
const error_r140 = ctx.$implicit;
|
|
596
862
|
i0.ɵɵadvance(2);
|
|
597
|
-
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" +
|
|
863
|
+
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" + error_r140.value, " ");
|
|
598
864
|
}
|
|
599
865
|
}
|
|
600
866
|
function DynamicFormComponent_ng_template_5_Template(rf, ctx) {
|
|
601
867
|
if (rf & 1) {
|
|
602
|
-
i0.ɵɵelementStart(0, "div",
|
|
868
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
603
869
|
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_5_ng_container_1_Template, 4, 1, "ng-container", 9);
|
|
604
870
|
i0.ɵɵpipe(2, "keyvalue");
|
|
605
871
|
i0.ɵɵelementEnd();
|
|
606
872
|
}
|
|
607
873
|
if (rf & 2) {
|
|
608
|
-
const
|
|
874
|
+
const errors_r138 = ctx.$implicit;
|
|
609
875
|
i0.ɵɵadvance(1);
|
|
610
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1,
|
|
876
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, errors_r138));
|
|
611
877
|
}
|
|
612
878
|
}
|
|
613
879
|
class DynamicFormComponent {
|
|
@@ -859,7 +1125,29 @@ class DynamicFormComponent {
|
|
|
859
1125
|
}
|
|
860
1126
|
}
|
|
861
1127
|
DynamicFormComponent.ɵfac = function DynamicFormComponent_Factory(t) { return new (t || DynamicFormComponent)(); };
|
|
862
|
-
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]],
|
|
1128
|
+
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], contentQueries: function DynamicFormComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
1129
|
+
if (rf & 1) {
|
|
1130
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
1131
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
1132
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 5);
|
|
1133
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 5);
|
|
1134
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 5);
|
|
1135
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 5);
|
|
1136
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 5);
|
|
1137
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 5);
|
|
1138
|
+
}
|
|
1139
|
+
if (rf & 2) {
|
|
1140
|
+
let _t;
|
|
1141
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextNumber = _t.first);
|
|
1142
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextarea = _t.first);
|
|
1143
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputDate = _t.first);
|
|
1144
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customBooleanToggle = _t.first);
|
|
1145
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectDropdown = _t.first);
|
|
1146
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectRadio = _t.first);
|
|
1147
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectCheckbox = _t.first);
|
|
1148
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectDropdown = _t.first);
|
|
1149
|
+
}
|
|
1150
|
+
}, inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl", removeIconUrl: "removeIconUrl", removeSepratorForSubFields: "removeSepratorForSubFields" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized", fieldRemoved: "fieldRemoved" }, decls: 7, vars: 2, consts: [[3, "formGroup"], ["formArrayName", "dynamicFields"], [3, "formGroupName", 4, "ngFor", "ngForOf"], ["dynamicField", ""], ["dynamicFieldErrors", ""], [3, "formGroupName"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "sub-dynamic-form", 4, "ngIf"], [1, "sub-dynamic-form"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["defaultInputTextNumber", ""], [1, "dynamic-field", "multi-line-field-container", 3, "ngStyle"], [1, "h7", "field-title-sm"], [2, "flex-basis", "100%"], [1, "input-field", "ip-text", 3, "type", "formControl", "ngStyle", "placeholder", "min", "ngModelChange"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["defaultInputTextarea", ""], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngStyle", "placeholder", "formControl", "ngModelChange"], ["defaultInputDate", ""], ["class", "dynamic-field single-line-field-container", 3, "ngStyle", 4, "ngIf"], [1, "dynamic-field", "single-line-field-container", 3, "ngStyle"], [1, "h6"], [1, "date-picker-container"], ["readonly", "", "misTzDp", "", 1, "date-picker", 3, "dpConfig", "selectedDate", "offsetY", "value", "dateChange"], ["dp", ""], ["alt", "data-picker", "class", "date-picker-icon", 3, "src", "click", 4, "ngIf"], ["alt", "data-picker", 1, "date-picker-icon", 3, "src", "click"], ["defaultBooleanToggle", ""], [3, "control", "valueChanged"], ["defaultSingleSelectDropdown", ""], [3, "ngClass"], [3, "searchEnabled", "width", "data", "selectedItem", "onChange"], ["class", "remove-icon", 3, "src", "click", 4, "ngIf"], [1, "remove-icon", 3, "src", "click"], ["defaultSingleSelectRadio", ""], ["id", "checkboxes-container"], ["class", "radio-checkbox-common", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "radio-checkbox-common", 3, "ngClass", "click"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"], ["defaultMultiSelectCheckbox", ""], ["defaultMultiSelectDropdown", ""], [3, "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems", "onChange"], ["id", "error-messages-container"], [1, "h8"], [2, "flex-basis", "100%", "height", "0"]], template: function DynamicFormComponent_Template(rf, ctx) {
|
|
863
1151
|
if (rf & 1) {
|
|
864
1152
|
i0.ɵɵelementStart(0, "form", 0);
|
|
865
1153
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -878,7 +1166,7 @@ DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dynami
|
|
|
878
1166
|
(function () {
|
|
879
1167
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormComponent, [{
|
|
880
1168
|
type: Component,
|
|
881
|
-
args: [{ selector: "mis-dynamic-form", template: "<form [formGroup]=\"dynamicForm\">\n <ng-container formArrayName=\"dynamicFields\">\n <ng-container [formGroupName]=\"i\" *ngFor=\"let fieldControl of getDynamicFieldsControls().controls; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i],\n formGroup: fieldControl,\n control: fieldControl.controls.value\n }\"\n >\n </ng-container>\n <div class=\"sub-dynamic-form\" *ngIf=\"fieldControl.value && (!!formFields[i]?.subFields && formFields[i]?.subFields?.length > 0 && matchParentConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value))\">\n <ng-container *ngFor=\"let subFieldControl of fieldControl.controls.subFields.controls; let j = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: findSelectedSubFieldConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value,j),\n control: subFieldControl\n }\">\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n</form>\n\n\n<ng-template #dynamicField let-field let-control=\"control\" let-formgroup=\"formGroup\">\n\n <!-- fieldType: 'input' fieldInputType: 'text' | 'number' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <input class=\"input-field ip-text\" [type]=\"field.fieldInputType\" [formControl]=\"control\"\n (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\" \n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" \n [min]=\"field.fieldInputType === 'number' ? 0 : '' \"/>\n <ng-container *ngIf=\"control.touched && control.errors\"\n [ngTemplateOutlet]=\"dynamicFieldErrors\" \n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\"\n >\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <textarea class=\"input-field ip-textarea\" type=\"text\"\n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" [formControl]=\"control\" (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\"></textarea>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div class=\"date-picker-container\">\n <input class=\"date-picker\" readonly misTzDp [dpConfig]=\"field.fieldConfig\"\n (dateChange)=\"control.setValue($event)\" [selectedDate]=\"control.value\" [offsetY]=\"0\"\n [value]=\"control.value\" #dp />\n <img alt=\"data-picker\" *ngIf=\"calendarIconUrl\" class=\"date-picker-icon\" [src]=\"calendarIconUrl\"\n (click)=\"dp.click()\" />\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-switch [control]=\"control\" (valueChanged)=\"updateSubDynamicFields(field, formgroup, $event)\"></mis-switch>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div [ngClass]=\"{'removeable-container' : field?.isRemoveable}\">\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <img *ngIf=\"field.isRemoveable && removeIconUrl\" class=\"remove-icon\" [src]=\"removeIconUrl\" (click)=\"fieldRemoved.emit(field)\">\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': item.label === control.value?.label }\"\n (click)=\"updateSelectedValueForSingleSelect(field, control, formgroup, item);\">\n <img *ngIf=\"(item.label === control.value?.label) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\" alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': isCheckBoxSelected(item.label, control.value) }\"\n (click)=\"updateSelectedValueForMultiSelect(field, control, formgroup, [item])\">\n <img *ngIf=\"isCheckBoxSelected(item.label, control.value) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\"\n alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-multi-select-dropdown [width]=\"'140px'\" [showSelectedCount]=\"true\" [dropdownListWidth]=\"'256px'\"\n [searchEnabled]=\"false\" [hideApplyButton]=\"true\" [data]=\"field.itemsList\"\n [selectedItems]=\"control.value\" (onChange)=\"updateSelectedValueForMultiSelect(field, control, formgroup, $event);\"></mis-multi-select-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n</ng-template>\n\n<ng-template #dynamicFieldErrors let-errors>\n <div id=\"error-messages-container\">\n <ng-container *ngFor=\"let error of errors | keyvalue\">\n <p class=\"h8\">\n {{\" \u2022 \" + error.value}}\n </p>\n <div style=\"flex-basis: 100%; height: 0\"></div>\n </ng-container>\n </div>\n</ng-template>", styles: ["p{margin:0;cursor:default}::ng-deep .main-container{margin:0;max-width:100%}.sub-dynamic-form{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field ::ng-deep .container{height:32px!important}.single-line-field-container{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm{margin-bottom:8px;cursor:default}.input-field{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text{height:44px;padding:8px 12px}.ip-textarea{max-height:94px;padding:8px}input:focus{outline:none}input::placeholder{color:var(--grey-seperators)}textarea:focus{outline:none}.date-picker-container{position:relative;width:140px}.date-picker-container .date-picker{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container .date-picker:hover{background-color:var(--grey-hover)}.date-picker-container .date-picker-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form .dynamic-field:last-child{border-bottom:none!important}#checkboxes-container{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common p{color:var(--text-muted);cursor:pointer}.radio-checkbox-common img{margin-right:8px}.checkbox-active{background-color:var(--pmry-500)}.checkbox-active p{color:var(--text-white)}#error-messages-container{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container p{color:var(--sem-error)}.removeable-container{display:flex;justify-content:center;align-items:center}.removeable-container .remove-icon{cursor:pointer;margin-left:8px;max-width:24px}span{color:var(--sem-error)}\n"] }]
|
|
1169
|
+
args: [{ selector: "mis-dynamic-form", template: "<form [formGroup]=\"dynamicForm\">\n <ng-container formArrayName=\"dynamicFields\">\n <ng-container [formGroupName]=\"i\" *ngFor=\"let fieldControl of getDynamicFieldsControls().controls; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i],\n formGroup: fieldControl,\n control: fieldControl.controls.value\n }\"\n >\n </ng-container>\n <div class=\"sub-dynamic-form\" *ngIf=\"fieldControl.value && (!!formFields[i]?.subFields && formFields[i]?.subFields?.length > 0 && matchParentConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value))\">\n <ng-container *ngFor=\"let subFieldControl of fieldControl.controls.subFields.controls; let j = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: findSelectedSubFieldConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value,j),\n control: subFieldControl\n }\">\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n</form>\n\n\n<ng-template #dynamicField let-field let-control=\"control\" let-formgroup=\"formGroup\">\n\n <!-- fieldType: 'input' fieldInputType: 'text' | 'number' -->\n <ng-container *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <ng-container *ngIf=\"customInputTextNumber; else defaultInputTextNumber\">\n <ng-template\n [ngTemplateOutlet]=\"customInputTextNumber\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputTextNumber>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field?.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <input class=\"input-field ip-text\" [type]=\"field.fieldInputType\" [formControl]=\"control\"\n (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\" \n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" \n [min]=\"field.fieldInputType === 'number' ? 0 : '' \"/>\n <ng-container *ngIf=\"control.touched && control.errors\"\n [ngTemplateOutlet]=\"dynamicFieldErrors\" \n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\"\n >\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n \n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <ng-container *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <ng-container *ngIf=\"customInputTextarea; else defaultInputTextarea\">\n <ng-template\n [ngTemplateOutlet]=\"customInputTextarea\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputTextarea>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <textarea class=\"input-field ip-textarea\" type=\"text\"\n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" [formControl]=\"control\" (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\"></textarea>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n \n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <ng-container *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <ng-container *ngIf=\"customInputDate; else defaultInputDate\">\n <ng-template\n [ngTemplateOutlet]=\"customInputDate\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputDate>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div class=\"date-picker-container\">\n <input class=\"date-picker\" readonly misTzDp [dpConfig]=\"field.fieldConfig\"\n (dateChange)=\"control.setValue($event)\" [selectedDate]=\"control.value\" [offsetY]=\"0\"\n [value]=\"control.value\" #dp />\n <img alt=\"data-picker\" *ngIf=\"calendarIconUrl\" class=\"date-picker-icon\" [src]=\"calendarIconUrl\"\n (click)=\"dp.click()\" />\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <ng-container *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <ng-container *ngIf=\"customBooleanToggle; else defaultBooleanToggle\">\n <ng-template\n [ngTemplateOutlet]=\"customBooleanToggle\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultBooleanToggle>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-switch [control]=\"control\" (valueChanged)=\"updateSubDynamicFields(field, formgroup, $event)\"></mis-switch>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div> \n </ng-template>\n </ng-container>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <ng-container *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <ng-container *ngIf=\"customSingleSelectDropdown; else defaultSingleSelectDropdown\">\n <ng-template\n [ngTemplateOutlet]=\"customSingleSelectDropdown\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultSingleSelectDropdown>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div [ngClass]=\"{'removeable-container' : field?.isRemoveable}\">\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <img *ngIf=\"field.isRemoveable && removeIconUrl\" class=\"remove-icon\" [src]=\"removeIconUrl\" (click)=\"fieldRemoved.emit(field)\">\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container >\n \n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <ng-container *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <ng-container *ngIf=\"customSingleSelectRadio; else defaultSingleSelectRadio\">\n <ng-template\n [ngTemplateOutlet]=\"customSingleSelectRadio\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultSingleSelectRadio>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': item.label === control.value?.label }\"\n (click)=\"updateSelectedValueForSingleSelect(field, control, formgroup, item);\">\n <img *ngIf=\"(item.label === control.value?.label) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\" alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n \n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <ng-container *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <ng-container *ngIf=\"customMultiSelectCheckbox; else defaultMultiSelectCheckbox\">\n <ng-template\n [ngTemplateOutlet]=\"customMultiSelectCheckbox\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultMultiSelectCheckbox>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': isCheckBoxSelected(item.label, control.value) }\"\n (click)=\"updateSelectedValueForMultiSelect(field, control, formgroup, [item])\">\n <img *ngIf=\"isCheckBoxSelected(item.label, control.value) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\"\n alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <ng-container *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <ng-container *ngIf=\"customMultiSelectDropdown; else defaultMultiSelectDropdown\">\n <ng-template\n [ngTemplateOutlet]=\"customMultiSelectDropdown\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultMultiSelectDropdown>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-multi-select-dropdown [width]=\"'140px'\" [showSelectedCount]=\"true\" [dropdownListWidth]=\"'256px'\"\n [searchEnabled]=\"false\" [hideApplyButton]=\"true\" [data]=\"field.itemsList\"\n [selectedItems]=\"control.value\" (onChange)=\"updateSelectedValueForMultiSelect(field, control, formgroup, $event);\"></mis-multi-select-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n\n</ng-template>\n\n<ng-template #dynamicFieldErrors let-errors>\n <div id=\"error-messages-container\">\n <ng-container *ngFor=\"let error of errors | keyvalue\">\n <p class=\"h8\">\n {{\" \u2022 \" + error.value}}\n </p>\n <div style=\"flex-basis: 100%; height: 0\"></div>\n </ng-container>\n </div>\n</ng-template>", styles: ["p{margin:0;cursor:default}::ng-deep .main-container{margin:0;max-width:100%}.sub-dynamic-form{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field ::ng-deep .container{height:32px!important}.single-line-field-container{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm{margin-bottom:8px;cursor:default}.input-field{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text{height:44px;padding:8px 12px}.ip-textarea{max-height:94px;padding:8px}input:focus{outline:none}input::placeholder{color:var(--grey-seperators)}textarea:focus{outline:none}.date-picker-container{position:relative;width:140px}.date-picker-container .date-picker{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container .date-picker:hover{background-color:var(--grey-hover)}.date-picker-container .date-picker-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form .dynamic-field:last-child{border-bottom:none!important}#checkboxes-container{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common p{color:var(--text-muted);cursor:pointer}.radio-checkbox-common img{margin-right:8px}.checkbox-active{background-color:var(--pmry-500)}.checkbox-active p{color:var(--text-white)}#error-messages-container{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container p{color:var(--sem-error)}.removeable-container{display:flex;justify-content:center;align-items:center}.removeable-container .remove-icon{cursor:pointer;margin-left:8px;max-width:24px}span{color:var(--sem-error)}\n"] }]
|
|
882
1170
|
}], function () { return []; }, { formFields: [{
|
|
883
1171
|
type: Input
|
|
884
1172
|
}], formValues: [{
|
|
@@ -899,6 +1187,30 @@ DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dynami
|
|
|
899
1187
|
type: Output
|
|
900
1188
|
}], fieldRemoved: [{
|
|
901
1189
|
type: Output
|
|
1190
|
+
}], customInputTextNumber: [{
|
|
1191
|
+
type: ContentChild,
|
|
1192
|
+
args: ["customInputTextNumber", { static: false }]
|
|
1193
|
+
}], customInputTextarea: [{
|
|
1194
|
+
type: ContentChild,
|
|
1195
|
+
args: ["customInputTextarea", { static: false }]
|
|
1196
|
+
}], customInputDate: [{
|
|
1197
|
+
type: ContentChild,
|
|
1198
|
+
args: ["customInputDate", { static: false }]
|
|
1199
|
+
}], customBooleanToggle: [{
|
|
1200
|
+
type: ContentChild,
|
|
1201
|
+
args: ["customBooleanToggle", { static: false }]
|
|
1202
|
+
}], customSingleSelectDropdown: [{
|
|
1203
|
+
type: ContentChild,
|
|
1204
|
+
args: ["customSingleSelectDropdown", { static: false }]
|
|
1205
|
+
}], customSingleSelectRadio: [{
|
|
1206
|
+
type: ContentChild,
|
|
1207
|
+
args: ["customSingleSelectRadio", { static: false }]
|
|
1208
|
+
}], customMultiSelectCheckbox: [{
|
|
1209
|
+
type: ContentChild,
|
|
1210
|
+
args: ["customMultiSelectCheckbox", { static: false }]
|
|
1211
|
+
}], customMultiSelectDropdown: [{
|
|
1212
|
+
type: ContentChild,
|
|
1213
|
+
args: ["customMultiSelectDropdown", { static: false }]
|
|
902
1214
|
}] });
|
|
903
1215
|
})();
|
|
904
1216
|
const dynamicFieldValidator = (validators) => {
|