@ibiz-template/vue3-components 0.6.1-alpha.3 → 0.6.2-dev.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 (52) hide show
  1. package/dist/index-NdPkOMvL.js +4 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.system.min.js +1 -1
  4. package/dist/{xlsx-util-E-30JfqY.js → xlsx-util-HHwgsM7j.js} +1 -1
  5. package/es/common/no-data/no-data.css +1 -1
  6. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +3 -0
  7. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +25 -0
  8. package/es/control/gantt/gantt.d.ts +1 -1
  9. package/es/control/gantt/index.d.ts +1 -1
  10. package/es/control/grid/grid/grid.css +1 -1
  11. package/es/control/grid/grid/grid.mjs +2 -2
  12. package/es/control/tab-exp-panel/tab-exp-panel.mjs +1 -1
  13. package/es/index.mjs +1 -0
  14. package/es/panel-component/index-actions/index-actions.css +1 -1
  15. package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +2 -9
  16. package/es/util/open-view-util/open-view-util.d.ts +1 -1
  17. package/es/util/open-view-util/open-view-util.mjs +6 -2
  18. package/es/view/login-view/login-view.mjs +3 -3
  19. package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +4 -2
  20. package/es/web-app/components/router-shell/router-shell.d.ts +8 -3999
  21. package/es/web-app/components/router-shell/router-shell.mjs +4 -4
  22. package/es/web-app/guard/auth-guard/auth-guard.d.ts +88 -9
  23. package/es/web-app/guard/auth-guard/auth-guard.mjs +183 -134
  24. package/es/web-app/guard/auth-guard/dyna-auth-guard.d.ts +6 -0
  25. package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +67 -0
  26. package/es/web-app/guard/index.d.ts +1 -0
  27. package/es/web-app/guard/index.mjs +1 -0
  28. package/es/web-app/index.d.ts +1 -0
  29. package/es/web-app/index.mjs +2 -0
  30. package/es/web-app/main.d.ts +4 -1
  31. package/es/web-app/main.mjs +10 -1
  32. package/es/web-app/router/index.d.ts +2 -0
  33. package/es/web-app/router/index.mjs +7 -5
  34. package/lib/common/no-data/no-data.css +1 -1
  35. package/lib/control/grid/grid/grid.cjs +2 -2
  36. package/lib/control/grid/grid/grid.css +1 -1
  37. package/lib/control/tab-exp-panel/tab-exp-panel.cjs +1 -1
  38. package/lib/index.cjs +2 -0
  39. package/lib/panel-component/index-actions/index-actions.css +1 -1
  40. package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +2 -9
  41. package/lib/util/open-view-util/open-view-util.cjs +6 -2
  42. package/lib/view/login-view/login-view.cjs +3 -3
  43. package/lib/web-app/components/modal-router-shell/modal-router-shell.cjs +4 -2
  44. package/lib/web-app/components/router-shell/router-shell.cjs +4 -4
  45. package/lib/web-app/guard/auth-guard/auth-guard.cjs +182 -133
  46. package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +69 -0
  47. package/lib/web-app/guard/index.cjs +2 -0
  48. package/lib/web-app/index.cjs +3 -0
  49. package/lib/web-app/main.cjs +10 -1
  50. package/lib/web-app/router/index.cjs +7 -5
  51. package/package.json +6 -6
  52. package/dist/index-_HUj1AMZ.js +0 -4
@@ -1 +1 @@
1
- .ibiz-no-data{width:100%;height:100%}.ibiz-no-data .el-empty__description p{color:var(--ibiz-color-text-3)}
1
+ .ibiz-no-data{width:100%;height:100%}.ibiz-no-data .el-empty__description p{color:var(--ibiz-color-text-3)}.ibiz-no-data .el-empty__image{width:100%;max-width:var(--el-empty-image-width)}
@@ -596,6 +596,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
596
596
  isPrototypeOf: (v: Object) => boolean;
597
597
  propertyIsEnumerable: (v: PropertyKey) => boolean;
598
598
  } | undefined;
599
+ appDEUIActionId?: string | undefined;
599
600
  appDEUILogicId?: string | undefined;
600
601
  appDataEntityId?: string | undefined;
601
602
  appUILogicId?: string | undefined;
@@ -1123,6 +1124,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
1123
1124
  isPrototypeOf: (v: Object) => boolean;
1124
1125
  propertyIsEnumerable: (v: PropertyKey) => boolean;
1125
1126
  } | undefined;
1127
+ appDEUIActionId?: string | undefined;
1126
1128
  appDEUILogicId?: string | undefined;
1127
1129
  appDataEntityId?: string | undefined;
1128
1130
  appUILogicId?: string | undefined;
@@ -1801,6 +1803,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
1801
1803
  isPrototypeOf: (v: Object) => boolean;
1802
1804
  propertyIsEnumerable: (v: PropertyKey) => boolean;
1803
1805
  } | undefined;
1806
+ appDEUIActionId?: string | undefined;
1804
1807
  appDEUILogicId?: string | undefined;
1805
1808
  appDataEntityId?: string | undefined;
1806
1809
  appUILogicId?: string | undefined;
