@sfxcode/formkit-primevue 1.0.9 → 1.1.1

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.
@@ -0,0 +1 @@
1
+ export * from './formkit/index'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
- "version": "1.0.9",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/sfxcode/formkit-primevue",
@@ -15,7 +15,8 @@
15
15
  "files": [
16
16
  "dist"
17
17
  ],
18
- "main": "./dist/formkit-primevue.umd.js",
18
+ "main": "dist/formkit-primevue",
19
+ "typings": "dist/index",
19
20
  "module": "./dist/formkit-primevue.es.js",
20
21
  "exports": {
21
22
  ".": {
@@ -32,6 +33,7 @@
32
33
  "require": "./dist/sass/formkit-primevue.scss"
33
34
  }
34
35
  },
36
+ "types": "./dist/index.d.ts",
35
37
  "dependencies": {
36
38
  "@formkit/i18n": "^0.16.5",
37
39
  "@formkit/vue": "^0.16.5",
@@ -40,7 +42,7 @@
40
42
  },
41
43
  "devDependencies": {
42
44
  "@antfu/eslint-config": "^0.38.5",
43
- "@types/node": "^18.16.1",
45
+ "@types/node": "^18.16.2",
44
46
  "@unocss/preset-icons": "^0.51.8",
45
47
  "@unocss/preset-uno": "0.51.8",
46
48
  "@vitejs/plugin-vue": "^4.2.1",
@@ -52,7 +54,7 @@
52
54
  "@vuedx/typescript-plugin-vue": "~0.7.6",
53
55
  "@vueuse/core": "^10.1.0",
54
56
  "@vueuse/head": "^1.1.26",
55
- "chart.js": "^4.2.1",
57
+ "chart.js": "^4.3.0",
56
58
  "consola": "^3.1.0",
57
59
  "conventional-changelog-cli": "^2.2.2",
58
60
  "eslint": "^8.39.0",
@@ -73,7 +75,7 @@
73
75
  "vue": "^3.2.47",
74
76
  "vue-demi": "^0.14.0",
75
77
  "vue-router": "^4.1.6",
76
- "vue-tsc": "^1.4.4"
78
+ "vue-tsc": "^1.6.1"
77
79
  },
78
80
  "scripts": {
79
81
  "dev": "vite",
@@ -1,156 +0,0 @@
1
- [
2
- {
3
- "$el": "h1",
4
- "children": [
5
- "Register New ",
6
- "$myGroup.email"
7
- ]
8
- },
9
- {
10
- "$el": "h3",
11
- "children": [
12
- "Header Text H3"
13
- ]
14
- },
15
- {
16
- "$formkit": "group",
17
- "name": "myGroup",
18
- "children": [
19
- {
20
- "$formkit": "primeInputText",
21
- "name": "email",
22
- "label": "Email",
23
- "help": "This will be used for your account.",
24
- "validation": "required|email",
25
- "class": "test"
26
- },
27
- {
28
- "$formkit": "primeTextarea",
29
- "name": "myText",
30
- "label": "Text",
31
- "validation": "",
32
- "rows": "5",
33
- "class": "test"
34
- }
35
- ]
36
- },
37
- {
38
- "$formkit": "primeEditor",
39
- "name": "myEditor",
40
- "label": "Editor",
41
- "validation": "",
42
- "class": "test"
43
- },
44
- {
45
- "$formkit": "primeCalendar",
46
- "name": "myCalendar",
47
- "label": "Calendar",
48
- "validation": "",
49
- "class": "test",
50
- "dateFormat": "dd.mm.yy",
51
- "showIcon": true
52
- },
53
- {
54
- "$el": "div",
55
- "attrs": {
56
- "class": "double"
57
- },
58
- "children": [
59
- {
60
- "$formkit": "primeInputText",
61
- "name": "password",
62
- "label": "Password",
63
- "help": "Enter your new password.",
64
- "validation": "required|length:5,16",
65
- "validationVisibility": "live",
66
- "class": "test"
67
- },
68
- {
69
- "$formkit": "primePassword",
70
- "name": "password_confirm",
71
- "label": "Confirm password",
72
- "toggleMask": true,
73
- "feedback": false,
74
- "help": "Enter your new password again to confirm it.",
75
- "validation": "required|confirm",
76
- "validationLabel": "password confirmation",
77
- "class": "test"
78
- }
79
- ]
80
- },
81
- {
82
- "$formkit": "primeCheckBox",
83
- "name": "eu_citizen",
84
- "id": "eu",
85
- "label": "Are you a european citizen?",
86
- "class": "test",
87
- "labelLeft": "Left Label: ",
88
- "labelRight": "Right Label"
89
- },
90
- {
91
- "$formkit": "primeInputSwitch",
92
- "name": "primeInputSwitch",
93
- "id": "primeInputSwitch",
94
- "labelLeft": "Left Label: ",
95
- "labelRight": "Right Label"
96
- },
97
- {
98
- "$formkit": "primeSlider",
99
- "name": "slider",
100
- "label": "Use Slider",
101
- "min": 5,
102
- "step": 5,
103
- "value": 10
104
- },
105
- {
106
- "$formkit": "primeDropdown",
107
- "if": "$eu_citizen",
108
- "name": "cookie_notice",
109
- "label": "Cookie notice frequency",
110
- "value": "hourly",
111
- "options":[
112
- {
113
- "label": "Every page load",
114
- "value": "refresh"
115
- },
116
- {
117
- "label": "Ever hour",
118
- "value": "hourly"
119
- },
120
- {
121
- "label": "Every day",
122
- "value": "daily"
123
- }
124
- ],
125
- "showClear": false,
126
- "filter": false,
127
- "help": "How often should we display a cookie notice?",
128
- "class": "test"
129
- },
130
- {
131
- "$formkit": "primeMultiSelect",
132
- "name": "cookie_notice2",
133
- "label": "Cookie notice frequency",
134
- "value": [
135
- "hourly"
136
- ],
137
- "options": [
138
- {
139
- "label": "Every page load",
140
- "value": "refresh"
141
- },
142
- {
143
- "label": "Ever hour",
144
- "value": "hourly"
145
- },
146
- {
147
- "label": "Every Single day",
148
- "value": "daily"
149
- }
150
- ],
151
- "showClear": true,
152
- "filter": true,
153
- "help": "How often should we display a cookie notice?",
154
- "class": "test"
155
- }
156
- ]