mis-crystal-design-system 2.0.0 → 2.1.3
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/bundles/mis-crystal-design-system-button.umd.js +76 -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} +4 -4
- 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-datepicker.umd.min.js.map +1 -0
- 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-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-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 -15553
- 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/mis-crystal-design-system-button.d.ts +4 -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/drawer-body/drawer-body.component.d.ts +12 -0
- package/drawer/drawer-constants.d.ts +3 -0
- package/drawer/drawer-ref.d.ts +13 -0
- package/drawer/drawer.module.d.ts +5 -0
- package/drawer/drawer.scss +20 -0
- package/drawer/drawer.service.d.ts +18 -0
- package/{src/datepicker/sub-components/chronos → drawer}/index.d.ts +0 -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/drawer/public_api.d.ts +4 -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/button/button.component.js +1 -1
- package/esm2015/button/button.module.js +1 -1
- package/esm2015/button/index.js +1 -1
- package/esm2015/button/mis-crystal-design-system-button.js +5 -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 +44 -0
- package/esm2015/drawer/drawer-constants.js +4 -0
- package/esm2015/drawer/drawer-ref.js +28 -0
- package/esm2015/drawer/drawer.module.js +28 -0
- package/esm2015/drawer/drawer.service.js +59 -0
- package/esm2015/drawer/index.js +2 -0
- package/esm2015/drawer/mis-crystal-design-system-drawer.js +6 -0
- package/esm2015/drawer/public_api.js +5 -0
- 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 +66 -0
- package/esm2015/fab/fab.module.js +16 -0
- package/esm2015/fab/index.js +2 -0
- package/esm2015/fab/mis-crystal-design-system-fab.js +5 -0
- package/esm2015/fab/public_api.js +3 -0
- package/esm2015/index.js +2 -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 -24
- 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 +2 -2
- 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 +2 -2
- 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 -13
- 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 +2 -0
- package/esm2015/toast/mis-crystal-design-system-toast.js +7 -0
- package/esm2015/toast/public_api.js +3 -0
- package/esm2015/toast/toast.component.js +30 -0
- package/esm2015/toast/toast.data.service.js +29 -0
- package/esm2015/toast/toast.module.js +28 -0
- package/esm2015/toast/toast.service.js +99 -0
- 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/fab.component.d.ts +29 -0
- package/fab/fab.module.d.ts +4 -0
- package/{src/datepicker/sub-components/component-loader → fab}/index.d.ts +0 -0
- 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/fab/public_api.d.ts +2 -0
- package/fesm2015/mis-crystal-design-system-button.js +64 -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-loader.js +42 -0
- package/fesm2015/mis-crystal-design-system-loader.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 -14932
- package/fesm2015/mis-crystal-design-system.js.map +1 -1
- package/index.d.ts +1 -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 -23
- package/mis-crystal-design-system.metadata.json +1 -1
- 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 +3 -2
- package/public-api.d.ts +2 -12
- 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/{src/datepicker/sub-components/mini-ngrx → toast}/index.d.ts +0 -0
- 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/toast/public_api.d.ts +2 -0
- package/toast/toast.component.d.ts +5 -0
- package/toast/toast.data.service.d.ts +8 -0
- package/toast/toast.module.d.ts +5 -0
- package/toast/toast.service.d.ts +35 -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/bundles/mis-crystal-design-system-src-datepicker.umd.min.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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Overlay, OverlayConfig } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import { ToastComponent } from './toast.component';
|
|
5
|
+
import { ToastDataService } from './toast.data.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/cdk/overlay";
|
|
8
|
+
import * as i2 from "./toast.data.service";
|
|
9
|
+
export class ToastService {
|
|
10
|
+
constructor(overlay, data) {
|
|
11
|
+
this.overlay = overlay;
|
|
12
|
+
this.data = data;
|
|
13
|
+
this.messagePromises = [];
|
|
14
|
+
this.messageBuilder = {
|
|
15
|
+
error: {
|
|
16
|
+
simple: 'Something went wrong. Please try again later.',
|
|
17
|
+
400: 'Bad Request! We are working to fix this.',
|
|
18
|
+
401: 'UNAUTHORISED',
|
|
19
|
+
403: 'Sorry for the interruption but seems like your session has expired. Please login again and continue',
|
|
20
|
+
404: 'Unable to find resource. Please try again later',
|
|
21
|
+
},
|
|
22
|
+
item: (item) => {
|
|
23
|
+
return {
|
|
24
|
+
action: (act = 'updated') => {
|
|
25
|
+
const success = `Successfully ${act} ${item}.`;
|
|
26
|
+
const failure = `Failed to ${act} ${item}.`;
|
|
27
|
+
return {
|
|
28
|
+
success,
|
|
29
|
+
failure,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
short: (act = 'updated') => {
|
|
35
|
+
const success = `Successfully ${act}.`;
|
|
36
|
+
const failure = `Failed to ${act}.`;
|
|
37
|
+
return {
|
|
38
|
+
success,
|
|
39
|
+
failure,
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
simple: (...args) => args.join(' '),
|
|
43
|
+
simplest: 'Done!',
|
|
44
|
+
};
|
|
45
|
+
this.userProfilePortal = new ComponentPortal(ToastComponent);
|
|
46
|
+
}
|
|
47
|
+
displayMsg(msg, timeout = 3000) {
|
|
48
|
+
var _a;
|
|
49
|
+
const positionStrategy = this.overlay
|
|
50
|
+
.position()
|
|
51
|
+
.global()
|
|
52
|
+
.centerHorizontally();
|
|
53
|
+
if ((window === null || window === void 0 ? void 0 : window.innerWidth) < 600) {
|
|
54
|
+
positionStrategy.bottom('48px');
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
positionStrategy.top('80px');
|
|
58
|
+
}
|
|
59
|
+
const config = new OverlayConfig({
|
|
60
|
+
hasBackdrop: false,
|
|
61
|
+
positionStrategy,
|
|
62
|
+
});
|
|
63
|
+
if (!((_a = this.toastWrapperRef) === null || _a === void 0 ? void 0 : _a.hasAttached())) {
|
|
64
|
+
this.toastWrapperRef = this.overlay.create(config);
|
|
65
|
+
this.toastWrapperRef.attach(this.userProfilePortal);
|
|
66
|
+
}
|
|
67
|
+
const messageId = this.data.updateMessage(msg);
|
|
68
|
+
this.messagePromises.push(new Promise((resolve, reject) => {
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
resolve(this.data.removeMessage(messageId));
|
|
71
|
+
if (!this.data.hasMessage()) {
|
|
72
|
+
this.closeToastOverlay();
|
|
73
|
+
}
|
|
74
|
+
// adding 300ms for entry animation
|
|
75
|
+
}, timeout + 300);
|
|
76
|
+
}));
|
|
77
|
+
Promise.race(this.messagePromises).then(() => { });
|
|
78
|
+
}
|
|
79
|
+
// tslint:disable-next-line
|
|
80
|
+
closeToastOverlay() {
|
|
81
|
+
return setTimeout(() => {
|
|
82
|
+
var _a;
|
|
83
|
+
this.messagePromises = [];
|
|
84
|
+
(_a = this.toastWrapperRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
85
|
+
// adding 300ms for exit animation
|
|
86
|
+
}, 300);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
ToastService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ToastService_Factory() { return new ToastService(i0.ɵɵinject(i1.Overlay), i0.ɵɵinject(i2.ToastDataService)); }, token: ToastService, providedIn: "root" });
|
|
90
|
+
ToastService.decorators = [
|
|
91
|
+
{ type: Injectable, args: [{
|
|
92
|
+
providedIn: 'root',
|
|
93
|
+
},] }
|
|
94
|
+
];
|
|
95
|
+
ToastService.ctorParameters = () => [
|
|
96
|
+
{ type: Overlay },
|
|
97
|
+
{ type: ToastDataService }
|
|
98
|
+
];
|
|
99
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Quc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL3RvYXN0L3RvYXN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxhQUFhLEVBQWMsTUFBTSxzQkFBc0IsQ0FBQztBQUMxRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7QUFheEQsTUFBTSxPQUFPLFlBQVk7SUFDdkIsWUFBb0IsT0FBZ0IsRUFBVSxJQUFzQjtRQUFoRCxZQUFPLEdBQVAsT0FBTyxDQUFTO1FBQVUsU0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VG9hc3RPdmVybGF5KCk7XG4gICAgICAgICAgfVxuICAgICAgICAgIC8vIGFkZGluZyAzMDBtcyBmb3IgZW50cnkgYW5pbWF0aW9uXG4gICAgICAgIH0sIHRpbWVvdXQgKyAzMDApO1xuICAgICAgfSlcbiAgICApO1xuICAgIFByb21pc2UucmFjZSh0aGlzLm1lc3NhZ2VQcm9taXNlcykudGhlbigoKSA9PiB7fSk7XG4gIH1cblxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmVcbiAgcHJpdmF0ZSBjbG9zZVRvYXN0T3ZlcmxheSgpOiBhbnkge1xuICAgIHJldHVybiBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgIHRoaXMubWVzc2FnZVByb21pc2VzID0gW107XG4gICAgICB0aGlzLnRvYXN0V3JhcHBlclJlZj8uZGV0YWNoKCk7XG4gICAgICAvLyBhZGRpbmcgMzAwbXMgZm9yIGV4aXQgYW5pbWF0aW9uXG4gICAgfSwgMzAwKTtcbiAgfVxufVxuIl19
|
package/esm2015/tooltip/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './public_api';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy90b29sdGlwL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJ1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzLWNyeXN0YWwtZGVzaWduLXN5c3RlbS10b29sdGlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvdG9vbHRpcC9taXMtY3J5c3RhbC1kZXNpZ24tc3lzdGVtLXRvb2x0aXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ToolTipDirective } from './tooltip.directive';
|
|
2
2
|
export { ToolTipComponent } from './tooltip.component';
|
|
3
3
|
export { ToolTipModule } from './tooltip.module';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL3Rvb2x0aXAvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQTtBQUN0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQTtBQUN0RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBUb29sVGlwRGlyZWN0aXZlIH0gZnJvbSAnLi90b29sdGlwLmRpcmVjdGl2ZSdcbmV4cG9ydCB7IFRvb2xUaXBDb21wb25lbnQgfSBmcm9tICcuL3Rvb2x0aXAuY29tcG9uZW50J1xuZXhwb3J0IHsgVG9vbFRpcE1vZHVsZSB9IGZyb20gJy4vdG9vbHRpcC5tb2R1bGUnXG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFjLEtBQUssRUFBVSxTQUFTLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBT3hHLE1BQU0sT0FBTyxnQkFBZ0I7SUFxQjNCLFlBQW9CLFFBQW1CO1FBQW5CLGFBQVEsR0FBUixRQUFRLENBQVc7UUFuQmhDLGdCQUFXLEdBQVcsRUFBRSxDQUFBO1FBQ3hCLGlCQUFZLEdBQVcsRUFBRSxDQUFBO1FBQ3pCLG9CQUFlLEdBQXdDLFFBQVEsQ0FBQTtJQWtCdEUsQ0FBQztJQWhCRCxJQUFhLElBQUksQ0FBQyxLQUFhO1FBQzdCLElBQUksQ0FBQyxXQUFXLEdBQUcsS0FBSyxDQUFBO1FBQ3hCLElBQUksQ0FBQyxxQkFBcUIsRUFBRSxDQUFBO0lBQzlCLENBQUM7SUFDRCxJQUFhLEtBQUssQ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cbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZSh0aGlzLmNvbnRhaW5lci5uYXRpdmVFbGVtZW50LCAnbGVmdCcsIGAtJHt3aWR0aCArIDEyfXB4YClcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZSh0aGlzLmNvbnRhaW5lci5uYXRpdmVFbGVtZW50LCAncmlnaHQnLCAnJylcbiAgICAgIH1cbiAgICAgIGVsc2UgaWYodGhpcy50b29sVGlwUG9zaXRpb24gPT09ICdSaWdodCcpe1xuICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuY29udGFpbmVyLm5hdGl2ZUVsZW1lbnQsICdsZWZ0JywgJycpXG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUodGhpcy5jb250YWluZXIubmF0aXZlRWxlbWVudCwgJ3JpZ2h0JywgYC0ke3dpZHRoICsgMTJ9cHhgKVxuICAgICAgfVxuICAgICAgZWxzZXtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZSh0aGlzLmNvbnRhaW5lci5uYXRpdmVFbGVtZW50LCAnbGVmdCcsICc1MCUnKVxuICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuY29udGFpbmVyLm5hdGl2ZUVsZW1lbnQsICdyaWdodCcsICcnKVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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VsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5cbmltcG9ydCB7IFRvb2xUaXBEaXJlY3RpdmUgfSBmcm9tICcuL3Rvb2x0aXAuZGlyZWN0aXZlJztcbmltcG9ydCB7VG9vbFRpcENvbXBvbmVudH0gZnJvbSAnLi90b29sdGlwLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1Rvb2xUaXBEaXJlY3RpdmUsIFRvb2xUaXBDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgZXhwb3J0czogW1Rvb2xUaXBEaXJlY3RpdmUsIFRvb2xUaXBDb21wb25lbnRdLFxuICBlbnRyeUNvbXBvbmVudHM6W1Rvb2xUaXBDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFRvb2xUaXBNb2R1bGUge1xuICBzdGF0aWMgZm9yUm9vdCgpOiBNb2R1bGVXaXRoUHJvdmlkZXJzPFRvb2xUaXBNb2R1bGU+IHtcbiAgICByZXR1cm4geyBuZ01vZHVsZTogVG9vbFRpcE1vZHVsZSwgcHJvdmlkZXJzOiBbXSB9O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
import { ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
export declare type FabOptions = {
|
|
4
|
+
backgroundColorClosed?: string;
|
|
5
|
+
backgroundColorOpened?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare type FabItem = {
|
|
9
|
+
label?: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
click?: () => any;
|
|
14
|
+
};
|
|
15
|
+
export declare type FabItems = FabItem[];
|
|
16
|
+
export declare class FabComponent implements OnInit, OnDestroy {
|
|
17
|
+
private eRef;
|
|
18
|
+
show: boolean;
|
|
19
|
+
options: FabOptions;
|
|
20
|
+
items: FabItems;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
constructor(eRef: ElementRef);
|
|
23
|
+
clickout(event: any): void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
clickItem(item: FabItem): void;
|
|
27
|
+
closeFab(): void;
|
|
28
|
+
toogleFab(): void;
|
|
29
|
+
}
|
|
File without changes
|
|
@@ -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,64 @@
|
|
|
1
|
+
import { EventEmitter, Component, Input, Output, 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 ButtonModule {
|
|
47
|
+
static forRoot() {
|
|
48
|
+
return { ngModule: ButtonModule, providers: [] };
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
ButtonModule.decorators = [
|
|
52
|
+
{ type: NgModule, args: [{
|
|
53
|
+
declarations: [ButtonComponent],
|
|
54
|
+
imports: [CommonModule],
|
|
55
|
+
exports: [ButtonComponent]
|
|
56
|
+
},] }
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
export { ButtonComponent, ButtonModule };
|
|
64
|
+
//# 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.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 { NgModule, ModuleWithProviders } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { ButtonComponent } from './button.component';\n\n@NgModule({\n declarations: [ButtonComponent],\n imports: [CommonModule],\n exports: [ButtonComponent]\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"],"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;;;MCbI,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,CAAC;gBAC/B,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;aAC3B;;;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;KACP;IAED,WAAW;QACT,IAAG,IAAI,CAAC,eAAe,EAAE;YACvB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;YAC7B,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;SAChC;aAAM;YACL,IAAG,IAAI,CAAC,WAAW,CAAC,KAAK;gBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;;gBACtD,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;SACrC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YACpB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;SAC9B,CAAC,CAAC;KACJ;;;YA3DF,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,qvBAAwC;;aAEzC;;;;uBAME,SAAS,SAAC,OAAO;mBACjB,KAAK;4BAGL,KAAK;sBAiBL,KAAK;uBAIL,KAAK;mBAIL,KAAK;0BACL,KAAK;0BACL,MAAM;;;MChCI,cAAc;IACzB,OAAO,OAAO;QACZ,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;KACpD;;;YARF,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC;gBAC5C,OAAO,EAAE,CAAC,iBAAiB,CAAC;aAC7B;;;ACXD;;;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
class ChipComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.label = '';
|
|
7
|
+
this.value = '';
|
|
8
|
+
this.size = 'Medium';
|
|
9
|
+
this.iconUrl = null;
|
|
10
|
+
this.count = null;
|
|
11
|
+
this.dismissible = false;
|
|
12
|
+
this.cancel = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
ChipComponent.decorators = [
|
|
18
|
+
{ type: Component, args: [{
|
|
19
|
+
selector: 'mis-chip',
|
|
20
|
+
template: "<div\n id=\"chip-container\"\n [ngClass]=\"{\n 'small': size === 'Small',\n 'medium': size === 'Medium',\n 'small-m': size === 'Small-M',\n 'medium-m': size === 'Medium-M'\n }\"\n>\n <img *ngIf=\"iconUrl && iconUrl.length > 0\" [src]=\"iconUrl\" alt=\"\">\n <span>{{label}}</span>\n <div *ngIf=\"count != null || count != undefined\" id=\"count-container\">\n <div id=\"separator\"></div>\n <span id=\"count-text\">{{count}}</span>\n </div>\n <span *ngIf=\"dismissible\" id=\"close-icon\" (click)=\"cancel.emit(value)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z\" fill=\"#181F33\"/>\n </svg>\n </span>\n</div>\n",
|
|
21
|
+
styles: ["#chip-container{display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif!important;background-color:#e0e0e0;box-sizing:border-box;cursor:default}#chip-container:hover{background:#d7d9de}img{margin-right:4px}#close-icon{margin-left:4px;cursor:pointer}#close-icon,#count-container{display:flex;justify-content:center;align-items:center}#count-container,#separator{height:100%}#separator{width:1px;background-color:#c8cdd3;margin:0 8px}#count-text{font-weight:700;letter-spacing:.25px}.small{height:24px;padding:4px 8px;border-radius:7px;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.7px}.medium,.small{font-style:normal;color:#181f33}.medium{height:32px;padding:6px 12px;border-radius:16px;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px}.small-m{height:20px;padding:4px 8px;border-radius:10px;font-size:11px;line-height:12px;letter-spacing:.1px}.medium-m,.small-m{font-style:normal;font-weight:400;color:#181f33}.medium-m{height:24px;padding:4px 12px;border-radius:12px;font-size:12px;line-height:16px;letter-spacing:.25px}"]
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
ChipComponent.ctorParameters = () => [];
|
|
25
|
+
ChipComponent.propDecorators = {
|
|
26
|
+
label: [{ type: Input }],
|
|
27
|
+
value: [{ type: Input }],
|
|
28
|
+
size: [{ type: Input }],
|
|
29
|
+
iconUrl: [{ type: Input }],
|
|
30
|
+
count: [{ type: Input }],
|
|
31
|
+
dismissible: [{ type: Input }],
|
|
32
|
+
cancel: [{ type: Output }]
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
class ChipModule {
|
|
36
|
+
static forRoot() {
|
|
37
|
+
return { ngModule: ChipModule, providers: [] };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
ChipModule.decorators = [
|
|
41
|
+
{ type: NgModule, args: [{
|
|
42
|
+
declarations: [ChipComponent],
|
|
43
|
+
imports: [CommonModule],
|
|
44
|
+
exports: [ChipComponent]
|
|
45
|
+
},] }
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { ChipComponent, ChipModule };
|
|
53
|
+
//# sourceMappingURL=mis-crystal-design-system-chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-chip.js","sources":["../../../projects/mis-components/chip/chip.component.ts","../../../projects/mis-components/chip/chip.module.ts","../../../projects/mis-components/chip/mis-crystal-design-system-chip.ts"],"sourcesContent":["import {Component, Input, OnInit, Output, EventEmitter} from '@angular/core';\n\n@Component({\n selector: 'mis-chip',\n templateUrl: 'chip.component.html',\n styleUrls: ['chip.component.scss']\n})\nexport class ChipComponent implements OnInit{\n\n @Input() label: string = ''\n @Input() value: any = ''\n @Input() size: 'Small' | 'Medium' | 'Small-M' | 'Medium-M' = 'Medium'\n @Input() iconUrl: string | null = null\n @Input() count: number | null | undefined = null\n @Input() dismissible: boolean = false\n\n @Output() cancel = new EventEmitter<any>()\n constructor() {\n }\n ngOnInit() {\n }\n}\n","import { NgModule, ModuleWithProviders } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipComponent } from './chip.component';\n\n@NgModule({\n declarations: [ChipComponent],\n imports: [CommonModule],\n exports: [ChipComponent]\n})\nexport class ChipModule {\n static forRoot(): ModuleWithProviders<ChipModule> {\n return { ngModule: ChipModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,aAAa;IAUtB;QARS,UAAK,GAAW,EAAE,CAAA;QAClB,UAAK,GAAQ,EAAE,CAAA;QACf,SAAI,GAAgD,QAAQ,CAAA;QAC5D,YAAO,GAAkB,IAAI,CAAA;QAC7B,UAAK,GAA8B,IAAI,CAAA;QACvC,gBAAW,GAAY,KAAK,CAAA;QAE3B,WAAM,GAAG,IAAI,YAAY,EAAO,CAAA;KAEzC;IACD,QAAQ;KACP;;;YAlBJ,SAAS,SAAC;gBACP,QAAQ,EAAE,UAAU;gBACpB,o1CAAkC;;aAErC;;;;oBAGI,KAAK;oBACL,KAAK;mBACL,KAAK;sBACL,KAAK;oBACL,KAAK;0BACL,KAAK;qBAEL,MAAM;;;MCPE,UAAU;IACnB,OAAO,OAAO;QACV,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;KAClD;;;YARJ,QAAQ,SAAC;gBACN,YAAY,EAAE,CAAC,aAAa,CAAC;gBAC7B,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,aAAa,CAAC;aAC3B;;;ACRD;;;;;;"}
|
|
@@ -13507,4 +13507,4 @@ DatePickerModule.decorators = [
|
|
|
13507
13507
|
*/
|
|
13508
13508
|
|
|
13509
13509
|
export { BsLocaleService, DateFormatter, DatePickerComponent, DatePickerConfig, DatePickerInnerComponent, DatePickerModule, DayPickerComponent, MisDatePickerConfig, MisDatePickerContainerComponent, MisDatePickerDirective, MisDatePickerInlineConfig, MisDatePickerInlineContainerComponent, MisDatePickerInlineDirective, MisDatePickerInputDirective, MisDatePickerModule, MisDateRangePickerConfig, MisDateRangePickerContainerComponent, MisDateRangePickerDirective, MisDateRangePickerInlineConfig, MisDateRangePickerInlineContainerComponent, MisDateRangePickerInlineDirective, MisDateRangePickerInputDirective, MonthPickerComponent, TooltipConfig, TooltipContainerComponent, TooltipDirective, TooltipModule, YearPickerComponent, DATEPICKER_CONTROL_VALUE_ACCESSOR as ɵa, MisDatePickerAbstractComponent as ɵb, MisDatePickerStore as ɵc, MiniStore as ɵd, MisDatePickerEffects as ɵe, MisDatePickerActions as ɵf, datepickerAnimation as ɵg, PositioningService as ɵh, ComponentLoaderFactory as ɵi, TooltipModule as ɵj, BsCalendarLayoutComponent as ɵk, BsCurrentDateViewComponent as ɵl, BsCustomDatesViewComponent as ɵm, MisDatePickerDayDecoratorComponent as ɵn, MisDatePickerNavigationViewComponent as ɵo, MisDaysCalendarViewComponent as ɵp, BsMonthCalendarViewComponent as ɵq, BsTimepickerViewComponent as ɵr, BsYearsCalendarViewComponent as ɵs, OnChange as ɵt };
|
|
13510
|
-
//# sourceMappingURL=mis-crystal-design-system-
|
|
13510
|
+
//# sourceMappingURL=mis-crystal-design-system-datepicker.js.map
|