@farris/ui-vue 1.2.4 → 1.2.5

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 (70) hide show
  1. package/components/accordion/index.esm.js +58 -58
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/capsule/index.esm.js +1 -1
  4. package/components/capsule/index.umd.cjs +1 -1
  5. package/components/common/index.esm.js +2 -2
  6. package/components/common/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +137 -135
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/data-grid/index.esm.js +2316 -2299
  10. package/components/data-grid/index.umd.cjs +1 -1
  11. package/components/data-view/index.esm.js +1929 -1920
  12. package/components/data-view/index.umd.cjs +1 -1
  13. package/components/designer-canvas/index.esm.js +1 -1
  14. package/components/designer-canvas/index.umd.cjs +1 -1
  15. package/components/designer-canvas/style.css +1 -1
  16. package/components/designer-outline/index.esm.js +44 -42
  17. package/components/designer-outline/index.umd.cjs +1 -1
  18. package/components/designer-toolbox/index.esm.js +28 -467
  19. package/components/designer-toolbox/index.umd.cjs +1 -1
  20. package/components/dynamic-form/index.esm.js +836 -790
  21. package/components/dynamic-form/index.umd.cjs +1 -1
  22. package/components/external-container/index.esm.js +382 -378
  23. package/components/external-container/index.umd.cjs +1 -1
  24. package/components/field-selector/index.esm.js +1167 -1150
  25. package/components/field-selector/index.umd.cjs +1 -1
  26. package/components/filter-bar/index.esm.js +131 -127
  27. package/components/filter-bar/index.umd.cjs +1 -1
  28. package/components/flow-canvas/index.esm.js +1 -1
  29. package/components/flow-canvas/index.umd.cjs +1 -1
  30. package/components/flow-canvas/style.css +1 -1
  31. package/components/list-view/index.esm.js +128 -124
  32. package/components/list-view/index.umd.cjs +1 -1
  33. package/components/lookup/index.esm.js +2156 -2139
  34. package/components/lookup/index.umd.cjs +1 -1
  35. package/components/mapping-editor/index.esm.js +3137 -3120
  36. package/components/mapping-editor/index.umd.cjs +1 -1
  37. package/components/nav/index.esm.js +511 -469
  38. package/components/nav/index.umd.cjs +2 -2
  39. package/components/order/index.esm.js +859 -815
  40. package/components/order/index.umd.cjs +1 -1
  41. package/components/pagination/index.esm.js +491 -449
  42. package/components/pagination/index.umd.cjs +1 -1
  43. package/components/property-panel/index.esm.js +75 -73
  44. package/components/property-panel/index.umd.cjs +1 -1
  45. package/components/response-layout-editor/index.esm.js +63 -61
  46. package/components/response-layout-editor/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +2002 -1956
  48. package/components/schema-selector/index.umd.cjs +1 -1
  49. package/components/switch/index.esm.js +165 -192
  50. package/components/switch/index.umd.cjs +1 -1
  51. package/components/tabs/index.esm.js +2 -2
  52. package/components/tabs/index.umd.cjs +1 -1
  53. package/components/transfer/index.esm.js +95 -93
  54. package/components/transfer/index.umd.cjs +1 -1
  55. package/components/tree-grid/index.esm.js +2316 -2299
  56. package/components/tree-grid/index.umd.cjs +1 -1
  57. package/components/tree-view/index.esm.js +296 -295
  58. package/components/tree-view/index.umd.cjs +1 -1
  59. package/farris.all.esm.js +2517 -2483
  60. package/farris.all.umd.cjs +7 -7
  61. package/package.json +1 -1
  62. package/style.css +1 -1
  63. package/types/condition/index.d.ts +60 -1
  64. package/types/data-view/components/column-setting/column-setting.component.d.ts +2 -1
  65. package/types/data-view/composition/types.d.ts +2 -0
  66. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +3 -3
  67. package/types/list-view/src/composition/types.d.ts +1 -1
  68. package/types/message-box/index.d.ts +84 -1
  69. package/types/notify/index.d.ts +84 -1
  70. package/types/tree-grid/src/schema/column-resolver.d.ts +3 -0
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { Plugin } from 'vue';
1
17
  import FConditionFields from './src/condition-fields.component';
2
18
  import FConditionList from './src/condition-list.component';
3
19
  export * from './src/condition.props';
@@ -6,4 +22,47 @@ export * from './src/composition/types';
6
22
  export * from './src/composition/condition-value/types';
7
23
  export * from './src/composition/use-condition';
8
24
  export { FConditionFields, FConditionList };
