@airpower/web 1.3.6 → 1.4.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.
@@ -58,9 +58,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
58
58
  default: boolean;
59
59
  };
60
60
  }>> & Readonly<{}>, {
61
+ formatter: DateTimeFormatter;
61
62
  milliSecond: number;
62
63
  date: Date;
63
- formatter: DateTimeFormatter;
64
64
  isFriendly: boolean;
65
65
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
66
  export default _default;
@@ -24,7 +24,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
24
24
  /**
25
25
  * ### 选择器使用的字段列表
26
26
  */
27
- columnList?: Array<ITableColumn>;
27
+ columnList?: Array<ITableColumn<E>>;
28
28
  /**
29
29
  * ### `Editor`
30
30
  * 传入后方可开启选择器快捷添加功能
@@ -8,6 +8,7 @@ import { QueryRequest } from '../../model/query/QueryRequest';
8
8
  import { RootEntity } from '../../model/RootEntity';
9
9
  import { AbstractCurdService } from '../../service/AbstractCurdService';
10
10
  import { CurdServiceConstructor } from '../../service/type';
11
+ import { ITableButton } from './TableButton';
11
12
  import { QueryRequestPage } from '../../model/query/QueryRequestPage';
12
13
  import { QuerySort } from '../../model/query/QuerySort';
13
14
  declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -19,9 +20,10 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
19
20
  selectList: E[];
20
21
  emptyText: string;
21
22
  addPermission: string;
22
- columnList: ITableColumn[];
23
+ columnList: ITableColumn<E>[];
23
24
  searchParams: ISearchField[];
24
25
  hideAdd: boolean;
26
+ buttons: ITableButton<E>[];
25
27
  useHook: ITableResult<E, S>;
26
28
  disablePage: boolean;
27
29
  editPermission: string;
@@ -81,8 +83,9 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
81
83
  readonly loading: boolean;
82
84
  readonly autoHeight: boolean;
83
85
  readonly selectList: E[];
84
- readonly columnList: ITableColumn[];
86
+ readonly columnList: ITableColumn<E>[];
85
87
  readonly hideAdd: boolean;
88
+ readonly buttons: ITableButton<E>[];
86
89
  readonly disablePage: boolean;
87
90
  readonly dataList: E[];
88
91
  readonly hideEdit: boolean;
@@ -144,7 +147,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
144
147
  readonly onSortChange?: ((sort?: QuerySort) => void) | undefined;
145
148
  readonly onDisable?: ((row: E) => void) | undefined;
146
149
  readonly onEnable?: ((row: E) => void) | undefined;
147
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "entity" | "onSearch" | "autoHeight" | "selectList" | "emptyText" | "addPermission" | "columnList" | "searchParams" | "hideAdd" | "useHook" | "disablePage" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "dataList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity" | "onAdd" | "onDetail" | "onDelete" | "onEdit" | "onSelected" | "onAddRow" | "onSortChange" | "onDisable" | "onEnable" | "isTree">, "service" | ("loading" | "entity" | "onSearch" | "autoHeight" | "selectList" | "emptyText" | "addPermission" | "columnList" | "searchParams" | "hideAdd" | "useHook" | "disablePage" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "dataList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity" | "onAdd" | "onDetail" | "onDelete" | "onEdit" | "onSelected" | "onAddRow" | "onSortChange" | "onDisable" | "onEnable" | "isTree")> & {} & Partial<{}>> & import('vue').PublicProps;
150
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "entity" | "onSearch" | "autoHeight" | "selectList" | "emptyText" | "addPermission" | "columnList" | "searchParams" | "hideAdd" | "buttons" | "useHook" | "disablePage" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "dataList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity" | "onAdd" | "onDetail" | "onDelete" | "onEdit" | "onSelected" | "onAddRow" | "onSortChange" | "onDisable" | "onEnable" | "isTree">, "service" | ("loading" | "entity" | "onSearch" | "autoHeight" | "selectList" | "emptyText" | "addPermission" | "columnList" | "searchParams" | "hideAdd" | "buttons" | "useHook" | "disablePage" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "dataList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity" | "onAdd" | "onDetail" | "onDelete" | "onEdit" | "onSelected" | "onAddRow" | "onSortChange" | "onDisable" | "onEnable" | "isTree")> & {} & Partial<{}>> & import('vue').PublicProps;
148
151
  expose(exposed: import('vue').ShallowUnwrapRef<{
149
152
  resetSearch: () => void;
150
153
  search: () => void;
@@ -0,0 +1,29 @@
1
+ import { RootEntity } from '../../model/RootEntity';
2
+ /**
3
+ * # 表格按钮
4
+ * @author Hamm.cn
5
+ */
6
+ export interface ITableButton<E extends RootEntity> {
7
+ /**
8
+ * ### 按钮标题
9
+ */
10
+ label: string;
11
+ /**
12
+ * ### 按钮点击回调
13
+ * @param row 行数据
14
+ */
15
+ click: (row: E) => void;
16
+ /**
17
+ * ### 按钮是否禁用
18
+ * @param row 行数据
19
+ */
20
+ disabled?: (row: E) => boolean;
21
+ /**
22
+ * ### 是否是危险按钮
23
+ */
24
+ dangerButton?: boolean;
25
+ /**
26
+ * ### 是否是警告按钮
27
+ */
28
+ warningButton?: boolean;
29
+ }
@@ -5,7 +5,7 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly onChanged?: ((args_0: string[]) => any) | undefined;
7
7
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChanged"> & {
8
- columnList: Array<ITableColumn>;
8
+ columnList: Array<ITableColumn<E>>;
9
9
  entityClass: ITransformerConstructor<E>;
10
10
  } & Partial<{}>> & import('vue').PublicProps;
