3h1-ui 2.1.34 → 2.1.35
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/es/index.js +10 -10
- package/index.ts +27 -0
- package/lib/index.js +10 -10
- package/package.json +4 -5
package/es/index.js
CHANGED
|
@@ -20204,16 +20204,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20204
20204
|
setPage({ current, pageSize });
|
|
20205
20205
|
reload();
|
|
20206
20206
|
};
|
|
20207
|
-
computed(() => {
|
|
20207
|
+
const getFormConfig = computed(() => {
|
|
20208
|
+
console.log({ ...getProps.value.formConfig });
|
|
20208
20209
|
return {
|
|
20209
20210
|
...getProps.value.formConfig,
|
|
20210
20211
|
showAdvancedButton: true
|
|
20211
20212
|
};
|
|
20212
20213
|
});
|
|
20213
|
-
const [registerForm, formActions] = useForm(
|
|
20214
|
-
...props2.formConfig,
|
|
20215
|
-
showAdvancedButton: true
|
|
20216
|
-
});
|
|
20214
|
+
const [registerForm, formActions] = useForm();
|
|
20217
20215
|
const formSearch = ref({});
|
|
20218
20216
|
const handleSearchFormSubmit = (form) => {
|
|
20219
20217
|
formSearch.value = getProps.value.transSearchInfoBeforeReload(form);
|
|
@@ -20280,11 +20278,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20280
20278
|
key: 0,
|
|
20281
20279
|
class: normalizeClass(getClassName("search"))
|
|
20282
20280
|
}, [
|
|
20283
|
-
createVNode(unref(BasicForm), {
|
|
20281
|
+
createVNode(unref(BasicForm), mergeProps(unref(getFormConfig), {
|
|
20284
20282
|
onRegister: unref(registerForm),
|
|
20285
20283
|
onSubmit: handleSearchFormSubmit,
|
|
20286
|
-
onReset: handleSearchFormSubmit
|
|
20287
|
-
|
|
20284
|
+
onReset: handleSearchFormSubmit,
|
|
20285
|
+
onAdvancedChange: _cache[0] || (_cache[0] = () => {
|
|
20286
|
+
})
|
|
20287
|
+
}), null, 16, ["onRegister"])
|
|
20288
20288
|
], 2)) : createCommentVNode("", true),
|
|
20289
20289
|
unref(getProps).isShowToolbar ? (openBlock(), createElementBlock("div", {
|
|
20290
20290
|
key: 1,
|
|
@@ -20395,9 +20395,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20395
20395
|
size: "small",
|
|
20396
20396
|
total: unref(page).total,
|
|
20397
20397
|
current: unref(page).current,
|
|
20398
|
-
"onUpdate:current": _cache[
|
|
20398
|
+
"onUpdate:current": _cache[1] || (_cache[1] = ($event) => unref(page).current = $event),
|
|
20399
20399
|
"page-size": unref(page).pageSize,
|
|
20400
|
-
"onUpdate:page-size": _cache[
|
|
20400
|
+
"onUpdate:page-size": _cache[2] || (_cache[2] = ($event) => unref(page).pageSize = $event),
|
|
20401
20401
|
pageSizeOptions: unref(page).pageSizeOptions,
|
|
20402
20402
|
"show-size-changer": "",
|
|
20403
20403
|
"show-quick-jumper": "",
|
package/index.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import 'virtual:windi-base.css'
|
|
2
|
+
import 'virtual:windi-components.css'
|
|
3
|
+
import 'virtual:windi-utilities.css'
|
|
4
|
+
import 'ant-design-vue/dist/antd.min.css'
|
|
5
|
+
|
|
6
|
+
export * from './src/Form'
|
|
7
|
+
export * from './src/Container'
|
|
8
|
+
export * from './src/Table'
|
|
9
|
+
export * from './src/Modal'
|
|
10
|
+
export * from './src/Page'
|
|
11
|
+
export * from './src/Description'
|
|
12
|
+
export * from './src/Scrollbar'
|
|
13
|
+
// export * from './src/FlowChart'
|
|
14
|
+
export * from './src/Dropdown'
|
|
15
|
+
export * from './src/Drawer'
|
|
16
|
+
export * from './src/Cropper'
|
|
17
|
+
export * from './src/CountTo'
|
|
18
|
+
export * from './src/CountDown'
|
|
19
|
+
export * from './src/Container'
|
|
20
|
+
export * from './src/ClickOutSide'
|
|
21
|
+
export * from './src/Button'
|
|
22
|
+
export * from './src/Basic'
|
|
23
|
+
export * from './src/Tree'
|
|
24
|
+
export * from './src/Icon'
|
|
25
|
+
export * from './src/Loading'
|
|
26
|
+
export * from './src/StrengthMeter'
|
|
27
|
+
export * from './src/TablePlus'
|
package/lib/index.js
CHANGED
|
@@ -20206,16 +20206,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20206
20206
|
setPage({ current, pageSize });
|
|
20207
20207
|
reload();
|
|
20208
20208
|
};
|
|
20209
|
-
vue.computed(() => {
|
|
20209
|
+
const getFormConfig = vue.computed(() => {
|
|
20210
|
+
console.log({ ...getProps.value.formConfig });
|
|
20210
20211
|
return {
|
|
20211
20212
|
...getProps.value.formConfig,
|
|
20212
20213
|
showAdvancedButton: true
|
|
20213
20214
|
};
|
|
20214
20215
|
});
|
|
20215
|
-
const [registerForm, formActions] = useForm(
|
|
20216
|
-
...props2.formConfig,
|
|
20217
|
-
showAdvancedButton: true
|
|
20218
|
-
});
|
|
20216
|
+
const [registerForm, formActions] = useForm();
|
|
20219
20217
|
const formSearch = vue.ref({});
|
|
20220
20218
|
const handleSearchFormSubmit = (form) => {
|
|
20221
20219
|
formSearch.value = getProps.value.transSearchInfoBeforeReload(form);
|
|
@@ -20282,11 +20280,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20282
20280
|
key: 0,
|
|
20283
20281
|
class: vue.normalizeClass(getClassName("search"))
|
|
20284
20282
|
}, [
|
|
20285
|
-
vue.createVNode(vue.unref(BasicForm), {
|
|
20283
|
+
vue.createVNode(vue.unref(BasicForm), vue.mergeProps(vue.unref(getFormConfig), {
|
|
20286
20284
|
onRegister: vue.unref(registerForm),
|
|
20287
20285
|
onSubmit: handleSearchFormSubmit,
|
|
20288
|
-
onReset: handleSearchFormSubmit
|
|
20289
|
-
|
|
20286
|
+
onReset: handleSearchFormSubmit,
|
|
20287
|
+
onAdvancedChange: _cache[0] || (_cache[0] = () => {
|
|
20288
|
+
})
|
|
20289
|
+
}), null, 16, ["onRegister"])
|
|
20290
20290
|
], 2)) : vue.createCommentVNode("", true),
|
|
20291
20291
|
vue.unref(getProps).isShowToolbar ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
20292
20292
|
key: 1,
|
|
@@ -20397,9 +20397,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20397
20397
|
size: "small",
|
|
20398
20398
|
total: vue.unref(page).total,
|
|
20399
20399
|
current: vue.unref(page).current,
|
|
20400
|
-
"onUpdate:current": _cache[
|
|
20400
|
+
"onUpdate:current": _cache[1] || (_cache[1] = ($event) => vue.unref(page).current = $event),
|
|
20401
20401
|
"page-size": vue.unref(page).pageSize,
|
|
20402
|
-
"onUpdate:page-size": _cache[
|
|
20402
|
+
"onUpdate:page-size": _cache[2] || (_cache[2] = ($event) => vue.unref(page).pageSize = $event),
|
|
20403
20403
|
pageSizeOptions: vue.unref(page).pageSizeOptions,
|
|
20404
20404
|
"show-size-changer": "",
|
|
20405
20405
|
"show-quick-jumper": "",
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.35",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "es/index.js",
|
|
5
|
+
"main": "index.ts",
|
|
7
6
|
"files": [
|
|
8
7
|
"es",
|
|
9
8
|
"lib"
|
|
@@ -31,8 +30,8 @@
|
|
|
31
30
|
"vue-types": "^5.0.2",
|
|
32
31
|
"vxe-table": "^4.3.6",
|
|
33
32
|
"xe-utils": "^3.5.7",
|
|
34
|
-
"@shy-plugins/
|
|
35
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/utils": "1.0.14",
|
|
34
|
+
"@shy-plugins/use": "1.0.3"
|
|
36
35
|
},
|
|
37
36
|
"types": "es/ui/index.d.ts",
|
|
38
37
|
"devDependencies": {
|