@@ -765,6 +765,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
765
765
  isPrototypeOf: (v: Object) => boolean;
766
766
  propertyIsEnumerable: (v: PropertyKey) => boolean;
767
767
  } | undefined;
768
+ appDEUIActionId?: string | undefined;
768
769
  appDEUILogicId?: string | undefined;
769
770
  appDataEntityId?: string | undefined;
770
771
  appUILogicId?: string | undefined;
@@ -1619,6 +1620,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
1619
1620
  isPrototypeOf: (v: Object) => boolean;
1620
1621
  propertyIsEnumerable: (v: PropertyKey) => boolean;
1621
1622
  } | undefined;
1623
+ appDEUIActionId?: string | undefined;
1622
1624
  appDEUILogicId?: string | undefined;
1623
1625
  appDataEntityId?: string | undefined;
1624
1626
  appUILogicId?: string | undefined;
@@ -2146,6 +2148,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
2146
2148
  isPrototypeOf: (v: Object) => boolean;
2147
2149
  propertyIsEnumerable: (v: PropertyKey) => boolean;
2148
2150
  } | undefined;
2151
+ appDEUIActionId?: string | undefined;
2149
2152
  appDEUILogicId?: string | undefined;
2150
2153
  appDataEntityId?: string | undefined;
2151
2154
  appUILogicId?: string | undefined;
@@ -2824,6 +2827,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
2824
2827
  isPrototypeOf: (v: Object) => boolean;
2825
2828
  propertyIsEnumerable: (v: PropertyKey) => boolean;
2826
2829
  } | undefined;
2830
+ appDEUIActionId?: string | undefined;
2827
2831
  appDEUILogicId?: string | undefined;
2828
2832
  appDataEntityId?: string | undefined;
2829
2833
  appUILogicId?: string | undefined;
@@ -3219,6 +3223,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
3219
3223
  isPrototypeOf: (v: Object) => boolean;
3220
3224
  propertyIsEnumerable: (v: PropertyKey) => boolean;
3221
3225
  } | undefined;
3226
+ appDEUIActionId?: string | undefined;
3222
3227
  appDEUILogicId?: string | undefined;
3223
3228
  appDataEntityId?: string | undefined;
3224
3229
  appUILogicId?: string | undefined;
@@ -3936,6 +3941,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
3936
3941
  isPrototypeOf: (v: Object) => boolean;
3937
3942
  propertyIsEnumerable: (v: PropertyKey) => boolean;
3938
3943
  } | undefined;
3944
+ appDEUIActionId?: string | undefined;
3939
3945
  appDEUILogicId?: string | undefined;
3940
3946
  appDataEntityId?: string | undefined;
3941
3947
  appUILogicId?: string | undefined;
@@ -4703,6 +4709,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
4703
4709
  isPrototypeOf: (v: Object) => boolean;
4704
4710
  propertyIsEnumerable: (v: PropertyKey) => boolean;
4705
4711
  } | undefined;
4712
+ appDEUIActionId?: string | undefined;
4706
4713
  appDEUILogicId?: string | undefined;
4707
4714
  appDataEntityId?: string | undefined;
4708
4715
  appUILogicId?: string | undefined;
@@ -5557,6 +5564,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
5557
5564
  isPrototypeOf: (v: Object) => boolean;
5558
5565
  propertyIsEnumerable: (v: PropertyKey) => boolean;
5559
5566
  } | undefined;
5567
+ appDEUIActionId?: string | undefined;
5560
5568
  appDEUILogicId?: string | undefined;
5561
5569
  appDataEntityId?: string | undefined;
5562
5570
  appUILogicId?: string | undefined;
@@ -6084,6 +6092,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
6084
6092
  isPrototypeOf: (v: Object) => boolean;
6085
6093
  propertyIsEnumerable: (v: PropertyKey) => boolean;
6086
6094
  } | undefined;
6095
+ appDEUIActionId?: string | undefined;
6087
6096
  appDEUILogicId?: string | undefined;
6088
6097
  appDataEntityId?: string | undefined;
6089
6098
  appUILogicId?: string | undefined;
@@ -6762,6 +6771,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
6762
6771
  isPrototypeOf: (v: Object) => boolean;
6763
6772
  propertyIsEnumerable: (v: PropertyKey) => boolean;
6764
6773
  } | undefined;
6774
+ appDEUIActionId?: string | undefined;
6765
6775
  appDEUILogicId?: string | undefined;
6766
6776
  appDataEntityId?: string | undefined;
6767
6777
  appUILogicId?: string | undefined;
@@ -7375,6 +7385,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
7375
7385
  isPrototypeOf: (v: Object) => boolean;
7376
7386
  propertyIsEnumerable: (v: PropertyKey) => boolean;
7377
7387
  } | undefined;
7388
+ appDEUIActionId?: string | undefined;
7378
7389
  appDEUILogicId?: string | undefined;
7379
7390
  appDataEntityId?: string | undefined;
7380
7391
  appUILogicId?: string | undefined;
@@ -8092,6 +8103,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
8092
8103
  isPrototypeOf: (v: Object) => boolean;
8093
8104
  propertyIsEnumerable: (v: PropertyKey) => boolean;
