star-horse-lowcode 2.8.48 → 2.8.50

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.
@@ -602,6 +602,21 @@ title?(_: {}): any;
602
602
 
603
603
  declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
604
604
 
605
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_45, {
606
+ getConfigInfo: () => any;
607
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
608
+ "update:modelValue": (...args: any[]) => void;
609
+ }, string, PublicProps, Readonly<__VLS_Props_45> & Readonly<{
610
+ "onUpdate:modelValue"?: (...args: any[]) => any;
611
+ }>, {
612
+ title: string;
613
+ direction: string;
614
+ compSize: string;
615
+ modelValue: boolean;
616
+ hideDefaultConfig: boolean;
617
+ resizable: boolean;
618
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
619
+
605
620
  declare type __VLS_Props = ContainerPreps;
606
621
 
607
622
  declare type __VLS_Props_10 = ItemPreps;
@@ -680,6 +695,15 @@ declare type __VLS_Props_43 = ItemPreps;
680
695
 
681
696
  declare type __VLS_Props_44 = ItemPreps;
682
697
 
698
+ declare type __VLS_Props_45 = {
699
+ hideDefaultConfig?: boolean;
700
+ modelValue: boolean;
701
+ direction?: string;
702
+ resizable?: boolean;
703
+ title?: string;
704
+ compSize?: string;
705
+ };
706
+
683
707
  declare type __VLS_Props_5 = ItemPreps;
684
708
 
685
709
  declare type __VLS_Props_6 = ItemPreps;
@@ -1076,6 +1100,22 @@ declare function __VLS_template_6(): {
1076
1100
  rootEl: HTMLDivElement;
1077
1101
  };
1078
1102
 
1103
+ declare function __VLS_template_7(): {
1104
+ attrs: Partial<{}>;
1105
+ slots: {
1106
+ header?(_: {}): any;
1107
+ header?(_: {}): any;
1108
+ content?(_: {}): any;
1109
+ content?(_: {}): any;
1110
+ default?(_: {}): any;
1111
+ default?(_: {}): any;
1112
+ footer?(_: {}): any;
1113
+ footer?(_: {}): any;
1114
+ };
1115
+ refs: {};
1116
+ rootEl: any;
1117
+ };
1118
+
1079
1119
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1080
1120
 
1081
1121
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
@@ -1088,6 +1128,8 @@ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1088
1128
 
1089
1129
  declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1090
1130
 
1131
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
1132
+
1091
1133
  declare type __VLS_WithTemplateSlots<T, S> = T & {
1092
1134
  new (): {
1093
1135
  $slots: S;
@@ -1124,6 +1166,12 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
1124
1166
  };
1125
1167
  };
1126
1168
 
1169
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
1170
+ new (): {
1171
+ $slots: S;
1172
+ };
1173
+ };
1174
+
1127
1175
  /**
1128
1176
  * 解析表单字段信息及层级
1129
1177
  */
@@ -2710,6 +2758,8 @@ declare interface DataSelectorProps {
2710
2758
  * 样式
2711
2759
  */
2712
2760
  style?: CSSProperties;
2761
+ tagType: "" | "primary" | "secondary" | "success" | "info" | "warning";
2762
+ tagEffect: "" | "light" | "dark" | "plain";
2713
2763
  }
2714
2764
 
2715
2765
  /**
@@ -3912,6 +3962,8 @@ export declare interface OrderByInfo {
3912
3962
  ascOrDesc: string;
3913
3963
  }
3914
3964
 
3965
+ export declare const PageConfig: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
3966
+
3915
3967
  /**
3916
3968
  * 页面属性信息
3917
3969
  */
@@ -6531,9 +6583,31 @@ commonPersons: {
6531
6583
  type: PropType<any>;
6532
6584
  default: any[];
6533
6585
  };
