sit-onyx 1.5.0-dev-20251205074353 → 1.5.0-dev-20251209074642
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/dist/components/OnyxTimepicker/OnyxTimepicker.d.vue.ts +134 -0
- package/dist/components/OnyxTimepicker/OnyxTimepickerInput.d.vue.ts +50 -0
- package/dist/components/OnyxTimepicker/types.d.ts +21 -0
- package/dist/i18n/locales/de-DE.json +14 -0
- package/dist/i18n/locales/en-US.json +14 -0
- package/dist/i18n/locales/en-US.json.d.ts +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm-bundler.js +1165 -724
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +3123 -2786
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { OnyxTimepickerProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxTimepickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (value?: string | undefined) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<OnyxTimepickerProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
8
|
+
required: boolean;
|
|
9
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
10
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
11
|
+
requiredMarker: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/required.js', { with: { "resolution-mode": "import" } }).RequiredMarkerType>;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
showSeconds: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
rootTemplateRef: HTMLDivElement;
|
|
16
|
+
hourInputTemplateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
17
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
validityChange: (validity: ValidityState) => any;
|
|
23
|
+
"update:modelValue": (value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any;
|
|
24
|
+
}, import('vue').PublicProps, {
|
|
25
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
26
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
27
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
28
|
+
readonly: boolean;
|
|
29
|
+
loading: boolean;
|
|
30
|
+
stepSize: number;
|
|
31
|
+
hideButtons: boolean;
|
|
32
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
33
|
+
inputRef: HTMLInputElement;
|
|
34
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
42
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
43
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
46
|
+
}, {}, {}, {}, {
|
|
47
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
48
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
49
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
50
|
+
readonly: boolean;
|
|
51
|
+
loading: boolean;
|
|
52
|
+
stepSize: number;
|
|
53
|
+
hideButtons: boolean;
|
|
54
|
+
}> | null;
|
|
55
|
+
minuteInputTemplateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
56
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
60
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
validityChange: (validity: ValidityState) => any;
|
|
62
|
+
"update:modelValue": (value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any;
|
|
63
|
+
}, import('vue').PublicProps, {
|
|
64
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
65
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
66
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
67
|
+
readonly: boolean;
|
|
68
|
+
loading: boolean;
|
|
69
|
+
stepSize: number;
|
|
70
|
+
hideButtons: boolean;
|
|
71
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
72
|
+
inputRef: HTMLInputElement;
|
|
73
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
74
|
+
P: {};
|
|
75
|
+
B: {};
|
|
76
|
+
D: {};
|
|
77
|
+
C: {};
|
|
78
|
+
M: {};
|
|
79
|
+
Defaults: {};
|
|
80
|
+
}, Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
81
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
83
|
+
}>, {
|
|
84
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
85
|
+
}, {}, {}, {}, {
|
|
86
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
87
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
88
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
89
|
+
readonly: boolean;
|
|
90
|
+
loading: boolean;
|
|
91
|
+
stepSize: number;
|
|
92
|
+
hideButtons: boolean;
|
|
93
|
+
}> | null;
|
|
94
|
+
secondInputTemplateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
95
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
96
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
99
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
100
|
+
validityChange: (validity: ValidityState) => any;
|
|
101
|
+
"update:modelValue": (value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any;
|
|
102
|
+
}, import('vue').PublicProps, {
|
|
103
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
104
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
105
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
106
|
+
readonly: boolean;
|
|
107
|
+
loading: boolean;
|
|
108
|
+
stepSize: number;
|
|
109
|
+
hideButtons: boolean;
|
|
110
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
111
|
+
inputRef: HTMLInputElement;
|
|
112
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
113
|
+
P: {};
|
|
114
|
+
B: {};
|
|
115
|
+
D: {};
|
|
116
|
+
C: {};
|
|
117
|
+
M: {};
|
|
118
|
+
Defaults: {};
|
|
119
|
+
}, Readonly<import('../OnyxStepper/types.js', { with: { "resolution-mode": "import" } }).OnyxStepperProps> & Readonly<{
|
|
120
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
121
|
+
"onUpdate:modelValue"?: ((value?: import('../../index.js', { with: { "resolution-mode": "import" } }).Nullable<number>) => any) | undefined;
|
|
122
|
+
}>, {
|
|
123
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
124
|
+
}, {}, {}, {}, {
|
|
125
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
126
|
+
disabled: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
127
|
+
showError: import('../OnyxForm/OnyxForm.core', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
128
|
+
readonly: boolean;
|
|
129
|
+
loading: boolean;
|
|
130
|
+
stepSize: number;
|
|
131
|
+
hideButtons: boolean;
|
|
132
|
+
}> | null;
|
|
133
|
+
}, HTMLDivElement>;
|
|
134
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { OnyxTimepickerProps } from './types.js';
|
|
2
|
+
type __VLS_Props = OnyxTimepickerProps & {
|
|
3
|
+
/**
|
|
4
|
+
* Defines the granularity of the time input in seconds.
|
|
5
|
+
*/
|
|
6
|
+
step?: number;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: Readonly<{
|
|
11
|
+
/**
|
|
12
|
+
* Icon content.
|
|
13
|
+
*/
|
|
14
|
+
icon(): unknown;
|
|
15
|
+
}> & {
|
|
16
|
+
/**
|
|
17
|
+
* Icon content.
|
|
18
|
+
*/
|
|
19
|
+
icon(): unknown;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
inputRef: HTMLInputElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
validityChange: (validity: ValidityState) => any;
|
|
29
|
+
"update:modelValue": (value?: string | undefined) => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
35
|
+
required: boolean;
|
|
36
|
+
disabled: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
37
|
+
showError: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
38
|
+
readonly: boolean;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
step: number;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
inputRef: HTMLInputElement;
|
|
43
|
+
}, any>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AutofocusProp } from '../../types/components.js';
|
|
2
|
+
import { SharedFormElementProps } from '../OnyxFormElement/types.js';
|
|
3
|
+
export type OnyxTimepickerProps = Omit<SharedFormElementProps, "placeholder"> & AutofocusProp & {
|
|
4
|
+
/**
|
|
5
|
+
* Whether to show the seconds segment (:SS).
|
|
6
|
+
* If true, the format is HH:MM:SS. If false, the format is HH:MM.
|
|
7
|
+
*/
|
|
8
|
+
showSeconds?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Text describing the timepicker. Will be displayed at the bottom of the flyout.
|
|
11
|
+
*/
|
|
12
|
+
infoLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to hide the info label.
|
|
15
|
+
*/
|
|
16
|
+
hideInfoLabelIcon?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Time in Seconds since midnight.
|
|
19
|
+
*/
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
};
|
|
@@ -265,5 +265,19 @@
|
|
|
265
265
|
"select": "Auswählen"
|
|
266
266
|
},
|
|
267
267
|
"system": "System"
|
|
268
|
+
},
|
|
269
|
+
"timepicker": {
|
|
270
|
+
"placeholder": {
|
|
271
|
+
"hour": "HH",
|
|
272
|
+
"minute": "MM",
|
|
273
|
+
"second": "SS"
|
|
274
|
+
},
|
|
275
|
+
"labels": {
|
|
276
|
+
"iconButton": "Öffne Timepicker",
|
|
277
|
+
"popover": "Timepicker Popover",
|
|
278
|
+
"hour": "Stunde",
|
|
279
|
+
"minute": "Minute",
|
|
280
|
+
"second": "Sekunde"
|
|
281
|
+
}
|
|
268
282
|
}
|
|
269
283
|
}
|
|
@@ -268,5 +268,19 @@
|
|
|
268
268
|
"select": "Select"
|
|
269
269
|
},
|
|
270
270
|
"system": "System"
|
|
271
|
+
},
|
|
272
|
+
"timepicker": {
|
|
273
|
+
"placeholder": {
|
|
274
|
+
"hour": "HH",
|
|
275
|
+
"minute": "MM",
|
|
276
|
+
"second": "SS"
|
|
277
|
+
},
|
|
278
|
+
"labels": {
|
|
279
|
+
"iconButton": "Open Timepicker",
|
|
280
|
+
"popover": "Timepicker Popover",
|
|
281
|
+
"hour": "Hour",
|
|
282
|
+
"minute": "Minute",
|
|
283
|
+
"second": "Second"
|
|
284
|
+
}
|
|
271
285
|
}
|
|
272
286
|
}
|
|
@@ -268,6 +268,20 @@ declare const _default: {
|
|
|
268
268
|
"select": "Select"
|
|
269
269
|
},
|
|
270
270
|
"system": "System"
|
|
271
|
+
},
|
|
272
|
+
"timepicker": {
|
|
273
|
+
"placeholder": {
|
|
274
|
+
"hour": "HH",
|
|
275
|
+
"minute": "MM",
|
|
276
|
+
"second": "SS"
|
|
277
|
+
},
|
|
278
|
+
"labels": {
|
|
279
|
+
"iconButton": "Open Timepicker",
|
|
280
|
+
"popover": "Timepicker Popover",
|
|
281
|
+
"hour": "Hour",
|
|
282
|
+
"minute": "Minute",
|
|
283
|
+
"second": "Second"
|
|
284
|
+
}
|
|
271
285
|
}
|
|
272
286
|
}
|
|
273
287
|
;
|
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,8 @@ export { default as OnyxTabs } from './components/OnyxTabs/OnyxTabs.vue';
|
|
|
153
153
|
export * from './components/OnyxTabs/types.js';
|
|
154
154
|
export { default as OnyxTag } from './components/OnyxTag/OnyxTag.vue';
|
|
155
155
|
export * from './components/OnyxTag/types.js';
|
|
156
|
+
export { default as OnyxUnstableTimepicker } from './components/OnyxTimepicker/OnyxTimepicker.vue';
|
|
157
|
+
export * from './components/OnyxTimepicker/types.js';
|
|
156
158
|
export { default as OnyxFileCard } from './components/OnyxFileCard/OnyxFileCard.vue';
|
|
157
159
|
export * from './components/OnyxFileCard/types.js';
|
|
158
160
|
export { default as OnyxFileTypeIcon } from './components/OnyxFileTypeIcon/OnyxFileTypeIcon.vue';
|