@cdek-it/angular-ui-kit 0.2.4-test → 0.2.6-test
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/components/accordion/index.d.ts +21 -0
- package/components/autocomplete/index.d.ts +65 -0
- package/components/avatar/index.d.ts +5 -5
- package/components/badge/index.d.ts +5 -5
- package/components/breadcrumb/index.d.ts +3 -3
- package/components/button/index.d.ts +16 -14
- package/components/carousel/index.d.ts +41 -0
- package/components/checkbox/index.d.ts +7 -6
- package/components/confirm-dialog/index.d.ts +37 -0
- package/components/date-picker/index.d.ts +89 -0
- package/components/dialog/index.d.ts +16 -9
- package/components/divider/index.d.ts +7 -7
- package/components/drawer/index.d.ts +33 -0
- package/components/galleria/index.d.ts +65 -0
- package/components/inputgroup/index.d.ts +17 -0
- package/components/inputmask/index.d.ts +43 -0
- package/components/inputnumber/index.d.ts +50 -0
- package/components/inputotp/index.d.ts +40 -0
- package/components/inputtext/index.d.ts +5 -4
- package/components/listbox/index.d.ts +43 -0
- package/components/megamenu/index.d.ts +10 -10
- package/components/menu/index.d.ts +24 -0
- package/components/menubar/index.d.ts +16 -0
- package/components/message/index.d.ts +19 -0
- package/components/metergroup/index.d.ts +9 -8
- package/components/paginator/index.d.ts +25 -0
- package/components/panelmenu/index.d.ts +19 -0
- package/components/password/index.d.ts +54 -0
- package/components/popover/index.d.ts +12 -0
- package/components/progressbar/index.d.ts +3 -3
- package/components/progressspinner/index.d.ts +3 -3
- package/components/radiobutton/index.d.ts +7 -6
- package/components/rating/index.d.ts +6 -6
- package/components/scroll-panel/index.d.ts +11 -0
- package/components/select/index.d.ts +78 -0
- package/components/skeleton/index.d.ts +5 -5
- package/components/slider/index.d.ts +4 -3
- package/components/stepper/index.d.ts +25 -0
- package/components/tabs/index.d.ts +22 -0
- package/components/tag/index.d.ts +3 -3
- package/components/textarea/index.d.ts +40 -0
- package/components/tieredmenu/index.d.ts +2 -2
- package/components/timeline/index.d.ts +17 -5
- package/components/toast/index.d.ts +52 -0
- package/components/toggleswitch/index.d.ts +26 -0
- package/components/tooltip/index.d.ts +5 -5
- package/fesm2022/cdek-it-angular-ui-kit-components-accordion.mjs +69 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-accordion.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-autocomplete.mjs +269 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-autocomplete.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-avatar.mjs +7 -5
- package/fesm2022/cdek-it-angular-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-badge.mjs +4 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-breadcrumb.mjs +4 -13
- package/fesm2022/cdek-it-angular-ui-kit-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-button.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-card.mjs +2 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-card.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-carousel.mjs +166 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-carousel.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-checkbox.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-chip.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-confirm-dialog.mjs +192 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-confirm-dialog.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-date-picker.mjs +640 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-date-picker.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-dialog.mjs +28 -10
- package/fesm2022/cdek-it-angular-ui-kit-components-dialog.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-divider.mjs +6 -13
- package/fesm2022/cdek-it-angular-ui-kit-components-divider.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-drawer.mjs +153 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-drawer.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-galleria.mjs +284 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-galleria.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputgroup.mjs +64 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputgroup.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputmask.mjs +164 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputmask.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputnumber.mjs +267 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputnumber.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputotp.mjs +148 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputotp.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-inputtext.mjs +13 -11
- package/fesm2022/cdek-it-angular-ui-kit-components-inputtext.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-listbox.mjs +172 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-listbox.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-megamenu.mjs +22 -9
- package/fesm2022/cdek-it-angular-ui-kit-components-megamenu.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-menu.mjs +114 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menu.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menubar.mjs +88 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-menubar.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-message.mjs +105 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-message.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-metergroup.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-metergroup.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-paginator.mjs +95 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-paginator.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-panelmenu.mjs +69 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-panelmenu.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-password.mjs +258 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-password.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-popover.mjs +48 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-popover.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-progressbar.mjs +4 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-progressbar.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-progressspinner.mjs +3 -2
- package/fesm2022/cdek-it-angular-ui-kit-components-progressspinner.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-radiobutton.mjs +8 -7
- package/fesm2022/cdek-it-angular-ui-kit-components-radiobutton.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-rating.mjs +8 -7
- package/fesm2022/cdek-it-angular-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-scroll-panel.mjs +42 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-scroll-panel.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-select.mjs +350 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-select.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-skeleton.mjs +4 -3
- package/fesm2022/cdek-it-angular-ui-kit-components-skeleton.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-slider.mjs +6 -6
- package/fesm2022/cdek-it-angular-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-stepper.mjs +227 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-stepper.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tabs.mjs +83 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tabs.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tag.mjs +6 -15
- package/fesm2022/cdek-it-angular-ui-kit-components-tag.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-textarea.mjs +214 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-textarea.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tieredmenu.mjs +5 -16
- package/fesm2022/cdek-it-angular-ui-kit-components-tieredmenu.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-timeline.mjs +74 -50
- package/fesm2022/cdek-it-angular-ui-kit-components-timeline.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-components-toast.mjs +106 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toggleswitch.mjs +93 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-toggleswitch.mjs.map +1 -0
- package/fesm2022/cdek-it-angular-ui-kit-components-tooltip.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-providers.mjs +2497 -125
- package/fesm2022/cdek-it-angular-ui-kit-providers.mjs.map +1 -1
- package/fesm2022/cdek-it-angular-ui-kit-shared.mjs +4 -0
- package/fesm2022/cdek-it-angular-ui-kit-shared.mjs.map +1 -0
- package/package.json +109 -1
- package/shared/index.d.ts +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-message.mjs","sources":["../../src/lib/components/message/message.component.ts","../../src/lib/components/message/cdek-it-angular-ui-kit-components-message.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Message } from 'primeng/message';\nimport { ButtonDirective } from 'primeng/button';\nimport { SharedModule } from 'primeng/api';\n\nexport type ExtraMessageSeverity = 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast';\n\nconst SEVERITY_ICONS: Record<string, string> = {\n info: 'ti ti-info-circle',\n success: 'ti ti-circle-check',\n warn: 'ti ti-alert-triangle',\n error: 'ti ti-alert-circle'\n};\n\n@Component({\n selector: 'extra-message',\n standalone: true,\n imports: [Message, ButtonDirective, SharedModule],\n template: `\n <p-message [severity]=\"severity\" [closable]=\"false\" [life]=\"life\">\n <ng-template pTemplate=\"container\" let-closeCallback=\"closeCallback\">\n <div class=\"p-message-accent-line\"></div>\n <i [class]=\"resolvedIcon + ' p-message-icon'\"></i>\n <div class=\"p-message-text\">\n <span class=\"p-message-summary\">{{ summary }}</span>\n @if (detail) {\n <div class=\"p-message-detail\">{{ detail }}</div>\n }\n <ng-content></ng-content>\n </div>\n @if (closable) {\n <button\n type=\"button\"\n pButton\n [text]=\"true\"\n icon=\"ti ti-x\"\n class=\"p-message-close-button\"\n (click)=\"closeCallback($event); onClose.emit($event)\"\n ></button>\n }\n </ng-template>\n </p-message>\n `\n})\nexport class ExtraMessageComponent {\n @Input() severity: ExtraMessageSeverity = 'info';\n @Input() summary = '';\n @Input() detail = '';\n @Input() icon: string | undefined = undefined;\n @Input() closable = false;\n @Input() life: number | undefined = undefined;\n\n @Output() onClose = new EventEmitter<Event>();\n\n get resolvedIcon(): string {\n return this.icon ?? SEVERITY_ICONS[this.severity] ?? 'ti ti-info-circle';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,cAAc,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EAAA,QAAA,EAAA,OAAA,EAAA,YAAA,EAAA,UAAA,EAAA,MAAA,EAAA,WAAA,EAAA,MAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,EAAA,UAAA,EAAA,MAAA,EAAA,OAAA,EAAA,QAAA,EAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,SAAA,EAAA,aAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,SAAA,EAAA,aAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FA2BrC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBA9BjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,YAAY,CAAC;AACjD,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;AAwBT,EAAA;AACF,iBAAA;;sBAEE;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBAEA;;;ACpDH;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { HostBinding, Input, Component } from '@angular/core';
|
|
2
|
+
import { HostBinding, Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { MeterGroup } from 'primeng/metergroup';
|
|
4
4
|
|
|
5
5
|
class ExtraMeterGroupComponent {
|
|
@@ -24,13 +24,14 @@ class ExtraMeterGroupComponent {
|
|
|
24
24
|
[labelPosition]="labelPosition"
|
|
25
25
|
[labelOrientation]="labelOrientation"
|
|
26
26
|
></p-metergroup>
|
|
27
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MeterGroup, selector: "p-meterGroup, p-metergroup, p-meter-group", inputs: ["value", "min", "max", "orientation", "labelPosition", "labelOrientation", "styleClass"] }] });
|
|
27
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MeterGroup, selector: "p-meterGroup, p-metergroup, p-meter-group", inputs: ["value", "min", "max", "orientation", "labelPosition", "labelOrientation", "styleClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28
28
|
}
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraMeterGroupComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: 'extra-metergroup',
|
|
33
33
|
standalone: true,
|
|
34
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
35
|
imports: [MeterGroup],
|
|
35
36
|
template: `
|
|
36
37
|
<p-metergroup
|
|
@@ -39,7 +40,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
39
40
|
[labelPosition]="labelPosition"
|
|
40
41
|
[labelOrientation]="labelOrientation"
|
|
41
42
|
></p-metergroup>
|
|
42
|
-
|
|
43
|
+
`
|
|
43
44
|
}]
|
|
44
45
|
}], propDecorators: { value: [{
|
|
45
46
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdek-it-angular-ui-kit-components-metergroup.mjs","sources":["../../src/lib/components/metergroup/metergroup.component.ts","../../src/lib/components/metergroup/cdek-it-angular-ui-kit-components-metergroup.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { MeterGroup, MeterItem } from 'primeng/metergroup';\n\nexport type
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-metergroup.mjs","sources":["../../src/lib/components/metergroup/metergroup.component.ts","../../src/lib/components/metergroup/cdek-it-angular-ui-kit-components-metergroup.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\nimport { MeterGroup, MeterItem } from 'primeng/metergroup';\n\nexport type ExtraMeterGroupOrientation = 'horizontal' | 'vertical';\nexport type ExtraMeterGroupLabelPosition = 'start' | 'end';\nexport type ExtraMeterGroupLabelOrientation = 'horizontal' | 'vertical';\nexport type ExtraMeterItem = MeterItem;\n\n@Component({\n selector: 'extra-metergroup',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [MeterGroup],\n template: `\n <p-metergroup\n [value]=\"value\"\n [orientation]=\"orientation\"\n [labelPosition]=\"labelPosition\"\n [labelOrientation]=\"labelOrientation\"\n ></p-metergroup>\n `\n})\nexport class ExtraMeterGroupComponent {\n @Input() value: ExtraMeterItem[] = [];\n @Input() orientation: ExtraMeterGroupOrientation = 'horizontal';\n @Input() labelPosition: ExtraMeterGroupLabelPosition = 'end';\n @Input() labelOrientation: ExtraMeterGroupLabelOrientation = 'horizontal';\n\n @HostBinding('style.display') get hostDisplay() {\n return this.orientation === 'vertical' ? 'flex' : null;\n }\n\n @HostBinding('style.height') get hostHeight() {\n return this.orientation === 'vertical' ? '100%' : null;\n }\n\n @HostBinding('style.flex') get hostFlex() {\n return this.orientation === 'vertical' ? '1 1 0%' : null;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAsBa,wBAAwB,CAAA;IAC1B,KAAK,GAAqB,EAAE;IAC5B,WAAW,GAA+B,YAAY;IACtD,aAAa,GAAiC,KAAK;IACnD,gBAAgB,GAAoC,YAAY;A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4FAUT,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAdpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,UAAU,CAAC;AACrB,oBAAA,QAAQ,EAAE;;;;;;;AAOT,EAAA;AACF,iBAAA;;sBAEE;;sBACA;;sBACA;;sBACA;;sBAEA,WAAW;uBAAC,eAAe;;sBAI3B,WAAW;uBAAC,cAAc;;sBAI1B,WAAW;uBAAC,YAAY;;;ACpC3B;;AAEG;;;;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
3
|
+
import { Paginator } from 'primeng/paginator';
|
|
4
|
+
|
|
5
|
+
class ExtraPaginatorComponent {
|
|
6
|
+
first = 0;
|
|
7
|
+
rows = 10;
|
|
8
|
+
totalRecords = 0;
|
|
9
|
+
rowsPerPageOptions;
|
|
10
|
+
currentPageReportTemplate = '{currentPage} из {totalPages}';
|
|
11
|
+
showCurrentPageReport = false;
|
|
12
|
+
showFirstLastIcon = true;
|
|
13
|
+
showJumpToPageDropdown = false;
|
|
14
|
+
showJumpToPageInput = false;
|
|
15
|
+
showPageLinks = true;
|
|
16
|
+
pageLinkSize = 5;
|
|
17
|
+
alwaysShow = true;
|
|
18
|
+
onPageChange = new EventEmitter();
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraPaginatorComponent, isStandalone: true, selector: "extra-paginator", inputs: { first: "first", rows: "rows", totalRecords: "totalRecords", rowsPerPageOptions: "rowsPerPageOptions", currentPageReportTemplate: "currentPageReportTemplate", showCurrentPageReport: "showCurrentPageReport", showFirstLastIcon: "showFirstLastIcon", showJumpToPageDropdown: "showJumpToPageDropdown", showJumpToPageInput: "showJumpToPageInput", showPageLinks: "showPageLinks", pageLinkSize: "pageLinkSize", alwaysShow: "alwaysShow" }, outputs: { onPageChange: "onPageChange" }, ngImport: i0, template: `
|
|
21
|
+
<p-paginator
|
|
22
|
+
[first]="first"
|
|
23
|
+
[rows]="rows"
|
|
24
|
+
[totalRecords]="totalRecords"
|
|
25
|
+
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
26
|
+
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
27
|
+
[showCurrentPageReport]="showCurrentPageReport"
|
|
28
|
+
[showFirstLastIcon]="showFirstLastIcon"
|
|
29
|
+
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
30
|
+
[showJumpToPageInput]="showJumpToPageInput"
|
|
31
|
+
[showPageLinks]="showPageLinks"
|
|
32
|
+
[pageLinkSize]="pageLinkSize"
|
|
33
|
+
[alwaysShow]="alwaysShow"
|
|
34
|
+
(onPageChange)="onPageChange.emit($event)"
|
|
35
|
+
></p-paginator>
|
|
36
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }] });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPaginatorComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'extra-paginator',
|
|
42
|
+
standalone: true,
|
|
43
|
+
imports: [Paginator],
|
|
44
|
+
template: `
|
|
45
|
+
<p-paginator
|
|
46
|
+
[first]="first"
|
|
47
|
+
[rows]="rows"
|
|
48
|
+
[totalRecords]="totalRecords"
|
|
49
|
+
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
50
|
+
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
51
|
+
[showCurrentPageReport]="showCurrentPageReport"
|
|
52
|
+
[showFirstLastIcon]="showFirstLastIcon"
|
|
53
|
+
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
54
|
+
[showJumpToPageInput]="showJumpToPageInput"
|
|
55
|
+
[showPageLinks]="showPageLinks"
|
|
56
|
+
[pageLinkSize]="pageLinkSize"
|
|
57
|
+
[alwaysShow]="alwaysShow"
|
|
58
|
+
(onPageChange)="onPageChange.emit($event)"
|
|
59
|
+
></p-paginator>
|
|
60
|
+
`
|
|
61
|
+
}]
|
|
62
|
+
}], propDecorators: { first: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], rows: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], totalRecords: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], rowsPerPageOptions: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], currentPageReportTemplate: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], showCurrentPageReport: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], showFirstLastIcon: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], showJumpToPageDropdown: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], showJumpToPageInput: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], showPageLinks: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], pageLinkSize: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], alwaysShow: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], onPageChange: [{
|
|
87
|
+
type: Output
|
|
88
|
+
}] } });
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Generated bundle index. Do not edit.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
export { ExtraPaginatorComponent };
|
|
95
|
+
//# sourceMappingURL=cdek-it-angular-ui-kit-components-paginator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-paginator.mjs","sources":["../../src/lib/components/paginator/paginator.component.ts","../../src/lib/components/paginator/cdek-it-angular-ui-kit-components-paginator.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Paginator } from 'primeng/paginator';\nimport type { PaginatorState } from 'primeng/types/paginator';\n\nexport type ExtraPaginatorState = PaginatorState;\n\n@Component({\n selector: 'extra-paginator',\n standalone: true,\n imports: [Paginator],\n template: `\n <p-paginator\n [first]=\"first\"\n [rows]=\"rows\"\n [totalRecords]=\"totalRecords\"\n [rowsPerPageOptions]=\"rowsPerPageOptions\"\n [currentPageReportTemplate]=\"currentPageReportTemplate\"\n [showCurrentPageReport]=\"showCurrentPageReport\"\n [showFirstLastIcon]=\"showFirstLastIcon\"\n [showJumpToPageDropdown]=\"showJumpToPageDropdown\"\n [showJumpToPageInput]=\"showJumpToPageInput\"\n [showPageLinks]=\"showPageLinks\"\n [pageLinkSize]=\"pageLinkSize\"\n [alwaysShow]=\"alwaysShow\"\n (onPageChange)=\"onPageChange.emit($event)\"\n ></p-paginator>\n `\n})\nexport class ExtraPaginatorComponent {\n @Input() first = 0;\n @Input() rows = 10;\n @Input() totalRecords = 0;\n @Input() rowsPerPageOptions: any[] | undefined;\n @Input() currentPageReportTemplate = '{currentPage} из {totalPages}';\n @Input() showCurrentPageReport = false;\n @Input() showFirstLastIcon = true;\n @Input() showJumpToPageDropdown = false;\n @Input() showJumpToPageInput = false;\n @Input() showPageLinks = true;\n @Input() pageLinkSize = 5;\n @Input() alwaysShow = true;\n @Output() onPageChange = new EventEmitter<ExtraPaginatorState>();\n}\n","/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AA,WAAA,EAAA,IAAA,EAjBS,SAAS,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,YAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,cAAA,EAAA,eAAA,EAAA,sBAAA,EAAA,2BAAA,EAAA,uBAAA,EAAA,mBAAA,EAAA,cAAA,EAAA,MAAA,EAAA,oBAAA,EAAA,wBAAA,EAAA,qBAAA,EAAA,wBAAA,EAAA,eAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,OAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAmBR,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAtBnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,SAAS,CAAC;AACpB,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;AAgBT,EAAA;AACF,iBAAA;;sBAEE;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;;ACzCH;;AAEG;;;;"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { HostListener, Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { PanelMenu } from 'primeng/panelmenu';
|
|
4
|
+
|
|
5
|
+
class ExtraPanelMenuComponent {
|
|
6
|
+
el;
|
|
7
|
+
model = [];
|
|
8
|
+
multiple = false;
|
|
9
|
+
tabindex = undefined;
|
|
10
|
+
activeItemId = null;
|
|
11
|
+
constructor(el) {
|
|
12
|
+
this.el = el;
|
|
13
|
+
}
|
|
14
|
+
onItemClick(event) {
|
|
15
|
+
const target = event.target;
|
|
16
|
+
if (target.closest('.p-panelmenu-header'))
|
|
17
|
+
return;
|
|
18
|
+
const item = target.closest('.p-panelmenu-item');
|
|
19
|
+
if (!item)
|
|
20
|
+
return;
|
|
21
|
+
this.activeItemId = item.id || null;
|
|
22
|
+
this.applyActiveClass();
|
|
23
|
+
}
|
|
24
|
+
ngAfterViewChecked() {
|
|
25
|
+
if (this.activeItemId) {
|
|
26
|
+
this.applyActiveClass();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
applyActiveClass() {
|
|
30
|
+
const root = this.el.nativeElement;
|
|
31
|
+
root
|
|
32
|
+
.querySelectorAll('.p-panelmenu-item-active')
|
|
33
|
+
.forEach((el) => el.classList.remove('p-panelmenu-item-active'));
|
|
34
|
+
if (this.activeItemId) {
|
|
35
|
+
const active = root.querySelector(`#${CSS.escape(this.activeItemId)}`);
|
|
36
|
+
if (active) {
|
|
37
|
+
active.classList.add('p-panelmenu-item-active');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPanelMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraPanelMenuComponent, isStandalone: true, selector: "extra-panelmenu", inputs: { model: "model", multiple: "multiple", tabindex: "tabindex" }, host: { listeners: { "click": "onItemClick($event)" } }, ngImport: i0, template: ` <p-panelmenu [model]="model" [multiple]="multiple" [tabindex]="tabindex"></p-panelmenu> `, isInline: true, dependencies: [{ kind: "component", type: PanelMenu, selector: "p-panelMenu, p-panelmenu, p-panel-menu", inputs: ["model", "styleClass", "multiple", "transitionOptions", "id", "tabindex"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPanelMenuComponent, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{
|
|
47
|
+
selector: 'extra-panelmenu',
|
|
48
|
+
standalone: true,
|
|
49
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
50
|
+
imports: [PanelMenu],
|
|
51
|
+
template: ` <p-panelmenu [model]="model" [multiple]="multiple" [tabindex]="tabindex"></p-panelmenu> `
|
|
52
|
+
}]
|
|
53
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { model: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], multiple: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], tabindex: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], onItemClick: [{
|
|
60
|
+
type: HostListener,
|
|
61
|
+
args: ['click', ['$event']]
|
|
62
|
+
}] } });
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Generated bundle index. Do not edit.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
export { ExtraPanelMenuComponent };
|
|
69
|
+
//# sourceMappingURL=cdek-it-angular-ui-kit-components-panelmenu.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-panelmenu.mjs","sources":["../../src/lib/components/panelmenu/panelmenu.component.ts","../../src/lib/components/panelmenu/cdek-it-angular-ui-kit-components-panelmenu.ts"],"sourcesContent":["import { AfterViewChecked, ChangeDetectionStrategy, Component, ElementRef, HostListener, Input } from '@angular/core';\nimport { PanelMenu } from 'primeng/panelmenu';\nimport { ExtraMenuItem } from '@cdek-it/angular-ui-kit/shared';\n\n@Component({\n selector: 'extra-panelmenu',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [PanelMenu],\n template: ` <p-panelmenu [model]=\"model\" [multiple]=\"multiple\" [tabindex]=\"tabindex\"></p-panelmenu> `\n})\nexport class ExtraPanelMenuComponent implements AfterViewChecked {\n @Input() model: ExtraMenuItem[] = [];\n @Input() multiple = false;\n @Input() tabindex: number | undefined = undefined;\n\n private activeItemId: string | null = null;\n\n constructor(private readonly el: ElementRef<HTMLElement>) {}\n\n @HostListener('click', ['$event'])\n onItemClick(event: MouseEvent): void {\n const target = event.target as Element;\n\n if (target.closest('.p-panelmenu-header')) return;\n\n const item = target.closest('.p-panelmenu-item');\n if (!item) return;\n\n this.activeItemId = item.id || null;\n this.applyActiveClass();\n }\n\n ngAfterViewChecked(): void {\n if (this.activeItemId) {\n this.applyActiveClass();\n }\n }\n\n private applyActiveClass(): void {\n const root = this.el.nativeElement;\n root\n .querySelectorAll<HTMLElement>('.p-panelmenu-item-active')\n .forEach((el) => el.classList.remove('p-panelmenu-item-active'));\n\n if (this.activeItemId) {\n const active = root.querySelector<HTMLElement>(`#${CSS.escape(this.activeItemId)}`);\n if (active) {\n active.classList.add('p-panelmenu-item-active');\n }\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAWa,uBAAuB,CAAA;AAOL,IAAA,EAAA;IANpB,KAAK,GAAoB,EAAE;IAC3B,QAAQ,GAAG,KAAK;IAChB,QAAQ,GAAuB,SAAS;IAEzC,YAAY,GAAkB,IAAI;AAE1C,IAAA,WAAA,CAA6B,EAA2B,EAAA;QAA3B,IAAA,CAAA,EAAE,GAAF,EAAE;IAA4B;AAG3D,IAAA,WAAW,CAAC,KAAiB,EAAA;AAC3B,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAiB;AAEtC,QAAA,IAAI,MAAM,CAAC,OAAO,CAAC,qBAAqB,CAAC;YAAE;QAE3C,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC;AAChD,QAAA,IAAI,CAAC,IAAI;YAAE;QAEX,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,EAAE,IAAI,IAAI;QACnC,IAAI,CAAC,gBAAgB,EAAE;IACzB;IAEA,kBAAkB,GAAA;AAChB,QAAA,IAAI,IA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AAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAGR,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,SAAS,CAAC;AACpB,oBAAA,QAAQ,EAAE,CAAA,yFAAA;AACX,iBAAA;;sBAEE;;sBACA;;sBACA;;sBAMA,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;;ACpBnC;;AAEG;;;;"}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, EventEmitter, TemplateRef, forwardRef, Output, Input, ContentChild, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
|
+
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
6
|
+
import { Password } from 'primeng/password';
|
|
7
|
+
import { PrimeTemplate } from 'primeng/api';
|
|
8
|
+
import { FloatLabel } from 'primeng/floatlabel';
|
|
9
|
+
|
|
10
|
+
class ExtraPasswordHeaderDirective {
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: ExtraPasswordHeaderDirective, isStandalone: true, selector: "[extraPasswordHeader]", ngImport: i0 });
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordHeaderDirective, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{ selector: '[extraPasswordHeader]', standalone: true }]
|
|
17
|
+
}] });
|
|
18
|
+
class ExtraPasswordFooterDirective {
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: ExtraPasswordFooterDirective, isStandalone: true, selector: "[extraPasswordFooter]", ngImport: i0 });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordFooterDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{ selector: '[extraPasswordFooter]', standalone: true }]
|
|
25
|
+
}] });
|
|
26
|
+
class ExtraPasswordComponent {
|
|
27
|
+
headerTemplate = null;
|
|
28
|
+
footerTemplate = null;
|
|
29
|
+
feedback = true;
|
|
30
|
+
toggleMask = false;
|
|
31
|
+
disabled = false;
|
|
32
|
+
placeholder = undefined;
|
|
33
|
+
size = 'base';
|
|
34
|
+
variant = 'outlined';
|
|
35
|
+
fluid = false;
|
|
36
|
+
invalid = false;
|
|
37
|
+
floatLabel = false;
|
|
38
|
+
label = '';
|
|
39
|
+
promptLabel = 'Введите пароль';
|
|
40
|
+
weakLabel = 'Слабый';
|
|
41
|
+
mediumLabel = 'Средний';
|
|
42
|
+
strongLabel = 'Надёжный';
|
|
43
|
+
inputId = undefined;
|
|
44
|
+
inputStyleClass = undefined;
|
|
45
|
+
ariaLabel = undefined;
|
|
46
|
+
ariaLabelledBy = undefined;
|
|
47
|
+
appendTo = 'body';
|
|
48
|
+
autofocus = false;
|
|
49
|
+
onFocus = new EventEmitter();
|
|
50
|
+
onBlur = new EventEmitter();
|
|
51
|
+
get sizeClass() {
|
|
52
|
+
if (this.size === 'small')
|
|
53
|
+
return 'p-inputtext-sm';
|
|
54
|
+
if (this.size === 'large')
|
|
55
|
+
return 'p-inputtext-lg';
|
|
56
|
+
if (this.size === 'xlarge')
|
|
57
|
+
return 'p-inputtext-lg p-inputtext-xlg';
|
|
58
|
+
return '';
|
|
59
|
+
}
|
|
60
|
+
get computedInputStyleClass() {
|
|
61
|
+
return [this.sizeClass, this.inputStyleClass].filter(Boolean).join(' ');
|
|
62
|
+
}
|
|
63
|
+
modelValue = null;
|
|
64
|
+
_onChange = () => { };
|
|
65
|
+
_onTouched = () => { };
|
|
66
|
+
handleChange(value) {
|
|
67
|
+
this.modelValue = value;
|
|
68
|
+
this._onChange(value);
|
|
69
|
+
this._onTouched();
|
|
70
|
+
}
|
|
71
|
+
writeValue(value) {
|
|
72
|
+
this.modelValue = value;
|
|
73
|
+
}
|
|
74
|
+
registerOnChange(fn) {
|
|
75
|
+
this._onChange = fn;
|
|
76
|
+
}
|
|
77
|
+
registerOnTouched(fn) {
|
|
78
|
+
this._onTouched = fn;
|
|
79
|
+
}
|
|
80
|
+
setDisabledState(isDisabled) {
|
|
81
|
+
this.disabled = isDisabled;
|
|
82
|
+
}
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: ExtraPasswordComponent, isStandalone: true, selector: "extra-password", inputs: { feedback: "feedback", toggleMask: "toggleMask", disabled: "disabled", placeholder: "placeholder", size: "size", variant: "variant", fluid: "fluid", invalid: "invalid", floatLabel: "floatLabel", label: "label", promptLabel: "promptLabel", weakLabel: "weakLabel", mediumLabel: "mediumLabel", strongLabel: "strongLabel", inputId: "inputId", inputStyleClass: "inputStyleClass", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", appendTo: "appendTo", autofocus: "autofocus" }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, host: { styleAttribute: "display: block" }, providers: [
|
|
85
|
+
{
|
|
86
|
+
provide: NG_VALUE_ACCESSOR,
|
|
87
|
+
useExisting: forwardRef(() => ExtraPasswordComponent),
|
|
88
|
+
multi: true
|
|
89
|
+
}
|
|
90
|
+
], queries: [{ propertyName: "headerTemplate", first: true, predicate: ExtraPasswordHeaderDirective, descendants: true, read: TemplateRef }, { propertyName: "footerTemplate", first: true, predicate: ExtraPasswordFooterDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: `
|
|
91
|
+
@if (floatLabel) {
|
|
92
|
+
<p-floatlabel variant="in">
|
|
93
|
+
<ng-container *ngTemplateOutlet="passwordTpl"></ng-container>
|
|
94
|
+
<label [attr.for]="inputId">{{ label }}</label>
|
|
95
|
+
</p-floatlabel>
|
|
96
|
+
} @else {
|
|
97
|
+
<ng-container *ngTemplateOutlet="passwordTpl"></ng-container>
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
<ng-template #passwordTpl>
|
|
101
|
+
<p-password
|
|
102
|
+
[ngModel]="modelValue"
|
|
103
|
+
(ngModelChange)="handleChange($event)"
|
|
104
|
+
[feedback]="feedback"
|
|
105
|
+
[toggleMask]="toggleMask"
|
|
106
|
+
[inputStyleClass]="computedInputStyleClass"
|
|
107
|
+
[disabled]="disabled"
|
|
108
|
+
[placeholder]="placeholder"
|
|
109
|
+
[promptLabel]="promptLabel"
|
|
110
|
+
[weakLabel]="weakLabel"
|
|
111
|
+
[mediumLabel]="mediumLabel"
|
|
112
|
+
[strongLabel]="strongLabel"
|
|
113
|
+
[variant]="variant"
|
|
114
|
+
[fluid]="fluid"
|
|
115
|
+
[invalid]="invalid"
|
|
116
|
+
[inputId]="inputId"
|
|
117
|
+
[ariaLabel]="ariaLabel"
|
|
118
|
+
[ariaLabelledBy]="ariaLabelledBy"
|
|
119
|
+
[appendTo]="appendTo"
|
|
120
|
+
[autofocus]="autofocus"
|
|
121
|
+
(onFocus)="onFocus.emit($event)"
|
|
122
|
+
(onBlur)="onBlur.emit($event)"
|
|
123
|
+
>
|
|
124
|
+
@if (headerTemplate) {
|
|
125
|
+
<ng-template pTemplate="header">
|
|
126
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
127
|
+
</ng-template>
|
|
128
|
+
}
|
|
129
|
+
@if (footerTemplate) {
|
|
130
|
+
<ng-template pTemplate="footer">
|
|
131
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
132
|
+
</ng-template>
|
|
133
|
+
}
|
|
134
|
+
</p-password>
|
|
135
|
+
</ng-template>
|
|
136
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "toggleMask", "inputStyleClass", "styleClass", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "autocomplete", "placeholder", "showClear", "autofocus", "tabindex", "appendTo"], outputs: ["onFocus", "onBlur", "onClear"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
137
|
+
}
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPasswordComponent, decorators: [{
|
|
139
|
+
type: Component,
|
|
140
|
+
args: [{
|
|
141
|
+
selector: 'extra-password',
|
|
142
|
+
host: { style: 'display: block' },
|
|
143
|
+
standalone: true,
|
|
144
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
145
|
+
imports: [Password, FormsModule, FloatLabel, NgTemplateOutlet, PrimeTemplate],
|
|
146
|
+
providers: [
|
|
147
|
+
{
|
|
148
|
+
provide: NG_VALUE_ACCESSOR,
|
|
149
|
+
useExisting: forwardRef(() => ExtraPasswordComponent),
|
|
150
|
+
multi: true
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
template: `
|
|
154
|
+
@if (floatLabel) {
|
|
155
|
+
<p-floatlabel variant="in">
|
|
156
|
+
<ng-container *ngTemplateOutlet="passwordTpl"></ng-container>
|
|
157
|
+
<label [attr.for]="inputId">{{ label }}</label>
|
|
158
|
+
</p-floatlabel>
|
|
159
|
+
} @else {
|
|
160
|
+
<ng-container *ngTemplateOutlet="passwordTpl"></ng-container>
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
<ng-template #passwordTpl>
|
|
164
|
+
<p-password
|
|
165
|
+
[ngModel]="modelValue"
|
|
166
|
+
(ngModelChange)="handleChange($event)"
|
|
167
|
+
[feedback]="feedback"
|
|
168
|
+
[toggleMask]="toggleMask"
|
|
169
|
+
[inputStyleClass]="computedInputStyleClass"
|
|
170
|
+
[disabled]="disabled"
|
|
171
|
+
[placeholder]="placeholder"
|
|
172
|
+
[promptLabel]="promptLabel"
|
|
173
|
+
[weakLabel]="weakLabel"
|
|
174
|
+
[mediumLabel]="mediumLabel"
|
|
175
|
+
[strongLabel]="strongLabel"
|
|
176
|
+
[variant]="variant"
|
|
177
|
+
[fluid]="fluid"
|
|
178
|
+
[invalid]="invalid"
|
|
179
|
+
[inputId]="inputId"
|
|
180
|
+
[ariaLabel]="ariaLabel"
|
|
181
|
+
[ariaLabelledBy]="ariaLabelledBy"
|
|
182
|
+
[appendTo]="appendTo"
|
|
183
|
+
[autofocus]="autofocus"
|
|
184
|
+
(onFocus)="onFocus.emit($event)"
|
|
185
|
+
(onBlur)="onBlur.emit($event)"
|
|
186
|
+
>
|
|
187
|
+
@if (headerTemplate) {
|
|
188
|
+
<ng-template pTemplate="header">
|
|
189
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
|
190
|
+
</ng-template>
|
|
191
|
+
}
|
|
192
|
+
@if (footerTemplate) {
|
|
193
|
+
<ng-template pTemplate="footer">
|
|
194
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
|
195
|
+
</ng-template>
|
|
196
|
+
}
|
|
197
|
+
</p-password>
|
|
198
|
+
</ng-template>
|
|
199
|
+
`
|
|
200
|
+
}]
|
|
201
|
+
}], propDecorators: { headerTemplate: [{
|
|
202
|
+
type: ContentChild,
|
|
203
|
+
args: [ExtraPasswordHeaderDirective, { read: TemplateRef }]
|
|
204
|
+
}], footerTemplate: [{
|
|
205
|
+
type: ContentChild,
|
|
206
|
+
args: [ExtraPasswordFooterDirective, { read: TemplateRef }]
|
|
207
|
+
}], feedback: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}], toggleMask: [{
|
|
210
|
+
type: Input
|
|
211
|
+
}], disabled: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], placeholder: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}], size: [{
|
|
216
|
+
type: Input
|
|
217
|
+
}], variant: [{
|
|
218
|
+
type: Input
|
|
219
|
+
}], fluid: [{
|
|
220
|
+
type: Input
|
|
221
|
+
}], invalid: [{
|
|
222
|
+
type: Input
|
|
223
|
+
}], floatLabel: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], label: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], promptLabel: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], weakLabel: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}], mediumLabel: [{
|
|
232
|
+
type: Input
|
|
233
|
+
}], strongLabel: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], inputId: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}], inputStyleClass: [{
|
|
238
|
+
type: Input
|
|
239
|
+
}], ariaLabel: [{
|
|
240
|
+
type: Input
|
|
241
|
+
}], ariaLabelledBy: [{
|
|
242
|
+
type: Input
|
|
243
|
+
}], appendTo: [{
|
|
244
|
+
type: Input
|
|
245
|
+
}], autofocus: [{
|
|
246
|
+
type: Input
|
|
247
|
+
}], onFocus: [{
|
|
248
|
+
type: Output
|
|
249
|
+
}], onBlur: [{
|
|
250
|
+
type: Output
|
|
251
|
+
}] } });
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Generated bundle index. Do not edit.
|
|
255
|
+
*/
|
|
256
|
+
|
|
257
|
+
export { ExtraPasswordComponent, ExtraPasswordFooterDirective, ExtraPasswordHeaderDirective };
|
|
258
|
+
//# sourceMappingURL=cdek-it-angular-ui-kit-components-password.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-password.mjs","sources":["../../src/lib/components/password/password.component.ts","../../src/lib/components/password/cdek-it-angular-ui-kit-components-password.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n Directive,\n EventEmitter,\n forwardRef,\n Input,\n Output,\n TemplateRef\n} from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Password } from 'primeng/password';\nimport { PrimeTemplate } from 'primeng/api';\nimport { FloatLabel } from 'primeng/floatlabel';\n\nexport type ExtraPasswordSize = 'small' | 'base' | 'large' | 'xlarge';\n\n@Directive({ selector: '[extraPasswordHeader]', standalone: true })\nexport class ExtraPasswordHeaderDirective {}\n\n@Directive({ selector: '[extraPasswordFooter]', standalone: true })\nexport class ExtraPasswordFooterDirective {}\n\n@Component({\n selector: 'extra-password',\n host: { style: 'display: block' },\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [Password, FormsModule, FloatLabel, NgTemplateOutlet, PrimeTemplate],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ExtraPasswordComponent),\n multi: true\n }\n ],\n template: `\n @if (floatLabel) {\n <p-floatlabel variant=\"in\">\n <ng-container *ngTemplateOutlet=\"passwordTpl\"></ng-container>\n <label [attr.for]=\"inputId\">{{ label }}</label>\n </p-floatlabel>\n } @else {\n <ng-container *ngTemplateOutlet=\"passwordTpl\"></ng-container>\n }\n\n <ng-template #passwordTpl>\n <p-password\n [ngModel]=\"modelValue\"\n (ngModelChange)=\"handleChange($event)\"\n [feedback]=\"feedback\"\n [toggleMask]=\"toggleMask\"\n [inputStyleClass]=\"computedInputStyleClass\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [promptLabel]=\"promptLabel\"\n [weakLabel]=\"weakLabel\"\n [mediumLabel]=\"mediumLabel\"\n [strongLabel]=\"strongLabel\"\n [variant]=\"variant\"\n [fluid]=\"fluid\"\n [invalid]=\"invalid\"\n [inputId]=\"inputId\"\n [ariaLabel]=\"ariaLabel\"\n [ariaLabelledBy]=\"ariaLabelledBy\"\n [appendTo]=\"appendTo\"\n [autofocus]=\"autofocus\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"onBlur.emit($event)\"\n >\n @if (headerTemplate) {\n <ng-template pTemplate=\"header\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n }\n @if (footerTemplate) {\n <ng-template pTemplate=\"footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </ng-template>\n }\n </p-password>\n </ng-template>\n `\n})\nexport class ExtraPasswordComponent implements ControlValueAccessor {\n @ContentChild(ExtraPasswordHeaderDirective, { read: TemplateRef }) headerTemplate: TemplateRef<any> | null = null;\n @ContentChild(ExtraPasswordFooterDirective, { read: TemplateRef }) footerTemplate: TemplateRef<any> | null = null;\n\n @Input() feedback = true;\n @Input() toggleMask = false;\n @Input() disabled = false;\n @Input() placeholder: string | undefined = undefined;\n @Input() size: ExtraPasswordSize = 'base';\n @Input() variant: 'filled' | 'outlined' = 'outlined';\n @Input() fluid = false;\n @Input() invalid = false;\n @Input() floatLabel = false;\n @Input() label = '';\n @Input() promptLabel = 'Введите пароль';\n @Input() weakLabel = 'Слабый';\n @Input() mediumLabel = 'Средний';\n @Input() strongLabel = 'Надёжный';\n @Input() inputId: string | undefined = undefined;\n @Input() inputStyleClass: string | undefined = undefined;\n @Input() ariaLabel: string | undefined = undefined;\n @Input() ariaLabelledBy: string | undefined = undefined;\n @Input() appendTo: any = 'body';\n @Input() autofocus = false;\n\n @Output() onFocus = new EventEmitter<Event>();\n @Output() onBlur = new EventEmitter<Event>();\n\n get sizeClass(): string {\n if (this.size === 'small') return 'p-inputtext-sm';\n if (this.size === 'large') return 'p-inputtext-lg';\n if (this.size === 'xlarge') return 'p-inputtext-lg p-inputtext-xlg';\n return '';\n }\n\n get computedInputStyleClass(): string {\n return [this.sizeClass, this.inputStyleClass].filter(Boolean).join(' ');\n }\n\n modelValue: string | null = null;\n\n private _onChange: (value: string | null) => void = () => {};\n private _onTouched: () => void = () => {};\n\n handleChange(value: string | null): void {\n this.modelValue = value;\n this._onChange(value);\n this._onTouched();\n }\n\n writeValue(value: string | null): void {\n this.modelValue = value;\n }\n\n registerOnChange(fn: (value: string | null) => void): void {\n this._onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this._onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAoBa,4BAA4B,CAAA;wGAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAA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AAC7E,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,4BAA4B,CAAC;AACrD,4BAAA,KAAK,EAAE;AACR;AACF,qBAAA;AACD,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CT,EAAA;AACF,iBAAA;;sBAEE,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,4BAA4B,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;;sBAChE,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,4BAA4B,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;;sBAEhE;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBACA;;sBAEA;;sBACA;;;AChHH;;AAEG;;;;"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ViewChild, Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { Popover } from 'primeng/popover';
|
|
4
|
+
import { SharedModule } from 'primeng/api';
|
|
5
|
+
|
|
6
|
+
class ExtraPopoverComponent {
|
|
7
|
+
dismissable = true;
|
|
8
|
+
appendTo = 'body';
|
|
9
|
+
op;
|
|
10
|
+
toggle(event) {
|
|
11
|
+
this.op.toggle(event);
|
|
12
|
+
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraPopoverComponent, isStandalone: true, selector: "extra-popover", inputs: { dismissable: "dismissable", appendTo: "appendTo" }, host: { styleAttribute: "display: contents" }, viewQueries: [{ propertyName: "op", first: true, predicate: ["op"], descendants: true }], ngImport: i0, template: `
|
|
15
|
+
<p-popover #op [dismissable]="dismissable" [appendTo]="appendTo">
|
|
16
|
+
<ng-content></ng-content>
|
|
17
|
+
</p-popover>
|
|
18
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraPopoverComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'extra-popover',
|
|
24
|
+
standalone: true,
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
imports: [Popover, SharedModule],
|
|
27
|
+
host: { style: 'display: contents' },
|
|
28
|
+
template: `
|
|
29
|
+
<p-popover #op [dismissable]="dismissable" [appendTo]="appendTo">
|
|
30
|
+
<ng-content></ng-content>
|
|
31
|
+
</p-popover>
|
|
32
|
+
`
|
|
33
|
+
}]
|
|
34
|
+
}], propDecorators: { dismissable: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], appendTo: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], op: [{
|
|
39
|
+
type: ViewChild,
|
|
40
|
+
args: ['op']
|
|
41
|
+
}] } });
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Generated bundle index. Do not edit.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
export { ExtraPopoverComponent };
|
|
48
|
+
//# sourceMappingURL=cdek-it-angular-ui-kit-components-popover.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdek-it-angular-ui-kit-components-popover.mjs","sources":["../../src/lib/components/popover/popover.component.ts","../../src/lib/components/popover/cdek-it-angular-ui-kit-components-popover.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewChild } from '@angular/core';\nimport { Popover } from 'primeng/popover';\nimport { SharedModule } from 'primeng/api';\n\n@Component({\n selector: 'extra-popover',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [Popover, SharedModule],\n host: { style: 'display: contents' },\n template: `\n <p-popover #op [dismissable]=\"dismissable\" [appendTo]=\"appendTo\">\n <ng-content></ng-content>\n </p-popover>\n `\n})\nexport class ExtraPopoverComponent {\n @Input() dismissable = true;\n @Input() appendTo: string | HTMLElement = 'body';\n\n @ViewChild('op') private op!: Popover;\n\n toggle(event: Event): void {\n this.op.toggle(event);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAgBa,qBAAqB,CAAA;IACvB,WAAW,GAAG,IAAI;IAClB,QAAQ,GAAyB,MAAM;AAEvB,IAAA,EAAE;AAE3B,IAAA,MAAM,CAAC,KAAY,EAAA;AACjB,QAAA,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;IACvB;wGARW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,mBAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,IAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANtB;;;;GAIT,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EANS,OAAO,8RAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAQpB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAZjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;AAChC,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;AACpC,oBAAA,QAAQ,EAAE;;;;AAIT,EAAA;AACF,iBAAA;;sBAEE;;sBACA;;sBAEA,SAAS;uBAAC,IAAI;;;ACpBjB;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Input, Component } from '@angular/core';
|
|
2
|
+
import { Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { ProgressBar } from 'primeng/progressbar';
|
|
4
4
|
|
|
5
5
|
class ExtraProgressBarComponent {
|
|
@@ -7,27 +7,16 @@ class ExtraProgressBarComponent {
|
|
|
7
7
|
mode = 'determinate';
|
|
8
8
|
showValue = true;
|
|
9
9
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraProgressBarComponent, isStandalone: true, selector: "extra-progressbar", inputs: { value: "value", mode: "mode", showValue: "showValue" }, ngImport: i0, template: `
|
|
11
|
-
<p-progressbar
|
|
12
|
-
[value]="value"
|
|
13
|
-
[mode]="mode"
|
|
14
|
-
[showValue]="showValue"
|
|
15
|
-
></p-progressbar>
|
|
16
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "unit", "mode", "color"] }] });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: ExtraProgressBarComponent, isStandalone: true, selector: "extra-progressbar", inputs: { value: "value", mode: "mode", showValue: "showValue" }, ngImport: i0, template: ` <p-progressbar [value]="value" [mode]="mode" [showValue]="showValue"></p-progressbar> `, isInline: true, dependencies: [{ kind: "component", type: ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "unit", "mode", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
11
|
}
|
|
18
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ExtraProgressBarComponent, decorators: [{
|
|
19
13
|
type: Component,
|
|
20
14
|
args: [{
|
|
21
15
|
selector: 'extra-progressbar',
|
|
22
16
|
standalone: true,
|
|
17
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
18
|
imports: [ProgressBar],
|
|
24
|
-
template: `
|
|
25
|
-
<p-progressbar
|
|
26
|
-
[value]="value"
|
|
27
|
-
[mode]="mode"
|
|
28
|
-
[showValue]="showValue"
|
|
29
|
-
></p-progressbar>
|
|
30
|
-
`,
|
|
19
|
+
template: ` <p-progressbar [value]="value" [mode]="mode" [showValue]="showValue"></p-progressbar> `
|
|
31
20
|
}]
|
|
32
21
|
}], propDecorators: { value: [{
|
|
33
22
|
type: Input
|