@ng-nest/ui 20.0.7 → 20.1.0
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/auto-complete/index.d.ts +33 -8
- package/base-form/index.d.ts +3 -3
- package/calendar/index.d.ts +1 -2
- package/cascade/index.d.ts +33 -8
- package/checkbox/index.d.ts +3 -3
- package/color-picker/index.d.ts +34 -8
- package/core/index.d.ts +40 -8
- package/date-picker/index.d.ts +57 -12
- package/dropdown/index.d.ts +4 -4
- package/fesm2022/ng-nest-ui-affix.mjs +12 -12
- package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-alert.mjs +35 -35
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-anchor.mjs +31 -31
- package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-api.mjs +7 -7
- package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-auto-complete.mjs +82 -72
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-avatar.mjs +31 -31
- package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +18 -18
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-badge.mjs +23 -23
- package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-base-form.mjs +45 -45
- package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-button.mjs +42 -42
- package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-calendar.mjs +20 -20
- package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-card.mjs +15 -15
- package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-carousel.mjs +46 -46
- package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-cascade.mjs +86 -76
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +39 -39
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-collapse.mjs +31 -31
- package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color-picker.mjs +91 -72
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color.mjs +16 -16
- package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-comment.mjs +21 -21
- package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-container.mjs +37 -37
- package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs +38 -22
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-crumb.mjs +13 -13
- package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-date-picker.mjs +273 -253
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-description.mjs +31 -31
- package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dialog.mjs +81 -81
- package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-doc.mjs +7 -7
- package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drawer.mjs +42 -42
- package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dropdown.mjs +49 -49
- package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-empty.mjs +12 -12
- package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-examples.mjs +7 -7
- package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-find.mjs +79 -77
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +33 -33
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +20 -20
- package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-i18n.mjs +15 -15
- package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-icon.mjs +21 -21
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +39 -39
- package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-inner.mjs +11 -11
- package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input-number.mjs +42 -42
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +102 -81
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +15 -15
- package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-layout.mjs +31 -31
- package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-link.mjs +18 -18
- package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-list.mjs +80 -80
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +22 -22
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-menu.mjs +45 -45
- package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +10 -10
- package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-notification.mjs +10 -10
- package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-outlet.mjs +9 -9
- package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-page-header.mjs +15 -15
- package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pagination.mjs +53 -53
- package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popconfirm.mjs +27 -27
- package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popover.mjs +38 -38
- package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-portal.mjs +7 -7
- package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +38 -38
- package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-radio.mjs +36 -36
- package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-rate.mjs +30 -30
- package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-resizable.mjs +16 -16
- package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-result.mjs +16 -16
- package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-ripple.mjs +13 -13
- package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-scrollable.mjs +102 -19
- package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs +121 -111
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-skeleton.mjs +15 -15
- package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider-select.mjs +54 -54
- package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider.mjs +39 -39
- package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-statistic.mjs +30 -30
- package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-steps.mjs +19 -19
- package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-switch.mjs +26 -26
- package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table-view.mjs +490 -242
- package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +221 -221
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tabs.mjs +58 -58
- package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tag.mjs +22 -22
- package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-text-retract.mjs +15 -15
- package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-textarea.mjs +41 -41
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-theme.mjs +23 -23
- package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-picker.mjs +104 -94
- package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-timeline.mjs +15 -15
- package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tooltip.mjs +38 -38
- package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-transfer.mjs +40 -40
- package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-file.mjs +28 -28
- package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-select.mjs +126 -116
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +107 -107
- package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-typography.mjs +13 -13
- package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-upload.mjs +37 -37
- package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
- package/find/index.d.ts +5 -5
- package/form/index.d.ts +1 -1
- package/input/index.d.ts +32 -5
- package/input-number/index.d.ts +5 -5
- package/list/index.d.ts +2 -2
- package/message-box/index.d.ts +4 -5
- package/package.json +20 -20
- package/radio/index.d.ts +3 -3
- package/rate/index.d.ts +5 -5
- package/scrollable/index.d.ts +15 -7
- package/select/index.d.ts +38 -8
- package/slider-select/index.d.ts +3 -3
- package/steps/index.d.ts +1 -2
- package/switch/index.d.ts +3 -3
- package/table-view/index.d.ts +121 -79
- package/textarea/index.d.ts +3 -3
- package/theme/index.d.ts +1 -1
- package/time-picker/index.d.ts +33 -8
- package/transfer/index.d.ts +1 -1
- package/tree-select/index.d.ts +33 -8
- package/upload/index.d.ts +2 -2
|
@@ -32,177 +32,187 @@ class XTimePickerProperty extends XFormControlFunction(X_TIME_PICKER_CONFIG_NAME
|
|
|
32
32
|
* @zh_CN 时间类型
|
|
33
33
|
* @en_US Time type
|
|
34
34
|
*/
|
|
35
|
-
this.type = input('time');
|
|
35
|
+
this.type = input('time', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
36
36
|
/**
|
|
37
37
|
* @zh_CN 形态变体
|
|
38
38
|
* @en_US Input variant
|
|
39
39
|
*/
|
|
40
|
-
this.variant = input(this.config?.variant ?? 'outlined');
|
|
40
|
+
this.variant = input(this.config?.variant ?? 'outlined', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
41
41
|
/**
|
|
42
42
|
* @zh_CN 格式化
|
|
43
43
|
* @en_US Format
|
|
44
44
|
*/
|
|
45
|
-
this.format = input(this.config?.format ?? 'HH:mm:ss');
|
|
45
|
+
this.format = input(this.config?.format ?? 'HH:mm:ss', ...(ngDevMode ? [{ debugName: "format" }] : []));
|
|
46
46
|
/**
|
|
47
47
|
* @zh_CN 展示方位
|
|
48
48
|
* @en_US Display position
|
|
49
49
|
*/
|
|
50
|
-
this.placement = input(this.config?.placement ?? 'bottom-start');
|
|
50
|
+
this.placement = input(this.config?.placement ?? 'bottom-start', ...(ngDevMode ? [{ debugName: "placement" }] : []));
|
|
51
51
|
/**
|
|
52
52
|
* @zh_CN 使用12小时制
|
|
53
53
|
* @en_US Use 12 hour clock
|
|
54
54
|
*/
|
|
55
|
-
this.use12Hours = input(this.config?.use12Hours ?? false, { transform: XToBoolean });
|
|
55
|
+
this.use12Hours = input(this.config?.use12Hours ?? false, ...(ngDevMode ? [{ debugName: "use12Hours", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
56
56
|
/**
|
|
57
57
|
* @zh_CN 显示边框
|
|
58
58
|
* @en_US Display Border
|
|
59
59
|
*/
|
|
60
|
-
this.bordered = input(this.config?.bordered ?? true, { transform: XToBoolean });
|
|
60
|
+
this.bordered = input(this.config?.bordered ?? true, ...(ngDevMode ? [{ debugName: "bordered", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
61
61
|
/**
|
|
62
62
|
* @zh_CN 小时选项间隔
|
|
63
63
|
* @en_US Hour option interval
|
|
64
64
|
*/
|
|
65
|
-
this.hourStep = input(this.config?.hourStep ?? 1, { transform: XToNumber });
|
|
65
|
+
this.hourStep = input(this.config?.hourStep ?? 1, ...(ngDevMode ? [{ debugName: "hourStep", transform: XToNumber }] : [{ transform: XToNumber }]));
|
|
66
66
|
/**
|
|
67
67
|
* @zh_CN 分钟选项间隔
|
|
68
68
|
* @en_US Minute option interval
|
|
69
69
|
*/
|
|
70
|
-
this.minuteStep = input(this.config?.minuteStep ?? 1, { transform: XToNumber });
|
|
70
|
+
this.minuteStep = input(this.config?.minuteStep ?? 1, ...(ngDevMode ? [{ debugName: "minuteStep", transform: XToNumber }] : [{ transform: XToNumber }]));
|
|
71
71
|
/**
|
|
72
72
|
* @zh_CN 秒选项间隔
|
|
73
73
|
* @en_US Second option interval
|
|
74
74
|
*/
|
|
75
|
-
this.secondStep = input(this.config?.secondStep ?? 1, { transform: XToNumber });
|
|
75
|
+
this.secondStep = input(this.config?.secondStep ?? 1, ...(ngDevMode ? [{ debugName: "secondStep", transform: XToNumber }] : [{ transform: XToNumber }]));
|
|
76
76
|
/**
|
|
77
77
|
* @zh_CN 快捷选择按钮,支持此刻以及自定义
|
|
78
78
|
* @en_US Quick selection button, support now and custom
|
|
79
79
|
*/
|
|
80
|
-
this.preset = input([]);
|
|
80
|
+
this.preset = input([], ...(ngDevMode ? [{ debugName: "preset" }] : []));
|
|
81
81
|
/**
|
|
82
82
|
* @zh_CN 禁用的时间
|
|
83
83
|
* @en_US Disabled time
|
|
84
84
|
*/
|
|
85
|
-
this.disabledTime = input();
|
|
85
|
+
this.disabledTime = input(...(ngDevMode ? [undefined, { debugName: "disabledTime" }] : []));
|
|
86
86
|
/**
|
|
87
87
|
* @zh_CN 下拉框设置样式名
|
|
88
88
|
* @en_US The style class name of the drop-down box
|
|
89
89
|
*/
|
|
90
|
-
this.portalClass = input('');
|
|
90
|
+
this.portalClass = input('', ...(ngDevMode ? [{ debugName: "portalClass" }] : []));
|
|
91
|
+
/**
|
|
92
|
+
* @zh_CN 浮动标签
|
|
93
|
+
* @en_US Float label
|
|
94
|
+
*/
|
|
95
|
+
this.floatLabel = input(this.config?.floatLabel ?? null, ...(ngDevMode ? [{ debugName: "floatLabel" }] : []));
|
|
96
|
+
/**
|
|
97
|
+
* @zh_CN 固定浮动标签
|
|
98
|
+
* @en_US Fixed float label
|
|
99
|
+
*/
|
|
100
|
+
this.floatFixed = input(this.config?.floatFixed ?? false, ...(ngDevMode ? [{ debugName: "floatFixed", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
91
101
|
/**
|
|
92
102
|
* @zh_CN 尺寸
|
|
93
103
|
* @en_US Size
|
|
94
104
|
*/
|
|
95
|
-
this.size = input(this.config?.size ?? 'medium');
|
|
105
|
+
this.size = input(this.config?.size ?? 'medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
96
106
|
/**
|
|
97
107
|
* @zh_CN 输入框点击样式
|
|
98
108
|
* @en_US Input pointer
|
|
99
109
|
*/
|
|
100
|
-
this.pointer = input(true, { transform: XToBoolean });
|
|
110
|
+
this.pointer = input(true, ...(ngDevMode ? [{ debugName: "pointer", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
101
111
|
/**
|
|
102
112
|
* @zh_CN 初始启用验证,在输入值都自动开启
|
|
103
113
|
* @en_US Initial enable validation, which is automatically enabled when the input value is
|
|
104
114
|
*/
|
|
105
|
-
this.validator = input(false, { transform: XToBoolean });
|
|
115
|
+
this.validator = input(false, ...(ngDevMode ? [{ debugName: "validator", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
106
116
|
/**
|
|
107
117
|
* @zh_CN 标签
|
|
108
118
|
* @en_US Label
|
|
109
119
|
*/
|
|
110
|
-
this.label = input('');
|
|
120
|
+
this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
111
121
|
/**
|
|
112
122
|
* @zh_CN 标签宽度
|
|
113
123
|
* @en_US Label width
|
|
114
124
|
*/
|
|
115
|
-
this.labelWidth = input('', { transform: XToCssPixelValue });
|
|
125
|
+
this.labelWidth = input('', ...(ngDevMode ? [{ debugName: "labelWidth", transform: XToCssPixelValue }] : [{ transform: XToCssPixelValue }]));
|
|
116
126
|
/**
|
|
117
127
|
* @zh_CN 标签文字对齐方式
|
|
118
128
|
* @en_US Label text alignment method
|
|
119
129
|
*/
|
|
120
|
-
this.labelAlign = input('start');
|
|
130
|
+
this.labelAlign = input('start', ...(ngDevMode ? [{ debugName: "labelAlign" }] : []));
|
|
121
131
|
/**
|
|
122
132
|
* @zh_CN flex 布局下的子元素水平排列方式
|
|
123
133
|
* @en_US The level of sub-element level arrangement under flex layout
|
|
124
134
|
*/
|
|
125
|
-
this.justify = input('start');
|
|
135
|
+
this.justify = input('start', ...(ngDevMode ? [{ debugName: "justify" }] : []));
|
|
126
136
|
/**
|
|
127
137
|
* @zh_CN flex 布局下的子元素垂直排列方式
|
|
128
138
|
* @en_US sub-element vertical arrangement method under flex layout
|
|
129
139
|
*/
|
|
130
|
-
this.align = input('start');
|
|
140
|
+
this.align = input('start', ...(ngDevMode ? [{ debugName: "align" }] : []));
|
|
131
141
|
/**
|
|
132
142
|
* @zh_CN flex 布局下的子元素排列方向
|
|
133
143
|
* @en_US The direction of the sub-element arrangement under flex layout
|
|
134
144
|
*/
|
|
135
|
-
this.direction = input('column');
|
|
145
|
+
this.direction = input('column', ...(ngDevMode ? [{ debugName: "direction" }] : []));
|
|
136
146
|
/**
|
|
137
147
|
* @zh_CN 输入提示信息
|
|
138
148
|
* @en_US Enter prompt information
|
|
139
149
|
*/
|
|
140
|
-
this.placeholder = input('');
|
|
150
|
+
this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
141
151
|
/**
|
|
142
152
|
* @zh_CN 禁用
|
|
143
153
|
* @en_US Disabled
|
|
144
154
|
*/
|
|
145
|
-
this.disabled = input(false, { transform: XToBoolean });
|
|
155
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
146
156
|
/**
|
|
147
157
|
* @zh_CN 必填
|
|
148
158
|
* @en_US Required
|
|
149
159
|
*/
|
|
150
|
-
this.required = input(false, { transform: XToBoolean });
|
|
160
|
+
this.required = input(false, ...(ngDevMode ? [{ debugName: "required", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
151
161
|
/**
|
|
152
162
|
* @zh_CN 只读
|
|
153
163
|
* @en_US Readonly
|
|
154
164
|
*/
|
|
155
|
-
this.readonly = input(true, { transform: XToBoolean });
|
|
165
|
+
this.readonly = input(true, ...(ngDevMode ? [{ debugName: "readonly", transform: XToBoolean }] : [{ transform: XToBoolean }]));
|
|
156
166
|
/**
|
|
157
167
|
* @zh_CN 值模板
|
|
158
168
|
* @en_US Node template
|
|
159
169
|
*/
|
|
160
|
-
this.valueTpl = input();
|
|
170
|
+
this.valueTpl = input(...(ngDevMode ? [undefined, { debugName: "valueTpl" }] : []));
|
|
161
171
|
/**
|
|
162
172
|
* @zh_CN 值模板参数
|
|
163
173
|
* @en_US Node template
|
|
164
174
|
*/
|
|
165
|
-
this.valueTplContext = input();
|
|
175
|
+
this.valueTplContext = input(...(ngDevMode ? [undefined, { debugName: "valueTplContext" }] : []));
|
|
166
176
|
/**
|
|
167
177
|
* @zh_CN 前置标签
|
|
168
178
|
* @en_US Before label
|
|
169
179
|
*/
|
|
170
|
-
this.before = input();
|
|
180
|
+
this.before = input(...(ngDevMode ? [undefined, { debugName: "before" }] : []));
|
|
171
181
|
/**
|
|
172
182
|
* @zh_CN 后置标签
|
|
173
183
|
* @en_US After label
|
|
174
184
|
*/
|
|
175
|
-
this.after = input();
|
|
185
|
+
this.after = input(...(ngDevMode ? [undefined, { debugName: "after" }] : []));
|
|
176
186
|
/**
|
|
177
187
|
* @zh_CN 正则验证规则
|
|
178
188
|
* @en_US Regular verification rules
|
|
179
189
|
*/
|
|
180
|
-
this.pattern = input(null);
|
|
190
|
+
this.pattern = input(null, ...(ngDevMode ? [{ debugName: "pattern" }] : []));
|
|
181
191
|
/**
|
|
182
192
|
* @zh_CN 验证不通过提示文字
|
|
183
193
|
* @en_US Verify not pass the prompt text
|
|
184
194
|
*/
|
|
185
|
-
this.message = input([]);
|
|
195
|
+
this.message = input([], ...(ngDevMode ? [{ debugName: "message" }] : []));
|
|
186
196
|
/**
|
|
187
197
|
* @zh_CN 激活状态
|
|
188
198
|
* @en_US Activation state
|
|
189
199
|
*/
|
|
190
|
-
this.active = model(false);
|
|
200
|
+
this.active = model(false, ...(ngDevMode ? [{ debugName: "active" }] : []));
|
|
191
201
|
/**
|
|
192
202
|
* @zh_CN 输入验证函数
|
|
193
203
|
* @en_US Enter the verification function
|
|
194
204
|
*/
|
|
195
|
-
this.inputValidator = input();
|
|
205
|
+
this.inputValidator = input(...(ngDevMode ? [undefined, { debugName: "inputValidator" }] : []));
|
|
196
206
|
/**
|
|
197
207
|
* @zh_CN 节点点击的事件
|
|
198
208
|
* @en_US Node click event
|
|
199
209
|
*/
|
|
200
210
|
this.nodeEmit = output();
|
|
201
211
|
}
|
|
202
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
203
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
212
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
213
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.2.4", type: XTimePickerProperty, isStandalone: true, selector: "x-time-picker-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, use12Hours: { classPropertyName: "use12Hours", publicName: "use12Hours", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, hourStep: { classPropertyName: "hourStep", publicName: "hourStep", isSignal: true, isRequired: false, transformFunction: null }, minuteStep: { classPropertyName: "minuteStep", publicName: "minuteStep", isSignal: true, isRequired: false, transformFunction: null }, secondStep: { classPropertyName: "secondStep", publicName: "secondStep", isSignal: true, isRequired: false, transformFunction: null }, preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, disabledTime: { classPropertyName: "disabledTime", publicName: "disabledTime", isSignal: true, isRequired: false, transformFunction: null }, portalClass: { classPropertyName: "portalClass", publicName: "portalClass", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, floatFixed: { classPropertyName: "floatFixed", publicName: "floatFixed", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, pointer: { classPropertyName: "pointer", publicName: "pointer", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, valueTpl: { classPropertyName: "valueTpl", publicName: "valueTpl", isSignal: true, isRequired: false, transformFunction: null }, valueTplContext: { classPropertyName: "valueTplContext", publicName: "valueTplContext", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, inputValidator: { classPropertyName: "inputValidator", publicName: "inputValidator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange", nodeEmit: "nodeEmit" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
204
214
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerProperty, decorators: [{
|
|
206
216
|
type: Component,
|
|
207
217
|
args: [{ selector: `${XTimePickerPrefix}-property`, template: '' }]
|
|
208
218
|
}] });
|
|
@@ -222,26 +232,26 @@ const XTimePickerFramePrefix = 'x-time-picker-frame';
|
|
|
222
232
|
class XTimePickerFrameComponent {
|
|
223
233
|
constructor() {
|
|
224
234
|
this.i18n = inject(XI18nService);
|
|
225
|
-
this.type = input('time');
|
|
226
|
-
this.value = input();
|
|
227
|
-
this.use12Hours = input(false);
|
|
228
|
-
this.hourStep = input(1);
|
|
229
|
-
this.minuteStep = input(1);
|
|
230
|
-
this.secondStep = input(1);
|
|
231
|
-
this.defaultNow = input(true);
|
|
232
|
-
this.disabledTime = input();
|
|
233
|
-
this.disabledTimeParam = input();
|
|
235
|
+
this.type = input('time', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
236
|
+
this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
237
|
+
this.use12Hours = input(false, ...(ngDevMode ? [{ debugName: "use12Hours" }] : []));
|
|
238
|
+
this.hourStep = input(1, ...(ngDevMode ? [{ debugName: "hourStep" }] : []));
|
|
239
|
+
this.minuteStep = input(1, ...(ngDevMode ? [{ debugName: "minuteStep" }] : []));
|
|
240
|
+
this.secondStep = input(1, ...(ngDevMode ? [{ debugName: "secondStep" }] : []));
|
|
241
|
+
this.defaultNow = input(true, ...(ngDevMode ? [{ debugName: "defaultNow" }] : []));
|
|
242
|
+
this.disabledTime = input(...(ngDevMode ? [undefined, { debugName: "disabledTime" }] : []));
|
|
243
|
+
this.disabledTimeParam = input(...(ngDevMode ? [undefined, { debugName: "disabledTimeParam" }] : []));
|
|
234
244
|
this.nodeEmit = output();
|
|
235
245
|
this.hourRef = viewChild.required('hourRef');
|
|
236
|
-
this.minuteRef = viewChild('minuteRef');
|
|
237
|
-
this.secondRef = viewChild('secondRef');
|
|
238
|
-
this.use12HoursRef = viewChild('use12HoursRef');
|
|
239
|
-
this.model = signal(null);
|
|
240
|
-
this.hour = signal(null);
|
|
241
|
-
this.minute = signal(null);
|
|
242
|
-
this.second = signal(null);
|
|
243
|
-
this.use12Hour = signal('am');
|
|
244
|
-
this.scrollAnimating = signal({});
|
|
246
|
+
this.minuteRef = viewChild('minuteRef', ...(ngDevMode ? [{ debugName: "minuteRef" }] : []));
|
|
247
|
+
this.secondRef = viewChild('secondRef', ...(ngDevMode ? [{ debugName: "secondRef" }] : []));
|
|
248
|
+
this.use12HoursRef = viewChild('use12HoursRef', ...(ngDevMode ? [{ debugName: "use12HoursRef" }] : []));
|
|
249
|
+
this.model = signal(null, ...(ngDevMode ? [{ debugName: "model" }] : []));
|
|
250
|
+
this.hour = signal(null, ...(ngDevMode ? [{ debugName: "hour" }] : []));
|
|
251
|
+
this.minute = signal(null, ...(ngDevMode ? [{ debugName: "minute" }] : []));
|
|
252
|
+
this.second = signal(null, ...(ngDevMode ? [{ debugName: "second" }] : []));
|
|
253
|
+
this.use12Hour = signal('am', ...(ngDevMode ? [{ debugName: "use12Hour" }] : []));
|
|
254
|
+
this.scrollAnimating = signal({}, ...(ngDevMode ? [{ debugName: "scrollAnimating" }] : []));
|
|
245
255
|
this.hourData = computed(() => {
|
|
246
256
|
let length = this.use12Hours() ? 12 : 24;
|
|
247
257
|
return Array.from({ length: Math.ceil(length / this.hourStep()) }).map((_, i) => {
|
|
@@ -262,7 +272,7 @@ class XTimePickerFrameComponent {
|
|
|
262
272
|
};
|
|
263
273
|
}
|
|
264
274
|
});
|
|
265
|
-
});
|
|
275
|
+
}, ...(ngDevMode ? [{ debugName: "hourData" }] : []));
|
|
266
276
|
this.minuteData = computed(() => {
|
|
267
277
|
return Array.from({ length: Math.ceil(60 / this.minuteStep()) }).map((_, i) => {
|
|
268
278
|
const num = i * this.minuteStep();
|
|
@@ -272,7 +282,7 @@ class XTimePickerFrameComponent {
|
|
|
272
282
|
id: num
|
|
273
283
|
};
|
|
274
284
|
});
|
|
275
|
-
});
|
|
285
|
+
}, ...(ngDevMode ? [{ debugName: "minuteData" }] : []));
|
|
276
286
|
this.secondData = computed(() => {
|
|
277
287
|
return Array.from({ length: Math.ceil(60 / this.secondStep()) }).map((_, i) => {
|
|
278
288
|
const num = i * this.secondStep();
|
|
@@ -282,7 +292,7 @@ class XTimePickerFrameComponent {
|
|
|
282
292
|
id: num
|
|
283
293
|
};
|
|
284
294
|
});
|
|
285
|
-
});
|
|
295
|
+
}, ...(ngDevMode ? [{ debugName: "secondData" }] : []));
|
|
286
296
|
this.use12HoursData = computed(() => {
|
|
287
297
|
return [
|
|
288
298
|
{
|
|
@@ -294,7 +304,7 @@ class XTimePickerFrameComponent {
|
|
|
294
304
|
label: this.locale().pm
|
|
295
305
|
}
|
|
296
306
|
];
|
|
297
|
-
});
|
|
307
|
+
}, ...(ngDevMode ? [{ debugName: "use12HoursData" }] : []));
|
|
298
308
|
this.locale = toSignal(this.i18n.localeChange.pipe(map((x) => x.timePicker)), {
|
|
299
309
|
initialValue: zh_CN.timePicker
|
|
300
310
|
});
|
|
@@ -513,10 +523,10 @@ class XTimePickerFrameComponent {
|
|
|
513
523
|
}
|
|
514
524
|
});
|
|
515
525
|
}
|
|
516
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
517
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
526
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerFrameComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
527
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.4", type: XTimePickerFrameComponent, isStandalone: true, selector: "x-time-picker-frame", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, use12Hours: { classPropertyName: "use12Hours", publicName: "use12Hours", isSignal: true, isRequired: false, transformFunction: null }, hourStep: { classPropertyName: "hourStep", publicName: "hourStep", isSignal: true, isRequired: false, transformFunction: null }, minuteStep: { classPropertyName: "minuteStep", publicName: "minuteStep", isSignal: true, isRequired: false, transformFunction: null }, secondStep: { classPropertyName: "secondStep", publicName: "secondStep", isSignal: true, isRequired: false, transformFunction: null }, defaultNow: { classPropertyName: "defaultNow", publicName: "defaultNow", isSignal: true, isRequired: false, transformFunction: null }, disabledTime: { classPropertyName: "disabledTime", publicName: "disabledTime", isSignal: true, isRequired: false, transformFunction: null }, disabledTimeParam: { classPropertyName: "disabledTimeParam", publicName: "disabledTimeParam", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { nodeEmit: "nodeEmit" }, viewQueries: [{ propertyName: "hourRef", first: true, predicate: ["hourRef"], descendants: true, isSignal: true }, { propertyName: "minuteRef", first: true, predicate: ["minuteRef"], descendants: true, isSignal: true }, { propertyName: "secondRef", first: true, predicate: ["secondRef"], descendants: true, isSignal: true }, { propertyName: "use12HoursRef", first: true, predicate: ["use12HoursRef"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"x-time-picker-frame\">\r\n <div class=\"x-time-picker-frame-hour\" #hourRef>\r\n <x-list [data]=\"hourData()\" [(ngModel)]=\"hour\" (nodeClick)=\"itemClick('hour')\"></x-list>\r\n </div>\r\n @if (type() !== 'hour') {\r\n <div class=\"x-time-picker-frame-minute\" #minuteRef>\r\n <x-list [data]=\"minuteData()\" [(ngModel)]=\"minute\" (nodeClick)=\"itemClick('minute')\"></x-list>\r\n </div>\r\n }\r\n @if (type() === 'time') {\r\n <div class=\"x-time-picker-frame-second\" #secondRef>\r\n <x-list [data]=\"secondData()\" [(ngModel)]=\"second\" (nodeClick)=\"itemClick('second')\"></x-list>\r\n </div>\r\n }\r\n @if (use12Hours()) {\r\n <div class=\"x-time-picker-frame-use12Hours\" #use12HoursRef>\r\n <x-list [data]=\"use12HoursData()\" [(ngModel)]=\"use12Hour\" (nodeClick)=\"itemClick('use12Hours')\"></x-list>\r\n </div>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-frame{margin:0;padding:0}.x-time-picker-frame{display:block;height:100%}.x-time-picker-frame>div{width:4.25rem;max-height:16rem;padding-bottom:13.5rem;padding:.25rem .25rem 13.75rem}.x-time-picker-frame>div:first-child{width:4.125rem}.x-time-picker-frame>div:not(:first-child){border-left:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-time-picker-frame-hour,.x-time-picker-frame-minute,.x-time-picker-frame-second,.x-time-picker-frame-use12Hours{position:relative;float:left;overflow:hidden}.x-time-picker-frame-hour:hover,.x-time-picker-frame-minute:hover,.x-time-picker-frame-second:hover,.x-time-picker-frame-use12Hours:hover{overflow-y:auto}.x-time-picker-frame-hour>x-list>.x-list,.x-time-picker-frame-minute>x-list>.x-list,.x-time-picker-frame-second>x-list>.x-list,.x-time-picker-frame-use12Hours>x-list>.x-list{width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option,.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option{min-width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option>.x-list-option{padding-left:.6rem;border-radius:0}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option>.x-list-option:not(:first-child){margin-top:0}.x-time-picker-frame-use12Hours{width:4.5rem}.x-time-picker-frame-use12Hours>x-list>.x-list{width:4.5rem}.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option{min-width:4.5rem}\n"], dependencies: [{ 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: XListComponent, selector: "x-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
518
528
|
}
|
|
519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerFrameComponent, decorators: [{
|
|
520
530
|
type: Component,
|
|
521
531
|
args: [{ selector: `${XTimePickerFramePrefix}`, imports: [FormsModule, XListComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-time-picker-frame\">\r\n <div class=\"x-time-picker-frame-hour\" #hourRef>\r\n <x-list [data]=\"hourData()\" [(ngModel)]=\"hour\" (nodeClick)=\"itemClick('hour')\"></x-list>\r\n </div>\r\n @if (type() !== 'hour') {\r\n <div class=\"x-time-picker-frame-minute\" #minuteRef>\r\n <x-list [data]=\"minuteData()\" [(ngModel)]=\"minute\" (nodeClick)=\"itemClick('minute')\"></x-list>\r\n </div>\r\n }\r\n @if (type() === 'time') {\r\n <div class=\"x-time-picker-frame-second\" #secondRef>\r\n <x-list [data]=\"secondData()\" [(ngModel)]=\"second\" (nodeClick)=\"itemClick('second')\"></x-list>\r\n </div>\r\n }\r\n @if (use12Hours()) {\r\n <div class=\"x-time-picker-frame-use12Hours\" #use12HoursRef>\r\n <x-list [data]=\"use12HoursData()\" [(ngModel)]=\"use12Hour\" (nodeClick)=\"itemClick('use12Hours')\"></x-list>\r\n </div>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-frame{margin:0;padding:0}.x-time-picker-frame{display:block;height:100%}.x-time-picker-frame>div{width:4.25rem;max-height:16rem;padding-bottom:13.5rem;padding:.25rem .25rem 13.75rem}.x-time-picker-frame>div:first-child{width:4.125rem}.x-time-picker-frame>div:not(:first-child){border-left:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-time-picker-frame-hour,.x-time-picker-frame-minute,.x-time-picker-frame-second,.x-time-picker-frame-use12Hours{position:relative;float:left;overflow:hidden}.x-time-picker-frame-hour:hover,.x-time-picker-frame-minute:hover,.x-time-picker-frame-second:hover,.x-time-picker-frame-use12Hours:hover{overflow-y:auto}.x-time-picker-frame-hour>x-list>.x-list,.x-time-picker-frame-minute>x-list>.x-list,.x-time-picker-frame-second>x-list>.x-list,.x-time-picker-frame-use12Hours>x-list>.x-list{width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option,.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option{min-width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option>.x-list-option{padding-left:.6rem;border-radius:0}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option>.x-list-option:not(:first-child){margin-top:0}.x-time-picker-frame-use12Hours{width:4.5rem}.x-time-picker-frame-use12Hours>x-list>.x-list{width:4.5rem}.x-time-picker-frame-use12Hours>x-list>.x-list>x-list-option{min-width:4.5rem}\n"] }]
|
|
522
532
|
}] });
|
|
@@ -524,22 +534,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
|
|
|
524
534
|
class XTimePickerPortalComponent {
|
|
525
535
|
constructor() {
|
|
526
536
|
this.i18n = inject(XI18nService);
|
|
527
|
-
this.value = model();
|
|
528
|
-
this.type = input('time');
|
|
529
|
-
this.placement = input();
|
|
530
|
-
this.inputCom = input();
|
|
531
|
-
this.use12Hours = input();
|
|
532
|
-
this.hourStep = input();
|
|
533
|
-
this.minuteStep = input();
|
|
534
|
-
this.secondStep = input();
|
|
535
|
-
this.preset = input([]);
|
|
536
|
-
this.disabledTime = input();
|
|
537
|
+
this.value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
538
|
+
this.type = input('time', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
539
|
+
this.placement = input(...(ngDevMode ? [undefined, { debugName: "placement" }] : []));
|
|
540
|
+
this.inputCom = input(...(ngDevMode ? [undefined, { debugName: "inputCom" }] : []));
|
|
541
|
+
this.use12Hours = input(...(ngDevMode ? [undefined, { debugName: "use12Hours" }] : []));
|
|
542
|
+
this.hourStep = input(...(ngDevMode ? [undefined, { debugName: "hourStep" }] : []));
|
|
543
|
+
this.minuteStep = input(...(ngDevMode ? [undefined, { debugName: "minuteStep" }] : []));
|
|
544
|
+
this.secondStep = input(...(ngDevMode ? [undefined, { debugName: "secondStep" }] : []));
|
|
545
|
+
this.preset = input([], ...(ngDevMode ? [{ debugName: "preset" }] : []));
|
|
546
|
+
this.disabledTime = input(...(ngDevMode ? [undefined, { debugName: "disabledTime" }] : []));
|
|
537
547
|
this.animating = output();
|
|
538
548
|
this.nodeClick = output();
|
|
539
549
|
this.locale = toSignal(this.i18n.localeChange.pipe(map((x) => x.timePicker)), {
|
|
540
550
|
initialValue: zh_CN.timePicker
|
|
541
551
|
});
|
|
542
|
-
this.destroy = signal(false);
|
|
552
|
+
this.destroy = signal(false, ...(ngDevMode ? [{ debugName: "destroy" }] : []));
|
|
543
553
|
this.destroyRef = inject(DestroyRef);
|
|
544
554
|
}
|
|
545
555
|
get getPlacement() {
|
|
@@ -573,10 +583,10 @@ class XTimePickerPortalComponent {
|
|
|
573
583
|
this.value.set(date);
|
|
574
584
|
this.nodeClick.emit(date);
|
|
575
585
|
}
|
|
576
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
577
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
586
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerPortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
587
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.4", type: XTimePickerPortalComponent, isStandalone: true, selector: "x-time-picker-portal", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, inputCom: { classPropertyName: "inputCom", publicName: "inputCom", isSignal: true, isRequired: false, transformFunction: null }, use12Hours: { classPropertyName: "use12Hours", publicName: "use12Hours", isSignal: true, isRequired: false, transformFunction: null }, hourStep: { classPropertyName: "hourStep", publicName: "hourStep", isSignal: true, isRequired: false, transformFunction: null }, minuteStep: { classPropertyName: "minuteStep", publicName: "minuteStep", isSignal: true, isRequired: false, transformFunction: null }, secondStep: { classPropertyName: "secondStep", publicName: "secondStep", isSignal: true, isRequired: false, transformFunction: null }, preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, disabledTime: { classPropertyName: "disabledTime", publicName: "disabledTime", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", animating: "animating", nodeClick: "nodeClick" }, host: { listeners: { "@x-connect-base-animation.done": "done($event)", "@x-connect-base-animation.start": "start($event)" }, properties: { "@x-connect-base-animation": "this.getPlacement" } }, ngImport: i0, template: "<div class=\"x-time-picker-portal\" (click)=\"inputCom()?.inputFocus('focus'); stopPropagation($event)\">\r\n <x-time-picker-frame\r\n [type]=\"type()\"\r\n [value]=\"value()\"\r\n [use12Hours]=\"use12Hours()!\"\r\n [hourStep]=\"hourStep()!\"\r\n [minuteStep]=\"minuteStep()!\"\r\n [secondStep]=\"secondStep()!\"\r\n [disabledTime]=\"disabledTime()\"\r\n (nodeEmit)=\"nodeClick.emit($event)\"\r\n ></x-time-picker-frame>\r\n @if (preset()) {\r\n <div class=\"x-time-picker-portal-preset\">\r\n @for (item of preset(); track item) {\r\n @if (!!item.func) {\r\n <x-button type=\"text\" (click)=\"onPresetFunc(item)\">{{ item.label }}</x-button>\r\n } @else if (!item.func && item.id === 'now') {\r\n <x-button type=\"text\" (click)=\"onNow()\">{{ locale().now }}</x-button>\r\n }\r\n }\r\n </div>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-portal{display:flex;flex-direction:column;height:100%;font-size:var(--x-font-size);color:var(--x-text);border-radius:var(--x-border-small-radius);box-shadow:var(--x-box-shadow);background-color:var(--x-background-100)}.x-time-picker-portal-preset{display:flex;align-items:center;justify-content:center;border-top:var(--x-border-width) solid var(--x-border)}.x-time-picker-portal-preset>x-button{flex:1}\n"], dependencies: [{ kind: "component", type: XTimePickerFrameComponent, selector: "x-time-picker-frame", inputs: ["type", "value", "use12Hours", "hourStep", "minuteStep", "secondStep", "defaultNow", "disabledTime", "disabledTimeParam"], outputs: ["nodeEmit"] }, { kind: "component", type: XButtonComponent, selector: "x-button" }], animations: [XConnectBaseAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
578
588
|
}
|
|
579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerPortalComponent, decorators: [{
|
|
580
590
|
type: Component,
|
|
581
591
|
args: [{ selector: `${XTimePickerPortalPrefix}`, imports: [XTimePickerFrameComponent, XButtonComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XConnectBaseAnimation], template: "<div class=\"x-time-picker-portal\" (click)=\"inputCom()?.inputFocus('focus'); stopPropagation($event)\">\r\n <x-time-picker-frame\r\n [type]=\"type()\"\r\n [value]=\"value()\"\r\n [use12Hours]=\"use12Hours()!\"\r\n [hourStep]=\"hourStep()!\"\r\n [minuteStep]=\"minuteStep()!\"\r\n [secondStep]=\"secondStep()!\"\r\n [disabledTime]=\"disabledTime()\"\r\n (nodeEmit)=\"nodeClick.emit($event)\"\r\n ></x-time-picker-frame>\r\n @if (preset()) {\r\n <div class=\"x-time-picker-portal-preset\">\r\n @for (item of preset(); track item) {\r\n @if (!!item.func) {\r\n <x-button type=\"text\" (click)=\"onPresetFunc(item)\">{{ item.label }}</x-button>\r\n } @else if (!item.func && item.id === 'now') {\r\n <x-button type=\"text\" (click)=\"onNow()\">{{ locale().now }}</x-button>\r\n }\r\n }\r\n </div>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-portal{display:flex;flex-direction:column;height:100%;font-size:var(--x-font-size);color:var(--x-text);border-radius:var(--x-border-small-radius);box-shadow:var(--x-box-shadow);background-color:var(--x-background-100)}.x-time-picker-portal-preset{display:flex;align-items:center;justify-content:center;border-top:var(--x-border-width) solid var(--x-border)}.x-time-picker-portal-preset>x-button{flex:1}\n"] }]
|
|
582
592
|
}], propDecorators: { getPlacement: [{
|
|
@@ -635,7 +645,7 @@ class XTimePickerComponent extends XTimePickerProperty {
|
|
|
635
645
|
else {
|
|
636
646
|
return this.datePipe.transform(value, this.formatSignal());
|
|
637
647
|
}
|
|
638
|
-
});
|
|
648
|
+
}, ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
|
|
639
649
|
this.formatSignal = computed(() => {
|
|
640
650
|
if (this.format() === 'HH:mm:ss') {
|
|
641
651
|
if (this.type() === 'hour') {
|
|
@@ -646,13 +656,13 @@ class XTimePickerComponent extends XTimePickerProperty {
|
|
|
646
656
|
}
|
|
647
657
|
}
|
|
648
658
|
return this.format();
|
|
649
|
-
});
|
|
650
|
-
this.clearable = signal(false);
|
|
651
|
-
this.enter = signal(false);
|
|
652
|
-
this.animating = signal(false);
|
|
653
|
-
this.icon = signal('fto-clock');
|
|
659
|
+
}, ...(ngDevMode ? [{ debugName: "formatSignal" }] : []));
|
|
660
|
+
this.clearable = signal(false, ...(ngDevMode ? [{ debugName: "clearable" }] : []));
|
|
661
|
+
this.enter = signal(false, ...(ngDevMode ? [{ debugName: "enter" }] : []));
|
|
662
|
+
this.animating = signal(false, ...(ngDevMode ? [{ debugName: "animating" }] : []));
|
|
663
|
+
this.icon = signal('fto-clock', ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
654
664
|
this.closeSubject = new Subject();
|
|
655
|
-
this.valueType = signal('date');
|
|
665
|
+
this.valueType = signal('date', ...(ngDevMode ? [{ debugName: "valueType" }] : []));
|
|
656
666
|
this.unSubject = new Subject();
|
|
657
667
|
this.document = inject(DOCUMENT);
|
|
658
668
|
this.getPlaceholder = computed(() => {
|
|
@@ -670,10 +680,10 @@ class XTimePickerComponent extends XTimePickerProperty {
|
|
|
670
680
|
else {
|
|
671
681
|
return this.locale().selectTime;
|
|
672
682
|
}
|
|
673
|
-
});
|
|
674
|
-
this.realPlacement = signal(null);
|
|
675
|
-
this.portalComponent = signal(null);
|
|
676
|
-
this.portalOverlayRef = signal(null);
|
|
683
|
+
}, ...(ngDevMode ? [{ debugName: "getPlaceholder" }] : []));
|
|
684
|
+
this.realPlacement = signal(null, ...(ngDevMode ? [{ debugName: "realPlacement" }] : []));
|
|
685
|
+
this.portalComponent = signal(null, ...(ngDevMode ? [{ debugName: "portalComponent" }] : []));
|
|
686
|
+
this.portalOverlayRef = signal(null, ...(ngDevMode ? [{ debugName: "portalOverlayRef" }] : []));
|
|
677
687
|
effect(() => this.portalComponent()?.setInput('value', this.value()));
|
|
678
688
|
effect(() => this.portalComponent()?.setInput('placement', this.realPlacement()));
|
|
679
689
|
effect(() => this.portalComponent()?.setInput('use12Hours', this.use12Hours()));
|
|
@@ -830,20 +840,20 @@ class XTimePickerComponent extends XTimePickerProperty {
|
|
|
830
840
|
formControlChanges() {
|
|
831
841
|
this.ngOnInit();
|
|
832
842
|
}
|
|
833
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
834
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.
|
|
843
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
844
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.2.4", type: XTimePickerComponent, isStandalone: true, selector: "x-time-picker", providers: [XValueAccessor(XTimePickerComponent), DatePipe], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true, isSignal: true }, { propertyName: "inputCom", first: true, predicate: ["inputCom"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label()\"\r\n [labelWidth]=\"labelWidth()\"\r\n [labelAlign]=\"labelAlign()\"\r\n [justify]=\"justify()\"\r\n [align]=\"align()\"\r\n [direction]=\"direction()\"\r\n [disabled]=\"disabledComputed()\"\r\n [required]=\"requiredComputed()\"\r\n [validator]=\"validatorComputed()\"\r\n [inputValidator]=\"inputValidator()\"\r\n [icon]=\"icon()\"\r\n [placeholder]=\"getPlaceholder()!\"\r\n [readonly]=\"readonly()\"\r\n [clearable]=\"clearable()\"\r\n [(ngModel)]=\"value\"\r\n [valueTpl]=\"valueTpl() ? valueTpl() : valueTemplate\"\r\n [valueTplContext]=\"valueTplContext()\"\r\n [size]=\"size()\"\r\n [bordered]=\"bordered()\"\r\n [before]=\"before()\"\r\n [after]=\"after()\"\r\n [pattern]=\"patternComputed()\"\r\n [message]=\"messageComputed()\"\r\n [pointer]=\"pointer()\"\r\n [variant]=\"variant()\"\r\n [floatLabel]=\"floatLabel()\"\r\n [floatFixed]=\"floatFixed()\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n\r\n<ng-template #valueTemplate>{{ displayValue() }}</ng-template>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block;width:12rem}.x-time-picker{margin:0;padding:0}.x-time-picker{width:100%}.x-time-picker x-input{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: XInputComponent, selector: "x-input" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
835
845
|
}
|
|
836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerComponent, decorators: [{
|
|
837
847
|
type: Component,
|
|
838
|
-
args: [{ selector: `${XTimePickerPrefix}`, imports: [FormsModule, XInputComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XTimePickerComponent), DatePipe], template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label()\"\r\n [labelWidth]=\"labelWidth()\"\r\n [labelAlign]=\"labelAlign()\"\r\n [justify]=\"justify()\"\r\n [align]=\"align()\"\r\n [direction]=\"direction()\"\r\n [disabled]=\"disabledComputed()\"\r\n [required]=\"requiredComputed()\"\r\n [validator]=\"validatorComputed()\"\r\n [inputValidator]=\"inputValidator()\"\r\n [icon]=\"icon()\"\r\n [placeholder]=\"getPlaceholder()!\"\r\n [readonly]=\"readonly()\"\r\n [clearable]=\"clearable()\"\r\n [(ngModel)]=\"value\"\r\n [valueTpl]=\"valueTpl() ? valueTpl() : valueTemplate\"\r\n [valueTplContext]=\"valueTplContext()\"\r\n [size]=\"size()\"\r\n [bordered]=\"bordered()\"\r\n [before]=\"before()\"\r\n [after]=\"after()\"\r\n [pattern]=\"patternComputed()\"\r\n [message]=\"messageComputed()\"\r\n [pointer]=\"pointer()\"\r\n [variant]=\"variant()\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n\r\n<ng-template #valueTemplate>{{ displayValue() }}</ng-template>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block;width:12rem}.x-time-picker{margin:0;padding:0}.x-time-picker{width:100%}.x-time-picker x-input{width:100%}\n"] }]
|
|
848
|
+
args: [{ selector: `${XTimePickerPrefix}`, imports: [FormsModule, XInputComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XTimePickerComponent), DatePipe], template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label()\"\r\n [labelWidth]=\"labelWidth()\"\r\n [labelAlign]=\"labelAlign()\"\r\n [justify]=\"justify()\"\r\n [align]=\"align()\"\r\n [direction]=\"direction()\"\r\n [disabled]=\"disabledComputed()\"\r\n [required]=\"requiredComputed()\"\r\n [validator]=\"validatorComputed()\"\r\n [inputValidator]=\"inputValidator()\"\r\n [icon]=\"icon()\"\r\n [placeholder]=\"getPlaceholder()!\"\r\n [readonly]=\"readonly()\"\r\n [clearable]=\"clearable()\"\r\n [(ngModel)]=\"value\"\r\n [valueTpl]=\"valueTpl() ? valueTpl() : valueTemplate\"\r\n [valueTplContext]=\"valueTplContext()\"\r\n [size]=\"size()\"\r\n [bordered]=\"bordered()\"\r\n [before]=\"before()\"\r\n [after]=\"after()\"\r\n [pattern]=\"patternComputed()\"\r\n [message]=\"messageComputed()\"\r\n [pointer]=\"pointer()\"\r\n [variant]=\"variant()\"\r\n [floatLabel]=\"floatLabel()\"\r\n [floatFixed]=\"floatFixed()\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n\r\n<ng-template #valueTemplate>{{ displayValue() }}</ng-template>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block;width:12rem}.x-time-picker{margin:0;padding:0}.x-time-picker{width:100%}.x-time-picker x-input{width:100%}\n"] }]
|
|
839
849
|
}], ctorParameters: () => [] });
|
|
840
850
|
|
|
841
851
|
class XTimePickerModule {
|
|
842
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
843
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
844
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
852
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
853
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerModule, imports: [XTimePickerComponent, XTimePickerFrameComponent], exports: [XTimePickerComponent, XTimePickerFrameComponent] }); }
|
|
854
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerModule, imports: [XTimePickerComponent, XTimePickerFrameComponent] }); }
|
|
845
855
|
}
|
|
846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: XTimePickerModule, decorators: [{
|
|
847
857
|
type: NgModule,
|
|
848
858
|
args: [{
|
|
849
859
|
exports: [XTimePickerComponent, XTimePickerFrameComponent],
|