ngx-register-base 0.1.0 → 0.1.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/esm2022/lib/components/index.mjs +3 -2
- package/esm2022/lib/components/inputs/index.mjs +20 -0
- package/esm2022/lib/components/inputs/inputs.module.mjs +170 -0
- package/esm2022/lib/components/inputs/param-calendar-year/param-calendar-year.component.mjs +25 -0
- package/esm2022/lib/components/inputs/param-custom/param-custom.component.mjs +12 -0
- package/esm2022/lib/components/inputs/param-date/param-date.component.mjs +76 -0
- package/esm2022/lib/components/inputs/param-date-range/param-date-range.component.mjs +57 -0
- package/esm2022/lib/components/inputs/param-date-time/param-date-time.component.mjs +85 -0
- package/esm2022/lib/components/inputs/param-date-time-range/param-date-time-range.component.mjs +94 -0
- package/esm2022/lib/components/inputs/param-month/param-month.component.mjs +50 -0
- package/esm2022/lib/components/inputs/param-month-range/param-month-range.component.mjs +62 -0
- package/esm2022/lib/components/inputs/param-multi-select/param-multi-select.component.mjs +352 -0
- package/esm2022/lib/components/inputs/param-select/param-select.component.mjs +207 -0
- package/esm2022/lib/components/inputs/param-switcher/param-switcher.component.mjs +21 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.mjs +28 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/index.mjs +3 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.mjs +105 -0
- package/esm2022/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.mjs +10 -0
- package/esm2022/lib/components/inputs/param-text/param-text.component.mjs +41 -0
- package/esm2022/lib/components/inputs/param-textarea/param-textarea.component.mjs +39 -0
- package/esm2022/lib/components/inputs/param-toggle/param-toggle.component.mjs +20 -0
- package/esm2022/lib/components/inputs/param-tree/consts/param-tree.consts.mjs +36 -0
- package/esm2022/lib/components/inputs/param-tree/index.mjs +6 -0
- package/esm2022/lib/components/inputs/param-tree/param-tree.component.mjs +199 -0
- package/esm2022/lib/components/inputs/param-tree/services/param-tree.service.mjs +116 -0
- package/esm2022/lib/components/inputs/param-tree/services/sync-tree-loader.service.mjs +20 -0
- package/esm2022/lib/components/inputs/param-tree/tokens/param-tree.tokens.mjs +3 -0
- package/esm2022/lib/components/inputs/param-tree/types/param-tree.types.mjs +2 -0
- package/esm2022/lib/components/inputs/param-tree/utils/param-tree.utils.mjs +9 -0
- package/esm2022/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.mjs +82 -0
- package/esm2022/lib/components/inputs/param-tree-select/param-tree-select.component.mjs +82 -0
- package/esm2022/lib/components/inputs/sub-components/param-clear-button/param-clear-button.component.mjs +26 -0
- package/esm2022/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.mjs +15 -0
- package/esm2022/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.mjs +12 -0
- package/esm2022/lib/consts/params.consts.mjs +2 -0
- package/fesm2022/ngx-register-base.mjs +5566 -3749
- package/fesm2022/ngx-register-base.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/inputs/index.d.ts +19 -0
- package/lib/components/inputs/inputs.module.d.ts +32 -0
- package/lib/components/inputs/param-calendar-year/param-calendar-year.component.d.ts +14 -0
- package/lib/components/inputs/param-custom/param-custom.component.d.ts +6 -0
- package/lib/components/inputs/param-date/param-date.component.d.ts +20 -0
- package/lib/components/inputs/param-date-range/param-date-range.component.d.ts +22 -0
- package/lib/components/inputs/param-date-time/param-date-time.component.d.ts +25 -0
- package/lib/components/inputs/param-date-time-range/param-date-time-range.component.d.ts +28 -0
- package/lib/components/inputs/param-month/param-month.component.d.ts +18 -0
- package/lib/components/inputs/param-month-range/param-month-range.component.d.ts +21 -0
- package/lib/components/inputs/param-multi-select/param-multi-select.component.d.ts +50 -0
- package/lib/components/inputs/param-select/param-select.component.d.ts +29 -0
- package/lib/components/inputs/param-switcher/param-switcher.component.d.ts +8 -0
- package/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.d.ts +2 -0
- package/lib/components/inputs/param-switcher-date-time-range/index.d.ts +2 -0
- package/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.d.ts +19 -0
- package/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.d.ts +8 -0
- package/lib/components/inputs/param-text/param-text.component.d.ts +11 -0
- package/lib/components/inputs/param-textarea/param-textarea.component.d.ts +12 -0
- package/lib/components/inputs/param-toggle/param-toggle.component.d.ts +9 -0
- package/lib/components/inputs/param-tree/consts/param-tree.consts.d.ts +6 -0
- package/lib/components/inputs/param-tree/index.d.ts +5 -0
- package/lib/components/inputs/param-tree/param-tree.component.d.ts +37 -0
- package/lib/components/inputs/param-tree/services/param-tree.service.d.ts +37 -0
- package/lib/components/inputs/param-tree/services/sync-tree-loader.service.d.ts +10 -0
- package/lib/components/inputs/param-tree/tokens/param-tree.tokens.d.ts +3 -0
- package/lib/components/inputs/param-tree/types/param-tree.types.d.ts +32 -0
- package/lib/components/inputs/param-tree/utils/param-tree.utils.d.ts +7 -0
- package/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.d.ts +31 -0
- package/lib/components/inputs/param-tree-select/param-tree-select.component.d.ts +30 -0
- package/lib/components/inputs/sub-components/param-clear-button/param-clear-button.component.d.ts +10 -0
- package/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.d.ts +6 -0
- package/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.d.ts +5 -0
- package/lib/consts/params.consts.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { FilterButtonComponent } from './filter-button/filter-button.component';
|
|
2
|
-
export * from './register-table/index';
|
|
3
2
|
export * from './filters/index';
|
|
3
|
+
export * from './inputs/index';
|
|
4
|
+
export * from './register-table/index';
|
|
4
5
|
export * from './sliding-panel/sliding-panel.module';
|
|
5
6
|
export { SlidingPanelComponent } from './sliding-panel/sliding-panel.component';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItYmFzZS9zcmMvbGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDaEYsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZpbHRlckJ1dHRvbkNvbXBvbmVudCB9IGZyb20gJy4vZmlsdGVyLWJ1dHRvbi9maWx0ZXItYnV0dG9uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbHRlcnMvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnB1dHMvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWdpc3Rlci10YWJsZS9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL3NsaWRpbmctcGFuZWwvc2xpZGluZy1wYW5lbC5tb2R1bGUnO1xuZXhwb3J0IHsgU2xpZGluZ1BhbmVsQ29tcG9uZW50IH0gZnJvbSAnLi9zbGlkaW5nLXBhbmVsL3NsaWRpbmctcGFuZWwuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { ParamCalendarYearComponent } from './param-calendar-year/param-calendar-year.component';
|
|
2
|
+
export { ParamCustomComponent } from './param-custom/param-custom.component';
|
|
3
|
+
export { ParamDateComponent } from './param-date/param-date.component';
|
|
4
|
+
export { ParamDateRangeComponent } from './param-date-range/param-date-range.component';
|
|
5
|
+
export { ParamDateTimeComponent } from './param-date-time/param-date-time.component';
|
|
6
|
+
export { ParamDateTimeRangeComponent } from './param-date-time-range/param-date-time-range.component';
|
|
7
|
+
export { ParamMonthComponent } from './param-month/param-month.component';
|
|
8
|
+
export { ParamMonthRangeComponent } from './param-month-range/param-month-range.component';
|
|
9
|
+
export { ParamMultiSelectComponent } from './param-multi-select/param-multi-select.component';
|
|
10
|
+
export { ParamSelectComponent } from './param-select/param-select.component';
|
|
11
|
+
export { ParamSwitcherComponent } from './param-switcher/param-switcher.component';
|
|
12
|
+
export * from './param-switcher-date-time-range/index';
|
|
13
|
+
export { ParamTextComponent } from './param-text/param-text.component';
|
|
14
|
+
export { ParamTextareaComponent } from './param-textarea/param-textarea.component';
|
|
15
|
+
export { ParamToggleComponent } from './param-toggle/param-toggle.component';
|
|
16
|
+
export * from './param-tree/index';
|
|
17
|
+
export { ParamTreeMultiSelectComponent } from './param-tree-multi-select/param-tree-multi-select.component';
|
|
18
|
+
export { ParamTreeSelectComponent } from './param-tree-select/param-tree-select.component';
|
|
19
|
+
export * from './inputs.module';
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItYmFzZS9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQ2pHLE9BQU8sRUFBRSxvQkFBb0IsRUFBRS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ZWN0L3BhcmFtLXNlbGVjdC5jb21wb25lbnQnO1xuZXhwb3J0IHsgUGFyYW1Td2l0Y2hlckNvbXBvbmVudCB9IGZyb20gJy4vcGFyYW0tc3dpdGNoZXIvcGFyYW0tc3dpdGNoZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGFyYW0tc3dpdGNoZXItZGF0ZS10aW1lLXJhbmdlL2luZGV4JztcbmV4cG9ydCB7IFBhcmFtVGV4dENvbXBvbmVudCB9IGZyb20gJy4vcGFyYW0tdGV4dC9wYXJhbS10ZXh0LmNvbXBvbmVudCc7XG5leHBvcnQgeyBQYXJhbVRleHRhcmVhQ29tcG9uZW50IH0gZnJvbSAnLi9wYXJhbS10ZXh0YXJlYS9wYXJhbS10ZXh0YXJlYS5jb21wb25lbnQnO1xuZXhwb3J0IHsgUGFyYW1Ub2dnbGVDb21wb25lbnQgfSBmcm9tICcuL3BhcmFtLXRvZ2dsZS9wYXJhbS10b2dnbGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGFyYW0tdHJlZS9pbmRleCc7XG5leHBvcnQgeyBQYXJhbVRyZWVNdWx0aVNlbGVjdENvbXBvbmVudCB9IGZyb20gJy4vcGFyYW0tdHJlZS1tdWx0aS1zZWxlY3QvcGFyYW0tdHJlZS1tdWx0aS1zZWxlY3QuY29tcG9uZW50JztcbmV4cG9ydCB7IFBhcmFtVHJlZVNlbGVjdENvbXBvbmVudCB9IGZyb20gJy4vcGFyYW0tdHJlZS1zZWxlY3QvcGFyYW0tdHJlZS1zZWxlY3QuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXRzLm1vZHVsZSc7XG4iXX0=
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ParamSelectComponent } from './param-select/param-select.component';
|
|
4
|
+
import { ParamMultiSelectComponent } from './param-multi-select/param-multi-select.component';
|
|
5
|
+
import { ParamDateRangeComponent } from './param-date-range/param-date-range.component';
|
|
6
|
+
import { ParamMonthComponent } from './param-month/param-month.component';
|
|
7
|
+
import { ParamMonthRangeComponent } from './param-month-range/param-month-range.component';
|
|
8
|
+
import { ParamToggleComponent } from './param-toggle/param-toggle.component';
|
|
9
|
+
import { ParamTextComponent } from './param-text/param-text.component';
|
|
10
|
+
import { ParamDateTimeRangeComponent } from './param-date-time-range/param-date-time-range.component';
|
|
11
|
+
import { ParamCustomComponent } from './param-custom/param-custom.component';
|
|
12
|
+
import { ParamSwitcherComponent } from './param-switcher/param-switcher.component';
|
|
13
|
+
import { ParamDateComponent } from './param-date/param-date.component';
|
|
14
|
+
import { ParamSwitcherDateTimeRangeComponent } from './param-switcher-date-time-range/param-switcher-date-time-range.component';
|
|
15
|
+
import { ParamDateTimeComponent } from './param-date-time/param-date-time.component';
|
|
16
|
+
import { TuiAppearance, TuiButton, TuiIcon, TuiTextfieldComponent, TuiTextfieldDirective, TuiTextfieldDropdownDirective, TuiTextfieldOptionsDirective, } from '@taiga-ui/core';
|
|
17
|
+
import { TuiInputModule, TuiInputYearModule, TuiTextfieldControllerModule } from '@taiga-ui/legacy';
|
|
18
|
+
import { TuiChevron, TuiDataListWrapperComponent, TuiFilterByInputPipe, TuiSelectDirective, TuiSwitch, } from '@taiga-ui/kit';
|
|
19
|
+
import { TuiInputSearch } from '@taiga-ui/layout';
|
|
20
|
+
import { ParamTextareaComponent } from './param-textarea/param-textarea.component';
|
|
21
|
+
import { ParamCalendarYearComponent } from './param-calendar-year/param-calendar-year.component';
|
|
22
|
+
import { FormatDatePipe } from '../../directives/date/format-date.pipe';
|
|
23
|
+
import { PrizmSharedModule } from '../../utils/prizm.shared.module';
|
|
24
|
+
import { PrizmInputMultiSelectModule } from '@prizm-ui/components';
|
|
25
|
+
import { ParamDeleteContentBtnComponent } from './sub-components/param-delete-content-icon/param-delete-content-btn.component';
|
|
26
|
+
import { ParamInvalidIconComponent } from './sub-components/param-invalid-icon/param-invalid-icon.component';
|
|
27
|
+
import { ParamClearButtonComponent } from './sub-components/param-clear-button/param-clear-button.component';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
29
|
+
export class InputsModule {
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
31
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: InputsModule, declarations: [ParamDateRangeComponent,
|
|
32
|
+
ParamDateTimeComponent,
|
|
33
|
+
ParamMonthComponent,
|
|
34
|
+
ParamMonthRangeComponent,
|
|
35
|
+
ParamToggleComponent,
|
|
36
|
+
ParamDateTimeRangeComponent,
|
|
37
|
+
ParamCustomComponent,
|
|
38
|
+
ParamSwitcherComponent,
|
|
39
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
40
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
41
|
+
ParamCalendarYearComponent], imports: [CommonModule,
|
|
42
|
+
ParamTextComponent,
|
|
43
|
+
PrizmSharedModule,
|
|
44
|
+
PrizmInputMultiSelectModule,
|
|
45
|
+
TuiTextfieldComponent,
|
|
46
|
+
TuiTextfieldDirective,
|
|
47
|
+
TuiTextfieldOptionsDirective,
|
|
48
|
+
TuiAppearance,
|
|
49
|
+
TuiInputModule,
|
|
50
|
+
TuiTextfieldControllerModule,
|
|
51
|
+
TuiIcon,
|
|
52
|
+
TuiButton,
|
|
53
|
+
TuiChevron,
|
|
54
|
+
TuiSelectDirective,
|
|
55
|
+
TuiDataListWrapperComponent,
|
|
56
|
+
TuiTextfieldDropdownDirective,
|
|
57
|
+
TuiFilterByInputPipe,
|
|
58
|
+
TuiInputSearch,
|
|
59
|
+
ParamMultiSelectComponent,
|
|
60
|
+
ParamSelectComponent,
|
|
61
|
+
ParamDateComponent,
|
|
62
|
+
TuiSwitch,
|
|
63
|
+
ParamTextareaComponent,
|
|
64
|
+
TuiInputYearModule,
|
|
65
|
+
FormatDatePipe,
|
|
66
|
+
ParamClearButtonComponent,
|
|
67
|
+
ParamDeleteContentBtnComponent,
|
|
68
|
+
ParamInvalidIconComponent], exports: [ParamSelectComponent,
|
|
69
|
+
ParamMultiSelectComponent,
|
|
70
|
+
ParamDateRangeComponent,
|
|
71
|
+
ParamDateTimeComponent,
|
|
72
|
+
ParamMonthComponent,
|
|
73
|
+
ParamMonthRangeComponent,
|
|
74
|
+
ParamToggleComponent,
|
|
75
|
+
ParamTextComponent,
|
|
76
|
+
ParamDateTimeRangeComponent,
|
|
77
|
+
ParamCustomComponent,
|
|
78
|
+
ParamSwitcherComponent,
|
|
79
|
+
ParamDateComponent,
|
|
80
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
81
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
82
|
+
ParamTextareaComponent,
|
|
83
|
+
ParamCalendarYearComponent] }); }
|
|
84
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InputsModule, imports: [CommonModule,
|
|
85
|
+
ParamTextComponent,
|
|
86
|
+
PrizmSharedModule,
|
|
87
|
+
PrizmInputMultiSelectModule,
|
|
88
|
+
TuiTextfieldComponent,
|
|
89
|
+
TuiInputModule,
|
|
90
|
+
TuiTextfieldControllerModule,
|
|
91
|
+
TuiIcon,
|
|
92
|
+
TuiDataListWrapperComponent,
|
|
93
|
+
TuiInputSearch,
|
|
94
|
+
ParamMultiSelectComponent,
|
|
95
|
+
ParamSelectComponent,
|
|
96
|
+
ParamDateComponent,
|
|
97
|
+
TuiSwitch,
|
|
98
|
+
ParamTextareaComponent,
|
|
99
|
+
TuiInputYearModule,
|
|
100
|
+
ParamClearButtonComponent,
|
|
101
|
+
ParamDeleteContentBtnComponent,
|
|
102
|
+
ParamInvalidIconComponent] }); }
|
|
103
|
+
}
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InputsModule, decorators: [{
|
|
105
|
+
type: NgModule,
|
|
106
|
+
args: [{
|
|
107
|
+
declarations: [
|
|
108
|
+
ParamDateRangeComponent,
|
|
109
|
+
ParamDateTimeComponent,
|
|
110
|
+
ParamMonthComponent,
|
|
111
|
+
ParamMonthRangeComponent,
|
|
112
|
+
ParamToggleComponent,
|
|
113
|
+
ParamDateTimeRangeComponent,
|
|
114
|
+
ParamCustomComponent,
|
|
115
|
+
ParamSwitcherComponent,
|
|
116
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
117
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
118
|
+
ParamCalendarYearComponent,
|
|
119
|
+
],
|
|
120
|
+
imports: [
|
|
121
|
+
CommonModule,
|
|
122
|
+
ParamTextComponent,
|
|
123
|
+
PrizmSharedModule,
|
|
124
|
+
PrizmInputMultiSelectModule,
|
|
125
|
+
TuiTextfieldComponent,
|
|
126
|
+
TuiTextfieldDirective,
|
|
127
|
+
TuiTextfieldOptionsDirective,
|
|
128
|
+
TuiAppearance,
|
|
129
|
+
TuiInputModule,
|
|
130
|
+
TuiTextfieldControllerModule,
|
|
131
|
+
TuiIcon,
|
|
132
|
+
TuiButton,
|
|
133
|
+
TuiChevron,
|
|
134
|
+
TuiSelectDirective,
|
|
135
|
+
TuiDataListWrapperComponent,
|
|
136
|
+
TuiTextfieldDropdownDirective,
|
|
137
|
+
TuiFilterByInputPipe,
|
|
138
|
+
TuiInputSearch,
|
|
139
|
+
ParamMultiSelectComponent,
|
|
140
|
+
ParamSelectComponent,
|
|
141
|
+
ParamDateComponent,
|
|
142
|
+
TuiSwitch,
|
|
143
|
+
ParamTextareaComponent,
|
|
144
|
+
TuiInputYearModule,
|
|
145
|
+
FormatDatePipe,
|
|
146
|
+
ParamClearButtonComponent,
|
|
147
|
+
ParamDeleteContentBtnComponent,
|
|
148
|
+
ParamInvalidIconComponent,
|
|
149
|
+
],
|
|
150
|
+
exports: [
|
|
151
|
+
ParamSelectComponent,
|
|
152
|
+
ParamMultiSelectComponent,
|
|
153
|
+
ParamDateRangeComponent,
|
|
154
|
+
ParamDateTimeComponent,
|
|
155
|
+
ParamMonthComponent,
|
|
156
|
+
ParamMonthRangeComponent,
|
|
157
|
+
ParamToggleComponent,
|
|
158
|
+
ParamTextComponent,
|
|
159
|
+
ParamDateTimeRangeComponent,
|
|
160
|
+
ParamCustomComponent,
|
|
161
|
+
ParamSwitcherComponent,
|
|
162
|
+
ParamDateComponent,
|
|
163
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
164
|
+
ParamSwitcherDateTimeRangeComponent,
|
|
165
|
+
ParamTextareaComponent,
|
|
166
|
+
ParamCalendarYearComponent,
|
|
167
|
+
],
|
|
168
|
+
}]
|
|
169
|
+
}] });
|
|
170
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXRzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZWdpc3Rlci1iYXNlL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXRzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUM5RixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQztBQUN4RixPQUFPLEVBQUUsbUJBQW1CLEVBQUU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Component, input } from '@angular/core';
|
|
2
|
+
import { ParamBase } from '../../../core/param/param-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "@taiga-ui/core";
|
|
7
|
+
import * as i4 from "@taiga-ui/legacy";
|
|
8
|
+
export class ParamCalendarYearComponent extends ParamBase {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.buildShowedValue = input((value) => value?.toString() ?? '-');
|
|
12
|
+
this.disabledHandler = (value) => this.disabledYears().includes(value);
|
|
13
|
+
this.disabledYears = input([]);
|
|
14
|
+
this.min = input(null);
|
|
15
|
+
this.max = input(null);
|
|
16
|
+
this.size = input('m');
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamCalendarYearComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: ParamCalendarYearComponent, selector: "sma-param-calendar-year", inputs: { buildShowedValue: { classPropertyName: "buildShowedValue", publicName: "buildShowedValue", isSignal: true, isRequired: false, transformFunction: null }, disabledYears: { classPropertyName: "disabledYears", publicName: "disabledYears", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <tui-textfield\n [tuiTextfieldSize]=\"size()\"\n [tuiTextfieldLabelOutside]=\"true\"\n [tuiTextfieldCleaner]=\"true\"\n >\n <tui-input-year\n [formControl]=\"control\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabledItemHandler]=\"disabledHandler\"\n >\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043E\u0434\n </tui-input-year>\n </tui-textfield>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host ::ng-deep tui-textfield{padding:0}:host ::ng-deep [tuiWrapper][data-appearance=textfield]{box-shadow:none!important}:host ::ng-deep tui-textfield>.t-content{width:100%!important;height:100%!important;margin-inline-end:0!important}:host ::ng-deep tui-input-year{height:100%!important;width:100%!important}:host ::ng-deep tui-input-year tui-primitive-textfield{height:100%!important;max-block-size:none!important}:host ::ng-deep .t-wrapper label{font-size:12px;font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}:host ::ng-deep [automation-id=tui-primitive-textfield__wrapper]{padding-inline-start:calc(var(--t-start, 0rem) + var(--t-padding))}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.TuiTextfieldComponent, selector: "tui-textfield:not([multi])" }, { kind: "directive", type: i3.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiTextfieldCleanerDirective, selector: "[tuiTextfieldCleaner]", inputs: ["tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { kind: "directive", type: i4.TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: ["tuiTextfieldSize"] }, { kind: "component", type: i4.TuiInputYearComponent, selector: "tui-input-year", inputs: ["min", "max", "disabledItemHandler"] }, { kind: "directive", type: i4.TuiInputYearDirective, selector: "tui-input-year" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamCalendarYearComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'sma-param-calendar-year', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <tui-textfield\n [tuiTextfieldSize]=\"size()\"\n [tuiTextfieldLabelOutside]=\"true\"\n [tuiTextfieldCleaner]=\"true\"\n >\n <tui-input-year\n [formControl]=\"control\"\n [max]=\"max()\"\n [min]=\"min()\"\n [disabledItemHandler]=\"disabledHandler\"\n >\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043E\u0434\n </tui-input-year>\n </tui-textfield>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host ::ng-deep tui-textfield{padding:0}:host ::ng-deep [tuiWrapper][data-appearance=textfield]{box-shadow:none!important}:host ::ng-deep tui-textfield>.t-content{width:100%!important;height:100%!important;margin-inline-end:0!important}:host ::ng-deep tui-input-year{height:100%!important;width:100%!important}:host ::ng-deep tui-input-year tui-primitive-textfield{height:100%!important;max-block-size:none!important}:host ::ng-deep .t-wrapper label{font-size:12px;font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}:host ::ng-deep [automation-id=tui-primitive-textfield__wrapper]{padding-inline-start:calc(var(--t-start, 0rem) + var(--t-padding))}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"] }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYW0tY2FsZW5kYXIteWVhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItYmFzZS9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL3BhcmFtLWNhbGVuZGFyLXllYXIvcGFyYW0tY2FsZW5kYXIteWVhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItYmFzZS9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL3BhcmFtLWNhbGVuZGFyLXllYXIvcGFyYW0tY2FsZW5kYXIteWVhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7Ozs7OztBQVEzRCxNQUFNLE9BQU8sMEJBQTJCLFNBQVEsU0FBeUI7SUFOekU7O1FBT1cscUJBQWdCLEdBQUcsS0FBSyxDQUFDLENBQUMsS0FBYSxFQUFVLEVBQUUsQ0FBQyxLQUFLLEVBQUUsUUFBUSxFQUFFLElBQUksR0FBRyxDQUFDLENBQUM7UUFDcEUsb0JBQWUsR0FBOEIsQ0FBQy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cIiBjbGFzcz1cInJlcXVpcmVkXCI+Kjwvc3Bhbj5cbiAgICAgIDwvZGl2PlxuXG4gICAgICA8dHVpLXRleHRmaWVsZFxuICAgICAgICBbdHVpVGV4dGZpZWxkU2l6ZV09XCJzaXplKClcIlxuICAgICAgICBbdHVpVGV4dGZpZWxkTGFiZWxPdXRzaWRlXT1cInRydWVcIlxuICAgICAgICBbdHVpVGV4dGZpZWxkQ2xlYW5lcl09XCJ0cnVlXCJcbiAgICAgID5cbiAgICAgICAgPHR1aS1pbnB1dC15ZWFyXG4gICAgICAgICAgW2Zvcm1Db250cm9sXT1cImNvbnRyb2xcIlxuICAgICAgICAgIFttYXhdPVwibWF4KClcIlxuICAgICAgICAgIFttaW5dPVwibWluKClcIlxuICAgICAgICAgIFtkaXNhYmxlZEl0ZW1IYW5kbGVyXT1cImRpc2FibGVkSGFuZGxlclwiXG4gICAgICAgID5cbiAgICAgICAgICDQktGL0LHQtdGA0LjRgtC1INCz0L7QtFxuICAgICAgICA8L3R1aS1pbnB1dC15ZWFyPlxuICAgICAgPC90dWktdGV4dGZpZWxkPlxuICAgIDwvZGl2PlxuICA8L25nLXRlbXBsYXRlPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { ParamBase } from '../../../core/param/param-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ParamCustomComponent extends ParamBase {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamCustomComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ParamCustomComponent, selector: "sma-param-custom", usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamCustomComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'sma-param-custom', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
11
|
+
}] });
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYW0tY3VzdG9tLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1yZWdpc3Rlci1iYXNlL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvcGFyYW0tY3VzdG9tL3BhcmFtLWN1c3RvbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItYmFzZS9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL3BhcmFtLWN1c3RvbS9wYXJhbS1jdXN0b20uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBTzNELE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxTQUFtQjsrR0FBaEQsb0JBQW9CO21HQUFwQixvQkFBb0IsK0VDUmpDLDZCQUNBOzs0RkRPYSxvQkFBb0I7a0JBTGhDLFNBQVM7K0JBQ0Usa0JBQWtCLG1CQUVYLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBQYXJhbUJhc2UgfSBmcm9tICcuLi8uLi8uLi9jb3JlL3BhcmFtL3BhcmFtLWJhc2UnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWEtcGFyYW0tY3VzdG9tJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3BhcmFtLWN1c3RvbS5jb21wb25lbnQuaHRtbCcsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBQYXJhbUN1c3RvbUNvbXBvbmVudCBleHRlbmRzIFBhcmFtQmFzZTxhbnksIGFueT4ge31cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, input } from '@angular/core';
|
|
2
|
+
import { TuiAppearance, TuiTextfield } from '@taiga-ui/core';
|
|
3
|
+
import { TuiInputDate } from '@taiga-ui/kit';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet } from '@angular/common';
|
|
6
|
+
import { TuiTextfieldControllerModule } from '@taiga-ui/legacy';
|
|
7
|
+
import { TuiDay } from '@taiga-ui/cdk';
|
|
8
|
+
import { ParamInvalidIconComponent } from '../sub-components/param-invalid-icon/param-invalid-icon.component';
|
|
9
|
+
import { ParamDateBase } from '../../../core/param/param-date-base';
|
|
10
|
+
import { EDatePattern } from '../../../directives/date/date-time.types';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@taiga-ui/core";
|
|
13
|
+
import * as i2 from "@taiga-ui/kit";
|
|
14
|
+
import * as i3 from "@taiga-ui/core/components/calendar";
|
|
15
|
+
import * as i4 from "@angular/forms";
|
|
16
|
+
import * as i5 from "@taiga-ui/legacy";
|
|
17
|
+
export class ParamDateComponent extends ParamDateBase {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.placeholder = input('Выберите дату');
|
|
21
|
+
this.min = null;
|
|
22
|
+
this.max = null;
|
|
23
|
+
this.buildShowedValue = input((value) => value ? this._defaultDateConvert(value) : '-');
|
|
24
|
+
this.formatterSavedValue = this._defaultFormatterSaveValue;
|
|
25
|
+
this.parserSavedValue = this._defaultParserSaveValue;
|
|
26
|
+
}
|
|
27
|
+
set formatSavedValue(formatter) {
|
|
28
|
+
this.formatterSavedValue = formatter ?? this._defaultFormatterSaveValue;
|
|
29
|
+
}
|
|
30
|
+
set parseSavedValue(parser) {
|
|
31
|
+
this.parserSavedValue = parser ?? this._defaultParserSaveValue;
|
|
32
|
+
}
|
|
33
|
+
_defaultDateConvert(value) {
|
|
34
|
+
return this._dts.parseDate(value.toString(EDatePattern.TUI_YMD, '-'), EDatePattern.DATE);
|
|
35
|
+
}
|
|
36
|
+
_defaultFormatterSaveValue(value) {
|
|
37
|
+
if (!value) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
const iso = this._dts.toISOString(value.toLocalNativeDate());
|
|
41
|
+
return this._dts.parseDate(iso, EDatePattern.YEAR_MONTH_DAY);
|
|
42
|
+
}
|
|
43
|
+
_defaultParserSaveValue(value) {
|
|
44
|
+
if (!value) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return TuiDay.fromLocalNativeDate(this._dts.isoToLocalDate(value));
|
|
48
|
+
}
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
50
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ParamDateComponent, isStandalone: true, selector: "sma-param-date", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: false, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: false, isRequired: false, transformFunction: null }, formatSavedValue: { classPropertyName: "formatSavedValue", publicName: "formatSavedValue", isSignal: false, isRequired: false, transformFunction: null }, parseSavedValue: { classPropertyName: "parseSavedValue", publicName: "parseSavedValue", isSignal: false, isRequired: false, transformFunction: null }, buildShowedValue: { classPropertyName: "buildShowedValue", publicName: "buildShowedValue", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <tui-textfield\n tuiAppearance=\"sma-input-appearance\"\n tuiTextfieldSize=\"m\"\n [tuiTextfieldLabelOutside]=\"true\"\n >\n <input\n tuiInputDate\n [min]=\"min\"\n [max]=\"max\"\n [placeholder]=\"placeholder()\"\n [formControl]=\"control\"\n />\n <tui-calendar *tuiTextfieldDropdown />\n\n <div class=\"textfield-icons-container\">\n @if (isInvalidAndNotPristine) {\n <sma-param-invalid-icon></sma-param-invalid-icon>\n }\n </div>\n </tui-textfield>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column;padding:0 2px}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:none;border-bottom:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px!important;border-bottom:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=filter] ::ng-deep input{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"], dependencies: [{ kind: "component", type: i1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])" }, { kind: "directive", type: i1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i1.TuiTextfieldDropdownDirective, selector: "ng-template[tuiTextfieldDropdown]" }, { kind: "directive", type: i2.TuiInputDateDirective, selector: "input[tuiInputDate]" }, { kind: "component", type: i3.TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "ngmodule", type: TuiTextfieldControllerModule }, { kind: "directive", type: i5.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { kind: "directive", type: i5.TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: ["tuiTextfieldSize"] }, { kind: "component", type: ParamInvalidIconComponent, selector: "sma-param-invalid-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamDateComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'sma-param-date', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
55
|
+
TuiTextfield,
|
|
56
|
+
TuiInputDate,
|
|
57
|
+
ReactiveFormsModule,
|
|
58
|
+
NgIf,
|
|
59
|
+
NgTemplateOutlet,
|
|
60
|
+
NgSwitch,
|
|
61
|
+
NgSwitchCase,
|
|
62
|
+
NgSwitchDefault,
|
|
63
|
+
TuiAppearance,
|
|
64
|
+
TuiTextfieldControllerModule,
|
|
65
|
+
ParamInvalidIconComponent,
|
|
66
|
+
], template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <tui-textfield\n tuiAppearance=\"sma-input-appearance\"\n tuiTextfieldSize=\"m\"\n [tuiTextfieldLabelOutside]=\"true\"\n >\n <input\n tuiInputDate\n [min]=\"min\"\n [max]=\"max\"\n [placeholder]=\"placeholder()\"\n [formControl]=\"control\"\n />\n <tui-calendar *tuiTextfieldDropdown />\n\n <div class=\"textfield-icons-container\">\n @if (isInvalidAndNotPristine) {\n <sma-param-invalid-icon></sma-param-invalid-icon>\n }\n </div>\n </tui-textfield>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column;padding:0 2px}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:none;border-bottom:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px!important;border-bottom:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=filter] ::ng-deep input{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"] }]
|
|
67
|
+
}], propDecorators: { min: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], max: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], formatSavedValue: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], parseSavedValue: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}] } });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYW0tZGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtcmVnaXN0ZXItY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4+XG4gICAgICAgIDxzcGFuICpuZ0lmPVwicmVxdWlyZWRcIiBjbGFzcz1cInJlcXVpcmVkXCI+Kjwvc3Bhbj5cbiAgICAgIDwvZGl2PlxuXG4gICAgICA8dHVpLXRleHRmaWVsZFxuICAgICAgICB0dWlBcHBlYXJhbmNlPVwic21hLWlucHV0LWFwcGVhcmFuY2VcIlxuICAgICAgICB0dWlUZXh0ZmllbGRTaXplPVwibVwiXG4gICAgICAgIFt0dWlUZXh0ZmllbGRMYWJlbE91dHNpZGVdPVwidHJ1ZVwiXG4gICAgICA+XG4gICAgICAgIDxpbnB1dFxuICAgICAgICAgIHR1aUlucHV0RGF0ZVxuICAgICAgICAgIFttaW5dPVwibWluXCJcbiAgICAgICAgICBbbWF4XT1cIm1heFwiXG4gICAgICAgICAgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyKClcIlxuICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjb250cm9sXCJcbiAgICAgICAgLz5cbiAgICAgICAgPHR1aS1jYWxlbmRhciAqdHVpVGV4dGZpZWxkRHJvcGRvd24gLz5cblxuICAgICAgICA8ZGl2IGNsYXNzPVwidGV4dGZpZWxkLWljb25zLWNvbnRhaW5lclwiPlxuICAgICAgICAgIEBpZiAoaXNJbnZhbGlkQW5kTm90UHJpc3RpbmUpIHtcbiAgICAgICAgICAgIDxzbWEtcGFyYW0taW52YWxpZC1pY29uPjwvc21hLXBhcmFtLWludmFsaWQtaWNvbj5cbiAgICAgICAgICB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC90dWktdGV4dGZpZWxkPlxuICAgIDwvZGl2PlxuICA8L25nLXRlbXBsYXRlPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input, Input } from '@angular/core';
|
|
2
|
+
import { PrizmDayRange } from '@prizm-ui/components';
|
|
3
|
+
import { ParamDateBase } from '../../../core/param/param-date-base';
|
|
4
|
+
import { EDatePattern } from '../../../directives/date/date-time.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "@prizm-ui/components";
|
|
9
|
+
export class ParamDateRangeComponent extends ParamDateBase {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.placeholder = input('Выберите период');
|
|
13
|
+
this.buildShowedValue = input((value) => value?.toString() ?? '-');
|
|
14
|
+
this.formatterSavedValue = this._defaultFormatterSaveValue;
|
|
15
|
+
this.parserSavedValue = this._defaultParserSaveValue;
|
|
16
|
+
}
|
|
17
|
+
set formatSavedValue(formatter) {
|
|
18
|
+
this.formatterSavedValue = formatter ?? this._defaultFormatterSaveValue;
|
|
19
|
+
}
|
|
20
|
+
set parseSavedValue(parser) {
|
|
21
|
+
this.parserSavedValue = parser ?? this._defaultParserSaveValue;
|
|
22
|
+
}
|
|
23
|
+
_defaultFormatterSaveValue(range) {
|
|
24
|
+
if (!range) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
const isoFrom = this._dts.toISOString(range.from.toLocalNativeDate());
|
|
28
|
+
const isoTo = this._dts.toISOString(range.to.toLocalNativeDate());
|
|
29
|
+
return {
|
|
30
|
+
from: this._dts.parseDate(isoFrom, EDatePattern.YEAR_MONTH_DAY),
|
|
31
|
+
to: this._dts.parseDate(isoTo, EDatePattern.YEAR_MONTH_DAY),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
_defaultParserSaveValue(value) {
|
|
35
|
+
if (!value) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
const from = this._dts.isoToLocalDate(value.from);
|
|
39
|
+
const to = this._dts.isoToLocalDate(value.to);
|
|
40
|
+
return PrizmDayRange.fromLocalNativeDate(from, to);
|
|
41
|
+
}
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamDateRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: ParamDateRangeComponent, selector: "sma-param-date-range", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: false, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: false, isRequired: false, transformFunction: null }, formatSavedValue: { classPropertyName: "formatSavedValue", publicName: "formatSavedValue", isSignal: false, isRequired: false, transformFunction: null }, parseSavedValue: { classPropertyName: "parseSavedValue", publicName: "parseSavedValue", isSignal: false, isRequired: false, transformFunction: null }, buildShowedValue: { classPropertyName: "buildShowedValue", publicName: "buildShowedValue", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <prizm-input-layout class=\"flex-shrink--zero\" size=\"s\" [forceClear]=\"forceClear\">\n <prizm-input-layout-date-range\n [placeholder]=\"placeholder()\"\n [min]=\"$any(min)\"\n [max]=\"$any(max)\"\n [formControl]=\"control\"\n ></prizm-input-layout-date-range>\n </prizm-input-layout>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column;padding:0 2px}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:none;border-bottom:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px!important;border-bottom:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=filter] ::ng-deep input{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PrizmInputLayoutComponent, selector: "prizm-input-layout", inputs: ["label", "size", "status", "outer", "clearButton", "hideClearButtonHint", "border", "position", "forceClear"], outputs: ["clear"] }, { kind: "component", type: i3.PrizmInputLayoutDateRangeComponent, selector: "prizm-input-layout-date-range", inputs: ["disabledItemHandler", "markerHandler", "defaultViewedMonth", "items", "placeholder", "min", "max", "minLength", "maxLength"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ParamDateRangeComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{ selector: 'sma-param-date-range', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"readmode ? readTemplate : editTemplate\">\n <ng-template #readTemplate>\n <div class=\"container container--read\" [attr.sma-param-style]=\"paramStyle\">\n <ng-container *ngIf=\"label\">\n <ng-container [ngSwitch]=\"paramStyle\">\n <ng-template ngSwitchCase=\"filter\">\n <div class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </div>\n </ng-template>\n <ng-template ngSwitchDefault>\n <span class=\"label\">{{ label }}</span>\n <div class=\"dashed-row\"></div>\n </ng-template>\n </ng-container>\n </ng-container>\n <div class=\"value\">\n <span>{{ showedValue }}</span>\n </div>\n </div>\n </ng-template>\n <ng-template #editTemplate>\n <div class=\"container container--edit\" [attr.sma-param-style]=\"paramStyle\">\n <div *ngIf=\"label\" class=\"label-wrapper\">\n <span class=\"label\">{{ label }}</span>\n <span *ngIf=\"required\" class=\"required\">*</span>\n </div>\n\n <prizm-input-layout class=\"flex-shrink--zero\" size=\"s\" [forceClear]=\"forceClear\">\n <prizm-input-layout-date-range\n [placeholder]=\"placeholder()\"\n [min]=\"$any(min)\"\n [max]=\"$any(max)\"\n [formControl]=\"control\"\n ></prizm-input-layout-date-range>\n </prizm-input-layout>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".input-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-text-12px,.body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.table-heading-12px{font-family:Inter,serif;font-size:12px;font-weight:500;line-height:16px}.table-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.table-text-12px-400{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:16px}.table-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.button-links-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.button-links-12px-600{font-family:Inter,serif;font-size:12px;font-weight:600;line-height:16px}.button-links-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px}.input-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px}.input-area{font-family:Inter,serif;font-size:12px;font-weight:400;line-height:20px}.static-title-h3{font-family:Inter,serif;font-size:16px;font-weight:600;line-height:20px}.static-title-h4{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.dynamic-title-h4{font-family:Inter,serif;font-size:14px;font-weight:800;line-height:20px}.main-body-text-12px{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:20px}.main-body-text-14px{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px}.main-subscription{font-family:Inter,serif;font-size:10px;font-weight:400;line-height:12px}.input-helper-9px{font-family:Inter,serif;font-size:9px;font-weight:300;line-height:12px}.typography-content-text{font-family:Inter,serif;font-size:12px;font-weight:350;line-height:16px}.main-subtitle,.card-content-text{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.filter-header-text{font-family:Inter,serif;font-size:14px;font-weight:500;line-height:18px}.btn-14px{font-family:Inter,serif;font-size:14px;font-weight:400;line-height:16px}.search-11px{font-family:Inter,serif;font-size:11px;font-weight:300;line-height:12px}:root{--input-text-12px: normal 300 12px / 16px \"Inter\";--input-text-14px: normal 300 14px / 16px \"Inter\"}:host .container--read[sma-param-style=card]{display:flex;align-items:flex-start;gap:4px;padding:8px 0}:host .container--read[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--read[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=card] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=card] .value{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000!important;font-family:Inter,serif!important;font-size:14px!important;font-weight:400!important;line-height:16px!important}:host .container--read[sma-param-style=filter]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px}:host .container--read[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:100%}:host .container--read[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--read[sma-param-style=filter] .dashed-row{display:flex;height:16px;align-items:center;flex:1 0 0;border-bottom:1px dashed var(--table-stroke, #d7d7d7);min-width:20px}:host .container--read[sma-param-style=filter] .value{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:20px;color:var(--text-main)}:host .container--edit[sma-param-style=card]{height:52px;width:100%;display:flex;flex-direction:column;padding:0 2px}:host .container--edit[sma-param-style=card] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=card] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=card] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=card] ::ng-deep input{font-family:Inter,serif;font-size:14px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit[sma-param-style=filter]{width:100%;display:flex;flex-direction:column}:host .container--edit[sma-param-style=filter] .label-wrapper{display:flex;gap:4px;width:fit-content}:host .container--edit[sma-param-style=filter] .label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form:not(.prizm-input-form-focused){background:inherit;border:none;border-bottom:1px solid var(--input-stroke);padding:0 3.5px 0 8px}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form .prizm-input-form-focused{background:inherit;border:1px!important;border-bottom:1px solid var(--input-stroke)}:host .container--edit[sma-param-style=filter] ::ng-deep .prizm-input-form-inner{min-height:32px;height:32px}:host .container--edit[sma-param-style=filter] ::ng-deep input{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--text-contrast)}:host .container--edit .required{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--brand-danger)}:host .container .default-label-wrapper{display:flex;gap:4px}:host .container .default-label{font-family:Inter,serif;font-size:12px;font-weight:300;line-height:16px;color:var(--main-black)}\n"] }]
|
|
48
|
+
}], propDecorators: { min: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], max: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], formatSavedValue: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], parseSavedValue: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}] } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYW0tZGF0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