@flyto/farco 1.0.0 → 1.0.1

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.
@@ -1,7 +1,7 @@
1
1
  import { ExtractPublicPropTypes, PropType } from 'vue';
2
2
  import { RadioOption } from '@arco-design/web-vue/es/radio/interface';
3
3
  import { CheckboxGroupInstance } from '@arco-design/web-vue';
4
- import { FArcoRender, FMethodData } from '../../../../../../../../src/types';
4
+ import { FArcoRender, FMethodData } from '../../../../../../../../../src/types';
5
5
 
6
6
  export type FCheckboxOptions = (Omit<RadioOption, 'value'> & {
7
7
  slots?: {
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
9
9
  };
10
10
  options: {
11
11
  requried: boolean;
12
- type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
12
+ type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
13
13
  default: null;
14
14
  };
15
15
  optionKeyNames: {
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
41
41
  };
42
42
  options: {
43
43
  requried: boolean;
44
- type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
44
+ type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
45
45
  default: null;
46
46
  };
47
47
  optionKeyNames: {
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
52
52
  };
53
53
  };
54
54
  }>> & Readonly<{}>, {
55
- options: FCheckboxOptions | import('../../../../../../../../src/types').FMethodData<FCheckboxOptions>;
55
+ options: FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>;
56
56
  defaultValue: (string | number | boolean)[];
57
57
  optionKeyNames: import('./fcheckbox').FCheckboxOptionKeyNames;
58
58
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<`checkbox-${any}`, (_: {
@@ -61,13 +61,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
61
61
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
62
62
  disabled?: boolean | undefined;
63
63
  slots?: {
64
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
64
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
65
65
  } | undefined;
66
66
  value?: unknown;
67
67
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
68
68
  [key: string]: any;
69
69
  slots?: {
70
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
70
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
71
71
  } | undefined;
72
72
  value?: unknown;
73
73
  } & {
@@ -75,7 +75,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
75
75
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
76
76
  disabled?: boolean | undefined;
77
77
  slots?: {
78
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
78
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
79
79
  } | undefined;
80
80
  value?: unknown;
81
81
  });
@@ -87,13 +87,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
87
87
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
88
88
  disabled?: boolean | undefined;
89
89
  slots?: {
90
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
90
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
91
91
  } | undefined;
92
92
  value?: unknown;
93
93
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
94
94
  [key: string]: any;
95
95
  slots?: {
96
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
96
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
97
97
  } | undefined;
98
98
  value?: unknown;
99
99
  } & {
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
101
101
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
102
102
  disabled?: boolean | undefined;
103
103
  slots?: {
104
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
104
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
105
105
  } | undefined;
106
106
  value?: unknown;
107
107
  });
@@ -113,13 +113,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
113
113
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
114
114
  disabled?: boolean | undefined;
115
115
  slots?: {
116
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
116
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
117
117
  } | undefined;
118
118
  value?: unknown;
119
119
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
120
120
  [key: string]: any;
121
121
  slots?: {
122
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
122
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
123
123
  } | undefined;
124
124
  value?: unknown;
125
125
  } & {
@@ -127,7 +127,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
127
127
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
128
128
  disabled?: boolean | undefined;
129
129
  slots?: {
130
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
130
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
131
131
  } | undefined;
132
132
  value?: unknown;
133
133
  });
@@ -140,13 +140,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
140
140
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
141
141
  disabled?: boolean | undefined;
142
142
  slots?: {
143
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
143
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
144
144
  } | undefined;
145
145
  value?: unknown;
146
146
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
147
147
  [key: string]: any;
148
148
  slots?: {
149
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
149
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
150
150
  } | undefined;
151
151
  value?: unknown;
152
152
  } & {
@@ -154,7 +154,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
154
154
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
155
155
  disabled?: boolean | undefined;
156
156
  slots?: {
157
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
157
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
158
158
  } | undefined;
159
159
  value?: unknown;
160
160
  });
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ExtractPublicPropTypes, PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { GridItemProps, Form, GridProps } from '@arco-design/web-vue';
4
4
  import { FFormItemProps } from '../fform-item';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ExtractPublicPropTypes, Component, PropType, VNodeChild } from 'vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { FieldRule, FormItem } from '@arco-design/web-vue';
4
4
 
5
5
  export declare const CUSTOM_COMPONENT_NAME = "custom";
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./components.d.ts" />
2
- import { AnyObject } from '../../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../../src/types';
3
3
  import { FQueryListProps } from '../../fquery-list';
4
4
 
