@taiga-ui/kit 4.52.0-canary.4d93c87 → 4.52.0-canary.55ce829
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/accordion.component.d.ts +13 -0
- package/components/accordion/accordion.d.ts +4 -4
- package/components/accordion/accordion.directive.d.ts +11 -10
- package/components/accordion/index.d.ts +1 -3
- package/components/action-bar/action-bar.component.d.ts +5 -7
- package/components/action-bar/index.d.ts +0 -2
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
- package/components/fullscreen/fullscreen.component.d.ts +14 -0
- package/components/fullscreen/index.d.ts +1 -0
- package/components/index.d.ts +3 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
- package/components/input-range/input-range.component.d.ts +8 -11
- package/components/input-slider/input-slider.directive.d.ts +1 -3
- package/components/input-time/input-time.directive.d.ts +1 -0
- package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
- package/components/line-clamp/line-clamp.component.d.ts +8 -10
- package/components/push/push-alert.component.d.ts +4 -3
- package/components/push/push.directive.d.ts +4 -6
- package/components/push/push.options.d.ts +4 -8
- package/components/push/push.service.d.ts +6 -2
- package/components/range/range-change.directive.d.ts +1 -1
- package/components/range/range.component.d.ts +0 -5
- package/components/slider/helpers/key-steps.d.ts +1 -2
- package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +18 -0
- package/components/toast/toast.d.ts +3 -0
- package/components/toast/toast.directive.d.ts +7 -0
- package/components/toast/toast.options.d.ts +9 -0
- package/components/toast/toast.service.d.ts +17 -0
- package/directives/button-select/button-select.directive.d.ts +1 -2
- package/directives/index.d.ts +0 -1
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -144
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +3 -3
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +12 -4
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +1 -2
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +102 -125
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +27 -21
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -26
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +18 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +2 -3
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +25 -64
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +10 -11
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +2 -9
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +37 -44
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +4 -13
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +29 -22
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +55 -53
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -1
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +2 -9
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
- package/package.json +115 -110
- package/styles/components/badge.less +1 -0
- package/styles/components/chip.less +12 -1
- package/styles/components/toast.less +44 -0
- package/components/accordion/accordion-item-content.directive.d.ts +0 -6
- package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
- package/components/accordion/accordion-item.component.d.ts +0 -25
- package/components/action-bar/action-bar.d.ts +0 -3
- package/components/action-bar/action-bar.directive.d.ts +0 -6
- package/components/pdf-viewer/index.d.ts +0 -4
- package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
- package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
- package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
- /package/{directives → components}/copy/copy.component.d.ts +0 -0
- /package/{directives → components}/copy/copy.d.ts +0 -0
- /package/{directives → components}/copy/copy.directive.d.ts +0 -0
- /package/{directives → components}/copy/copy.options.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
|
@@ -3,7 +3,6 @@ export * from '@taiga-ui/kit/directives/button-group';
|
|
|
3
3
|
export * from '@taiga-ui/kit/directives/button-select';
|
|
4
4
|
export * from '@taiga-ui/kit/directives/chevron';
|
|
5
5
|
export * from '@taiga-ui/kit/directives/connected';
|
|
6
|
-
export * from '@taiga-ui/kit/directives/copy';
|
|
7
6
|
export * from '@taiga-ui/kit/directives/data-list-dropdown-manager';
|
|
8
7
|
export * from '@taiga-ui/kit/directives/fade';
|
|
9
8
|
export * from '@taiga-ui/kit/directives/fluid-typography';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-directives.mjs","sources":["../../../projects/kit/directives/taiga-ui-kit-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-directives.mjs","sources":["../../../projects/kit/directives/taiga-ui-kit-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.52.0-canary.
|
|
3
|
+
"version": "4.52.0-canary.55ce829",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"default": "./fesm2022/taiga-ui-kit.mjs"
|
|
23
23
|
},
|
|
24
|
-
"./directives": {
|
|
25
|
-
"types": "./directives/index.d.ts",
|
|
26
|
-
"default": "./fesm2022/taiga-ui-kit-directives.mjs"
|
|
27
|
-
},
|
|
28
24
|
"./components": {
|
|
29
25
|
"types": "./components/index.d.ts",
|
|
30
26
|
"default": "./fesm2022/taiga-ui-kit-components.mjs"
|
|
31
27
|
},
|
|
28
|
+
"./directives": {
|
|
29
|
+
"types": "./directives/index.d.ts",
|
|
30
|
+
"default": "./fesm2022/taiga-ui-kit-directives.mjs"
|
|
31
|
+
},
|
|
32
32
|
"./pipes": {
|
|
33
33
|
"types": "./pipes/index.d.ts",
|
|
34
34
|
"default": "./fesm2022/taiga-ui-kit-pipes.mjs"
|
|
@@ -41,82 +41,6 @@
|
|
|
41
41
|
"types": "./utils/index.d.ts",
|
|
42
42
|
"default": "./fesm2022/taiga-ui-kit-utils.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./directives/button-close": {
|
|
45
|
-
"types": "./directives/button-close/index.d.ts",
|
|
46
|
-
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
47
|
-
},
|
|
48
|
-
"./directives/button-group": {
|
|
49
|
-
"types": "./directives/button-group/index.d.ts",
|
|
50
|
-
"default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
|
|
51
|
-
},
|
|
52
|
-
"./directives/button-select": {
|
|
53
|
-
"types": "./directives/button-select/index.d.ts",
|
|
54
|
-
"default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
|
|
55
|
-
},
|
|
56
|
-
"./directives/chevron": {
|
|
57
|
-
"types": "./directives/chevron/index.d.ts",
|
|
58
|
-
"default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
|
|
59
|
-
},
|
|
60
|
-
"./directives/connected": {
|
|
61
|
-
"types": "./directives/connected/index.d.ts",
|
|
62
|
-
"default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
|
|
63
|
-
},
|
|
64
|
-
"./directives/copy": {
|
|
65
|
-
"types": "./directives/copy/index.d.ts",
|
|
66
|
-
"default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
|
|
67
|
-
},
|
|
68
|
-
"./directives/data-list-dropdown-manager": {
|
|
69
|
-
"types": "./directives/data-list-dropdown-manager/index.d.ts",
|
|
70
|
-
"default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
|
|
71
|
-
},
|
|
72
|
-
"./directives/fade": {
|
|
73
|
-
"types": "./directives/fade/index.d.ts",
|
|
74
|
-
"default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
|
|
75
|
-
},
|
|
76
|
-
"./directives/fluid-typography": {
|
|
77
|
-
"types": "./directives/fluid-typography/index.d.ts",
|
|
78
|
-
"default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
|
|
79
|
-
},
|
|
80
|
-
"./directives/highlight": {
|
|
81
|
-
"types": "./directives/highlight/index.d.ts",
|
|
82
|
-
"default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
|
|
83
|
-
},
|
|
84
|
-
"./directives/lazy-loading": {
|
|
85
|
-
"types": "./directives/lazy-loading/index.d.ts",
|
|
86
|
-
"default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
|
|
87
|
-
},
|
|
88
|
-
"./directives/password": {
|
|
89
|
-
"types": "./directives/password/index.d.ts",
|
|
90
|
-
"default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
|
|
91
|
-
},
|
|
92
|
-
"./directives/present": {
|
|
93
|
-
"types": "./directives/present/index.d.ts",
|
|
94
|
-
"default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
|
|
95
|
-
},
|
|
96
|
-
"./directives/sensitive": {
|
|
97
|
-
"types": "./directives/sensitive/index.d.ts",
|
|
98
|
-
"default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
|
|
99
|
-
},
|
|
100
|
-
"./directives/shimmer": {
|
|
101
|
-
"types": "./directives/shimmer/index.d.ts",
|
|
102
|
-
"default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
|
|
103
|
-
},
|
|
104
|
-
"./directives/skeleton": {
|
|
105
|
-
"types": "./directives/skeleton/index.d.ts",
|
|
106
|
-
"default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
|
|
107
|
-
},
|
|
108
|
-
"./directives/tooltip": {
|
|
109
|
-
"types": "./directives/tooltip/index.d.ts",
|
|
110
|
-
"default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
|
|
111
|
-
},
|
|
112
|
-
"./directives/unfinished-validator": {
|
|
113
|
-
"types": "./directives/unfinished-validator/index.d.ts",
|
|
114
|
-
"default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
|
|
115
|
-
},
|
|
116
|
-
"./directives/unmask-handler": {
|
|
117
|
-
"types": "./directives/unmask-handler/index.d.ts",
|
|
118
|
-
"default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
|
|
119
|
-
},
|
|
120
44
|
"./components/accordion": {
|
|
121
45
|
"types": "./components/accordion/index.d.ts",
|
|
122
46
|
"default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
|
|
@@ -125,14 +49,14 @@
|
|
|
125
49
|
"types": "./components/action-bar/index.d.ts",
|
|
126
50
|
"default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
|
|
127
51
|
},
|
|
128
|
-
"./components/avatar": {
|
|
129
|
-
"types": "./components/avatar/index.d.ts",
|
|
130
|
-
"default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
|
|
131
|
-
},
|
|
132
52
|
"./components/badge": {
|
|
133
53
|
"types": "./components/badge/index.d.ts",
|
|
134
54
|
"default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
|
|
135
55
|
},
|
|
56
|
+
"./components/avatar": {
|
|
57
|
+
"types": "./components/avatar/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
|
|
59
|
+
},
|
|
136
60
|
"./components/badge-notification": {
|
|
137
61
|
"types": "./components/badge-notification/index.d.ts",
|
|
138
62
|
"default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
|
|
@@ -189,6 +113,10 @@
|
|
|
189
113
|
"types": "./components/confirm/index.d.ts",
|
|
190
114
|
"default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
|
|
191
115
|
},
|
|
116
|
+
"./components/copy": {
|
|
117
|
+
"types": "./components/copy/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
|
|
119
|
+
},
|
|
192
120
|
"./components/data-list-wrapper": {
|
|
193
121
|
"types": "./components/data-list-wrapper/index.d.ts",
|
|
194
122
|
"default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
|
|
@@ -205,13 +133,17 @@
|
|
|
205
133
|
"types": "./components/files/index.d.ts",
|
|
206
134
|
"default": "./fesm2022/taiga-ui-kit-components-files.mjs"
|
|
207
135
|
},
|
|
136
|
+
"./components/filter": {
|
|
137
|
+
"types": "./components/filter/index.d.ts",
|
|
138
|
+
"default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
|
|
139
|
+
},
|
|
208
140
|
"./components/floating-container": {
|
|
209
141
|
"types": "./components/floating-container/index.d.ts",
|
|
210
142
|
"default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
|
|
211
143
|
},
|
|
212
|
-
"./components/
|
|
213
|
-
"types": "./components/
|
|
214
|
-
"default": "./fesm2022/taiga-ui-kit-components-
|
|
144
|
+
"./components/fullscreen": {
|
|
145
|
+
"types": "./components/fullscreen/index.d.ts",
|
|
146
|
+
"default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
|
|
215
147
|
},
|
|
216
148
|
"./components/input-chip": {
|
|
217
149
|
"types": "./components/input-chip/index.d.ts",
|
|
@@ -273,14 +205,14 @@
|
|
|
273
205
|
"types": "./components/input-slider/index.d.ts",
|
|
274
206
|
"default": "./fesm2022/taiga-ui-kit-components-input-slider.mjs"
|
|
275
207
|
},
|
|
276
|
-
"./components/input-year": {
|
|
277
|
-
"types": "./components/input-year/index.d.ts",
|
|
278
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-year.mjs"
|
|
279
|
-
},
|
|
280
208
|
"./components/input-time": {
|
|
281
209
|
"types": "./components/input-time/index.d.ts",
|
|
282
210
|
"default": "./fesm2022/taiga-ui-kit-components-input-time.mjs"
|
|
283
211
|
},
|
|
212
|
+
"./components/input-year": {
|
|
213
|
+
"types": "./components/input-year/index.d.ts",
|
|
214
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-year.mjs"
|
|
215
|
+
},
|
|
284
216
|
"./components/items-with-more": {
|
|
285
217
|
"types": "./components/items-with-more/index.d.ts",
|
|
286
218
|
"default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
|
|
@@ -301,21 +233,17 @@
|
|
|
301
233
|
"types": "./components/multi-select/index.d.ts",
|
|
302
234
|
"default": "./fesm2022/taiga-ui-kit-components-multi-select.mjs"
|
|
303
235
|
},
|
|
304
|
-
"./components/
|
|
305
|
-
"types": "./components/
|
|
306
|
-
"default": "./fesm2022/taiga-ui-kit-components-
|
|
236
|
+
"./components/notification-middle": {
|
|
237
|
+
"types": "./components/notification-middle/index.d.ts",
|
|
238
|
+
"default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
|
|
307
239
|
},
|
|
308
240
|
"./components/pager": {
|
|
309
241
|
"types": "./components/pager/index.d.ts",
|
|
310
242
|
"default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
|
|
311
243
|
},
|
|
312
|
-
"./components/
|
|
313
|
-
"types": "./components/
|
|
314
|
-
"default": "./fesm2022/taiga-ui-kit-components-
|
|
315
|
-
},
|
|
316
|
-
"./components/pdf-viewer": {
|
|
317
|
-
"types": "./components/pdf-viewer/index.d.ts",
|
|
318
|
-
"default": "./fesm2022/taiga-ui-kit-components-pdf-viewer.mjs"
|
|
244
|
+
"./components/pagination": {
|
|
245
|
+
"types": "./components/pagination/index.d.ts",
|
|
246
|
+
"default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
|
|
319
247
|
},
|
|
320
248
|
"./components/pin": {
|
|
321
249
|
"types": "./components/pin/index.d.ts",
|
|
@@ -397,10 +325,86 @@
|
|
|
397
325
|
"types": "./components/tiles/index.d.ts",
|
|
398
326
|
"default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
|
|
399
327
|
},
|
|
328
|
+
"./components/toast": {
|
|
329
|
+
"types": "./components/toast/index.d.ts",
|
|
330
|
+
"default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
|
|
331
|
+
},
|
|
400
332
|
"./components/tree": {
|
|
401
333
|
"types": "./components/tree/index.d.ts",
|
|
402
334
|
"default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
|
|
403
335
|
},
|
|
336
|
+
"./directives/button-close": {
|
|
337
|
+
"types": "./directives/button-close/index.d.ts",
|
|
338
|
+
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
339
|
+
},
|
|
340
|
+
"./directives/button-group": {
|
|
341
|
+
"types": "./directives/button-group/index.d.ts",
|
|
342
|
+
"default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
|
|
343
|
+
},
|
|
344
|
+
"./directives/button-select": {
|
|
345
|
+
"types": "./directives/button-select/index.d.ts",
|
|
346
|
+
"default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
|
|
347
|
+
},
|
|
348
|
+
"./directives/chevron": {
|
|
349
|
+
"types": "./directives/chevron/index.d.ts",
|
|
350
|
+
"default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
|
|
351
|
+
},
|
|
352
|
+
"./directives/connected": {
|
|
353
|
+
"types": "./directives/connected/index.d.ts",
|
|
354
|
+
"default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
|
|
355
|
+
},
|
|
356
|
+
"./directives/data-list-dropdown-manager": {
|
|
357
|
+
"types": "./directives/data-list-dropdown-manager/index.d.ts",
|
|
358
|
+
"default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
|
|
359
|
+
},
|
|
360
|
+
"./directives/fade": {
|
|
361
|
+
"types": "./directives/fade/index.d.ts",
|
|
362
|
+
"default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
|
|
363
|
+
},
|
|
364
|
+
"./directives/fluid-typography": {
|
|
365
|
+
"types": "./directives/fluid-typography/index.d.ts",
|
|
366
|
+
"default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
|
|
367
|
+
},
|
|
368
|
+
"./directives/highlight": {
|
|
369
|
+
"types": "./directives/highlight/index.d.ts",
|
|
370
|
+
"default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
|
|
371
|
+
},
|
|
372
|
+
"./directives/lazy-loading": {
|
|
373
|
+
"types": "./directives/lazy-loading/index.d.ts",
|
|
374
|
+
"default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
|
|
375
|
+
},
|
|
376
|
+
"./directives/password": {
|
|
377
|
+
"types": "./directives/password/index.d.ts",
|
|
378
|
+
"default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
|
|
379
|
+
},
|
|
380
|
+
"./directives/present": {
|
|
381
|
+
"types": "./directives/present/index.d.ts",
|
|
382
|
+
"default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
|
|
383
|
+
},
|
|
384
|
+
"./directives/sensitive": {
|
|
385
|
+
"types": "./directives/sensitive/index.d.ts",
|
|
386
|
+
"default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
|
|
387
|
+
},
|
|
388
|
+
"./directives/shimmer": {
|
|
389
|
+
"types": "./directives/shimmer/index.d.ts",
|
|
390
|
+
"default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
|
|
391
|
+
},
|
|
392
|
+
"./directives/skeleton": {
|
|
393
|
+
"types": "./directives/skeleton/index.d.ts",
|
|
394
|
+
"default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
|
|
395
|
+
},
|
|
396
|
+
"./directives/tooltip": {
|
|
397
|
+
"types": "./directives/tooltip/index.d.ts",
|
|
398
|
+
"default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
|
|
399
|
+
},
|
|
400
|
+
"./directives/unfinished-validator": {
|
|
401
|
+
"types": "./directives/unfinished-validator/index.d.ts",
|
|
402
|
+
"default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
|
|
403
|
+
},
|
|
404
|
+
"./directives/unmask-handler": {
|
|
405
|
+
"types": "./directives/unmask-handler/index.d.ts",
|
|
406
|
+
"default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
|
|
407
|
+
},
|
|
404
408
|
"./pipes/emails": {
|
|
405
409
|
"types": "./pipes/emails/index.d.ts",
|
|
406
410
|
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
@@ -435,16 +439,17 @@
|
|
|
435
439
|
"@angular/core": ">=19.0.0",
|
|
436
440
|
"@angular/forms": ">=19.0.0",
|
|
437
441
|
"@angular/router": ">=19.0.0",
|
|
438
|
-
"@maskito/angular": "^
|
|
439
|
-
"@maskito/core": "^
|
|
440
|
-
"@maskito/kit": "^
|
|
441
|
-
"@maskito/phone": "^
|
|
442
|
-
"@ng-web-apis/common": "^4.12.
|
|
443
|
-
"@ng-web-apis/intersection-observer": "^4.12.
|
|
444
|
-
"@ng-web-apis/mutation-observer": "^4.12.
|
|
445
|
-
"@ng-web-apis/resize-observer": "^4.12.
|
|
442
|
+
"@maskito/angular": "^4.0.0",
|
|
443
|
+
"@maskito/core": "^4.0.0",
|
|
444
|
+
"@maskito/kit": "^4.0.0",
|
|
445
|
+
"@maskito/phone": "^4.0.0",
|
|
446
|
+
"@ng-web-apis/common": "^4.12.2",
|
|
447
|
+
"@ng-web-apis/intersection-observer": "^4.12.2",
|
|
448
|
+
"@ng-web-apis/mutation-observer": "^4.12.2",
|
|
449
|
+
"@ng-web-apis/resize-observer": "^4.12.2",
|
|
446
450
|
"@taiga-ui/cdk": "^4.52.0",
|
|
447
451
|
"@taiga-ui/core": "^4.52.0",
|
|
452
|
+
"@taiga-ui/design-tokens": "~0.258.0",
|
|
448
453
|
"@taiga-ui/i18n": "^4.52.0",
|
|
449
454
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
450
455
|
"rxjs": ">=7.0.0"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* <tui-chip>Sale</tui-
|
|
14
|
+
* <tui-chip>Sale</tui-chip>
|
|
15
15
|
*
|
|
16
16
|
* @see-also
|
|
17
17
|
* Icons, Appearance, Badge, Block
|
|
@@ -32,6 +32,7 @@ tui-chip,
|
|
|
32
32
|
block-size: var(--t-size);
|
|
33
33
|
inline-size: fit-content;
|
|
34
34
|
isolation: isolate;
|
|
35
|
+
max-inline-size: stretch;
|
|
35
36
|
|
|
36
37
|
.interactive({
|
|
37
38
|
cursor: pointer;
|
|
@@ -47,6 +48,11 @@ tui-chip,
|
|
|
47
48
|
margin: -0.375rem;
|
|
48
49
|
}
|
|
49
50
|
|
|
51
|
+
> tui-badge,
|
|
52
|
+
> [tuiBadge] {
|
|
53
|
+
margin-inline-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
&[data-size='xxs'] {
|
|
51
57
|
// StackBlitz changes "0rem" to "0" breaking calc
|
|
52
58
|
--t-gap: ~'0rem';
|
|
@@ -85,6 +91,11 @@ tui-chip,
|
|
|
85
91
|
& > [tuiIconButton] {
|
|
86
92
|
margin: -0.75rem;
|
|
87
93
|
}
|
|
94
|
+
|
|
95
|
+
& > tui-badge,
|
|
96
|
+
& > [tuiBadge] {
|
|
97
|
+
margin-inline-start: -0.375rem;
|
|
98
|
+
}
|
|
88
99
|
}
|
|
89
100
|
|
|
90
101
|
& > img,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
[tuiToast] {
|
|
4
|
+
.transition(transform);
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
grid-row: 1 / span 2;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
gap: 0.75rem;
|
|
10
|
+
color: var(--tui-text-primary);
|
|
11
|
+
background: var(--tui-background-elevation-3);
|
|
12
|
+
min-block-size: 3.5rem;
|
|
13
|
+
border-radius: 1rem;
|
|
14
|
+
padding: 0.75rem 1rem;
|
|
15
|
+
box-shadow: var(--tui-shadow-medium);
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
inline-size: max-content;
|
|
19
|
+
font: var(--tui-font-text-ui-s);
|
|
20
|
+
max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
|
|
21
|
+
border: inherit;
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
|
|
25
|
+
.interactive({
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
> *,
|
|
30
|
+
&::after,
|
|
31
|
+
&::before {
|
|
32
|
+
max-inline-size: 50%;
|
|
33
|
+
margin: 0 -0.25rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::after {
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
color: var(--tui-text-tertiary);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[tuiAvatar] {
|
|
42
|
+
margin-inline-end: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiAccordionItemContent extends PolymorpheusTemplate<Record<string, unknown>> {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemContent, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemContent, "ng-template[tuiAccordionItemContent]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TuiAccordionItemEagerContent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemEagerContent, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemEagerContent, "[tuiAccordionItemContent]:not(ng-template)", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
-
import { TuiAccordionItemContent } from './accordion-item-content.directive';
|
|
4
|
-
import { TuiAccordionItemEagerContent } from './accordion-item-eager-content.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TuiAccordionItem {
|
|
7
|
-
private readonly cdr;
|
|
8
|
-
protected readonly eagerContent?: TuiAccordionItemEagerContent;
|
|
9
|
-
protected readonly lazyContent?: TuiAccordionItemContent;
|
|
10
|
-
noPadding: boolean;
|
|
11
|
-
showArrow: boolean;
|
|
12
|
-
borders: 'all' | 'top-bottom' | null;
|
|
13
|
-
size: TuiSizeS;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
disableHover: boolean;
|
|
16
|
-
open: boolean;
|
|
17
|
-
async: boolean;
|
|
18
|
-
readonly openChange: EventEmitter<boolean>;
|
|
19
|
-
close(): void;
|
|
20
|
-
protected onRowToggle(): void;
|
|
21
|
-
protected onItemKeyDownEsc(event: Event): void;
|
|
22
|
-
private updateOpen;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItem, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAccordionItem, "tui-accordion-item", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableHover": { "alias": "disableHover"; "required": false; }; "open": { "alias": "open"; "required": false; }; "async": { "alias": "async"; "required": false; }; }, { "openChange": "openChange"; }, ["eagerContent", "lazyContent"], ["*", "[tuiAccordionItemContent]:not(ng-template)"], true, never>;
|
|
25
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiActionBarDirective extends TuiDropdownPortal {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiActionBarDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiActionBarDirective, "ng-template[tuiActionBar]", never, { "tuiDropdown": { "alias": "tuiActionBar"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
-
export declare class TuiPdfViewerComponent<I, O> {
|
|
6
|
-
protected readonly closeWord$: import("rxjs").Observable<string>;
|
|
7
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
8
|
-
protected readonly context: TuiPopover<TuiPdfViewerOptions<I>, O>;
|
|
9
|
-
protected onKeyDownEsc(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
-
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiPdfViewerDirective<T> extends TuiPopoverDirective<TuiPdfViewerOptions<T>> {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "options": { "alias": "tuiPdfViewerOptions"; "required": false; }; "open": { "alias": "tuiPdfViewer"; "required": false; }; }, { "openChange": "tuiPdfViewerChange"; }, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
-
export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
|
|
4
|
-
/**
|
|
5
|
-
* Default parameters for PdfViewer component
|
|
6
|
-
*/
|
|
7
|
-
export declare const TUI_PDF_VIEWER_OPTIONS: InjectionToken<TuiPdfViewerOptions<undefined>>;
|
|
8
|
-
export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerOptions>): Provider;
|
|
9
|
-
export interface TuiPdfViewerOptions<I = undefined> {
|
|
10
|
-
readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
|
|
11
|
-
readonly data: I;
|
|
12
|
-
readonly label: string;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type SafeResourceUrl } from '@angular/platform-browser';
|
|
2
|
-
import { type TuiPopoverContext, TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
-
import { type Observable } from 'rxjs';
|
|
5
|
-
import { type TuiPdfViewerOptions } from './pdf-viewer.options';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>;
|
|
8
|
-
export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {
|
|
9
|
-
open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { AsyncPipe } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, ChangeDetectionStrategy, Component, InjectionToken, Injectable, Directive } from '@angular/core';
|
|
4
|
-
import * as i1 from '@taiga-ui/cdk/directives/animated';
|
|
5
|
-
import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
|
|
6
|
-
import { TuiButton } from '@taiga-ui/core/components/button';
|
|
7
|
-
import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
8
|
-
import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
|
|
9
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
10
|
-
import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
|
|
11
|
-
import { TUI_DIALOGS } from '@taiga-ui/core/components/dialog';
|
|
12
|
-
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
13
|
-
|
|
14
|
-
class TuiPdfViewerComponent {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.closeWord$ = inject(TUI_CLOSE_WORD);
|
|
17
|
-
this.icons = inject(TUI_COMMON_ICONS);
|
|
18
|
-
this.context = injectContext();
|
|
19
|
-
}
|
|
20
|
-
onKeyDownEsc() {
|
|
21
|
-
this.context.$implicit.complete();
|
|
22
|
-
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { listeners: { "document:keydown.esc": "onKeyDownEsc()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord$ | async }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'tui-pdf-viewer', imports: [AsyncPipe, PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
|
|
29
|
-
'(document:keydown.esc)': 'onKeyDownEsc()',
|
|
30
|
-
}, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord$ | async }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"] }]
|
|
31
|
-
}] });
|
|
32
|
-
|
|
33
|
-
const TUI_PDF_VIEWER_DEFAULT_OPTIONS = {
|
|
34
|
-
label: '',
|
|
35
|
-
actions: '',
|
|
36
|
-
data: undefined,
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Default parameters for PdfViewer component
|
|
40
|
-
*/
|
|
41
|
-
const TUI_PDF_VIEWER_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_PDF_VIEWER_OPTIONS' : '', {
|
|
42
|
-
factory: () => TUI_PDF_VIEWER_DEFAULT_OPTIONS,
|
|
43
|
-
});
|
|
44
|
-
function tuiPdfViewerOptionsProvider(options) {
|
|
45
|
-
return tuiProvideOptions(TUI_PDF_VIEWER_OPTIONS, options, TUI_PDF_VIEWER_DEFAULT_OPTIONS);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
class TuiPdfViewerService extends TuiPopoverService {
|
|
49
|
-
open(content, options = {}) {
|
|
50
|
-
return super.open(content, options);
|
|
51
|
-
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
53
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, providedIn: 'root', useFactory: () => new TuiPdfViewerService(TUI_DIALOGS, TuiPdfViewerComponent, inject(TUI_PDF_VIEWER_OPTIONS)) }); }
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, decorators: [{
|
|
56
|
-
type: Injectable,
|
|
57
|
-
args: [{
|
|
58
|
-
providedIn: 'root',
|
|
59
|
-
useFactory: () => new TuiPdfViewerService(TUI_DIALOGS, TuiPdfViewerComponent, inject(TUI_PDF_VIEWER_OPTIONS)),
|
|
60
|
-
}]
|
|
61
|
-
}] });
|
|
62
|
-
|
|
63
|
-
class TuiPdfViewerDirective extends TuiPopoverDirective {
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
65
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiPdfViewerDirective, isStandalone: true, selector: "ng-template[tuiPdfViewer]", inputs: { options: ["tuiPdfViewerOptions", "options"], open: ["tuiPdfViewer", "open"] }, outputs: { openChange: "tuiPdfViewerChange" }, providers: [tuiAsPopover(TuiPdfViewerService)], usesInheritance: true, ngImport: i0 }); }
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerDirective, decorators: [{
|
|
68
|
-
type: Directive,
|
|
69
|
-
args: [{
|
|
70
|
-
standalone: true,
|
|
71
|
-
selector: 'ng-template[tuiPdfViewer]',
|
|
72
|
-
inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],
|
|
73
|
-
outputs: ['openChange: tuiPdfViewerChange'],
|
|
74
|
-
providers: [tuiAsPopover(TuiPdfViewerService)],
|
|
75
|
-
}]
|
|
76
|
-
}] });
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Generated bundle index. Do not edit.
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
export { TUI_PDF_VIEWER_DEFAULT_OPTIONS, TUI_PDF_VIEWER_OPTIONS, TuiPdfViewerComponent, TuiPdfViewerDirective, TuiPdfViewerService, tuiPdfViewerOptionsProvider };
|
|
83
|
-
//# sourceMappingURL=taiga-ui-kit-components-pdf-viewer.mjs.map
|