11
11
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -2,7 +2,7 @@ import { ITableColumn } from '../../../decorator/@Table/ITableColumn';
2
2
  import { RootEntity } from '../../../model/RootEntity';
3
3
  declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
5
- column: ITableColumn;
5
+ column: ITableColumn<E>;
6
6
  data: E;
7
7
  } & Partial<{}>> & import('vue').PublicProps;
8
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -3,7 +3,7 @@ import { WebEnumConstructor } from '../../../enum/type';
3
3
  import { RootEntity } from '../../../model/RootEntity';
4
4
  declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
6
- column: ITableColumn;
6
+ column: ITableColumn<E>;
7
7
  data: E;
8
8
  dictionary: WebEnumConstructor;
9
9
  } & Partial<{}>> & import('vue').PublicProps;
@@ -1,2 +1,3 @@
1
+ import { ITableButton } from './TableButton';
1
2
  import { default as ATable } from './Table.vue';
2
- export { ATable, };
3
+ export { ATable, ITableButton, };
@@ -16,7 +16,7 @@ export declare function useTableColumn<E extends RootEntity>(params: {
16
16
  /**
17
17
  * ### 自定义字段
18
18
  */
19
- customColumns: Array<ITableColumn>;
19
+ customColumns: Array<ITableColumn<E>>;
20
20
  /**
21
21
  * ### 字段缓存key
22
22
  */
@@ -31,8 +31,8 @@ export declare function useTableColumn<E extends RootEntity>(params: {
31
31
  modelConfig: IModelConfig;
32
32
  }): {
33
33
  updateSelectKeys: (list?: string[]) => void;
34
- allColumnList: Ref<ITableColumn[], ITableColumn[]>;
34
+ allColumnList: Ref<ITableColumn<E>[], ITableColumn<E>[]>;
35
35
  selectKeys: Ref<string[], string[]>;
36
- showColumnList: Ref<ITableColumn[], ITableColumn[]>;
36
+ showColumnList: Ref<ITableColumn<E>[], ITableColumn<E>[]>;
37
37
  isColumnSelectorEnabled: Ref<boolean, boolean>;
38
38
  };
@@ -1,4 +1,5 @@
1
1
  import { DateTimeFormatter, DesensitizeType } from '@airpower/util';
2
+ import { RootEntity } from '../../model/RootEntity';
2
3
  import { IBaseField } from '../common/IBaseField';
3
4
  import { IElementTableColumn } from './IElementTableColumn';
4
5
  /**
@@ -6,7 +7,7 @@ import { IElementTableColumn } from './IElementTableColumn';
6
7
  *
7
8
  * @author Hamm.cn
8
9
  */
9
- export interface ITableColumn extends IBaseField, IElementTableColumn {
10
+ export interface ITableColumn<E extends RootEntity> extends IBaseField, IElementTableColumn {
10
11
  /**
11
12
  * ### 是否是金额
12
13
  */
@@ -85,4 +86,9 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
85
86
  * ### 是否是日期时间
86
87
  */
87
88
  datetime?: boolean | DateTimeFormatter;
89
+ /**
90
+ * ### 格式化
91
+ * @param row 行数据
92
+ */
93
+ formatter?: (row: E) => string;
88
94
  }
@@ -1,20 +1,20 @@
1
1
  import { ITransformerConstructor, TransformerField } from '@airpower/transformer';
2
- import { RootModel } from '../../model/RootModel';
2
+ import { RootEntity } from '../../model/RootEntity';
3
3
  import { FieldConfigOptionalKey } from '../@Field/type';
4
4
  import { ITableColumn } from './ITableColumn';
5
5
  /**
6
6
  * ### 为属性标记是表格字段
7
7
  * @param config 表格列的配置
8
8
  */
9
- export declare function Table<M extends RootModel>(config?: FieldConfigOptionalKey<ITableColumn>): (instance: M, field: keyof M) => void;
9
+ export declare function Table<E extends RootEntity>(config?: FieldConfigOptionalKey<ITableColumn<E>>): (instance: E, field: keyof E) => void;
10
10
  /**
11
11
  * ### 获取对象的属性表格的配置
12
12
  * @param Class 目标类
13
13
  * @param field 属性名
14
14
  */
15
- export declare function getTableConfig<M extends RootModel>(Class: ITransformerConstructor<M>, field: TransformerField<M>): ITableColumn;
15
+ export declare function getTableConfig<E extends RootEntity>(Class: ITransformerConstructor<E>, field: TransformerField<E>): ITableColumn<E>;
16
16
  /**
17
17
  * ### 获取字段标记的表格字段配置列表
18
18
  * @param Class 目标类
19
19
  */
20
- export declare function getTableConfigList<M extends RootModel>(Class: ITransformerConstructor<M>): Array<ITableColumn>;
20
+ export declare function getTableConfigList<E extends RootEntity>(Class: ITransformerConstructor<E>): Array<ITableColumn<E>>;
package/dist/main.js CHANGED
@@ -17394,7 +17394,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17394
17394
  };
17395
17395
  }
17396
17396
  });