5
5
  declare const _default: {
@@ -1,5 +1,5 @@
1
1
  import { nextTick, PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { FTableCol, FTableMethodData } from '../ftable';
4
4
 
5
5
  declare const _default: <TData extends AnyObject<any> = AnyObject<any>, TClos extends AnyObject<any> = TData>(__VLS_props: {
@@ -1,7 +1,7 @@
1
1
  import { ExtractPublicPropTypes, PropType } from 'vue';
2
2
  import { RadioOption } from '@arco-design/web-vue/es/radio/interface';
3
3
  import { RadioGroupInstance } from '@arco-design/web-vue';
4
- import { FArcoRender, FMethodData } from '../../../../../../../../src/types';
4
+ import { FArcoRender, FMethodData } from '../../../../../../../../../src/types';
5
5
 
6
6
  export type FRadioOptions = (Omit<RadioOption, 'value'> & {
7
7
  slots?: {
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
9
9
  };
10
10
  options: {
11
11
  requried: boolean;
12
- type: import('vue').PropType<FRadioOptions | import('../../../../../../../../src/types').FMethodData<FRadioOptions>>;
12
+ type: import('vue').PropType<FRadioOptions | import('../../../../../../../../../src/types').FMethodData<FRadioOptions>>;
13
13
  default: null;
14
14
  };
15
15
  optionKeyNames: {
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
45
45
  };
46
46
  options: {
47
47
  requried: boolean;
48
- type: import('vue').PropType<FRadioOptions | import('../../../../../../../../src/types').FMethodData<FRadioOptions>>;
48
+ type: import('vue').PropType<FRadioOptions | import('../../../../../../../../../src/types').FMethodData<FRadioOptions>>;
49
49
  default: null;
50
50
  };
51
51
  optionKeyNames: {
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
60
60
  default: boolean;
61
61
  };
62
62
  }>> & Readonly<{}>, {
63
- options: FRadioOptions | import('../../../../../../../../src/types').FMethodData<FRadioOptions>;
63
+ options: FRadioOptions | import('../../../../../../../../../src/types').FMethodData<FRadioOptions>;
64
64
  defaultValue: string | number | boolean;
65
65
  optionKeyNames: import('./fradio').FRadioOptionKeyNames;
66
66
  autoSelectSingle: boolean;
@@ -70,13 +70,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
70
70
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
71
71
  disabled?: boolean | undefined;
72
72
  slots?: {
73
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
73
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
74
74
  } | undefined;
75
75
  value?: unknown;
76
76
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
77
77
  [key: string]: any;
78
78
  slots?: {
79
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
79
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
80
80
  } | undefined;
81
81
  value?: unknown;
82
82
  } & {
@@ -84,7 +84,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
84
84
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
85
85
  disabled?: boolean | undefined;
86
86
  slots?: {
87
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
87
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
88
88
  } | undefined;
89
89
  value?: unknown;
90
90
  });
@@ -95,13 +95,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
95
95
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
96
96
  disabled?: boolean | undefined;
97
97
  slots?: {
98
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
98
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
99
99
  } | undefined;
100
100
  value?: unknown;
101
101
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
102
102
  [key: string]: any;
103
103
  slots?: {
104
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
104
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
105
105
  } | undefined;
106
106
  value?: unknown;
107
107
  } & {
@@ -109,7 +109,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
109
109
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
110
110
  disabled?: boolean | undefined;
111
111
  slots?: {
112
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
112
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
113
113
  } | undefined;
114
114
  value?: unknown;
115
115
  });
@@ -121,13 +121,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
121
121
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
122
122
  disabled?: boolean | undefined;
123
123
  slots?: {
124
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
124
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
125
125
  } | undefined;
126
126
  value?: unknown;
127
127
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
128
128
  [key: string]: any;
129
129
  slots?: {
130
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
130
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
131
131
  } | undefined;
132
132
  value?: unknown;
133
133
  } & {
@@ -135,7 +135,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
135
135
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
136
136
  disabled?: boolean | undefined;
137
137
  slots?: {
138
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
138
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
139
139
  } | undefined;
140
140
  value?: unknown;
141
141
  });
@@ -146,13 +146,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
146
146
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
147
147
  disabled?: boolean | undefined;
148
148
  slots?: {
149
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
149
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
150
150
  } | undefined;
151
151
  value?: unknown;
152
152
  } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
153
153
  [key: string]: any;
154
154
  slots?: {
155
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
155
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
156
156
  } | undefined;
157
157
  value?: unknown;
