star-horse-lowcode 3.0.9 → 3.1.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.
Files changed (32) hide show
  1. package/README.md +5 -0
  2. package/dist/api/WebSocketUtils.d.ts +0 -3
  3. package/dist/api/form_utils.d.ts +7 -0
  4. package/dist/api/valid_utils.d.ts +2 -1
  5. package/dist/assets/index.css +1 -1
  6. package/dist/components/comp/StarHorseDataSelector.vue.d.ts +1 -58
  7. package/dist/components/comp/StarHorseTableColumn.vue.d.ts +14 -4
  8. package/dist/components/comp/app/MenuShot.vue.d.ts +15 -0
  9. package/dist/components/comp/items/groupItem.vue.d.ts +23 -0
  10. package/dist/components/comp/items/{tableColumn.vue.d.ts → tableColumnItem.vue.d.ts} +12 -2
  11. package/dist/components/comp/utils/DataPicker.vue.d.ts +1 -1
  12. package/dist/components/comp/utils/DataSelectorUtils.d.ts +23 -0
  13. package/dist/components/formcomp/items/description-item.vue.d.ts +19 -0
  14. package/dist/components/formcomp/items/index.d.ts +6 -0
  15. package/dist/components/formcomp/items/link-item.vue.d.ts +19 -0
  16. package/dist/components/formcomp/items/location-item.vue.d.ts +19 -0
  17. package/dist/components/formcomp/items/org-item.vue.d.ts +19 -0
  18. package/dist/components/formcomp/items/progress-item.vue.d.ts +19 -0
  19. package/dist/components/formcomp/items/starhorse-form-item.vue.d.ts +3 -3
  20. package/dist/components/formcomp/items/tree-select-item.vue.d.ts +19 -0
  21. package/dist/components/formcomp/utils/EditDataDialog.vue.d.ts +2 -2
  22. package/dist/components/formcomp/utils/FormulaEngine.d.ts +129 -0
  23. package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +6 -22
  24. package/dist/components/help.vue.d.ts +2 -2
  25. package/dist/components/types/ItemPreps.d.ts +4 -0
  26. package/dist/components/types/PageFieldInfo.d.ts +4 -0
  27. package/dist/index.es.js +6 -6
  28. package/dist/lang/en_US.d.ts +141 -0
  29. package/dist/lang/zh_CN.d.ts +141 -0
  30. package/dist/store/FormDataCache.d.ts +6 -0
  31. package/dist/store/StoreManager.d.ts +12 -0
  32. package/package.json +1 -1