6586
+ /**
6587
+ * 在数据提权的时候需要指定通过那个字段做关联条件
6588
+ */
6589
+ userColumnName: {
6590
+ type: StringConstructor;
6591
+ default: string;
6592
+ };
6534
6593
  btnPermissions: {
6535
6594
  type: PropType<Record<string, string>>;
6536
6595
  required: false;
6596
+ default: {};
6597
+ };
6598
+ /**
6599
+ * 每页数据备选项
6600
+ */
6601
+ pageCombList: {
6602
+ type: ArrayConstructor;
6603
+ default: number[];
6604
+ };
6605
+ /**
6606
+ * 分页条布局
6607
+ */
6608
+ pageBarLayout: {
6609
+ type: StringConstructor;
6610
+ default: string;
6537
6611
  };
6538
6612
  }>, {
6539
6613
  init: () => Promise<void>;
@@ -6667,9 +6741,31 @@ commonPersons: {
6667
6741
  type: PropType<any>;
6668
6742
  default: any[];
6669
6743
  };
6744
+ /**
6745
+ * 在数据提权的时候需要指定通过那个字段做关联条件
6746
+ */
6747
+ userColumnName: {
6748
+ type: StringConstructor;
6749
+ default: string;
6750
+ };
6670
6751
  btnPermissions: {
6671
6752
  type: PropType<Record<string, string>>;
6672
6753
  required: false;
6754
+ default: {};
6755
+ };
6756
+ /**
6757
+ * 每页数据备选项
6758
+ */
6759
+ pageCombList: {
6760
+ type: ArrayConstructor;
6761
+ default: number[];
6762
+ };
6763
+ /**
6764
+ * 分页条布局
6765
+ */
6766
+ pageBarLayout: {
6767
+ type: StringConstructor;
6768
+ default: string;
6673
6769
  };
6674
6770
  }>> & Readonly<{
6675
6771
  onSelectItem?: (...args: any[]) => any;
@@ -6692,6 +6788,10 @@ lineHeight: string;
6692
6788
  showSelection: boolean;
6693
6789
  hideButtonList: boolean;
6694
6790
  commonPersons: any;
6791
+ userColumnName: string;
6792
+ btnPermissions: Record<string, string>;
6793
+ pageCombList: unknown[];
6794
+ pageBarLayout: string;
6695
6795
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
6696
6796
  table: unknown;
6697
6797
  starHorseTableCompRef: unknown;
@@ -9461,6 +9561,10 @@ export declare interface UserFuncInfo {
9461
9561
  * 按钮显示位置,默认在列表的右侧
9462
9562
  */
9463
9563
  position?: "table" | "toolbar";
9564
+ /**
9565
+ * 是否覆盖原来的方法
9566
+ */
9567
+ override?: boolean;
9464
9568
  /**
9465
9569
  * 子节点
9466
9570
  */
@@ -9580,6 +9684,7 @@ priority?: number;
9580
9684
  helpMsg?: string;
9581
9685
  disabled?: string;
9582
9686
  position?: "table" | "toolbar";
9687
+ override?: boolean;
9583
9688
  children?: /*elided*/ any[];
9584
9689
  }[];
9585
9690
  stopAutoLoad?: boolean;
@@ -9680,6 +9785,7 @@ priority?: number;
9680
9785
  helpMsg?: string;
9681
9786
  disabled?: string;
9682
9787
  position?: "table" | "toolbar";
9788
+ override?: boolean;
9683
9789
  children?: /*elided*/ any[];
9684
9790
  }[];
9685
9791
  stopAutoLoad?: boolean;
@@ -9793,6 +9899,7 @@ priority?: number;
9793
9899
  helpMsg?: string;
9794
9900
  disabled?: string;
9795
9901
  position?: "table" | "toolbar";
9902
+ override?: boolean;
9796
9903
  children?: /*elided*/ any[];
9797
9904
  }[];
9798
9905
  stopAutoLoad?: boolean;
@@ -9893,6 +10000,7 @@ priority?: number;
9893
10000
  helpMsg?: string;
9894
10001
  disabled?: string;
9895
10002
  position?: "table" | "toolbar";
10003
+ override?: boolean;
9896
10004
  children?: /*elided*/ any[];