8094
8105
  } | undefined;
8106
+ appDEUIActionId?: string | undefined;
8095
8107
  appDEUILogicId?: string | undefined;
8096
8108
  appDataEntityId?: string | undefined;
8097
8109
  appUILogicId?: string | undefined;
@@ -8835,6 +8847,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
8835
8847
  isPrototypeOf: (v: Object) => boolean;
8836
8848
  propertyIsEnumerable: (v: PropertyKey) => boolean;
8837
8849
  } | undefined;
8850
+ appDEUIActionId?: string | undefined;
8838
8851
  appDEUILogicId?: string | undefined;
8839
8852
  appDataEntityId?: string | undefined;
8840
8853
  appUILogicId?: string | undefined;
@@ -9677,6 +9690,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
9677
9690
  isPrototypeOf: (v: Object) => boolean;
9678
9691
  propertyIsEnumerable: (v: PropertyKey) => boolean;
9679
9692
  } | undefined;
9693
+ appDEUIActionId?: string | undefined;
9680
9694
  appDEUILogicId?: string | undefined;
9681
9695
  appDataEntityId?: string | undefined;
9682
9696
  appUILogicId?: string | undefined;
@@ -10204,6 +10218,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
10204
10218
  isPrototypeOf: (v: Object) => boolean;
10205
10219
  propertyIsEnumerable: (v: PropertyKey) => boolean;
10206
10220
  } | undefined;
10221
+ appDEUIActionId?: string | undefined;
10207
10222
  appDEUILogicId?: string | undefined;
10208
10223
  appDataEntityId?: string | undefined;
10209
10224
  appUILogicId?: string | undefined;
@@ -10858,6 +10873,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
10858
10873
  isPrototypeOf: (v: Object) => boolean;
10859
10874
  propertyIsEnumerable: (v: PropertyKey) => boolean;
10860
10875
  } | undefined;
10876
+ appDEUIActionId?: string | undefined;
10861
10877
  appDEUILogicId?: string | undefined;
10862
10878
  appDataEntityId?: string | undefined;
10863
10879
  appUILogicId?: string | undefined;
@@ -11836,6 +11852,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
11836
11852
  isPrototypeOf: (v: Object) => boolean;
11837
11853
  propertyIsEnumerable: (v: PropertyKey) => boolean;
11838
11854
  } | undefined;
11855
+ appDEUIActionId?: string | undefined;
11839
11856
  appDEUILogicId?: string | undefined;
11840
11857
  appDataEntityId?: string | undefined;
11841
11858
  appUILogicId?: string | undefined;
@@ -12690,6 +12707,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
12690
12707
  isPrototypeOf: (v: Object) => boolean;
12691
12708
  propertyIsEnumerable: (v: PropertyKey) => boolean;
12692
12709
  } | undefined;
12710
+ appDEUIActionId?: string | undefined;
12693
12711
  appDEUILogicId?: string | undefined;
12694
12712
  appDataEntityId?: string | undefined;
12695
12713
  appUILogicId?: string | undefined;
@@ -13217,6 +13235,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
13217
13235
  isPrototypeOf: (v: Object) => boolean;
13218
13236
  propertyIsEnumerable: (v: PropertyKey) => boolean;
13219
13237
  } | undefined;
13238
+ appDEUIActionId?: string | undefined;
13220
13239
  appDEUILogicId?: string | undefined;
13221
13240
  appDataEntityId?: string | undefined;
13222
13241
  appUILogicId?: string | undefined;
@@ -13895,6 +13914,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
13895
13914
  isPrototypeOf: (v: Object) => boolean;
13896
13915
  propertyIsEnumerable: (v: PropertyKey) => boolean;
13897
13916
  } | undefined;
13917
+ appDEUIActionId?: string | undefined;
13898
13918
  appDEUILogicId?: string | undefined;
13899
13919
  appDataEntityId?: string | undefined;
13900
13920
  appUILogicId?: string | undefined;
@@ -15121,6 +15141,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
15121
15141
  isPrototypeOf: (v: Object) => boolean;
15122
15142
  propertyIsEnumerable: (v: PropertyKey) => boolean;
15123
15143
  } | undefined;
15144
+ appDEUIActionId?: string | undefined;
15124
15145
  appDEUILogicId?: string | undefined;
15125
15146
  appDataEntityId?: string | undefined;
15126
15147
  appUILogicId?: string | undefined;
@@ -16125,6 +16146,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
16125
16146
  isPrototypeOf: (v: Object) => boolean;
16126
16147
  propertyIsEnumerable: (v: PropertyKey) => boolean;
16127
16148
  } | undefined;
16149
+ appDEUIActionId?: string | undefined;
16128
16150
  appDEUILogicId?: string | undefined;
16129
16151
  appDataEntityId?: string | undefined;
16130
16152
  appUILogicId?: string | undefined;
@@ -16986,6 +17008,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
16986
17008
  isPrototypeOf: (v: Object) => boolean;
16987
17009
  propertyIsEnumerable: (v: PropertyKey) => boolean;
16988
17010
  } | undefined;