17397
- const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-520a2ab9"]]);
17397
+ const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-ed37e00b"]]);
17398
17398
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17399
17399
  __name: "CopyColumn",
17400
17400
  props: {
@@ -17441,7 +17441,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
17441
17441
  };
17442
17442
  }
17443
17443
  });
17444
- const EnumColumn = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c27bd252"]]);
17444
+ const EnumColumn = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-49ebb298"]]);
17445
17445
  function useTableButton(params) {
17446
17446
  const {
17447
17447
  entityClass,
@@ -17569,7 +17569,7 @@ const _hoisted_5$1 = {
17569
17569
  style: { "color": "#aaa", "margin-right": "3px" }
17570
17570
  };
17571
17571
  const _hoisted_6 = {
17572
- key: 10,
17572
+ key: 11,
17573
17573
  style: { "color": "#aaa" }
17574
17574
  };
17575
17575
  const _hoisted_7 = { class: "ctrlRow" };
@@ -17579,6 +17579,13 @@ const _hoisted_10 = { class: "right" };
17579
17579
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
17580
17580
  __name: "Table",
17581
17581
  props: {
17582
+ /**
17583
+ * ### 按钮
17584
+ */
17585
+ buttons: {
17586
+ type: Array,
17587
+ default: () => []
17588
+ },
17582
17589
  /**
17583
17590
  * ### 直接使用表格Hook
17584
17591
  * 请注意,将不会再触发一些事件,请使用 Hook 的前后置等拦截方法处理
@@ -18529,28 +18536,30 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18529
18536
  index: scope.$index
18530
18537
  }, () => [
18531
18538
  item.prefixText ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(item.prefixText), 1)) : createCommentVNode("", true),
18532
- unref(getDictionary)(unref(EntityClass), item.key) ? (openBlock(), createBlock(unref(EnumColumn), {
18533
- key: 1,
18539
+ item.formatter ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18540
+ createTextVNode(toDisplayString(item.formatter(getValue(scope, item.key))), 1)
18541
+ ], 64)) : unref(getDictionary)(unref(EntityClass), item.key) ? (openBlock(), createBlock(unref(EnumColumn), {
18542
+ key: 2,
18534
18543
  column: item,
18535
18544
  data: scope.row,
18536
18545
  dictionary: unref(getDictionary)(unref(EntityClass), item.key)
18537
18546
  }, null, 8, ["column", "data", "dictionary"])) : item.image ? (openBlock(), createBlock(unref(_sfc_main$k), {
18538
- key: 2,
18539
- src: getValue(scope, item.key),
18540
- width: item.imageWidth || 40,
18541
- height: item.imageHeight || 40
18542
- }, null, 8, ["src", "width", "height"])) : item.phone ? (openBlock(), createBlock(unref(APhone), {
18543
18547
  key: 3,
18548
+ height: item.imageHeight || 40,
18549
+ src: getValue(scope, item.key),
18550
+ width: item.imageWidth || 40
18551
+ }, null, 8, ["height", "src", "width"])) : item.phone ? (openBlock(), createBlock(unref(APhone), {
18552
+ key: 4,
18544
18553
  desensitize: item.desensitize,
18545
18554
  phone: getValue(scope, item.key)
18546
18555
  }, null, 8, ["desensitize", "phone"])) : item.datetime ? (openBlock(), createBlock(unref(ADateTime), {
18547
- key: 4,
18556
+ key: 5,
18548
18557
  formatter: item.datetime === true ? unref(DateTimeFormatter).FULL_DATE_TIME : item.datetime,
18549
18558
  "milli-second": getValue(scope, item.key)
18550
18559
  }, null, 8, ["formatter", "milli-second"])) : item.money ? (openBlock(), createBlock(unref(AMoney), {
18551
- key: 5,
18560
+ key: 6,
18552
18561
  money: getValue(scope, item.key)
18553
- }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
18562
+ }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
18554
18563
  item.array ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18555
18564
  createTextVNode(toDisplayString(getPayloadArray(scope, item.key).map((payload) => payload.getPayloadLabel()).join(",")), 1)
18556
18565
  ], 64)) : (openBlock(), createBlock(unref(APayload), {
@@ -18558,15 +18567,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18558
18567
  payload: getValue(scope, item.key)
18559
18568
  }, null, 8, ["payload"]))
18560
18569
  ], 64)) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
18561
- key: 7,
18570
+ key: 8,
18562
18571
  content: getValue(scope, item.key),
18563
18572
  type: item.desensitize
18564
18573
  }, null, 8, ["content", "type"])) : item.copy ? (openBlock(), createBlock(unref(_sfc_main$4), {
18565
- key: 8,
18574
+ key: 9,
18566
18575
  column: item,
18567
18576
  data: scope.row
18568
18577
  }, null, 8, ["column", "data"])) : (openBlock(), createElementBlock("div", {
18569
- key: 9,
18578
+ key: 10,
18570
18579
  class: normalizeClass([item.wrap ? "" : "nowrap", "a-table-column"])
18571
18580
  }, toDisplayString(getStringValue(getValue(scope, item.key)) ?? item.emptyValue), 3)),
18572
18581
  item.suffixText ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(item.suffixText), 1)) : createCommentVNode("", true)
@@ -18591,6 +18600,20 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18591
18600
  data: getRowEntity(scope),
18592
18601
  index: scope.$index
18593
18602
  }) : createCommentVNode("", true),
18603
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button, index) => {
18604
+ return openBlock(), createBlock(unref(ElLink), {
18605
+ key: index,
18606
+ disabled: button.disabled ? button.disabled(getRowEntity(scope)) : false,
18607
+ type: button.dangerButton ? "danger" : button.warningButton ? "warning" : "default",
18608
+ underline: "never",
18609
+ onClick: ($event) => handleDelete(getRowEntity(scope))
18610
+ }, {
18611
+ default: withCtx(() => [
18612
+ createTextVNode(toDisplayString(button.label), 1)
18613
+ ]),
18614
+ _: 2
18615
+ }, 1032, ["disabled", "type", "onClick"]);
18616
+ }), 128)),
18594
18617
  __props.showAddRow ? (openBlock(), createBlock(unref(ElLink), {
18595
18618
  key: 1,
18596
18619
  disabled: unref(isAddRowDisabled)(getRowEntity(scope)),
package/dist/web.css CHANGED
@@ -1216,7 +1216,7 @@ textarea {
1216
1216
  height: 0;
1217
1217
  overflow: hidden;
1218
1218
  overflow-y: auto;
1219
- }.el-check-tag[data-v-520a2ab9] {
1219
+ }.el-check-tag[data-v-ed37e00b] {
1220
1220
  font-weight: normal !important;
1221
1221
  user-select: none;
1222
1222
  font-size: 13px;
@@ -1224,7 +1224,7 @@ textarea {
1224
1224
  margin-bottom: 5px;
1225
1225
  padding: 4px 10px;
1226
1226
  }
1227
- .a-field-selector-bg[data-v-520a2ab9] {
1227
+ .a-field-selector-bg[data-v-ed37e00b] {
1228
1228
  position: fixed;
1229
1229
  left: 0;
1230
1230
  right: 0;
@@ -1233,7 +1233,7 @@ textarea {
1233
1233
  background-color: rgba(0, 0, 0, 0.1);
1234
1234
  z-index: 9999999;
1235
1235
  }
1236
- .a-field-selector-dialog[data-v-520a2ab9] {
1236
+ .a-field-selector-dialog[data-v-ed37e00b] {
1237
1237
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
1238
1238
  position: absolute;
1239
1239
  right: 0;
@@ -1246,13 +1246,13 @@ textarea {
1246
1246
  overflow: hidden;
1247
1247
  z-index: 99999991;
1248
1248
  }
1249
- .a-field-selector-dialog .a-field-selector-title[data-v-520a2ab9] {
1249
+ .a-field-selector-dialog .a-field-selector-title[data-v-ed37e00b] {
1250
1250
  margin-bottom: 10px;
1251
1251
  border-bottom: 1px solid var(--el-color-primary-light-9);
1252
1252
  padding: 8px 16px;
1253
1253
  font-size: 15px;
1254
1254
  }
1255
- .a-field-selector-dialog .a-field-selector-list[data-v-520a2ab9] {
1255
+ .a-field-selector-dialog .a-field-selector-list[data-v-ed37e00b] {
1256
1256
  padding: 5px 15px 10px 15px;
1257
1257
  display: flex;
1258
1258
  flex-wrap: wrap;
@@ -1261,13 +1261,13 @@ textarea {
1261
1261
  flex: 1;
1262
1262
  height: 0;
1263
1263
  align-content: flex-start;
1264
- }.a-enum-column[data-v-c27bd252] {
1264
+ }.a-enum-column[data-v-49ebb298] {
1265
1265
  display: flex;
1266
1266
  flex-direction: row;
1267
1267
  justify-content: flex-start;
1268
1268
  align-items: center;
1269
1269
  }
1270
- .a-enum-column .light[data-v-c27bd252] {
1270
+ .a-enum-column .light[data-v-49ebb298] {
1271
1271
  width: 8px;
1272
1272
  height: 8px;
1273
1273
  border-radius: 100%;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.3.6",
4
+ "version": "1.4.0",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",