@@ -149,6 +149,7 @@ declare const _default: {
149
149
  "common.interfaceCallError": string;
150
150
  "common.yes": string;
151
151
  "common.no": string;
152
+ "common.help": string;
152
153
  "common.submit": string;
153
154
  "common.reset": string;
154
155
  "common.submitAndContinue": string;
@@ -157,6 +158,12 @@ declare const _default: {
157
158
  "common.edit": string;
158
159
  "common.view": string;
159
160
  "common.delete": string;
161
+ "common.sessionExpired": string;
162
+ "common.noPagePermission": string;
163
+ "common.fieldNameExists": string;
164
+ "common.copySuccess": string;
165
+ "common.cutSuccess": string;
166
+ "common.toolPanel": string;
160
167
  /**
161
168
  * Cron Components--------------
162
169
  */
@@ -345,6 +352,55 @@ declare const _default: {
345
352
  "api.internationalPhone": string;
346
353
  "api.hexColor": string;
347
354
  "api.custom": string;
355
+ "api.ipv6FormatIncorrect": string;
356
+ "api.macFormatIncorrect": string;
357
+ "api.chineseOnly": string;
358
+ "api.numberRange": string;
359
+ "api.decimalFormat": string;
360
+ "api.decimal": string;
361
+ "api.positiveInteger": string;
362
+ "api.negativeInteger": string;
363
+ "api.nonNegativeInteger": string;
364
+ "api.positiveNumber": string;
365
+ "api.passwordFormat": string;
366
+ "api.mediumPasswordRule": string;
367
+ "api.timeFormat": string;
368
+ "api.timeFormatRule": string;
369
+ "api.datetimeFormat": string;
370
+ "api.datetimeFormatRule": string;
371
+ "api.portFormat": string;
372
+ "api.port": string;
373
+ "api.taxNumberFormat": string;
374
+ "api.taxNumber": string;
375
+ "api.socialCreditCodeFormat": string;
376
+ "api.socialCreditCode": string;
377
+ "api.bankCardFormat": string;
378
+ "api.bankCard": string;
379
+ "api.coordinateFormat": string;
380
+ "api.coordinate": string;
381
+ "api.semverFormat": string;
382
+ "api.semver": string;
383
+ "api.jsonFormat": string;
384
+ "api.base64Format": string;
385
+ "api.base64": string;
386
+ "api.uuidFormat": string;
387
+ "api.uuid": string;
388
+ "api.chinesePhoneFormat": string;
389
+ "api.chinesePhone": string;
390
+ "api.ipv6": string;
391
+ "api.mac": string;
392
+ "api.chinese": string;
393
+ "api.editingByOthers": string;
394
+ "api.fieldEditingByOthers": string;
395
+ "api.interfaceError": string;
396
+ "api.interfaceCallError2": string;
397
+ "api.columnNotEditable": string;
398
+ "api.pleaseInput2": string;
399
+ "api.relationDetailsMustBeArray": string;
400
+ "api.unhandledEvent": string;
401
+ "api.eventTriggerError": string;
402
+ "api.pleaseSelectData2": string;
403
+ "api.noUrlProvided": string;
348
404
  /**
349
405
  * Component Strings
350
406
  */
@@ -726,5 +782,90 @@ declare const _default: {
726
782
  "displayStyle.pad": string;
727
783
  "displayStyle.phone": string;
728
784
  "dashboard.operationHabitsConfig": string;
785
+ /**
786
+ * Item Component Strings
787
+ */
788
+ "item.pleaseSetValue": string;
789
+ "item.pleaseSignFirst": string;
790
+ "item.clear": string;
791
+ "item.undo": string;
792
+ "item.preview": string;
793
+ "item.configureButtonEvent": string;
794
+ "item.confirm": string;
795
+ "item.pleaseFillFormData": string;
796
+ "item.confirmToExecute": string;
797
+ "item.pleaseProvideApiUrl": string;
798
+ "item.returnDataEmpty": string;
799
+ "item.returnDataIsArray": string;
800
+ "item.pleaseProvideCode": string;
801
+ "item.pleaseProvideFunction": string;
802
+ "item.jsonEditor": string;
803
+ "item.designModeEdit": string;
804
+ "item.devModeEdit": string;
805
+ "item.nameLabel": string;
806
+ "item.valueLabel": string;
807
+ "item.pleaseInputContent": string;
808
+ "item.pleaseUploadImage": string;
809
+ "item.imageSizeLimit": string;
810
+ "item.videoSizeLimit": string;
811
+ "item.notSupportedOnApp": string;
812
+ "item.unknown": string;
813
+ "item.systemConfig": string;
814
+ "item.currentProperty": string;
815
+ "item.formInstance": string;
816
+ "item.noResult": string;
817
+ "item.onlyResultsAbove": string;
818
+ "item.resultCount": string;
819
+ "item.formData": string;
820
+ "item.formFields": string;
821
+ "item.userInfo": string;
822
+ "item.download": string;
823
+ "item.upload": string;
824
+ "item.theme": string;
825
+ "item.language": string;
826
+ "item.dataSelect": string;
827
+ "item.dataLoading": string;
828
+ "item.propertyNeedsParams": string;
829
+ "item.propertyNeedsParamsSuffix": string;
830
+ "item.uploadImage": string;
831
+ "item.deleteImage": string;
832
+ "item.searchIconPlaceholder": string;
833
+ "item.noContentSet": string;
834
+ "item.editData": string;
835
+ "item.crontabConfig": string;
836
+ /**
837
+ * Context Menu--------------
838
+ */
839
+ "context.new": string;
840
+ "context.cut": string;
841
+ "context.copy": string;
842
+ "context.paste": string;
843
+ "context.selectAll": string;
844
+ "context.clear": string;
845
+ "context.preview": string;
846
+ "context.addComponent": string;
847
+ "context.selectContainer": string;
848
+ "context.undo": string;
849
+ "context.delete": string;
850
+ "context.properties": string;
851
+ "context.centerHorizontally": string;
852
+ "context.moveUpLayer": string;
853
+ "context.moveDownLayer": string;
854
+ "context.bringToFront": string;
855
+ "context.sendToBack": string;
856
+ "context.clearGuides": string;
857
+ /**
858
+ * WebSocket--------------
859
+ */
860
+ "ws.notInitialized": string;
861
+ "ws.connecting": string;
862
+ "ws.connected": string;
863
+ "ws.closing": string;
864
+ "ws.closed": string;
865
+ "ws.unknownState": string;
866
+ /**
867
+ * Utils--------------
868
+ */
869
+ "utils.dictNotConfigured": string;
729
870
  };
730
871
  export default _default;
@@ -150,6 +150,7 @@ declare const _default: {
150
150
  "common.interfaceCallError": string;
151
151
  "common.yes": string;
152
152
  "common.no": string;
153
+ "common.help": string;
153
154
  "common.submit": string;
154
155
  "common.reset": string;
155
156
  "common.submitAndContinue": string;
@@ -158,6 +159,12 @@ declare const _default: {
158
159
  "common.edit": string;
159
160
  "common.view": string;
160
161
  "common.delete": string;
162
+ "common.sessionExpired": string;
163
+ "common.noPagePermission": string;
164
+ "common.fieldNameExists": string;
165
+ "common.copySuccess": string;
166
+ "common.cutSuccess": string;
167
+ "common.toolPanel": string;
161
168
  /**
162
169
  * Cron组件--------------
163
170
  */
@@ -346,6 +353,55 @@ declare const _default: {
346
353
  "api.internationalPhone": string;
347
354
  "api.hexColor": string;
348
355
  "api.custom": string;
356
+ "api.ipv6FormatIncorrect": string;
357
+ "api.macFormatIncorrect": string;
358
+ "api.chineseOnly": string;
359
+ "api.numberRange": string;
360
+ "api.decimalFormat": string;
361
+ "api.decimal": string;
362
+ "api.positiveInteger": string;
363
+ "api.negativeInteger": string;
364
+ "api.nonNegativeInteger": string;
365
+ "api.positiveNumber": string;
366
+ "api.passwordFormat": string;
367
+ "api.mediumPasswordRule": string;
368
+ "api.timeFormat": string;
369
+ "api.timeFormatRule": string;
370
+ "api.datetimeFormat": string;
371
+ "api.datetimeFormatRule": string;
372
+ "api.portFormat": string;
373
+ "api.port": string;
374
+ "api.taxNumberFormat": string;
375
+ "api.taxNumber": string;
376
+ "api.socialCreditCodeFormat": string;
377
+ "api.socialCreditCode": string;
378
+ "api.bankCardFormat": string;
379
+ "api.bankCard": string;
380
+ "api.coordinateFormat": string;
381
+ "api.coordinate": string;
382
+ "api.semverFormat": string;
383
+ "api.semver": string;
384
+ "api.jsonFormat": string;
385
+ "api.base64Format": string;
386
+ "api.base64": string;
387
+ "api.uuidFormat": string;
388
+ "api.uuid": string;
389
+ "api.chinesePhoneFormat": string;
390
+ "api.chinesePhone": string;
391
+ "api.ipv6": string;
392
+ "api.mac": string;
393
+ "api.chinese": string;
394
+ "api.editingByOthers": string;
395
+ "api.fieldEditingByOthers": string;
396
+ "api.interfaceError": string;
397
+ "api.interfaceCallError2": string;
398
+ "api.columnNotEditable": string;
399
+ "api.pleaseInput2": string;
400
+ "api.relationDetailsMustBeArray": string;
401
+ "api.unhandledEvent": string;
402
+ "api.eventTriggerError": string;
403
+ "api.pleaseSelectData2": string;
404
+ "api.noUrlProvided": string;
349
405
  /**
350
406
  * Component Strings
351
407
  */
@@ -727,5 +783,90 @@ declare const _default: {
727
783
  "displayStyle.pad": string;
728
784
  "displayStyle.phone": string;
729
785
  "dashboard.operationHabitsConfig": string;
786
+ /**
787
+ * Item Component Strings
788
+ */
789
+ "item.pleaseSetValue": string;
790
+ "item.pleaseSignFirst": string;
791
+ "item.clear": string;
792
+ "item.undo": string;
793
+ "item.preview": string;
794
+ "item.configureButtonEvent": string;
795
+ "item.confirm": string;
796
+ "item.pleaseFillFormData": string;
797
+ "item.confirmToExecute": string;
798
+ "item.pleaseProvideApiUrl": string;
799
+ "item.returnDataEmpty": string;
800
+ "item.returnDataIsArray": string;
801
+ "item.pleaseProvideCode": string;
802
+ "item.pleaseProvideFunction": string;
803
+ "item.jsonEditor": string;
804
+ "item.designModeEdit": string;
805
+ "item.devModeEdit": string;
806
+ "item.nameLabel": string;
807
+ "item.valueLabel": string;
808
+ "item.pleaseInputContent": string;
809
+ "item.pleaseUploadImage": string;
810
+ "item.imageSizeLimit": string;
811
+ "item.videoSizeLimit": string;
812
+ "item.notSupportedOnApp": string;
813
+ "item.unknown": string;
814
+ "item.systemConfig": string;
815
+ "item.currentProperty": string;
816
+ "item.formInstance": string;
817
+ "item.noResult": string;
818
+ "item.onlyResultsAbove": string;
819
+ "item.resultCount": string;
820
+ "item.formData": string;
821
+ "item.formFields": string;
822
+ "item.userInfo": string;
823
+ "item.download": string;
824
+ "item.upload": string;
825
+ "item.theme": string;
826
+ "item.language": string;
827
+ "item.dataSelect": string;
828
+ "item.dataLoading": string;
829
+ "item.propertyNeedsParams": string;
830
+ "item.propertyNeedsParamsSuffix": string;
831
+ "item.uploadImage": string;
832
+ "item.deleteImage": string;
833
+ "item.searchIconPlaceholder": string;
834
+ "item.noContentSet": string;
835
+ "item.editData": string;
836
+ "item.crontabConfig": string;
837
+ /**
838
+ * 右键菜单--------------
839
+ */
840
+ "context.new": string;
841
+ "context.cut": string;
842
+ "context.copy": string;
843
+ "context.paste": string;
844
+ "context.selectAll": string;
845
+ "context.clear": string;
846
+ "context.preview": string;
847
+ "context.addComponent": string;
848
+ "context.selectContainer": string;
849
+ "context.undo": string;
850
+ "context.delete": string;
851
+ "context.properties": string;
852
+ "context.centerHorizontally": string;
853
+ "context.moveUpLayer": string;
854
+ "context.moveDownLayer": string;
855
+ "context.bringToFront": string;
856
+ "context.sendToBack": string;
857
+ "context.clearGuides": string;
858
+ /**
859
+ * WebSocket--------------
860
+ */
861
+ "ws.notInitialized": string;
862
+ "ws.connecting": string;
863
+ "ws.connected": string;
864
+ "ws.closing": string;
865
+ "ws.closed": string;
866
+ "ws.unknownState": string;
867
+ /**
868
+ * 工具提示--------------
869
+ */
870
+ "utils.dictNotConfigured": string;
730
871
  };
731
872
  export default _default;
@@ -601,6 +601,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
601
601
  addActions?: Function | string;
602
602
  editActions?: Function | string;
603
603
  removeActions?: Function | string;
604
+ children?: /*elided*/ any[];
604
605
  }[];
605
606
  condition?: {
606
607
  propertyName?: string;
@@ -1332,6 +1333,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
1332
1333
  addActions?: Function | string;
1333
1334
  editActions?: Function | string;
1334
1335
  removeActions?: Function | string;
1336
+ children?: /*elided*/ any[];
1335
1337
  }[];
1336
1338
  condition?: {
1337
1339
  propertyName?: string;
@@ -2071,6 +2073,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
2071
2073
  addActions?: Function | string;
2072
2074
  editActions?: Function | string;
2073
2075
  removeActions?: Function | string;
2076
+ children?: /*elided*/ any[];
2074
2077
  }[];
2075
2078
  condition?: {
2076
2079
  propertyName?: string;
@@ -2802,6 +2805,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
2802
2805
  addActions?: Function | string;
2803
2806
  editActions?: Function | string;
2804
2807
  removeActions?: Function | string;
2808
+ children?: /*elided*/ any[];
2805
2809
  }[];
2806
2810
  condition?: {
2807
2811
  propertyName?: string;
@@ -3541,6 +3545,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
3541
3545
  addActions?: Function | string;
3542
3546
  editActions?: Function | string;
3543
3547
  removeActions?: Function | string;
3548
+ children?: /*elided*/ any[];
3544
3549
  }[];
3545
3550
  condition?: {
3546
3551
  propertyName?: string;
@@ -4272,6 +4277,7 @@ export declare const useFormDataCacheStore: import('pinia').StoreDefinition<"for
4272
4277
  addActions?: Function | string;
4273
4278
  editActions?: Function | string;
4274
4279
  removeActions?: Function | string;
4280
+ children?: /*elided*/ any[];
4275
4281
  }[];
4276
4282
  condition?: {
4277
4283
  propertyName?: string;
@@ -3349,6 +3349,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
3349
3349
  addActions?: Function | string;
3350
3350
  editActions?: Function | string;
3351
3351
  removeActions?: Function | string;
3352
+ children?: /*elided*/ any[];
3352
3353
  }[];
3353
3354
  condition?: {
3354
3355
  propertyName?: string;
@@ -4080,6 +4081,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
4080
4081
  addActions?: Function | string;
4081
4082
  editActions?: Function | string;
4082
4083
  removeActions?: Function | string;
4084
+ children?: /*elided*/ any[];
4083
4085
  }[];
4084
4086
  condition?: {
4085
4087
  propertyName?: string;
@@ -4819,6 +4821,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
4819
4821
  addActions?: Function | string;
4820
4822
  editActions?: Function | string;
4821
4823
  removeActions?: Function | string;
4824
+ children?: /*elided*/ any[];
4822
4825
  }[];
4823
4826
  condition?: {
4824
4827
  propertyName?: string;
@@ -5550,6 +5553,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
5550
5553
  addActions?: Function | string;
5551
5554
  editActions?: Function | string;
5552
5555
  removeActions?: Function | string;
5556
+ children?: /*elided*/ any[];
5553
5557
  }[];
5554
5558
  condition?: {
5555
5559
  propertyName?: string;
@@ -6289,6 +6293,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
6289
6293
  addActions?: Function | string;
6290
6294
  editActions?: Function | string;
6291
6295
  removeActions?: Function | string;
6296
+ children?: /*elided*/ any[];
6292
6297
  }[];
6293
6298
  condition?: {
6294
6299
  propertyName?: string;
@@ -7020,6 +7025,7 @@ export declare const getFormDataCacheStore: () => import('pinia').Store<"formDat
7020
7025
  addActions?: Function | string;
7021
7026
  editActions?: Function | string;
7022
7027
  removeActions?: Function | string;
7028
+ children?: /*elided*/ any[];
7023
7029
  }[];
7024
7030
  condition?: {
7025
7031
  propertyName?: string;
@@ -10476,6 +10482,7 @@ declare const _default: {
10476
10482
  addActions?: Function | string;
10477
10483
  editActions?: Function | string;
10478
10484
  removeActions?: Function | string;
10485
+ children?: /*elided*/ any[];
10479
10486
  }[];
10480
10487
  condition?: {
10481
10488
  propertyName?: string;
@@ -11207,6 +11214,7 @@ declare const _default: {
11207
11214
  addActions?: Function | string;
11208
11215
  editActions?: Function | string;
11209
11216
  removeActions?: Function | string;
11217
+ children?: /*elided*/ any[];
11210
11218
  }[];
11211
11219
  condition?: {
11212
11220
  propertyName?: string;
@@ -11946,6 +11954,7 @@ declare const _default: {
11946
11954
  addActions?: Function | string;
11947
11955
  editActions?: Function | string;
11948
11956
  removeActions?: Function | string;
11957
+ children?: /*elided*/ any[];
11949
11958
  }[];
11950
11959
  condition?: {
11951
11960
  propertyName?: string;
@@ -12677,6 +12686,7 @@ declare const _default: {
12677
12686
  addActions?: Function | string;
12678
12687
  editActions?: Function | string;
12679
12688
  removeActions?: Function | string;
12689
+ children?: /*elided*/ any[];
12680
12690
  }[];
12681
12691
  condition?: {
12682
12692
  propertyName?: string;
@@ -13416,6 +13426,7 @@ declare const _default: {
13416
13426
  addActions?: Function | string;
13417
13427
  editActions?: Function | string;
13418
13428
  removeActions?: Function | string;
13429
+ children?: /*elided*/ any[];
13419
13430
  }[];
13420
13431
  condition?: {
13421
13432
  propertyName?: string;
@@ -14147,6 +14158,7 @@ declare const _default: {
14147
14158
  addActions?: Function | string;
14148
14159
  editActions?: Function | string;
14149
14160
  removeActions?: Function | string;
14161
+ children?: /*elided*/ any[];
14150
14162
  }[];
14151
14163
  condition?: {
14152
14164
  propertyName?: string;
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": "3.0.9",
5
+ "version": "3.1.0",
6
6
  "type": "module",
7
7
  "description": "星马低代码核心库,提供了低代码平台的基础功能和组件库。此库可引用到您的项目中,快速构建表单和列表。",
8
8
  "keywords": [