9897
10005
  }[];
9898
10006
  stopAutoLoad?: boolean;
@@ -10006,6 +10114,7 @@ priority?: number;
10006
10114
  helpMsg?: string;
10007
10115
  disabled?: string;
10008
10116
  position?: "table" | "toolbar";
10117
+ override?: boolean;
10009
10118
  children?: /*elided*/ any[];
10010
10119
  }[];
10011
10120
  stopAutoLoad?: boolean;
@@ -10106,6 +10215,7 @@ priority?: number;
10106
10215
  helpMsg?: string;
10107
10216
  disabled?: string;
10108
10217
  position?: "table" | "toolbar";
10218
+ override?: boolean;
10109
10219
  children?: /*elided*/ any[];
10110
10220
  }[];
10111
10221
  stopAutoLoad?: boolean;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "star-horse-lowcode",
3
3
  "private": false,
4
4
  "author": "l_1019@163.com",
5
- "version": "2.8.48",
5
+ "version": "2.8.50",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [
@@ -75,18 +75,19 @@
75
75
  "@codemirror/lang-yaml": "^6.1.2",
76
76
  "@codemirror/theme-one-dark": "^6.1.3",
77
77
  "@replit/codemirror-minimap": "^0.5.2",
78
+ "@selemondev/vue3-signature-pad": "^1.8.0",
78
79
  "@wangeditor/editor": "^5.1.23",
79
80
  "@wangeditor/editor-for-vue": "^5.1.12",
80
81
  "axios": "^1.13.2",
81
82
  "codemirror": "^6.0.2",
82
- "element-plus": "^2.12.0",
83
+ "element-plus": "^2.13.0",
83
84
  "jquery": "^3.7.1",
84
85
  "json5": "^2.2.3",
85
86
  "md-editor-v3": "^6.2.1",
86
87
  "path": "^0.12.7",
87
88
  "pinia": "^3.0.4",
88
89
  "pinia-plugin-persistedstate": "^4.7.1",
89
- "preview-image-js": "^1.2.0",
90
+ "preview-image-js": "^1.2.1",
90
91
  "qrcode.vue": "^3.6.0",
91
92
  "smooth-signature": "^1.1.0",
92
93
  "sortablejs": "^1.15.6",
@@ -95,11 +96,12 @@
95
96
  "thememirror": "^2.0.1",
96
97
  "uuid": "^13.0.0",
97
98
  "vanilla-jsoneditor": "^3.11.0",
98
- "vue": "^3.5.25",
99
- "vue-i18n": "^11.2.2",
99
+ "vue": "^3.5.26",
100
+ "vue-i18n": "^11.2.7",
100
101
  "vue-m-message": "^4.0.2",
101
102
  "vue-router": "^4.6.4",
102
103
  "vue3-barcode": "^1.0.1",
104
+ "vue3-signature": "^0.4.1",
103
105
  "vue3-ts-jsoneditor": "^3.3.0",
104
106
  "vuedraggable-es": "^4.1.1"
105
107
  },
@@ -110,14 +112,14 @@
110
112
  "@types/jquery": "^3.5.33",
111
113
  "@types/prismjs": "^1.26.5",
112
114
  "@types/sortablejs": "^1.15.9",
113
- "@typescript-eslint/eslint-plugin": "^8.50.0",
114
- "@typescript-eslint/parser": "^8.50.0",
115
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
116
+ "@typescript-eslint/parser": "^8.50.1",
115
117
  "@vitejs/plugin-vue": "^6.0.3",
116
118
  "eslint": "^9.39.2",
117
119
  "eslint-plugin-vue": "^10.6.2",
118
120
  "globals": "^16.5.0",
119
121
  "prettier": "^3.7.4",
120
- "sass-embedded": "^1.97.0",
122
+ "sass-embedded": "^1.97.1",
121
123
  "terser": "^5.44.1",
122
124
  "unplugin-auto-import": "^20.3.0",
123
125
  "unplugin-vue-components": "^30.0.0",