17011
+ appDEUIActionId?: string | undefined;
16989
17012
  appDEUILogicId?: string | undefined;
16990
17013
  appDataEntityId?: string | undefined;
16991
17014
  appUILogicId?: string | undefined;
@@ -17523,6 +17546,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
17523
17546
  isPrototypeOf: (v: Object) => boolean;
17524
17547
  propertyIsEnumerable: (v: PropertyKey) => boolean;
17525
17548
  } | undefined;
17549
+ appDEUIActionId?: string | undefined;
17526
17550
  appDEUILogicId?: string | undefined;
17527
17551
  appDataEntityId?: string | undefined;
17528
17552
  appUILogicId?: string | undefined;
@@ -18201,6 +18225,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
18201
18225
  isPrototypeOf: (v: Object) => boolean;
18202
18226
  propertyIsEnumerable: (v: PropertyKey) => boolean;
18203
18227
  } | undefined;
18228
+ appDEUIActionId?: string | undefined;
18204
18229
  appDEUILogicId?: string | undefined;
18205
18230
  appDataEntityId?: string | undefined;
18206
18231
  appUILogicId?: string | undefined;
@@ -36,7 +36,7 @@ export declare const GanttControl: import("vue").DefineComponent<{
36
36
  ganttRef: Ref<IData | undefined>;
37
37
  isInited: Ref<boolean>;
38
38
  data: import("vue").ComputedRef<import("@ibiz-template/runtime").ITreeNodeData[] | undefined>;
39
- locale: import("vue").ComputedRef<any>;
39
+ locale: import("vue").ComputedRef<string>;
40
40
  columns: import("vue").ComputedRef<IDETreeColumn[]>;
41
41
  onCheck: (state: boolean, item: IGanttNodeData) => void;
42
42
  loading: import("vue").ComputedRef<boolean>;
@@ -32,7 +32,7 @@ export declare const IBizGanttControl: import("@ibiz-template/vue3-util").TypeWi
32
32
  ganttRef: import("vue").Ref<IData | undefined>;
33
33
  isInited: import("vue").Ref<boolean>;
34
34
  data: import("vue").ComputedRef<import("@ibiz-template/runtime").ITreeNodeData[] | undefined>;
35
- locale: import("vue").ComputedRef<any>;
35
+ locale: import("vue").ComputedRef<string>;
36
36
  columns: import("vue").ComputedRef<import("@ibiz/model-core").IDETreeColumn[]>;
37
37
  onCheck: (state: boolean, item: import("@ibiz-template/runtime").IGanttNodeData) => void;
38
38
  loading: import("vue").ComputedRef<boolean>;
@@ -1 +1 @@
1
- .ibiz-control-grid{--ibiz-control-grid-text-color:var(--ibiz-color-text-0);--ibiz-control-grid-bg-color:transparent;--ibiz-control-grid-padding:0;--ibiz-control-grid-cell-padding:var(--ibiz-spacing-tight);--ibiz-control-grid-selection-padding:var(--ibiz-spacing-base-loose);--ibiz-control-grid-row-edit-bg-color:var(--ibiz-color-fill-2);--ibiz-control-grid-row-bg-color:var(--ibiz-color-bg-1);--ibiz-control-grid-row-bg-color-2:var(--ibiz-color-bg-0);--ibiz-control-grid-now-header-height:auto;--ibiz-control-grid-header-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-header-cell-padding:var(--ibiz-control-grid-cell-padding);--ibiz-control-grid-header-height:auto;--ibiz-control-grid-header-bg-color:var(--ibiz-color-tertiary-light-hover);--ibiz-control-grid-header-font-size:var(--ibiz-font-size-regular);--ibiz-control-grid-header-font-weight:var(--ibiz-font-weight-regular);--ibiz-control-grid-content-text-color:var(--ibiz-control-grid-text-color);--ibiz-control-grid-content-row-height:48px;--ibiz-control-grid-page-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-page-height:50px;--ibiz-control-grid-page-padding:0 var(--ibiz-spacing-base-tight);--ibiz-control-grid-footer-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-footer-bg-color:var(--ibiz-color-tertiary-light-hover);--ibiz-control-grid-footer-font-size:var(--ibiz-font-size-regular);--ibiz-control-grid-footer-font-weight:var(--ibiz-font-weight-bold);position:relative;width:100%;height:100%;padding:var(--ibiz-control-grid-padding);background-color:var(--ibiz-control-grid-bg-color)}.ibiz-control-grid .el-table{--el-table-header-bg-color:var(--ibiz-control-grid-header-bg-color);--el-table-border-color:transparent}.ibiz-control-grid .el-table--border .el-table__cell{border-right:none}.ibiz-control-grid .el-table-fixed-column--left,.ibiz-control-grid .el-table-fixed-column--right{--el-bg-color:transparent}.ibiz-control-grid .el-table thead.is-group th.el-table__cell{background:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid.is-enable-page .ibiz-control-grid__table{height:calc(100% - var(--ibiz-control-grid-page-height))}.ibiz-control-grid.is-enable-group .el-table__indent{display:none}.ibiz-control-grid__table{width:100%;height:100%}.ibiz-control-grid__table .caret-wrapper{justify-content:center}.ibiz-control-grid__table .caret-wrapper>*+*{margin-top:3px}.ibiz-control-grid__table .sort-caret{position:initial}.ibiz-control-grid__table.el-table .el-table__cell{padding:0}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr td{background:var(--ibiz-control-grid-row-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr:nth-child(2n) td{background-color:var(--ibiz-control-grid-row-bg-color-2)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr:hover td{background-color:var(--el-table-row-hover-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr.current-row td{background-color:var(--el-table-current-row-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr.editing-row td{background-color:var(--ibiz-control-grid-row-edit-bg-color)}.ibiz-control-grid__table .el-table__header-wrapper .cell{height:var(--ibiz-control-grid-header-height);padding:var(--ibiz-control-grid-header-cell-padding);font-size:var(--ibiz-control-grid-header-font-size);font-weight:var(--ibiz-control-grid-header-font-weight);color:var(--ibiz-control-grid-header-text-color);word-break:break-word;white-space:pre-wrap}.ibiz-control-grid__table .el-table__header-wrapper .el-table-column--selection .cell{padding:var(--ibiz-control-grid-selection-padding)}.ibiz-control-grid__table .el-table__header-wrapper .is-sortable.el-table__cell .cell{display:flex;align-items:center;justify-content:var(--ibiz-grid-column-justify-content)}.ibiz-control-grid__table .el-table__body-wrapper{color:var(--ibiz-control-grid-content-text-color);border-bottom:.1px solid var(--ibiz-color-border)}.ibiz-control-grid__table .el-table__body-wrapper .el-table__row{height:var(--ibiz-control-grid-content-row-height);cursor:pointer}.ibiz-control-grid__table .el-table__body-wrapper .el-table__row>td{height:0;padding:0}@-moz-document url-prefix(){.ibiz-control-grid__table .el-table__body-wrapper .el-table__row>td{height:100%}}.ibiz-control-grid__table .el-table__body-wrapper .cell{display:flex;align-items:center;height:100%;padding:0}.ibiz-control-grid__table .el-table__body-wrapper .el-table-column--selection .cell{padding:var(--ibiz-control-grid-selection-padding)}.ibiz-control-grid__table .el-table__cell.is-center{--ibiz-grid-column-text-align:center;--ibiz-grid-column-justify-content:center}.ibiz-control-grid__table .el-table__cell.is-left{--ibiz-grid-column-text-align:left;--ibiz-grid-column-justify-content:flex-start}.ibiz-control-grid__table .el-table__cell.is-right{--ibiz-grid-column-text-align:right;--ibiz-grid-column-justify-content:flex-end}.ibiz-control-grid__table .el-scrollbar__wrap{position:relative}.ibiz-control-grid__table .el-table__footer-wrapper tfoot td.el-table__cell{font-size:var(--ibiz-control-grid-footer-font-size);font-weight:var(--ibiz-control-grid-footer-font-weight);color:var(--ibiz-control-grid-footer-text-color);background-color:var(--ibiz-control-grid-footer-bg-color)}.ibiz-control-grid__table .el-table__footer-wrapper tfoot td.el-table__cell:first-child>div{display:inline;vertical-align:4px}.ibiz-control-grid .el-table td.el-table__cell,.ibiz-control-grid .el-table th.el-table__cell.is-leaf{border-bottom:none}.ibiz-control-grid .ibiz-pagination{--ibiz-pagination-height:var(--ibiz-control-grid-page-height);--ibiz-pagination-text-color:var(--ibiz-control-grid-text-color);--ibiz-pagination-padding:var(--ibiz-control-grid-page-padding)}.ibiz-control-grid.is-single-select .el-table__header-wrapper .el-table__header thead>tr th:nth-child(1){padding-left:var(--ibiz-spacing-tight)}.ibiz-control-grid.is-single-select .el-table__body-wrapper .el-table__body tbody>tr td:nth-child(1){padding-left:var(--ibiz-spacing-tight)}.ibiz-control-grid.is-enable-customized .el-table__header-wrapper .el-table__header thead>tr th:last-child{padding-right:var(--ibiz-spacing-base-loose)}.ibiz-control-grid.is-enable-customized .ibiz-control-grid-setting-box{display:flex;align-items:center;justify-content:flex-start;position:absolute;top:0;right:0;z-index:1;height:var(--ibiz-control-grid-now-header-height);padding-right:var(--ibiz-spacing-extra-tight);background-color:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid.is-enable-customized .ibiz-grid-setting{cursor:pointer}.ibiz-control-grid-quick-toolbar{justify-content:center}.ibiz-control-grid-batch-toolbar{position:absolute;top:0;left:54px;z-index:99;display:none;width:calc(100% - 54px);height:var(--ibiz-control-grid-now-header-height);font-size:var(--ibiz-font-size-regular);font-weight:var(--ibiz-font-weight-regular);background-color:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid-batch-toolbar.is-show{display:flex;align-items:center;justify-content:flex-start}.ibiz-control-grid-batch-toolbar .ibiz-control-grid-batch-toolbar-separator{padding:0 var(--ibiz-spacing-base-tight)}.ibiz-control-grid-batch-toolbar .ibiz-control-grid-batch-toolbar-content{height:100%;display:flex;align-items:center;justify-content:flex-start}
1
+ .ibiz-control-grid{--ibiz-control-grid-text-color:var(--ibiz-color-text-0);--ibiz-control-grid-bg-color:transparent;--ibiz-control-grid-padding:0;--ibiz-control-grid-cell-padding:var(--ibiz-spacing-tight);--ibiz-control-grid-selection-padding:var(--ibiz-spacing-base-loose);--ibiz-control-grid-row-edit-bg-color:var(--ibiz-color-fill-2);--ibiz-control-grid-row-bg-color:var(--ibiz-color-bg-1);--ibiz-control-grid-row-bg-color-2:var(--ibiz-color-bg-0);--ibiz-control-grid-now-header-height:auto;--ibiz-control-grid-header-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-header-cell-padding:var(--ibiz-control-grid-cell-padding);--ibiz-control-grid-header-height:auto;--ibiz-control-grid-header-bg-color:var(--ibiz-color-tertiary-light-hover);--ibiz-control-grid-header-font-size:var(--ibiz-font-size-regular);--ibiz-control-grid-header-font-weight:var(--ibiz-font-weight-regular);--ibiz-control-grid-content-text-color:var(--ibiz-control-grid-text-color);--ibiz-control-grid-content-row-height:48px;--ibiz-control-grid-page-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-page-height:50px;--ibiz-control-grid-page-padding:0 var(--ibiz-spacing-base-tight);--ibiz-control-grid-footer-text-color:var(--ibiz-color-text-2);--ibiz-control-grid-footer-bg-color:var(--ibiz-color-tertiary-light-hover);--ibiz-control-grid-footer-font-size:var(--ibiz-font-size-regular);--ibiz-control-grid-footer-font-weight:var(--ibiz-font-weight-bold);position:relative;width:100%;height:100%;padding:var(--ibiz-control-grid-padding);background-color:var(--ibiz-control-grid-bg-color)}.ibiz-control-grid .el-table{--el-table-header-bg-color:var(--ibiz-control-grid-header-bg-color);--el-table-border-color:transparent}.ibiz-control-grid.is-empty .el-scrollbar .el-scrollbar__view{height:100%}.ibiz-control-grid.is-empty .el-table__empty-text{display:inline-block;height:100%}.ibiz-control-grid .el-table--border .el-table__cell{border-right:none}.ibiz-control-grid .el-table-fixed-column--left,.ibiz-control-grid .el-table-fixed-column--right{--el-bg-color:transparent}.ibiz-control-grid .el-table thead.is-group th.el-table__cell{background:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid.is-enable-page .ibiz-control-grid__table{height:calc(100% - var(--ibiz-control-grid-page-height))}.ibiz-control-grid.is-enable-group .el-table__indent{display:none}.ibiz-control-grid__table{width:100%;height:100%}.ibiz-control-grid__table .caret-wrapper{justify-content:center}.ibiz-control-grid__table .caret-wrapper>*+*{margin-top:3px}.ibiz-control-grid__table .sort-caret{position:initial}.ibiz-control-grid__table.el-table .el-table__cell{padding:0}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr td{background:var(--ibiz-control-grid-row-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr:nth-child(2n) td{background-color:var(--ibiz-control-grid-row-bg-color-2)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr:hover td{background-color:var(--el-table-row-hover-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr.current-row td{background-color:var(--el-table-current-row-bg-color)}.ibiz-control-grid__table.el-table .el-table__body-wrapper tr.editing-row td{background-color:var(--ibiz-control-grid-row-edit-bg-color)}.ibiz-control-grid__table .el-table__header-wrapper .cell{height:var(--ibiz-control-grid-header-height);padding:var(--ibiz-control-grid-header-cell-padding);font-size:var(--ibiz-control-grid-header-font-size);font-weight:var(--ibiz-control-grid-header-font-weight);color:var(--ibiz-control-grid-header-text-color);word-break:break-word;white-space:pre-wrap}.ibiz-control-grid__table .el-table__header-wrapper .el-table-column--selection .cell{padding:var(--ibiz-control-grid-selection-padding)}.ibiz-control-grid__table .el-table__header-wrapper .is-sortable.el-table__cell .cell{display:flex;align-items:center;justify-content:var(--ibiz-grid-column-justify-content)}.ibiz-control-grid__table .el-table__body-wrapper{color:var(--ibiz-control-grid-content-text-color);border-bottom:.1px solid var(--ibiz-color-border)}.ibiz-control-grid__table .el-table__body-wrapper .el-table__row{height:var(--ibiz-control-grid-content-row-height);cursor:pointer}.ibiz-control-grid__table .el-table__body-wrapper .el-table__row>td{height:0;padding:0}@-moz-document url-prefix(){.ibiz-control-grid__table .el-table__body-wrapper .el-table__row>td{height:100%}}.ibiz-control-grid__table .el-table__body-wrapper .cell{display:flex;align-items:center;height:100%;padding:0}.ibiz-control-grid__table .el-table__body-wrapper .el-table-column--selection .cell{padding:var(--ibiz-control-grid-selection-padding)}.ibiz-control-grid__table .el-table__cell.is-center{--ibiz-grid-column-text-align:center;--ibiz-grid-column-justify-content:center}.ibiz-control-grid__table .el-table__cell.is-left{--ibiz-grid-column-text-align:left;--ibiz-grid-column-justify-content:flex-start}.ibiz-control-grid__table .el-table__cell.is-right{--ibiz-grid-column-text-align:right;--ibiz-grid-column-justify-content:flex-end}.ibiz-control-grid__table .el-scrollbar__wrap{position:relative}.ibiz-control-grid__table .el-table__footer-wrapper tfoot td.el-table__cell{font-size:var(--ibiz-control-grid-footer-font-size);font-weight:var(--ibiz-control-grid-footer-font-weight);color:var(--ibiz-control-grid-footer-text-color);background-color:var(--ibiz-control-grid-footer-bg-color)}.ibiz-control-grid__table .el-table__footer-wrapper tfoot td.el-table__cell:first-child>div{display:inline;vertical-align:4px}.ibiz-control-grid .el-table td.el-table__cell,.ibiz-control-grid .el-table th.el-table__cell.is-leaf{border-bottom:none}.ibiz-control-grid .ibiz-pagination{--ibiz-pagination-height:var(--ibiz-control-grid-page-height);--ibiz-pagination-text-color:var(--ibiz-control-grid-text-color);--ibiz-pagination-padding:var(--ibiz-control-grid-page-padding)}.ibiz-control-grid.is-single-select .el-table__header-wrapper .el-table__header thead>tr th:nth-child(1){padding-left:var(--ibiz-spacing-tight)}.ibiz-control-grid.is-single-select .el-table__body-wrapper .el-table__body tbody>tr td:nth-child(1){padding-left:var(--ibiz-spacing-tight)}.ibiz-control-grid.is-enable-customized .el-table__header-wrapper .el-table__header thead>tr th:last-child{padding-right:var(--ibiz-spacing-base-loose)}.ibiz-control-grid.is-enable-customized .ibiz-control-grid-setting-box{display:flex;align-items:center;justify-content:flex-start;position:absolute;top:0;right:0;z-index:1;height:var(--ibiz-control-grid-now-header-height);padding-right:var(--ibiz-spacing-extra-tight);background-color:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid.is-enable-customized .ibiz-grid-setting{cursor:pointer}.ibiz-control-grid-quick-toolbar{justify-content:center}.ibiz-control-grid-batch-toolbar{position:absolute;top:0;left:54px;z-index:99;display:none;width:calc(100% - 54px);height:var(--ibiz-control-grid-now-header-height);font-size:var(--ibiz-font-size-regular);font-weight:var(--ibiz-font-weight-regular);background-color:var(--ibiz-control-grid-header-bg-color)}.ibiz-control-grid-batch-toolbar.is-show{display:flex;align-items:center;justify-content:flex-start}.ibiz-control-grid-batch-toolbar .ibiz-control-grid-batch-toolbar-separator{padding:0 var(--ibiz-spacing-base-tight)}.ibiz-control-grid-batch-toolbar .ibiz-control-grid-batch-toolbar-content{height:100%;display:flex;align-items:center;justify-content:flex-start}
@@ -166,7 +166,7 @@ const GridControl = /* @__PURE__ */ defineComponent({
166
166
  "emptyTextLanguageRes": c.model.emptyTextLanguageRes
167
167
  }, null);
168
168
  }
169
- return null;
169
+ return createVNode("div", null, null);
170
170
  };
171
171
  const {
172
172
  tableData,
@@ -236,7 +236,7 @@ const GridControl = /* @__PURE__ */ defineComponent({
236
236
  enablePagingBar
237
237
  } = this.c.model;
238
238
  return createVNode(resolveComponent("iBizControlBase"), {
239
- "class": [this.ns.is("show-header", !hideHeader), this.ns.is("enable-page", enablePagingBar), this.ns.is("enable-group", this.c.model.enableGroup), this.ns.is("single-select", state.singleSelect), this.ns.is("enable-customized", this.c.model.enableCustomized)],
239
+ "class": [this.ns.is("show-header", !hideHeader), this.ns.is("enable-page", enablePagingBar), this.ns.is("enable-group", this.c.model.enableGroup), this.ns.is("single-select", state.singleSelect), this.ns.is("empty", state.items.length === 0), this.ns.is("enable-customized", this.c.model.enableCustomized)],
240
240
  "controller": this.c,
241
241
  "style": this.headerCssVars
242
242
  }, {
@@ -48,7 +48,7 @@ const TabExpPanelControl = /* @__PURE__ */ defineComponent({
48
48
  const {
49
49
  srfnav
50
50
  } = routePath.pathNodes[depth - 1];
51
- if (srfnav && c.state.activeName && c.state.activeName !== srfnav) {
51
+ if (c.view.isActive && srfnav && c.state.activeName && c.state.activeName !== srfnav) {
52
52
  c.state.activeName = srfnav;
53
53
  c.handleTabChange();
54
54
  }
package/es/index.mjs CHANGED
@@ -117,6 +117,7 @@ export { OpenViewUtil } from './util/open-view-util/open-view-util.mjs';
117
117
  export { OverlayController } from './util/overlay-controller/overlay-controller.mjs';
118
118
  export { usePagination } from './util/pagination/use-pagination.mjs';
119
119
  export { NoticeUtil } from './util/notice-util/notice-util.mjs';
120
+ export { AuthGuard } from './web-app/guard/auth-guard/auth-guard.mjs';
120
121
  export { runApp } from './web-app/main.mjs';
121
122
 
122
123
  "use strict";
@@ -1 +1 @@
1
- .ibiz-index-actions{width:100%;height:100%}.ibiz-index-actions>.ibiz-row{height:100%;overflow:hidden auto}.ibiz-index-actions>.ibiz-row>.ibiz-col,.ibiz-index-actions>.ibiz-row>.ibiz-col div{overflow:visible}.ibiz-index-actions.is-hidden{display:none}.ibiz-index-actions .el-button{font-size:28px}.ibiz-index-actions .el-button:hover{background-color:transparent}
1
+ .ibiz-index-actions{width:100%;height:100%}.ibiz-index-actions>.ibiz-row{height:100%;overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child{overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child>.ibiz-panel-container>.ibiz-row{overflow:visible}.ibiz-index-actions.is-hidden{display:none}.ibiz-index-actions .el-button{font-size:28px}.ibiz-index-actions .el-button:hover{background-color:transparent}
@@ -61,7 +61,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
61
61
  }
62
62
  return createVNode("div", {
63
63
  "class": this.classArr
64
- }, [this.menuAlign === "LEFT" && !this.isCollapse ? createVNode(resolveComponent("el-input"), {
64
+ }, [this.menuAlign === "LEFT" && !this.isCollapse && createVNode(resolveComponent("el-input"), {
65
65
  "model-value": this.query,
66
66
  "class": this.ns.b("search"),
67
67
  "placeholder": ibiz.i18n.t("component.indexSearch.placeholder"),
@@ -73,14 +73,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ defineComponent({
73
73
  "name": "search"
74
74
  }, null);
75
75
  }
76
- }) : createVNode("div", {
77
- "class": this.ns.b("btn")
78
- }, [createVNode(resolveComponent("el-button"), null, {
79
- default: () => [createVNode("ion-icon", {
80
- "class": this.ns.e("search-icon"),
81
- "name": "search"
82
- }, null)]
83
- })])]);
76
+ })]);
84
77
  }
85
78
  });
86
79
 
@@ -15,7 +15,7 @@ export declare class OpenViewUtil implements IOpenViewUtil {
15
15
  protected router: Router;
16
16
  constructor(router: Router);
17
17
  push(path: string): Promise<IModalData>;
18
- root(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
18
+ root(appViewId: string, context: IContext, params?: IParams, modalOptions?: IData): Promise<IModalData>;
19
19
  rootByModal(appViewId: string, context: IContext, params?: IParams): Promise<IModalData>;
20
20
  /**
21
21
  * 模态打开视图
@@ -9,7 +9,7 @@ class OpenViewUtil {
9
9
  push(path) {
10
10
  return routerCallback.open(this.router, path);
11
11
  }
12
- async root(appViewId, context, params) {
12
+ async root(appViewId, context, params, modalOptions) {
13
13
  const appView = await ibiz.hub.config.view.get(appViewId);
14
14
  const { path } = await generateRoutePath(
15
15
  appView,
@@ -17,7 +17,11 @@ class OpenViewUtil {
17
17
  context,
18
18
  params
19
19
  );
20
- this.router.push({ path });
20
+ if (modalOptions && modalOptions.replace === true) {
21
+ this.router.replace({ path });
22
+ } else {
23
+ this.router.push({ path });
24
+ }
21
25
  return { ok: true };
22
26
  }
23
27
  async rootByModal(appViewId, context, params) {
@@ -81,9 +81,9 @@ const LoginView = /* @__PURE__ */ defineComponent({
81
81
  }
82
82
  } else {
83
83
  try {
84
- const loginViewModel = await ibiz.hub.getAppView("AppLoginView");
85
- if (loginViewModel) {
86
- loginView.value = loginViewModel;
84
+ const loginViewConfig = await ibiz.hub.config.view.get("AppLoginView");
85
+ if (loginViewConfig) {
86
+ loginView.value = loginViewConfig;
87
87
  hasLoginView.value = true;
88
88
  }
89
89
  } catch (err) {
@@ -75,10 +75,12 @@ const ModalRouterShell = /* @__PURE__ */ defineComponent({
75
75
  const _context = IBizContext.create({});
76
76
  viewData.value.context = _context;
77
77
  }
78
- let appView = null;
78
+ let appView = viewData.value.viewConfig;
79
79
  let component;
80
80
  try {
81
- appView = await ibiz.hub.config.view.get(appViewId);
81
+ if (!appView) {
82
+ appView = await ibiz.hub.config.view.get(appViewId);
83
+ }
82
84
  component = createOverlayView({
83
85
  context: viewData.value.context,
84
86
  params: viewData.value.params,