@lingshugroup/web-plus 1.7.8 → 1.7.9
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/lib/cmaps/78-EUC-H.bcmap +0 -0
- package/lib/cmaps/78-EUC-V.bcmap +0 -0
- package/lib/cmaps/78-H.bcmap +0 -0
- package/lib/cmaps/78-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/78-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/78-V.bcmap +0 -0
- package/lib/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Add-H.bcmap +0 -0
- package/lib/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Add-V.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/lib/cmaps/B5-H.bcmap +0 -0
- package/lib/cmaps/B5-V.bcmap +0 -0
- package/lib/cmaps/B5pc-H.bcmap +0 -0
- package/lib/cmaps/B5pc-V.bcmap +0 -0
- package/lib/cmaps/CNS-EUC-H.bcmap +0 -0
- package/lib/cmaps/CNS-EUC-V.bcmap +0 -0
- package/lib/cmaps/CNS1-H.bcmap +0 -0
- package/lib/cmaps/CNS1-V.bcmap +0 -0
- package/lib/cmaps/CNS2-H.bcmap +0 -0
- package/lib/cmaps/CNS2-V.bcmap +3 -0
- package/lib/cmaps/ETHK-B5-H.bcmap +0 -0
- package/lib/cmaps/ETHK-B5-V.bcmap +0 -0
- package/lib/cmaps/ETen-B5-H.bcmap +0 -0
- package/lib/cmaps/ETen-B5-V.bcmap +0 -0
- package/lib/cmaps/ETenms-B5-H.bcmap +3 -0
- package/lib/cmaps/ETenms-B5-V.bcmap +0 -0
- package/lib/cmaps/EUC-H.bcmap +0 -0
- package/lib/cmaps/EUC-V.bcmap +0 -0
- package/lib/cmaps/Ext-H.bcmap +0 -0
- package/lib/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Ext-V.bcmap +0 -0
- package/lib/cmaps/GB-EUC-H.bcmap +0 -0
- package/lib/cmaps/GB-EUC-V.bcmap +0 -0
- package/lib/cmaps/GB-H.bcmap +4 -0
- package/lib/cmaps/GB-V.bcmap +0 -0
- package/lib/cmaps/GBK-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBK-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBK2K-H.bcmap +0 -0
- package/lib/cmaps/GBK2K-V.bcmap +0 -0
- package/lib/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBT-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBT-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBT-H.bcmap +0 -0
- package/lib/cmaps/GBT-V.bcmap +0 -0
- package/lib/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/H.bcmap +0 -0
- package/lib/cmaps/HKdla-B5-H.bcmap +0 -0
- package/lib/cmaps/HKdla-B5-V.bcmap +0 -0
- package/lib/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/lib/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/lib/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/lib/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/lib/cmaps/HKm314-B5-H.bcmap +0 -0
- package/lib/cmaps/HKm314-B5-V.bcmap +0 -0
- package/lib/cmaps/HKm471-B5-H.bcmap +0 -0
- package/lib/cmaps/HKm471-B5-V.bcmap +0 -0
- package/lib/cmaps/HKscs-B5-H.bcmap +0 -0
- package/lib/cmaps/HKscs-B5-V.bcmap +0 -0
- package/lib/cmaps/Hankaku.bcmap +0 -0
- package/lib/cmaps/Hiragana.bcmap +0 -0
- package/lib/cmaps/KSC-EUC-H.bcmap +0 -0
- package/lib/cmaps/KSC-EUC-V.bcmap +0 -0
- package/lib/cmaps/KSC-H.bcmap +0 -0
- package/lib/cmaps/KSC-Johab-H.bcmap +0 -0
- package/lib/cmaps/KSC-Johab-V.bcmap +0 -0
- package/lib/cmaps/KSC-V.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/lib/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/Katakana.bcmap +0 -0
- package/lib/cmaps/LICENSE +36 -0
- package/lib/cmaps/NWP-H.bcmap +0 -0
- package/lib/cmaps/NWP-V.bcmap +0 -0
- package/lib/cmaps/RKSJ-H.bcmap +0 -0
- package/lib/cmaps/RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Roman.bcmap +0 -0
- package/lib/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/V.bcmap +0 -0
- package/lib/cmaps/WP-Symbol.bcmap +0 -0
- package/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/packages/ls-components/components/form/Form.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/form/Form.vue/index.js +2 -2
- package/lib/packages/ls-components/components/form/Form.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/form/Form.vue/index2.js +71 -68
- package/lib/packages/ls-components/components/form/Form.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/form/Form.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/form/FormItem.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/form/FormItem.vue/index.js +2 -2
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js +296 -269
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/list/List.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index.js +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index2.js +188 -148
- package/lib/packages/ls-components/components/list/List.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/list/List.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/list/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/list/types/index.js +6 -6
- package/lib/packages/ls-components/components/list/types/index.js.br +0 -0
- package/lib/packages/ls-components/components/list/types/index.js.gz +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/menu/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js +10 -10
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js +33 -29
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.gz +0 -0
- package/lib/types/components/form/Form.vue.d.ts +1 -0
- package/lib/types/components/form/FormItem.vue.d.ts +96 -0
- package/lib/types/components/form/index.d.ts +97 -0
- package/lib/types/components/list/List.vue.d.ts +13 -12
- package/lib/types/components/list/index.d.ts +24 -24
- package/lib/types/components/list/types.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var t=(e,a)=>l(e,"name",{value:a,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_utils/runtime/index.cjs"),n=o.buildProps({listApi:{type:Function},dealParams:{type:Function},dealData:{type:Function},listHookConfig:{type:Object},delApi:{type:Function},dealDelParams:{type:Function},switchApi:{type:Function},dealSwitchParams:{type:Function},showForm:{type:Boolean,default:!0},formClass:{type:String,default:""},formData:{type:Object,default:t(()=>({}),"default")},formItems:{type:Array,default:t(()=>[],"default")},formAttrs:{type:Object,default:t(()=>{},"default")},queryFn:{type:Function},tableColumn:{type:Array,default:t(()=>[],"default")},tableRowKey:{type:String,default:"id"},tableAttrs:{type:Object,default:t(()=>{},"default")},tableListeners:{type:Object,default:t(()=>{},"default")},showOperate:{type:Boolean,default:!0},showOperateDivider:{type:Boolean,default:!0},operateClass:{type:String,default:""},showAdd:{type:Boolean,default:!0},disabledAddBtn:{type:Boolean,default:!1},addBtnText:{type:String,default:"添加"},addFn:{type:Function},addBtnAttrs:{type:Object,default:t(()=>{},"default")},showTableSwitch:{type:Boolean,default:!1},switchProp:{type:String,default:"status"},tableSwitchColumn:{type:Object,default:t(()=>{},"default")},disabledTableSwitch:{type:[Boolean,Function],default:!1},showTableOperate:{type:Boolean,default:!0},tableOperateColumn:{type:Object,default:t(()=>{},"default")},tableDetailFn:{type:Function},tableEditFn:{type:Function},showTableDetail:{type:[Boolean,Function],default:!0},disabledTableDetail:{type:[Boolean,Function],default:!1},showTableEdit:{type:[Boolean,Function],default:!0},disabledTableEdit:{type:[Boolean,Function],default:!1},showTableDel:{type:[Boolean,Function],default:!0},disabledTableDel:{type:[Boolean,Function],default:!1},addRoutePath:{type:String,default:""},detailRoutePath:{type:String,default:""},editRoutePath:{type:String,default:""},tableDetailText:{type:String,default:"查看"},tableEditText:{type:String,default:"编辑"},tableDelText:{type:String,default:"删除"},skeletonAttrs:{type:Object,default:t(()=>{},"default")},showSkeleton:{type:Boolean,default:!0},popconfirmTxt:{type:String,default:""}});exports.lsListProps=n;
|
|
1
|
+
"use strict";var l=Object.defineProperty;var t=(e,a)=>l(e,"name",{value:a,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_utils/runtime/index.cjs"),n=o.buildProps({listApi:{type:Function},dealParams:{type:Function},dealData:{type:Function},listHookConfig:{type:Object},delApi:{type:Function},dealDelParams:{type:Function},switchApi:{type:Function},dealSwitchParams:{type:Function},showForm:{type:Boolean,default:!0},formClass:{type:String,default:""},formData:{type:Object,default:t(()=>({}),"default")},formItems:{type:Array,default:t(()=>[],"default")},formAttrs:{type:Object,default:t(()=>{},"default")},queryFn:{type:Function},tableColumn:{type:Array,default:t(()=>[],"default")},tableRowKey:{type:String,default:"id"},tableAttrs:{type:Object,default:t(()=>{},"default")},tableListeners:{type:Object,default:t(()=>{},"default")},showOperate:{type:Boolean,default:!0},showOperateDivider:{type:Boolean,default:!0},operateClass:{type:String,default:""},showAdd:{type:Boolean,default:!0},disabledAddBtn:{type:Boolean,default:!1},addBtnText:{type:String,default:"添加"},addFn:{type:Function},addBtnAttrs:{type:Object,default:t(()=>{},"default")},showTableSwitch:{type:Boolean,default:!1},switchProp:{type:String,default:"status"},tableSwitchColumn:{type:Object,default:t(()=>{},"default")},disabledTableSwitch:{type:[Boolean,Function],default:!1},showTableOperate:{type:Boolean,default:!0},tableOperateColumn:{type:Object,default:t(()=>{},"default")},tableDetailFn:{type:Function},tableEditFn:{type:Function},showTableDetail:{type:[Boolean,Function],default:!0},disabledTableDetail:{type:[Boolean,Function],default:!1},showTableEdit:{type:[Boolean,Function],default:!0},disabledTableEdit:{type:[Boolean,Function],default:!1},showTableDel:{type:[Boolean,Function],default:!0},disabledTableDel:{type:[Boolean,Function],default:!1},addRoutePath:{type:String,default:""},detailRoutePath:{type:String,default:""},editRoutePath:{type:String,default:""},tableDetailText:{type:[String,Function],default:"查看"},tableEditText:{type:[String,Function],default:"编辑"},tableDelText:{type:[String,Function],default:"删除"},skeletonAttrs:{type:Object,default:t(()=>{},"default")},showSkeleton:{type:Boolean,default:!0},popconfirmTxt:{type:[String,Function],default:""}});exports.lsListProps=n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
2
|
var t = (e, a) => l(e, "name", { value: a, configurable: !0 });
|
|
3
3
|
import { buildProps as o } from "../../_utils/runtime/index.js";
|
|
4
|
-
const
|
|
4
|
+
const d = o({
|
|
5
5
|
// 列表api
|
|
6
6
|
listApi: {
|
|
7
7
|
type: Function
|
|
@@ -212,17 +212,17 @@ const u = o({
|
|
|
212
212
|
},
|
|
213
213
|
// 表格查看按钮文案
|
|
214
214
|
tableDetailText: {
|
|
215
|
-
type: String,
|
|
215
|
+
type: [String, Function],
|
|
216
216
|
default: "查看"
|
|
217
217
|
},
|
|
218
218
|
// 表格编辑按钮文案
|
|
219
219
|
tableEditText: {
|
|
220
|
-
type: String,
|
|
220
|
+
type: [String, Function],
|
|
221
221
|
default: "编辑"
|
|
222
222
|
},
|
|
223
223
|
// 表格删除按钮文案
|
|
224
224
|
tableDelText: {
|
|
225
|
-
type: String,
|
|
225
|
+
type: [String, Function],
|
|
226
226
|
default: "删除"
|
|
227
227
|
},
|
|
228
228
|
// 表格骨架屏配置
|
|
@@ -238,10 +238,10 @@ const u = o({
|
|
|
238
238
|
},
|
|
239
239
|
// popconfirm提示语
|
|
240
240
|
popconfirmTxt: {
|
|
241
|
-
type: String,
|
|
241
|
+
type: [String, Function],
|
|
242
242
|
default: ""
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
export {
|
|
246
|
-
|
|
246
|
+
d as lsListProps
|
|
247
247
|
};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const u=,/* empty css */t=u.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const u=,/* empty css */t=u.default(e.default,[["__scopeId","data-v-91989930"]]);exports.default=t;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-91989930"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var A=Object.defineProperty;var o=(c,l)=>A(c,"name",{value:l,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */;/* empty css */;/* empty css */const s=require("vue"),g=,/* empty css */h=,/* empty css */N=,/* empty css */B=,/* empty css */E=,/* empty css */D=,/* empty css */P=s.defineComponent({name:"LSMenu"}),I=s.defineComponent({...P,props:h.lsMenuProps,emits:h.lsEmitNames,setup(c,{expose:l,emit:y}){s.useCssVars(e=>({
|
|
1
|
+
"use strict";var A=Object.defineProperty;var o=(c,l)=>A(c,"name",{value:l,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */;/* empty css */;/* empty css */const s=require("vue"),g=,/* empty css */h=,/* empty css */N=,/* empty css */B=,/* empty css */E=,/* empty css */D=,/* empty css */P=s.defineComponent({name:"LSMenu"}),I=s.defineComponent({...P,props:h.lsMenuProps,emits:h.lsEmitNames,setup(c,{expose:l,emit:y}){s.useCssVars(e=>({fe62419e:e.hoverColor}));const{currentRouter:r}=N.default(),S=g.useNamespace("menu").b(),a=c,f=y,q=s.useAttrs();s.provide(E.lsMenuKey,{fontSize:a.fontSize});const C=s.ref(!1),_=s.ref(""),u=s.ref();s.watch(()=>a.permissionList,e=>{a.needPermission&&e&&e.length>0&&m()},{immediate:!0,deep:!0}),s.watch(()=>r.value,()=>{m()},{immediate:!0,deep:!0}),s.watch(()=>q["default-active"],async e=>{e&&(await s.nextTick(),d(e.toString()))},{immediate:!0,deep:!0});function m(){if(!C.value)return;const{meta:e}=(r==null?void 0:r.value)||{};_.value=(e==null?void 0:e.key)||"1"}o(m,"initMenuSider");function M(e){f("onJump",e)}o(M,"onJump");function L(e){const{key:i}=e;d(i),f("defineSubClick",e)}o(L,"defineSubClickFunc");function b(e){const{key:i}=e;d(i),f("defineChildClick",e)}o(b,"defineChildClickFunc");function d(e){if(u.value){let i=!1;const p=u.value.$el.querySelectorAll(".el-sub-menu"),n=u.value.$el.querySelectorAll(".el-menu-item"),v="is-sub-active",k="is-active";n.forEach(t=>{Array.from(t.classList).includes(k)&&t.classList.remove(k),e===t.dataset.index&&(i=!0,t.classList.add(k))}),p.forEach(t=>{Array.from(t.classList).includes(v)&&t.classList.remove(v),!i&&e===t.dataset.index&&t.classList.add(v)})}}return o(d,"updateActiveClass"),s.onMounted(()=>{C.value=!0,m()}),l({lsComMenuRef:u}),(e,i)=>{const p=D.ElMenu;return s.openBlock(),s.createBlock(p,s.mergeProps({ref_key:"lsComMenuRef",ref:u,"default-active":s.unref(_)},e.$attrs,{class:s.unref(S)}),{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.menuConfigList,n=>(s.openBlock(),s.createBlock(B.default,{key:n.key,item:n,"permission-list":e.permissionList,"need-permission":e.needPermission,"is-define-click":e.isDefineClick,"show-tooltip":e.showTooltip,onOnJump:M,onDefineSubClick:L,onDefineChildClick:b},{[n.iconSlot]:s.withCtx(()=>[s.renderSlot(e.$slots,n.iconSlot,{},void 0,!0)]),_:2},1032,["item","permission-list","need-permission","is-define-click","show-tooltip"]))),128))]),_:3},16,["default-active","class"])}}});exports.default=I;
|
|
@@ -4,24 +4,24 @@ var o = (l, c) => P(l, "name", { value: c, configurable: !0 });
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { defineComponent as
|
|
7
|
+
import { defineComponent as _, useCssVars as B, useAttrs as F, provide as J, ref as k, watch as v, nextTick as q, onMounted as z, openBlock as h, createBlock as L, mergeProps as I, unref as A, withCtx as M, createElementBlock as K, Fragment as R, renderList as T, renderSlot as H } from "vue";
|
|
8
8
|
import { useNamespace as O } from "../../_hooks/useNamespace/index.js";
|
|
9
9
|
import { lsMenuProps as j, lsEmitNames as x } from "../types/index.js";
|
|
10
10
|
import G from "../../_hooks/useRouterHook/index.js";
|
|
11
11
|
import Q from "../MenuItem.vue/index.js";
|
|
12
12
|
import { lsMenuKey as U } from "../../_constants/token/index.js";
|
|
13
13
|
import { ElMenu as V } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.5.13_typescript@5.5.4_/node_modules/element-plus/es/components/menu/index/index.js";
|
|
14
|
-
const W =
|
|
14
|
+
const W = _({
|
|
15
15
|
name: "LSMenu"
|
|
16
|
-
}), ae = /* @__PURE__ */
|
|
16
|
+
}), ae = /* @__PURE__ */ _({
|
|
17
17
|
...W,
|
|
18
18
|
props: j,
|
|
19
19
|
emits: x,
|
|
20
|
-
setup(l, { expose: c, emit:
|
|
20
|
+
setup(l, { expose: c, emit: b }) {
|
|
21
21
|
B((e) => ({
|
|
22
|
-
|
|
22
|
+
fe62419e: e.hoverColor
|
|
23
23
|
}));
|
|
24
|
-
const { currentRouter: r } = G(), w = O("menu").b(), u = l, a =
|
|
24
|
+
const { currentRouter: r } = G(), w = O("menu").b(), u = l, a = b, E = F();
|
|
25
25
|
J(U, { fontSize: u.fontSize });
|
|
26
26
|
const y = k(!1), S = k(""), n = k();
|
|
27
27
|
v(
|
|
@@ -93,9 +93,9 @@ const W = M({
|
|
|
93
93
|
return h(), L(d, I({
|
|
94
94
|
ref_key: "lsComMenuRef",
|
|
95
95
|
ref: n,
|
|
96
|
-
"default-active":
|
|
97
|
-
}, e.$attrs, { class:
|
|
98
|
-
default:
|
|
96
|
+
"default-active": A(S)
|
|
97
|
+
}, e.$attrs, { class: A(w) }), {
|
|
98
|
+
default: M(() => [
|
|
99
99
|
(h(!0), K(R, null, T(e.menuConfigList, (t) => (h(), L(Q, {
|
|
100
100
|
key: t.key,
|
|
101
101
|
item: t,
|
|
@@ -107,7 +107,7 @@ const W = M({
|
|
|
107
107
|
onDefineSubClick: g,
|
|
108
108
|
onDefineChildClick: D
|
|
109
109
|
}, {
|
|
110
|
-
[t.iconSlot]:
|
|
110
|
+
[t.iconSlot]: M(() => [
|
|
111
111
|
H(e.$slots, t.iconSlot, {}, void 0, !0)
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var F=Object.defineProperty;var c=(s,r)=>F(s,"name",{value:r,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("pdfjs-dist"),N=require("../../../../../node_modules/.pnpm/pdfjs-dist@4.8.69/node_modules/pdfjs-dist/build/pdf.worker.min/index.cjs"),f=require("vue"),h=require("../pdfs/destination/index.cjs"),L=require("../pdfs/miscellaneous/index.cjs");function O(s){P.GlobalWorkerOptions.workerSrc=s}c(O,"configWorker");function q(s,r={onProgress:void 0,onPassword:void 0,onError:void 0,password:""}){var R;(R=P.GlobalWorkerOptions)!=null&&R.workerSrc||O(N.default);const b=f.shallowRef(),l=f.shallowRef(),D=f.shallowRef(0),k=f.shallowRef({});function g(u){l.value&&l.value.destroy();const o=P.getDocument({url:u,cMapUrl:"/cmaps/",cMapPacked:!0});if(r.onProgress&&(o.onProgress=r.onProgress),r.onPassword)o.onPassword=r.onPassword;else if(r.password){const e=c(i=>{i(r.password??"")},"onPassword");o.onPassword=e}return o.promise.then(async e=>{l.value=e,b.value=e.loadingTask,D.value=e.numPages;const i=await e.getMetadata(),a=await e.getAttachments(),n=await e.getJSActions(),d=await e.getOutline();k.value={metadata:i,attachments:a,javascript:n,outline:d}},e=>{typeof r.onError=="function"&&r.onError(e)})}c(g,"processLoadingTask");async function I(u){var t;const o=await((t=b.value)==null?void 0:t.promise);if(!o)return null;const e=await h.getDestinationArray(o,u),i=await h.getDestinationRef(o,e);if(!i||!e)return null;const a=await o.getPageIndex(i),n=e[1].name,d=e.slice(2),v=h.isSpecLike(d)?h.getLocation(n,d):null;return{pageIndex:a,location:v??{type:"Fit",spec:[]}}}c(I,"getPDFDestination");async function U(u="filename"){var n;if(!l.value)throw new Error("Current PDFDocumentProxy have not loaded yet");const o=await((n=l.value)==null?void 0:n.saveDocument()),e=new Blob([o],{type:"application/pdf"}),i=URL.createObjectURL(e),a=document.createElement("a");document.body.appendChild(a),a.href=i,a.download=u,a.style.display="none",a.click(),setTimeout(()=>{URL.revokeObjectURL(i),document.body.removeChild(a)},10)}c(U,"download");async function x(u=150,o="filename"){var S,C;if(!l.value)throw new Error("Current PDFDocumentProxy have not loaded yet");const e=await((S=l.value)==null?void 0:S.saveDocument()),a=await P.getDocument(e.buffer).promise,n=u/72,d=96/72,v=await L.createIframe(),t=v.contentWindow;t.document.title=o;const E=[...Array(a.numPages).keys()].map(p=>p+1);for(const p of E){const y=await a.getPage(p),m=y.getViewport({scale:1});p===1&&L.addStylesToIframe(t,m.width*n/d,m.height*n/d);const w=document.createElement("canvas");w.width=m.width*n,w.height=m.height*n;const T=w.cloneNode();t==null||t.document.body.appendChild(T),await(y==null?void 0:y.render({canvasContext:w.getContext("2d"),intent:"print",transform:[n,0,0,n,0,0],viewport:m}).promise),(C=T.getContext("2d"))==null||C.drawImage(w,0,0)}t==null||t.focus(),t==null||t.print(),document.body.removeChild(v)}return c(x,"print"),f.isRef(s)?(s.value&&g(s.value),f.watch(s,()=>{s.value&&g(s.value)})):s&&g(s),{pdf:b,pages:D,info:k,print:x,download:U,getPDFDestination:I,processLoadingTask:g}}c(q,"usePDF");exports.usePDF=q;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var c = (r, s) =>
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var c = (r, s) => E(r, "name", { value: s, configurable: !0 });
|
|
3
3
|
import { GlobalWorkerOptions as S, getDocument as R } from "pdfjs-dist";
|
|
4
4
|
import F from "../../../../../node_modules/.pnpm/pdfjs-dist@4.8.69/node_modules/pdfjs-dist/build/pdf.worker.min/index.js";
|
|
5
5
|
import { shallowRef as y, isRef as N, watch as A } from "vue";
|
|
6
|
-
import { getDestinationArray as O, getDestinationRef as j, isSpecLike as
|
|
7
|
-
import { createIframe as
|
|
8
|
-
function
|
|
6
|
+
import { getDestinationArray as O, getDestinationRef as j, isSpecLike as M, getLocation as B } from "../pdfs/destination/index.js";
|
|
7
|
+
import { createIframe as _, addStylesToIframe as G } from "../pdfs/miscellaneous/index.js";
|
|
8
|
+
function J(r) {
|
|
9
9
|
S.workerSrc = r;
|
|
10
10
|
}
|
|
11
|
-
c(
|
|
11
|
+
c(J, "configWorker");
|
|
12
12
|
function X(r, s = {
|
|
13
13
|
onProgress: void 0,
|
|
14
14
|
onPassword: void 0,
|
|
@@ -16,11 +16,15 @@ function X(r, s = {
|
|
|
16
16
|
password: ""
|
|
17
17
|
}) {
|
|
18
18
|
var D;
|
|
19
|
-
(D = S) != null && D.workerSrc ||
|
|
20
|
-
const h = y(),
|
|
21
|
-
function w(
|
|
22
|
-
|
|
23
|
-
const o = R(
|
|
19
|
+
(D = S) != null && D.workerSrc || J(F);
|
|
20
|
+
const h = y(), l = y(), P = y(0), b = y({});
|
|
21
|
+
function w(d) {
|
|
22
|
+
l.value && l.value.destroy();
|
|
23
|
+
const o = R({
|
|
24
|
+
url: d,
|
|
25
|
+
cMapUrl: "/cmaps/",
|
|
26
|
+
cMapPacked: !0
|
|
27
|
+
});
|
|
24
28
|
if (s.onProgress && (o.onProgress = s.onProgress), s.onPassword)
|
|
25
29
|
o.onPassword = s.onPassword;
|
|
26
30
|
else if (s.password) {
|
|
@@ -31,7 +35,7 @@ function X(r, s = {
|
|
|
31
35
|
}
|
|
32
36
|
return o.promise.then(
|
|
33
37
|
async (e) => {
|
|
34
|
-
|
|
38
|
+
l.value = e, h.value = e.loadingTask, P.value = e.numPages;
|
|
35
39
|
const i = await e.getMetadata(), a = await e.getAttachments(), n = await e.getJSActions(), u = await e.getOutline();
|
|
36
40
|
b.value = {
|
|
37
41
|
metadata: i,
|
|
@@ -46,34 +50,34 @@ function X(r, s = {
|
|
|
46
50
|
);
|
|
47
51
|
}
|
|
48
52
|
c(w, "processLoadingTask");
|
|
49
|
-
async function T(
|
|
53
|
+
async function T(d) {
|
|
50
54
|
var t;
|
|
51
55
|
const o = await ((t = h.value) == null ? void 0 : t.promise);
|
|
52
56
|
if (!o) return null;
|
|
53
|
-
const e = await O(o,
|
|
57
|
+
const e = await O(o, d), i = await j(o, e);
|
|
54
58
|
if (!i || !e) return null;
|
|
55
|
-
const a = await o.getPageIndex(i), n = e[1].name, u = e.slice(2),
|
|
56
|
-
return { pageIndex: a, location:
|
|
59
|
+
const a = await o.getPageIndex(i), n = e[1].name, u = e.slice(2), p = M(u) ? B(n, u) : null;
|
|
60
|
+
return { pageIndex: a, location: p ?? { type: "Fit", spec: [] } };
|
|
57
61
|
}
|
|
58
62
|
c(T, "getPDFDestination");
|
|
59
|
-
async function x(
|
|
63
|
+
async function x(d = "filename") {
|
|
60
64
|
var n;
|
|
61
|
-
if (!
|
|
62
|
-
const o = await ((n =
|
|
63
|
-
document.body.appendChild(a), a.href = i, a.download =
|
|
65
|
+
if (!l.value) throw new Error("Current PDFDocumentProxy have not loaded yet");
|
|
66
|
+
const o = await ((n = l.value) == null ? void 0 : n.saveDocument()), e = new Blob([o], { type: "application/pdf" }), i = URL.createObjectURL(e), a = document.createElement("a");
|
|
67
|
+
document.body.appendChild(a), a.href = i, a.download = d, a.style.display = "none", a.click(), setTimeout(() => {
|
|
64
68
|
URL.revokeObjectURL(i), document.body.removeChild(a);
|
|
65
69
|
}, 10);
|
|
66
70
|
}
|
|
67
71
|
c(x, "download");
|
|
68
|
-
async function I(
|
|
72
|
+
async function I(d = 150, o = "filename") {
|
|
69
73
|
var k, C;
|
|
70
|
-
if (!
|
|
71
|
-
const e = await ((k =
|
|
74
|
+
if (!l.value) throw new Error("Current PDFDocumentProxy have not loaded yet");
|
|
75
|
+
const e = await ((k = l.value) == null ? void 0 : k.saveDocument()), a = await R(e.buffer).promise, n = d / 72, u = 96 / 72, p = await _(), t = p.contentWindow;
|
|
72
76
|
t.document.title = o;
|
|
73
|
-
const
|
|
74
|
-
for (const
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
+
const U = [...Array(a.numPages).keys()].map((g) => g + 1);
|
|
78
|
+
for (const g of U) {
|
|
79
|
+
const v = await a.getPage(g), m = v.getViewport({ scale: 1 });
|
|
80
|
+
g === 1 && G(
|
|
77
81
|
t,
|
|
78
82
|
m.width * n / u,
|
|
79
83
|
m.height * n / u
|
|
@@ -81,14 +85,14 @@ function X(r, s = {
|
|
|
81
85
|
const f = document.createElement("canvas");
|
|
82
86
|
f.width = m.width * n, f.height = m.height * n;
|
|
83
87
|
const L = f.cloneNode();
|
|
84
|
-
t == null || t.document.body.appendChild(L), await (
|
|
88
|
+
t == null || t.document.body.appendChild(L), await (v == null ? void 0 : v.render({
|
|
85
89
|
canvasContext: f.getContext("2d"),
|
|
86
90
|
intent: "print",
|
|
87
91
|
transform: [n, 0, 0, n, 0, 0],
|
|
88
92
|
viewport: m
|
|
89
93
|
}).promise), (C = L.getContext("2d")) == null || C.drawImage(f, 0, 0);
|
|
90
94
|
}
|
|
91
|
-
t == null || t.focus(), t == null || t.print(), document.body.removeChild(
|
|
95
|
+
t == null || t.focus(), t == null || t.print(), document.body.removeChild(p);
|
|
92
96
|
}
|
|
93
97
|
return c(I, "print"), N(r) ? (r.value && w(r.value), A(r, () => {
|
|
94
98
|
r.value && w(r.value);
|
|
Binary file
|
|
Binary file
|
|
@@ -654,6 +654,102 @@ declare function __VLS_template(): {
|
|
|
654
654
|
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
655
655
|
formatReadValue?: Function | undefined;
|
|
656
656
|
};
|
|
657
|
+
}) => any>> & Partial<Record<`${string}-input-prefix`, (_: {
|
|
658
|
+
slotRow: {
|
|
659
|
+
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
660
|
+
label: string;
|
|
661
|
+
options: any[];
|
|
662
|
+
attrs: Record<string, any>;
|
|
663
|
+
disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
|
+
index: number;
|
|
665
|
+
tooltip: string;
|
|
666
|
+
className: string;
|
|
667
|
+
read: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
668
|
+
colon: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
669
|
+
labelEmpty: string;
|
|
670
|
+
isValue: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
671
|
+
prop: EpPropMergeType<readonly [StringConstructor, {
|
|
672
|
+
(arrayLength: number): string[];
|
|
673
|
+
(...items: string[]): string[];
|
|
674
|
+
new (arrayLength: number): string[];
|
|
675
|
+
new (...items: string[]): string[];
|
|
676
|
+
isArray(arg: any): arg is any[];
|
|
677
|
+
readonly prototype: any[];
|
|
678
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
679
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
680
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
681
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
682
|
+
of<T>(...items: T[]): T[];
|
|
683
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
684
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
685
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
686
|
+
}], unknown, unknown>;
|
|
687
|
+
rules: Record<string, any>;
|
|
688
|
+
labelClass: string;
|
|
689
|
+
labelIconClass: string;
|
|
690
|
+
listeners: Record<string, any>;
|
|
691
|
+
labelNumber: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
692
|
+
dateFormat: string;
|
|
693
|
+
rangeSeparator: string;
|
|
694
|
+
rangeProps: String[];
|
|
695
|
+
radioType: string;
|
|
696
|
+
isRow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
697
|
+
selectAll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
698
|
+
slotKey: string;
|
|
699
|
+
levelMatch: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
700
|
+
manualValidate: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
701
|
+
type?: EpPropMergeType<StringConstructor, "number" | "label" | "input" | "select" | "slot" | "textarea" | "switch" | "date" | "radio" | "checkbox" | "datetimerange" | "timePicker" | "timeSelect" | "cascader" | "multipleCascader" | "inputRange" | "inputNumberRange" | "itemSlot", unknown> | undefined;
|
|
702
|
+
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
703
|
+
formatReadValue?: Function | undefined;
|
|
704
|
+
};
|
|
705
|
+
}) => any>> & Partial<Record<`${string}-input-suffix`, (_: {
|
|
706
|
+
slotRow: {
|
|
707
|
+
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
708
|
+
label: string;
|
|
709
|
+
options: any[];
|
|
710
|
+
attrs: Record<string, any>;
|
|
711
|
+
disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
712
|
+
index: number;
|
|
713
|
+
tooltip: string;
|
|
714
|
+
className: string;
|
|
715
|
+
read: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
716
|
+
colon: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
717
|
+
labelEmpty: string;
|
|
718
|
+
isValue: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
719
|
+
prop: EpPropMergeType<readonly [StringConstructor, {
|
|
720
|
+
(arrayLength: number): string[];
|
|
721
|
+
(...items: string[]): string[];
|
|
722
|
+
new (arrayLength: number): string[];
|
|
723
|
+
new (...items: string[]): string[];
|
|
724
|
+
isArray(arg: any): arg is any[];
|
|
725
|
+
readonly prototype: any[];
|
|
726
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
727
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
728
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
729
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
730
|
+
of<T>(...items: T[]): T[];
|
|
731
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
732
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
733
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
734
|
+
}], unknown, unknown>;
|
|
735
|
+
rules: Record<string, any>;
|
|
736
|
+
labelClass: string;
|
|
737
|
+
labelIconClass: string;
|
|
738
|
+
listeners: Record<string, any>;
|
|
739
|
+
labelNumber: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
740
|
+
dateFormat: string;
|
|
741
|
+
rangeSeparator: string;
|
|
742
|
+
rangeProps: String[];
|
|
743
|
+
radioType: string;
|
|
744
|
+
isRow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
745
|
+
selectAll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
746
|
+
slotKey: string;
|
|
747
|
+
levelMatch: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
748
|
+
manualValidate: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
749
|
+
type?: EpPropMergeType<StringConstructor, "number" | "label" | "input" | "select" | "slot" | "textarea" | "switch" | "date" | "radio" | "checkbox" | "datetimerange" | "timePicker" | "timeSelect" | "cascader" | "multipleCascader" | "inputRange" | "inputNumberRange" | "itemSlot", unknown> | undefined;
|
|
750
|
+
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
751
|
+
formatReadValue?: Function | undefined;
|
|
752
|
+
};
|
|
657
753
|
}) => any>> & Partial<Record<`${string}-input-prepend`, (_: {
|
|
658
754
|
slotRow: {
|
|
659
755
|
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1292,6 +1292,7 @@ declare const LSForm: {
|
|
|
1292
1292
|
}) => any>> & {
|
|
1293
1293
|
default?(_: {}): any;
|
|
1294
1294
|
"buttons-prepend"?(_: {}): any;
|
|
1295
|
+
"buttons-append"?(_: {}): any;
|
|
1295
1296
|
};
|
|
1296
1297
|
}) & {
|
|
1297
1298
|
install: (app: App, options?: LSOptions) => void;
|
|
@@ -2393,6 +2394,102 @@ declare const LSFormItem: {
|
|
|
2393
2394
|
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
2394
2395
|
formatReadValue?: Function | undefined;
|
|
2395
2396
|
};
|
|
2397
|
+
}) => any>> & Partial<Record<`${string}-input-prefix`, (_: {
|
|
2398
|
+
slotRow: {
|
|
2399
|
+
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2400
|
+
label: string;
|
|
2401
|
+
options: any[];
|
|
2402
|
+
attrs: Record<string, any>;
|
|
2403
|
+
disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2404
|
+
index: number;
|
|
2405
|
+
tooltip: string;
|
|
2406
|
+
className: string;
|
|
2407
|
+
read: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2408
|
+
colon: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2409
|
+
labelEmpty: string;
|
|
2410
|
+
isValue: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2411
|
+
prop: EpPropMergeType<readonly [StringConstructor, {
|
|
2412
|
+
(arrayLength: number): string[];
|
|
2413
|
+
(...items: string[]): string[];
|
|
2414
|
+
new (arrayLength: number): string[];
|
|
2415
|
+
new (...items: string[]): string[];
|
|
2416
|
+
isArray(arg: any): arg is any[];
|
|
2417
|
+
readonly prototype: any[];
|
|
2418
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
2419
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2420
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
2421
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2422
|
+
of<T>(...items: T[]): T[];
|
|
2423
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
2424
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
2425
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
2426
|
+
}], unknown, unknown>;
|
|
2427
|
+
rules: Record<string, any>;
|
|
2428
|
+
labelClass: string;
|
|
2429
|
+
labelIconClass: string;
|
|
2430
|
+
listeners: Record<string, any>;
|
|
2431
|
+
labelNumber: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2432
|
+
dateFormat: string;
|
|
2433
|
+
rangeSeparator: string;
|
|
2434
|
+
rangeProps: String[];
|
|
2435
|
+
radioType: string;
|
|
2436
|
+
isRow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2437
|
+
selectAll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2438
|
+
slotKey: string;
|
|
2439
|
+
levelMatch: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2440
|
+
manualValidate: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2441
|
+
type?: EpPropMergeType<StringConstructor, "number" | "label" | "input" | "select" | "slot" | "textarea" | "switch" | "date" | "radio" | "checkbox" | "datetimerange" | "timePicker" | "timeSelect" | "cascader" | "multipleCascader" | "inputRange" | "inputNumberRange" | "itemSlot", unknown> | undefined;
|
|
2442
|
+
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
2443
|
+
formatReadValue?: Function | undefined;
|
|
2444
|
+
};
|
|
2445
|
+
}) => any>> & Partial<Record<`${string}-input-suffix`, (_: {
|
|
2446
|
+
slotRow: {
|
|
2447
|
+
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2448
|
+
label: string;
|
|
2449
|
+
options: any[];
|
|
2450
|
+
attrs: Record<string, any>;
|
|
2451
|
+
disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2452
|
+
index: number;
|
|
2453
|
+
tooltip: string;
|
|
2454
|
+
className: string;
|
|
2455
|
+
read: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2456
|
+
colon: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2457
|
+
labelEmpty: string;
|
|
2458
|
+
isValue: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2459
|
+
prop: EpPropMergeType<readonly [StringConstructor, {
|
|
2460
|
+
(arrayLength: number): string[];
|
|
2461
|
+
(...items: string[]): string[];
|
|
2462
|
+
new (arrayLength: number): string[];
|
|
2463
|
+
new (...items: string[]): string[];
|
|
2464
|
+
isArray(arg: any): arg is any[];
|
|
2465
|
+
readonly prototype: any[];
|
|
2466
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
2467
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2468
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
2469
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2470
|
+
of<T>(...items: T[]): T[];
|
|
2471
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
2472
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
2473
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
2474
|
+
}], unknown, unknown>;
|
|
2475
|
+
rules: Record<string, any>;
|
|
2476
|
+
labelClass: string;
|
|
2477
|
+
labelIconClass: string;
|
|
2478
|
+
listeners: Record<string, any>;
|
|
2479
|
+
labelNumber: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2480
|
+
dateFormat: string;
|
|
2481
|
+
rangeSeparator: string;
|
|
2482
|
+
rangeProps: String[];
|
|
2483
|
+
radioType: string;
|
|
2484
|
+
isRow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2485
|
+
selectAll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2486
|
+
slotKey: string;
|
|
2487
|
+
levelMatch: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2488
|
+
manualValidate: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2489
|
+
type?: EpPropMergeType<StringConstructor, "number" | "label" | "input" | "select" | "slot" | "textarea" | "switch" | "date" | "radio" | "checkbox" | "datetimerange" | "timePicker" | "timeSelect" | "cascader" | "multipleCascader" | "inputRange" | "inputNumberRange" | "itemSlot", unknown> | undefined;
|
|
2490
|
+
value?: EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, ObjectConstructor, ArrayConstructor], unknown, unknown> | undefined;
|
|
2491
|
+
formatReadValue?: Function | undefined;
|
|
2492
|
+
};
|
|
2396
2493
|
}) => any>> & Partial<Record<`${string}-input-prepend`, (_: {
|
|
2397
2494
|
slotRow: {
|
|
2398
2495
|
trim: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -958,6 +958,7 @@ declare function __VLS_template(): {
|
|
|
958
958
|
}) => any>> & {
|
|
959
959
|
default?(_: {}): any;
|
|
960
960
|
"buttons-prepend"?(_: {}): any;
|
|
961
|
+
"buttons-append"?(_: {}): any;
|
|
961
962
|
};
|
|
962
963
|
}) | null;
|
|
963
964
|
TableRef: ({
|
|
@@ -1423,12 +1424,12 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
1423
1424
|
readonly addRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1424
1425
|
readonly detailRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1425
1426
|
readonly editRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1426
|
-
readonly tableDetailText: EpPropFinalized<StringConstructor, unknown, unknown, "查看", boolean>;
|
|
1427
|
-
readonly tableEditText: EpPropFinalized<StringConstructor, unknown, unknown, "编辑", boolean>;
|
|
1428
|
-
readonly tableDelText: EpPropFinalized<StringConstructor, unknown, unknown, "删除", boolean>;
|
|
1427
|
+
readonly tableDetailText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "查看", boolean>;
|
|
1428
|
+
readonly tableEditText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "编辑", boolean>;
|
|
1429
|
+
readonly tableDelText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "删除", boolean>;
|
|
1429
1430
|
readonly skeletonAttrs: EpPropFinalized<ObjectConstructor, unknown, unknown, () => void, boolean>;
|
|
1430
1431
|
readonly showSkeleton: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1431
|
-
readonly popconfirmTxt: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1432
|
+
readonly popconfirmTxt: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "", boolean>;
|
|
1432
1433
|
}>, {
|
|
1433
1434
|
loadData: (showLoading?: boolean, firstLoad?: boolean) => void;
|
|
1434
1435
|
handleReset: () => void;
|
|
@@ -1580,12 +1581,12 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
1580
1581
|
readonly addRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1581
1582
|
readonly detailRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1582
1583
|
readonly editRoutePath: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1583
|
-
readonly tableDetailText: EpPropFinalized<StringConstructor, unknown, unknown, "查看", boolean>;
|
|
1584
|
-
readonly tableEditText: EpPropFinalized<StringConstructor, unknown, unknown, "编辑", boolean>;
|
|
1585
|
-
readonly tableDelText: EpPropFinalized<StringConstructor, unknown, unknown, "删除", boolean>;
|
|
1584
|
+
readonly tableDetailText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "查看", boolean>;
|
|
1585
|
+
readonly tableEditText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "编辑", boolean>;
|
|
1586
|
+
readonly tableDelText: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "删除", boolean>;
|
|
1586
1587
|
readonly skeletonAttrs: EpPropFinalized<ObjectConstructor, unknown, unknown, () => void, boolean>;
|
|
1587
1588
|
readonly showSkeleton: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1588
|
-
readonly popconfirmTxt: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1589
|
+
readonly popconfirmTxt: EpPropFinalized<readonly [StringConstructor, FunctionConstructor], unknown, unknown, "", boolean>;
|
|
1589
1590
|
}>> & Readonly<{
|
|
1590
1591
|
onSubmitForm?: ((formData: any) => any) | undefined;
|
|
1591
1592
|
onHandleLoading?: ((loading: boolean) => any) | undefined;
|
|
@@ -1623,12 +1624,12 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
|
|
|
1623
1624
|
readonly addRoutePath: string;
|
|
1624
1625
|
readonly detailRoutePath: string;
|
|
1625
1626
|
readonly editRoutePath: string;
|
|
1626
|
-
readonly tableDetailText:
|
|
1627
|
-
readonly tableEditText:
|
|
1628
|
-
readonly tableDelText:
|
|
1627
|
+
readonly tableDetailText: EpPropMergeType<readonly [StringConstructor, FunctionConstructor], unknown, unknown>;
|
|
1628
|
+
readonly tableEditText: EpPropMergeType<readonly [StringConstructor, FunctionConstructor], unknown, unknown>;
|
|
1629
|
+
readonly tableDelText: EpPropMergeType<readonly [StringConstructor, FunctionConstructor], unknown, unknown>;
|
|
1629
1630
|
readonly skeletonAttrs: Record<string, any>;
|
|
1630
1631
|
readonly showSkeleton: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1631
|
-
readonly popconfirmTxt:
|
|
1632
|
+
readonly popconfirmTxt: EpPropMergeType<readonly [StringConstructor, FunctionConstructor], unknown, unknown>;
|
|
1632
1633
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1633
1634
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1634
1635
|
export default _default;
|