@natec/mef-dev-ui-kit 20.0.0-beta.1 → 20.0.1
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/fesm2022/natec-mef-dev-ui-kit.mjs +9541 -0
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -0
- package/index.d.ts +4418 -0
- package/index.d.ts.map +1 -0
- package/package.json +44 -48
- package/src/lib/styles/core.scss +51 -195
- package/src/lib/styles/pg/modules/_typography.scss +1 -8
- package/src/lib/styles/pg/vendor/ng-datatable.scss +7 -0
- package/src/lib/styles/vars.scss +8 -8
- package/documentation/classes/FiltredItemModel.html +0 -358
- package/documentation/classes/TabChangeEvent.html +0 -231
- package/documentation/components/CardComponent.html +0 -576
- package/documentation/components/CardLongComponent.html +0 -712
- package/documentation/components/CardSimpleComponent.html +0 -372
- package/documentation/components/CentralPageComponent.html +0 -312
- package/documentation/components/CentralPageRowComponent.html +0 -244
- package/documentation/components/CollapseComponent.html +0 -755
- package/documentation/components/CollapseSetComponent.html +0 -767
- package/documentation/components/DatepickerComponent.html +0 -1397
- package/documentation/components/FillComponent.html +0 -736
- package/documentation/components/FilteredFieldContainerComponent.html +0 -513
- package/documentation/components/FilteredFieldItemComponent.html +0 -451
- package/documentation/components/HelpBlockComponent.html +0 -398
- package/documentation/components/ManagePageComponent.html +0 -423
- package/documentation/components/MefDevOptionComponent.html +0 -689
- package/documentation/components/MefDevProgressComponent.html +0 -562
- package/documentation/components/MefDevSelectComponent.html +0 -4797
- package/documentation/components/MefDevSliderComponent.html +0 -686
- package/documentation/components/MefDevSpecFlowTestComponent.html +0 -474
- package/documentation/components/MefDevSwitchComponent.html +0 -1480
- package/documentation/components/MefDevTabBodyComponent.html +0 -271
- package/documentation/components/MefDevTabComponent.html +0 -681
- package/documentation/components/MefDevTabSetComponent.html +0 -1889
- package/documentation/components/MefDevTabsNavComponent.html +0 -2013
- package/documentation/components/MefdevExecutorPageComponent.html +0 -497
- package/documentation/components/ProfileComponent.html +0 -608
- package/documentation/components/RightFilterComponent.html +0 -423
- package/documentation/components/SlideRightComponent.html +0 -762
- package/documentation/components/SlideUpComponent.html +0 -692
- package/documentation/components/StepExecutorComponent.html +0 -1437
- package/documentation/components/TablePageComponent.html +0 -327
- package/documentation/dependencies.html +0 -135
- package/documentation/directives/MefDevTabLabelDirective.html +0 -532
- package/documentation/directives/MefDevTabsInkBarDirective.html +0 -865
- package/documentation/fonts/ionicons.eot +0 -0
- package/documentation/fonts/ionicons.svg +0 -2090
- package/documentation/fonts/ionicons.ttf +0 -0
- package/documentation/fonts/ionicons.woff +0 -0
- package/documentation/fonts/ionicons.woff2 +0 -0
- package/documentation/fonts/roboto-v15-latin-300.eot +0 -0
- package/documentation/fonts/roboto-v15-latin-300.svg +0 -314
- package/documentation/fonts/roboto-v15-latin-300.ttf +0 -0
- package/documentation/fonts/roboto-v15-latin-300.woff +0 -0
- package/documentation/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/documentation/fonts/roboto-v15-latin-700.eot +0 -0
- package/documentation/fonts/roboto-v15-latin-700.svg +0 -310
- package/documentation/fonts/roboto-v15-latin-700.ttf +0 -0
- package/documentation/fonts/roboto-v15-latin-700.woff +0 -0
- package/documentation/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/documentation/fonts/roboto-v15-latin-italic.eot +0 -0
- package/documentation/fonts/roboto-v15-latin-italic.svg +0 -323
- package/documentation/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/documentation/fonts/roboto-v15-latin-italic.woff +0 -0
- package/documentation/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/documentation/fonts/roboto-v15-latin-regular.eot +0 -0
- package/documentation/fonts/roboto-v15-latin-regular.svg +0 -308
- package/documentation/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/documentation/fonts/roboto-v15-latin-regular.woff +0 -0
- package/documentation/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/documentation/graph/dependencies.svg +0 -1160
- package/documentation/images/compodoc-vectorise-inverted.png +0 -0
- package/documentation/images/compodoc-vectorise-inverted.svg +0 -201
- package/documentation/images/compodoc-vectorise.png +0 -0
- package/documentation/images/compodoc-vectorise.svg +0 -201
- package/documentation/images/favicon.ico +0 -0
- package/documentation/index.html +0 -246
- package/documentation/injectables/FilteredFieldService.html +0 -420
- package/documentation/injectables/ProgressConfig.html +0 -236
- package/documentation/interfaces/AnimatedInterface.html +0 -246
- package/documentation/js/compodoc.js +0 -14
- package/documentation/js/lazy-load-graphs.js +0 -44
- package/documentation/js/libs/EventDispatcher.js +0 -5
- package/documentation/js/libs/bootstrap-native.js +0 -1
- package/documentation/js/libs/clipboard.min.js +0 -7
- package/documentation/js/libs/custom-elements-es5-adapter.js +0 -15
- package/documentation/js/libs/custom-elements.min.js +0 -38
- package/documentation/js/libs/d3.v3.min.js +0 -2
- package/documentation/js/libs/deep-iterator.js +0 -2
- package/documentation/js/libs/es6-shim.min.js +0 -11
- package/documentation/js/libs/htmlparser.js +0 -23
- package/documentation/js/libs/innersvg.js +0 -9
- package/documentation/js/libs/lit-html.js +0 -1
- package/documentation/js/libs/prism.js +0 -46
- package/documentation/js/libs/promise.min.js +0 -6
- package/documentation/js/libs/svg-pan-zoom.min.js +0 -3
- package/documentation/js/libs/tablesort.min.js +0 -6
- package/documentation/js/libs/tablesort.number.min.js +0 -6
- package/documentation/js/libs/vis.min.js +0 -47
- package/documentation/js/libs/zepto.min.js +0 -2
- package/documentation/js/menu-wc.js +0 -455
- package/documentation/js/menu-wc_es5.js +0 -42
- package/documentation/js/menu.js +0 -325
- package/documentation/js/routes.js +0 -301
- package/documentation/js/search/lunr.min.js +0 -6
- package/documentation/js/search/search-lunr.js +0 -67
- package/documentation/js/search/search.js +0 -268
- package/documentation/js/search/search_index.js +0 -4
- package/documentation/js/sourceCode.js +0 -58
- package/documentation/js/svg-pan-zoom.controls.js +0 -53
- package/documentation/js/tabs.js +0 -21
- package/documentation/js/tree.js +0 -147
- package/documentation/miscellaneous/enumerations.html +0 -223
- package/documentation/miscellaneous/functions.html +0 -251
- package/documentation/miscellaneous/typealiases.html +0 -257
- package/documentation/miscellaneous/variables.html +0 -357
- package/documentation/modules/MefDevCardModule/dependencies.svg +0 -142
- package/documentation/modules/MefDevCardModule.html +0 -349
- package/documentation/modules/MefDevCollapseModule/dependencies.svg +0 -90
- package/documentation/modules/MefDevCollapseModule.html +0 -316
- package/documentation/modules/MefDevDatepickerModule/dependencies.svg +0 -82
- package/documentation/modules/MefDevDatepickerModule.html +0 -274
- package/documentation/modules/MefDevFilteredFieldModule/dependencies.svg +0 -90
- package/documentation/modules/MefDevFilteredFieldModule.html +0 -278
- package/documentation/modules/MefDevHelpBlockModule/dependencies.svg +0 -82
- package/documentation/modules/MefDevHelpBlockModule.html +0 -274
- package/documentation/modules/MefDevModalModule/dependencies.svg +0 -154
- package/documentation/modules/MefDevModalModule.html +0 -364
- package/documentation/modules/MefDevPageLayoutsModule/dependencies.svg +0 -162
- package/documentation/modules/MefDevPageLayoutsModule.html +0 -368
- package/documentation/modules/MefDevProgressModule/dependencies.svg +0 -66
- package/documentation/modules/MefDevProgressModule.html +0 -286
- package/documentation/modules/MefDevSelectModule/dependencies.svg +0 -140
- package/documentation/modules/MefDevSelectModule.html +0 -334
- package/documentation/modules/MefDevSliderModule/dependencies.svg +0 -66
- package/documentation/modules/MefDevSliderModule.html +0 -248
- package/documentation/modules/MefDevSpecFlowTestModule/dependencies.svg +0 -66
- package/documentation/modules/MefDevSpecFlowTestModule.html +0 -286
- package/documentation/modules/MefDevStepExecutorModule/dependencies.svg +0 -106
- package/documentation/modules/MefDevStepExecutorModule.html +0 -304
- package/documentation/modules/MefDevSwitchModule/dependencies.svg +0 -88
- package/documentation/modules/MefDevSwitchModule.html +0 -270
- package/documentation/modules/MefDevTabsModule/dependencies.svg +0 -186
- package/documentation/modules/MefDevTabsModule.html +0 -398
- package/documentation/modules.html +0 -357
- package/documentation/overview.html +0 -1351
- package/documentation/pipes/OptionPipe.html +0 -238
- package/documentation/properties.html +0 -125
- package/documentation/styles/bootstrap-card.css +0 -219
- package/documentation/styles/bootstrap.min.css +0 -6
- package/documentation/styles/compodoc.css +0 -1121
- package/documentation/styles/dark.css +0 -121
- package/documentation/styles/ionicons.min.css +0 -11
- package/documentation/styles/laravel.css +0 -113
- package/documentation/styles/material.css +0 -131
- package/documentation/styles/original.css +0 -51
- package/documentation/styles/postmark.css +0 -238
- package/documentation/styles/prism.css +0 -301
- package/documentation/styles/readthedocs.css +0 -117
- package/documentation/styles/reset.css +0 -129
- package/documentation/styles/stripe.css +0 -106
- package/documentation/styles/style.css +0 -7
- package/documentation/styles/tablesort.css +0 -33
- package/documentation/styles/vagrant.css +0 -130
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -18
- package/src/lib/markup-kit/card/card/card.component.html +0 -44
- package/src/lib/markup-kit/card/card/card.component.scss +0 -65
- package/src/lib/markup-kit/card/card/card.component.ts +0 -109
- package/src/lib/markup-kit/card/card-long/card-long.component.html +0 -53
- package/src/lib/markup-kit/card/card-long/card-long.component.scss +0 -72
- package/src/lib/markup-kit/card/card-long/card-long.component.ts +0 -158
- package/src/lib/markup-kit/card/card-long/cart-type-colors.enum.ts +0 -5
- package/src/lib/markup-kit/card/card-simple/card-simple.component.html +0 -12
- package/src/lib/markup-kit/card/card-simple/card-simple.component.scss +0 -12
- package/src/lib/markup-kit/card/card-simple/card-simple.component.ts +0 -48
- package/src/lib/markup-kit/card/card.module.ts +0 -21
- package/src/lib/markup-kit/card/index.ts +0 -6
- package/src/lib/markup-kit/collapse/collapse/collapse.component.html +0 -17
- package/src/lib/markup-kit/collapse/collapse/collapse.component.scss +0 -17
- package/src/lib/markup-kit/collapse/collapse/collapse.component.ts +0 -131
- package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.html +0 -3
- package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.scss +0 -0
- package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.ts +0 -110
- package/src/lib/markup-kit/collapse/collapse.module.ts +0 -20
- package/src/lib/markup-kit/collapse/index.ts +0 -3
- package/src/lib/markup-kit/executors/index.ts +0 -4
- package/src/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.ts +0 -111
- package/src/lib/markup-kit/executors/stage/stage.component.html +0 -23
- package/src/lib/markup-kit/executors/stage/stage.component.scss +0 -9
- package/src/lib/markup-kit/executors/stage/stage.component.ts +0 -21
- package/src/lib/markup-kit/executors/step-executor/step-executor.component.html +0 -127
- package/src/lib/markup-kit/executors/step-executor/step-executor.component.scss +0 -225
- package/src/lib/markup-kit/executors/step-executor/step-executor.component.ts +0 -295
- package/src/lib/markup-kit/executors/step-executor.module.ts +0 -27
- package/src/lib/markup-kit/modals/fill/fill.component.html +0 -15
- package/src/lib/markup-kit/modals/fill/fill.component.scss +0 -42
- package/src/lib/markup-kit/modals/fill/fill.component.ts +0 -126
- package/src/lib/markup-kit/modals/index.ts +0 -6
- package/src/lib/markup-kit/modals/markup-kit.module.ts +0 -25
- package/src/lib/markup-kit/modals/modal-size.enum.ts +0 -5
- package/src/lib/markup-kit/modals/right-filter/right-filter.component.html +0 -11
- package/src/lib/markup-kit/modals/right-filter/right-filter.component.scss +0 -15
- package/src/lib/markup-kit/modals/right-filter/right-filter.component.ts +0 -49
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.html +0 -14
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.scss +0 -42
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.ts +0 -121
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.html +0 -15
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.scss +0 -47
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.ts +0 -105
- package/src/lib/markup-kit/page-layouts/central-page/central-page.component.html +0 -6
- package/src/lib/markup-kit/page-layouts/central-page/central-page.component.scss +0 -10
- package/src/lib/markup-kit/page-layouts/central-page/central-page.component.ts +0 -58
- package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.html +0 -3
- package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.scss +0 -5
- package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.ts +0 -30
- package/src/lib/markup-kit/page-layouts/index.ts +0 -6
- package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.html +0 -10
- package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.scss +0 -33
- package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.ts +0 -70
- package/src/lib/markup-kit/page-layouts/page-layouts.module.ts +0 -26
- package/src/lib/markup-kit/page-layouts/profile/profile.component.html +0 -31
- package/src/lib/markup-kit/page-layouts/profile/profile.component.scss +0 -99
- package/src/lib/markup-kit/page-layouts/profile/profile.component.ts +0 -129
- package/src/lib/markup-kit/page-layouts/table-page/table-page.component.html +0 -9
- package/src/lib/markup-kit/page-layouts/table-page/table-page.component.scss +0 -0
- package/src/lib/markup-kit/page-layouts/table-page/table-page.component.ts +0 -42
- package/src/lib/markup-kit/slider/index.ts +0 -2
- package/src/lib/markup-kit/slider/slider/slider.component.html +0 -11
- package/src/lib/markup-kit/slider/slider/slider.component.scss +0 -106
- package/src/lib/markup-kit/slider/slider/slider.component.ts +0 -124
- package/src/lib/markup-kit/slider/slider.module.ts +0 -20
- package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.html +0 -87
- package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.scss +0 -132
- package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.ts +0 -643
- package/src/lib/markup-kit/utils/datepicker/datepicker.module.ts +0 -15
- package/src/lib/markup-kit/utils/datepicker/index.ts +0 -2
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.html +0 -3
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.scss +0 -4
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.ts +0 -79
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.html +0 -4
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.scss +0 -12
- package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.ts +0 -75
- package/src/lib/markup-kit/utils/filtered-field/filtered-field.module.ts +0 -19
- package/src/lib/markup-kit/utils/filtered-field/filtered-field.service.ts +0 -44
- package/src/lib/markup-kit/utils/filtered-field/filtred-item.model.ts +0 -15
- package/src/lib/markup-kit/utils/filtered-field/index.ts +0 -5
- package/src/lib/markup-kit/utils/help-block/help-block.component.html +0 -19
- package/src/lib/markup-kit/utils/help-block/help-block.component.scss +0 -22
- package/src/lib/markup-kit/utils/help-block/help-block.component.ts +0 -70
- package/src/lib/markup-kit/utils/help-block/hepl-block.module.ts +0 -14
- package/src/lib/markup-kit/utils/help-block/index.ts +0 -2
- package/src/lib/pg-components/card/card.components.html +0 -66
- package/src/lib/pg-components/card/card.components.ts +0 -451
- package/src/lib/pg-components/card/card.module.ts +0 -17
- package/src/lib/pg-components/card/index.ts +0 -2
- package/src/lib/pg-components/progress/index.ts +0 -3
- package/src/lib/pg-components/progress/progress.component.html +0 -28
- package/src/lib/pg-components/progress/progress.component.ts +0 -73
- package/src/lib/pg-components/progress/progress.config.ts +0 -7
- package/src/lib/pg-components/progress/progress.module.ts +0 -16
- package/src/lib/pg-components/select/index.ts +0 -4
- package/src/lib/pg-components/select/option.component.html +0 -1
- package/src/lib/pg-components/select/option.component.ts +0 -105
- package/src/lib/pg-components/select/option.pipe.ts +0 -44
- package/src/lib/pg-components/select/select.component.html +0 -83
- package/src/lib/pg-components/select/select.component.ts +0 -814
- package/src/lib/pg-components/select/select.module.ts +0 -14
- package/src/lib/pg-components/spec-flow-test/index.ts +0 -2
- package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.html +0 -6
- package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.scss +0 -0
- package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.ts +0 -37
- package/src/lib/pg-components/spec-flow-test/spec-flow-test.module.ts +0 -18
- package/src/lib/pg-components/switch/index.ts +0 -2
- package/src/lib/pg-components/switch/switch.component.html +0 -10
- package/src/lib/pg-components/switch/switch.component.ts +0 -286
- package/src/lib/pg-components/switch/switch.module.ts +0 -11
- package/src/lib/pg-components/tabs/index.ts +0 -7
- package/src/lib/pg-components/tabs/tab-body.component.html +0 -1
- package/src/lib/pg-components/tabs/tab-body.component.ts +0 -17
- package/src/lib/pg-components/tabs/tab-label.directive.ts +0 -41
- package/src/lib/pg-components/tabs/tab.component.html +0 -3
- package/src/lib/pg-components/tabs/tab.component.ts +0 -109
- package/src/lib/pg-components/tabs/tabs-ink-bar.directive.ts +0 -78
- package/src/lib/pg-components/tabs/tabs-nav.component.html +0 -20
- package/src/lib/pg-components/tabs/tabs-nav.component.ts +0 -324
- package/src/lib/pg-components/tabs/tabs.module.ts +0 -15
- package/src/lib/pg-components/tabs/tabset.component.html +0 -39
- package/src/lib/pg-components/tabs/tabset.component.ts +0 -270
- package/src/lib/pg-components/util/convert.ts +0 -3
- package/src/lib/pg-components/util/request-animation.ts +0 -31
- package/src/lib/v2/autocomplete/autocomplete-origin.ts +0 -12
- package/src/lib/v2/autocomplete/autocomplete.html +0 -17
- package/src/lib/v2/autocomplete/autocomplete.module.ts +0 -28
- package/src/lib/v2/autocomplete/autocomplete.scss +0 -62
- package/src/lib/v2/autocomplete/autocomplete.trigger.ts +0 -759
- package/src/lib/v2/autocomplete/autocomplete.ts +0 -201
- package/src/lib/v2/autocomplete/index.ts +0 -1
- package/src/lib/v2/card/card-header.html +0 -9
- package/src/lib/v2/card/card-title-group.html +0 -15
- package/src/lib/v2/card/card.html +0 -1
- package/src/lib/v2/card/card.module.ts +0 -40
- package/src/lib/v2/card/card.scss +0 -185
- package/src/lib/v2/card/card.ts +0 -274
- package/src/lib/v2/card/index.ts +0 -2
- package/src/lib/v2/checkbox/checkbox.html +0 -38
- package/src/lib/v2/checkbox/checkbox.module.ts +0 -8
- package/src/lib/v2/checkbox/checkbox.scss +0 -318
- package/src/lib/v2/checkbox/checkbox.ts +0 -507
- package/src/lib/v2/checkbox/index.ts +0 -1
- package/src/lib/v2/chips/chip-action.ts +0 -102
- package/src/lib/v2/chips/chip-edit-input.ts +0 -44
- package/src/lib/v2/chips/chip-grid.ts +0 -412
- package/src/lib/v2/chips/chip-icons.ts +0 -91
- package/src/lib/v2/chips/chip-input.ts +0 -208
- package/src/lib/v2/chips/chip-listbox.ts +0 -291
- package/src/lib/v2/chips/chip-option.html +0 -37
- package/src/lib/v2/chips/chip-option.ts +0 -163
- package/src/lib/v2/chips/chip-row.html +0 -42
- package/src/lib/v2/chips/chip-row.ts +0 -191
- package/src/lib/v2/chips/chip-set.scss +0 -86
- package/src/lib/v2/chips/chip-set.ts +0 -261
- package/src/lib/v2/chips/chip-text-control.ts +0 -15
- package/src/lib/v2/chips/chip.html +0 -21
- package/src/lib/v2/chips/chip.scss +0 -646
- package/src/lib/v2/chips/chip.ts +0 -281
- package/src/lib/v2/chips/chips-module.ts +0 -44
- package/src/lib/v2/chips/index.ts +0 -12
- package/src/lib/v2/chips/tokens.ts +0 -29
- package/src/lib/v2/collapse/accordion-base.ts +0 -20
- package/src/lib/v2/collapse/accordion.ts +0 -92
- package/src/lib/v2/collapse/collapse.module.ts +0 -22
- package/src/lib/v2/collapse/expansion-panel-base.ts +0 -10
- package/src/lib/v2/collapse/expansion-panel-content.ts +0 -12
- package/src/lib/v2/collapse/expansion-panel-header.html +0 -17
- package/src/lib/v2/collapse/expansion-panel-header.scss +0 -165
- package/src/lib/v2/collapse/expansion-panel-header.ts +0 -237
- package/src/lib/v2/collapse/expansion-panel.html +0 -14
- package/src/lib/v2/collapse/expansion-panel.scss +0 -113
- package/src/lib/v2/collapse/expansion-panel.ts +0 -279
- package/src/lib/v2/collapse/index.ts +0 -7
- package/src/lib/v2/executors/index.ts +0 -10
- package/src/lib/v2/executors/step-content.ts +0 -19
- package/src/lib/v2/executors/step-footer.ts +0 -7
- package/src/lib/v2/executors/step-header.html +0 -59
- package/src/lib/v2/executors/step-header.scss +0 -205
- package/src/lib/v2/executors/step-header.ts +0 -151
- package/src/lib/v2/executors/step-label.ts +0 -16
- package/src/lib/v2/executors/step.html +0 -4
- package/src/lib/v2/executors/stepper-button.ts +0 -40
- package/src/lib/v2/executors/stepper-icon.ts +0 -42
- package/src/lib/v2/executors/stepper-intl.ts +0 -46
- package/src/lib/v2/executors/stepper-module.ts +0 -42
- package/src/lib/v2/executors/stepper.html +0 -90
- package/src/lib/v2/executors/stepper.scss +0 -299
- package/src/lib/v2/executors/stepper.ts +0 -360
- package/src/lib/v2/modals/dialog-config.ts +0 -56
- package/src/lib/v2/modals/dialog-container.html +0 -5
- package/src/lib/v2/modals/dialog-container.ts +0 -243
- package/src/lib/v2/modals/dialog-content-directives.ts +0 -217
- package/src/lib/v2/modals/dialog-ref.ts +0 -242
- package/src/lib/v2/modals/dialog.scss +0 -307
- package/src/lib/v2/modals/dialog.ts +0 -239
- package/src/lib/v2/modals/index.ts +0 -11
- package/src/lib/v2/modals/modal-module.ts +0 -23
- package/src/lib/v2/radio-button/public-api.ts +0 -2
- package/src/lib/v2/radio-button/radio.html +0 -25
- package/src/lib/v2/radio-button/radio.module.ts +0 -8
- package/src/lib/v2/radio-button/radio.scss +0 -298
- package/src/lib/v2/radio-button/radio.ts +0 -640
- package/src/lib/v2/select/index.ts +0 -5
- package/src/lib/v2/select/option-group.html +0 -9
- package/src/lib/v2/select/option-group.scss +0 -33
- package/src/lib/v2/select/option-group.ts +0 -66
- package/src/lib/v2/select/option-module.ts +0 -11
- package/src/lib/v2/select/option.html +0 -22
- package/src/lib/v2/select/option.scss +0 -59
- package/src/lib/v2/select/option.ts +0 -288
- package/src/lib/v2/select/pseudo-checkbox-module.ts +0 -9
- package/src/lib/v2/select/pseudo-checkbox.scss +0 -121
- package/src/lib/v2/select/pseudo-checkbox.ts +0 -60
- package/src/lib/v2/select/select.html +0 -56
- package/src/lib/v2/select/select.module.ts +0 -14
- package/src/lib/v2/select/select.scss +0 -118
- package/src/lib/v2/select/select.ts +0 -824
- package/src/lib/v2/switch/base-editor-helper.ts +0 -148
- package/src/lib/v2/switch/index.ts +0 -2
- package/src/lib/v2/switch/switch.component.html +0 -15
- package/src/lib/v2/switch/switch.component.scss +0 -93
- package/src/lib/v2/switch/switch.component.ts +0 -203
- package/src/lib/v2/switch/switch.module.ts +0 -10
- package/src/lib/v2/tabs/config.ts +0 -94
- package/src/lib/v2/tabs/index.ts +0 -28
- package/src/lib/v2/tabs/ink-bar.ts +0 -226
- package/src/lib/v2/tabs/paginated-tab-header.ts +0 -536
- package/src/lib/v2/tabs/tab-body.html +0 -9
- package/src/lib/v2/tabs/tab-body.scss +0 -60
- package/src/lib/v2/tabs/tab-body.ts +0 -310
- package/src/lib/v2/tabs/tab-content.ts +0 -12
- package/src/lib/v2/tabs/tab-group.html +0 -74
- package/src/lib/v2/tabs/tab-group.scss +0 -362
- package/src/lib/v2/tabs/tab-group.ts +0 -491
- package/src/lib/v2/tabs/tab-header.html +0 -35
- package/src/lib/v2/tabs/tab-header.scss +0 -127
- package/src/lib/v2/tabs/tab-header.ts +0 -91
- package/src/lib/v2/tabs/tab-label-wrapper.ts +0 -49
- package/src/lib/v2/tabs/tab-label.ts +0 -34
- package/src/lib/v2/tabs/tab.html +0 -1
- package/src/lib/v2/tabs/tab.ts +0 -155
- package/src/lib/v2/tabs/tabs.module.ts +0 -12
- package/src/public-api.ts +0 -33
- package/tsconfig.doc.json +0 -4
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A component representing a user profile.
|
|
6
|
-
*
|
|
7
|
-
* Example of usage:
|
|
8
|
-
*
|
|
9
|
-
* ```
|
|
10
|
-
* <mefdev-profile
|
|
11
|
-
* [name]="'John Doe'"
|
|
12
|
-
* [img]="'assets/profile.png'"
|
|
13
|
-
* [shortDescription]="'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'"
|
|
14
|
-
* [header]="'User Profile'"
|
|
15
|
-
* [circleImg]="'true'">
|
|
16
|
-
* <ng-template #first_colum>
|
|
17
|
-
* <!-- Content for the first column -->
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* <ng-template #second_colum>
|
|
20
|
-
* <!-- Content for the second column -->
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* <ng-template #footer>
|
|
23
|
-
* <!-- Content for the footer -->
|
|
24
|
-
* </ng-template>
|
|
25
|
-
* </mefdev-profile>
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_layouts/profile</example-url>
|
|
29
|
-
*/
|
|
30
|
-
@Component({
|
|
31
|
-
selector: 'mefdev-profile',
|
|
32
|
-
templateUrl: './profile.component.html',
|
|
33
|
-
styleUrls: ['./profile.component.scss'],
|
|
34
|
-
standalone: false
|
|
35
|
-
})
|
|
36
|
-
export class ProfileComponent implements OnInit {
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* The template reference to the content of the first column.
|
|
40
|
-
*```
|
|
41
|
-
* <ng-template #first_colum>
|
|
42
|
-
* <!-- Content for the first column -->
|
|
43
|
-
* </ng-template>
|
|
44
|
-
*```
|
|
45
|
-
*/
|
|
46
|
-
@ContentChild("first_colum") first_colum: TemplateRef<void>;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* The template reference to the content of the second column.
|
|
50
|
-
*```
|
|
51
|
-
* <ng-template #second_colum>
|
|
52
|
-
* <!-- Content for the second column -->
|
|
53
|
-
* </ng-template>
|
|
54
|
-
*```
|
|
55
|
-
*/
|
|
56
|
-
@ContentChild("second_colum") second_colum: TemplateRef<void>;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* The template reference to the content of the footer.
|
|
60
|
-
*```
|
|
61
|
-
* <ng-template #footer>
|
|
62
|
-
* <!-- Content for the footer -->
|
|
63
|
-
* </ng-template>
|
|
64
|
-
*```
|
|
65
|
-
*/
|
|
66
|
-
@ContentChild("footer") footer: TemplateRef<void>;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The name of the user.
|
|
70
|
-
* ```
|
|
71
|
-
* <mefdev-profile [name]="'John Doe'"></mefdev-profile>
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
@Input() name:string;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The URL of the user's profile image.
|
|
78
|
-
* ```
|
|
79
|
-
* <mefdev-profile [img]="'assets/profile.png'"></mefdev-profile>
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
|
-
@Input() img: string = '';
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* A short description of the user.
|
|
86
|
-
* ```
|
|
87
|
-
* <mefdev-profile [shortDescription]="'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'"></mefdev-profile>
|
|
88
|
-
* ```
|
|
89
|
-
*/
|
|
90
|
-
@Input() shortDescription: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* The header title of the profile component.
|
|
94
|
-
* ```
|
|
95
|
-
* <mefdev-profile [header]="'User Profile'"></mefdev-profile>
|
|
96
|
-
* ```
|
|
97
|
-
*/
|
|
98
|
-
@Input() header: string;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* A flag indicating whether to display the profile image as a circle. Default "false".
|
|
102
|
-
* ```
|
|
103
|
-
* <mefdev-profile [circleImg]="'true'"></mefdev-profile>
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
@Input() circleImg: boolean = false;
|
|
107
|
-
|
|
108
|
-
constructor() { }
|
|
109
|
-
|
|
110
|
-
ngOnInit(): void {
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
get sizeStyle(){
|
|
114
|
-
// return { 'width.px': this.width, 'height.px': this.height };
|
|
115
|
-
/**
|
|
116
|
-
* Returns the CSS style for the profile image size and shape.
|
|
117
|
-
*/
|
|
118
|
-
if(!this.circleImg){
|
|
119
|
-
return {};
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return {
|
|
123
|
-
'border-top-left-radius': `50%`,
|
|
124
|
-
'border-top-right-radius': `50%`,
|
|
125
|
-
'border-bottom-right-radius': `50%`,
|
|
126
|
-
'border-bottom-left-radius': `50%`,
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
}
|
|
File without changes
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChild, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A component representing a table page layout.
|
|
6
|
-
*
|
|
7
|
-
* Example of usage:
|
|
8
|
-
*
|
|
9
|
-
* ```
|
|
10
|
-
* <mefdev-table-page>
|
|
11
|
-
* <ng-template #filter_colum>
|
|
12
|
-
* <!-- Content for the filter column -->
|
|
13
|
-
* </ng-template>
|
|
14
|
-
* </mefdev-table-page>
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_layouts/table_page</example-url>
|
|
18
|
-
*/
|
|
19
|
-
@Component({
|
|
20
|
-
selector: 'mefdev-table-page',
|
|
21
|
-
templateUrl: './table-page.component.html',
|
|
22
|
-
styleUrls: ['./table-page.component.scss'],
|
|
23
|
-
standalone: false
|
|
24
|
-
})
|
|
25
|
-
export class TablePageComponent implements OnInit {
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* The template reference to the content of the filter column.
|
|
29
|
-
* ```
|
|
30
|
-
* <ng-template #filter_colum>
|
|
31
|
-
* <!-- Content for the filter column -->
|
|
32
|
-
* </ng-template>
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
@ContentChild("filter_colum") filter_colum: TemplateRef<void>;
|
|
36
|
-
|
|
37
|
-
constructor() { }
|
|
38
|
-
|
|
39
|
-
ngOnInit(): void {
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div class="range_container row">
|
|
2
|
-
<div class="inputs_control ">
|
|
3
|
-
<input class="form_control_container__time__input h3" [(ngModel)]="minValue" [disabled]="disabled" (ngModelChange)="onMinValueChange()">
|
|
4
|
-
<input class="form_control_container__time__input h3" [(ngModel)]="maxValue" [disabled]="disabled" (ngModelChange)="onMaxValueChange()">
|
|
5
|
-
</div>
|
|
6
|
-
<div class="sliders_control">
|
|
7
|
-
<input id="fromSlider" type="range" [(ngModel)]="minValue" [min]="range.min" [max]="range.max" (ngModelChange)="onValueChange()">
|
|
8
|
-
<input id="toSlider" type="range" [(ngModel)]="maxValue" [min]="range.min" [max]="range.max" (ngModelChange)="onValueChange()"
|
|
9
|
-
[style]="{'--minValue': minValue, '--maxValue': maxValue, '--minFromValue': range.min, '--maxToValue': range.max}">
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/vars.scss' as c;
|
|
2
|
-
|
|
3
|
-
.sliders_control {
|
|
4
|
-
position: relative;
|
|
5
|
-
min-height: 50px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.inputs_control {
|
|
9
|
-
position: relative;
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
font-size: 24px;
|
|
13
|
-
color: #635a5a;
|
|
14
|
-
|
|
15
|
-
.form_control_container__time__input{
|
|
16
|
-
width: 80px;
|
|
17
|
-
height: 28px;
|
|
18
|
-
border-radius: 5px;
|
|
19
|
-
border: none;
|
|
20
|
-
background: #FFF;
|
|
21
|
-
text-align: center;
|
|
22
|
-
box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.10);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
/* Для WebKit (Chrome, Safari) */
|
|
26
|
-
// Лівий слайдер
|
|
27
|
-
#fromSlider::-webkit-slider-thumb {
|
|
28
|
-
-webkit-appearance: none;
|
|
29
|
-
pointer-events: all;
|
|
30
|
-
width: 16px;
|
|
31
|
-
height: 16px;
|
|
32
|
-
background-color: c.$Red;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
margin-top: 13px;
|
|
36
|
-
}
|
|
37
|
-
// Правий слайдер
|
|
38
|
-
#toSlider::-webkit-slider-thumb{
|
|
39
|
-
-webkit-appearance: none;
|
|
40
|
-
pointer-events: all;
|
|
41
|
-
width: 16px;
|
|
42
|
-
height: 16px;
|
|
43
|
-
background-color: c.$Red;
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
margin-top: -7px;
|
|
47
|
-
}
|
|
48
|
-
/* Для Mozilla Firefox */
|
|
49
|
-
input[type=range]::-moz-range-thumb {
|
|
50
|
-
pointer-events: all;
|
|
51
|
-
width: 16px;
|
|
52
|
-
height: 16px;
|
|
53
|
-
background-color: c.$Red;
|
|
54
|
-
border-radius: 50%;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
}
|
|
57
|
-
/* Для WebKit (Chrome, Safari) */
|
|
58
|
-
input[type=range]::-webkit-slider-runnable-track {
|
|
59
|
-
background: linear-gradient(to right, c.$Light-Gray-1 0%, c.$Light-Gray-1 calc(((var(--minValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), transparent calc(((var(--minValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), transparent calc(((var(--maxValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), c.$Light-Gray-1 calc(((var(--maxValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), c.$Light-Gray-1 100%);
|
|
60
|
-
height: 3px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* Для Mozilla Firefox */
|
|
64
|
-
input[type=range]::-moz-range-track {
|
|
65
|
-
background: linear-gradient(to right, c.$Light-Gray-1 0%, c.$Light-Gray-1 calc(((var(--minValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), transparent calc(((var(--minValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), transparent calc(((var(--maxValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), c.$Light-Gray-1 calc(((var(--maxValue) - var(--minFromValue)) / (var(--maxToValue) - var(--minFromValue))) * 100%), c.$Light-Gray-1 100%);
|
|
66
|
-
height: 3px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
input[type=range]::-webkit-slider-thumb:active {
|
|
70
|
-
box-shadow: inset 0 0 3px c.$Red, 0 0 9px c.$Red;
|
|
71
|
-
-webkit-box-shadow: inset 0 0 3px c.$Red, 0 0 9px c.$Red;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
input[type=number] {
|
|
75
|
-
color: red;
|
|
76
|
-
width: 50px;
|
|
77
|
-
height: 30px;
|
|
78
|
-
font-size: 20px;
|
|
79
|
-
border: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
input[type=number]::-webkit-inner-spin-button,
|
|
83
|
-
input[type=number]::-webkit-outer-spin-button {
|
|
84
|
-
opacity: 0.2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
input[type="range"] {
|
|
88
|
-
-webkit-appearance: none;
|
|
89
|
-
appearance: none;
|
|
90
|
-
height: 3px;
|
|
91
|
-
width: 100%;
|
|
92
|
-
position: relative;
|
|
93
|
-
background-color: c.$Red;
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* Зробимо сіру риску коротше, щоб вона не виходила на червоний слайдер зверху */
|
|
98
|
-
input[type=range]::-moz-range-progress {
|
|
99
|
-
background-color: transparent;
|
|
100
|
-
height: 3px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
#fromSlider {
|
|
104
|
-
height: 0;
|
|
105
|
-
z-index: 9999;
|
|
106
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Component for a slider that allows selecting a range of values.
|
|
5
|
-
* @example
|
|
6
|
-
* <mefdev-slider
|
|
7
|
-
* [disabled]="false"
|
|
8
|
-
* [range] = "{min: 1, max: 10000}"
|
|
9
|
-
* [id]= "'slider1'"
|
|
10
|
-
* (valueChange)="onChildValueChange($event)"
|
|
11
|
-
* ></mefdev-slider>
|
|
12
|
-
*
|
|
13
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/controls/slider</example-url>
|
|
14
|
-
*/
|
|
15
|
-
@Component({
|
|
16
|
-
selector: 'mefdev-slider',
|
|
17
|
-
templateUrl: './slider.component.html',
|
|
18
|
-
styleUrls: ['./slider.component.scss'],
|
|
19
|
-
standalone: false
|
|
20
|
-
})
|
|
21
|
-
export class MefDevSliderComponent {
|
|
22
|
-
|
|
23
|
-
private _range = { min: 1, max: 1000 };
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Unique id for each slider. Use it, if u need more than one slider independent from another on the same page.
|
|
27
|
-
* @example
|
|
28
|
-
* <mefdev-slider
|
|
29
|
-
* [id]= "'slider1'"
|
|
30
|
-
* ></mefdev-slider>
|
|
31
|
-
*/
|
|
32
|
-
@Input() id: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Input Object {min, max} container of the slider
|
|
37
|
-
* @example
|
|
38
|
-
* @interval
|
|
39
|
-
* <mefdev-slider
|
|
40
|
-
* [range] = "{min: 1, max: 10000}"
|
|
41
|
-
* ></mefdev-slider>
|
|
42
|
-
*/
|
|
43
|
-
@Input('range')
|
|
44
|
-
|
|
45
|
-
set range(range: { min: number, max: number }) {
|
|
46
|
-
this._range = range;
|
|
47
|
-
this.minValue = range.min;
|
|
48
|
-
this.maxValue = range.max;
|
|
49
|
-
}
|
|
50
|
-
public get range(): { min: number, max: number } {
|
|
51
|
-
return this._range;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* The minimum value of the slider.
|
|
56
|
-
*/
|
|
57
|
-
minValue:number = this.range.min
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* The maximum value of the slider.
|
|
61
|
-
*/
|
|
62
|
-
maxValue:number = this.range.max
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Property indicating whether the component is disabled.
|
|
68
|
-
* @example
|
|
69
|
-
* <mefdev-slider
|
|
70
|
-
* [disabled]="true"
|
|
71
|
-
* ></mefdev-slider>
|
|
72
|
-
*/
|
|
73
|
-
@Input() disabled : boolean= false;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Event emitted when the values of the slider change.
|
|
77
|
-
* It passes an object with `minValue` and `maxValue` properties.
|
|
78
|
-
* @event MefDevSliderComponent#valueChange
|
|
79
|
-
* @type {EventEmitter<{ minValue: number; maxValue: number }>}
|
|
80
|
-
* @example
|
|
81
|
-
* <mefdev-slider
|
|
82
|
-
* (valueChange)="onChildValueChange($event)"
|
|
83
|
-
* ></mefdev-slider>
|
|
84
|
-
*/
|
|
85
|
-
@Output() valueChange: EventEmitter<{ minValue: number; maxValue: number }> = new EventEmitter();
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Method called when the values of the slider change.
|
|
89
|
-
* Emits the `valueChange` event and calls methods to handle changes in the minimum and maximum values.
|
|
90
|
-
* @fires MefDevSliderComponent#valueChange
|
|
91
|
-
*/
|
|
92
|
-
onValueChange() {
|
|
93
|
-
this.valueChange.emit({ minValue: this.minValue, maxValue: this.maxValue });
|
|
94
|
-
this.minValue = this.minValue
|
|
95
|
-
this.onMinValueChange()
|
|
96
|
-
this.onMaxValueChange()
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Method to handle changes in the minimum value.
|
|
101
|
-
* Converts a string to a number and removes all non-numeric characters.
|
|
102
|
-
* Then, emits the `valueChange` event and updates the value of the "fromSlider" slider.
|
|
103
|
-
* @fires MefDevSliderComponent#valueChange
|
|
104
|
-
*/
|
|
105
|
-
onMinValueChange() {
|
|
106
|
-
const numericValue = parseFloat(this.minValue.toString().replace(/[^\d.]/g, ''));
|
|
107
|
-
this.minValue = isNaN(numericValue) ? 0 : numericValue;
|
|
108
|
-
this.valueChange.emit({ minValue: this.minValue, maxValue: this.maxValue });
|
|
109
|
-
const fromSlider = document.getElementById(`fromSlider-${this.id}`) as HTMLInputElement;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Method to handle changes in the maximum value.
|
|
114
|
-
* Converts a string to a number and removes all non-numeric characters.
|
|
115
|
-
* Then, emits the `valueChange` event and updates the value of the "toSlider" slider.
|
|
116
|
-
* @fires MefDevSliderComponent#valueChange
|
|
117
|
-
*/
|
|
118
|
-
onMaxValueChange() {
|
|
119
|
-
const numericValue = parseFloat(this.maxValue.toString().replace(/[^\d.]/g, ''));
|
|
120
|
-
this.maxValue = isNaN(numericValue) ? 0 : numericValue; // Перевірка на NaN і присвоєння 0, якщо не вдалося конвертувати в число
|
|
121
|
-
this.valueChange.emit({ minValue: this.minValue, maxValue: this.maxValue });
|
|
122
|
-
const toSlider = document.getElementById(`toSlider-${this.id}`) as HTMLInputElement;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MefDevSliderComponent } from './slider/slider.component';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
declarations: [
|
|
10
|
-
MefDevSliderComponent
|
|
11
|
-
],
|
|
12
|
-
exports: [
|
|
13
|
-
MefDevSliderComponent
|
|
14
|
-
],
|
|
15
|
-
imports: [
|
|
16
|
-
CommonModule,
|
|
17
|
-
FormsModule,
|
|
18
|
-
]
|
|
19
|
-
})
|
|
20
|
-
export class MefDevSliderModule { }
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
<div class="datepicker-container" [class.disabled]="disabled">
|
|
2
|
-
|
|
3
|
-
<!-- Input, save & edit buttons -->
|
|
4
|
-
<div class="input-container form-group">
|
|
5
|
-
<label *ngIf="labelContentText" class="form-label"> {{ labelContentText }} </label>
|
|
6
|
-
<input
|
|
7
|
-
[ngClass]="{ 'calendarNotOpened': !isCalendarOpen }"
|
|
8
|
-
[ngStyle]="{ 'border-color': isUserDateValid ? '' : 'red' }"
|
|
9
|
-
type="text"
|
|
10
|
-
class="form-control"
|
|
11
|
-
(input)="onDateInput($event)"
|
|
12
|
-
(click)="isCalendarOpen = true"
|
|
13
|
-
[value]="formattedDate"
|
|
14
|
-
[readOnly]="!isCalendarOpen"
|
|
15
|
-
>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<!-- Calendar(Dropdowns, dates) -->
|
|
19
|
-
<div *ngIf="isCalendarOpen" class="calendar" #calendarContainer
|
|
20
|
-
[style.top]="topOffset"
|
|
21
|
-
[style.left]="leftOffset">
|
|
22
|
-
<div class="calendar-header">
|
|
23
|
-
<div class="monthButtonContainer">
|
|
24
|
-
<!-- Month dropdown -->
|
|
25
|
-
<ng-container *ngIf="isMonthDropdownOpen; else monthLabel">
|
|
26
|
-
<mefdev-select
|
|
27
|
-
class="monthDropdown"
|
|
28
|
-
[(ngModel)]="selectedDateMonth"
|
|
29
|
-
(ngModelChange)="onMonthChange()"
|
|
30
|
-
[PlaceHolder]="'month'"
|
|
31
|
-
>
|
|
32
|
-
<mefdev-option
|
|
33
|
-
*ngFor="let month of months; let i = index"
|
|
34
|
-
[Value]="i"
|
|
35
|
-
[Label]="month"
|
|
36
|
-
style="z-index: 1"
|
|
37
|
-
>{{ month }}</mefdev-option>
|
|
38
|
-
</mefdev-select>
|
|
39
|
-
</ng-container>
|
|
40
|
-
<ng-template #monthLabel>
|
|
41
|
-
<span (click)="toggleMonthDropdown($event)"></span>
|
|
42
|
-
</ng-template>
|
|
43
|
-
|
|
44
|
-
<!-- Year dropdown -->
|
|
45
|
-
<ng-container *ngIf="isYearDropdownOpen; else yearLabel">
|
|
46
|
-
<mefdev-select
|
|
47
|
-
class="yearDropdown"
|
|
48
|
-
[(ngModel)]="selectedDateYear"
|
|
49
|
-
(ngModelChange)="onYearChange()"
|
|
50
|
-
[PlaceHolder]="'year'"
|
|
51
|
-
>
|
|
52
|
-
<mefdev-option
|
|
53
|
-
*ngFor="let year of years"
|
|
54
|
-
[Label]="year"
|
|
55
|
-
[Value]="year"
|
|
56
|
-
>{{year}}</mefdev-option>
|
|
57
|
-
</mefdev-select>
|
|
58
|
-
</ng-container>
|
|
59
|
-
<ng-template #yearLabel>
|
|
60
|
-
<span (click)="toggleYearDropdown($event)">{{ selectedDateYear }}</span>
|
|
61
|
-
</ng-template>
|
|
62
|
-
</div>
|
|
63
|
-
<!-- Calendar exit button -->
|
|
64
|
-
<div>
|
|
65
|
-
<i class="fa fa-times toggleCalendarButton" (click)="isCalendarOpen = false" aria-hidden="true"></i>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
<div class="calendar-body">
|
|
70
|
-
<table>
|
|
71
|
-
<tr>
|
|
72
|
-
<th class="text-center" *ngFor="let weekday of weekdays">{{ weekday }}</th>
|
|
73
|
-
</tr>
|
|
74
|
-
<tr *ngFor="let week of calendarDays">
|
|
75
|
-
<td *ngFor="let dayData of week"
|
|
76
|
-
(click)="selectDate(dayData.date)"
|
|
77
|
-
[ngClass]="{ 'selected': isDateSelected(dayData.date), 'prev-month': !dayData.isCurrentMonth }">
|
|
78
|
-
|
|
79
|
-
<span class="date" [class.prev-month]="!dayData.isCurrentMonth">
|
|
80
|
-
{{ dayData.date.getDate() }}
|
|
81
|
-
</span>
|
|
82
|
-
</td>
|
|
83
|
-
</tr>
|
|
84
|
-
</table>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
@use './../../../../styles/vars.scss' as c;
|
|
2
|
-
|
|
3
|
-
.datepicker-container {
|
|
4
|
-
position: relative;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
|
|
7
|
-
&.disabled {
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
opacity: 0.8;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.input-container {
|
|
14
|
-
position: relative;
|
|
15
|
-
display: inline-block;
|
|
16
|
-
|
|
17
|
-
input[type="text"] {
|
|
18
|
-
padding: 5px 5px 5px 15px;
|
|
19
|
-
border: 1px solid c.$Light-Gray-1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.calendarNotOpened {
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.calendar {
|
|
28
|
-
position: absolute;
|
|
29
|
-
border: 1px solid c.$Light-Gray-1;
|
|
30
|
-
background-color: c.$Light-Gray-2;
|
|
31
|
-
z-index: 1;
|
|
32
|
-
|
|
33
|
-
.calendar-header {
|
|
34
|
-
background-color: c.$White;
|
|
35
|
-
text-align: center;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
display: flex;
|
|
38
|
-
padding: 5px 0px;
|
|
39
|
-
|
|
40
|
-
i.fa {
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
width: 30px;
|
|
45
|
-
height: 30px;
|
|
46
|
-
font-size: 20px;
|
|
47
|
-
border-radius: 50%;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
border: none;
|
|
51
|
-
color: c.$Red;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.monthButtonContainer {
|
|
55
|
-
padding-left: 10px;
|
|
56
|
-
height: 45px;
|
|
57
|
-
min-width: 140px;
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.monthDropdown,
|
|
63
|
-
.yearDropdown {
|
|
64
|
-
height: 45px;
|
|
65
|
-
width: 105px;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
display: inline-block;
|
|
68
|
-
padding: 6px 5px;
|
|
69
|
-
border: 1px solid c.$Light-Gray-2;
|
|
70
|
-
border-radius: 4px;
|
|
71
|
-
background-color: c.$White;
|
|
72
|
-
color: c.$Dark-Gray-2;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.monthDropdown {
|
|
76
|
-
margin: 0px 8px 0 0;
|
|
77
|
-
width: 130px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.monthDropdown:hover,
|
|
81
|
-
.yearDropdown:hover {
|
|
82
|
-
border-color: c.$Light-Gray-3;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.calendar-body {
|
|
88
|
-
padding: 5px;
|
|
89
|
-
|
|
90
|
-
table {
|
|
91
|
-
width: 100%;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
td {
|
|
95
|
-
padding: 10px;
|
|
96
|
-
position: relative;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
td.selected {
|
|
100
|
-
position: relative;
|
|
101
|
-
color: c.$White;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
td.selected::before {
|
|
105
|
-
content: "";
|
|
106
|
-
position: absolute;
|
|
107
|
-
top: 50%;
|
|
108
|
-
left: 50%;
|
|
109
|
-
transform: translate(-50%, -50%);
|
|
110
|
-
border-radius: 20%;
|
|
111
|
-
background-color: c.$Red;
|
|
112
|
-
z-index: -1;
|
|
113
|
-
width: 30px;
|
|
114
|
-
height: 30px;
|
|
115
|
-
color: c.$White;
|
|
116
|
-
border: 1px solid c.$Dark-Gray-1;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
td:hover {
|
|
120
|
-
color: c.$White;
|
|
121
|
-
font-weight: bold;
|
|
122
|
-
background-color: c.$Light-Gray-1;
|
|
123
|
-
border-radius: 20%;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.date {
|
|
128
|
-
display: flex;
|
|
129
|
-
justify-content: center;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|