@sfxcode/formkit-primevue 4.3.1 → 4.3.3
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/README.md +2 -2
- package/dist/components/FormKitIcon.d.vue.ts +8 -0
- package/dist/components/FormKitIcon.vue +7 -1
- package/dist/components/FormKitIcon.vue.d.ts +8 -0
- package/dist/components/PrimeOutputBoolean.vue +2 -2
- package/dist/components/PrimeOutputDate.vue +2 -2
- package/dist/components/PrimeOutputDuration.vue +2 -2
- package/dist/components/PrimeOutputLink.vue +2 -2
- package/dist/components/PrimeOutputList.vue +2 -0
- package/dist/components/PrimeOutputNumber.vue +2 -2
- package/dist/components/PrimeOutputReference.vue +2 -2
- package/dist/components/PrimeOutputText.vue +2 -2
- package/dist/definitions/output.js +8 -8
- package/dist/definitions/output.mjs +22 -6
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@ In addition, you can use the same pattern for **data output** from **schema** us
|
|
|
8
8
|
|
|
9
9
|
## PrimeVue Versions
|
|
10
10
|
|
|
11
|
-
Actual PrimeVue Version of the main branch is *4.
|
|
11
|
+
Actual PrimeVue Version of the main branch is *4.5.5.*
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
This is the last version of the 4.x branch. Starting with [PrimeVue's "Next Chapter"](https://primeui.dev/nextchapter), newer versions are no longer open source, so 5.x and later will not be supported. Dependency overrides pin PrimeVue-related packages to their last MIT-licensed versions.
|
|
14
14
|
|
|
15
15
|
## Build
|
|
16
16
|
|
|
@@ -2,6 +2,8 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
export interface FormKitIconProps {
|
|
3
3
|
onIconPrefixClicked?: () => void;
|
|
4
4
|
onIconSuffixClicked?: () => void;
|
|
5
|
+
iconPrefixTooltip?: string;
|
|
6
|
+
iconSuffixTooltip?: string;
|
|
5
7
|
}
|
|
6
8
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
9
|
iconClass: {
|
|
@@ -17,6 +19,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
19
|
required: true;
|
|
18
20
|
validator: (val: string) => boolean;
|
|
19
21
|
};
|
|
22
|
+
tooltip: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
20
25
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
26
|
iconClass: {
|
|
22
27
|
type: StringConstructor;
|
|
@@ -31,6 +36,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
36
|
required: true;
|
|
32
37
|
validator: (val: string) => boolean;
|
|
33
38
|
};
|
|
39
|
+
tooltip: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
34
42
|
}>> & Readonly<{}>, {
|
|
35
43
|
onClick: () => void;
|
|
36
44
|
iconClass: string;
|
|
@@ -4,6 +4,8 @@ import type { PropType } from 'vue'
|
|
|
4
4
|
export interface FormKitIconProps {
|
|
5
5
|
onIconPrefixClicked?: () => void
|
|
6
6
|
onIconSuffixClicked?: () => void
|
|
7
|
+
iconPrefixTooltip?: string
|
|
8
|
+
iconSuffixTooltip?: string
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
defineProps({
|
|
@@ -17,9 +19,13 @@ defineProps({
|
|
|
17
19
|
required: true,
|
|
18
20
|
validator: (val: string) => ['prefix', 'suffix'].includes(val),
|
|
19
21
|
},
|
|
22
|
+
tooltip: {
|
|
23
|
+
type: String,
|
|
24
|
+
},
|
|
20
25
|
})
|
|
21
26
|
</script>
|
|
22
27
|
|
|
23
28
|
<template>
|
|
24
|
-
<i :class="[`formkit-${position}-icon`, iconClass]" @click="onClick" />
|
|
29
|
+
<i v-if="tooltip && tooltip?.length > 0" v-tooltip.bottom="tooltip" :class="[`formkit-${position}-icon`, iconClass]" @click="onClick" />
|
|
30
|
+
<i v-else :class="[`formkit-${position}-icon`, iconClass]" @click="onClick" />
|
|
25
31
|
</template>
|
|
@@ -2,6 +2,8 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
export interface FormKitIconProps {
|
|
3
3
|
onIconPrefixClicked?: () => void;
|
|
4
4
|
onIconSuffixClicked?: () => void;
|
|
5
|
+
iconPrefixTooltip?: string;
|
|
6
|
+
iconSuffixTooltip?: string;
|
|
5
7
|
}
|
|
6
8
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
9
|
iconClass: {
|
|
@@ -17,6 +19,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
19
|
required: true;
|
|
18
20
|
validator: (val: string) => boolean;
|
|
19
21
|
};
|
|
22
|
+
tooltip: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
20
25
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
26
|
iconClass: {
|
|
22
27
|
type: StringConstructor;
|
|
@@ -31,6 +36,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
31
36
|
required: true;
|
|
32
37
|
validator: (val: string) => boolean;
|
|
33
38
|
};
|
|
39
|
+
tooltip: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
34
42
|
}>> & Readonly<{}>, {
|
|
35
43
|
onClick: () => void;
|
|
36
44
|
iconClass: string;
|
|
@@ -30,12 +30,12 @@ const translated = computed(() => {
|
|
|
30
30
|
|
|
31
31
|
<template>
|
|
32
32
|
<div class="p-formkit p-output-boolean">
|
|
33
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
33
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
34
34
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
35
35
|
<span :id="context?.id" :style="context?.attrs?.style" :class="context?.attrs?.class">
|
|
36
36
|
{{ translated }}
|
|
37
37
|
</span>
|
|
38
38
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
39
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
39
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
40
40
|
</div>
|
|
41
41
|
</template>
|
|
@@ -40,12 +40,12 @@ const converted = computed(() => {
|
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
42
|
<div class="p-formkit p-output-date">
|
|
43
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
43
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
44
44
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
45
45
|
<span :id="context?.id" :style="context?.attrs?.style" :class="context?.attrs?.class">
|
|
46
46
|
{{ converted }}
|
|
47
47
|
</span>
|
|
48
48
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
49
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
49
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
50
50
|
</div>
|
|
51
51
|
</template>
|
|
@@ -21,12 +21,12 @@ const { formattedDuration } = useOutputDuration()
|
|
|
21
21
|
|
|
22
22
|
<template>
|
|
23
23
|
<div class="p-formkit p-output-duration">
|
|
24
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
24
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
25
25
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
26
26
|
<span :id="context?.id" :style="context?.attrs?.style" :class="context?.attrs?.class">
|
|
27
27
|
{{ formattedDuration(context?._value) }}
|
|
28
28
|
</span>
|
|
29
29
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
30
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
30
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
@@ -32,7 +32,7 @@ const title = computed(() => {
|
|
|
32
32
|
|
|
33
33
|
<template>
|
|
34
34
|
<div class="p-formkit p-output-link">
|
|
35
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
35
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
36
36
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
37
37
|
<a
|
|
38
38
|
v-if="context?.value"
|
|
@@ -45,6 +45,6 @@ const title = computed(() => {
|
|
|
45
45
|
<span>{{ title }}</span>
|
|
46
46
|
</a>
|
|
47
47
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
48
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
48
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
49
49
|
</div>
|
|
50
50
|
</template>
|
|
@@ -55,6 +55,7 @@ const listItemsClass = computed(() => props.context?.attrs?.class || '')
|
|
|
55
55
|
v-if="hasPrefixIcon"
|
|
56
56
|
:icon-class="context?.iconPrefix as string"
|
|
57
57
|
:on-click="context?.onIconPrefixClicked as () => void"
|
|
58
|
+
:tooltip="context?.iconPrefixTooltip as string"
|
|
58
59
|
position="prefix"
|
|
59
60
|
/>
|
|
60
61
|
<FormKitPrefix v-if="hasPrefix && listStyle === 'span'" :prefix="context?.prefix as string" />
|
|
@@ -116,6 +117,7 @@ const listItemsClass = computed(() => props.context?.attrs?.class || '')
|
|
|
116
117
|
v-if="hasSuffixIcon"
|
|
117
118
|
:icon-class="context?.iconSuffix as string"
|
|
118
119
|
:on-click="context?.onIconSuffixClicked as () => void"
|
|
120
|
+
:tooltip="context?.iconSuffixTooltip as string"
|
|
119
121
|
position="suffix"
|
|
120
122
|
/>
|
|
121
123
|
</div>
|
|
@@ -48,12 +48,12 @@ const converted = computed(() => {
|
|
|
48
48
|
|
|
49
49
|
<template>
|
|
50
50
|
<div class="p-formkit p-output-number">
|
|
51
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
51
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
52
52
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
53
53
|
<span :id="context?.id" :style="context?.attrs?.style" :class="context?.attrs?.class">
|
|
54
54
|
{{ converted }}
|
|
55
55
|
</span>
|
|
56
56
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
57
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
57
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
58
58
|
</div>
|
|
59
59
|
</template>
|
|
@@ -34,7 +34,7 @@ const title = computed(() => {
|
|
|
34
34
|
|
|
35
35
|
<template>
|
|
36
36
|
<div class="p-formkit p-output-reference">
|
|
37
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
37
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
38
38
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
39
39
|
<component
|
|
40
40
|
:is="context?.linkComponentName ? context?.linkComponentName : 'RouterLink'"
|
|
@@ -57,6 +57,6 @@ const title = computed(() => {
|
|
|
57
57
|
{{ title }}
|
|
58
58
|
</a>
|
|
59
59
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
60
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
60
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
@@ -63,11 +63,11 @@ const { hasPrefix, hasPrefixIcon, hasSuffix, hasSuffixIcon } = useFormKitSection
|
|
|
63
63
|
|
|
64
64
|
<template>
|
|
65
65
|
<div class="p-formkit p-output-text">
|
|
66
|
-
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" position="prefix" />
|
|
66
|
+
<FormKitIcon v-if="hasPrefixIcon" :icon-class="context?.iconPrefix as string" :on-click="context?.onIconPrefixClicked as (() => void)" :tooltip="context?.iconPrefixTooltip as string" position="prefix" />
|
|
67
67
|
<FormKitPrefix v-if="hasPrefix" :prefix="context?.prefix as string" />
|
|
68
68
|
<span v-if="context?.html" :id="context?.id" :class="context?.attrs?.class" :style="context?.attrs?.style" v-html="textValue" />
|
|
69
69
|
<span v-else :id="context?.id" :class="context?.attrs?.class" :style="context?.attrs?.style" v-text="textValue" />
|
|
70
70
|
<FormKitSuffix v-if="hasSuffix" :suffix="context?.suffix as string" />
|
|
71
|
-
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" position="suffix" />
|
|
71
|
+
<FormKitIcon v-if="hasSuffixIcon" :icon-class="context?.iconSuffix as string" :on-click="context?.onIconSuffixClicked as (() => void)" :tooltip="context?.iconSuffixTooltip as string" position="suffix" />
|
|
72
72
|
</div>
|
|
73
73
|
</template>
|
|
@@ -15,32 +15,32 @@ var _PrimeOutputReference = _interopRequireDefault(require("../components/PrimeO
|
|
|
15
15
|
var _PrimeOutputText = _interopRequireDefault(require("../components/PrimeOutputText.vue"));
|
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
const primeOutputTextDefinition = exports.primeOutputTextDefinition = (0, _vue.createInput)(_PrimeOutputText.default, {
|
|
18
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "isTranslationKey", "html", "onIconPrefixClicked", "onIconSuffixClicked", "convertValue", "maxLength"]
|
|
18
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "isTranslationKey", "html", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip", "convertValue", "maxLength"]
|
|
19
19
|
});
|
|
20
20
|
const primeOutputDateDefinition = exports.primeOutputDateDefinition = (0, _vue.createInput)(_PrimeOutputDate.default, {
|
|
21
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"]
|
|
21
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"]
|
|
22
22
|
});
|
|
23
23
|
const primeOutputNumberDefinition = exports.primeOutputNumberDefinition = (0, _vue.createInput)(_PrimeOutputNumber.default, {
|
|
24
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
24
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"],
|
|
25
25
|
family: "PrimeOutput"
|
|
26
26
|
});
|
|
27
27
|
const primeOutputLinkDefinition = exports.primeOutputLinkDefinition = (0, _vue.createInput)(_PrimeOutputLink.default, {
|
|
28
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "title", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
28
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "title", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"],
|
|
29
29
|
family: "PrimeOutput"
|
|
30
30
|
});
|
|
31
31
|
const primeOutputReferenceDefinition = exports.primeOutputReferenceDefinition = (0, _vue.createInput)(_PrimeOutputReference.default, {
|
|
32
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "reference", "internal", "linkComponentName", "title", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
32
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "reference", "internal", "linkComponentName", "title", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"],
|
|
33
33
|
family: "PrimeOutput"
|
|
34
34
|
});
|
|
35
35
|
const primeOutputBooleanDefinition = exports.primeOutputBooleanDefinition = (0, _vue.createInput)(_PrimeOutputBoolean.default, {
|
|
36
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "trueValue", "falseValue", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
36
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "trueValue", "falseValue", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"],
|
|
37
37
|
family: "PrimeOutput"
|
|
38
38
|
});
|
|
39
39
|
const primeOutputDurationDefinition = exports.primeOutputDurationDefinition = (0, _vue.createInput)(_PrimeOutputDuration.default, {
|
|
40
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
40
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip"],
|
|
41
41
|
family: "PrimeOutput"
|
|
42
42
|
});
|
|
43
43
|
const primeOutputListDefinition = exports.primeOutputListDefinition = (0, _vue.createInput)(_PrimeOutputList.default, {
|
|
44
|
-
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "divider", "itemClass", "dividerClass", "listStyle", "onIconPrefixClicked", "onIconSuffixClicked", "optionLabel", "options", "optionValue", "convertValue"],
|
|
44
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "divider", "itemClass", "dividerClass", "listStyle", "onIconPrefixClicked", "onIconSuffixClicked", "iconPrefixTooltip", "iconSuffixTooltip", "optionLabel", "options", "optionValue", "convertValue"],
|
|
45
45
|
family: "PrimeOutput"
|
|
46
46
|
});
|
|
@@ -17,6 +17,8 @@ export const primeOutputTextDefinition = createInput(PrimeOutputText, {
|
|
|
17
17
|
"html",
|
|
18
18
|
"onIconPrefixClicked",
|
|
19
19
|
"onIconSuffixClicked",
|
|
20
|
+
"iconPrefixTooltip",
|
|
21
|
+
"iconSuffixTooltip",
|
|
20
22
|
"convertValue",
|
|
21
23
|
"maxLength"
|
|
22
24
|
]
|
|
@@ -28,7 +30,9 @@ export const primeOutputDateDefinition = createInput(PrimeOutputDate, {
|
|
|
28
30
|
"iconPrefix",
|
|
29
31
|
"iconSuffix",
|
|
30
32
|
"onIconPrefixClicked",
|
|
31
|
-
"onIconSuffixClicked"
|
|
33
|
+
"onIconSuffixClicked",
|
|
34
|
+
"iconPrefixTooltip",
|
|
35
|
+
"iconSuffixTooltip"
|
|
32
36
|
]
|
|
33
37
|
});
|
|
34
38
|
export const primeOutputNumberDefinition = createInput(PrimeOutputNumber, {
|
|
@@ -38,7 +42,9 @@ export const primeOutputNumberDefinition = createInput(PrimeOutputNumber, {
|
|
|
38
42
|
"iconPrefix",
|
|
39
43
|
"iconSuffix",
|
|
40
44
|
"onIconPrefixClicked",
|
|
41
|
-
"onIconSuffixClicked"
|
|
45
|
+
"onIconSuffixClicked",
|
|
46
|
+
"iconPrefixTooltip",
|
|
47
|
+
"iconSuffixTooltip"
|
|
42
48
|
],
|
|
43
49
|
family: "PrimeOutput"
|
|
44
50
|
});
|
|
@@ -50,7 +56,9 @@ export const primeOutputLinkDefinition = createInput(PrimeOutputLink, {
|
|
|
50
56
|
"iconSuffix",
|
|
51
57
|
"title",
|
|
52
58
|
"onIconPrefixClicked",
|
|
53
|
-
"onIconSuffixClicked"
|
|
59
|
+
"onIconSuffixClicked",
|
|
60
|
+
"iconPrefixTooltip",
|
|
61
|
+
"iconSuffixTooltip"
|
|
54
62
|
],
|
|
55
63
|
family: "PrimeOutput"
|
|
56
64
|
});
|
|
@@ -67,7 +75,9 @@ export const primeOutputReferenceDefinition = createInput(
|
|
|
67
75
|
"linkComponentName",
|
|
68
76
|
"title",
|
|
69
77
|
"onIconPrefixClicked",
|
|
70
|
-
"onIconSuffixClicked"
|
|
78
|
+
"onIconSuffixClicked",
|
|
79
|
+
"iconPrefixTooltip",
|
|
80
|
+
"iconSuffixTooltip"
|
|
71
81
|
],
|
|
72
82
|
family: "PrimeOutput"
|
|
73
83
|
}
|
|
@@ -81,7 +91,9 @@ export const primeOutputBooleanDefinition = createInput(PrimeOutputBoolean, {
|
|
|
81
91
|
"trueValue",
|
|
82
92
|
"falseValue",
|
|
83
93
|
"onIconPrefixClicked",
|
|
84
|
-
"onIconSuffixClicked"
|
|
94
|
+
"onIconSuffixClicked",
|
|
95
|
+
"iconPrefixTooltip",
|
|
96
|
+
"iconSuffixTooltip"
|
|
85
97
|
],
|
|
86
98
|
family: "PrimeOutput"
|
|
87
99
|
});
|
|
@@ -94,7 +106,9 @@ export const primeOutputDurationDefinition = createInput(
|
|
|
94
106
|
"iconPrefix",
|
|
95
107
|
"iconSuffix",
|
|
96
108
|
"onIconPrefixClicked",
|
|
97
|
-
"onIconSuffixClicked"
|
|
109
|
+
"onIconSuffixClicked",
|
|
110
|
+
"iconPrefixTooltip",
|
|
111
|
+
"iconSuffixTooltip"
|
|
98
112
|
],
|
|
99
113
|
family: "PrimeOutput"
|
|
100
114
|
}
|
|
@@ -111,6 +125,8 @@ export const primeOutputListDefinition = createInput(PrimeOutputList, {
|
|
|
111
125
|
"listStyle",
|
|
112
126
|
"onIconPrefixClicked",
|
|
113
127
|
"onIconSuffixClicked",
|
|
128
|
+
"iconPrefixTooltip",
|
|
129
|
+
"iconSuffixTooltip",
|
|
114
130
|
"optionLabel",
|
|
115
131
|
"options",
|
|
116
132
|
"optionValue",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.3",
|
|
5
5
|
"packageManager": "pnpm@11.0.9+sha512.34ce82e6780233cf9cad8685029a8f81d2e06196c5a9bad98879f7424940c6817c4e4524fb7d38b8553ceed48b9758b8ebaf1abd3600c232c4c8cf7366086f38",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
@@ -94,57 +94,57 @@
|
|
|
94
94
|
"vue": "^3.4.0"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@formkit/addons": "^2.1.
|
|
98
|
-
"@formkit/auto-animate": "^0.
|
|
99
|
-
"@formkit/core": "^2.1.
|
|
100
|
-
"@formkit/i18n": "^2.1.
|
|
101
|
-
"@formkit/inputs": "^2.1.
|
|
102
|
-
"@formkit/vue": "^2.1.
|
|
103
|
-
"@intlify/core": "^11.4.
|
|
104
|
-
"primeicons": "
|
|
105
|
-
"primevue": "
|
|
106
|
-
"vue-i18n": "^11.4.
|
|
97
|
+
"@formkit/addons": "^2.1.2",
|
|
98
|
+
"@formkit/auto-animate": "^0.10.0",
|
|
99
|
+
"@formkit/core": "^2.1.2",
|
|
100
|
+
"@formkit/i18n": "^2.1.2",
|
|
101
|
+
"@formkit/inputs": "^2.1.2",
|
|
102
|
+
"@formkit/vue": "^2.1.2",
|
|
103
|
+
"@intlify/core": "^11.4.8",
|
|
104
|
+
"primeicons": "7.0.0",
|
|
105
|
+
"primevue": "4.5.5",
|
|
106
|
+
"vue-i18n": "^11.4.8"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@antfu/eslint-config": "^9.
|
|
110
|
-
"@primeuix/themes": "
|
|
111
|
-
"@types/node": "
|
|
112
|
-
"@unocss/preset-icons": "66.7.
|
|
113
|
-
"@unocss/preset-uno": "66.7.
|
|
114
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
115
|
-
"@vitest/coverage-v8": "^4.1.
|
|
116
|
-
"@vitest/ui": "^4.1.
|
|
117
|
-
"@vue/compiler-sfc": "^3.5.
|
|
118
|
-
"@vue/server-renderer": "^3.5.
|
|
109
|
+
"@antfu/eslint-config": "^9.2.0",
|
|
110
|
+
"@primeuix/themes": "2.0.3",
|
|
111
|
+
"@types/node": "latest",
|
|
112
|
+
"@unocss/preset-icons": "^66.7.5",
|
|
113
|
+
"@unocss/preset-uno": "^66.7.5",
|
|
114
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
115
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
116
|
+
"@vitest/ui": "^4.1.10",
|
|
117
|
+
"@vue/compiler-sfc": "^3.5.40",
|
|
118
|
+
"@vue/server-renderer": "^3.5.40",
|
|
119
119
|
"@vue/test-utils": "^2.4.11",
|
|
120
120
|
"@vue/tsconfig": "^0.9.1",
|
|
121
|
-
"@vueuse/core": "^14.
|
|
121
|
+
"@vueuse/core": "^14.4.0",
|
|
122
122
|
"@vueuse/head": "^2.0.0",
|
|
123
123
|
"changelogen": "^0.6.2",
|
|
124
124
|
"chart.js": "^4.5.1",
|
|
125
125
|
"consola": "^3.4.2",
|
|
126
126
|
"cookie": "^1.1.1",
|
|
127
127
|
"esbuild": "^0.28.1",
|
|
128
|
-
"eslint": "^10.
|
|
129
|
-
"happy-dom": "^20.
|
|
130
|
-
"json-editor-vue": "^0.
|
|
128
|
+
"eslint": "^10.8.0",
|
|
129
|
+
"happy-dom": "^20.11.1",
|
|
130
|
+
"json-editor-vue": "^0.19.1",
|
|
131
131
|
"mkdist": "^2.4.1",
|
|
132
|
-
"sass": "^1.
|
|
132
|
+
"sass": "^1.102.0",
|
|
133
133
|
"tslib": "^2.8.1",
|
|
134
134
|
"typescript": "^6.0.3",
|
|
135
135
|
"unbuild": "^3.6.1",
|
|
136
|
-
"unocss": "66.7.
|
|
137
|
-
"unplugin-auto-import": "^21.
|
|
136
|
+
"unocss": "^66.7.5",
|
|
137
|
+
"unplugin-auto-import": "^21.1.0",
|
|
138
138
|
"unplugin-vue-components": "^32.1.0",
|
|
139
|
-
"vite": "^8.
|
|
139
|
+
"vite": "^8.2.0",
|
|
140
140
|
"vite-plugin-dts": "^4.5.4",
|
|
141
141
|
"vite-plugin-pages": "^0.33.3",
|
|
142
142
|
"vite-ssg": "^28.3.0",
|
|
143
143
|
"vitepress": "2.0.0-alpha.16",
|
|
144
|
-
"vitest": "^4.1.
|
|
145
|
-
"vue": "^3.5.
|
|
144
|
+
"vitest": "^4.1.10",
|
|
145
|
+
"vue": "^3.5.40",
|
|
146
146
|
"vue-demi": "^0.14.10",
|
|
147
|
-
"vue-router": "^5.
|
|
148
|
-
"vue-tsc": "^3.3.
|
|
147
|
+
"vue-router": "^5.2.0",
|
|
148
|
+
"vue-tsc": "^3.3.9"
|
|
149
149
|
}
|
|
150
150
|
}
|