@natec/mef-dev-ui-kit 0.0.67 → 0.0.68
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/esm2020/lib/markup-kit/card/card/card.component.mjs +36 -0
- package/esm2020/lib/markup-kit/card/card-long/card-long.component.mjs +46 -0
- package/esm2020/lib/markup-kit/card/card-long/cart-type-colors.enum.mjs +7 -0
- package/esm2020/lib/markup-kit/card/card-simple/card-simple.component.mjs +23 -0
- package/esm2020/lib/markup-kit/card/card.module.mjs +41 -0
- package/esm2020/lib/markup-kit/card/index.mjs +6 -0
- package/esm2020/lib/markup-kit/collapse/collapse/collapse.component.mjs +87 -0
- package/esm2020/lib/markup-kit/collapse/collapse-set/collapse-set.component.mjs +54 -0
- package/esm2020/lib/markup-kit/collapse/collapse.module.mjs +25 -0
- package/esm2020/lib/markup-kit/collapse/index.mjs +4 -0
- package/esm2020/lib/markup-kit/modals/fill/fill.component.mjs +52 -0
- package/esm2020/lib/markup-kit/modals/index.mjs +7 -0
- package/esm2020/lib/markup-kit/modals/markup-kit.module.mjs +45 -0
- package/esm2020/lib/markup-kit/modals/modal-size.enum.mjs +2 -0
- package/esm2020/lib/markup-kit/modals/right-filter/right-filter.component.mjs +28 -0
- package/esm2020/lib/markup-kit/modals/slide-right/slide-right.component.mjs +55 -0
- package/esm2020/lib/markup-kit/modals/slide-up/slide-up.component.mjs +55 -0
- package/esm2020/lib/markup-kit/page-layouts/central-page/central-page.component.mjs +25 -0
- package/esm2020/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.mjs +14 -0
- package/esm2020/lib/markup-kit/page-layouts/index.mjs +7 -0
- package/esm2020/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +25 -0
- package/esm2020/lib/markup-kit/page-layouts/page-layouts.module.mjs +45 -0
- package/esm2020/lib/markup-kit/page-layouts/profile/profile.component.mjs +49 -0
- package/esm2020/lib/markup-kit/page-layouts/table-page/table-page.component.mjs +18 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.mjs +40 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.mjs +29 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field.module.mjs +31 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field.service.mjs +30 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/filtred-item.model.mjs +9 -0
- package/esm2020/lib/markup-kit/utils/filtered-field/index.mjs +6 -0
- package/esm2020/lib/markup-kit/utils/help-block/help-block.component.mjs +47 -0
- package/esm2020/lib/markup-kit/utils/help-block/hepl-block.module.mjs +26 -0
- package/esm2020/lib/markup-kit/utils/help-block/index.mjs +3 -0
- package/esm2020/lib/markup-kit/utils/loader/index.mjs +5 -0
- package/esm2020/lib/markup-kit/utils/loader/loader/loader.component.mjs +27 -0
- package/esm2020/lib/markup-kit/utils/loader/loader.module.mjs +58 -0
- package/esm2020/lib/markup-kit/utils/loader/loader.service.mjs +50 -0
- package/esm2020/lib/markup-kit/utils/loader/request-event.enum.mjs +7 -0
- package/esm2020/lib/pg-components/card/card.components.mjs +252 -0
- package/esm2020/lib/pg-components/card/card.module.mjs +24 -0
- package/esm2020/lib/pg-components/card/index.mjs +3 -0
- package/esm2020/lib/pg-components/progress/index.mjs +4 -0
- package/esm2020/lib/pg-components/progress/progress.component.mjs +39 -0
- package/esm2020/lib/pg-components/progress/progress.config.mjs +14 -0
- package/esm2020/lib/pg-components/progress/progress.module.mjs +22 -0
- package/esm2020/lib/pg-components/select/index.mjs +5 -0
- package/esm2020/lib/pg-components/select/option.component.mjs +60 -0
- package/esm2020/lib/pg-components/select/option.pipe.mjs +42 -0
- package/esm2020/lib/pg-components/select/select.component.mjs +762 -0
- package/esm2020/lib/pg-components/select/select.module.mjs +22 -0
- package/esm2020/lib/pg-components/spec-flow-test/index.mjs +3 -0
- package/esm2020/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.mjs +24 -0
- package/esm2020/lib/pg-components/spec-flow-test/spec-flow-test.module.mjs +27 -0
- package/esm2020/lib/pg-components/switch/index.mjs +3 -0
- package/esm2020/lib/pg-components/switch/switch.component.mjs +130 -0
- package/esm2020/lib/pg-components/switch/switch.module.mjs +18 -0
- package/esm2020/lib/pg-components/tabs/index.mjs +8 -0
- package/esm2020/lib/pg-components/tabs/tab-body.component.mjs +22 -0
- package/esm2020/lib/pg-components/tabs/tab-label.directive.mjs +44 -0
- package/esm2020/lib/pg-components/tabs/tab.component.mjs +66 -0
- package/esm2020/lib/pg-components/tabs/tabs-ink-bar.directive.mjs +78 -0
- package/esm2020/lib/pg-components/tabs/tabs-nav.component.mjs +335 -0
- package/esm2020/lib/pg-components/tabs/tabs.module.mjs +24 -0
- package/esm2020/lib/pg-components/tabs/tabset.component.mjs +260 -0
- package/esm2020/lib/pg-components/util/convert.mjs +4 -0
- package/esm2020/lib/pg-components/util/request-animation.mjs +26 -0
- package/esm2020/natec-mef-dev-ui-kit.mjs +5 -0
- package/esm2020/public-api.mjs +16 -0
- package/fesm2015/natec-mef-dev-ui-kit.mjs +3189 -0
- package/fesm2015/natec-mef-dev-ui-kit.mjs.map +1 -0
- package/fesm2020/natec-mef-dev-ui-kit.mjs +3182 -0
- package/fesm2020/natec-mef-dev-ui-kit.mjs.map +1 -0
- package/lib/markup-kit/card/card/card.component.d.ts +17 -0
- package/lib/markup-kit/card/card-long/card-long.component.d.ts +21 -0
- package/lib/markup-kit/card/card-long/cart-type-colors.enum.d.ts +5 -0
- package/lib/markup-kit/card/card-simple/card-simple.component.d.ts +10 -0
- package/lib/markup-kit/card/card.module.d.ts +17 -0
- package/{src/lib/markup-kit/card/index.ts → lib/markup-kit/card/index.d.ts} +0 -1
- package/lib/markup-kit/collapse/collapse/collapse.component.d.ts +19 -0
- package/lib/markup-kit/collapse/collapse-set/collapse-set.component.d.ts +18 -0
- package/lib/markup-kit/collapse/collapse.module.d.ts +14 -0
- package/{src/lib/markup-kit/collapse/index.ts → lib/markup-kit/collapse/index.d.ts} +0 -0
- package/lib/markup-kit/modals/fill/fill.component.d.ts +17 -0
- package/{src/lib/markup-kit/modals/index.ts → lib/markup-kit/modals/index.d.ts} +0 -0
- package/lib/markup-kit/modals/markup-kit.module.d.ts +13 -0
- package/lib/markup-kit/modals/modal-size.enum.d.ts +5 -0
- package/lib/markup-kit/modals/right-filter/right-filter.component.d.ts +13 -0
- package/lib/markup-kit/modals/slide-right/slide-right.component.d.ts +19 -0
- package/lib/markup-kit/modals/slide-up/slide-up.component.d.ts +19 -0
- package/lib/markup-kit/page-layouts/central-page/central-page.component.d.ts +11 -0
- package/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.d.ts +8 -0
- package/{src/lib/markup-kit/page-layouts/index.ts → lib/markup-kit/page-layouts/index.d.ts} +0 -0
- package/lib/markup-kit/page-layouts/manage-page/manage-page.component.d.ts +11 -0
- package/lib/markup-kit/page-layouts/page-layouts.module.d.ts +13 -0
- package/lib/markup-kit/page-layouts/profile/profile.component.d.ts +27 -0
- package/lib/markup-kit/page-layouts/table-page/table-page.component.d.ts +9 -0
- package/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.d.ts +14 -0
- package/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.d.ts +14 -0
- package/lib/markup-kit/utils/filtered-field/filtered-field.module.d.ts +9 -0
- package/lib/markup-kit/utils/filtered-field/filtered-field.service.d.ts +14 -0
- package/lib/markup-kit/utils/filtered-field/filtred-item.model.d.ts +7 -0
- package/{src/lib/markup-kit/utils/filtered-field/index.ts → lib/markup-kit/utils/filtered-field/index.d.ts} +0 -0
- package/lib/markup-kit/utils/help-block/help-block.component.d.ts +11 -0
- package/lib/markup-kit/utils/help-block/hepl-block.module.d.ts +9 -0
- package/{src/lib/markup-kit/utils/help-block/index.ts → lib/markup-kit/utils/help-block/index.d.ts} +1 -1
- package/{src/lib/markup-kit/utils/loader/index.ts → lib/markup-kit/utils/loader/index.d.ts} +1 -1
- package/lib/markup-kit/utils/loader/loader/loader.component.d.ts +12 -0
- package/lib/markup-kit/utils/loader/loader.module.d.ts +9 -0
- package/lib/markup-kit/utils/loader/loader.service.d.ts +15 -0
- package/lib/markup-kit/utils/loader/request-event.enum.d.ts +5 -0
- package/lib/pg-components/card/card.components.d.ts +60 -0
- package/lib/pg-components/card/card.module.d.ts +11 -0
- package/{src/lib/pg-components/card/index.ts → lib/pg-components/card/index.d.ts} +1 -1
- package/{src/lib/pg-components/progress/index.ts → lib/pg-components/progress/index.d.ts} +1 -1
- package/lib/pg-components/progress/progress.component.d.ts +15 -0
- package/lib/pg-components/progress/progress.config.d.ts +7 -0
- package/lib/pg-components/progress/progress.module.d.ts +10 -0
- package/{src/lib/pg-components/select/index.ts → lib/pg-components/select/index.d.ts} +1 -1
- package/lib/pg-components/select/option.component.d.ts +21 -0
- package/lib/pg-components/select/option.pipe.d.ts +8 -0
- package/lib/pg-components/select/select.component.d.ts +135 -0
- package/lib/pg-components/select/select.module.d.ts +12 -0
- package/{src/lib/pg-components/spec-flow-test/index.ts → lib/pg-components/spec-flow-test/index.d.ts} +1 -1
- package/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.d.ts +22 -0
- package/lib/pg-components/spec-flow-test/spec-flow-test.module.d.ts +10 -0
- package/{src/lib/pg-components/switch/index.ts → lib/pg-components/switch/index.d.ts} +1 -1
- package/lib/pg-components/switch/switch.component.d.ts +29 -0
- package/lib/pg-components/switch/switch.module.d.ts +8 -0
- package/{src/lib/pg-components/tabs/index.ts → lib/pg-components/tabs/index.d.ts} +1 -1
- package/lib/pg-components/tabs/tab-body.component.d.ts +7 -0
- package/lib/pg-components/tabs/tab-label.directive.d.ts +15 -0
- package/lib/pg-components/tabs/tab.component.d.ts +22 -0
- package/lib/pg-components/tabs/tabs-ink-bar.directive.d.ts +23 -0
- package/lib/pg-components/tabs/tabs-nav.component.d.ts +79 -0
- package/lib/pg-components/tabs/tabs.module.d.ts +14 -0
- package/lib/pg-components/tabs/tabset.component.d.ts +67 -0
- package/lib/pg-components/util/convert.d.ts +1 -0
- package/lib/pg-components/util/request-animation.d.ts +1 -0
- package/natec-mef-dev-ui-kit.d.ts +5 -0
- package/package.json +21 -6
- package/{src/public-api.ts → public-api.d.ts} +14 -19
- package/.browserslistrc +0 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -24
- package/src/lib/markup-kit/card/card/card.component.html +0 -46
- package/src/lib/markup-kit/card/card/card.component.scss +0 -61
- package/src/lib/markup-kit/card/card/card.component.ts +0 -31
- package/src/lib/markup-kit/card/card-long/card-long.component.html +0 -54
- 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 -33
- 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 -18
- package/src/lib/markup-kit/card/card.module.ts +0 -23
- package/src/lib/markup-kit/collapse/collapse/collapse.component.html +0 -16
- package/src/lib/markup-kit/collapse/collapse/collapse.component.scss +0 -13
- package/src/lib/markup-kit/collapse/collapse/collapse.component.ts +0 -78
- 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 -58
- package/src/lib/markup-kit/collapse/collapse.module.ts +0 -20
- package/src/lib/markup-kit/modals/fill/fill.component.html +0 -18
- package/src/lib/markup-kit/modals/fill/fill.component.scss +0 -0
- package/src/lib/markup-kit/modals/fill/fill.component.ts +0 -45
- package/src/lib/markup-kit/modals/markup-kit.module.ts +0 -27
- 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 -7
- package/src/lib/markup-kit/modals/right-filter/right-filter.component.scss +0 -6
- package/src/lib/markup-kit/modals/right-filter/right-filter.component.ts +0 -30
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.html +0 -16
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.scss +0 -0
- package/src/lib/markup-kit/modals/slide-right/slide-right.component.ts +0 -50
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.html +0 -16
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.scss +0 -0
- package/src/lib/markup-kit/modals/slide-up/slide-up.component.ts +0 -50
- 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 -0
- package/src/lib/markup-kit/page-layouts/central-page/central-page.component.ts +0 -26
- 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 -0
- package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.ts +0 -15
- 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 -14
- package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.ts +0 -20
- 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 -42
- package/src/lib/markup-kit/page-layouts/profile/profile.component.scss +0 -72
- package/src/lib/markup-kit/page-layouts/profile/profile.component.ts +0 -38
- 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 -16
- 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 -46
- 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 -28
- 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 -32
- package/src/lib/markup-kit/utils/filtered-field/filtred-item.model.ts +0 -15
- 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 -40
- package/src/lib/markup-kit/utils/help-block/hepl-block.module.ts +0 -14
- package/src/lib/markup-kit/utils/loader/loader/loader.component.html +0 -1
- package/src/lib/markup-kit/utils/loader/loader/loader.component.scss +0 -0
- package/src/lib/markup-kit/utils/loader/loader/loader.component.ts +0 -29
- package/src/lib/markup-kit/utils/loader/loader.module.ts +0 -47
- package/src/lib/markup-kit/utils/loader/loader.service.ts +0 -55
- package/src/lib/markup-kit/utils/loader/request-event.enum.ts +0 -1
- package/src/lib/pg-components/card/card.components.html +0 -66
- package/src/lib/pg-components/card/card.components.ts +0 -243
- package/src/lib/pg-components/card/card.module.ts +0 -17
- package/src/lib/pg-components/progress/progress.component.html +0 -28
- package/src/lib/pg-components/progress/progress.component.ts +0 -32
- 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/option.component.ts +0 -71
- package/src/lib/pg-components/select/option.pipe.ts +0 -41
- package/src/lib/pg-components/select/select.component.html +0 -77
- package/src/lib/pg-components/select/select.component.ts +0 -808
- package/src/lib/pg-components/select/select.module.ts +0 -14
- 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 -36
- package/src/lib/pg-components/spec-flow-test/spec-flow-test.module.ts +0 -18
- package/src/lib/pg-components/switch/switch.component.ts +0 -122
- package/src/lib/pg-components/switch/switch.module.ts +0 -11
- package/src/lib/pg-components/tabs/tab-body.component.ts +0 -12
- package/src/lib/pg-components/tabs/tab-label.directive.ts +0 -40
- package/src/lib/pg-components/tabs/tab.component.ts +0 -62
- package/src/lib/pg-components/tabs/tabs-ink-bar.directive.ts +0 -77
- package/src/lib/pg-components/tabs/tabs-nav.component.ts +0 -345
- package/src/lib/pg-components/tabs/tabs.module.ts +0 -16
- package/src/lib/pg-components/tabs/tabset.component.ts +0 -237
- package/src/lib/pg-components/util/convert.ts +0 -3
- package/src/lib/pg-components/util/request-animation.ts +0 -31
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { pgOptionComponent } from "./option.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OptionPipe implements PipeTransform {
|
|
5
|
+
transform(options: pgOptionComponent[], value: any): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OptionPipe, "OptionPipe">;
|
|
8
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { CdkConnectedOverlay, ConnectedOverlayPositionChange } from "@angular/cdk/overlay";
|
|
2
|
+
import { AfterContentChecked, AfterContentInit, ElementRef, EventEmitter, OnInit, Renderer2, ChangeDetectorRef } from "@angular/core";
|
|
3
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
+
import { pgOptionComponent } from "./option.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class pgSelectComponent implements OnInit, AfterContentInit, AfterContentChecked, ControlValueAccessor {
|
|
7
|
+
private _elementRef;
|
|
8
|
+
private _renderer;
|
|
9
|
+
private cDRef;
|
|
10
|
+
private _allowClear;
|
|
11
|
+
private _disabled;
|
|
12
|
+
private _isTags;
|
|
13
|
+
private _isMultiple;
|
|
14
|
+
private _keepUnListOptions;
|
|
15
|
+
private _showSearch;
|
|
16
|
+
_el: HTMLElement;
|
|
17
|
+
_isOpen: boolean;
|
|
18
|
+
_prefixCls: string;
|
|
19
|
+
_classList: string[];
|
|
20
|
+
_dropDownClassMap: any;
|
|
21
|
+
_dropDownPrefixCls: string;
|
|
22
|
+
_selectionClassMap: any;
|
|
23
|
+
_selectionPrefixCls: string;
|
|
24
|
+
_size: string;
|
|
25
|
+
_value: string[] | string;
|
|
26
|
+
_placeholder: string;
|
|
27
|
+
_notFoundContent: string;
|
|
28
|
+
_searchText: string;
|
|
29
|
+
_triggerWidth: number;
|
|
30
|
+
_selectedOption: pgOptionComponent;
|
|
31
|
+
_operatingMultipleOption: pgOptionComponent;
|
|
32
|
+
_selectedOptions: Set<pgOptionComponent>;
|
|
33
|
+
_options: pgOptionComponent[];
|
|
34
|
+
_cacheOptions: pgOptionComponent[];
|
|
35
|
+
_filterOptions: pgOptionComponent[];
|
|
36
|
+
_tagsOptions: pgOptionComponent[];
|
|
37
|
+
_activeFilterOption: pgOptionComponent;
|
|
38
|
+
_isMultiInit: boolean;
|
|
39
|
+
_dropDownPosition: "top" | "center" | "bottom";
|
|
40
|
+
_composing: boolean;
|
|
41
|
+
_mode: any;
|
|
42
|
+
onChange: (value: string | string[]) => void;
|
|
43
|
+
onTouched: () => void;
|
|
44
|
+
searchInputElementRef: any;
|
|
45
|
+
trigger: ElementRef;
|
|
46
|
+
dropdownUl: ElementRef;
|
|
47
|
+
SearchChange: EventEmitter<string>;
|
|
48
|
+
change: EventEmitter<string>;
|
|
49
|
+
OpenChange: EventEmitter<boolean>;
|
|
50
|
+
ScrollToBottom: EventEmitter<boolean>;
|
|
51
|
+
Filter: boolean;
|
|
52
|
+
MaxMultiple: number;
|
|
53
|
+
FirstDefault: boolean;
|
|
54
|
+
_cdkOverlay: CdkConnectedOverlay;
|
|
55
|
+
set AllowClear(value: boolean);
|
|
56
|
+
get AllowClear(): boolean;
|
|
57
|
+
set KeepUnListOptions(value: boolean);
|
|
58
|
+
get KeepUnListOptions(): boolean;
|
|
59
|
+
set Mode(value: string);
|
|
60
|
+
set Multiple(value: boolean);
|
|
61
|
+
get Multiple(): boolean;
|
|
62
|
+
set PlaceHolder(value: string);
|
|
63
|
+
get PlaceHolder(): string;
|
|
64
|
+
set NotFoundContent(value: string);
|
|
65
|
+
get NotFoundContent(): string;
|
|
66
|
+
set Size(value: string);
|
|
67
|
+
get Size(): string;
|
|
68
|
+
set ShowSearch(value: boolean);
|
|
69
|
+
get ShowSearch(): boolean;
|
|
70
|
+
set Tags(value: boolean);
|
|
71
|
+
get Tags(): boolean;
|
|
72
|
+
set Disabled(value: boolean);
|
|
73
|
+
get Disabled(): boolean;
|
|
74
|
+
set Open(value: boolean);
|
|
75
|
+
get Open(): boolean;
|
|
76
|
+
/** new -option insert or new tags insert */
|
|
77
|
+
addOption: (option: any) => void;
|
|
78
|
+
/** -option remove or tags remove */
|
|
79
|
+
removeOption(option: pgOptionComponent): void;
|
|
80
|
+
/** dropdown position changed */
|
|
81
|
+
onPositionChange(position: ConnectedOverlayPositionChange): void;
|
|
82
|
+
compositionStart(): void;
|
|
83
|
+
compositionEnd(): void;
|
|
84
|
+
/** clear single selected option */
|
|
85
|
+
clearSelect($event?: MouseEvent): void;
|
|
86
|
+
/** click dropdown option by user */
|
|
87
|
+
clickOption(option: pgOptionComponent, $event?: MouseEvent): void;
|
|
88
|
+
/** choose option */
|
|
89
|
+
chooseOption(option: pgOptionComponent, isUserClick?: boolean, $event?: MouseEvent): void;
|
|
90
|
+
updateWidth(element: HTMLInputElement, text: string): void;
|
|
91
|
+
/** determine if option in set */
|
|
92
|
+
isInSet(set: Set<pgOptionComponent>, option: pgOptionComponent): pgOptionComponent;
|
|
93
|
+
/** cancel select multiple option */ unSelectMultipleOption: (option: any, $event?: any, emitChange?: boolean) => void;
|
|
94
|
+
/** select multiple option */
|
|
95
|
+
selectMultipleOption(option: pgOptionComponent, $event?: MouseEvent): void;
|
|
96
|
+
/** emit multiple options */
|
|
97
|
+
emitMultipleOptions(): void;
|
|
98
|
+
/** update selected option when add remove option etc */
|
|
99
|
+
updateSelectedOption(currentModelValue: string | string[], triggerByNgModel?: boolean): void;
|
|
100
|
+
forceUpdateSelectedOption(value: string | string[]): void;
|
|
101
|
+
get Value(): string | string[];
|
|
102
|
+
set Value(value: string | string[]);
|
|
103
|
+
clearAllSelectedOption(emitChange?: boolean): void;
|
|
104
|
+
handleKeyEnterEvent(event: KeyboardEvent): void;
|
|
105
|
+
handleKeyBackspaceEvent(event: KeyboardEvent): void;
|
|
106
|
+
handleKeyDownEvent($event: MouseEvent): void;
|
|
107
|
+
handleKeyUpEvent($event: MouseEvent): void;
|
|
108
|
+
preOption(option: pgOptionComponent, options: pgOptionComponent[]): pgOptionComponent;
|
|
109
|
+
nextOption(option: pgOptionComponent, options: pgOptionComponent[]): pgOptionComponent;
|
|
110
|
+
clearSearchText(): void;
|
|
111
|
+
updateFilterOption(updateActiveFilter?: boolean): void;
|
|
112
|
+
onSearchChange(searchValue: string): void;
|
|
113
|
+
onClick(e: MouseEvent): void;
|
|
114
|
+
onKeyDown(e: KeyboardEvent): void;
|
|
115
|
+
closeDropDown(): void;
|
|
116
|
+
setClassMap(): void;
|
|
117
|
+
setDropDownClassMap(): void;
|
|
118
|
+
scrollToActive(): void;
|
|
119
|
+
flushComponentState(): void;
|
|
120
|
+
_setTriggerWidth(): void;
|
|
121
|
+
_getTriggerRect(): ClientRect;
|
|
122
|
+
writeValue(value: string | string[]): void;
|
|
123
|
+
registerOnChange(fn: (value: string | string[]) => void): void;
|
|
124
|
+
registerOnTouched(fn: () => void): void;
|
|
125
|
+
setDisabledState(isDisabled: boolean): void;
|
|
126
|
+
dropDownScroll(ul: HTMLUListElement): void;
|
|
127
|
+
checkDropDownScroll(): void;
|
|
128
|
+
constructor(_elementRef: ElementRef, _renderer: Renderer2, cDRef: ChangeDetectorRef);
|
|
129
|
+
ngAfterContentInit(): void;
|
|
130
|
+
ngOnInit(): void;
|
|
131
|
+
ngAfterContentChecked(): void;
|
|
132
|
+
private _updateValue;
|
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgSelectComponent, never>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgSelectComponent, "pg-select", never, { "Filter": "Filter"; "MaxMultiple": "MaxMultiple"; "FirstDefault": "FirstDefault"; "AllowClear": "AllowClear"; "KeepUnListOptions": "KeepUnListOptions"; "Mode": "Mode"; "Multiple": "Multiple"; "PlaceHolder": "PlaceHolder"; "NotFoundContent": "NotFoundContent"; "Size": "Size"; "ShowSearch": "ShowSearch"; "Tags": "Tags"; "Disabled": "Disabled"; "Open": "Open"; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./option.pipe";
|
|
3
|
+
import * as i2 from "./option.component";
|
|
4
|
+
import * as i3 from "./select.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@angular/cdk/overlay";
|
|
8
|
+
export declare class PgSelectModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PgSelectModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PgSelectModule, [typeof i1.OptionPipe, typeof i2.pgOptionComponent, typeof i3.pgSelectComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule], [typeof i1.OptionPipe, typeof i2.pgOptionComponent, typeof i3.pgSelectComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PgSelectModule>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './spec-flow-test/spec-flow-test.component';
|
|
2
|
-
export * from './spec-flow-test.module';
|
|
2
|
+
export * from './spec-flow-test.module';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpecFlowTestComponent implements OnInit {
|
|
4
|
+
/**
|
|
5
|
+
* UTC datetime
|
|
6
|
+
*/
|
|
7
|
+
ResponseTimestamp: any;
|
|
8
|
+
/**
|
|
9
|
+
* 0/1 1 - ошибка, 0 - успех (200, 201 и тд)
|
|
10
|
+
*/
|
|
11
|
+
ResponseError: any;
|
|
12
|
+
/**
|
|
13
|
+
* string для ResponseError=1
|
|
14
|
+
*/
|
|
15
|
+
ReportError: any;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
setError(error: any): void;
|
|
19
|
+
setSuccess(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpecFlowTestComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecFlowTestComponent, "app-spec-flow-test", never, {}, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./spec-flow-test/spec-flow-test.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
export declare class SpecFlowTestModule {
|
|
6
|
+
static forRoot(): ModuleWithProviders<SpecFlowTestModule>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpecFlowTestModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpecFlowTestModule, [typeof i1.SpecFlowTestComponent], [typeof i2.CommonModule], [typeof i1.SpecFlowTestComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SpecFlowTestModule>;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './switch.component';
|
|
2
|
-
export * from './switch.module';
|
|
2
|
+
export * from './switch.module';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class pgSwitchComponent implements OnInit, ControlValueAccessor {
|
|
5
|
+
private _disabled;
|
|
6
|
+
_prefixCls: string;
|
|
7
|
+
_color: string;
|
|
8
|
+
_innerPrefixCls: string;
|
|
9
|
+
_classMap: any;
|
|
10
|
+
_size: string;
|
|
11
|
+
_checked: boolean;
|
|
12
|
+
onChange: (value: boolean) => void;
|
|
13
|
+
onTouched: () => void;
|
|
14
|
+
set Size(value: string);
|
|
15
|
+
set Color(value: string);
|
|
16
|
+
get Size(): string;
|
|
17
|
+
set Disabled(value: boolean);
|
|
18
|
+
get Disabled(): boolean;
|
|
19
|
+
onClick(e: MouseEvent): void;
|
|
20
|
+
updateValue(value: boolean): void;
|
|
21
|
+
setClassMap(): void;
|
|
22
|
+
writeValue(value: boolean): void;
|
|
23
|
+
registerOnChange(fn: (_: boolean) => void): void;
|
|
24
|
+
registerOnTouched(fn: () => void): void;
|
|
25
|
+
setDisabledState(isDisabled: boolean): void;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgSwitchComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgSwitchComponent, "pg-switch", never, { "Size": "Size"; "Color": "Color"; "Disabled": "Disabled"; }, { "onChange": "onChange"; }, never, ["[checked]", "[unchecked]"]>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./switch.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class pgSwitchModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgSwitchModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<pgSwitchModule, [typeof i1.pgSwitchComponent], [typeof i2.CommonModule], [typeof i1.pgSwitchComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<pgSwitchModule>;
|
|
8
|
+
}
|
|
@@ -4,4 +4,4 @@ export { pgTabComponent } from './tab.component';
|
|
|
4
4
|
export { pgTabsInkBarDirective } from './tabs-ink-bar.directive';
|
|
5
5
|
export { pgTabsNavComponent } from './tabs-nav.component';
|
|
6
6
|
export { pgTabSetComponent } from './tabset.component';
|
|
7
|
-
export { pgTabsModule } from './tabs.module';
|
|
7
|
+
export { pgTabsModule } from './tabs.module';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class pgTabBodyComponent {
|
|
4
|
+
content: TemplateRef<void>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabBodyComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgTabBodyComponent, "pg-tab-body", never, { "content": "content"; }, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class pgTabLabelDirective {
|
|
4
|
+
elementRef: ElementRef;
|
|
5
|
+
private _disabled;
|
|
6
|
+
set disabled(value: boolean);
|
|
7
|
+
get disabled(): boolean;
|
|
8
|
+
constructor(elementRef: ElementRef);
|
|
9
|
+
getOffsetLeft(): number;
|
|
10
|
+
getOffsetWidth(): number;
|
|
11
|
+
getOffsetTop(): number;
|
|
12
|
+
getOffsetHeight(): number;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabLabelDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<pgTabLabelDirective, "[pg-tab-label]", never, { "disabled": "disabled"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { pgTabSetComponent } from './tabset.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class pgTabComponent implements OnDestroy, OnInit {
|
|
5
|
+
private pgTabSetComponent;
|
|
6
|
+
private disabled;
|
|
7
|
+
position: number | null;
|
|
8
|
+
origin: number | null;
|
|
9
|
+
set Disabled(value: boolean);
|
|
10
|
+
get Disabled(): boolean;
|
|
11
|
+
pgSelect: EventEmitter<any>;
|
|
12
|
+
pgClick: EventEmitter<any>;
|
|
13
|
+
pgDeselect: EventEmitter<any>;
|
|
14
|
+
_tabHeading: TemplateRef<void>;
|
|
15
|
+
_content: TemplateRef<void>;
|
|
16
|
+
get content(): TemplateRef<void> | null;
|
|
17
|
+
constructor(pgTabSetComponent: pgTabSetComponent);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgTabComponent, "pg-tab", never, { "Disabled": "Disabled"; }, { "pgSelect": "pgSelect"; "pgClick": "pgClick"; "pgDeselect": "pgDeselect"; }, ["_tabHeading"], ["*"]>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare type TabPositionMode = 'horizontal' | 'vertical';
|
|
4
|
+
export declare class pgTabsInkBarDirective {
|
|
5
|
+
private _renderer;
|
|
6
|
+
private _elementRef;
|
|
7
|
+
private _ngZone;
|
|
8
|
+
private _animated;
|
|
9
|
+
set Animated(value: boolean);
|
|
10
|
+
get Animated(): boolean;
|
|
11
|
+
PositionMode: TabPositionMode;
|
|
12
|
+
constructor(_renderer: Renderer2, _elementRef: ElementRef, _ngZone: NgZone);
|
|
13
|
+
alignToElement(element: HTMLElement): void;
|
|
14
|
+
show(): void;
|
|
15
|
+
setDisplay(value: string): void;
|
|
16
|
+
hide(): void;
|
|
17
|
+
_getLeftPosition(element: HTMLElement): string;
|
|
18
|
+
_getElementWidth(element: HTMLElement): string;
|
|
19
|
+
_getTopPosition(element: HTMLElement): string;
|
|
20
|
+
_getElementHeight(element: HTMLElement): string;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabsInkBarDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<pgTabsInkBarDirective, "[pg-tabs-ink-bar]", never, { "Animated": "Animated"; "PositionMode": "PositionMode"; }, {}, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/** code from https://github.com/angular/material2 */
|
|
2
|
+
import { Direction, Directionality } from '@angular/cdk/bidi';
|
|
3
|
+
import { AfterContentChecked, AfterContentInit, ElementRef, NgZone, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { pgTabLabelDirective } from './tab-label.directive';
|
|
6
|
+
import { pgTabsInkBarDirective } from './tabs-ink-bar.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare type ScrollDirection = 'after' | 'before';
|
|
9
|
+
/** duplicated defined https://github.com/angular/angular-cli/issues/2034 **/
|
|
10
|
+
export declare type TabPositionMode = 'horizontal' | 'vertical';
|
|
11
|
+
export declare class pgTabsNavComponent implements AfterContentChecked, AfterContentInit {
|
|
12
|
+
_elementRef: ElementRef;
|
|
13
|
+
private _ngZone;
|
|
14
|
+
private _renderer;
|
|
15
|
+
private _dir;
|
|
16
|
+
private _animated;
|
|
17
|
+
private _hideBar;
|
|
18
|
+
private _showPagination;
|
|
19
|
+
_showPaginationControls: boolean;
|
|
20
|
+
_disableScrollAfter: boolean;
|
|
21
|
+
_disableScrollBefore: boolean;
|
|
22
|
+
_scrollDistance: number;
|
|
23
|
+
_selectedIndexChanged: boolean;
|
|
24
|
+
_realignInkBar: Subscription | null;
|
|
25
|
+
_tabLabelCount: number;
|
|
26
|
+
_scrollDistanceChanged: boolean;
|
|
27
|
+
_selectedIndex: number;
|
|
28
|
+
_tabPositionMode: TabPositionMode;
|
|
29
|
+
_tabPosition: string;
|
|
30
|
+
Size: string;
|
|
31
|
+
_type: string;
|
|
32
|
+
set Animated(value: boolean);
|
|
33
|
+
get Animated(): boolean;
|
|
34
|
+
set Position(value: string);
|
|
35
|
+
get Position(): string;
|
|
36
|
+
set HideBar(value: boolean);
|
|
37
|
+
get HideBar(): boolean;
|
|
38
|
+
set Type(value: string);
|
|
39
|
+
get Type(): string;
|
|
40
|
+
_tabBarExtraContent: TemplateRef<void>;
|
|
41
|
+
_labelWrappers: QueryList<pgTabLabelDirective>;
|
|
42
|
+
_inkBar: pgTabsInkBarDirective;
|
|
43
|
+
_tabListContainer: ElementRef;
|
|
44
|
+
_tabList: ElementRef;
|
|
45
|
+
set ShowPagination(value: boolean);
|
|
46
|
+
get ShowPagination(): boolean;
|
|
47
|
+
set PositionMode(value: TabPositionMode);
|
|
48
|
+
get PositionMode(): TabPositionMode;
|
|
49
|
+
set selectedIndex(value: number);
|
|
50
|
+
get selectedIndex(): number;
|
|
51
|
+
constructor(_elementRef: ElementRef, _ngZone: NgZone, _renderer: Renderer2, _dir: Directionality);
|
|
52
|
+
_onContentChanges(): void;
|
|
53
|
+
_scrollHeader(scrollDir: ScrollDirection): void;
|
|
54
|
+
ngAfterContentChecked(): void;
|
|
55
|
+
ngAfterContentInit(): void;
|
|
56
|
+
_updateTabScrollPosition(): void;
|
|
57
|
+
_updatePagination(): void;
|
|
58
|
+
_checkPaginationEnabled(): void;
|
|
59
|
+
_scrollToLabel(labelIndex: number): void;
|
|
60
|
+
_checkScrollingControls(): void;
|
|
61
|
+
/**
|
|
62
|
+
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
|
63
|
+
* is equal to the difference in width between the tab list container and tab header container.
|
|
64
|
+
*
|
|
65
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
66
|
+
* should be called sparingly.
|
|
67
|
+
*/
|
|
68
|
+
_getMaxScrollDistance(): number;
|
|
69
|
+
/** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
|
|
70
|
+
set scrollDistance(v: number);
|
|
71
|
+
get scrollDistance(): number;
|
|
72
|
+
get viewWidthHeightPix(): number;
|
|
73
|
+
get tabListScrollWidthHeightPix(): number;
|
|
74
|
+
get elementRefOffSetWidthHeight(): number;
|
|
75
|
+
_getLayoutDirection(): Direction;
|
|
76
|
+
_alignInkBarToSelectedTab(): void;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabsNavComponent, [null, null, null, { optional: true; }]>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgTabsNavComponent, "pg-tabs-nav", never, { "Size": "Size"; "Animated": "Animated"; "Position": "Position"; "HideBar": "HideBar"; "Type": "Type"; "ShowPagination": "ShowPagination"; "PositionMode": "PositionMode"; "selectedIndex": "selectedIndex"; }, {}, ["_tabBarExtraContent", "_labelWrappers"], ["*"]>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tab.component";
|
|
3
|
+
import * as i2 from "./tabset.component";
|
|
4
|
+
import * as i3 from "./tabs-nav.component";
|
|
5
|
+
import * as i4 from "./tab-label.directive";
|
|
6
|
+
import * as i5 from "./tabs-ink-bar.directive";
|
|
7
|
+
import * as i6 from "./tab-body.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@angular/cdk/observers";
|
|
10
|
+
export declare class pgTabsModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabsModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<pgTabsModule, [typeof i1.pgTabComponent, typeof i2.pgTabSetComponent, typeof i3.pgTabsNavComponent, typeof i4.pgTabLabelDirective, typeof i5.pgTabsInkBarDirective, typeof i6.pgTabBodyComponent], [typeof i7.CommonModule, typeof i8.ObserversModule], [typeof i1.pgTabComponent, typeof i2.pgTabSetComponent, typeof i3.pgTabsNavComponent, typeof i4.pgTabLabelDirective, typeof i5.pgTabsInkBarDirective, typeof i6.pgTabBodyComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<pgTabsModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/** code from https://github.com/angular/material2 */
|
|
2
|
+
import { AfterContentChecked, AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { pgTabComponent } from './tab.component';
|
|
5
|
+
import { pgTabsNavComponent } from './tabs-nav.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface AnimatedInterface {
|
|
8
|
+
inkBar: boolean;
|
|
9
|
+
tabPane: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class TabChangeEvent {
|
|
12
|
+
index: number;
|
|
13
|
+
tab: pgTabComponent;
|
|
14
|
+
}
|
|
15
|
+
export declare type TabPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
16
|
+
export declare type TabPositionMode = 'horizontal' | 'vertical';
|
|
17
|
+
export declare type TabType = 'line' | 'fillup' | 'linetriangle';
|
|
18
|
+
export declare class pgTabSetComponent implements AfterContentChecked, OnInit, AfterViewInit {
|
|
19
|
+
private _renderer;
|
|
20
|
+
_el: any;
|
|
21
|
+
_classMap: any;
|
|
22
|
+
_prefixCls: string;
|
|
23
|
+
_width: any;
|
|
24
|
+
_tabPosition: TabPosition;
|
|
25
|
+
_tabPositionMode: TabPositionMode;
|
|
26
|
+
_indexToSelect: number | null;
|
|
27
|
+
_selectedIndex: number | null;
|
|
28
|
+
_isViewInit: boolean;
|
|
29
|
+
_tabs: pgTabComponent[];
|
|
30
|
+
_tabAnimation: string;
|
|
31
|
+
_extra_tab_class: string;
|
|
32
|
+
_extra_tabcontent_class: string;
|
|
33
|
+
TabBarExtraTemplate: TemplateRef<void>;
|
|
34
|
+
TabBarExtraContent: TemplateRef<void>;
|
|
35
|
+
_tabNav: pgTabsNavComponent;
|
|
36
|
+
_tabContent: ElementRef;
|
|
37
|
+
_hostContent: ElementRef;
|
|
38
|
+
Animated: AnimatedInterface | boolean;
|
|
39
|
+
ShowPagination: boolean;
|
|
40
|
+
Hide: boolean;
|
|
41
|
+
set SelectedIndex(value: number | null);
|
|
42
|
+
get SelectedIndex(): number | null;
|
|
43
|
+
get SelectedIndexChange(): Observable<number>;
|
|
44
|
+
SelectChange: EventEmitter<TabChangeEvent>;
|
|
45
|
+
Size: string;
|
|
46
|
+
_type: TabType;
|
|
47
|
+
tabs: pgTabComponent[];
|
|
48
|
+
set TabPosition(value: TabPosition);
|
|
49
|
+
get TabPosition(): TabPosition;
|
|
50
|
+
set extraTabClass(value: string);
|
|
51
|
+
set extraTabContentClass(value: string);
|
|
52
|
+
set Type(value: TabType);
|
|
53
|
+
set tabAnimation(value: string);
|
|
54
|
+
get Type(): TabType;
|
|
55
|
+
_setPosition(value: TabPosition): void;
|
|
56
|
+
_setClassMap(): void;
|
|
57
|
+
clickLabel(index: number): void;
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
ngAfterContentChecked(): void;
|
|
60
|
+
ngAfterViewInit(): void;
|
|
61
|
+
private _createChangeEvent;
|
|
62
|
+
get inkBarAnimated(): boolean;
|
|
63
|
+
get tabPaneAnimated(): boolean;
|
|
64
|
+
constructor(_renderer: Renderer2);
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<pgTabSetComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<pgTabSetComponent, "pg-tabset", never, { "TabBarExtraTemplate": "TabBarExtraTemplate"; "Animated": "Animated"; "ShowPagination": "ShowPagination"; "Hide": "Hide"; "SelectedIndex": "SelectedIndex"; "Size": "Size"; "TabPosition": "TabPosition"; "extraTabClass": "extraTabClass"; "extraTabContentClass": "extraTabContentClass"; "Type": "Type"; "tabAnimation": "tabAnimation"; }, { "SelectedIndexChange": "SelectedIndexChange"; "SelectChange": "SelectChange"; }, ["TabBarExtraContent"], never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toBoolean(value: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const reqAnimFrame: typeof requestAnimationFrame;
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natec/mef-dev-ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
|
|
3
|
+
"version": "0.0.68",
|
|
5
4
|
"description": "MEF.DEV UI Kit Library",
|
|
6
5
|
"author": {
|
|
7
6
|
"name": "NATEC"
|
|
@@ -11,7 +10,6 @@
|
|
|
11
10
|
"Plugin",
|
|
12
11
|
"mef.dev"
|
|
13
12
|
],
|
|
14
|
-
|
|
15
13
|
"exports": {
|
|
16
14
|
"./styles/core": {
|
|
17
15
|
"sass": "./src/lib/styles/pg/core.scss"
|
|
@@ -21,9 +19,19 @@
|
|
|
21
19
|
},
|
|
22
20
|
"./styles/fonts": {
|
|
23
21
|
"sass": "./src/lib/styles/fonts.scss"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": {
|
|
24
|
+
"default": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./natec-mef-dev-ui-kit.d.ts",
|
|
28
|
+
"esm2020": "./esm2020/natec-mef-dev-ui-kit.mjs",
|
|
29
|
+
"es2020": "./fesm2020/natec-mef-dev-ui-kit.mjs",
|
|
30
|
+
"es2015": "./fesm2015/natec-mef-dev-ui-kit.mjs",
|
|
31
|
+
"node": "./fesm2015/natec-mef-dev-ui-kit.mjs",
|
|
32
|
+
"default": "./fesm2020/natec-mef-dev-ui-kit.mjs"
|
|
24
33
|
}
|
|
25
34
|
},
|
|
26
|
-
|
|
27
35
|
"peerDependencies": {
|
|
28
36
|
"@angular/common": "^13.2.0",
|
|
29
37
|
"@angular/core": "^13.2.0"
|
|
@@ -33,5 +41,12 @@
|
|
|
33
41
|
"ngx-bootstrap": "^8.0.0",
|
|
34
42
|
"ngx-ui-loader": "^13.0.0",
|
|
35
43
|
"tslib": "^2.3.0"
|
|
36
|
-
}
|
|
37
|
-
|
|
44
|
+
},
|
|
45
|
+
"module": "fesm2015/natec-mef-dev-ui-kit.mjs",
|
|
46
|
+
"es2020": "fesm2020/natec-mef-dev-ui-kit.mjs",
|
|
47
|
+
"esm2020": "esm2020/natec-mef-dev-ui-kit.mjs",
|
|
48
|
+
"fesm2020": "fesm2020/natec-mef-dev-ui-kit.mjs",
|
|
49
|
+
"fesm2015": "fesm2015/natec-mef-dev-ui-kit.mjs",
|
|
50
|
+
"typings": "natec-mef-dev-ui-kit.d.ts",
|
|
51
|
+
"sideEffects": false
|
|
52
|
+
}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
export * from './lib/markup-kit/collapse/index';
|
|
2
|
-
export * from './lib/markup-kit/utils/loader/index';
|
|
3
|
-
export * from './lib/markup-kit/utils/filtered-field/index';
|
|
4
|
-
export * from './lib/markup-kit/utils/help-block/index';
|
|
5
|
-
export * from './lib/markup-kit/card/index';
|
|
6
|
-
export * from './lib/markup-kit/modals/index';
|
|
7
|
-
export * from './lib/markup-kit/modals/index';
|
|
8
|
-
export * from './lib/markup-kit/page-layouts/index';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export * from './lib/pg-components/
|
|
13
|
-
export * from './lib/pg-components/
|
|
14
|
-
export * from './lib/pg-components/
|
|
15
|
-
export * from './lib/pg-components/spec-flow-test/index';
|
|
16
|
-
export * from './lib/pg-components/switch/index';
|
|
17
|
-
export * from './lib/pg-components/tabs/index';
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
export * from './lib/markup-kit/collapse/index';
|
|
2
|
+
export * from './lib/markup-kit/utils/loader/index';
|
|
3
|
+
export * from './lib/markup-kit/utils/filtered-field/index';
|
|
4
|
+
export * from './lib/markup-kit/utils/help-block/index';
|
|
5
|
+
export * from './lib/markup-kit/card/index';
|
|
6
|
+
export * from './lib/markup-kit/modals/index';
|
|
7
|
+
export * from './lib/markup-kit/modals/index';
|
|
8
|
+
export * from './lib/markup-kit/page-layouts/index';
|
|
9
|
+
export * from './lib/pg-components/card/index';
|
|
10
|
+
export * from './lib/pg-components/progress/index';
|
|
11
|
+
export * from './lib/pg-components/select/index';
|
|
12
|
+
export * from './lib/pg-components/spec-flow-test/index';
|
|
13
|
+
export * from './lib/pg-components/switch/index';
|
|
14
|
+
export * from './lib/pg-components/tabs/index';
|
package/.browserslistrc
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
2
|
-
# For additional information regarding the format and rule options, please see:
|
|
3
|
-
# https://github.com/browserslist/browserslist#queries
|
|
4
|
-
|
|
5
|
-
# For the full list of supported browsers by the Angular framework, please see:
|
|
6
|
-
# https://angular.io/guide/browser-support
|
|
7
|
-
|
|
8
|
-
# You can see what browsers were selected by your queries by running:
|
|
9
|
-
# npx browserslist
|
|
10
|
-
|
|
11
|
-
last 1 Chrome version
|
|
12
|
-
last 1 Firefox version
|
|
13
|
-
last 2 Edge major versions
|
|
14
|
-
last 2 Safari major versions
|
|
15
|
-
last 2 iOS major versions
|
|
16
|
-
Firefox ESR
|
package/karma.conf.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/mef-dev-ui-tool-kit'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{ type: 'html' },
|
|
32
|
-
{ type: 'text-summary' }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|