@cloudbase/weda-ui 3.13.2 → 3.13.3
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.
|
@@ -196,15 +196,6 @@ declare const config: {
|
|
|
196
196
|
description: string;
|
|
197
197
|
}];
|
|
198
198
|
readonly events: readonly [{
|
|
199
|
-
readonly detail: import("@sinclair/typebox").TObject<{
|
|
200
|
-
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString> & {
|
|
201
|
-
title: string;
|
|
202
|
-
};
|
|
203
|
-
}>;
|
|
204
|
-
readonly name: string;
|
|
205
|
-
readonly title: string;
|
|
206
|
-
readonly description: string;
|
|
207
|
-
}, {
|
|
208
199
|
readonly name: "change";
|
|
209
200
|
readonly title: "值改变";
|
|
210
201
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type, Tuple } from '../type-utils';
|
|
2
|
-
import { FORM_ITEM_DATA,
|
|
2
|
+
import { FORM_ITEM_DATA, FORM_ITEM_METHODS, FORM_ITEM_META, ItemData, pickWithXCategory, X_CATEGORY, getFormItemDataTitle, } from '../type-utils/type-form';
|
|
3
3
|
import { getClasses } from '../type-utils/classes';
|
|
4
4
|
import { templateInitNameWithId } from './common/init-name-with-id';
|
|
5
5
|
const SELECT = pickWithXCategory(FORM_ITEM_DATA, [
|
|
@@ -141,11 +141,6 @@ const config = defineConfig({
|
|
|
141
141
|
FORM_ITEM_METHODS.clearValidate,
|
|
142
142
|
],
|
|
143
143
|
events: [
|
|
144
|
-
{
|
|
145
|
-
...{},
|
|
146
|
-
...FORM_ITEM_EVENTS.change,
|
|
147
|
-
detail: paramValueType,
|
|
148
|
-
},
|
|
149
144
|
{
|
|
150
145
|
name: 'change',
|
|
151
146
|
title: '值改变',
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -14455,15 +14455,6 @@ export declare const components: {
|
|
|
14455
14455
|
description: string;
|
|
14456
14456
|
}];
|
|
14457
14457
|
readonly events: readonly [{
|
|
14458
|
-
readonly detail: import("@sinclair/typebox").TObject<{
|
|
14459
|
-
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString> & {
|
|
14460
|
-
title: string;
|
|
14461
|
-
};
|
|
14462
|
-
}>;
|
|
14463
|
-
readonly name: string;
|
|
14464
|
-
readonly title: string;
|
|
14465
|
-
readonly description: string;
|
|
14466
|
-
}, {
|
|
14467
14458
|
readonly name: "change";
|
|
14468
14459
|
readonly title: "值改变";
|
|
14469
14460
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
@@ -33995,15 +33986,6 @@ declare const _default: {
|
|
|
33995
33986
|
description: string;
|
|
33996
33987
|
}];
|
|
33997
33988
|
readonly events: readonly [{
|
|
33998
|
-
readonly detail: import("@sinclair/typebox").TObject<{
|
|
33999
|
-
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString> & {
|
|
34000
|
-
title: string;
|
|
34001
|
-
};
|
|
34002
|
-
}>;
|
|
34003
|
-
readonly name: string;
|
|
34004
|
-
readonly title: string;
|
|
34005
|
-
readonly description: string;
|
|
34006
|
-
}, {
|
|
34007
33989
|
readonly name: "change";
|
|
34008
33990
|
readonly title: "值改变";
|
|
34009
33991
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
@@ -1197,13 +1197,13 @@ export const FORM_ITEM_DATA = {
|
|
|
1197
1197
|
title: '刷新按钮',
|
|
1198
1198
|
description: '点击刷新下拉列表数据。仅选项来自关联关系字段时,支持配置刷新按钮,在编辑状态下展示。',
|
|
1199
1199
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationalRefresh,
|
|
1200
|
-
'x-index':
|
|
1200
|
+
'x-index': 163,
|
|
1201
1201
|
'x-category': X_CATEGORY.COMMON,
|
|
1202
1202
|
}),
|
|
1203
1203
|
enableRelationalSetting: Type.Boolean({
|
|
1204
1204
|
title: '设置按钮',
|
|
1205
1205
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationalSetting,
|
|
1206
|
-
'x-index':
|
|
1206
|
+
'x-index': 164,
|
|
1207
1207
|
'x-category': X_CATEGORY.COMMON,
|
|
1208
1208
|
description: '仅选项来自关联关系字段时,支持配置设置按钮,在编辑状态下展示。',
|
|
1209
1209
|
'x-helper-text': '开启后响应事件为:onSettingButtonClick。',
|
|
@@ -1211,7 +1211,7 @@ export const FORM_ITEM_DATA = {
|
|
|
1211
1211
|
enableRelationOptionJump: Type.Boolean({
|
|
1212
1212
|
title: '下拉选项跳转按钮',
|
|
1213
1213
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableAddRelationButton,
|
|
1214
|
-
'x-index':
|
|
1214
|
+
'x-index': 165,
|
|
1215
1215
|
'x-category': X_CATEGORY.COMMON,
|
|
1216
1216
|
description: '仅选项来自关联关系字段时,支持配置下拉选项跳转按钮,在编辑状态下展示。',
|
|
1217
1217
|
'x-helper-text': '开启后响应事件为:onRelationOptionJump。',
|
|
@@ -1219,7 +1219,7 @@ export const FORM_ITEM_DATA = {
|
|
|
1219
1219
|
enableAddRelationButton: Type.Boolean({
|
|
1220
1220
|
title: '新建按钮',
|
|
1221
1221
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableAddRelationButton,
|
|
1222
|
-
'x-index':
|
|
1222
|
+
'x-index': 166,
|
|
1223
1223
|
'x-category': X_CATEGORY.COMMON,
|
|
1224
1224
|
description: '仅选项来自关联关系字段时,支持配置新建按钮,在编辑状态下展示。',
|
|
1225
1225
|
'x-helper-text': '开启后响应事件为:onAddRelationButtonClick。',
|
|
@@ -1234,13 +1234,13 @@ export const FORM_ITEM_DATA = {
|
|
|
1234
1234
|
addRelationButtonText: Type.String({
|
|
1235
1235
|
title: '新建按钮文案',
|
|
1236
1236
|
'x-runtime-default': X_RUNTIME_DEFAULT.addRelationButtonText,
|
|
1237
|
-
'x-index':
|
|
1237
|
+
'x-index': 167,
|
|
1238
1238
|
'x-category': X_CATEGORY.COMMON,
|
|
1239
1239
|
}),
|
|
1240
1240
|
enableRelationTag: Type.Boolean({
|
|
1241
1241
|
title: '标签展示',
|
|
1242
1242
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationTag,
|
|
1243
|
-
'x-index':
|
|
1243
|
+
'x-index': 168,
|
|
1244
1244
|
'x-category': X_CATEGORY.COMMON,
|
|
1245
1245
|
description: '仅选项来自关联关系字段时,支持配置组件在只读状态下以标签形式展示。',
|
|
1246
1246
|
'x-helper-text': '开启后响应事件为:onRelationTagClick。',
|