@silver-formily/element-plus 2.0.1 → 2.2.0
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.en-US.md +32 -0
- package/README.md +32 -35
- package/esm/__builtins__/index.mjs +15 -16
- package/esm/__builtins__/shared/index.mjs +11 -12
- package/esm/__builtins__/shared/transform-component.d.ts +2 -6
- package/esm/__builtins__/shared/transform-component.mjs +16 -33
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/utils.mjs +10 -10
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/array-base/index.mjs +58 -58
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-cards/index.mjs +44 -44
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-collapse/index.mjs +59 -58
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-items/index.mjs +46 -43
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-list-tabs/index.mjs +15 -14
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-table/array-table.d.ts +28 -0
- package/esm/array-table/index.d.ts +28 -0
- package/esm/array-table/index.mjs +113 -111
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/types.d.ts +1 -0
- package/esm/cascader/index.mjs +19 -20
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/checkbox-group.d.ts +1 -4
- package/esm/checkbox/index.d.ts +442 -379
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/editable/editable.d.ts +16 -12
- package/esm/editable/index.d.ts +8 -6
- package/esm/editable/index.mjs +110 -112
- package/esm/editable/index.mjs.map +1 -1
- package/esm/form-button-group/index.mjs +29 -28
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-collapse/index.mjs +42 -43
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-dialog/index.d.ts +1 -1
- package/esm/form-dialog/index.mjs +4 -4
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-dialog/types.d.ts +6 -6
- package/esm/form-drawer/index.d.ts +1 -1
- package/esm/form-drawer/index.mjs +4 -4
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-drawer/types.d.ts +6 -6
- package/esm/form-grid/index.d.ts +1 -183
- package/esm/form-grid/index.mjs +1 -1
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-item/form-item.d.ts +2 -1
- package/esm/form-item/index.d.ts +12 -6
- package/esm/form-item/index.mjs +163 -155
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/types.d.ts +0 -1
- package/esm/form-layout/form-layout.d.ts +0 -1
- package/esm/form-layout/form-layout.mjs +53 -52
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/types.d.ts +0 -2
- package/esm/form-layout/utils.d.ts +3 -3
- package/esm/form-layout/utils.mjs +48 -43
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/index.mjs +27 -25
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-tab/index.d.ts +1 -26
- package/esm/form-tab/index.mjs +30 -30
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.mjs +44 -38
- package/esm/index.mjs.map +1 -1
- package/esm/input/index.mjs.map +1 -1
- package/esm/input-number/index.d.ts +258 -147
- package/esm/pagination/pagination.mjs +109 -110
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/index.d.ts +5 -0
- package/esm/preview-text/index.mjs +165 -141
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/rate.d.ts +5 -0
- package/esm/preview-text/utils.d.ts +5 -5
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/radio/index.d.ts +344 -194
- package/esm/radio/index.mjs.map +1 -1
- package/esm/rate/index.d.ts +187 -0
- package/esm/rate/index.mjs +14 -0
- package/esm/rate/index.mjs.map +1 -0
- package/esm/reset/index.d.ts +1 -62
- package/esm/reset/index.mjs +1 -1
- package/esm/reset/index.mjs.map +1 -1
- package/esm/segmented/index.d.ts +26 -0
- package/esm/segmented/index.mjs +37 -0
- package/esm/segmented/index.mjs.map +1 -0
- package/esm/segmented/segmented.d.ts +25 -0
- package/esm/select/index.mjs +8 -8
- package/esm/select/index.mjs.map +1 -1
- package/esm/select-table/index.d.ts +28 -0
- package/esm/select-table/index.mjs +48 -47
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/select-table/select-table.d.ts +56 -0
- package/esm/slider/index.d.ts +177 -0
- package/esm/slider/index.mjs +14 -0
- package/esm/slider/index.mjs.map +1 -0
- package/esm/submit/index.d.ts +1 -47
- package/esm/submit/index.mjs +1 -1
- package/esm/submit/index.mjs.map +1 -1
- package/esm/switch/index.d.ts +225 -189
- package/esm/time-select/index.d.ts +163 -103
- package/esm/transfer/index.d.ts +196 -115
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.mjs +26 -26
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/upload/index.d.ts +404 -399
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.d.ts +800 -790
- package/esm/vendor/icon.mjs.map +1 -1
- package/esm/vendor/lodash.mjs +12 -20
- package/esm/vendor/lodash.mjs.map +1 -1
- package/esm/vendor/runtime.mjs +29 -24
- package/esm/vendor/runtime.mjs.map +1 -1
- package/esm/vendor/shared.esm-bundler.mjs +2 -2
- package/esm/vendor/sizes.mjs.map +1 -1
- package/esm/vendor/types.mjs +5 -5
- package/esm/vendor/types.mjs.map +1 -1
- package/package.json +8 -9
package/esm/vendor/runtime.mjs
CHANGED
|
@@ -1,35 +1,40 @@
|
|
|
1
|
-
import { warn as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { warn as P } from "vue";
|
|
2
|
+
import { a as f, h as u } from "./shared.esm-bundler.mjs";
|
|
3
|
+
function h(e) {
|
|
4
|
+
for (var t = -1, r = e == null ? 0 : e.length, l = {}; ++t < r; ) {
|
|
5
|
+
var a = e[t];
|
|
6
|
+
l[a[0]] = a[1];
|
|
7
|
+
}
|
|
8
|
+
return l;
|
|
9
|
+
}
|
|
10
|
+
const c = "__epPropKey", x = (e) => e, g = (e) => f(e) && !!e[c], w = (e, t) => {
|
|
11
|
+
if (!f(e) || g(e)) return e;
|
|
12
|
+
const { values: r, required: l, default: a, type: p, validator: n } = e, d = {
|
|
13
|
+
type: p,
|
|
14
|
+
required: !!l,
|
|
15
|
+
validator: r || n ? (s) => {
|
|
16
|
+
let o = !1, i = [];
|
|
17
|
+
if (r && (i = Array.from(r), u(e, "default") && i.push(a), o || (o = i.includes(s))), n && (o || (o = n(s))), !o && i.length > 0) {
|
|
18
|
+
const v = [...new Set(i)].map((m) => JSON.stringify(m)).join(", ");
|
|
19
|
+
P(
|
|
20
|
+
`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${v}], got value ${JSON.stringify(
|
|
16
21
|
s
|
|
17
22
|
)}.`
|
|
18
23
|
);
|
|
19
24
|
}
|
|
20
|
-
return
|
|
25
|
+
return o;
|
|
21
26
|
} : void 0,
|
|
22
|
-
[
|
|
27
|
+
[c]: !0
|
|
23
28
|
};
|
|
24
|
-
return
|
|
25
|
-
},
|
|
26
|
-
Object.entries(e).map(([
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
return u(e, "default") && (d.default = a), d;
|
|
30
|
+
}, _ = (e) => h(
|
|
31
|
+
Object.entries(e).map(([t, r]) => [
|
|
32
|
+
t,
|
|
33
|
+
w(r, t)
|
|
29
34
|
])
|
|
30
35
|
);
|
|
31
36
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
_ as b,
|
|
38
|
+
x as d
|
|
34
39
|
};
|
|
35
40
|
//# sourceMappingURL=runtime.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.mjs","sources":["../../node_modules/.pnpm/element-plus@2.13.
|
|
1
|
+
{"version":3,"file":"runtime.mjs","sources":["../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/fromPairs.js","../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.22_typescript@5.9.3_/node_modules/element-plus/es/utils/vue/props/runtime.mjs"],"sourcesContent":["/**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n}\n\nexport default fromPairs;\n","import { warn } from 'vue';\nimport { fromPairs } from 'lodash-unified';\nimport { isObject, hasOwn } from '@vue/shared';\n\nconst epPropKey = \"__epPropKey\";\nconst definePropType = (val) => val;\nconst isEpProp = (val) => isObject(val) && !!val[epPropKey];\nconst buildProp = (prop, key) => {\n if (!isObject(prop) || isEpProp(prop)) return prop;\n const { values, required, default: defaultValue, type, validator } = prop;\n const _validator = values || validator ? (val) => {\n let valid = false;\n let allowedValues = [];\n if (values) {\n allowedValues = Array.from(values);\n if (hasOwn(prop, \"default\")) {\n allowedValues.push(defaultValue);\n }\n valid || (valid = allowedValues.includes(val));\n }\n if (validator) valid || (valid = validator(val));\n if (!valid && allowedValues.length > 0) {\n const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(\", \");\n warn(\n `Invalid prop: validation failed${key ? ` for prop \"${key}\"` : \"\"}. Expected one of [${allowValuesText}], got value ${JSON.stringify(\n val\n )}.`\n );\n }\n return valid;\n } : void 0;\n const epProp = {\n type,\n required: !!required,\n validator: _validator,\n [epPropKey]: true\n };\n if (hasOwn(prop, \"default\")) epProp.default = defaultValue;\n return epProp;\n};\nconst buildProps = (props) => fromPairs(\n Object.entries(props).map(([key, option]) => [\n key,\n buildProp(option, key)\n ])\n);\n\nexport { buildProp, buildProps, definePropType, epPropKey, isEpProp };\n//# sourceMappingURL=runtime.mjs.map\n"],"names":["fromPairs","pairs","index","length","result","pair","epPropKey","definePropType","val","isEpProp","isObject","buildProp","prop","key","values","required","defaultValue","type","validator","epProp","valid","allowedValues","hasOwn","allowValuesText","value","warn","buildProps","props","option"],"mappings":";;AAeA,SAASA,EAAUC,GAAO;AAKxB,WAJIC,IAAQ,IACRC,IAASF,KAAS,OAAO,IAAIA,EAAM,QACnCG,IAAS,CAAA,GAEN,EAAEF,IAAQC,KAAQ;AACvB,QAAIE,IAAOJ,EAAMC,CAAK;AACtB,IAAAE,EAAOC,EAAK,CAAC,CAAC,IAAIA,EAAK,CAAC;AAAA,EAC1B;AACA,SAAOD;AACT;ACrBA,MAAME,IAAY,eACZC,IAAiB,CAACC,MAAQA,GAC1BC,IAAW,CAACD,MAAQE,EAASF,CAAG,KAAK,CAAC,CAACA,EAAIF,CAAS,GACpDK,IAAY,CAACC,GAAMC,MAAQ;AAC/B,MAAI,CAACH,EAASE,CAAI,KAAKH,EAASG,CAAI,EAAG,QAAOA;AAC9C,QAAM,EAAE,QAAAE,GAAQ,UAAAC,GAAU,SAASC,GAAc,MAAAC,GAAM,WAAAC,EAAS,IAAKN,GAsB/DO,IAAS;AAAA,IACb,MAAAF;AAAA,IACA,UAAU,CAAC,CAACF;AAAA,IACZ,WAxBiBD,KAAUI,IAAY,CAACV,MAAQ;AAChD,UAAIY,IAAQ,IACRC,IAAgB,CAAA;AASpB,UARIP,MACFO,IAAgB,MAAM,KAAKP,CAAM,GAC7BQ,EAAOV,GAAM,SAAS,KACxBS,EAAc,KAAKL,CAAY,GAEjCI,MAAUA,IAAQC,EAAc,SAASb,CAAG,KAE1CU,MAAWE,MAAUA,IAAQF,EAAUV,CAAG,KAC1C,CAACY,KAASC,EAAc,SAAS,GAAG;AACtC,cAAME,IAAkB,CAAC,GAAG,IAAI,IAAIF,CAAa,CAAC,EAAE,IAAI,CAACG,MAAU,KAAK,UAAUA,CAAK,CAAC,EAAE,KAAK,IAAI;AACnG,QAAAC;AAAA,UACE,kCAAkCZ,IAAM,cAAcA,CAAG,MAAM,EAAE,sBAAsBU,CAAe,gBAAgB,KAAK;AAAA,YACzHf;AAAA,UACV,CAAS;AAAA,QACT;AAAA,MACI;AACA,aAAOY;AAAA,IACT,IAAI;AAAA,IAKF,CAACd,CAAS,GAAG;AAAA,EACjB;AACE,SAAIgB,EAAOV,GAAM,SAAS,MAAGO,EAAO,UAAUH,IACvCG;AACT,GACMO,IAAa,CAACC,MAAU3B;AAAA,EAC5B,OAAO,QAAQ2B,CAAK,EAAE,IAAI,CAAC,CAACd,GAAKe,CAAM,MAAM;AAAA,IAC3Cf;AAAA,IACAF,EAAUiB,GAAQf,CAAG;AAAA,EACzB,CAAG;AACH;","x_google_ignoreList":[0,1]}
|
|
@@ -7,8 +7,8 @@ process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
|
7
7
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
8
8
|
const o = Object.prototype.hasOwnProperty, s = (e, t) => o.call(e, t), c = (e) => typeof e == "string", n = (e) => e !== null && typeof e == "object";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
n as a,
|
|
11
11
|
s as h,
|
|
12
|
-
|
|
12
|
+
c as i
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=shared.esm-bundler.mjs.map
|
package/esm/vendor/sizes.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.mjs","sources":["../../node_modules/.pnpm/element-plus@2.13.
|
|
1
|
+
{"version":3,"file":"sizes.mjs","sources":["../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.22_typescript@5.9.3_/node_modules/element-plus/es/utils/typescript.mjs","../../src/pagination/components/sizes.ts"],"sourcesContent":["const mutable = (val) => val;\n\nexport { mutable };\n//# sourceMappingURL=typescript.mjs.map\n","import type { ExtractPropTypes } from 'vue'\r\nimport type Sizes from './sizes.vue'\r\nimport { componentSizes } from 'element-plus'\r\nimport { buildProps, definePropType, mutable } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationSizesProps = buildProps({\r\n pageSize: {\r\n type: Number,\r\n required: true,\r\n },\r\n pageSizes: {\r\n type: definePropType<number[]>(Array),\r\n default: () => mutable([10, 20, 30, 40, 50, 100] as const),\r\n },\r\n popperClass: {\r\n type: String,\r\n },\r\n disabled: Boolean,\r\n teleported: Boolean,\r\n size: {\r\n type: String,\r\n values: componentSizes,\r\n },\r\n appendSizeTo: String,\r\n} as const)\r\n\r\nexport type PaginationSizesProps = ExtractPropTypes<typeof paginationSizesProps>\r\n\r\nexport type SizesInstance = InstanceType<typeof Sizes> & unknown\r\n"],"names":["mutable","val","paginationSizesProps","buildProps","definePropType","componentSizes"],"mappings":";;AAAK,MAACA,IAAU,CAACC,MAAQA,GCKZC,IAAuBC,EAAW;AAAA,EAC7C,UAAU;AAAA,IACR,MAAM;AAAA,IACN,UAAU;AAAA,EAAA;AAAA,EAEZ,WAAW;AAAA,IACT,MAAMC,EAAyB,KAAK;AAAA,IACpC,SAAS,MAAMJ,EAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,CAAU;AAAA,EAAA;AAAA,EAE3D,aAAa;AAAA,IACX,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQK;AAAA,EAAA;AAAA,EAEV,cAAc;AAChB,CAAU;","x_google_ignoreList":[0]}
|
package/esm/vendor/types.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as n } from "./shared.esm-bundler.mjs";
|
|
2
2
|
class t extends Error {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
super(e), this.name = "ElementPlusError";
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function i(r, e) {
|
|
8
8
|
if (process.env.NODE_ENV !== "production") {
|
|
9
9
|
const s = n(r) ? new t(`[${r}] ${e}`) : r;
|
|
10
10
|
console.warn(s);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const u = (r) => typeof r == "number", a = (r) => n(r) ? !Number.isNaN(Number(r)) : !1;
|
|
14
14
|
export {
|
|
15
15
|
a,
|
|
16
|
-
|
|
17
|
-
i
|
|
16
|
+
i as d,
|
|
17
|
+
u as i
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=types.mjs.map
|
package/esm/vendor/types.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../../node_modules/.pnpm/element-plus@2.13.
|
|
1
|
+
{"version":3,"file":"types.mjs","sources":["../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.22_typescript@5.9.3_/node_modules/element-plus/es/utils/error.mjs","../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.22_typescript@5.9.3_/node_modules/element-plus/es/utils/types.mjs"],"sourcesContent":["import { isString } from '@vue/shared';\n\nclass ElementPlusError extends Error {\n constructor(m) {\n super(m);\n this.name = \"ElementPlusError\";\n }\n}\nfunction throwError(scope, m) {\n throw new ElementPlusError(`[${scope}] ${m}`);\n}\nfunction debugWarn(scope, message) {\n if (process.env.NODE_ENV !== \"production\") {\n const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;\n console.warn(error);\n }\n}\n\nexport { debugWarn, throwError };\n//# sourceMappingURL=error.mjs.map\n","import { isString, isArray, isObject } from '@vue/shared';\nexport { isArray, isDate, isFunction, isObject, isPlainObject, isPromise, isString, isSymbol } from '@vue/shared';\nimport { isNil } from 'lodash-unified';\n\nconst isUndefined = (val) => val === void 0;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isEmpty = (val) => !val && val !== 0 || isArray(val) && val.length === 0 || isObject(val) && !Object.keys(val).length;\nconst isElement = (e) => {\n if (typeof Element === \"undefined\") return false;\n return e instanceof Element;\n};\nconst isPropAbsent = (prop) => isNil(prop);\nconst isStringNumber = (val) => {\n if (!isString(val)) {\n return false;\n }\n return !Number.isNaN(Number(val));\n};\nconst isWindow = (val) => val === window;\n\nexport { isBoolean, isElement, isEmpty, isNumber, isPropAbsent, isStringNumber, isUndefined, isWindow };\n//# sourceMappingURL=types.mjs.map\n"],"names":["ElementPlusError","m","debugWarn","scope","message","error","isString","isNumber","val","isStringNumber"],"mappings":";AAEA,MAAMA,UAAyB,MAAM;AAAA,EACnC,YAAYC,GAAG;AACb,UAAMA,CAAC,GACP,KAAK,OAAO;AAAA,EACd;AACF;AAIA,SAASC,EAAUC,GAAOC,GAAS;AACjC,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,UAAMC,IAAQC,EAASH,CAAK,IAAI,IAAIH,EAAiB,IAAIG,CAAK,KAAKC,CAAO,EAAE,IAAID;AAChF,YAAQ,KAAKE,CAAK;AAAA,EACpB;AACF;ACVK,MAACE,IAAW,CAACC,MAAQ,OAAOA,KAAQ,UAOnCC,IAAiB,CAACD,MACjBF,EAASE,CAAG,IAGV,CAAC,OAAO,MAAM,OAAOA,CAAG,CAAC,IAFvB;","x_google_ignoreList":[0,1]}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silver-formily/element-plus",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "Formily 的 Element Plus 封装",
|
|
6
6
|
"author": "hezhengxu",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://element-plus.silver-formily.org/",
|
|
9
9
|
"sideEffects": [
|
|
10
10
|
"**/*.css"
|
|
11
11
|
],
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"commit": "czg",
|
|
28
28
|
"lint-staged": "lint-staged",
|
|
29
29
|
"release": "release-it",
|
|
30
|
+
"prepublishOnly": "pnpm run build",
|
|
30
31
|
"postinstall": "husky"
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
@@ -34,9 +35,9 @@
|
|
|
34
35
|
"@formily/grid": "^2.0.8",
|
|
35
36
|
"@formily/json-schema": "^2.0.8",
|
|
36
37
|
"@formily/reactive": "^2.0.8",
|
|
37
|
-
"@formily/reactive-vue": "^2.0.8",
|
|
38
38
|
"@formily/shared": "^2.0.8",
|
|
39
|
-
"@silver-formily/vue": "^
|
|
39
|
+
"@silver-formily/reactive-vue": "^1",
|
|
40
|
+
"@silver-formily/vue": "^2.2.1",
|
|
40
41
|
"element-plus": "^2.1.8",
|
|
41
42
|
"vue": "^3.3.0"
|
|
42
43
|
},
|
|
@@ -64,7 +65,6 @@
|
|
|
64
65
|
"@vitest/coverage-istanbul": "^3.2.4",
|
|
65
66
|
"@vitest/ui": "^3.2.4",
|
|
66
67
|
"@vue/shared": "^3.5.22",
|
|
67
|
-
"@vueuse/core": "^13.9.0",
|
|
68
68
|
"baseline-browser-mapping": "^2.9.11",
|
|
69
69
|
"cz-git": "^1.12.0",
|
|
70
70
|
"czg": "^1.12.0",
|
|
@@ -90,15 +90,14 @@
|
|
|
90
90
|
"unocss": "^66.5.2",
|
|
91
91
|
"unplugin-icons": "^22.4.2",
|
|
92
92
|
"unplugin-vue-components": "^28.8.0",
|
|
93
|
-
"unplugin-vue-macros": "^2.14.5",
|
|
94
93
|
"vite": "^7.0.0",
|
|
95
94
|
"vite-plugin-dts": "^4.5.4",
|
|
96
95
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
97
96
|
"vitepress": "2.0.0-alpha.12",
|
|
98
|
-
"vitepress-better-demo-plugin": "^0.6.
|
|
97
|
+
"vitepress-better-demo-plugin": "^0.6.2",
|
|
99
98
|
"vitepress-plugin-group-icons": "^1.6.5",
|
|
100
|
-
"vitepress-plugin-nprogress": "^0.
|
|
101
|
-
"vitepress-theme-element-plus": "^1.1
|
|
99
|
+
"vitepress-plugin-nprogress": "^0.1.1",
|
|
100
|
+
"vitepress-theme-element-plus": "^1.3.1",
|
|
102
101
|
"vitest": "^3.2.4",
|
|
103
102
|
"vitest-browser-vue": "^0.2.0",
|
|
104
103
|
"vue-eslint-parser": "^10.2.0"
|