9
- export default FConditionList;
25
+ declare const _default: {
26
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
27
+ key: string;
28
+ conditions: import("./src/types").Condition[];
29
+ fields: import("./src/types").FieldConfig[];
30
+ isControlInline: boolean;
31
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
32
+ key: string;
33
+ conditions: import("./src/types").Condition[];
34
+ fields: import("./src/types").FieldConfig[];
35
+ isControlInline: boolean;
36
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
37
+ P: {};
38
+ B: {};
39
+ D: {};
40
+ C: {};
41
+ M: {};
42
+ Defaults: {};
43
+ }, Readonly<{
44
+ key: string;
45
+ conditions: import("./src/types").Condition[];
46
+ fields: import("./src/types").FieldConfig[];
47
+ isControlInline: boolean;
48
+ }> & Readonly<{}>, () => any, {}, {}, {}, {
49
+ key: string;
50
+ conditions: import("./src/types").Condition[];
51
+ fields: import("./src/types").FieldConfig[];
52
+ isControlInline: boolean;
53
+ }>;
54
+ __isFragment?: undefined;
55
+ __isTeleport?: undefined;
56
+ __isSuspense?: undefined;
57
+ } & import("vue").ComponentOptionsBase<Readonly<{
58
+ key: string;
59
+ conditions: import("./src/types").Condition[];
60
+ fields: import("./src/types").FieldConfig[];
61
+ isControlInline: boolean;
62
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
63
+ key: string;
64
+ conditions: import("./src/types").Condition[];
65
+ fields: import("./src/types").FieldConfig[];
66
+ isControlInline: boolean;
67
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin;
68
+ export default _default;
@@ -1,7 +1,8 @@
1
1
  import { App, Ref } from 'vue';
2
2
  import { DataViewOptions, UseColumn, UseDataView, UseFilter, UseFitColumn, UseSort, UseVirtualScroll } from '../../composition/types';
3
- export default function (props: DataViewOptions, gridContentRef: Ref<any>, viewPortWidth: Ref<number>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useFilterComposition: UseFilter, useFitColumnComposition: UseFitColumn, useSorterComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll): {
3
+ export default function (props: DataViewOptions, gridContentRef: Ref<any>, viewPortWidth: Ref<number>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useFilterComposition: UseFilter, useFitColumnComposition: UseFitColumn, useSorterComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll, modalService: any): {
4
4
  acceptCallback: () => void;
5
5
  rejectCallback: () => void;
6
6
  renderSettingsPanel: (app: App) => any;
7
+ openSettingPanel: () => void;
7
8
  };
@@ -421,6 +421,8 @@ export declare const paginationOptions: {
421
421
  };
422
422
  export type PaginatonOptions = ExtractPropTypes<typeof paginationOptions>;
423
423
  export interface DataViewOptions {
424
+ /** 变更策略 */
425
+ changePolicy: string;
424
426
  /** 列集合 */
425
427
  columns: DataColumn[];
426
428
  /** 列配置 */
@@ -1,3 +1,3 @@
1
- import { UseDesignerRules } from "../../../designer-canvas/src/composition/types";
2
- import { ComponentSchema } from "../../../designer-canvas/src/types";
3
- export declare function useDesignerRules(schema: ComponentSchema, parentSchema?: ComponentSchema): UseDesignerRules;
1
+ import { DesignerHostService, UseDesignerRules } from "../../../designer-canvas/src/composition/types";
2
+ import { DesignerItemContext } from "../../../designer-canvas/src/types";
3
+ export declare function useDesignerRules(designItemContext: DesignerItemContext, designerHostService: DesignerHostService): UseDesignerRules;
@@ -2,7 +2,7 @@ import { Ref } from "vue";
2
2
  export interface UseItem {
3
3
  getKey(item: any, index: number): any;
4
4
  listViewItemClass(item: any, index: number): Record<string, any>;
5
- onCheckItem(item: any, index: number): any;
5
+ onCheckItem(item: any, index: number, oldValue: boolean): any;
6
6
  onClickItem($event: MouseEvent, item: any, index: number): any;
7
7
  }
8
8
  export interface UseSelection {
@@ -1,5 +1,88 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Plugin } from 'vue';
1
17
  import FMessageBox from './src/message-box.component';
2
18
  import FMessageBoxService from './src/message-box.service';
3
19
  export * from './src/message-box.props';
4
20
  export { FMessageBox, FMessageBoxService };
5
- export default FMessageBox;
21
+ declare const _default: {
22
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
23
+ type: string;
24
+ width: number;
25
+ title: string;
26
+ detail: string;
27
+ okButtonText: string;
28
+ cancelButtonText: string;
29
+ exceptionInfo: null;
30
+ promptEditorType: string;
31
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
32
+ type: string;
33
+ width: number;
34
+ title: string;
35
+ detail: string;
36
+ okButtonText: string;
37
+ cancelButtonText: string;
38
+ exceptionInfo: null;
39
+ promptEditorType: string;
40
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
41
+ P: {};
42
+ B: {};
43
+ D: {};
44
+ C: {};
45
+ M: {};
46
+ Defaults: {};
47
+ }, Readonly<{
48
+ type: string;
49
+ width: number;
50
+ title: string;
51
+ detail: string;
52
+ okButtonText: string;
53
+ cancelButtonText: string;
54
+ exceptionInfo: null;
55
+ promptEditorType: string;
56
+ }> & Readonly<{}>, () => any, {}, {}, {}, {
57
+ type: string;
58
+ width: number;
59
+ title: string;
60
+ detail: string;
61
+ okButtonText: string;
62
+ cancelButtonText: string;
63
+ exceptionInfo: null;
64
+ promptEditorType: string;
65
+ }>;
66
+ __isFragment?: undefined;
67
+ __isTeleport?: undefined;
68
+ __isSuspense?: undefined;
69
+ } & import("vue").ComponentOptionsBase<Readonly<{
70
+ type: string;
71
+ width: number;
72
+ title: string;
73
+ detail: string;
74
+ okButtonText: string;
75
+ cancelButtonText: string;
76
+ exceptionInfo: null;
77
+ promptEditorType: string;
78
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
79
+ type: string;
80
+ width: number;
81
+ title: string;
82
+ detail: string;
83
+ okButtonText: string;
84
+ cancelButtonText: string;
85
+ exceptionInfo: null;
86
+ promptEditorType: string;
87
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin;
88
+ export default _default;
@@ -1,3 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Plugin } from 'vue';
1
17
  import FNotify from './src/notify.component';
2
18
  import FToast from './src/components/toast.component';
3
19
  import FNotifyService from './src/notify.service';
@@ -5,4 +21,71 @@ export * from './src/notify.props';
5
21
  export * from './src/components/toast.props';
6
22
  export { FNotify, FNotifyService, FToast };
7
23
  export declare const F_NOTIFY_SERVICE_TOKEN: unique symbol;
8
- export default FNotify;
24
+ declare const _default: {
25
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
26
+ showCloseButton: boolean;
27
+ position: import("./src/notify.props").NotifyPosition;
28
+ timeout: number;
29
+ theme: import("./src/notify.props").NotifyTheme;
30
+ animate: import("./src/notify.props").ToastyAnimate;
31
+ id?: string | undefined;
32
+ left?: number | undefined;
33
+ right?: number | undefined;
34
+ top?: number | undefined;
35
+ bottom?: number | undefined;
36
+ options?: import("./src/notify.props").NotifyData | undefined;
37
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
38
+ showCloseButton: boolean;
39
+ position: import("./src/notify.props").NotifyPosition;
40
+ timeout: number;
41
+ theme: import("./src/notify.props").NotifyTheme;
42
+ animate: import("./src/notify.props").ToastyAnimate;
43
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
44
+ P: {};
45
+ B: {};
46
+ D: {};
47
+ C: {};
48
+ M: {};
49
+ Defaults: {};
50
+ }, Readonly<{
51
+ showCloseButton: boolean;
52
+ position: import("./src/notify.props").NotifyPosition;
53
+ timeout: number;
54
+ theme: import("./src/notify.props").NotifyTheme;
55
+ animate: import("./src/notify.props").ToastyAnimate;
56
+ id?: string | undefined;
57
+ left?: number | undefined;
58
+ right?: number | undefined;
59
+ top?: number | undefined;
60
+ bottom?: number | undefined;
61
+ options?: import("./src/notify.props").NotifyData | undefined;
62
+ }> & Readonly<{}>, () => any, {}, {}, {}, {
63
+ showCloseButton: boolean;
64
+ position: import("./src/notify.props").NotifyPosition;
65
+ timeout: number;
66
+ theme: import("./src/notify.props").NotifyTheme;
67
+ animate: import("./src/notify.props").ToastyAnimate;
68
+ }>;
69
+ __isFragment?: undefined;
70
+ __isTeleport?: undefined;
71
+ __isSuspense?: undefined;
72
+ } & import("vue").ComponentOptionsBase<Readonly<{
73
+ showCloseButton: boolean;
74
+ position: import("./src/notify.props").NotifyPosition;
75
+ timeout: number;
76
+ theme: import("./src/notify.props").NotifyTheme;
77
+ animate: import("./src/notify.props").ToastyAnimate;
78
+ id?: string | undefined;
79
+ left?: number | undefined;
80
+ right?: number | undefined;
81
+ top?: number | undefined;
82
+ bottom?: number | undefined;
83
+ options?: import("./src/notify.props").NotifyData | undefined;
84
+ }> & Readonly<{}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
85
+ showCloseButton: boolean;
86
+ position: import("./src/notify.props").NotifyPosition;
87
+ timeout: number;
88
+ theme: import("./src/notify.props").NotifyTheme;
89
+ animate: import("./src/notify.props").ToastyAnimate;
90
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin;
91
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare function resolveGridColumns(key: string, fields: any, resolvedSchema: any): {
2
+ columns: any;
3
+ };