@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,14 +0,0 @@
|
|
|
1
|
-
import { OverlayModule } from "@angular/cdk/overlay";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { NgModule } from "@angular/core";
|
|
4
|
-
import { FormsModule } from "@angular/forms";
|
|
5
|
-
import { MefDevOptionComponent } from "./option.component";
|
|
6
|
-
import { OptionPipe } from "./option.pipe";
|
|
7
|
-
import { MefDevSelectComponent } from "./select.component";
|
|
8
|
-
|
|
9
|
-
@NgModule({
|
|
10
|
-
imports: [CommonModule, FormsModule, OverlayModule],
|
|
11
|
-
declarations: [OptionPipe, MefDevOptionComponent, MefDevSelectComponent],
|
|
12
|
-
exports: [OptionPipe, MefDevOptionComponent, MefDevSelectComponent]
|
|
13
|
-
})
|
|
14
|
-
export class MefDevSelectModule {}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<!-- Block for test -->
|
|
2
|
-
<div style="display: none;">
|
|
3
|
-
<input id="ResponseTimestamp" type="hidden" value="{{ResponseTimestamp}}" />
|
|
4
|
-
<input id="ResponseError" type="hidden" value="{{ResponseError}}" />
|
|
5
|
-
<input id="ReportError" type="hidden" value="{{ReportError}}" />
|
|
6
|
-
</div>
|
|
File without changes
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'mefdev-spec-flow-test',
|
|
5
|
-
templateUrl: './spec-flow-test.component.html',
|
|
6
|
-
styleUrls: ['./spec-flow-test.component.scss'],
|
|
7
|
-
standalone: false
|
|
8
|
-
})
|
|
9
|
-
export class MefDevSpecFlowTestComponent implements OnInit {
|
|
10
|
-
/**
|
|
11
|
-
* UTC datetime
|
|
12
|
-
*/
|
|
13
|
-
ResponseTimestamp: any;
|
|
14
|
-
/**
|
|
15
|
-
* 0/1 1 - ошибка, 0 - успех (200, 201 и тд)
|
|
16
|
-
*/
|
|
17
|
-
ResponseError: any;
|
|
18
|
-
/**
|
|
19
|
-
* string для ResponseError=1
|
|
20
|
-
*/
|
|
21
|
-
ReportError: any;
|
|
22
|
-
constructor() { }
|
|
23
|
-
|
|
24
|
-
ngOnInit() {
|
|
25
|
-
}
|
|
26
|
-
public setError(error:any) {
|
|
27
|
-
this.ResponseTimestamp = Date.now();
|
|
28
|
-
this.ResponseError = 1;
|
|
29
|
-
this.ReportError = error;
|
|
30
|
-
}
|
|
31
|
-
public setSuccess(){
|
|
32
|
-
this.ResponseTimestamp = Date.now();
|
|
33
|
-
this.ResponseError = 0;
|
|
34
|
-
this.ReportError = undefined;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MefDevSpecFlowTestComponent } from './spec-flow-test/spec-flow-test.component';
|
|
4
|
-
|
|
5
|
-
@NgModule({
|
|
6
|
-
declarations: [MefDevSpecFlowTestComponent],
|
|
7
|
-
exports: [MefDevSpecFlowTestComponent],
|
|
8
|
-
imports: [
|
|
9
|
-
CommonModule
|
|
10
|
-
]
|
|
11
|
-
})
|
|
12
|
-
export class MefDevSpecFlowTestModule {
|
|
13
|
-
static forRoot(): ModuleWithProviders<MefDevSpecFlowTestModule> {
|
|
14
|
-
return {
|
|
15
|
-
ngModule: MefDevSpecFlowTestModule
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<span [ngClass]="_classMap" tabindex="0">
|
|
2
|
-
<span [ngClass]="_innerPrefixCls">
|
|
3
|
-
<ng-template [ngIf]="_checked">
|
|
4
|
-
<ng-content select="[checked]"></ng-content>
|
|
5
|
-
</ng-template>
|
|
6
|
-
<ng-template [ngIf]="!_checked">
|
|
7
|
-
<ng-content select="[unchecked]"></ng-content>
|
|
8
|
-
</ng-template>
|
|
9
|
-
</span>
|
|
10
|
-
</span>
|
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
forwardRef,
|
|
3
|
-
Component,
|
|
4
|
-
HostListener,
|
|
5
|
-
Input,
|
|
6
|
-
OnInit,
|
|
7
|
-
ViewEncapsulation,
|
|
8
|
-
Output
|
|
9
|
-
} from "@angular/core";
|
|
10
|
-
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
11
|
-
import { toBoolean } from "../util/convert";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @component
|
|
16
|
-
* @skipTemplateDoc: true
|
|
17
|
-
* Example of usage:
|
|
18
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/controls/switch</example-url>
|
|
19
|
-
*/
|
|
20
|
-
@Component({
|
|
21
|
-
selector: "mefdev-switch",
|
|
22
|
-
encapsulation: ViewEncapsulation.None,
|
|
23
|
-
templateUrl: "./switch.component.html",
|
|
24
|
-
providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: NG_VALUE_ACCESSOR,
|
|
27
|
-
useExisting: forwardRef(() => MefDevSwitchComponent),
|
|
28
|
-
multi: true
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
standalone: false
|
|
32
|
-
})
|
|
33
|
-
export class MefDevSwitchComponent implements OnInit, ControlValueAccessor {
|
|
34
|
-
// Private variables
|
|
35
|
-
private _disabled = false;
|
|
36
|
-
_prefixCls = "toggle-switch";
|
|
37
|
-
_color = "primary";
|
|
38
|
-
_innerPrefixCls = `${this._prefixCls}-inner `;
|
|
39
|
-
_classMap:any;
|
|
40
|
-
_size: string;
|
|
41
|
-
_checked = false;
|
|
42
|
-
|
|
43
|
-
// ngModel Access
|
|
44
|
-
// Output event triggered when the switch value changes
|
|
45
|
-
@Output()
|
|
46
|
-
/**
|
|
47
|
-
* Event emitted when the value of the switch changes.
|
|
48
|
-
*
|
|
49
|
-
* @output
|
|
50
|
-
* @param value The new value of the switch.
|
|
51
|
-
*
|
|
52
|
-
* Usage example:
|
|
53
|
-
* ```
|
|
54
|
-
* <mefdev-switch (onChange)="handleSwitchChange($event)"></mefdev-switch>
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
onChange: (value: boolean) => void = () => null;
|
|
58
|
-
onTouched: () => void = () => null;
|
|
59
|
-
|
|
60
|
-
// Input properties
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Sets the value of the switch.
|
|
64
|
-
*
|
|
65
|
-
* @input
|
|
66
|
-
* @param value The value of the switch.
|
|
67
|
-
*
|
|
68
|
-
* Usage example:
|
|
69
|
-
* ```
|
|
70
|
-
* <mefdev-switch [Value]="true"></mefdev-switch>
|
|
71
|
-
* ```
|
|
72
|
-
*/
|
|
73
|
-
@Input()
|
|
74
|
-
set Value(value: boolean) {
|
|
75
|
-
this.updateValue(value);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Sets the size of the switch.
|
|
80
|
-
*
|
|
81
|
-
* @input
|
|
82
|
-
* @param value The size of the switch (e.g., "small", "large").
|
|
83
|
-
*
|
|
84
|
-
* Usage example:
|
|
85
|
-
* ```
|
|
86
|
-
* <mefdev-switch [Size]="'small'"></mefdev-switch>
|
|
87
|
-
* ```
|
|
88
|
-
*/
|
|
89
|
-
@Input()
|
|
90
|
-
set Size(value: string) {
|
|
91
|
-
this._size = value;
|
|
92
|
-
this.setClassMap();
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Sets the color of the switch.
|
|
97
|
-
*
|
|
98
|
-
* @input
|
|
99
|
-
* @param value The color of the switch (e.g., "primary", "secondary").
|
|
100
|
-
*
|
|
101
|
-
* Usage example:
|
|
102
|
-
* ```
|
|
103
|
-
* <mefdev-switch [Color]="'primary'"></mefdev-switch>
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
@Input()
|
|
107
|
-
set Color(value: string) {
|
|
108
|
-
this._color = value;
|
|
109
|
-
this.setClassMap();
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Gets the current size of the switch.
|
|
114
|
-
*
|
|
115
|
-
* @input
|
|
116
|
-
* @returns The size of the switch.
|
|
117
|
-
*
|
|
118
|
-
* Usage example:
|
|
119
|
-
* ```
|
|
120
|
-
* const size = mySwitchComponent.Size;
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
get Size(): string {
|
|
124
|
-
return this._size;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Sets the disabled state of the switch.
|
|
129
|
-
*
|
|
130
|
-
* @input
|
|
131
|
-
* @param value The disabled state of the switch.
|
|
132
|
-
*
|
|
133
|
-
* Usage example:
|
|
134
|
-
* ```
|
|
135
|
-
* <mefdev-switch [Disabled]="true"></mefdev-switch>
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
|
-
@Input()
|
|
139
|
-
set Disabled(value: boolean) {
|
|
140
|
-
this._disabled = toBoolean(value);
|
|
141
|
-
this.setClassMap();
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Gets the current disabled state of the switch.
|
|
146
|
-
*
|
|
147
|
-
* @input
|
|
148
|
-
* @returns The disabled state of the switch.
|
|
149
|
-
*
|
|
150
|
-
* Usage example:
|
|
151
|
-
* ```
|
|
152
|
-
* const disabled = mySwitchComponent.Disabled;
|
|
153
|
-
* ```
|
|
154
|
-
*/
|
|
155
|
-
get Disabled(): boolean {
|
|
156
|
-
return this._disabled;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// Host listener for click event
|
|
160
|
-
@HostListener("click", ["$event"])
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Handles the click event of the switch.
|
|
164
|
-
*
|
|
165
|
-
* @param e The click event object.
|
|
166
|
-
*
|
|
167
|
-
* Usage example:
|
|
168
|
-
* ```
|
|
169
|
-
* <mefdev-switch (click)="handleSwitchClick($event)"></mefdev-switch>
|
|
170
|
-
* ```
|
|
171
|
-
*/
|
|
172
|
-
onClick(e: MouseEvent): void {
|
|
173
|
-
e.preventDefault();
|
|
174
|
-
if (!this._disabled) {
|
|
175
|
-
this.updateValue(!this._checked);
|
|
176
|
-
this.onChange(this._checked);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
// Helper functions
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Updates the value of the switch.
|
|
185
|
-
*
|
|
186
|
-
* @param value The new value of the switch.
|
|
187
|
-
*
|
|
188
|
-
* Usage example:
|
|
189
|
-
* ```
|
|
190
|
-
* this.updateValue(true);
|
|
191
|
-
* ```
|
|
192
|
-
*/
|
|
193
|
-
updateValue(value: boolean): void {
|
|
194
|
-
if (this._checked === value) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
this._checked = value;
|
|
198
|
-
this.setClassMap();
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Sets the class map for the switch.
|
|
203
|
-
*
|
|
204
|
-
* Usage example:
|
|
205
|
-
* ```
|
|
206
|
-
* this.setClassMap();
|
|
207
|
-
* ```
|
|
208
|
-
*/
|
|
209
|
-
setClassMap(): void {
|
|
210
|
-
this._classMap = {
|
|
211
|
-
[this._prefixCls]: true,
|
|
212
|
-
[`${this._prefixCls}-checked`]: this._checked,
|
|
213
|
-
[`${this._prefixCls}-disabled`]: this._disabled,
|
|
214
|
-
[`${this._prefixCls}-small`]: this._size === "small",
|
|
215
|
-
[this._color]: this._color
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
// ControlValueAccessor interface implementation
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Writes a new value to the switch.
|
|
224
|
-
*
|
|
225
|
-
* @param value The new value of the switch.
|
|
226
|
-
*
|
|
227
|
-
* Usage example:
|
|
228
|
-
* ```
|
|
229
|
-
* this.writeValue(true);
|
|
230
|
-
* ```
|
|
231
|
-
*/
|
|
232
|
-
public writeValue(value: boolean): void {
|
|
233
|
-
this.updateValue(value);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Registers a callback function to be executed when the switch value changes.
|
|
238
|
-
*
|
|
239
|
-
* @param fn The callback function.
|
|
240
|
-
*
|
|
241
|
-
* Usage example:
|
|
242
|
-
* ```
|
|
243
|
-
* this.registerOnChange(value => {
|
|
244
|
-
* // Do something with the new value
|
|
245
|
-
* });
|
|
246
|
-
* ```
|
|
247
|
-
*/
|
|
248
|
-
registerOnChange(fn: (_: boolean) => void): void {
|
|
249
|
-
this.onChange = fn;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Registers a callback function to be executed when the switch is touched.
|
|
254
|
-
*
|
|
255
|
-
* @param fn The callback function.
|
|
256
|
-
*
|
|
257
|
-
* Usage example:
|
|
258
|
-
* ```
|
|
259
|
-
* this.registerOnTouched(() => {
|
|
260
|
-
* // Do something when the switch is touched
|
|
261
|
-
* });
|
|
262
|
-
* ```
|
|
263
|
-
*/
|
|
264
|
-
registerOnTouched(fn: () => void): void {
|
|
265
|
-
this.onTouched = fn;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Sets the disabled state of the switch.
|
|
270
|
-
*
|
|
271
|
-
* @param isDisabled The disabled state of the switch.
|
|
272
|
-
*
|
|
273
|
-
* Usage example:
|
|
274
|
-
* ```
|
|
275
|
-
* this.setDisabledState(true);
|
|
276
|
-
* ```
|
|
277
|
-
*/
|
|
278
|
-
setDisabledState(isDisabled: boolean): void {
|
|
279
|
-
this.Disabled = isDisabled;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// OnInit lifecycle hook
|
|
283
|
-
ngOnInit(): void {
|
|
284
|
-
this.setClassMap();
|
|
285
|
-
}
|
|
286
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { MefDevSwitchComponent } from './switch.component';
|
|
4
|
-
|
|
5
|
-
@NgModule({
|
|
6
|
-
exports : [ MefDevSwitchComponent ],
|
|
7
|
-
declarations: [ MefDevSwitchComponent ],
|
|
8
|
-
imports : [ CommonModule ]
|
|
9
|
-
})
|
|
10
|
-
export class MefDevSwitchModule {
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { MefDevTabBodyComponent } from './tab-body.component';
|
|
2
|
-
export { MefDevTabLabelDirective } from './tab-label.directive';
|
|
3
|
-
export { MefDevTabComponent } from './tab.component';
|
|
4
|
-
export { MefDevTabsInkBarDirective } from './tabs-ink-bar.directive';
|
|
5
|
-
export { MefDevTabsNavComponent } from './tabs-nav.component';
|
|
6
|
-
export { MefDevTabSetComponent, AnimatedInterface, TabChangeEvent, TabPosition, TabPositionMode, TabType, } from './tabset.component';
|
|
7
|
-
export { MefDevTabsModule } from './tabs.module';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<ng-template [ngTemplateOutlet]="content"></ng-template>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component, Input, TemplateRef, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Component representing the body of a tab, which displays the tab's content.
|
|
5
|
-
*/
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'mefdev-tab-body',
|
|
8
|
-
encapsulation: ViewEncapsulation.None,
|
|
9
|
-
templateUrl: "./tab-body.component.html",
|
|
10
|
-
standalone: false
|
|
11
|
-
})
|
|
12
|
-
export class MefDevTabBodyComponent {
|
|
13
|
-
/**
|
|
14
|
-
* The content of the tab, which can be passed as a template.
|
|
15
|
-
*/
|
|
16
|
-
@Input() content: TemplateRef<void>;
|
|
17
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, HostBinding, Input } from '@angular/core';
|
|
2
|
-
import { toBoolean } from '../util/convert';
|
|
3
|
-
|
|
4
|
-
@Directive({
|
|
5
|
-
selector: '[mefdev-tab-label]',
|
|
6
|
-
host: {
|
|
7
|
-
'[class.nav-item]': 'true'
|
|
8
|
-
},
|
|
9
|
-
standalone: false
|
|
10
|
-
})
|
|
11
|
-
export class MefDevTabLabelDirective {
|
|
12
|
-
private _disabled = false;
|
|
13
|
-
|
|
14
|
-
@Input()
|
|
15
|
-
@HostBinding('class.nav-item-disabled')
|
|
16
|
-
set disabled(value: boolean) {
|
|
17
|
-
this._disabled = toBoolean(value);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
get disabled(): boolean {
|
|
21
|
-
return this._disabled;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
constructor(public elementRef: ElementRef) {}
|
|
25
|
-
|
|
26
|
-
getOffsetLeft(): number {
|
|
27
|
-
return this.elementRef.nativeElement.offsetLeft;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
getOffsetWidth(): number {
|
|
31
|
-
return this.elementRef.nativeElement.offsetWidth;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
getOffsetTop(): number {
|
|
35
|
-
return this.elementRef.nativeElement.offsetTop;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
getOffsetHeight(): number {
|
|
39
|
-
return this.elementRef.nativeElement.offsetHeight;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ContentChild,
|
|
4
|
-
EventEmitter,
|
|
5
|
-
HostBinding,
|
|
6
|
-
Input,
|
|
7
|
-
OnDestroy,
|
|
8
|
-
OnInit,
|
|
9
|
-
Output,
|
|
10
|
-
TemplateRef,
|
|
11
|
-
ViewChild
|
|
12
|
-
} from '@angular/core';
|
|
13
|
-
import { toBoolean } from '../util/convert';
|
|
14
|
-
import { MefDevTabSetComponent } from './tabset.component';
|
|
15
|
-
|
|
16
|
-
@Component({
|
|
17
|
-
selector: 'mefdev-tab',
|
|
18
|
-
templateUrl: "./tab.component.html",
|
|
19
|
-
styles: [],
|
|
20
|
-
host: {
|
|
21
|
-
'[class.ant-tabs-tabpane]': 'true'
|
|
22
|
-
},
|
|
23
|
-
standalone: false
|
|
24
|
-
})
|
|
25
|
-
export class MefDevTabComponent implements OnDestroy, OnInit {
|
|
26
|
-
private disabled = false;
|
|
27
|
-
|
|
28
|
-
position: number | null = null;
|
|
29
|
-
origin: number | null = null;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Sets the disabled state of the tab.
|
|
33
|
-
*```html
|
|
34
|
-
* <mefdev-tab [Disabled]="true"></mefdev-tab>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
@Input()
|
|
38
|
-
set Disabled(value: boolean) {
|
|
39
|
-
this.disabled = toBoolean(value);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Gets the disabled state of the tab.
|
|
44
|
-
*/
|
|
45
|
-
get Disabled(): boolean {
|
|
46
|
-
return this.disabled;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Event emitted when the tab is selected.
|
|
51
|
-
*```html
|
|
52
|
-
* <mefdev-tab (pgSelect)="onTabSelect()"></mefdev-tab>
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
@Output() pgSelect = new EventEmitter();
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Event emitted when the tab is clicked.
|
|
59
|
-
*```html
|
|
60
|
-
* <mefdev-tab (pgClick)="onTabClick()"></mefdev-tab>
|
|
61
|
-
* ```
|
|
62
|
-
*/
|
|
63
|
-
@Output() pgClick = new EventEmitter();
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Event emitted when the tab is deselected.
|
|
67
|
-
*```html
|
|
68
|
-
* <mefdev-tab (pgDeselect)="onTabDeselect()"></mefdev-tab>
|
|
69
|
-
*```
|
|
70
|
-
*/
|
|
71
|
-
@Output() pgDeselect = new EventEmitter();
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Reference to the template for the tab heading.
|
|
75
|
-
*/
|
|
76
|
-
@ContentChild('TabHeading', { static: true }) _tabHeading: TemplateRef<void>;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Reference to the template for the tab content.
|
|
80
|
-
*/
|
|
81
|
-
@ViewChild(TemplateRef, { static: true }) _content: TemplateRef<void>;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Gets the template for the tab content.
|
|
85
|
-
*```html
|
|
86
|
-
* <ng-container *ngTemplateOutlet="content"></ng-container>
|
|
87
|
-
*```
|
|
88
|
-
*/
|
|
89
|
-
get content(): TemplateRef<void> | null {
|
|
90
|
-
return this._content;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
constructor(private MefDevTabSetComponent: MefDevTabSetComponent) {}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Initializes the tab component.
|
|
97
|
-
*/
|
|
98
|
-
ngOnInit(): void {
|
|
99
|
-
this.MefDevTabSetComponent._tabs.push(this);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Cleans up resources when the tab component is destroyed.
|
|
104
|
-
*/
|
|
105
|
-
ngOnDestroy(): void {
|
|
106
|
-
// Remove the tab from the parent tabset component when destroyed
|
|
107
|
-
this.MefDevTabSetComponent._tabs.splice(this.MefDevTabSetComponent._tabs.indexOf(this), 1);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, HostBinding, Input, NgZone, Renderer2 } from '@angular/core';
|
|
2
|
-
import { reqAnimFrame } from '../util/request-animation';
|
|
3
|
-
import { toBoolean } from '../util/convert';
|
|
4
|
-
|
|
5
|
-
export type TabPositionMode = 'horizontal' | 'vertical';
|
|
6
|
-
|
|
7
|
-
@Directive({
|
|
8
|
-
selector: '[mefdev-tabs-ink-bar]',
|
|
9
|
-
host: {
|
|
10
|
-
'[class.nav-item]': 'true'
|
|
11
|
-
},
|
|
12
|
-
standalone: false
|
|
13
|
-
})
|
|
14
|
-
export class MefDevTabsInkBarDirective {
|
|
15
|
-
private _animated = false;
|
|
16
|
-
|
|
17
|
-
@Input()
|
|
18
|
-
@HostBinding('class.nav-item-animated')
|
|
19
|
-
set Animated(value: boolean) {
|
|
20
|
-
this._animated = toBoolean(value);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
get Animated(): boolean {
|
|
24
|
-
return this._animated;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@Input() PositionMode: TabPositionMode = 'horizontal';
|
|
28
|
-
|
|
29
|
-
constructor(private _renderer: Renderer2, private _elementRef: ElementRef, private _ngZone: NgZone) {}
|
|
30
|
-
|
|
31
|
-
alignToElement(element: HTMLElement): void {
|
|
32
|
-
this.show();
|
|
33
|
-
|
|
34
|
-
this._ngZone.runOutsideAngular(() => {
|
|
35
|
-
reqAnimFrame(() => {
|
|
36
|
-
/** when horizontal remove height style and add transfrom left **/
|
|
37
|
-
if (this.PositionMode === 'horizontal') {
|
|
38
|
-
this._renderer.removeStyle(this._elementRef.nativeElement, 'height');
|
|
39
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(${this._getLeftPosition(element)}, 0px, 0px)`);
|
|
40
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'width', this._getElementWidth(element));
|
|
41
|
-
} else {
|
|
42
|
-
/** when vertical remove width style and add transfrom top **/
|
|
43
|
-
this._renderer.removeStyle(this._elementRef.nativeElement, 'width');
|
|
44
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(0px, ${this._getTopPosition(element)}, 0px)`);
|
|
45
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'height', this._getElementHeight(element));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
show(): void {
|
|
52
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'visible');
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
setDisplay(value: string): void {
|
|
56
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', value);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
hide(): void {
|
|
60
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'hidden');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
_getLeftPosition(element: HTMLElement): string {
|
|
64
|
-
return element ? element.offsetLeft + 'px' : '0';
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
_getElementWidth(element: HTMLElement): string {
|
|
68
|
-
return element ? element.offsetWidth + 'px' : '0';
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
_getTopPosition(element: HTMLElement): string {
|
|
72
|
-
return element ? element.offsetTop + 'px' : '0';
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
_getElementHeight(element: HTMLElement): string {
|
|
76
|
-
return element ? element.offsetHeight + 'px' : '0';
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<div class="nav-tabs-wrapper" [class.scrolling]="_showPaginationControls" #tabListContainer>
|
|
2
|
-
<div class="nav-wrap">
|
|
3
|
-
<ul
|
|
4
|
-
class="nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}"
|
|
5
|
-
[class.tabs-nav-animated]="Animated"
|
|
6
|
-
#tabList
|
|
7
|
-
(cdkObserveContent)="_onContentChanges()"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
class="active-bar"
|
|
11
|
-
mefdev-tabs-ink-bar
|
|
12
|
-
[hidden]="HideBar"
|
|
13
|
-
[Animated]="Animated"
|
|
14
|
-
[PositionMode]="PositionMode"
|
|
15
|
-
style="display: block;"
|
|
16
|
-
></div>
|
|
17
|
-
<ng-content></ng-content>
|
|
18
|
-
</ul>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|