@sfxcode/formkit-primevue 3.3.1 → 3.3.4
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/FormKitDataDebug.vue +19 -0
- package/dist/components/FormKitDataEdit.vue +133 -0
- package/dist/components/FormKitDataView.vue +51 -0
- package/dist/components/FormKitIcon.vue +18 -0
- package/dist/components/FormKitPrefix.vue +11 -0
- package/dist/components/FormKitSuffix.vue +11 -0
- package/dist/components/PrimeAutoComplete.vue +95 -0
- package/dist/components/PrimeCascadeSelect.vue +43 -0
- package/dist/components/PrimeCheckbox.vue +51 -0
- package/dist/components/PrimeColorPicker.vue +33 -0
- package/dist/components/PrimeDatePicker.vue +97 -0
- package/dist/components/PrimeInputMask.vue +69 -0
- package/dist/components/PrimeInputNumber.vue +75 -0
- package/dist/components/PrimeInputOtp.vue +42 -0
- package/dist/components/PrimeInputText.vue +65 -0
- package/dist/components/PrimeKnob.vue +50 -0
- package/dist/components/PrimeListbox.vue +54 -0
- package/dist/components/PrimeMultiSelect.vue +70 -0
- package/dist/components/PrimeOutputBoolean.vue +42 -0
- package/dist/components/PrimeOutputDate.vue +51 -0
- package/dist/components/PrimeOutputDuration.vue +36 -0
- package/dist/components/PrimeOutputLink.vue +52 -0
- package/dist/components/PrimeOutputList.vue +106 -0
- package/dist/components/PrimeOutputNumber.vue +56 -0
- package/dist/components/PrimeOutputReference.vue +64 -0
- package/dist/components/PrimeOutputText.vue +72 -0
- package/dist/components/PrimePassword.vue +52 -0
- package/dist/components/PrimeRadioButton.vue +48 -0
- package/dist/components/PrimeRating.vue +40 -0
- package/dist/components/PrimeSelect.vue +71 -0
- package/dist/components/PrimeSelectButton.vue +44 -0
- package/dist/components/PrimeSlider.vue +42 -0
- package/dist/components/PrimeTextarea.vue +37 -0
- package/dist/components/PrimeToggleButton.vue +42 -0
- package/dist/components/PrimeToggleSwitch.vue +42 -0
- package/dist/components/PrimeTreeSelect.vue +48 -0
- package/dist/components/index.d.ts +24 -2
- package/dist/components/index.js +167 -4
- package/dist/components/index.mjs +48 -0
- package/dist/composables/index.d.ts +9 -2
- package/dist/composables/index.js +61 -2
- package/dist/composables/index.mjs +18 -0
- package/dist/composables/useFormKitInput.d.ts +11 -0
- package/dist/composables/useFormKitInput.js +62 -0
- package/dist/composables/useFormKitInput.mjs +57 -0
- package/dist/composables/useFormKitRepeater.d.ts +15 -0
- package/dist/composables/useFormKitRepeater.js +74 -0
- package/dist/composables/useFormKitRepeater.mjs +82 -0
- package/dist/composables/useFormKitSchema.d.ts +36 -0
- package/dist/composables/useFormKitSchema.js +83 -0
- package/dist/composables/useFormKitSchema.mjs +66 -0
- package/dist/composables/useFormKitSection.d.ts +7 -0
- package/dist/composables/useFormKitSection.js +31 -0
- package/dist/composables/useFormKitSection.mjs +19 -0
- package/dist/composables/useInputEditor.d.ts +8 -0
- package/dist/composables/useInputEditor.js +148 -0
- package/dist/composables/useInputEditor.mjs +171 -0
- package/dist/composables/useInputEditorSchema.d.ts +163 -0
- package/dist/composables/useInputEditorSchema.js +313 -0
- package/dist/composables/useInputEditorSchema.mjs +323 -0
- package/dist/composables/useOutputDuration.d.ts +4 -0
- package/dist/composables/useOutputDuration.js +40 -0
- package/dist/composables/useOutputDuration.mjs +32 -0
- package/dist/composables/usePrimeInputs.d.ts +3 -0
- package/dist/composables/usePrimeInputs.js +62 -0
- package/dist/composables/usePrimeInputs.mjs +53 -0
- package/dist/definitions/index.d.ts +32 -37
- package/dist/definitions/index.js +42 -4
- package/dist/definitions/index.mjs +68 -0
- package/dist/definitions/input.d.ts +47 -0
- package/dist/definitions/input.js +142 -0
- package/dist/definitions/input.mjs +421 -0
- package/dist/definitions/output.d.ts +9 -0
- package/dist/definitions/output.js +46 -0
- package/dist/definitions/output.mjs +120 -0
- package/dist/index.d.ts +142 -145
- package/dist/index.js +62 -5
- package/dist/index.mjs +20 -0
- package/dist/plugins/index.d.ts +3 -7
- package/dist/plugins/index.js +57 -45
- package/dist/plugins/index.mjs +59 -0
- package/dist/vue.d.ts +5 -0
- package/package.json +88 -40
- package/dist/PrimeTreeSelect-Dksx7tL-.js +0 -1881
- package/dist/components-HJnJ39cU.js +0 -255
- package/dist/composables-CZ6f1QYe.js +0 -820
- package/dist/definitions-BHwWaom7.js +0 -1196
- package/dist/index-Ch3MtT1C.d.ts +0 -266
- package/dist/index-EJ8M51RO.d.ts +0 -917
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FormKitTypeDefinition } from "@formkit/core";
|
|
2
|
+
export declare const primeOutputTextDefinition: FormKitTypeDefinition;
|
|
3
|
+
export declare const primeOutputDateDefinition: FormKitTypeDefinition;
|
|
4
|
+
export declare const primeOutputNumberDefinition: FormKitTypeDefinition;
|
|
5
|
+
export declare const primeOutputLinkDefinition: FormKitTypeDefinition;
|
|
6
|
+
export declare const primeOutputReferenceDefinition: FormKitTypeDefinition;
|
|
7
|
+
export declare const primeOutputBooleanDefinition: FormKitTypeDefinition;
|
|
8
|
+
export declare const primeOutputDurationDefinition: FormKitTypeDefinition;
|
|
9
|
+
export declare const primeOutputListDefinition: FormKitTypeDefinition;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.primeOutputTextDefinition = exports.primeOutputReferenceDefinition = exports.primeOutputNumberDefinition = exports.primeOutputListDefinition = exports.primeOutputLinkDefinition = exports.primeOutputDurationDefinition = exports.primeOutputDateDefinition = exports.primeOutputBooleanDefinition = void 0;
|
|
7
|
+
var _vue = require("@formkit/vue");
|
|
8
|
+
var _PrimeOutputBoolean = _interopRequireDefault(require("../components/PrimeOutputBoolean.vue"));
|
|
9
|
+
var _PrimeOutputDate = _interopRequireDefault(require("../components/PrimeOutputDate.vue"));
|
|
10
|
+
var _PrimeOutputDuration = _interopRequireDefault(require("../components/PrimeOutputDuration.vue"));
|
|
11
|
+
var _PrimeOutputLink = _interopRequireDefault(require("../components/PrimeOutputLink.vue"));
|
|
12
|
+
var _PrimeOutputList = _interopRequireDefault(require("../components/PrimeOutputList.vue"));
|
|
13
|
+
var _PrimeOutputNumber = _interopRequireDefault(require("../components/PrimeOutputNumber.vue"));
|
|
14
|
+
var _PrimeOutputReference = _interopRequireDefault(require("../components/PrimeOutputReference.vue"));
|
|
15
|
+
var _PrimeOutputText = _interopRequireDefault(require("../components/PrimeOutputText.vue"));
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
const primeOutputTextDefinition = exports.primeOutputTextDefinition = (0, _vue.createInput)(_PrimeOutputText.default, {
|
|
18
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "isTranslationKey", "html", "onIconPrefixClicked", "onIconSuffixClicked", "convertValue", "maxLength"]
|
|
19
|
+
});
|
|
20
|
+
const primeOutputDateDefinition = exports.primeOutputDateDefinition = (0, _vue.createInput)(_PrimeOutputDate.default, {
|
|
21
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"]
|
|
22
|
+
});
|
|
23
|
+
const primeOutputNumberDefinition = exports.primeOutputNumberDefinition = (0, _vue.createInput)(_PrimeOutputNumber.default, {
|
|
24
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
25
|
+
family: "PrimeOutput"
|
|
26
|
+
});
|
|
27
|
+
const primeOutputLinkDefinition = exports.primeOutputLinkDefinition = (0, _vue.createInput)(_PrimeOutputLink.default, {
|
|
28
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "title", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
29
|
+
family: "PrimeOutput"
|
|
30
|
+
});
|
|
31
|
+
const primeOutputReferenceDefinition = exports.primeOutputReferenceDefinition = (0, _vue.createInput)(_PrimeOutputReference.default, {
|
|
32
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "reference", "internal", "linkComponentName", "title", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
33
|
+
family: "PrimeOutput"
|
|
34
|
+
});
|
|
35
|
+
const primeOutputBooleanDefinition = exports.primeOutputBooleanDefinition = (0, _vue.createInput)(_PrimeOutputBoolean.default, {
|
|
36
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "trueValue", "falseValue", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
37
|
+
family: "PrimeOutput"
|
|
38
|
+
});
|
|
39
|
+
const primeOutputDurationDefinition = exports.primeOutputDurationDefinition = (0, _vue.createInput)(_PrimeOutputDuration.default, {
|
|
40
|
+
props: ["prefix", "suffix", "iconPrefix", "iconSuffix", "onIconPrefixClicked", "onIconSuffixClicked"],
|
|
41
|
+
family: "PrimeOutput"
|
|
42
|
+
});
|
|
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"],
|
|
45
|
+
family: "PrimeOutput"
|
|
46
|
+
});
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { createInput } from "@formkit/vue";
|
|
2
|
+
import PrimeOutputBoolean from "../components/PrimeOutputBoolean.vue";
|
|
3
|
+
import PrimeOutputDate from "../components/PrimeOutputDate.vue";
|
|
4
|
+
import PrimeOutputDuration from "../components/PrimeOutputDuration.vue";
|
|
5
|
+
import PrimeOutputLink from "../components/PrimeOutputLink.vue";
|
|
6
|
+
import PrimeOutputList from "../components/PrimeOutputList.vue";
|
|
7
|
+
import PrimeOutputNumber from "../components/PrimeOutputNumber.vue";
|
|
8
|
+
import PrimeOutputReference from "../components/PrimeOutputReference.vue";
|
|
9
|
+
import PrimeOutputText from "../components/PrimeOutputText.vue";
|
|
10
|
+
export const primeOutputTextDefinition = createInput(PrimeOutputText, {
|
|
11
|
+
props: [
|
|
12
|
+
"prefix",
|
|
13
|
+
"suffix",
|
|
14
|
+
"iconPrefix",
|
|
15
|
+
"iconSuffix",
|
|
16
|
+
"isTranslationKey",
|
|
17
|
+
"html",
|
|
18
|
+
"onIconPrefixClicked",
|
|
19
|
+
"onIconSuffixClicked",
|
|
20
|
+
"convertValue",
|
|
21
|
+
"maxLength"
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
export const primeOutputDateDefinition = createInput(PrimeOutputDate, {
|
|
25
|
+
props: [
|
|
26
|
+
"prefix",
|
|
27
|
+
"suffix",
|
|
28
|
+
"iconPrefix",
|
|
29
|
+
"iconSuffix",
|
|
30
|
+
"onIconPrefixClicked",
|
|
31
|
+
"onIconSuffixClicked"
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
export const primeOutputNumberDefinition = createInput(PrimeOutputNumber, {
|
|
35
|
+
props: [
|
|
36
|
+
"prefix",
|
|
37
|
+
"suffix",
|
|
38
|
+
"iconPrefix",
|
|
39
|
+
"iconSuffix",
|
|
40
|
+
"onIconPrefixClicked",
|
|
41
|
+
"onIconSuffixClicked"
|
|
42
|
+
],
|
|
43
|
+
family: "PrimeOutput"
|
|
44
|
+
});
|
|
45
|
+
export const primeOutputLinkDefinition = createInput(PrimeOutputLink, {
|
|
46
|
+
props: [
|
|
47
|
+
"prefix",
|
|
48
|
+
"suffix",
|
|
49
|
+
"iconPrefix",
|
|
50
|
+
"iconSuffix",
|
|
51
|
+
"title",
|
|
52
|
+
"onIconPrefixClicked",
|
|
53
|
+
"onIconSuffixClicked"
|
|
54
|
+
],
|
|
55
|
+
family: "PrimeOutput"
|
|
56
|
+
});
|
|
57
|
+
export const primeOutputReferenceDefinition = createInput(
|
|
58
|
+
PrimeOutputReference,
|
|
59
|
+
{
|
|
60
|
+
props: [
|
|
61
|
+
"prefix",
|
|
62
|
+
"suffix",
|
|
63
|
+
"iconPrefix",
|
|
64
|
+
"iconSuffix",
|
|
65
|
+
"reference",
|
|
66
|
+
"internal",
|
|
67
|
+
"linkComponentName",
|
|
68
|
+
"title",
|
|
69
|
+
"onIconPrefixClicked",
|
|
70
|
+
"onIconSuffixClicked"
|
|
71
|
+
],
|
|
72
|
+
family: "PrimeOutput"
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
export const primeOutputBooleanDefinition = createInput(PrimeOutputBoolean, {
|
|
76
|
+
props: [
|
|
77
|
+
"prefix",
|
|
78
|
+
"suffix",
|
|
79
|
+
"iconPrefix",
|
|
80
|
+
"iconSuffix",
|
|
81
|
+
"trueValue",
|
|
82
|
+
"falseValue",
|
|
83
|
+
"onIconPrefixClicked",
|
|
84
|
+
"onIconSuffixClicked"
|
|
85
|
+
],
|
|
86
|
+
family: "PrimeOutput"
|
|
87
|
+
});
|
|
88
|
+
export const primeOutputDurationDefinition = createInput(
|
|
89
|
+
PrimeOutputDuration,
|
|
90
|
+
{
|
|
91
|
+
props: [
|
|
92
|
+
"prefix",
|
|
93
|
+
"suffix",
|
|
94
|
+
"iconPrefix",
|
|
95
|
+
"iconSuffix",
|
|
96
|
+
"onIconPrefixClicked",
|
|
97
|
+
"onIconSuffixClicked"
|
|
98
|
+
],
|
|
99
|
+
family: "PrimeOutput"
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
export const primeOutputListDefinition = createInput(PrimeOutputList, {
|
|
103
|
+
props: [
|
|
104
|
+
"prefix",
|
|
105
|
+
"suffix",
|
|
106
|
+
"iconPrefix",
|
|
107
|
+
"iconSuffix",
|
|
108
|
+
"divider",
|
|
109
|
+
"itemClass",
|
|
110
|
+
"dividerClass",
|
|
111
|
+
"listStyle",
|
|
112
|
+
"onIconPrefixClicked",
|
|
113
|
+
"onIconSuffixClicked",
|
|
114
|
+
"optionLabel",
|
|
115
|
+
"options",
|
|
116
|
+
"optionValue",
|
|
117
|
+
"convertValue"
|
|
118
|
+
],
|
|
119
|
+
family: "PrimeOutput"
|
|
120
|
+
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,151 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
//#region src/index.d.ts
|
|
1
|
+
import type { FormKitBaseSlots, FormKitInputs } from "@formkit/inputs";
|
|
2
|
+
import type { AutoCompleteSlots, CascadeSelectSlots, CheckboxSlots, ColorPickerSlots, DatePickerSlots, InputMaskSlots, InputNumberSlots, InputOtpSlots, InputTextSlots, KnobSlots, ListboxSlots, MultiSelectSlots, PasswordSlots, RadioButtonSlots, RatingSlots, SelectButtonSlots, SelectSlots, SliderSlots, TextareaSlots, ToggleButtonSlots, ToggleSwitchSlots, TreeSelectSlots } from "primevue";
|
|
3
|
+
import type { CascadeSelectProps } from "primevue/cascadeselect";
|
|
4
|
+
import type { ListboxProps } from "primevue/listbox";
|
|
5
|
+
import type { MultiSelectProps } from "primevue/multiselect";
|
|
6
|
+
import type { SelectProps } from "primevue/select";
|
|
7
|
+
import type { SelectButtonProps } from "primevue/selectbutton";
|
|
8
|
+
import type { TreeSelectProps } from "primevue/treeselect";
|
|
9
|
+
import { FormKitDataEdit, FormKitDataView } from "./components/index.ts";
|
|
10
|
+
import { useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs } from "./composables/index.ts";
|
|
11
|
+
import { primeInputs, primeOutputs } from "./definitions/index.ts";
|
|
12
|
+
export { FormKitDataEdit, FormKitDataView, primeInputs, primeOutputs, useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs, };
|
|
14
13
|
/**
|
|
15
14
|
* Keeps all slots from 1st argument, add any slots from 2nd type which do not collide with the 1st's names.
|
|
16
15
|
*/
|
|
17
16
|
type MergeSlots<A, B> = A & Omit<B, keyof A>;
|
|
18
17
|
declare module "@formkit/inputs" {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
18
|
+
interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
19
|
+
primeAutoComplete: {
|
|
20
|
+
type: "primeAutoComplete";
|
|
21
|
+
};
|
|
22
|
+
primeInputText: {
|
|
23
|
+
type: "primeInputText";
|
|
24
|
+
};
|
|
25
|
+
primeInputNumber: {
|
|
26
|
+
type: "primeInputNumber";
|
|
27
|
+
};
|
|
28
|
+
primeInputMask: {
|
|
29
|
+
type: "primeInputMask";
|
|
30
|
+
};
|
|
31
|
+
primePassword: {
|
|
32
|
+
type: "primePassword";
|
|
33
|
+
};
|
|
34
|
+
primeCheckbox: {
|
|
35
|
+
type: "primeCheckbox";
|
|
36
|
+
};
|
|
37
|
+
primeToggleSwitch: {
|
|
38
|
+
type: "primeToggleSwitch";
|
|
39
|
+
};
|
|
40
|
+
primeTextarea: {
|
|
41
|
+
type: "primeTextarea";
|
|
42
|
+
};
|
|
43
|
+
primeSelect: {
|
|
44
|
+
type: "primeSelect";
|
|
45
|
+
options?: SelectProps["options"];
|
|
46
|
+
};
|
|
47
|
+
primeMultiSelect: {
|
|
48
|
+
type: "primeMultiSelect";
|
|
49
|
+
options?: MultiSelectProps["options"];
|
|
50
|
+
};
|
|
51
|
+
primeDatePicker: {
|
|
52
|
+
type: "primeDatePicker";
|
|
53
|
+
};
|
|
54
|
+
primeSlider: {
|
|
55
|
+
type: "primeSlider";
|
|
56
|
+
};
|
|
57
|
+
primeKnob: {
|
|
58
|
+
type: "primeKnob";
|
|
59
|
+
};
|
|
60
|
+
primeRating: {
|
|
61
|
+
type: "primeRating";
|
|
62
|
+
};
|
|
63
|
+
primeRadioButton: {
|
|
64
|
+
type: "primeRadioButton";
|
|
65
|
+
};
|
|
66
|
+
primeColorPicker: {
|
|
67
|
+
type: "primeColorPicker";
|
|
68
|
+
};
|
|
69
|
+
primeToggleButton: {
|
|
70
|
+
type: "primeToggleButton";
|
|
71
|
+
};
|
|
72
|
+
primeListbox: {
|
|
73
|
+
type: "primeListbox";
|
|
74
|
+
options?: ListboxProps["options"];
|
|
75
|
+
};
|
|
76
|
+
primeSelectButton: {
|
|
77
|
+
type: "primeSelectButton";
|
|
78
|
+
options?: SelectButtonProps["options"];
|
|
79
|
+
};
|
|
80
|
+
primeCascadeSelect: {
|
|
81
|
+
type: "primeCascadeSelect";
|
|
82
|
+
options?: CascadeSelectProps["options"];
|
|
83
|
+
};
|
|
84
|
+
primeTreeSelect: {
|
|
85
|
+
type: "primeTreeSelect";
|
|
86
|
+
options?: TreeSelectProps["options"];
|
|
87
|
+
};
|
|
88
|
+
primeInputOtp: {
|
|
89
|
+
type: "primeInputOtp";
|
|
90
|
+
};
|
|
91
|
+
primeOutputText: {
|
|
92
|
+
type: "primeOutputText";
|
|
93
|
+
};
|
|
94
|
+
primeOutputLink: {
|
|
95
|
+
type: "primeOutputLink";
|
|
96
|
+
};
|
|
97
|
+
primeOutputReference: {
|
|
98
|
+
type: "primeOutputReference";
|
|
99
|
+
};
|
|
100
|
+
primeOutputNumber: {
|
|
101
|
+
type: "primeOutputNumber";
|
|
102
|
+
};
|
|
103
|
+
primeOutputDate: {
|
|
104
|
+
type: "primeOutputDate";
|
|
105
|
+
};
|
|
106
|
+
primeOutputBoolean: {
|
|
107
|
+
type: "primeOutputBoolean";
|
|
108
|
+
};
|
|
109
|
+
primeOutputDuration: {
|
|
110
|
+
type: "primeOutputDuration";
|
|
111
|
+
};
|
|
112
|
+
primeOutputList: {
|
|
113
|
+
type: "primeOutputList";
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
interface FormKitInputSlots<Props extends FormKitInputs<Props>> {
|
|
117
|
+
primeAutoComplete: MergeSlots<FormKitBaseSlots<Props>, AutoCompleteSlots>;
|
|
118
|
+
primeCascadeSelect: MergeSlots<FormKitBaseSlots<Props>, CascadeSelectSlots>;
|
|
119
|
+
primeCheckbox: MergeSlots<FormKitBaseSlots<Props>, CheckboxSlots>;
|
|
120
|
+
primeColorPicker: MergeSlots<FormKitBaseSlots<Props>, ColorPickerSlots>;
|
|
121
|
+
primeDatePicker: MergeSlots<FormKitBaseSlots<Props>, DatePickerSlots>;
|
|
122
|
+
primeInputMask: MergeSlots<FormKitBaseSlots<Props>, InputMaskSlots>;
|
|
123
|
+
primeInputNumber: MergeSlots<FormKitBaseSlots<Props>, InputNumberSlots>;
|
|
124
|
+
primeInputOtp: MergeSlots<FormKitBaseSlots<Props>, InputOtpSlots>;
|
|
125
|
+
primeInputText: MergeSlots<FormKitBaseSlots<Props>, InputTextSlots>;
|
|
126
|
+
primeKnob: MergeSlots<FormKitBaseSlots<Props>, KnobSlots>;
|
|
127
|
+
primeListbox: MergeSlots<FormKitBaseSlots<Props>, ListboxSlots>;
|
|
128
|
+
primeMultiSelect: MergeSlots<FormKitBaseSlots<Props>, MultiSelectSlots>;
|
|
129
|
+
primeOutputBoolean: FormKitBaseSlots<Props>;
|
|
130
|
+
primeOutputDate: FormKitBaseSlots<Props>;
|
|
131
|
+
primeOutputDuration: FormKitBaseSlots<Props>;
|
|
132
|
+
primeOutputLink: FormKitBaseSlots<Props>;
|
|
133
|
+
primeOutputList: FormKitBaseSlots<Props>;
|
|
134
|
+
primeOutputNumber: FormKitBaseSlots<Props>;
|
|
135
|
+
primeOutputReference: FormKitBaseSlots<Props>;
|
|
136
|
+
primeOutputText: FormKitBaseSlots<Props>;
|
|
137
|
+
primePassword: MergeSlots<FormKitBaseSlots<Props>, PasswordSlots>;
|
|
138
|
+
primeRadioButton: MergeSlots<FormKitBaseSlots<Props>, RadioButtonSlots>;
|
|
139
|
+
primeRating: MergeSlots<FormKitBaseSlots<Props>, RatingSlots>;
|
|
140
|
+
primeSelect: MergeSlots<FormKitBaseSlots<Props>, SelectSlots>;
|
|
141
|
+
primeSelectButton: MergeSlots<FormKitBaseSlots<Props>, SelectButtonSlots>;
|
|
142
|
+
primeSlider: MergeSlots<FormKitBaseSlots<Props>, SliderSlots>;
|
|
143
|
+
primeTextarea: MergeSlots<FormKitBaseSlots<Props>, TextareaSlots>;
|
|
144
|
+
primeToggleButton: MergeSlots<FormKitBaseSlots<Props>, ToggleButtonSlots>;
|
|
145
|
+
primeToggleSwitch: MergeSlots<FormKitBaseSlots<Props>, ToggleSwitchSlots>;
|
|
146
|
+
primeTreeSelect: MergeSlots<FormKitBaseSlots<Props>, TreeSelectSlots>;
|
|
147
|
+
}
|
|
149
148
|
}
|
|
150
|
-
//#endregion
|
|
151
|
-
export { _default as FormKitDataEdit, _default$1 as FormKitDataView, primeInputs, primeOutputs, useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "FormKitDataEdit", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _index.FormKitDataEdit;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "FormKitDataView", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _index.FormKitDataView;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "primeInputs", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _index3.primeInputs;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "primeOutputs", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _index3.primeOutputs;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "useFormKitRepeater", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _index2.useFormKitRepeater;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "useFormKitSchema", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _index2.useFormKitSchema;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "useInputEditor", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _index2.useInputEditor;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "useInputEditorSchema", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _index2.useInputEditorSchema;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "usePrimeInputs", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _index2.usePrimeInputs;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
var _index = require("./components/index.ts");
|
|
61
|
+
var _index2 = require("./composables/index.ts");
|
|
62
|
+
var _index3 = require("./definitions/index.ts");
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormKitDataEdit, FormKitDataView } from "./components/index.ts";
|
|
2
|
+
import {
|
|
3
|
+
useFormKitRepeater,
|
|
4
|
+
useFormKitSchema,
|
|
5
|
+
useInputEditor,
|
|
6
|
+
useInputEditorSchema,
|
|
7
|
+
usePrimeInputs
|
|
8
|
+
} from "./composables/index.ts";
|
|
9
|
+
import { primeInputs, primeOutputs } from "./definitions/index.ts";
|
|
10
|
+
export {
|
|
11
|
+
FormKitDataEdit,
|
|
12
|
+
FormKitDataView,
|
|
13
|
+
primeInputs,
|
|
14
|
+
primeOutputs,
|
|
15
|
+
useFormKitRepeater,
|
|
16
|
+
useFormKitSchema,
|
|
17
|
+
useInputEditor,
|
|
18
|
+
useInputEditorSchema,
|
|
19
|
+
usePrimeInputs
|
|
20
|
+
};
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { FormKitNode } from "@formkit/core";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function addPrimeAsteriskPlugin(node: FormKitNode): void;
|
|
5
|
-
declare function addLabelPlugin(node: FormKitNode): void;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { addLabelPlugin, addPrimeAsteriskPlugin };
|
|
1
|
+
import type { FormKitNode } from "@formkit/core";
|
|
2
|
+
export declare function addPrimeAsteriskPlugin(node: FormKitNode): void;
|
|
3
|
+
export declare function addLabelPlugin(node: FormKitNode): void;
|