mis-crystal-design-system 2.0.1 → 2.2.0
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/async-search-dropdown/async-dropdown.component.d.ts +60 -0
- package/async-search-dropdown/async-dropdown.module.d.ts +2 -0
- package/{src/datepicker/sub-components/chronos → async-search-dropdown}/index.d.ts +0 -0
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +4 -0
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +1 -0
- package/async-search-dropdown/package.json +11 -0
- package/async-search-dropdown/public_api.d.ts +2 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +211 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-button.umd.js +134 -0
- package/bundles/mis-crystal-design-system-button.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-button.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-button.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.js +128 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-chip.umd.js +65 -0
- package/bundles/mis-crystal-design-system-chip.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-chip.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-chip.umd.min.js.map +1 -0
- package/bundles/{mis-crystal-design-system-src-datepicker.umd.js → mis-crystal-design-system-datepicker.umd.js} +3 -3
- package/bundles/mis-crystal-design-system-datepicker.umd.js.map +1 -0
- package/bundles/{mis-crystal-design-system-src-datepicker.umd.min.js → mis-crystal-design-system-datepicker.umd.min.js} +2 -2
- package/bundles/{mis-crystal-design-system-src-datepicker.umd.min.js.map → mis-crystal-design-system-datepicker.umd.min.js.map} +1 -1
- package/bundles/mis-crystal-design-system-drawer.umd.js +172 -0
- package/bundles/mis-crystal-design-system-drawer.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-drawer.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.js +119 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-fab.umd.js +98 -0
- package/bundles/mis-crystal-design-system-fab.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-fab.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-fab.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-input.umd.js +111 -0
- package/bundles/mis-crystal-design-system-input.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-input.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-input.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-loader.umd.js +54 -0
- package/bundles/mis-crystal-design-system-loader.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-loader.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-loader.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-modal.umd.js +165 -0
- package/bundles/mis-crystal-design-system-modal.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-modal.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-modal.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +523 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +597 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.js +78 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-switch.umd.js +80 -0
- package/bundles/mis-crystal-design-system-switch.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-switch.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-switch.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-table.umd.js +791 -0
- package/bundles/mis-crystal-design-system-table.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-table.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-table.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-toast.umd.js +207 -0
- package/bundles/mis-crystal-design-system-toast.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-toast.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-toast.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.js +228 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system.umd.js +28 -15960
- package/bundles/mis-crystal-design-system.umd.js.map +1 -1
- package/bundles/mis-crystal-design-system.umd.min.js +1 -67
- package/bundles/mis-crystal-design-system.umd.min.js.map +1 -1
- package/button/button.directive.d.ts +12 -0
- package/button/mis-crystal-design-system-button.d.ts +5 -0
- package/button/mis-crystal-design-system-button.metadata.json +1 -0
- package/button/package.json +11 -0
- package/checkbox/mis-crystal-design-system-checkbox.d.ts +4 -0
- package/checkbox/mis-crystal-design-system-checkbox.metadata.json +1 -0
- package/checkbox/package.json +11 -0
- package/chip/mis-crystal-design-system-chip.d.ts +4 -0
- package/chip/mis-crystal-design-system-chip.metadata.json +1 -0
- package/chip/package.json +11 -0
- package/{src/datepicker/mis-crystal-design-system-src-datepicker.d.ts → datepicker/mis-crystal-design-system-datepicker.d.ts} +1 -1
- package/{src/datepicker/mis-crystal-design-system-src-datepicker.metadata.json → datepicker/mis-crystal-design-system-datepicker.metadata.json} +1 -1
- package/datepicker/package.json +11 -0
- package/drawer/mis-crystal-design-system-drawer.d.ts +5 -0
- package/drawer/mis-crystal-design-system-drawer.metadata.json +1 -0
- package/drawer/package.json +11 -0
- package/dropdown/mis-crystal-design-system-dropdown.d.ts +4 -0
- package/dropdown/mis-crystal-design-system-dropdown.metadata.json +1 -0
- package/dropdown/package.json +11 -0
- package/esm2015/async-search-dropdown/async-dropdown.component.js +176 -0
- package/esm2015/async-search-dropdown/async-dropdown.module.js +15 -0
- package/esm2015/async-search-dropdown/index.js +2 -0
- package/esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js +5 -0
- package/esm2015/async-search-dropdown/public_api.js +3 -0
- package/esm2015/button/button.component.js +1 -1
- package/esm2015/button/button.directive.js +57 -0
- package/esm2015/button/button.module.js +4 -3
- package/esm2015/button/index.js +1 -1
- package/esm2015/button/mis-crystal-design-system-button.js +6 -0
- package/esm2015/button/public_api.js +1 -1
- package/esm2015/checkbox/checkbox.component.js +1 -1
- package/esm2015/checkbox/checkbox.module.js +1 -1
- package/esm2015/checkbox/index.js +1 -1
- package/esm2015/checkbox/mis-crystal-design-system-checkbox.js +5 -0
- package/esm2015/checkbox/public_api.js +1 -1
- package/esm2015/chip/chip.component.js +1 -1
- package/esm2015/chip/chip.module.js +1 -1
- package/esm2015/chip/index.js +1 -1
- package/esm2015/chip/mis-crystal-design-system-chip.js +5 -0
- package/esm2015/chip/public_api.js +1 -1
- package/esm2015/datepicker/base/bs-datepicker-container.js +1 -1
- package/esm2015/datepicker/bs-datepicker-inline.component.js +1 -1
- package/esm2015/datepicker/bs-datepicker-inline.config.js +1 -1
- package/esm2015/datepicker/bs-datepicker-input.directive.js +1 -1
- package/esm2015/datepicker/bs-datepicker.component.js +1 -1
- package/esm2015/datepicker/bs-datepicker.config.js +1 -1
- package/esm2015/datepicker/bs-datepicker.module.js +1 -1
- package/esm2015/datepicker/bs-daterangepicker-inline.component.js +1 -1
- package/esm2015/datepicker/bs-daterangepicker-inline.config.js +1 -1
- package/esm2015/datepicker/bs-daterangepicker-input.directive.js +1 -1
- package/esm2015/datepicker/bs-daterangepicker.component.js +1 -1
- package/esm2015/datepicker/bs-daterangepicker.config.js +1 -1
- package/esm2015/datepicker/bs-locale.service.js +1 -1
- package/esm2015/datepicker/date-formatter.js +1 -1
- package/esm2015/datepicker/datepicker-animations.js +1 -1
- package/esm2015/datepicker/datepicker-inner.component.js +1 -1
- package/esm2015/datepicker/datepicker.component.js +1 -1
- package/esm2015/datepicker/datepicker.config.js +1 -1
- package/esm2015/datepicker/datepicker.module.js +1 -1
- package/esm2015/datepicker/daypicker.component.js +1 -1
- package/esm2015/datepicker/engine/calc-days-calendar.js +1 -1
- package/esm2015/datepicker/engine/flag-days-calendar.js +1 -1
- package/esm2015/datepicker/engine/flag-months-calendar.js +1 -1
- package/esm2015/datepicker/engine/flag-years-calendar.js +1 -1
- package/esm2015/datepicker/engine/format-days-calendar.js +1 -1
- package/esm2015/datepicker/engine/format-months-calendar.js +1 -1
- package/esm2015/datepicker/engine/format-years-calendar.js +1 -1
- package/esm2015/datepicker/engine/view-mode.js +1 -1
- package/esm2015/datepicker/index.js +1 -1
- package/esm2015/datepicker/mis-crystal-design-system-datepicker.js +25 -0
- package/esm2015/datepicker/models/index.js +1 -1
- package/esm2015/datepicker/monthpicker.component.js +1 -1
- package/esm2015/datepicker/public_api.js +1 -1
- package/esm2015/datepicker/reducer/_defaults.js +1 -1
- package/esm2015/datepicker/reducer/bs-datepicker.actions.js +1 -1
- package/esm2015/datepicker/reducer/bs-datepicker.effects.js +1 -1
- package/esm2015/datepicker/reducer/bs-datepicker.reducer.js +1 -1
- package/esm2015/datepicker/reducer/bs-datepicker.state.js +1 -1
- package/esm2015/datepicker/reducer/bs-datepicker.store.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/check-overflow.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/clone.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/date-from-array.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-anything.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-array.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-object.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-string-and-array.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-string-and-format.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/from-string.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/local.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/parsing-flags.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/parsing.types.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/create/valid.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/duration/bubble.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/duration/constructor.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/duration/create.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/duration/humanize.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/duration/valid.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/format/format.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/format.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ar.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/bg.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ca.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/cs.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/da.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/de.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/en-gb.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/es-do.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/es-us.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/es.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/et.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/fi.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/fr.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/gl.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/he.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/hi.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/hr.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/hu.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/id.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/it.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ja.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ka.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/kk.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ko.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/lt.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/lv.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/mn.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/nb.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/nl-be.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/nl.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/pl.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/pt-br.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ro.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/ru.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/sk.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/sl.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/sq.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/sv.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/th-be.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/th.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/tr.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/uk.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/vi.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/i18n/zh-cn.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/index.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/locale/calendar.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/locale/locale.class.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/locale/locale.defaults.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/locale/locales.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/moment/add-subtract.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/moment/calendar.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/moment/diff.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/moment/min-max.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/parse/regex.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/parse/token.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/test/chain.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/types.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/aliases.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/constants.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/day-of-month.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/day-of-week.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/day-of-year.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/hour.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/index.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/millisecond.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/minute.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/month.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/offset.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/priorities.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/quarter.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/second.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/timestamp.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/timezone.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/week-calendar-utils.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/week-year.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/week.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/units/year.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/abs-ceil.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/abs-round.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/compare-arrays.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/date-compare.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/date-getters.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/date-setters.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/defaults.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/start-end-of.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/type-checks.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils/zero-fill.js +1 -1
- package/esm2015/datepicker/sub-components/chronos/utils.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/bs-component-ref.class.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/component-loader.class.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/component-loader.factory.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/content-ref.class.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/index.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/listen-options.model.js +1 -1
- package/esm2015/datepicker/sub-components/component-loader/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/mini-ngrx/index.js +1 -1
- package/esm2015/datepicker/sub-components/mini-ngrx/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/mini-ngrx/state.class.js +1 -1
- package/esm2015/datepicker/sub-components/mini-ngrx/store.class.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/index.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/models/index.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/arrow.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/flip.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/index.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/initData.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/preventOverflow.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/modifiers/shift.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/ng-positioning.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/positioning.service.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/computeAutoPlacement.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/findCommonOffsetParent.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getBordersSize.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getBoundaries.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getBoundingClientRect.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getClientRect.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getFixedPositionOffsetParent.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOffsetParent.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOffsetRectRelativeToArbitraryNode.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOffsets.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOppositePlacement.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOppositeVariation.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getOuterSizes.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getParentNode.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getReferenceOffsets.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getRoot.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getScroll.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getScrollParent.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getStyleComputedProperty.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getTargetOffsets.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/getWindowSizes.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/includeScroll.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/index.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isBrowser.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isFixed.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isIE.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isModifierEnabled.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isNumeric.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/isOffsetContainer.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/setStyles.js +1 -1
- package/esm2015/datepicker/sub-components/positioning/utils/updateContainerClass.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/index.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/tooltip-container.component.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/tooltip.config.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/tooltip.directive.js +1 -1
- package/esm2015/datepicker/sub-components/tooltip/tooltip.module.js +1 -1
- package/esm2015/datepicker/sub-components/utils/decorators.js +1 -1
- package/esm2015/datepicker/sub-components/utils/facade/browser.js +1 -1
- package/esm2015/datepicker/sub-components/utils/index.js +1 -1
- package/esm2015/datepicker/sub-components/utils/linked-list.class.js +1 -1
- package/esm2015/datepicker/sub-components/utils/public_api.js +1 -1
- package/esm2015/datepicker/sub-components/utils/theme-provider.js +1 -1
- package/esm2015/datepicker/sub-components/utils/trigger.class.js +1 -1
- package/esm2015/datepicker/sub-components/utils/triggers.js +1 -1
- package/esm2015/datepicker/sub-components/utils/utils.class.js +1 -1
- package/esm2015/datepicker/sub-components/utils/warn-once.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-calendar-layout.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-current-date-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-custom-dates-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-datepicker-container.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-datepicker-day-decorator.directive.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-datepicker-inline-container.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-datepicker-navigation-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-daterangepicker-container.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-daterangepicker-inline-container.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-days-calendar-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-months-calendar-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-timepicker-view.component.js +1 -1
- package/esm2015/datepicker/themes/bs/bs-years-calendar-view.component.js +1 -1
- package/esm2015/datepicker/utils/bs-calendar-utils.js +1 -1
- package/esm2015/datepicker/utils/matrix-utils.js +1 -1
- package/esm2015/datepicker/yearpicker.component.js +1 -1
- package/esm2015/drawer/drawer-body/drawer-body.component.js +1 -1
- package/esm2015/drawer/drawer-constants.js +1 -1
- package/esm2015/drawer/drawer-ref.js +1 -1
- package/esm2015/drawer/drawer.module.js +1 -1
- package/esm2015/drawer/drawer.service.js +1 -1
- package/esm2015/drawer/index.js +1 -1
- package/esm2015/drawer/mis-crystal-design-system-drawer.js +6 -0
- package/esm2015/drawer/public_api.js +1 -1
- package/esm2015/dropdown/dropdown.component.js +1 -1
- package/esm2015/dropdown/dropdown.module.js +1 -1
- package/esm2015/dropdown/index.js +1 -1
- package/esm2015/dropdown/mis-crystal-design-system-dropdown.js +5 -0
- package/esm2015/dropdown/public_api.js +1 -1
- package/esm2015/fab/fab.component.js +1 -1
- package/esm2015/fab/fab.module.js +1 -1
- package/esm2015/fab/index.js +1 -1
- package/esm2015/fab/mis-crystal-design-system-fab.js +5 -0
- package/esm2015/fab/public_api.js +1 -1
- package/esm2015/index.js +2 -0
- package/esm2015/input/directives/input/input.directive.js +38 -0
- package/esm2015/input/index.js +2 -0
- package/esm2015/input/mis-crystal-design-system-input.js +5 -0
- package/esm2015/input/mis-input.component.js +40 -0
- package/esm2015/input/mis-input.module.js +15 -0
- package/esm2015/input/public_api.js +4 -0
- package/esm2015/loader/index.js +1 -1
- package/esm2015/loader/loader.component.js +1 -1
- package/esm2015/loader/loader.module.js +1 -1
- package/esm2015/loader/mis-crystal-design-system-loader.js +5 -0
- package/esm2015/loader/public_api.js +1 -1
- package/esm2015/mis-crystal-design-system.js +2 -2
- package/esm2015/modal/index.js +2 -0
- package/esm2015/modal/mis-crystal-design-system-modal.js +6 -0
- package/esm2015/modal/modal-constants.js +4 -0
- package/esm2015/modal/modal-ref.js +16 -0
- package/esm2015/modal/modal.module.js +32 -0
- package/esm2015/modal/modal.service.js +72 -0
- package/esm2015/modal/module-wrapper/module-wrapper.component.js +33 -0
- package/esm2015/modal/public_api.js +5 -0
- package/esm2015/multi-select-dropdown/index.js +1 -1
- package/esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js +5 -0
- package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +1 -1
- package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +3 -3
- package/esm2015/multi-select-dropdown/public_api.js +1 -1
- package/esm2015/nested-multi-select-dropdown/index.js +1 -1
- package/esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js +5 -0
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +1 -1
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +3 -3
- package/esm2015/nested-multi-select-dropdown/public_api.js +1 -1
- package/esm2015/public-api.js +17 -16
- package/esm2015/radio-button/index.js +1 -1
- package/esm2015/radio-button/mis-crystal-design-system-radio-button.js +5 -0
- package/esm2015/radio-button/public_api.js +1 -1
- package/esm2015/radio-button/radio-button.component.js +1 -1
- package/esm2015/radio-button/radio-button.module.js +1 -1
- package/esm2015/switch/index.js +1 -1
- package/esm2015/switch/mis-crystal-design-system-switch.js +5 -0
- package/esm2015/switch/public_api.js +1 -1
- package/esm2015/switch/switch.component.js +1 -1
- package/esm2015/switch/switch.module.js +1 -1
- package/esm2015/table/custom-table-cell.directive.js +3 -2
- package/esm2015/table/filter/filter.component.js +18 -22
- package/esm2015/table/index.js +1 -1
- package/esm2015/table/mis-crystal-design-system-table.js +6 -0
- package/esm2015/table/public_api.js +1 -2
- package/esm2015/table/sub-table/sub-table.component.js +3 -3
- package/esm2015/table/table.component.js +7 -10
- package/esm2015/table/table.module.js +4 -4
- package/esm2015/toast/index.js +1 -1
- package/esm2015/toast/mis-crystal-design-system-toast.js +7 -0
- package/esm2015/toast/public_api.js +1 -1
- package/esm2015/toast/toast.component.js +1 -1
- package/esm2015/toast/toast.data.service.js +1 -1
- package/esm2015/toast/toast.module.js +1 -1
- package/esm2015/toast/toast.service.js +1 -1
- package/esm2015/tooltip/index.js +1 -1
- package/esm2015/tooltip/mis-crystal-design-system-tooltip.js +5 -0
- package/esm2015/tooltip/public_api.js +1 -1
- package/esm2015/tooltip/tooltip.component.js +1 -1
- package/esm2015/tooltip/tooltip.directive.js +1 -1
- package/esm2015/tooltip/tooltip.module.js +1 -1
- package/fab/mis-crystal-design-system-fab.d.ts +4 -0
- package/fab/mis-crystal-design-system-fab.metadata.json +1 -0
- package/fab/package.json +11 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +194 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-button.js +120 -0
- package/fesm2015/mis-crystal-design-system-button.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-checkbox.js +101 -0
- package/fesm2015/mis-crystal-design-system-checkbox.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-chip.js +53 -0
- package/fesm2015/mis-crystal-design-system-chip.js.map +1 -0
- package/fesm2015/{mis-crystal-design-system-src-datepicker.js → mis-crystal-design-system-datepicker.js} +1 -1
- package/fesm2015/mis-crystal-design-system-datepicker.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-drawer.js +156 -0
- package/fesm2015/mis-crystal-design-system-drawer.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-dropdown.js +108 -0
- package/fesm2015/mis-crystal-design-system-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-fab.js +87 -0
- package/fesm2015/mis-crystal-design-system-fab.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-input.js +94 -0
- package/fesm2015/mis-crystal-design-system-input.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-loader.js +42 -0
- package/fesm2015/mis-crystal-design-system-loader.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-modal.js +151 -0
- package/fesm2015/mis-crystal-design-system-modal.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +192 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +246 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-radio-button.js +67 -0
- package/fesm2015/mis-crystal-design-system-radio-button.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-switch.js +61 -0
- package/fesm2015/mis-crystal-design-system-switch.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-table.js +413 -0
- package/fesm2015/mis-crystal-design-system-table.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-toast.js +179 -0
- package/fesm2015/mis-crystal-design-system-toast.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-tooltip.js +186 -0
- package/fesm2015/mis-crystal-design-system-tooltip.js.map +1 -0
- package/fesm2015/mis-crystal-design-system.js +16 -15320
- package/fesm2015/mis-crystal-design-system.js.map +1 -1
- package/index.d.ts +1 -0
- package/input/directives/input/input.directive.d.ts +15 -0
- package/{src/datepicker/sub-components/component-loader → input}/index.d.ts +0 -0
- package/input/mis-crystal-design-system-input.d.ts +4 -0
- package/input/mis-crystal-design-system-input.metadata.json +1 -0
- package/input/mis-input.component.d.ts +15 -0
- package/input/mis-input.module.d.ts +2 -0
- package/input/package.json +11 -0
- package/input/public_api.d.ts +3 -0
- package/loader/mis-crystal-design-system-loader.d.ts +4 -0
- package/loader/mis-crystal-design-system-loader.metadata.json +1 -0
- package/loader/package.json +11 -0
- package/mis-crystal-design-system.d.ts +1 -1
- package/mis-crystal-design-system.metadata.json +1 -1
- package/{src/datepicker/sub-components/mini-ngrx → modal}/index.d.ts +0 -0
- package/modal/mis-crystal-design-system-modal.d.ts +5 -0
- package/modal/mis-crystal-design-system-modal.metadata.json +1 -0
- package/modal/modal-constants.d.ts +3 -0
- package/modal/modal-ref.d.ts +9 -0
- package/modal/modal.module.d.ts +5 -0
- package/modal/modal.service.d.ts +22 -0
- package/modal/module-wrapper/module-wrapper.component.d.ts +9 -0
- package/modal/package.json +11 -0
- package/modal/public_api.d.ts +4 -0
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +4 -0
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +1 -0
- package/multi-select-dropdown/package.json +11 -0
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +4 -0
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +1 -0
- package/nested-multi-select-dropdown/package.json +11 -0
- package/package.json +1 -1
- package/projects/mis-components/button/button.directive.scss +69 -0
- package/{drawer → projects/mis-components/drawer}/drawer.scss +0 -0
- package/projects/mis-components/modal/modal.scss +9 -0
- package/public-api.d.ts +2 -15
- package/radio-button/mis-crystal-design-system-radio-button.d.ts +4 -0
- package/radio-button/mis-crystal-design-system-radio-button.metadata.json +1 -0
- package/radio-button/package.json +11 -0
- package/switch/mis-crystal-design-system-switch.d.ts +4 -0
- package/switch/mis-crystal-design-system-switch.metadata.json +1 -0
- package/switch/package.json +11 -0
- package/table/filter/filter.component.d.ts +3 -5
- package/table/mis-crystal-design-system-table.d.ts +5 -0
- package/table/mis-crystal-design-system-table.metadata.json +1 -0
- package/table/package.json +11 -0
- package/table/public_api.d.ts +1 -1
- package/table/sub-table/sub-table.component.d.ts +1 -0
- package/table/table.component.d.ts +2 -5
- package/toast/mis-crystal-design-system-toast.d.ts +6 -0
- package/toast/mis-crystal-design-system-toast.metadata.json +1 -0
- package/toast/package.json +11 -0
- package/tooltip/mis-crystal-design-system-tooltip.d.ts +4 -0
- package/tooltip/mis-crystal-design-system-tooltip.metadata.json +1 -0
- package/tooltip/package.json +11 -0
- package/bundles/mis-crystal-design-system-src-datepicker.umd.js.map +0 -1
- package/esm2015/src/datepicker/base/bs-datepicker-container.js +0 -47
- package/esm2015/src/datepicker/bs-datepicker-inline.component.js +0 -132
- package/esm2015/src/datepicker/bs-datepicker-inline.config.js +0 -12
- package/esm2015/src/datepicker/bs-datepicker-input.directive.js +0 -159
- package/esm2015/src/datepicker/bs-datepicker.component.js +0 -238
- package/esm2015/src/datepicker/bs-datepicker.config.js +0 -85
- package/esm2015/src/datepicker/bs-datepicker.module.js +0 -97
- package/esm2015/src/datepicker/bs-daterangepicker-inline.component.js +0 -129
- package/esm2015/src/datepicker/bs-daterangepicker-inline.config.js +0 -19
- package/esm2015/src/datepicker/bs-daterangepicker-input.directive.js +0 -191
- package/esm2015/src/datepicker/bs-daterangepicker.component.js +0 -227
- package/esm2015/src/datepicker/bs-daterangepicker.config.js +0 -17
- package/esm2015/src/datepicker/bs-locale.service.js +0 -28
- package/esm2015/src/datepicker/date-formatter.js +0 -7
- package/esm2015/src/datepicker/datepicker-animations.js +0 -16
- package/esm2015/src/datepicker/datepicker-inner.component.js +0 -282
- package/esm2015/src/datepicker/datepicker.component.js +0 -140
- package/esm2015/src/datepicker/datepicker.config.js +0 -30
- package/esm2015/src/datepicker/datepicker.module.js +0 -35
- package/esm2015/src/datepicker/daypicker.component.js +0 -174
- package/esm2015/src/datepicker/engine/calc-days-calendar.js +0 -19
- package/esm2015/src/datepicker/engine/flag-days-calendar.js +0 -91
- package/esm2015/src/datepicker/engine/flag-months-calendar.js +0 -41
- package/esm2015/src/datepicker/engine/flag-years-calendar.js +0 -39
- package/esm2015/src/datepicker/engine/format-days-calendar.js +0 -29
- package/esm2015/src/datepicker/engine/format-months-calendar.js +0 -19
- package/esm2015/src/datepicker/engine/format-years-calendar.js +0 -35
- package/esm2015/src/datepicker/engine/view-mode.js +0 -4
- package/esm2015/src/datepicker/mis-crystal-design-system-src-datepicker.js +0 -25
- package/esm2015/src/datepicker/models/index.js +0 -9
- package/esm2015/src/datepicker/monthpicker.component.js +0 -87
- package/esm2015/src/datepicker/public_api.js +0 -26
- package/esm2015/src/datepicker/reducer/_defaults.js +0 -5
- package/esm2015/src/datepicker/reducer/bs-datepicker.actions.js +0 -132
- package/esm2015/src/datepicker/reducer/bs-datepicker.effects.js +0 -170
- package/esm2015/src/datepicker/reducer/bs-datepicker.reducer.js +0 -302
- package/esm2015/src/datepicker/reducer/bs-datepicker.state.js +0 -12
- package/esm2015/src/datepicker/reducer/bs-datepicker.store.js +0 -19
- package/esm2015/src/datepicker/sub-components/chronos/create/check-overflow.js +0 -30
- package/esm2015/src/datepicker/sub-components/chronos/create/clone.js +0 -6
- package/esm2015/src/datepicker/sub-components/chronos/create/date-from-array.js +0 -17
- package/esm2015/src/datepicker/sub-components/chronos/create/from-anything.js +0 -107
- package/esm2015/src/datepicker/sub-components/chronos/create/from-array.js +0 -136
- package/esm2015/src/datepicker/sub-components/chronos/create/from-object.js +0 -17
- package/esm2015/src/datepicker/sub-components/chronos/create/from-string-and-array.js +0 -38
- package/esm2015/src/datepicker/sub-components/chronos/create/from-string-and-format.js +0 -106
- package/esm2015/src/datepicker/sub-components/chronos/create/from-string.js +0 -227
- package/esm2015/src/datepicker/sub-components/chronos/create/local.js +0 -16
- package/esm2015/src/datepicker/sub-components/chronos/create/parsing-flags.js +0 -26
- package/esm2015/src/datepicker/sub-components/chronos/create/parsing.types.js +0 -2
- package/esm2015/src/datepicker/sub-components/chronos/create/valid.js +0 -42
- package/esm2015/src/datepicker/sub-components/chronos/duration/bubble.js +0 -47
- package/esm2015/src/datepicker/sub-components/chronos/duration/constructor.js +0 -130
- package/esm2015/src/datepicker/sub-components/chronos/duration/create.js +0 -113
- package/esm2015/src/datepicker/sub-components/chronos/duration/humanize.js +0 -80
- package/esm2015/src/datepicker/sub-components/chronos/duration/valid.js +0 -45
- package/esm2015/src/datepicker/sub-components/chronos/format/format.js +0 -51
- package/esm2015/src/datepicker/sub-components/chronos/format.js +0 -46
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ar.js +0 -131
- package/esm2015/src/datepicker/sub-components/chronos/i18n/bg.js +0 -96
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ca.js +0 -91
- package/esm2015/src/datepicker/sub-components/chronos/i18n/cs.js +0 -181
- package/esm2015/src/datepicker/sub-components/chronos/i18n/da.js +0 -50
- package/esm2015/src/datepicker/sub-components/chronos/i18n/de.js +0 -72
- package/esm2015/src/datepicker/sub-components/chronos/i18n/en-gb.js +0 -61
- package/esm2015/src/datepicker/sub-components/chronos/i18n/es-do.js +0 -85
- package/esm2015/src/datepicker/sub-components/chronos/i18n/es-us.js +0 -79
- package/esm2015/src/datepicker/sub-components/chronos/i18n/es.js +0 -84
- package/esm2015/src/datepicker/sub-components/chronos/i18n/et.js +0 -75
- package/esm2015/src/datepicker/sub-components/chronos/i18n/fi.js +0 -100
- package/esm2015/src/datepicker/sub-components/chronos/i18n/fr.js +0 -76
- package/esm2015/src/datepicker/sub-components/chronos/i18n/gl.js +0 -84
- package/esm2015/src/datepicker/sub-components/chronos/i18n/he.js +0 -98
- package/esm2015/src/datepicker/sub-components/chronos/i18n/hi.js +0 -124
- package/esm2015/src/datepicker/sub-components/chronos/i18n/hr.js +0 -62
- package/esm2015/src/datepicker/sub-components/chronos/i18n/hu.js +0 -104
- package/esm2015/src/datepicker/sub-components/chronos/i18n/id.js +0 -83
- package/esm2015/src/datepicker/sub-components/chronos/i18n/it.js +0 -65
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ja.js +0 -75
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ka.js +0 -87
- package/esm2015/src/datepicker/sub-components/chronos/i18n/kk.js +0 -76
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ko.js +0 -77
- package/esm2015/src/datepicker/sub-components/chronos/i18n/lt.js +0 -116
- package/esm2015/src/datepicker/sub-components/chronos/i18n/lv.js +0 -56
- package/esm2015/src/datepicker/sub-components/chronos/i18n/mn.js +0 -99
- package/esm2015/src/datepicker/sub-components/chronos/i18n/nb.js +0 -53
- package/esm2015/src/datepicker/sub-components/chronos/i18n/nl-be.js +0 -81
- package/esm2015/src/datepicker/sub-components/chronos/i18n/nl.js +0 -80
- package/esm2015/src/datepicker/sub-components/chronos/i18n/pl.js +0 -126
- package/esm2015/src/datepicker/sub-components/chronos/i18n/pt-br.js +0 -56
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ro.js +0 -66
- package/esm2015/src/datepicker/sub-components/chronos/i18n/ru.js +0 -181
- package/esm2015/src/datepicker/sub-components/chronos/i18n/sk.js +0 -157
- package/esm2015/src/datepicker/sub-components/chronos/i18n/sl.js +0 -184
- package/esm2015/src/datepicker/sub-components/chronos/i18n/sq.js +0 -54
- package/esm2015/src/datepicker/sub-components/chronos/i18n/sv.js +0 -63
- package/esm2015/src/datepicker/sub-components/chronos/i18n/th-be.js +0 -74
- package/esm2015/src/datepicker/sub-components/chronos/i18n/th.js +0 -59
- package/esm2015/src/datepicker/sub-components/chronos/i18n/tr.js +0 -82
- package/esm2015/src/datepicker/sub-components/chronos/i18n/uk.js +0 -147
- package/esm2015/src/datepicker/sub-components/chronos/i18n/vi.js +0 -74
- package/esm2015/src/datepicker/sub-components/chronos/i18n/zh-cn.js +0 -114
- package/esm2015/src/datepicker/sub-components/chronos/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/chronos/locale/calendar.js +0 -9
- package/esm2015/src/datepicker/sub-components/chronos/locale/locale.class.js +0 -532
- package/esm2015/src/datepicker/sub-components/chronos/locale/locale.defaults.js +0 -40
- package/esm2015/src/datepicker/sub-components/chronos/locale/locales.js +0 -229
- package/esm2015/src/datepicker/sub-components/chronos/moment/add-subtract.js +0 -35
- package/esm2015/src/datepicker/sub-components/chronos/moment/calendar.js +0 -41
- package/esm2015/src/datepicker/sub-components/chronos/moment/diff.js +0 -70
- package/esm2015/src/datepicker/sub-components/chronos/moment/min-max.js +0 -38
- package/esm2015/src/datepicker/sub-components/chronos/parse/regex.js +0 -49
- package/esm2015/src/datepicker/sub-components/chronos/parse/token.js +0 -32
- package/esm2015/src/datepicker/sub-components/chronos/public_api.js +0 -56
- package/esm2015/src/datepicker/sub-components/chronos/test/chain.js +0 -711
- package/esm2015/src/datepicker/sub-components/chronos/types.js +0 -2
- package/esm2015/src/datepicker/sub-components/chronos/units/aliases.js +0 -35
- package/esm2015/src/datepicker/sub-components/chronos/units/constants.js +0 -11
- package/esm2015/src/datepicker/sub-components/chronos/units/day-of-month.js +0 -31
- package/esm2015/src/datepicker/sub-components/chronos/units/day-of-week.js +0 -129
- package/esm2015/src/datepicker/sub-components/chronos/units/day-of-year.js +0 -37
- package/esm2015/src/datepicker/sub-components/chronos/units/hour.js +0 -127
- package/esm2015/src/datepicker/sub-components/chronos/units/index.js +0 -19
- package/esm2015/src/datepicker/sub-components/chronos/units/millisecond.js +0 -60
- package/esm2015/src/datepicker/sub-components/chronos/units/minute.js +0 -23
- package/esm2015/src/datepicker/sub-components/chronos/units/month.js +0 -63
- package/esm2015/src/datepicker/sub-components/chronos/units/offset.js +0 -210
- package/esm2015/src/datepicker/sub-components/chronos/units/priorities.js +0 -21
- package/esm2015/src/datepicker/sub-components/chronos/units/quarter.js +0 -39
- package/esm2015/src/datepicker/sub-components/chronos/units/second.js +0 -23
- package/esm2015/src/datepicker/sub-components/chronos/units/timestamp.js +0 -28
- package/esm2015/src/datepicker/sub-components/chronos/units/timezone.js +0 -19
- package/esm2015/src/datepicker/sub-components/chronos/units/week-calendar-utils.js +0 -70
- package/esm2015/src/datepicker/sub-components/chronos/units/week-year.js +0 -101
- package/esm2015/src/datepicker/sub-components/chronos/units/week.js +0 -58
- package/esm2015/src/datepicker/sub-components/chronos/units/year.js +0 -60
- package/esm2015/src/datepicker/sub-components/chronos/utils/abs-ceil.js +0 -4
- package/esm2015/src/datepicker/sub-components/chronos/utils/abs-round.js +0 -4
- package/esm2015/src/datepicker/sub-components/chronos/utils/compare-arrays.js +0 -16
- package/esm2015/src/datepicker/sub-components/chronos/utils/date-compare.js +0 -55
- package/esm2015/src/datepicker/sub-components/chronos/utils/date-getters.js +0 -67
- package/esm2015/src/datepicker/sub-components/chronos/utils/date-setters.js +0 -75
- package/esm2015/src/datepicker/sub-components/chronos/utils/defaults.js +0 -11
- package/esm2015/src/datepicker/sub-components/chronos/utils/start-end-of.js +0 -57
- package/esm2015/src/datepicker/sub-components/chronos/utils/type-checks.js +0 -56
- package/esm2015/src/datepicker/sub-components/chronos/utils/zero-fill.js +0 -10
- package/esm2015/src/datepicker/sub-components/chronos/utils.js +0 -7
- package/esm2015/src/datepicker/sub-components/component-loader/bs-component-ref.class.js +0 -3
- package/esm2015/src/datepicker/sub-components/component-loader/component-loader.class.js +0 -272
- package/esm2015/src/datepicker/sub-components/component-loader/component-loader.factory.js +0 -32
- package/esm2015/src/datepicker/sub-components/component-loader/content-ref.class.js +0 -12
- package/esm2015/src/datepicker/sub-components/component-loader/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/component-loader/listen-options.model.js +0 -2
- package/esm2015/src/datepicker/sub-components/component-loader/public_api.js +0 -5
- package/esm2015/src/datepicker/sub-components/mini-ngrx/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/mini-ngrx/public_api.js +0 -3
- package/esm2015/src/datepicker/sub-components/mini-ngrx/state.class.js +0 -16
- package/esm2015/src/datepicker/sub-components/mini-ngrx/store.class.js +0 -43
- package/esm2015/src/datepicker/sub-components/positioning/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/positioning/models/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/arrow.js +0 -56
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/flip.js +0 -60
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/index.js +0 -6
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/initData.js +0 -42
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/preventOverflow.js +0 -56
- package/esm2015/src/datepicker/sub-components/positioning/modifiers/shift.js +0 -22
- package/esm2015/src/datepicker/sub-components/positioning/ng-positioning.js +0 -30
- package/esm2015/src/datepicker/sub-components/positioning/positioning.service.js +0 -71
- package/esm2015/src/datepicker/sub-components/positioning/public_api.js +0 -3
- package/esm2015/src/datepicker/sub-components/positioning/utils/computeAutoPlacement.js +0 -53
- package/esm2015/src/datepicker/sub-components/positioning/utils/findCommonOffsetParent.js +0 -40
- package/esm2015/src/datepicker/sub-components/positioning/utils/getBordersSize.js +0 -10
- package/esm2015/src/datepicker/sub-components/positioning/utils/getBoundaries.js +0 -56
- package/esm2015/src/datepicker/sub-components/positioning/utils/getBoundingClientRect.js +0 -55
- package/esm2015/src/datepicker/sub-components/positioning/utils/getClientRect.js +0 -4
- package/esm2015/src/datepicker/sub-components/positioning/utils/getFixedPositionOffsetParent.js +0 -17
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOffsetParent.js +0 -32
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOffsetRectRelativeToArbitraryNode.js +0 -51
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOffsets.js +0 -11
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOppositePlacement.js +0 -8
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOppositeVariation.js +0 -13
- package/esm2015/src/datepicker/sub-components/positioning/utils/getOuterSizes.js +0 -14
- package/esm2015/src/datepicker/sub-components/positioning/utils/getParentNode.js +0 -10
- package/esm2015/src/datepicker/sub-components/positioning/utils/getReferenceOffsets.js +0 -13
- package/esm2015/src/datepicker/sub-components/positioning/utils/getRoot.js +0 -10
- package/esm2015/src/datepicker/sub-components/positioning/utils/getScroll.js +0 -14
- package/esm2015/src/datepicker/sub-components/positioning/utils/getScrollParent.js +0 -26
- package/esm2015/src/datepicker/sub-components/positioning/utils/getStyleComputedProperty.js +0 -13
- package/esm2015/src/datepicker/sub-components/positioning/utils/getTargetOffsets.js +0 -30
- package/esm2015/src/datepicker/sub-components/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.js +0 -19
- package/esm2015/src/datepicker/sub-components/positioning/utils/getWindowSizes.js +0 -18
- package/esm2015/src/datepicker/sub-components/positioning/utils/includeScroll.js +0 -15
- package/esm2015/src/datepicker/sub-components/positioning/utils/index.js +0 -24
- package/esm2015/src/datepicker/sub-components/positioning/utils/isBrowser.js +0 -2
- package/esm2015/src/datepicker/sub-components/positioning/utils/isFixed.js +0 -16
- package/esm2015/src/datepicker/sub-components/positioning/utils/isIE.js +0 -16
- package/esm2015/src/datepicker/sub-components/positioning/utils/isModifierEnabled.js +0 -10
- package/esm2015/src/datepicker/sub-components/positioning/utils/isNumeric.js +0 -7
- package/esm2015/src/datepicker/sub-components/positioning/utils/isOffsetContainer.js +0 -9
- package/esm2015/src/datepicker/sub-components/positioning/utils/setStyles.js +0 -17
- package/esm2015/src/datepicker/sub-components/positioning/utils/updateContainerClass.js +0 -22
- package/esm2015/src/datepicker/sub-components/tooltip/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/tooltip/public_api.js +0 -5
- package/esm2015/src/datepicker/sub-components/tooltip/tooltip-container.component.js +0 -63
- package/esm2015/src/datepicker/sub-components/tooltip/tooltip.config.js +0 -23
- package/esm2015/src/datepicker/sub-components/tooltip/tooltip.directive.js +0 -282
- package/esm2015/src/datepicker/sub-components/tooltip/tooltip.module.js +0 -23
- package/esm2015/src/datepicker/sub-components/utils/decorators.js +0 -25
- package/esm2015/src/datepicker/sub-components/utils/facade/browser.js +0 -24
- package/esm2015/src/datepicker/sub-components/utils/index.js +0 -2
- package/esm2015/src/datepicker/sub-components/utils/linked-list.class.js +0 -240
- package/esm2015/src/datepicker/sub-components/utils/public_api.js +0 -11
- package/esm2015/src/datepicker/sub-components/utils/theme-provider.js +0 -35
- package/esm2015/src/datepicker/sub-components/utils/trigger.class.js +0 -10
- package/esm2015/src/datepicker/sub-components/utils/triggers.js +0 -110
- package/esm2015/src/datepicker/sub-components/utils/utils.class.js +0 -21
- package/esm2015/src/datepicker/sub-components/utils/warn-once.js +0 -12
- package/esm2015/src/datepicker/themes/bs/bs-calendar-layout.component.js +0 -25
- package/esm2015/src/datepicker/themes/bs/bs-current-date-view.component.js +0 -13
- package/esm2015/src/datepicker/themes/bs/bs-custom-dates-view.component.js +0 -44
- package/esm2015/src/datepicker/themes/bs/bs-datepicker-container.component.js +0 -152
- package/esm2015/src/datepicker/themes/bs/bs-datepicker-day-decorator.directive.js +0 -47
- package/esm2015/src/datepicker/themes/bs/bs-datepicker-inline-container.component.js +0 -36
- package/esm2015/src/datepicker/themes/bs/bs-datepicker-navigation-view.component.js +0 -63
- package/esm2015/src/datepicker/themes/bs/bs-daterangepicker-container.component.js +0 -195
- package/esm2015/src/datepicker/themes/bs/bs-daterangepicker-inline-container.component.js +0 -36
- package/esm2015/src/datepicker/themes/bs/bs-days-calendar-view.component.js +0 -162
- package/esm2015/src/datepicker/themes/bs/bs-months-calendar-view.component.js +0 -60
- package/esm2015/src/datepicker/themes/bs/bs-timepicker-view.component.js +0 -34
- package/esm2015/src/datepicker/themes/bs/bs-years-calendar-view.component.js +0 -61
- package/esm2015/src/datepicker/utils/bs-calendar-utils.js +0 -43
- package/esm2015/src/datepicker/utils/matrix-utils.js +0 -14
- package/esm2015/src/datepicker/yearpicker.component.js +0 -90
- package/fesm2015/mis-crystal-design-system-src-datepicker.js.map +0 -1
- package/src/datepicker/base/bs-datepicker-container.d.ts +0 -44
- package/src/datepicker/bs-datepicker-inline.component.d.ts +0 -61
- package/src/datepicker/bs-datepicker-inline.config.d.ts +0 -3
- package/src/datepicker/bs-datepicker-input.directive.d.ts +0 -30
- package/src/datepicker/bs-datepicker.component.d.ts +0 -123
- package/src/datepicker/bs-datepicker.config.d.ts +0 -140
- package/src/datepicker/bs-datepicker.module.d.ts +0 -4
- package/src/datepicker/bs-daterangepicker-inline.component.d.ts +0 -61
- package/src/datepicker/bs-daterangepicker-inline.config.d.ts +0 -6
- package/src/datepicker/bs-daterangepicker-input.directive.d.ts +0 -30
- package/src/datepicker/bs-daterangepicker.component.d.ts +0 -115
- package/src/datepicker/bs-daterangepicker.config.d.ts +0 -4
- package/src/datepicker/bs-locale.service.d.ts +0 -10
- package/src/datepicker/date-formatter.d.ts +0 -3
- package/src/datepicker/datepicker-animations.d.ts +0 -3
- package/src/datepicker/datepicker-inner.component.d.ts +0 -75
- package/src/datepicker/datepicker.component.d.ts +0 -78
- package/src/datepicker/datepicker.config.d.ts +0 -19
- package/src/datepicker/datepicker.module.d.ts +0 -4
- package/src/datepicker/daypicker.component.d.ts +0 -14
- package/src/datepicker/engine/calc-days-calendar.d.ts +0 -2
- package/src/datepicker/engine/flag-days-calendar.d.ts +0 -17
- package/src/datepicker/engine/flag-months-calendar.d.ts +0 -12
- package/src/datepicker/engine/flag-years-calendar.d.ts +0 -12
- package/src/datepicker/engine/format-days-calendar.d.ts +0 -4
- package/src/datepicker/engine/format-months-calendar.d.ts +0 -2
- package/src/datepicker/engine/format-years-calendar.d.ts +0 -4
- package/src/datepicker/engine/view-mode.d.ts +0 -2
- package/src/datepicker/models/index.d.ts +0 -102
- package/src/datepicker/monthpicker.component.d.ts +0 -11
- package/src/datepicker/package.json +0 -14
- package/src/datepicker/public_api.d.ts +0 -26
- package/src/datepicker/reducer/_defaults.d.ts +0 -2
- package/src/datepicker/reducer/bs-datepicker.actions.d.ts +0 -43
- package/src/datepicker/reducer/bs-datepicker.effects.d.ts +0 -38
- package/src/datepicker/reducer/bs-datepicker.reducer.d.ts +0 -3
- package/src/datepicker/reducer/bs-datepicker.state.d.ts +0 -43
- package/src/datepicker/reducer/bs-datepicker.store.d.ts +0 -5
- package/src/datepicker/sub-components/chronos/create/check-overflow.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/clone.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/create/date-from-array.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/from-anything.d.ts +0 -4
- package/src/datepicker/sub-components/chronos/create/from-array.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/from-object.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/from-string-and-array.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/from-string-and-format.d.ts +0 -4
- package/src/datepicker/sub-components/chronos/create/from-string.d.ts +0 -4
- package/src/datepicker/sub-components/chronos/create/local.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/create/parsing-flags.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/create/parsing.types.d.ts +0 -64
- package/src/datepicker/sub-components/chronos/create/valid.d.ts +0 -6
- package/src/datepicker/sub-components/chronos/duration/bubble.d.ts +0 -4
- package/src/datepicker/sub-components/chronos/duration/constructor.d.ts +0 -21
- package/src/datepicker/sub-components/chronos/duration/create.d.ts +0 -8
- package/src/datepicker/sub-components/chronos/duration/humanize.d.ts +0 -5
- package/src/datepicker/sub-components/chronos/duration/valid.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/format/format.d.ts +0 -11
- package/src/datepicker/sub-components/chronos/format.d.ts +0 -5
- package/src/datepicker/sub-components/chronos/i18n/ar.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/bg.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ca.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/cs.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/da.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/de.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/en-gb.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/es-do.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/es-us.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/es.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/et.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/fi.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/fr.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/gl.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/he.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/hi.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/hr.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/hu.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/id.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/it.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ja.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ka.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/kk.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ko.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/lt.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/lv.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/mn.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/nb.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/nl-be.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/nl.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/pl.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/pt-br.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ro.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/ru.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/sk.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/sl.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/sq.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/sv.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/th-be.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/th.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/tr.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/uk.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/vi.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/i18n/zh-cn.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/locale/calendar.d.ts +0 -8
- package/src/datepicker/sub-components/chronos/locale/locale.class.d.ts +0 -143
- package/src/datepicker/sub-components/chronos/locale/locale.defaults.d.ts +0 -11
- package/src/datepicker/sub-components/chronos/locale/locales.d.ts +0 -7
- package/src/datepicker/sub-components/chronos/moment/add-subtract.d.ts +0 -5
- package/src/datepicker/sub-components/chronos/moment/calendar.d.ts +0 -15
- package/src/datepicker/sub-components/chronos/moment/diff.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/moment/min-max.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/parse/regex.d.ts +0 -22
- package/src/datepicker/sub-components/chronos/parse/token.d.ts +0 -5
- package/src/datepicker/sub-components/chronos/public_api.d.ts +0 -57
- package/src/datepicker/sub-components/chronos/test/chain.d.ts +0 -214
- package/src/datepicker/sub-components/chronos/types.d.ts +0 -36
- package/src/datepicker/sub-components/chronos/units/aliases.d.ts +0 -7
- package/src/datepicker/sub-components/chronos/units/constants.d.ts +0 -9
- package/src/datepicker/sub-components/chronos/units/day-of-month.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/day-of-week.d.ts +0 -20
- package/src/datepicker/sub-components/chronos/units/day-of-year.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/units/hour.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/index.d.ts +0 -18
- package/src/datepicker/sub-components/chronos/units/millisecond.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/minute.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/month.d.ts +0 -2
- package/src/datepicker/sub-components/chronos/units/offset.d.ts +0 -10
- package/src/datepicker/sub-components/chronos/units/priorities.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/quarter.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/units/second.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/timestamp.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/units/timezone.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/units/week-calendar-utils.d.ts +0 -9
- package/src/datepicker/sub-components/chronos/units/week-year.d.ts +0 -8
- package/src/datepicker/sub-components/chronos/units/week.d.ts +0 -6
- package/src/datepicker/sub-components/chronos/units/year.d.ts +0 -4
- package/src/datepicker/sub-components/chronos/utils/abs-ceil.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/utils/abs-round.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/utils/compare-arrays.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/utils/date-compare.d.ts +0 -9
- package/src/datepicker/sub-components/chronos/utils/date-getters.d.ts +0 -18
- package/src/datepicker/sub-components/chronos/utils/date-setters.d.ts +0 -12
- package/src/datepicker/sub-components/chronos/utils/defaults.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/utils/start-end-of.d.ts +0 -3
- package/src/datepicker/sub-components/chronos/utils/type-checks.d.ts +0 -12
- package/src/datepicker/sub-components/chronos/utils/zero-fill.d.ts +0 -1
- package/src/datepicker/sub-components/chronos/utils.d.ts +0 -2
- package/src/datepicker/sub-components/component-loader/bs-component-ref.class.d.ts +0 -5
- package/src/datepicker/sub-components/component-loader/component-loader.class.d.ts +0 -75
- package/src/datepicker/sub-components/component-loader/component-loader.factory.d.ts +0 -18
- package/src/datepicker/sub-components/component-loader/content-ref.class.d.ts +0 -7
- package/src/datepicker/sub-components/component-loader/listen-options.model.d.ts +0 -11
- package/src/datepicker/sub-components/component-loader/public_api.d.ts +0 -4
- package/src/datepicker/sub-components/mini-ngrx/public_api.d.ts +0 -7
- package/src/datepicker/sub-components/mini-ngrx/state.class.d.ts +0 -8
- package/src/datepicker/sub-components/mini-ngrx/store.class.d.ts +0 -16
- package/src/datepicker/sub-components/positioning/index.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/models/index.d.ts +0 -41
- package/src/datepicker/sub-components/positioning/modifiers/arrow.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/modifiers/flip.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/modifiers/index.d.ts +0 -5
- package/src/datepicker/sub-components/positioning/modifiers/initData.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/modifiers/preventOverflow.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/modifiers/shift.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/ng-positioning.d.ts +0 -8
- package/src/datepicker/sub-components/positioning/positioning.service.d.ts +0 -45
- package/src/datepicker/sub-components/positioning/public_api.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/computeAutoPlacement.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/findCommonOffsetParent.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/getBordersSize.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getBoundaries.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/getBoundingClientRect.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getClientRect.d.ts +0 -5
- package/src/datepicker/sub-components/positioning/utils/getFixedPositionOffsetParent.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getOffsetParent.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/getOffsetRectRelativeToArbitraryNode.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getOffsets.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getOppositePlacement.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getOppositeVariation.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getOuterSizes.d.ts +0 -7
- package/src/datepicker/sub-components/positioning/utils/getParentNode.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getReferenceOffsets.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getRoot.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getScroll.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getScrollParent.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/getStyleComputedProperty.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/getTargetOffsets.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getViewportOffsetRectRelativeToArtbitraryNode.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/getWindowSizes.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/includeScroll.d.ts +0 -2
- package/src/datepicker/sub-components/positioning/utils/index.d.ts +0 -23
- package/src/datepicker/sub-components/positioning/utils/isBrowser.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/isFixed.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/isIE.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/isModifierEnabled.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/isNumeric.d.ts +0 -4
- package/src/datepicker/sub-components/positioning/utils/isOffsetContainer.d.ts +0 -1
- package/src/datepicker/sub-components/positioning/utils/setStyles.d.ts +0 -5
- package/src/datepicker/sub-components/positioning/utils/updateContainerClass.d.ts +0 -6
- package/src/datepicker/sub-components/tooltip/index.d.ts +0 -1
- package/src/datepicker/sub-components/tooltip/public_api.d.ts +0 -4
- package/src/datepicker/sub-components/tooltip/tooltip-container.component.d.ts +0 -14
- package/src/datepicker/sub-components/tooltip/tooltip.config.d.ts +0 -13
- package/src/datepicker/sub-components/tooltip/tooltip.directive.d.ts +0 -109
- package/src/datepicker/sub-components/tooltip/tooltip.module.d.ts +0 -4
- package/src/datepicker/sub-components/utils/decorators.d.ts +0 -1
- package/src/datepicker/sub-components/utils/facade/browser.d.ts +0 -23
- package/src/datepicker/sub-components/utils/index.d.ts +0 -1
- package/src/datepicker/sub-components/utils/linked-list.class.d.ts +0 -26
- package/src/datepicker/sub-components/utils/public_api.d.ts +0 -10
- package/src/datepicker/sub-components/utils/theme-provider.d.ts +0 -2
- package/src/datepicker/sub-components/utils/trigger.class.d.ts +0 -6
- package/src/datepicker/sub-components/utils/triggers.d.ts +0 -18
- package/src/datepicker/sub-components/utils/utils.class.d.ts +0 -4
- package/src/datepicker/sub-components/utils/warn-once.d.ts +0 -1
- package/src/datepicker/themes/bs/bs-calendar-layout.component.d.ts +0 -2
- package/src/datepicker/themes/bs/bs-current-date-view.component.d.ts +0 -3
- package/src/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +0 -14
- package/src/datepicker/themes/bs/bs-datepicker-container.component.d.ts +0 -33
- package/src/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +0 -11
- package/src/datepicker/themes/bs/bs-datepicker-inline-container.component.d.ts +0 -10
- package/src/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +0 -9
- package/src/datepicker/themes/bs/bs-daterangepicker-container.component.d.ts +0 -37
- package/src/datepicker/themes/bs/bs-daterangepicker-inline-container.component.d.ts +0 -10
- package/src/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +0 -23
- package/src/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +0 -13
- package/src/datepicker/themes/bs/bs-timepicker-view.component.d.ts +0 -5
- package/src/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +0 -13
- package/src/datepicker/utils/bs-calendar-utils.d.ts +0 -10
- package/src/datepicker/utils/matrix-utils.d.ts +0 -9
- package/src/datepicker/yearpicker.component.d.ts +0 -11
|
@@ -57,4 +57,4 @@ ToolTipComponent.propDecorators = {
|
|
|
57
57
|
position: [{ type: Input }],
|
|
58
58
|
container: [{ type: ViewChild, args: ['container',] }]
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFB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vbnRhaW5lci5uYXRpdmVFbGVtZW50LCAnbGVmdCcsICc1MCUnKVxuICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuY29udGFpbmVyLm5hdGl2ZUVsZW1lbnQsICdyaWdodCcsICcnKVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -103,4 +103,4 @@ ToolTipDirective.propDecorators = {
|
|
|
103
103
|
onMouseEnter: [{ type: HostListener, args: ['mouseenter', ['$event'],] }],
|
|
104
104
|
onMouseLeave: [{ type: HostListener, args: ['mouseleave', ['$event'],] }]
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx3QkFBd0IsRUFDeEIsU0FBUyxFQUNULFVBQVUsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUUvQixTQUFTLEVBQ1QsZ0JBQWdCLEVBQ2pCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBTXJELE1BQU0sT0FBTyxnQkFBZ0I7SUFrQzNCLFlBQ1UsVUFBc0IsRUFDdEIsUUFBbUIsRUFDbkIsZ0JBQWtDLEVBQ2xDLHdCQUFrRDtRQUhsRCxlQUFVLEdBQVYsVUFBVSxDQUFZO1FBQ3RCLGFBQVEsR0FBUixRQUFRLENBQVc7UUFDbkIscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQyw2QkFBd0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Ht4LCB5LCBoZWlnaHQsIHdpZHRofSA9IHJlY3RcbiAgICAvL1RPRE86IEFkZCBsb2dpYyBmb3IgcmVzcG9uc2l2ZSBwb3NpdGlvbmluZ1xuICAgIC8vIFVzZSBkZWZhdWx0IHZhbHVlIGFzIHByaW9yaXR5IGFuZCBkb250IGNoYW5nZSBpdCBoZXJlICd0b29sVGlwUG9zaXRpb24nXG4gICAgLy8gVXBkYXRlIHRoZSBwb3NpdGlvbiB1c2luZyBiZWxvdyBsaW5lXG4gICAgLy8gdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UucG9zaXRpb24gPSAnUmlnaHQnXG4gICAgLy8gY29uc29sZS5sb2coeCwgeSwgaGVpZ2h0LCB3aWR0aClcbiAgfVxufVxuXG4iXX0=
|
|
@@ -15,4 +15,4 @@ ToolTipModule.decorators = [
|
|
|
15
15
|
entryComponents: [ToolTipComponent]
|
|
16
16
|
},] }
|
|
17
17
|
];
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLE1BQU0sZUFBZSxDQUFDO0FBQzlELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQVFyRCxNQUFNLE9BQU8sYUFBYTtJQUN4QixNQUFNLENBQUMs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BuZ01vZHVsZTogVG9vbFRpcE1vZHVsZSwgcHJvdmlkZXJzOiBbXSB9O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FabComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"mis-fab","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":26,"character":4},"arguments":["slideUpFab",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":27,"character":6},"arguments":[":enter",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":28,"character":8},"arguments":[{"transform":"translateY(50px)","opacity":0}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":29,"character":8},"arguments":["300ms ease-out",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":29,"character":34},"arguments":[{"transform":"translateY(0px)","opacity":1}]}]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":31,"character":6},"arguments":[":leave",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":32,"character":8},"arguments":["200ms ease-out",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":32,"character":34},"arguments":[{"transform":"translateY(70px)","opacity":0}]}]}]]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":35,"character":4},"arguments":["rotateButton",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":36,"character":6},"arguments":["default",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":36,"character":23},"arguments":[{"transform":"rotate(0)"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":37,"character":6},"arguments":["rotated",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":37,"character":23},"arguments":[{"transform":"rotate(45deg)"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":38,"character":6},"arguments":["rotated => default",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":38,"character":39},"arguments":["300ms ease-out"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":39,"character":6},"arguments":["default => rotated",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":39,"character":39},"arguments":["200ms ease-in"]}]}]]}],"template":"<div class=\"fab-wrapper\" *ngIf=\"show\">\n <div class=\"fab-items\" *ngIf=\"isOpen\" @slideUpFab>\n <div class=\"fab-item\" *ngFor=\"let item of items.reverse(); let i = index\" (click)=\"clickItem(item)\">\n <div *ngIf=\"item.label\" class=\"fab-tooltip\">\n {{ item.label }}\n </div>\n <div\n class=\"fab-button\"\n [ngStyle]=\"{\n backgroundColor: item.backgroundColor || '#0937B2'\n }\"\n >\n <img [src]=\"item.icon\" class=\"add-img\" />\n </div>\n </div>\n </div>\n <div\n class=\"fab-container\"\n [ngStyle]=\"{\n backgroundColor: isOpen ? options.backgroundColorOpened : options.backgroundColorClosed\n }\"\n (click)=\"toogleFab()\"\n >\n <svg\n [@rotateButton]=\"isOpen ? 'rotated' : 'default'\"\n class=\"add-img\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1424 5.15607C13.1424 4.51759 12.6313 4 12.0009 4C11.3704 4 10.8594 4.51759 10.8594 5.15607V10.8421H5.14149C4.51106 10.8421 4 11.3597 4 11.9982C4 12.6367 4.51106 13.1543 5.14149 13.1543H10.8594V18.8439C10.8594 19.4824 11.3704 20 12.0009 20C12.6313 20 13.1424 19.4824 13.1424 18.8439V13.1543H18.8585C19.4889 13.1543 20 12.6367 20 11.9982C20 11.3597 19.4889 10.8421 18.8585 10.8421H13.1424V5.15607Z\"\n fill=\"white\"\n />\n </svg>\n </div>\n</div>\n","styles":[".fab-wrapper{position:fixed;right:24px;bottom:24px;z-index:1000}.fab-wrapper .fab-item{position:relative;padding:0 0 16px 8px}.fab-wrapper .fab-item .fab-tooltip{position:absolute;background-color:#181f33;border-radius:4px;color:#fff;padding:8px;display:flex;justify-content:center;align-items:center;white-space:nowrap;right:100%;top:calc(50% - 8px);transform:translateY(-50%)}.fab-wrapper .fab-item .fab-button{width:40px;height:40px}.fab-wrapper .fab-container,.fab-wrapper .fab-item .fab-button{cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{width:56px;height:56px}.add-img{height:24px;width:24px}"]}]}],"members":{"show":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":52,"character":28}]}],"clickout":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":54,"character":3},"arguments":["document:click",["$event"]]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"clickItem":[{"__symbolic":"method"}],"closeFab":[{"__symbolic":"method"}],"toogleFab":[{"__symbolic":"method"}]}},"FabItem":{"__symbolic":"interface"},"FabItems":{"__symbolic":"interface"},"FabOptions":{"__symbolic":"interface"},"FabModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FabComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":12}],"exports":[{"__symbolic":"reference","name":"FabComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"FabModule"},"providers":[]}}}}},"origins":{"FabComponent":"./fab.component","FabItem":"./fab.component","FabItems":"./fab.component","FabOptions":"./fab.component","FabModule":"./fab.module"},"importAs":"mis-crystal-design-system/fab"}
|
package/fab/package.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/mis-crystal-design-system-fab.umd.js",
|
|
3
|
+
"module": "../fesm2015/mis-crystal-design-system-fab.js",
|
|
4
|
+
"es2015": "../fesm2015/mis-crystal-design-system-fab.js",
|
|
5
|
+
"esm2015": "../esm2015/fab/mis-crystal-design-system-fab.js",
|
|
6
|
+
"fesm2015": "../fesm2015/mis-crystal-design-system-fab.js",
|
|
7
|
+
"typings": "mis-crystal-design-system-fab.d.ts",
|
|
8
|
+
"metadata": "mis-crystal-design-system-fab.metadata.json",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"name": "mis-crystal-design-system/fab"
|
|
11
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { ConnectionPositionPair, OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
3
|
+
import { EventEmitter, Component, ViewContainerRef, Input, ViewChild, ContentChild, Output, NgModule } from '@angular/core';
|
|
4
|
+
import { FormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
5
|
+
import { filter, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
class AsyncDropdownComponent {
|
|
9
|
+
constructor(overlay, viewContainerRef) {
|
|
10
|
+
this.overlay = overlay;
|
|
11
|
+
this.viewContainerRef = viewContainerRef;
|
|
12
|
+
this.placeholder = 'Select'; // placeholder for input
|
|
13
|
+
this.debounceTime = 400; // wait time till which API call is paused
|
|
14
|
+
this.minInputLength = 2; // min length after which API call is made
|
|
15
|
+
this.multi = false; // maintain a list or emit value
|
|
16
|
+
// tslint:disable-next-line
|
|
17
|
+
this.onSelect = new EventEmitter(true); // emit selected values
|
|
18
|
+
this.searchInput = new FormControl();
|
|
19
|
+
this.data = [];
|
|
20
|
+
this.opened = false;
|
|
21
|
+
// tslint:disable-next-line
|
|
22
|
+
this.selections = new Map();
|
|
23
|
+
this.handleControlChanges = (values) => {
|
|
24
|
+
values.forEach((el) => {
|
|
25
|
+
this.selectData(el, true);
|
|
26
|
+
});
|
|
27
|
+
// tslint:disable-next-line
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
ngOnInit() {
|
|
31
|
+
var _a, _b;
|
|
32
|
+
if (this.multi && !this.uniqueKey) {
|
|
33
|
+
throw new Error('[uniqueKey] required in multi mode.');
|
|
34
|
+
}
|
|
35
|
+
if (this.disabled) {
|
|
36
|
+
this.searchInput.disable();
|
|
37
|
+
}
|
|
38
|
+
this.searchSubscription = this.searchInput.valueChanges
|
|
39
|
+
.pipe(filter((val) => val && val.length >= this.minInputLength), debounceTime(this.debounceTime), distinctUntilChanged())
|
|
40
|
+
.subscribe((res) => {
|
|
41
|
+
this.httpStream(res).subscribe((list) => {
|
|
42
|
+
var _a;
|
|
43
|
+
this.data = list;
|
|
44
|
+
if (!((_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) && list.length > 0) {
|
|
45
|
+
this.openDropdown(this.dd, this.origin.nativeElement);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
if ((_a = this.control) === null || _a === void 0 ? void 0 : _a.value) {
|
|
50
|
+
this.handleControlChanges(this.control.value);
|
|
51
|
+
}
|
|
52
|
+
this.controlSubscription = (_b = this.control) === null || _b === void 0 ? void 0 : _b.valueChanges.subscribe(this.handleControlChanges);
|
|
53
|
+
}
|
|
54
|
+
ngOnChanges(changes) {
|
|
55
|
+
if (changes && changes.disabled) {
|
|
56
|
+
this.searchInput.enable();
|
|
57
|
+
if (this.disabled) {
|
|
58
|
+
this.searchInput.disable();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
ngOnDestroy() {
|
|
63
|
+
var _a;
|
|
64
|
+
(_a = this.searchSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
65
|
+
}
|
|
66
|
+
openDropdown(template, origin) {
|
|
67
|
+
const positionStrategy = this.overlay
|
|
68
|
+
.position()
|
|
69
|
+
.flexibleConnectedTo(origin)
|
|
70
|
+
.withPositions([
|
|
71
|
+
new ConnectionPositionPair({ originX: 'start', originY: 'bottom' }, { overlayX: 'start', overlayY: 'top' }),
|
|
72
|
+
new ConnectionPositionPair({ originX: 'start', originY: 'top' }, { overlayX: 'start', overlayY: 'bottom' }),
|
|
73
|
+
])
|
|
74
|
+
.withPush(true);
|
|
75
|
+
const configs = new OverlayConfig({
|
|
76
|
+
hasBackdrop: true,
|
|
77
|
+
backdropClass: 'cdk-overlay-transparent-backdrop',
|
|
78
|
+
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
79
|
+
positionStrategy,
|
|
80
|
+
width: origin.clientWidth,
|
|
81
|
+
});
|
|
82
|
+
this.overlayRef = this.overlay.create(configs);
|
|
83
|
+
this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
|
|
84
|
+
this.overlayRef.backdropClick().subscribe((res) => {
|
|
85
|
+
this.closeDropdown();
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* closes the dropdown
|
|
90
|
+
*/
|
|
91
|
+
closeDropdown() {
|
|
92
|
+
var _a;
|
|
93
|
+
this.opened = false;
|
|
94
|
+
(_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
95
|
+
this.data = [];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @param item item to select
|
|
100
|
+
* if item property disabled is set to true, selection will be disabled
|
|
101
|
+
* @param effectedFromOutside set to true if calling from parent component, if true will focus on search input
|
|
102
|
+
*/
|
|
103
|
+
selectData(item, effectedFromOutside = true) {
|
|
104
|
+
if (item.disabled) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
if (!this.multi) {
|
|
108
|
+
this.searchInput.patchValue(item[this.displayKey], { emitEvent: false });
|
|
109
|
+
this.setControlValue(item);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
if (!this.selections.has(item[this.uniqueKey])) {
|
|
113
|
+
this.selections.set(item[this.uniqueKey], item);
|
|
114
|
+
}
|
|
115
|
+
this.setControlValue(this.selectedItems);
|
|
116
|
+
if (!effectedFromOutside) {
|
|
117
|
+
setTimeout(() => {
|
|
118
|
+
this.input.nativeElement.focus();
|
|
119
|
+
this.input.nativeElement.scrollIntoView();
|
|
120
|
+
}, 10);
|
|
121
|
+
}
|
|
122
|
+
this.searchInput.patchValue('');
|
|
123
|
+
this.data = [];
|
|
124
|
+
}
|
|
125
|
+
this.closeDropdown();
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @param item remove item from selected list
|
|
130
|
+
*/
|
|
131
|
+
removeItem(item) {
|
|
132
|
+
this.selections.delete(item[this.uniqueKey]);
|
|
133
|
+
this.setControlValue(this.selectedItems);
|
|
134
|
+
// tslint:disable-next-line
|
|
135
|
+
this.input['nativeElement'].focus();
|
|
136
|
+
}
|
|
137
|
+
setControlValue(value) {
|
|
138
|
+
var _a;
|
|
139
|
+
this.onSelect.emit(value);
|
|
140
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.patchValue(value, { emitEvent: false });
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @returns list of selected items
|
|
144
|
+
*/
|
|
145
|
+
get selectedItems() {
|
|
146
|
+
return Array.from(this.selections.values());
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
AsyncDropdownComponent.decorators = [
|
|
150
|
+
{ type: Component, args: [{
|
|
151
|
+
selector: 'mis-async-search-dropdown',
|
|
152
|
+
template: "<div\n class=\"dd-wrapper\"\n [ngClass]=\"{ opened: opened, disabled: disabled, readonly: readonly }\"\n #ddBtn\n>\n <div class=\"selected-list\" *ngIf=\"multi && selections.size > 0\">\n <span *ngFor=\"let item of selectedItems\" (click)=\"removeItem(item)\">{{item[displayKey]}} <span class=\"ic-navigation-cancel-24\"></span> </span>\n </div>\n <div class=\"search-input\">\n <span class=\"ic-action-search-24\"></span>\n <input\n tabindex=\"0\"\n type=\"text\"\n class=\"black-text\"\n #input\n [placeholder]=\"placeholder\"\n [formControl]=\"searchInput\"\n />\n </div>\n</div>\n\n<ng-template #dd>\n <div class=\"dd-list\" *ngIf=\"data.length\">\n <ng-container *ngFor=\"let item of data\">\n <div (click)=\"selectData(item, false)\">\n <ng-container *ngIf=\"customItem; else standardItem\" [ngTemplateOutlet]=\"customItem\" [ngTemplateOutletContext]=\"{$implicit:item}\"></ng-container>\n <ng-template #standardItem>\n <div class=\"item\">\n <div class=\"value\">\n <div class=\"primary\">\n {{ item[displayKey] }}\n </div>\n <div class=\"secondary\">\n {{item[secondaryDisplayKey]}}\n </div>\n </div>\n </div>\n </ng-template>\n </div>\n </ng-container>\n </div>\n</ng-template>\n",
|
|
153
|
+
styles: [".dd-wrapper{background:#fff;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:4px;display:block;cursor:pointer;outline:none}.dd-wrapper.opened,.dd-wrapper:hover{background:#f5f5f5}.dd-wrapper .selected-list{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:4px;padding:8px 16px}.dd-wrapper .selected-list>span{display:inline-block;background:#e0e0e0;border-radius:16px;padding:6px 12px;cursor:pointer;vertical-align:middle}.dd-wrapper:focus-within{border-color:#0937b2;background:#f5f5f5}.dd-wrapper.disabled,.dd-wrapper.readonly{pointer-events:none}.search-input{position:relative;border-radius:8px}.search-input input{outline:none;padding:10px 12px 10px 48px;background-color:transparent;font-size:15px;line-height:20px;color:#181f33;border-radius:inherit;border:1px solid transparent;width:100%}.search-input span{position:absolute;top:50%;transform:translateY(-50%);font-size:24px;width:24;line-height:24px;height:24px;left:10px}.dd-list{padding:8px 0;max-height:200px;background:#fff;box-shadow:0 12px 24px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.12);border-radius:8px;min-width:100%;overflow-y:auto}.dd-list::-webkit-scrollbar{width:8px;border-radius:4px}.dd-list::-webkit-scrollbar-track{background:#fff;border-radius:4px}.dd-list::-webkit-scrollbar-thumb{background:#929dab;border-radius:4px}.dd-list::-webkit-scrollbar-thumb:hover{background:#929dab}.dd-list .item{padding:8px 16px;cursor:pointer}.dd-list .item .disabled{color:#6a737d!important;pointer-events:none}.dd-list .item .value{display:flex;justify-content:space-between;align-items:center}.dd-list .item .value .primary,.dd-list .item .value .secondary{font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.dd-list .item .reason{font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d}.dd-list .item:hover:not(.disabled){background:#f5f7fc}"]
|
|
154
|
+
},] }
|
|
155
|
+
];
|
|
156
|
+
AsyncDropdownComponent.ctorParameters = () => [
|
|
157
|
+
{ type: Overlay },
|
|
158
|
+
{ type: ViewContainerRef }
|
|
159
|
+
];
|
|
160
|
+
AsyncDropdownComponent.propDecorators = {
|
|
161
|
+
httpStream: [{ type: Input }],
|
|
162
|
+
displayKey: [{ type: Input }],
|
|
163
|
+
secondaryDisplayKey: [{ type: Input }],
|
|
164
|
+
placeholder: [{ type: Input }],
|
|
165
|
+
debounceTime: [{ type: Input }],
|
|
166
|
+
minInputLength: [{ type: Input }],
|
|
167
|
+
multi: [{ type: Input }],
|
|
168
|
+
uniqueKey: [{ type: Input }],
|
|
169
|
+
control: [{ type: Input }],
|
|
170
|
+
disabled: [{ type: Input }],
|
|
171
|
+
readonly: [{ type: Input }],
|
|
172
|
+
origin: [{ type: ViewChild, args: ['ddBtn', { static: false },] }],
|
|
173
|
+
input: [{ type: ViewChild, args: ['input', { static: false },] }],
|
|
174
|
+
dd: [{ type: ViewChild, args: ['dd', { static: false },] }],
|
|
175
|
+
customItem: [{ type: ContentChild, args: ['misCustomItem', { static: false },] }],
|
|
176
|
+
onSelect: [{ type: Output }]
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
class AsyncDropdownModule {
|
|
180
|
+
}
|
|
181
|
+
AsyncDropdownModule.decorators = [
|
|
182
|
+
{ type: NgModule, args: [{
|
|
183
|
+
declarations: [AsyncDropdownComponent],
|
|
184
|
+
imports: [CommonModule, OverlayModule, ReactiveFormsModule, FormsModule],
|
|
185
|
+
exports: [AsyncDropdownComponent],
|
|
186
|
+
},] }
|
|
187
|
+
];
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Generated bundle index. Do not edit.
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
export { AsyncDropdownComponent, AsyncDropdownModule };
|
|
194
|
+
//# sourceMappingURL=mis-crystal-design-system-async-search-dropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-async-search-dropdown.js","sources":["../../../projects/mis-components/async-search-dropdown/async-dropdown.component.ts","../../../projects/mis-components/async-search-dropdown/async-dropdown.module.ts","../../../projects/mis-components/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.ts"],"sourcesContent":["import {\n ConnectionPositionPair,\n Overlay,\n OverlayConfig,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport {\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport { AbstractControl, FormControl } from '@angular/forms';\nimport { Observable, Subscription } from 'rxjs';\nimport { debounceTime, distinctUntilChanged, filter } from 'rxjs/operators';\n\n// tslint:disable-next-line\ntype IListData = any;\n\n@Component({\n selector: 'mis-async-search-dropdown',\n templateUrl: './async-dropdown.component.html',\n styleUrls: ['./async-dropdown.component.scss'],\n})\nexport class AsyncDropdownComponent implements OnInit, OnChanges, OnDestroy {\n constructor(\n private overlay: Overlay,\n private viewContainerRef: ViewContainerRef\n ) {}\n\n @Input() httpStream!: (searchKey: string) => Observable<IListData>; // function that returns an httpobservable\n @Input() displayKey!: string; // string to show value in list\n @Input() secondaryDisplayKey!: string; // string to display secondary value\n @Input() placeholder = 'Select'; // placeholder for input\n @Input() debounceTime = 400; // wait time till which API call is paused\n @Input() minInputLength = 2; // min length after which API call is made\n @Input() multi = false; // maintain a list or emit value\n @Input() uniqueKey: string; // for identifying unique values\n @Input() control: AbstractControl | null; // form control for reactive forms\n @Input() disabled: boolean; // disable actions on component\n @Input() readonly: boolean; // make component readonly\n @ViewChild('ddBtn', { static: false }) origin: ElementRef;\n @ViewChild('input', { static: false }) input: ElementRef;\n @ViewChild('dd', { static: false }) dd: TemplateRef<Element>;\n @ContentChild('misCustomItem', { static: false })\n customItem: TemplateRef<Element>;\n // tslint:disable-next-line\n @Output() onSelect: EventEmitter<IListData | IListData[]> = new EventEmitter(\n true\n ); // emit selected values\n searchInput: FormControl = new FormControl();\n data: IListData[] = [];\n opened = false;\n // tslint:disable-next-line\n selections: Map<string, any> = new Map();\n private searchSubscription: Subscription;\n private overlayRef: OverlayRef;\n controlSubscription: Subscription | undefined;\n\n ngOnInit(): void {\n if (this.multi && !this.uniqueKey) {\n throw new Error('[uniqueKey] required in multi mode.');\n }\n if (this.disabled) {\n this.searchInput.disable();\n }\n this.searchSubscription = this.searchInput.valueChanges\n .pipe(\n filter((val) => val && val.length >= this.minInputLength),\n debounceTime(this.debounceTime),\n distinctUntilChanged()\n )\n .subscribe((res) => {\n this.httpStream(res).subscribe((list) => {\n this.data = list;\n if (!this.overlayRef?.hasAttached() && list.length > 0) {\n this.openDropdown(this.dd, this.origin.nativeElement);\n }\n });\n });\n if (this.control?.value) {\n this.handleControlChanges(this.control.value);\n }\n this.controlSubscription = this.control?.valueChanges.subscribe(\n this.handleControlChanges\n );\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes && changes.disabled) {\n this.searchInput.enable();\n if (this.disabled) {\n this.searchInput.disable();\n }\n }\n }\n\n ngOnDestroy(): void {\n this.searchSubscription?.unsubscribe();\n }\n\n private handleControlChanges = (values: IListData[]) => {\n values.forEach((el) => {\n this.selectData(el, true);\n });\n // tslint:disable-next-line\n };\n\n private openDropdown(\n template: TemplateRef<Element>,\n origin: HTMLElement\n ): void {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(origin)\n .withPositions([\n new ConnectionPositionPair(\n { originX: 'start', originY: 'bottom' },\n { overlayX: 'start', overlayY: 'top' }\n ),\n new ConnectionPositionPair(\n { originX: 'start', originY: 'top' },\n { overlayX: 'start', overlayY: 'bottom' }\n ),\n ])\n .withPush(true);\n\n const configs = new OverlayConfig({\n hasBackdrop: true,\n backdropClass: 'cdk-overlay-transparent-backdrop',\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy,\n width: origin.clientWidth,\n });\n this.overlayRef = this.overlay.create(configs);\n this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));\n this.overlayRef.backdropClick().subscribe((res) => {\n this.closeDropdown();\n });\n }\n\n /**\n * closes the dropdown\n */\n closeDropdown(): void {\n this.opened = false;\n this.overlayRef?.detach();\n this.data = [];\n }\n\n /**\n *\n * @param item item to select\n * if item property disabled is set to true, selection will be disabled\n * @param effectedFromOutside set to true if calling from parent component, if true will focus on search input\n */\n selectData(item: IListData, effectedFromOutside = true): void {\n if (item.disabled) {\n return;\n }\n if (!this.multi) {\n this.searchInput.patchValue(item[this.displayKey], { emitEvent: false });\n this.setControlValue(item);\n } else {\n if (!this.selections.has(item[this.uniqueKey])) {\n this.selections.set(item[this.uniqueKey], item);\n }\n this.setControlValue(this.selectedItems);\n if (!effectedFromOutside) {\n setTimeout(() => {\n this.input.nativeElement.focus();\n this.input.nativeElement.scrollIntoView();\n }, 10);\n }\n this.searchInput.patchValue('');\n this.data = [];\n }\n this.closeDropdown();\n }\n\n /**\n *\n * @param item remove item from selected list\n */\n removeItem(item: IListData): void {\n this.selections.delete(item[this.uniqueKey]);\n this.setControlValue(this.selectedItems);\n // tslint:disable-next-line\n this.input['nativeElement'].focus();\n }\n\n private setControlValue(value: IListData): void {\n this.onSelect.emit(value);\n this.control?.patchValue(value, { emitEvent: false });\n }\n\n /**\n * @returns list of selected items\n */\n get selectedItems(): Array<IListData> {\n return Array.from(this.selections.values());\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { AsyncDropdownComponent } from './async-dropdown.component';\n\n@NgModule({\n declarations: [AsyncDropdownComponent],\n imports: [CommonModule, OverlayModule, ReactiveFormsModule, FormsModule],\n exports: [AsyncDropdownComponent],\n})\nexport class AsyncDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAkCa,sBAAsB;IACjC,YACU,OAAgB,EAChB,gBAAkC;QADlC,YAAO,GAAP,OAAO,CAAS;QAChB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAMnC,gBAAW,GAAG,QAAQ,CAAC;QACvB,iBAAY,GAAG,GAAG,CAAC;QACnB,mBAAc,GAAG,CAAC,CAAC;QACnB,UAAK,GAAG,KAAK,CAAC;;QAWb,aAAQ,GAA0C,IAAI,YAAY,CAC1E,IAAI,CACL,CAAC;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AAE,EAAE,MAAM,EAAE,KAAK,EAAE;uBAG/C,MAAM;;;MC9CI,mBAAmB;;;YAL/B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,WAAW,CAAC;gBACxE,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC;;;ACVD;;;;;;"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { EventEmitter, Component, Input, Output, Directive, ElementRef, Renderer2, HostBinding, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
class ButtonComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'Enabled';
|
|
7
|
+
this.type = 'Solid';
|
|
8
|
+
this.size = 'Medium';
|
|
9
|
+
this.width = '';
|
|
10
|
+
this.showIcon = false;
|
|
11
|
+
this.iconUrl = '';
|
|
12
|
+
this.iconPosition = 'Left';
|
|
13
|
+
this.disabled = false;
|
|
14
|
+
this.disableLeftBorderRadius = false;
|
|
15
|
+
this.disableRightBorderRadius = false;
|
|
16
|
+
/** Emits event when button is clicked */
|
|
17
|
+
this.click = new EventEmitter();
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() { }
|
|
20
|
+
onClick(event) {
|
|
21
|
+
this.click.emit(event);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
ButtonComponent.decorators = [
|
|
25
|
+
{ type: Component, args: [{
|
|
26
|
+
selector: 'mis-button',
|
|
27
|
+
template: "<button\n (click)=\"onClick($event);\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'solid': type === 'Solid',\n 'outline': type === 'Outline',\n 'text': type === 'Text',\n 'large': size === 'Large',\n 'medium': size === 'Medium',\n 'small': size === 'Small',\n 'large-mobile': size === 'Large-M',\n 'small-mobile': size === 'Small-M'\n }\"\n [ngStyle]=\"{\n 'border-top-left-radius': disableLeftBorderRadius ? '0px': '',\n 'border-bottom-left-radius': disableLeftBorderRadius ? '0px': '',\n 'border-top-right-radius': disableRightBorderRadius ? '0px': '',\n 'border-bottom-right-radius': disableRightBorderRadius ? '0px': '',\n 'width': width\n }\"\n>\n <span id=\"left-icon\" *ngIf=\"showIcon && iconPosition === 'Left'\">\n <img [src]=\"iconUrl\" alt=\"\">\n </span>\n {{name}}\n <span id=\"right-icon\" *ngIf=\"showIcon && iconPosition === 'Right'\">\n <img [src]=\"iconUrl\" alt=\"\">\n </span>\n</button>\n",
|
|
28
|
+
styles: ["button{font-family:Lato,sans-serif!important;border:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#181f33;background-color:#fff}.solid{color:#fff;background:#0937b2}.solid:hover:enabled{background:#062a99}.solid:active:enabled{background:#041f80}.solid:disabled{color:#929dab;background:#f5f5f5}.outline{border:1px solid #0937b2;color:#0937b2;background:#fff}.outline:hover:enabled{background:#f0f3fa}.outline:active:enabled{background:#dae1f3}.outline:disabled{color:#929dab;border:1px solid #929dab}.text{color:#181f33;background:#fff}.text:hover:enabled{background:#f0f3fa}.text:active:enabled{background:#dae1f3}.text:disabled{color:#929dab}.large{height:56px;padding:16px;border-radius:10px;font-weight:700;letter-spacing:.5px}.large,.medium{font-style:normal;font-size:16px;line-height:24px}.medium{height:44px;padding:10px 16px;border-radius:8px;font-weight:400;letter-spacing:.2px}.small{height:32px;padding:6px 16px;border-radius:6px;font-weight:400;letter-spacing:.25px}.large-mobile,.small{font-style:normal;font-size:14px;line-height:20px}.large-mobile{height:44px;padding:12px}.large-mobile,.small-mobile{border-radius:8px;font-weight:700;letter-spacing:.1px}.small-mobile{height:32px;padding:6px 12px;font-style:normal;font-size:14px;line-height:20px}span{display:flex;justify-content:center;align-items:center}#left-icon{margin-right:8px}#right-icon{margin-left:8px}"]
|
|
29
|
+
},] }
|
|
30
|
+
];
|
|
31
|
+
ButtonComponent.ctorParameters = () => [];
|
|
32
|
+
ButtonComponent.propDecorators = {
|
|
33
|
+
name: [{ type: Input }],
|
|
34
|
+
type: [{ type: Input }],
|
|
35
|
+
size: [{ type: Input }],
|
|
36
|
+
width: [{ type: Input }],
|
|
37
|
+
showIcon: [{ type: Input }],
|
|
38
|
+
iconUrl: [{ type: Input }],
|
|
39
|
+
iconPosition: [{ type: Input }],
|
|
40
|
+
disabled: [{ type: Input }],
|
|
41
|
+
disableLeftBorderRadius: [{ type: Input }],
|
|
42
|
+
disableRightBorderRadius: [{ type: Input }],
|
|
43
|
+
click: [{ type: Output }]
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
class ButtonDirective {
|
|
47
|
+
constructor(el, renderer) {
|
|
48
|
+
this.el = el;
|
|
49
|
+
this.renderer = renderer;
|
|
50
|
+
this.type = 'none';
|
|
51
|
+
this.size = 'md';
|
|
52
|
+
this.elementClass = 'mis-btn';
|
|
53
|
+
}
|
|
54
|
+
ngAfterViewInit() {
|
|
55
|
+
this.bindTypeClass();
|
|
56
|
+
this.bindSizeClass();
|
|
57
|
+
}
|
|
58
|
+
bindTypeClass() {
|
|
59
|
+
let className = '';
|
|
60
|
+
switch (this.type) {
|
|
61
|
+
case 'primary':
|
|
62
|
+
className = 'mis-primary';
|
|
63
|
+
break;
|
|
64
|
+
case 'outline':
|
|
65
|
+
className = 'mis-outline';
|
|
66
|
+
break;
|
|
67
|
+
default:
|
|
68
|
+
className = 'mis-none';
|
|
69
|
+
}
|
|
70
|
+
this.renderer.addClass(this.el.nativeElement, className);
|
|
71
|
+
}
|
|
72
|
+
bindSizeClass() {
|
|
73
|
+
let className = '';
|
|
74
|
+
switch (this.size) {
|
|
75
|
+
case 'lg':
|
|
76
|
+
className = 'mis-btn-lg';
|
|
77
|
+
break;
|
|
78
|
+
case 'sm':
|
|
79
|
+
className = 'mis-btn-sm';
|
|
80
|
+
break;
|
|
81
|
+
default:
|
|
82
|
+
className = 'mis-btn-md';
|
|
83
|
+
}
|
|
84
|
+
this.renderer.addClass(this.el.nativeElement, className);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
ButtonDirective.decorators = [
|
|
88
|
+
{ type: Directive, args: [{
|
|
89
|
+
selector: '[mis-button]',
|
|
90
|
+
},] }
|
|
91
|
+
];
|
|
92
|
+
ButtonDirective.ctorParameters = () => [
|
|
93
|
+
{ type: ElementRef },
|
|
94
|
+
{ type: Renderer2 }
|
|
95
|
+
];
|
|
96
|
+
ButtonDirective.propDecorators = {
|
|
97
|
+
type: [{ type: Input }],
|
|
98
|
+
size: [{ type: Input }],
|
|
99
|
+
elementClass: [{ type: HostBinding, args: ['class',] }]
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
class ButtonModule {
|
|
103
|
+
static forRoot() {
|
|
104
|
+
return { ngModule: ButtonModule, providers: [] };
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
ButtonModule.decorators = [
|
|
108
|
+
{ type: NgModule, args: [{
|
|
109
|
+
declarations: [ButtonComponent, ButtonDirective],
|
|
110
|
+
imports: [CommonModule],
|
|
111
|
+
exports: [ButtonComponent, ButtonDirective]
|
|
112
|
+
},] }
|
|
113
|
+
];
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Generated bundle index. Do not edit.
|
|
117
|
+
*/
|
|
118
|
+
|
|
119
|
+
export { ButtonComponent, ButtonModule, ButtonDirective as ɵa };
|
|
120
|
+
//# sourceMappingURL=mis-crystal-design-system-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-button.js","sources":["../../../projects/mis-components/button/button.component.ts","../../../projects/mis-components/button/button.directive.ts","../../../projects/mis-components/button/button.module.ts","../../../projects/mis-components/button/mis-crystal-design-system-button.ts"],"sourcesContent":["import {Component, Input, OnInit, Output, EventEmitter, ContentChild, TemplateRef} from '@angular/core';\n\n@Component({\n selector: 'mis-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss']\n})\nexport class ButtonComponent implements OnInit{\n\n @Input() name: string = 'Enabled'\n @Input() type: 'Solid' | 'Outline' | 'Text' = 'Solid'\n @Input() size: 'Small' | 'Medium' | 'Large' | 'Small-M' | 'Large-M' = 'Medium'\n @Input() width: string = ''\n\n @Input() showIcon: boolean = false\n @Input() iconUrl: string = ''\n @Input() iconPosition: 'Left' | 'Right' = 'Left'\n\n @Input() disabled: boolean = false\n @Input() disableLeftBorderRadius: boolean = false\n @Input() disableRightBorderRadius: boolean = false\n\n /** Emits event when button is clicked */\n @Output() click = new EventEmitter<any>()\n\n constructor(){}\n\n ngOnInit(){}\n\n onClick(event){\n this.click.emit(event)\n }\n}\n","import {\n AfterViewInit,\n Directive,\n ElementRef,\n HostBinding,\n Input,\n Renderer2,\n} from '@angular/core';\n\n@Directive({\n selector: '[mis-button]',\n})\nexport class ButtonDirective implements AfterViewInit {\n @Input() type: 'primary' | 'outline' | 'none' = 'none';\n @Input() size: 'sm' | 'md' | 'lg' = 'md';\n @HostBinding('class') elementClass = 'mis-btn';\n\n constructor(private el: ElementRef, private renderer: Renderer2) { }\n\n ngAfterViewInit(): void {\n this.bindTypeClass();\n this.bindSizeClass();\n }\n\n private bindTypeClass(): void {\n let className = '';\n switch (this.type) {\n case 'primary':\n className = 'mis-primary';\n break;\n case 'outline':\n className = 'mis-outline';\n break;\n default:\n className = 'mis-none';\n }\n this.renderer.addClass(this.el.nativeElement, className);\n }\n\n private bindSizeClass(): void {\n let className = '';\n switch (this.size) {\n case 'lg':\n className = 'mis-btn-lg';\n break;\n case 'sm':\n className = 'mis-btn-sm';\n break;\n default:\n className = 'mis-btn-md';\n }\n this.renderer.addClass(this.el.nativeElement, className);\n }\n}\n","import { NgModule, ModuleWithProviders } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ButtonDirective } from './button.directive';\nimport { ButtonComponent } from './button.component';\n\n@NgModule({\n declarations: [ButtonComponent, ButtonDirective],\n imports: [CommonModule],\n exports: [ButtonComponent, ButtonDirective]\n})\nexport class ButtonModule {\n static forRoot(): ModuleWithProviders<ButtonModule> {\n return { ngModule: ButtonModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {ButtonDirective as ɵa} from './button.directive';"],"names":[],"mappings":";;;MAOa,eAAe;IAkB1B;QAhBS,SAAI,GAAW,SAAS,CAAA;QACxB,SAAI,GAAiC,OAAO,CAAA;QAC5C,SAAI,GAAyD,QAAQ,CAAA;QACrE,UAAK,GAAW,EAAE,CAAA;QAElB,aAAQ,GAAY,KAAK,CAAA;QACzB,YAAO,GAAW,EAAE,CAAA;QACpB,iBAAY,GAAqB,MAAM,CAAA;QAEvC,aAAQ,GAAY,KAAK,CAAA;QACzB,4BAAuB,GAAY,KAAK,CAAA;QACxC,6BAAwB,GAAY,KAAK,CAAA;;QAGxC,UAAK,GAAG,IAAI,YAAY,EAAO,CAAA;KAE1B;IAEf,QAAQ,MAAI;IAEZ,OAAO,CAAC,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;KACvB;;;YA7BF,SAAS,SAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,m9BAAsC;;aAEvC;;;;mBAGE,KAAK;mBACL,KAAK;mBACL,KAAK;oBACL,KAAK;uBAEL,KAAK;sBACL,KAAK;2BACL,KAAK;uBAEL,KAAK;sCACL,KAAK;uCACL,KAAK;oBAGL,MAAM;;;MCXI,eAAe;IAK1B,YAAoB,EAAc,EAAU,QAAmB;QAA3C,OAAE,GAAF,EAAE,CAAY;QAAU,aAAQ,GAAR,QAAQ,CAAW;QAJtD,SAAI,GAAmC,MAAM,CAAC;QAC9C,SAAI,GAAuB,IAAI,CAAC;QACnB,iBAAY,GAAG,SAAS,CAAC;KAEqB;IAEpE,eAAe;QACb,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAEO,aAAa;QACnB,IAAI,SAAS,GAAG,EAAE,CAAC;QACnB,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS;gBACZ,SAAS,GAAG,aAAa,CAAC;gBAC1B,MAAM;YACR,KAAK,SAAS;gBACZ,SAAS,GAAG,aAAa,CAAC;gBAC1B,MAAM;YACR;gBACE,SAAS,GAAG,UAAU,CAAC;SAC1B;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;KAC1D;IAEO,aAAa;QACnB,IAAI,SAAS,GAAG,EAAE,CAAC;QACnB,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,IAAI;gBACP,SAAS,GAAG,YAAY,CAAC;gBACzB,MAAM;YACR,KAAK,IAAI;gBACP,SAAS,GAAG,YAAY,CAAC;gBACzB,MAAM;YACR;gBACE,SAAS,GAAG,YAAY,CAAC;SAC5B;QACD,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;KAC1D;;;YA3CF,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;aACzB;;;YARC,UAAU;YAGV,SAAS;;;mBAOR,KAAK;mBACL,KAAK;2BACL,WAAW,SAAC,OAAO;;;MCLT,YAAY;IACvB,OAAO,OAAO;QACZ,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;KAClD;;;YARF,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;gBAChD,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;aAC5C;;;ACTD;;;;;;"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EventEmitter, Component, ViewChild, Input, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class CheckboxComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.isError = false;
|
|
8
|
+
this.isIndeterminate = false;
|
|
9
|
+
this.name = '';
|
|
10
|
+
this.formControl = new FormControl();
|
|
11
|
+
this.valueChange = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
set type(value) {
|
|
14
|
+
this.isError = value === 'Error';
|
|
15
|
+
}
|
|
16
|
+
set indeterminate(value) {
|
|
17
|
+
if (value) {
|
|
18
|
+
this.formControl.setValue(true);
|
|
19
|
+
this.valueChange.emit({
|
|
20
|
+
name: this.name,
|
|
21
|
+
value: true
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
this.formControl.setValue(false);
|
|
26
|
+
this.valueChange.emit({
|
|
27
|
+
name: this.name,
|
|
28
|
+
value: false
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
this.isIndeterminate = value;
|
|
32
|
+
}
|
|
33
|
+
set checked(value) {
|
|
34
|
+
if (value)
|
|
35
|
+
this.formControl.setValue(true);
|
|
36
|
+
else
|
|
37
|
+
this.formControl.setValue(false);
|
|
38
|
+
}
|
|
39
|
+
set disabled(value) {
|
|
40
|
+
if (value)
|
|
41
|
+
this.formControl.disable();
|
|
42
|
+
else
|
|
43
|
+
this.formControl.enable();
|
|
44
|
+
}
|
|
45
|
+
ngOnInit() {
|
|
46
|
+
}
|
|
47
|
+
toggleState() {
|
|
48
|
+
if (this.isIndeterminate) {
|
|
49
|
+
this.isIndeterminate = false;
|
|
50
|
+
this.formControl.setValue(true);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
if (this.formControl.value)
|
|
54
|
+
this.formControl.setValue(false);
|
|
55
|
+
else
|
|
56
|
+
this.formControl.setValue(true);
|
|
57
|
+
}
|
|
58
|
+
this.valueChange.emit({
|
|
59
|
+
name: this.name,
|
|
60
|
+
value: this.formControl.value
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
CheckboxComponent.decorators = [
|
|
65
|
+
{ type: Component, args: [{
|
|
66
|
+
selector: 'mis-checkbox',
|
|
67
|
+
template: "<div\n class=\"checkbox-container\"\n (click)=\"!formControl.disabled && toggleState()\"\n>\n <input\n hidden\n type=\"checkbox\"\n [formControl]=\"formControl\"\n (click)=\"$event.stopPropagation()\"\n >\n <span\n class=\"checkmark\"\n tabindex=\"0\"\n *ngIf=\"!isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n 'error': isError && !formControl.disabled\n }\"\n ></span>\n <span\n class=\"checkmark indeterminate\"\n tabindex=\"0\"\n *ngIf=\"isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n 'error': isError && !formControl.disabled\n }\"\n ></span>\n</div>\n",
|
|
68
|
+
styles: [".checkbox-container{height:20px;width:20px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:sub}.checkbox-container input{opacity:0;cursor:pointer}.checkbox-container input,.checkmark{position:absolute;height:20px;width:20px}.checkmark{display:flex;justify-content:center;align-items:center;top:0;left:0;border-radius:4px;background-color:#fff;border:2px solid #6a737d;box-sizing:border-box}.checkmark:hover{border-color:#929dab}.checkmark:focus,.checkmark:focus-within{box-shadow:0 0 0 .09em #fff,0 0 .01em .2em #0937b2;outline:none}.checkbox-container input:checked~.checkmark{background-color:#0937b2;border-color:#0937b2}.checkbox-container input:checked~.checkmark.disabled-checkbox{background-color:#c8cdd3;border-color:#c8cdd3}.checkmark:after{content:\"\";position:absolute;display:none}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{top:1px;width:4px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .checkmark.indeterminate:after{top:2px;width:2px;height:0;border:solid #fff;border-width:0 0 12px;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.disabled-checkbox{pointer-events:none;border-color:#c8cdd3}.error{border-color:#b00020}.checkbox-container input:checked~.error.checkmark{border:#b00020!important;background:#b00020!important}.checkbox-container .error.checkmark:after{top:3px;width:4px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .error.checkmark.indeterminate:after{top:4px;width:2px;height:0;border:solid #fff;border-width:0 0 12px;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.error:focus,.error:focus-within{box-shadow:none!important;outline:none}"]
|
|
69
|
+
},] }
|
|
70
|
+
];
|
|
71
|
+
CheckboxComponent.ctorParameters = () => [];
|
|
72
|
+
CheckboxComponent.propDecorators = {
|
|
73
|
+
inputBox: [{ type: ViewChild, args: ['input',] }],
|
|
74
|
+
type: [{ type: Input }],
|
|
75
|
+
indeterminate: [{ type: Input }],
|
|
76
|
+
checked: [{ type: Input }],
|
|
77
|
+
disabled: [{ type: Input }],
|
|
78
|
+
name: [{ type: Input }],
|
|
79
|
+
formControl: [{ type: Input }],
|
|
80
|
+
valueChange: [{ type: Output }]
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
class CheckboxModule {
|
|
84
|
+
static forRoot() {
|
|
85
|
+
return { ngModule: CheckboxModule, providers: [] };
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
CheckboxModule.decorators = [
|
|
89
|
+
{ type: NgModule, args: [{
|
|
90
|
+
declarations: [CheckboxComponent],
|
|
91
|
+
imports: [CommonModule, ReactiveFormsModule],
|
|
92
|
+
exports: [CheckboxComponent]
|
|
93
|
+
},] }
|
|
94
|
+
];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Generated bundle index. Do not edit.
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
export { CheckboxComponent, CheckboxModule };
|
|
101
|
+
//# sourceMappingURL=mis-crystal-design-system-checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-checkbox.js","sources":["../../../projects/mis-components/checkbox/checkbox.component.ts","../../../projects/mis-components/checkbox/checkbox.module.ts","../../../projects/mis-components/checkbox/mis-crystal-design-system-checkbox.ts"],"sourcesContent":["import {Component, OnInit, EventEmitter, Input, Output, ViewChild, ElementRef, Renderer2} from '@angular/core';\nimport {AbstractControl, FormControl} from '@angular/forms';\n\n@Component({\n selector: 'mis-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss']\n})\nexport class CheckboxComponent implements OnInit {\n\n public isError: boolean = false\n public isIndeterminate: boolean = false\n\n @ViewChild('input') inputBox: ElementRef\n @Input() set type(value: 'Default' | 'Error') {\n this.isError = value === 'Error';\n }\n @Input() set indeterminate(value: boolean){\n if(value) {\n this.formControl.setValue(true)\n this.valueChange.emit({\n name: this.name,\n value: true\n })\n }\n else{\n this.formControl.setValue(false)\n this.valueChange.emit({\n name: this.name,\n value: false\n })\n }\n this.isIndeterminate = value\n }\n @Input() set checked(value: boolean){\n if(value)this.formControl.setValue(true)\n else this.formControl.setValue(false)\n }\n @Input() set disabled(value: boolean){\n if(value) this.formControl.disable()\n else this.formControl.enable()\n }\n @Input() name: string = ''\n @Input() formControl: AbstractControl = new FormControl()\n @Output() valueChange = new EventEmitter<{name: string, value: boolean}>()\n\n constructor() {}\n ngOnInit() {\n }\n\n toggleState() {\n if(this.isIndeterminate) {\n this.isIndeterminate = false;\n this.formControl.setValue(true)\n } else {\n if(this.formControl.value) this.formControl.setValue(false)\n else this.formControl.setValue(true)\n }\n this.valueChange.emit({\n name: this.name,\n value: this.formControl.value\n });\n }\n\n}\n","import { NgModule, ModuleWithProviders } from '@angular/core';\nimport {ReactiveFormsModule} from '@angular/forms';\nimport { CommonModule } from '@angular/common';\n\nimport { CheckboxComponent } from './checkbox.component';\n\n\n@NgModule({\n declarations: [CheckboxComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [CheckboxComponent]\n})\nexport class CheckboxModule {\n static forRoot(): ModuleWithProviders<CheckboxModule> {\n return { ngModule: CheckboxModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,iBAAiB;IAsC5B;QApCO,YAAO,GAAY,KAAK,CAAA;QACxB,oBAAe,GAAY,KAAK,CAAA;QA+B9B,SAAI,GAAW,EAAE,CAAA;QACjB,gBAAW,GAAoB,IAAI,WAAW,EAAE,CAAA;QAC/C,gBAAW,GAAG,IAAI,YAAY,EAAkC,CAAA;KAE1D;IAhChB,IAAa,IAAI,CAAC,KAA0B;QAC1C,IAAI,CAAC,OAAO,GAAG,KAAK,KAAK,OAAO,CAAC;KAClC;IACD,IAAa,aAAa,CAAC,KAAc;QACvC,IAAG,KAAK,EAAE;YACR,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YAC/B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;gBACpB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,KAAK,EAAE,IAAI;aACZ,CAAC,CAAA;SACH;aACG;YACF,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YAChC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;gBACpB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,KAAK,EAAE,KAAK;aACb,CAAC,CAAA;SACH;QACD,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;KAC7B;IACD,IAAa,OAAO,CAAC,KAAc;QACjC,IAAG,KAAK;YAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;;YACnC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;KACtC;IACD,IAAa,QAAQ,CAAC,KAAc;QAClC,IAAG,KAAK;YAAE,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAA;;YAC/B,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAA;KAC/B;IAMD,QAAQ;K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