@sfxcode/formkit-primevue 3.0.9 → 3.0.11
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/FormKitDataEdit.d.vue.ts +3 -2
- package/dist/components/FormKitDataEdit.vue.d.ts +3 -2
- package/dist/components/FormKitDataView.d.vue.ts +3 -2
- package/dist/components/FormKitDataView.vue.d.ts +3 -2
- package/dist/components/FormKitDebug.d.vue.ts +3 -2
- package/dist/components/FormKitDebug.vue.d.ts +3 -2
- package/dist/components/FormKitIcon.d.vue.ts +2 -1
- package/dist/components/FormKitIcon.vue.d.ts +2 -1
- package/dist/components/FormKitPrefix.d.vue.ts +2 -1
- package/dist/components/FormKitPrefix.vue.d.ts +2 -1
- package/dist/components/FormKitSuffix.d.vue.ts +2 -1
- package/dist/components/FormKitSuffix.vue.d.ts +2 -1
- package/dist/components/PrimeAutoComplete.d.vue.ts +2 -1
- package/dist/components/PrimeAutoComplete.vue.d.ts +2 -1
- package/dist/components/PrimeCascadeSelect.d.vue.ts +2 -1
- package/dist/components/PrimeCascadeSelect.vue.d.ts +2 -1
- package/dist/components/PrimeCheckbox.d.vue.ts +2 -1
- package/dist/components/PrimeCheckbox.vue.d.ts +2 -1
- package/dist/components/PrimeColorPicker.d.vue.ts +2 -1
- package/dist/components/PrimeColorPicker.vue.d.ts +2 -1
- package/dist/components/PrimeDatePicker.d.vue.ts +3 -1
- package/dist/components/PrimeDatePicker.vue +2 -0
- package/dist/components/PrimeDatePicker.vue.d.ts +3 -1
- package/dist/components/PrimeInputMask.d.vue.ts +2 -1
- package/dist/components/PrimeInputMask.vue.d.ts +2 -1
- package/dist/components/PrimeInputNumber.d.vue.ts +2 -1
- package/dist/components/PrimeInputNumber.vue.d.ts +2 -1
- package/dist/components/PrimeInputOtp.d.vue.ts +2 -1
- package/dist/components/PrimeInputOtp.vue.d.ts +2 -1
- package/dist/components/PrimeInputText.d.vue.ts +2 -1
- package/dist/components/PrimeInputText.vue.d.ts +2 -1
- package/dist/components/PrimeKnob.d.vue.ts +2 -1
- package/dist/components/PrimeKnob.vue.d.ts +2 -1
- package/dist/components/PrimeListbox.d.vue.ts +12 -1
- package/dist/components/PrimeListbox.vue +17 -2
- package/dist/components/PrimeListbox.vue.d.ts +12 -1
- package/dist/components/PrimeMultiSelect.d.vue.ts +2 -1
- package/dist/components/PrimeMultiSelect.vue.d.ts +2 -1
- package/dist/components/PrimeOutputBoolean.d.vue.ts +2 -1
- package/dist/components/PrimeOutputBoolean.vue.d.ts +2 -1
- package/dist/components/PrimeOutputDate.d.vue.ts +2 -1
- package/dist/components/PrimeOutputDate.vue.d.ts +2 -1
- package/dist/components/PrimeOutputDuration.d.vue.ts +2 -1
- package/dist/components/PrimeOutputDuration.vue.d.ts +2 -1
- package/dist/components/PrimeOutputLink.d.vue.ts +2 -1
- package/dist/components/PrimeOutputLink.vue.d.ts +2 -1
- package/dist/components/PrimeOutputList.d.vue.ts +2 -1
- package/dist/components/PrimeOutputList.vue.d.ts +2 -1
- package/dist/components/PrimeOutputNumber.d.vue.ts +2 -1
- package/dist/components/PrimeOutputNumber.vue.d.ts +2 -1
- package/dist/components/PrimeOutputReference.d.vue.ts +2 -1
- package/dist/components/PrimeOutputReference.vue.d.ts +2 -1
- package/dist/components/PrimeOutputText.d.vue.ts +9 -3
- package/dist/components/PrimeOutputText.vue +14 -3
- package/dist/components/PrimeOutputText.vue.d.ts +9 -3
- package/dist/components/PrimePassword.d.vue.ts +2 -1
- package/dist/components/PrimePassword.vue.d.ts +2 -1
- package/dist/components/PrimeRadioButton.d.vue.ts +2 -1
- package/dist/components/PrimeRadioButton.vue.d.ts +2 -1
- package/dist/components/PrimeRating.d.vue.ts +2 -1
- package/dist/components/PrimeRating.vue.d.ts +2 -1
- package/dist/components/PrimeSelect.d.vue.ts +2 -1
- package/dist/components/PrimeSelect.vue.d.ts +2 -1
- package/dist/components/PrimeSelectButton.d.vue.ts +2 -1
- package/dist/components/PrimeSelectButton.vue.d.ts +2 -1
- package/dist/components/PrimeSlider.d.vue.ts +2 -1
- package/dist/components/PrimeSlider.vue.d.ts +2 -1
- package/dist/components/PrimeTextarea.d.vue.ts +2 -1
- package/dist/components/PrimeTextarea.vue.d.ts +2 -1
- package/dist/components/PrimeToggleButton.d.vue.ts +2 -1
- package/dist/components/PrimeToggleButton.vue.d.ts +2 -1
- package/dist/components/PrimeToggleSwitch.d.vue.ts +2 -1
- package/dist/components/PrimeToggleSwitch.vue.d.ts +2 -1
- package/dist/components/PrimeTreeSelect.d.vue.ts +2 -1
- package/dist/components/PrimeTreeSelect.vue.d.ts +2 -1
- package/dist/definitions/input.js +2 -2
- package/dist/definitions/input.mjs +2 -2
- package/dist/definitions/output.js +1 -1
- package/dist/definitions/output.mjs +1 -1
- package/package.json +17 -18
|
@@ -38,7 +38,7 @@ export interface FormKitPrimeMultiSelectProps {
|
|
|
38
38
|
unstyled?: MultiSelectProps['unstyled'];
|
|
39
39
|
size?: MultiSelectProps['size'];
|
|
40
40
|
}
|
|
41
|
-
declare const
|
|
41
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
42
|
context: {
|
|
43
43
|
type: PropType<FormKitFrameworkContext & FormKitPrimeMultiSelectProps>;
|
|
44
44
|
required: true;
|
|
@@ -49,4 +49,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
required: true;
|
|
50
50
|
};
|
|
51
51
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
52
53
|
export default _default;
|
|
@@ -38,7 +38,7 @@ export interface FormKitPrimeMultiSelectProps {
|
|
|
38
38
|
unstyled?: MultiSelectProps['unstyled'];
|
|
39
39
|
size?: MultiSelectProps['size'];
|
|
40
40
|
}
|
|
41
|
-
declare const
|
|
41
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
42
|
context: {
|
|
43
43
|
type: PropType<FormKitFrameworkContext & FormKitPrimeMultiSelectProps>;
|
|
44
44
|
required: true;
|
|
@@ -49,4 +49,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
required: true;
|
|
50
50
|
};
|
|
51
51
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
52
53
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -4,7 +4,7 @@ import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
|
4
4
|
export interface PrimeOutputListProps {
|
|
5
5
|
convertValue?: (array: []) => [];
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
context: {
|
|
9
9
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps & PrimeOutputListProps;
|
|
10
10
|
required: true;
|
|
@@ -15,4 +15,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
@@ -4,7 +4,7 @@ import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
|
4
4
|
export interface PrimeOutputListProps {
|
|
5
5
|
convertValue?: (array: []) => [];
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
context: {
|
|
9
9
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps & PrimeOutputListProps;
|
|
10
10
|
required: true;
|
|
@@ -15,4 +15,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
context: {
|
|
6
6
|
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
7
7
|
required: true;
|
|
@@ -12,4 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
|
|
4
|
+
export interface FormKitOutputTextProps {
|
|
5
|
+
html?: boolean;
|
|
6
|
+
isTranslationKey?: boolean;
|
|
7
|
+
convertValue?: (value: string) => string;
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
10
|
context: {
|
|
6
|
-
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
11
|
+
type: PropType<FormKitFrameworkContext> & FormKitIconProps & FormKitOutputTextProps;
|
|
7
12
|
required: true;
|
|
8
13
|
};
|
|
9
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
15
|
context: {
|
|
11
|
-
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
16
|
+
type: PropType<FormKitFrameworkContext> & FormKitIconProps & FormKitOutputTextProps;
|
|
12
17
|
required: true;
|
|
13
18
|
};
|
|
14
19
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
15
21
|
export default _default;
|
|
@@ -9,9 +9,15 @@ import FormKitIcon from './FormKitIcon.vue'
|
|
|
9
9
|
import FormKitPrefix from './FormKitPrefix.vue'
|
|
10
10
|
import FormKitSuffix from './FormKitSuffix.vue'
|
|
11
11
|
|
|
12
|
+
export interface FormKitOutputTextProps {
|
|
13
|
+
html?: boolean
|
|
14
|
+
isTranslationKey?: boolean
|
|
15
|
+
convertValue?: (value: string) => string
|
|
16
|
+
}
|
|
17
|
+
|
|
12
18
|
const props = defineProps({
|
|
13
19
|
context: {
|
|
14
|
-
type: Object as PropType<FormKitFrameworkContext> & FormKitIconProps,
|
|
20
|
+
type: Object as PropType<FormKitFrameworkContext> & FormKitIconProps & FormKitOutputTextProps,
|
|
15
21
|
required: true,
|
|
16
22
|
},
|
|
17
23
|
})
|
|
@@ -20,10 +26,15 @@ const textValue = computed(() => {
|
|
|
20
26
|
const value = props.context?._value
|
|
21
27
|
const { t } = useI18n()
|
|
22
28
|
if (value) {
|
|
23
|
-
if (props.context?.isTranslationKey)
|
|
29
|
+
if (props.context?.isTranslationKey) {
|
|
24
30
|
return t(value)
|
|
25
|
-
|
|
31
|
+
}
|
|
32
|
+
else if (typeof props.context?.convertValue === 'function') {
|
|
33
|
+
return props.context?.convertValue(value)
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
26
36
|
return value
|
|
37
|
+
}
|
|
27
38
|
}
|
|
28
39
|
else {
|
|
29
40
|
return ''
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { FormKitIconProps } from './FormKitIcon.vue';
|
|
4
|
-
|
|
4
|
+
export interface FormKitOutputTextProps {
|
|
5
|
+
html?: boolean;
|
|
6
|
+
isTranslationKey?: boolean;
|
|
7
|
+
convertValue?: (value: string) => string;
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
10
|
context: {
|
|
6
|
-
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
11
|
+
type: PropType<FormKitFrameworkContext> & FormKitIconProps & FormKitOutputTextProps;
|
|
7
12
|
required: true;
|
|
8
13
|
};
|
|
9
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
15
|
context: {
|
|
11
|
-
type: PropType<FormKitFrameworkContext> & FormKitIconProps;
|
|
16
|
+
type: PropType<FormKitFrameworkContext> & FormKitIconProps & FormKitOutputTextProps;
|
|
12
17
|
required: true;
|
|
13
18
|
};
|
|
14
19
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
15
21
|
export default _default;
|
|
@@ -18,7 +18,7 @@ export interface FormKitPrimePasswordProps {
|
|
|
18
18
|
toggleMask?: PasswordProps['toggleMask'];
|
|
19
19
|
size?: PasswordProps['size'];
|
|
20
20
|
}
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
22
|
context: {
|
|
23
23
|
type: PropType<FormKitFrameworkContext & FormKitPrimePasswordProps>;
|
|
24
24
|
required: true;
|
|
@@ -29,4 +29,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
required: true;
|
|
30
30
|
};
|
|
31
31
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
32
33
|
export default _default;
|
|
@@ -18,7 +18,7 @@ export interface FormKitPrimePasswordProps {
|
|
|
18
18
|
toggleMask?: PasswordProps['toggleMask'];
|
|
19
19
|
size?: PasswordProps['size'];
|
|
20
20
|
}
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
22
|
context: {
|
|
23
23
|
type: PropType<FormKitFrameworkContext & FormKitPrimePasswordProps>;
|
|
24
24
|
required: true;
|
|
@@ -29,4 +29,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
required: true;
|
|
30
30
|
};
|
|
31
31
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
32
33
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export interface FormKitPrimeRadioButtonProps {
|
|
|
13
13
|
optionsClass?: string;
|
|
14
14
|
optionClass?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
17
|
context: {
|
|
18
18
|
type: PropType<FormKitFrameworkContext & FormKitPrimeRadioButtonProps>;
|
|
19
19
|
required: true;
|
|
@@ -24,4 +24,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
27
28
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export interface FormKitPrimeRadioButtonProps {
|
|
|
13
13
|
optionsClass?: string;
|
|
14
14
|
optionClass?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
17
|
context: {
|
|
18
18
|
type: PropType<FormKitFrameworkContext & FormKitPrimeRadioButtonProps>;
|
|
19
19
|
required: true;
|
|
@@ -24,4 +24,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
27
28
|
export default _default;
|
|
@@ -9,7 +9,7 @@ export interface FormKitPrimeRatingProps {
|
|
|
9
9
|
ptOptions?: RatingProps['ptOptions'];
|
|
10
10
|
pt?: RatingProps['pt'];
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
context: {
|
|
14
14
|
type: PropType<FormKitFrameworkContext & FormKitPrimeRatingProps>;
|
|
15
15
|
required: true;
|
|
@@ -20,4 +20,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
@@ -9,7 +9,7 @@ export interface FormKitPrimeRatingProps {
|
|
|
9
9
|
ptOptions?: RatingProps['ptOptions'];
|
|
10
10
|
pt?: RatingProps['pt'];
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
context: {
|
|
14
14
|
type: PropType<FormKitFrameworkContext & FormKitPrimeRatingProps>;
|
|
15
15
|
required: true;
|
|
@@ -20,4 +20,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
@@ -35,7 +35,7 @@ export interface FormKitPrimeSelectProps {
|
|
|
35
35
|
unstyled?: SelectProps['unstyled'];
|
|
36
36
|
size?: SelectProps['size'];
|
|
37
37
|
}
|
|
38
|
-
declare const
|
|
38
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
39
|
context: {
|
|
40
40
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSelectProps>;
|
|
41
41
|
required: true;
|
|
@@ -46,4 +46,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
required: true;
|
|
47
47
|
};
|
|
48
48
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
49
50
|
export default _default;
|
|
@@ -35,7 +35,7 @@ export interface FormKitPrimeSelectProps {
|
|
|
35
35
|
unstyled?: SelectProps['unstyled'];
|
|
36
36
|
size?: SelectProps['size'];
|
|
37
37
|
}
|
|
38
|
-
declare const
|
|
38
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
39
|
context: {
|
|
40
40
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSelectProps>;
|
|
41
41
|
required: true;
|
|
@@ -46,4 +46,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
required: true;
|
|
47
47
|
};
|
|
48
48
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
49
50
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export interface FormKitPrimeSelectButtonProps {
|
|
|
13
13
|
options?: SelectButtonProps['options'];
|
|
14
14
|
size?: SelectButtonProps['size'];
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
17
|
context: {
|
|
18
18
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSelectButtonProps>;
|
|
19
19
|
required: true;
|
|
@@ -24,4 +24,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
27
28
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export interface FormKitPrimeSelectButtonProps {
|
|
|
13
13
|
options?: SelectButtonProps['options'];
|
|
14
14
|
size?: SelectButtonProps['size'];
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
17
|
context: {
|
|
18
18
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSelectButtonProps>;
|
|
19
19
|
required: true;
|
|
@@ -24,4 +24,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
27
28
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export interface FormKitPrimeSliderProps {
|
|
|
11
11
|
range?: SliderProps['range'];
|
|
12
12
|
orientation?: SliderProps['orientation'];
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
context: {
|
|
16
16
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSliderProps>;
|
|
17
17
|
required: true;
|
|
@@ -22,4 +22,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export interface FormKitPrimeSliderProps {
|
|
|
11
11
|
range?: SliderProps['range'];
|
|
12
12
|
orientation?: SliderProps['orientation'];
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
context: {
|
|
16
16
|
type: PropType<FormKitFrameworkContext & FormKitPrimeSliderProps>;
|
|
17
17
|
required: true;
|
|
@@ -22,4 +22,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
@@ -10,7 +10,7 @@ export interface FormKitPrimeTextareaProps {
|
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
rows?: number;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
context: {
|
|
15
15
|
type: PropType<FormKitFrameworkContext & FormKitPrimeTextareaProps>;
|
|
16
16
|
required: true;
|
|
@@ -21,4 +21,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
24
25
|
export default _default;
|
|
@@ -10,7 +10,7 @@ export interface FormKitPrimeTextareaProps {
|
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
rows?: number;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
context: {
|
|
15
15
|
type: PropType<FormKitFrameworkContext & FormKitPrimeTextareaProps>;
|
|
16
16
|
required: true;
|
|
@@ -21,4 +21,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
24
25
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export interface FormKitPrimeToggleButtonProps {
|
|
|
11
11
|
offIcon?: ToggleButtonProps['offIcon'];
|
|
12
12
|
size?: ToggleButtonProps['size'];
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
context: {
|
|
16
16
|
type: PropType<FormKitFrameworkContext & FormKitPrimeToggleButtonProps>;
|
|
17
17
|
required: true;
|
|
@@ -22,4 +22,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export interface FormKitPrimeToggleButtonProps {
|
|
|
11
11
|
offIcon?: ToggleButtonProps['offIcon'];
|
|
12
12
|
size?: ToggleButtonProps['size'];
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
context: {
|
|
16
16
|
type: PropType<FormKitFrameworkContext & FormKitPrimeToggleButtonProps>;
|
|
17
17
|
required: true;
|
|
@@ -22,4 +22,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
@@ -8,7 +8,7 @@ export interface FormKitPrimeToggleSwitchProps {
|
|
|
8
8
|
ptOptions?: ToggleSwitchProps['ptOptions'];
|
|
9
9
|
unstyled?: ToggleSwitchProps['unstyled'];
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
context: {
|
|
13
13
|
type: PropType<FormKitFrameworkContext & FormKitPrimeToggleSwitchProps>;
|
|
14
14
|
required: true;
|
|
@@ -19,4 +19,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
22
23
|
export default _default;
|
|
@@ -8,7 +8,7 @@ export interface FormKitPrimeToggleSwitchProps {
|
|
|
8
8
|
ptOptions?: ToggleSwitchProps['ptOptions'];
|
|
9
9
|
unstyled?: ToggleSwitchProps['unstyled'];
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
context: {
|
|
13
13
|
type: PropType<FormKitFrameworkContext & FormKitPrimeToggleSwitchProps>;
|
|
14
14
|
required: true;
|
|
@@ -19,4 +19,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
22
23
|
export default _default;
|