158
158
  } & {
@@ -160,7 +160,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
160
160
  label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
161
161
  disabled?: boolean | undefined;
162
162
  slots?: {
163
- [key: string]: import('../../../../../../../../src/types').FArcoRender;
163
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
164
164
  } | undefined;
165
165
  value?: unknown;
166
166
  });
@@ -1,5 +1,5 @@
1
1
  import { ModalConfig } from '@arco-design/web-vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { ExtractPublicPropTypes, PropType } from 'vue';
4
4
  import { FTableProps } from '../ftable';
5
5
 
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../../../../../src/types';
1
+ import { AnyObject } from '../../../../../../../../../src/types';
2
2
 
3
3
  declare function openPopChoice(e: PointerEvent): void;
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -1,6 +1,6 @@
1
1
  import { SelectOptionData, SelectOptionGroup, SelectProps } from '@arco-design/web-vue';
2
2
  import { ExtractPublicPropTypes, PropType } from 'vue';
3
- import { FMethodData } from '../../../../../../../../src/types';
3
+ import { FMethodData } from '../../../../../../../../../src/types';
4
4
 
5
5
  export type FSelectValue = string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
6
6
  export type FSelectOptions = (SelectOptionData | SelectOptionGroup)[];
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { FSelectOptions as FSelectOptionsType, FSelectValue } from './fselect';
4
4
 
5
5
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
9
9
  default: null;
10
10
  };
11
11
  options: {
12
- type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
12
+ type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
13
13
  default: null;
14
14
  };
15
15
  optionKeyNames: {
@@ -90,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
90
90
  default: null;
91
91
  };
92
92
  options: {
93
- type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
93
+ type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
94
94
  default: null;
95
95
  };
96
96
  optionKeyNames: {
@@ -154,7 +154,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
154
154
  placeholder: string;
155
155
  onBlur: (e: FocusEvent) => void;
156
156
  onFocus: (e: FocusEvent) => void;
157
- options: FSelectOptionsType | import('../../../../../../../../src/types').FMethodData<FSelectOptionsType>;
157
+ options: FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>;
158
158
  defaultValue: FSelectValue;
159
159
  optionKeyNames: import('./fselect').FSelectOptionKeyNames;
160
160
  allowClear: boolean;
@@ -1,4 +1,4 @@
1
- import { AnyObject, OmitNullUndefined } from '../../../../../../../../src/types';
1
+ import { AnyObject, OmitNullUndefined } from '../../../../../../../../../src/types';
2
2
  import { TableData, TableInstance, TableColumnData, TableRowSelection, ButtonProps } from '@arco-design/web-vue';
3
3
  import { ExtractPublicPropTypes, PropType, StyleValue, VNodeChild } from 'vue';
4
4
  import { FButtonProps } from '../fbutton';
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { AnyObject } from '../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { FTableCol, FTableMerge, FTableMethodData, FTableScroll } from './ftable';
4
4
 
5
5
  declare const _default: <Data extends AnyObject<any> = AnyObject<any>, Cols extends AnyObject<any> = Data>(__VLS_props: {
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./components.d.ts" />
2
- import { AnyObject } from '../../../../../../../../../src/types';
2
+ import { AnyObject } from '../../../../../../../../../../src/types';
3
3
  import { FTableCol, ColsSetting } from '../ftable';
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../../../../../src/types';
1
+ import { AnyObject } from '../../../../../../../../../src/types';
2
2
  import { TypographyTextInstance } from '@arco-design/web-vue';
3
3
  import { ExtractPublicPropTypes, PropType, VNodeChild } from 'vue';
4
4
 
@@ -1,4 +1,4 @@
1
- import { ROUTER_KEY } from '../../../../../../../src/constants/global';
1
+ import { ROUTER_KEY } from '../../../../../../../../src/constants/global';
2
2
  import { InjectionKey, Component } from 'vue';
3
3
 
4
4
  export type AnyObject<T = any> = Record<string, T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyto/farco",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -20,9 +20,6 @@
20
20
  "**/*.less"
21
21
  ],
22
22
  "prepublishOnly": "pnpm build",
23
- "scripts": {
24
- "build": "vite build"
25
- },
26
23
  "peerDependencies": {
27
24
  "@arco-design/web-vue": "^2.44.7",
28
25
  "vue": "^3.4.31",
@@ -51,5 +48,8 @@
51
48
  "vue-component-type-helpers": "^2.2.8",
52
49
  "vue-router": "^4.4.0",
53
50
  "vue-tsc": "^1.0.14"
51
+ },
52
+ "scripts": {
53
+ "build": "vite build"
54
54
  }
55
- }
55
+ }