star-horse-lowcode 2.7.30 → 2.7.31
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.md +2 -1
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/StarHorseForm.vue.d.ts +1 -1
- package/dist/components/comp/StarHorseFormList.vue.d.ts +2 -2
- package/dist/components/comp/StarHorseItem.vue.d.ts +1 -1
- package/dist/components/comp/StarHorseJsonEditor.vue.d.ts +1 -1
- package/dist/components/formcomp/items/json-array-item.vue.d.ts +2 -2
- package/dist/components/formcomp/items/json-item.vue.d.ts +2 -2
- package/dist/components/system/ContentMenu.vue.d.ts +2 -2
- package/dist/index.cjs.js +18 -18
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +23 -22
- package/dist/index.umd.js +5 -5
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export * from './api/star_horse_apis';
|
|
|
5
5
|
export * from './api/star_horse_utils';
|
|
6
6
|
export * from './api/date_utils';
|
|
7
7
|
export * from './api/system';
|
|
8
|
-
export * from './api/user_func
|
|
8
|
+
export * from './api/user_func';
|
|
9
9
|
export * from './utils/message';
|
|
10
10
|
export * from './api/finger_utils';
|
|
11
11
|
declare global {
|
|
@@ -16,14 +16,14 @@ export * from './components/formcomp/container';
|
|
|
16
16
|
export * from './components/formcomp/items';
|
|
17
17
|
export * from './components/system';
|
|
18
18
|
export * from './components/types';
|
|
19
|
-
export * from './store/ButtonPermission
|
|
20
|
-
export * from './store/ConsumerView
|
|
21
|
-
export * from './store/ContinusConfig
|
|
19
|
+
export * from './store/ButtonPermission';
|
|
20
|
+
export * from './store/ConsumerView';
|
|
21
|
+
export * from './store/ContinusConfig';
|
|
22
22
|
export * from './store/CopyerOperation';
|
|
23
23
|
export * from './store/DesignForm';
|
|
24
|
-
export * from './store/DesignPage
|
|
25
|
-
export * from './store/DynamicForm
|
|
26
|
-
export * from './store/GlobalConfig
|
|
24
|
+
export * from './store/DesignPage';
|
|
25
|
+
export * from './store/DynamicForm';
|
|
26
|
+
export * from './store/GlobalConfig';
|
|
27
27
|
export * from './store/SelfOperation';
|
|
28
28
|
export * from './store/UserInfo';
|
|
29
29
|
export { piniaInstance };
|
package/dist/index.es.js
CHANGED
|
@@ -94793,7 +94793,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
94793
94793
|
|
|
94794
94794
|
/* unplugin-vue-components disabled */
|
|
94795
94795
|
|
|
94796
|
-
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-
|
|
94796
|
+
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-8d03305b"]]);
|
|
94797
94797
|
|
|
94798
94798
|
const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
94799
94799
|
__proto__: null,
|
|
@@ -98146,7 +98146,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
98146
98146
|
|
|
98147
98147
|
/* unplugin-vue-components disabled */
|
|
98148
98148
|
|
|
98149
|
-
const StarHorseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-
|
|
98149
|
+
const StarHorseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-b873a3f2"]]);
|
|
98150
98150
|
|
|
98151
98151
|
const StarHorseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
98152
98152
|
__proto__: null,
|
|
@@ -98742,7 +98742,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
98742
98742
|
|
|
98743
98743
|
/* unplugin-vue-components disabled */
|
|
98744
98744
|
|
|
98745
|
-
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-
|
|
98745
|
+
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-74dc58e3"]]);
|
|
98746
98746
|
|
|
98747
98747
|
const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
98748
98748
|
__proto__: null,
|
|
@@ -99057,7 +99057,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
99057
99057
|
|
|
99058
99058
|
/* unplugin-vue-components disabled */
|
|
99059
99059
|
|
|
99060
|
-
const __unplugin_components_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-
|
|
99060
|
+
const __unplugin_components_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-5e4864e5"]]);
|
|
99061
99061
|
|
|
99062
99062
|
const _hoisted_1$O = { class: "card-header flex items-center justify-between" };
|
|
99063
99063
|
const _hoisted_2$z = { class: "w-[60%]" };
|
|
@@ -99179,7 +99179,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
99179
99179
|
|
|
99180
99180
|
/* unplugin-vue-components disabled */
|
|
99181
99181
|
|
|
99182
|
-
const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-
|
|
99182
|
+
const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-4c796a70"]]);
|
|
99183
99183
|
|
|
99184
99184
|
const _hoisted_1$N = { class: "collapse-item-title title" };
|
|
99185
99185
|
const _hoisted_2$y = { style: { "width": "80%" } };
|
|
@@ -99294,7 +99294,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
99294
99294
|
|
|
99295
99295
|
/* unplugin-vue-components disabled */
|
|
99296
99296
|
|
|
99297
|
-
const __unplugin_components_2$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-
|
|
99297
|
+
const __unplugin_components_2$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-b791984b"]]);
|
|
99298
99298
|
|
|
99299
99299
|
const _hoisted_1$M = { class: "custom-tabs-label" };
|
|
99300
99300
|
const _hoisted_2$x = { class: "custom-tabs-label" };
|
|
@@ -99476,7 +99476,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
99476
99476
|
|
|
99477
99477
|
/* unplugin-vue-components disabled */
|
|
99478
99478
|
|
|
99479
|
-
const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
99479
|
+
const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-0ad5277f"]]);
|
|
99480
99480
|
|
|
99481
99481
|
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
99482
99482
|
__name: "boxItem",
|
|
@@ -99789,7 +99789,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99789
99789
|
let userOperation = useSelfOperationStore(piniaInstance);
|
|
99790
99790
|
const emits = __emit;
|
|
99791
99791
|
const starHorseFormRef = ref(null);
|
|
99792
|
-
const dataForm =
|
|
99792
|
+
const dataForm = ref({});
|
|
99793
99793
|
const exportData = () => {
|
|
99794
99794
|
emits("exportData", dataForm.value);
|
|
99795
99795
|
};
|
|
@@ -99811,6 +99811,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99811
99811
|
} else {
|
|
99812
99812
|
objData = await loadById(props.compUrl?.loadByIdUrl, id, params);
|
|
99813
99813
|
}
|
|
99814
|
+
console.log("加载数据", objData);
|
|
99814
99815
|
let data = formFieldMapping(props.fieldList);
|
|
99815
99816
|
dataForm.value = objData;
|
|
99816
99817
|
if (props.dynamicForm) {
|
|
@@ -100076,7 +100077,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100076
100077
|
createVNode(_component_el_scrollbar, { height: "100%" }, {
|
|
100077
100078
|
default: withCtx(() => [
|
|
100078
100079
|
createVNode(_component_el_form, {
|
|
100079
|
-
model:
|
|
100080
|
+
model: dataForm.value,
|
|
100080
100081
|
size: __props.formSize,
|
|
100081
100082
|
rules: __props.rules,
|
|
100082
100083
|
"scroll-to-error": true,
|
|
@@ -100097,8 +100098,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100097
100098
|
fieldList: __props.fieldList,
|
|
100098
100099
|
rules: __props.rules,
|
|
100099
100100
|
compSize: __props.formSize,
|
|
100100
|
-
dataForm:
|
|
100101
|
-
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) =>
|
|
100101
|
+
dataForm: dataForm.value,
|
|
100102
|
+
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
100102
100103
|
isView: __props.isView,
|
|
100103
100104
|
onAddRow: addRow,
|
|
100104
100105
|
onRemoveRow: removeRow,
|
|
@@ -100149,7 +100150,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
100149
100150
|
|
|
100150
100151
|
/* unplugin-vue-components disabled */
|
|
100151
100152
|
|
|
100152
|
-
const StarHorseForm = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-
|
|
100153
|
+
const StarHorseForm = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-b37ca737"]]);
|
|
100153
100154
|
|
|
100154
100155
|
const StarHorseForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
100155
100156
|
__proto__: null,
|
|
@@ -103063,7 +103064,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
103063
103064
|
|
|
103064
103065
|
/* unplugin-vue-components disabled */
|
|
103065
103066
|
|
|
103066
|
-
const __unplugin_components_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
103067
|
+
const __unplugin_components_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-d7cf149c"]]);
|
|
103067
103068
|
|
|
103068
103069
|
const StarHorseDataViewTable = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
103069
103070
|
__proto__: null,
|
|
@@ -103360,7 +103361,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
103360
103361
|
|
|
103361
103362
|
/* unplugin-vue-components disabled */
|
|
103362
103363
|
|
|
103363
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-
|
|
103364
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-aa0fd533"]]);
|
|
103364
103365
|
|
|
103365
103366
|
const _hoisted_1$E = { class: "card-header" };
|
|
103366
103367
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
@@ -150945,7 +150946,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
150945
150946
|
|
|
150946
150947
|
/* unplugin-vue-components disabled */
|
|
150947
150948
|
|
|
150948
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-
|
|
150949
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-69b9bf92"]]);
|
|
150949
150950
|
|
|
150950
150951
|
const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
150951
150952
|
__proto__: null,
|
|
@@ -151157,7 +151158,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
151157
151158
|
|
|
151158
151159
|
/* unplugin-vue-components disabled */
|
|
151159
151160
|
|
|
151160
|
-
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-
|
|
151161
|
+
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-faeedd90"]]);
|
|
151161
151162
|
|
|
151162
151163
|
const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151163
151164
|
__proto__: null,
|
|
@@ -151534,7 +151535,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
151534
151535
|
|
|
151535
151536
|
/* unplugin-vue-components disabled */
|
|
151536
151537
|
|
|
151537
|
-
const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-
|
|
151538
|
+
const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-778d1580"]]);
|
|
151538
151539
|
|
|
151539
151540
|
const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151540
151541
|
__proto__: null,
|
|
@@ -152032,7 +152033,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
152032
152033
|
|
|
152033
152034
|
/* unplugin-vue-components disabled */
|
|
152034
152035
|
|
|
152035
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-
|
|
152036
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-43f6b55d"]]);
|
|
152036
152037
|
|
|
152037
152038
|
const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
152038
152039
|
__proto__: null,
|
|
@@ -153164,7 +153165,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
153164
153165
|
let toolbarButtonList = ref([]);
|
|
153165
153166
|
const extendBtnFunction = () => {
|
|
153166
153167
|
let arr = [];
|
|
153167
|
-
const extendBtnsCopy = props.extendBtns
|
|
153168
|
+
const extendBtnsCopy = props.extendBtns ?? [];
|
|
153168
153169
|
extendBtnsCopy?.forEach((item) => {
|
|
153169
153170
|
if (item.position != "toolbar") {
|
|
153170
153171
|
if (!item.funcName) {
|
|
@@ -153680,7 +153681,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
153680
153681
|
|
|
153681
153682
|
/* unplugin-vue-components disabled */
|
|
153682
153683
|
|
|
153683
|
-
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-
|
|
153684
|
+
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-0227890d"]]);
|
|
153684
153685
|
|
|
153685
153686
|
const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
153686
153687
|
__proto__: null,
|
|
@@ -154308,7 +154309,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
154308
154309
|
|
|
154309
154310
|
/* unplugin-vue-components disabled */
|
|
154310
154311
|
|
|
154311
|
-
const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
154312
|
+
const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-43672e38"]]);
|
|
154312
154313
|
|
|
154313
154314
|
const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
154314
154315
|
__proto__: null,
|
|
@@ -156466,7 +156467,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
156466
156467
|
|
|
156467
156468
|
/* unplugin-vue-components disabled */
|
|
156468
156469
|
|
|
156469
|
-
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-
|
|
156470
|
+
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f57c779f"]]);
|
|
156470
156471
|
|
|
156471
156472
|
const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
156472
156473
|
__proto__: null,
|