@cloudbase/weda-ui 3.8.1 → 3.9.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 (50) hide show
  1. package/dist/configs/components/dataView.d.ts +14 -0
  2. package/dist/configs/components/dataView.js +104 -6
  3. package/dist/configs/components/listView.d.ts +29 -0
  4. package/dist/configs/components/listView.js +145 -24
  5. package/dist/configs/components/wd-input-number.d.ts +8 -0
  6. package/dist/configs/components/wd-input-number.js +9 -0
  7. package/dist/configs/components/wd-markdown.d.ts +95 -0
  8. package/dist/configs/components/wd-markdown.js +142 -0
  9. package/dist/configs/components/wd-menu-layout.d.ts +13 -10
  10. package/dist/configs/components/wd-menu-layout.js +12 -1
  11. package/dist/configs/components/wd-menu-nav-tab-layou.d.ts +27 -0
  12. package/dist/configs/components/wd-menu-nav-tab-layou.js +31 -0
  13. package/dist/configs/components/wd-table.d.ts +1 -1
  14. package/dist/configs/components/wd-table.js +1 -0
  15. package/dist/configs/index.d.ts +340 -10
  16. package/dist/configs/index.js +4 -0
  17. package/dist/configs/type-utils/type-form.js +1 -1
  18. package/dist/configs/utils/layout.d.ts +1 -1
  19. package/dist/configs/utils/layout.js +215 -6
  20. package/dist/style/index.scss +1 -1
  21. package/dist/web/components/dataView/index.js +5 -3
  22. package/dist/web/components/index.d.ts +2 -0
  23. package/dist/web/components/index.js +4 -0
  24. package/dist/web/components/listView/index.js +48 -13
  25. package/dist/web/components/listView/interface.d.ts +4 -0
  26. package/dist/web/components/listView/useQueryParams.d.ts +11 -0
  27. package/dist/web/components/listView/useQueryParams.js +23 -0
  28. package/dist/web/components/richTextView/index.js +4 -38
  29. package/dist/web/components/richTextView/useImgTransform.d.ts +1 -0
  30. package/dist/web/components/richTextView/useImgTransform.js +47 -0
  31. package/dist/web/components/wd-input-number/wd-input-number.js +16 -9
  32. package/dist/web/components/wd-markdown/github-markdown-light.css +1139 -0
  33. package/dist/web/components/wd-markdown/index.d.ts +4 -0
  34. package/dist/web/components/wd-markdown/index.js +3 -0
  35. package/dist/web/components/wd-markdown/style.d.ts +3 -0
  36. package/dist/web/components/wd-markdown/style.js +3 -0
  37. package/dist/web/components/wd-markdown/wd-markdown.d.ts +7 -0
  38. package/dist/web/components/wd-markdown/wd-markdown.js +88 -0
  39. package/dist/web/components/wd-menu-layout/components/H5Menu.js +3 -1
  40. package/dist/web/components/wd-menu-layout/components/NavTabMenu.d.ts +3 -0
  41. package/dist/web/components/wd-menu-layout/components/NavTabMenu.js +7 -0
  42. package/dist/web/components/wd-menu-layout/style.d.ts +1 -0
  43. package/dist/web/components/wd-menu-layout/style.js +1 -0
  44. package/dist/web/components/wd-menu-layout/wd-menu-layout.js +5 -2
  45. package/dist/web/components/wd-menu-nav-tab-layout/index.d.ts +6 -0
  46. package/dist/web/components/wd-menu-nav-tab-layout/index.js +5 -0
  47. package/dist/web/components/wd-table/components/FieldRender/index.js +5 -2
  48. package/dist/web/utils/getModelParams.d.ts +2 -0
  49. package/dist/web/utils/getModelParams.js +73 -4
  50. package/package.json +5 -2
@@ -1,4 +1,91 @@
1
1
  export declare const components: {
2
+ WdMarkdown: {
3
+ readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
4
+ readonly data: import("@sinclair/typebox").TObject<{
5
+ value: import("@sinclair/typebox").TString;
6
+ options: import("@sinclair/typebox").TObject<{}>;
7
+ }>;
8
+ readonly properties: import("@sinclair/typebox").TObject<{
9
+ value: import("@sinclair/typebox").TString;
10
+ }>;
11
+ readonly classes: readonly [{
12
+ readonly name: "根元素";
13
+ readonly selector: ".wd-markdown";
14
+ readonly description: "链接组件根元素";
15
+ }, {
16
+ readonly name: "PC 端链接根元素";
17
+ readonly selector: ".wd-pc-markdown";
18
+ readonly description: "可以为 PC 端的链接编写样式";
19
+ }, {
20
+ readonly name: "H5 端链接根元素";
21
+ readonly selector: ".wd-h5-markdown";
22
+ readonly description: "可以为 H5 端的链接编写样式";
23
+ }, {
24
+ readonly name: "小程序端链接根元素";
25
+ readonly selector: ".wd-mp-markdown";
26
+ readonly description: "可以为小程序端的链接编写样式";
27
+ }];
28
+ readonly methods: readonly [];
29
+ readonly events: readonly [];
30
+ readonly meta: {
31
+ readonly name: "WdMarkdown";
32
+ readonly componentName: "markdown";
33
+ readonly title: "markdown";
34
+ readonly description: "用于markdown展示";
35
+ readonly figureIcon: "../figureIcons/RichTextView.svg";
36
+ readonly icon: "../icons/RichTextView.svg";
37
+ readonly category: "展示";
38
+ readonly categoryOrder: 400;
39
+ readonly componentOrder: 250;
40
+ readonly visible: any;
41
+ readonly inlineStyleForm: {
42
+ readonly $text: {
43
+ readonly visible: false;
44
+ };
45
+ readonly fontSize: {
46
+ readonly visible: false;
47
+ };
48
+ readonly color: {
49
+ readonly visible: false;
50
+ };
51
+ readonly fontWeight: {
52
+ readonly visible: false;
53
+ };
54
+ readonly lineHeight: {
55
+ readonly visible: false;
56
+ };
57
+ readonly justifyContent: {
58
+ readonly visible: false;
59
+ };
60
+ readonly flexDirection: {
61
+ readonly visible: false;
62
+ };
63
+ readonly border: {
64
+ readonly visible: false;
65
+ };
66
+ readonly background: {
67
+ readonly visible: false;
68
+ };
69
+ readonly boxShadow: {
70
+ readonly visible: false;
71
+ };
72
+ readonly opacity: {
73
+ readonly visible: false;
74
+ };
75
+ readonly alignItems: {
76
+ readonly visible: false;
77
+ };
78
+ };
79
+ readonly templates: readonly [{
80
+ readonly when: "$attached";
81
+ readonly body: "\n[attributes]\n\":options\" = \"{\n html: false, // 在源码中启用 HTML 标签\n xhtmlOut: false, // 使用 / 来闭合单标签 (比如 <br />)。\n // 这个选项只对完全的 CommonMark 模式兼容。\n breaks: false, // 转换段落里的 换行符 到 <br>。\n langPrefix: 'language-', // 给围栏代码块的 CSS 语言前缀。对于额外的高亮代码非常有用。\n linkify: false, // 将类似 URL 的文本自动转换为链接。\n\n // 启用一些语言中立的替换 + 引号美化\n typographer: false,\n\n // 双 + 单引号替换对,当 typographer 启用时。\n // 或者智能引号等,可以是 String 或 Array。\n //\n // 比方说,你可以支持 '«»„“' 给俄罗斯人使用, '„“‚‘' 给德国人使用。\n quotes: '“”‘’',\n\n}\n\"\n";
82
+ }];
83
+ readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/WdMarkdown";
84
+ readonly shortcut: {
85
+ readonly props: readonly ["value"];
86
+ };
87
+ };
88
+ };
2
89
  WdCodeEditor: {
3
90
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
4
91
  readonly data: import("@sinclair/typebox").TObject<{
@@ -6974,6 +7061,7 @@ export declare const components: {
6974
7061
  'x-component': string;
6975
7062
  'x-component-props': {
6976
7063
  dataContainerType: string;
7064
+ methodName: string;
6977
7065
  };
6978
7066
  'x-props': {
6979
7067
  'data-hidebind': boolean;
@@ -7026,6 +7114,18 @@ export declare const components: {
7026
7114
  enum?: undefined;
7027
7115
  };
7028
7116
  state?: undefined;
7117
+ } | {
7118
+ type: string;
7119
+ target: string;
7120
+ schema: {
7121
+ 'x-component-props': {
7122
+ dataSourceName: string;
7123
+ };
7124
+ enum?: undefined;
7125
+ 'x-props'?: undefined;
7126
+ };
7127
+ condition?: undefined;
7128
+ state?: undefined;
7029
7129
  })[];
7030
7130
  description: string;
7031
7131
  };
@@ -7193,6 +7293,8 @@ export declare const components: {
7193
7293
  }[];
7194
7294
  description: string;
7195
7295
  };
7296
+ selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
7297
+ selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
7196
7298
  pagination: {
7197
7299
  'x-index': number;
7198
7300
  title: string;
@@ -7232,6 +7334,18 @@ export declare const components: {
7232
7334
  description: string;
7233
7335
  display: boolean;
7234
7336
  };
7337
+ pageIndex: {
7338
+ 'x-index': number;
7339
+ title: string;
7340
+ type: string;
7341
+ default: number;
7342
+ 'x-group': string;
7343
+ 'x-props': {
7344
+ min: number;
7345
+ };
7346
+ description: string;
7347
+ display: boolean;
7348
+ };
7235
7349
  enableTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7236
7350
  total: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
7237
7351
  emptyText: {
@@ -7275,6 +7389,7 @@ export declare const components: {
7275
7389
  description: string;
7276
7390
  };
7277
7391
  isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7392
+ supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7278
7393
  };
7279
7394
  };
7280
7395
  events: ({
@@ -7314,6 +7429,7 @@ export declare const components: {
7314
7429
  message: import("@sinclair/typebox").TString;
7315
7430
  code: import("@sinclair/typebox").TString;
7316
7431
  }>;
7432
+ dataSourceVersion: import("@sinclair/typebox").TString;
7317
7433
  }>;
7318
7434
  methods: ({
7319
7435
  name: string;
@@ -7495,6 +7611,7 @@ export declare const components: {
7495
7611
  'x-component': string;
7496
7612
  'x-component-props': {
7497
7613
  dataContainerType: string;
7614
+ methodName: string;
7498
7615
  };
7499
7616
  'x-props': {
7500
7617
  'data-hidebind': boolean;
@@ -7513,6 +7630,15 @@ export declare const components: {
7513
7630
  schema: {
7514
7631
  'x-component-props': string;
7515
7632
  };
7633
+ } | {
7634
+ type: string;
7635
+ target: string;
7636
+ schema: {
7637
+ 'x-component-props': {
7638
+ dataSourceName: string;
7639
+ };
7640
+ };
7641
+ condition?: undefined;
7516
7642
  })[];
7517
7643
  description: string;
7518
7644
  };
@@ -7593,6 +7719,9 @@ export declare const components: {
7593
7719
  description: string;
7594
7720
  };
7595
7721
  isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7722
+ selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
7723
+ selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
7724
+ supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7596
7725
  };
7597
7726
  };
7598
7727
  events: ({
@@ -7614,6 +7743,7 @@ export declare const components: {
7614
7743
  })[];
7615
7744
  properties: import("@sinclair/typebox").TObject<{
7616
7745
  record: import("@sinclair/typebox").TObject<{}>;
7746
+ dataSourceVersion: import("@sinclair/typebox").TString;
7617
7747
  }>;
7618
7748
  methods: ({
7619
7749
  name: string;
@@ -12710,6 +12840,7 @@ export declare const components: {
12710
12840
  dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
12711
12841
  total: import("@sinclair/typebox").TNumber;
12712
12842
  records: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
12843
+ dataSourceVersion: import("@sinclair/typebox").TString;
12713
12844
  columnSets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
12714
12845
  key: import("@sinclair/typebox").TUnsafe<string>;
12715
12846
  header: import("@sinclair/typebox").TString;
@@ -12750,7 +12881,6 @@ export declare const components: {
12750
12881
  filterTypeOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
12751
12882
  }>>;
12752
12883
  selectedRecords: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
12753
- dataSourceVersion: import("@sinclair/typebox").TString;
12754
12884
  }>;
12755
12885
  readonly classes: readonly [{
12756
12886
  readonly name: "根元素";
@@ -17319,6 +17449,14 @@ export declare const components: {
17319
17449
  detail: {
17320
17450
  value: import("@sinclair/typebox").TNumber;
17321
17451
  };
17452
+ description: string;
17453
+ }, {
17454
+ readonly name: "input";
17455
+ readonly title: "用户输入";
17456
+ readonly detail: import("@sinclair/typebox").TObject<{
17457
+ value: import("@sinclair/typebox").TNumber;
17458
+ }>;
17459
+ readonly description: "用户输入值时触发,得到的是计算后的值";
17322
17460
  }, {
17323
17461
  name: string;
17324
17462
  title: string;
@@ -18656,7 +18794,7 @@ export declare const components: {
18656
18794
  headRightSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
18657
18795
  contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
18658
18796
  footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
18659
- template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant">;
18797
+ template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
18660
18798
  menu: import("@sinclair/typebox").TObject<{
18661
18799
  isMultiTerminal: import("@sinclair/typebox").TBoolean;
18662
18800
  menuData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -18690,8 +18828,9 @@ export declare const components: {
18690
18828
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18691
18829
  }>>>;
18692
18830
  }>;
18693
- type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant">;
18831
+ type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
18694
18832
  defaultOpened: import("@sinclair/typebox").TBoolean;
18833
+ outerClickClosable: import("@sinclair/typebox").TBoolean;
18695
18834
  }>;
18696
18835
  readonly properties: import("@sinclair/typebox").TObject<{}>;
18697
18836
  readonly classes: readonly [{
@@ -18822,7 +18961,7 @@ export declare const components: {
18822
18961
  }, {
18823
18962
  readonly when: "$attached";
18824
18963
  readonly to: "headSlot";
18825
- readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
18964
+ readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav') (helper_utils '===' $self.attributes.template 'navTab'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav') (helper_utils '!==' $self.attributes.template 'navTab'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
18826
18965
  }, {
18827
18966
  readonly when: "$attached";
18828
18967
  readonly to: "headRightSlot";
@@ -18842,7 +18981,7 @@ export declare const components: {
18842
18981
  }, {
18843
18982
  readonly when: "template";
18844
18983
  readonly to: "headSlot";
18845
- readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
18984
+ readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav') (helper_utils '===' $self.attributes.template 'navTab'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav') (helper_utils '!==' $self.attributes.template 'navTab'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
18846
18985
  }, {
18847
18986
  readonly when: "template";
18848
18987
  readonly to: "headRightSlot";
@@ -19023,6 +19162,32 @@ export declare const components: {
19023
19162
  readonly configMeta: {};
19024
19163
  readonly items: any;
19025
19164
  };
19165
+ WdMenuNavTabLayout: {
19166
+ readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
19167
+ readonly data: import("@sinclair/typebox").TObject<{}>;
19168
+ readonly events: readonly [];
19169
+ readonly isContainer: true;
19170
+ readonly meta: {
19171
+ readonly name: "WdMenuNavTabLayout";
19172
+ readonly componentName: "MenuNavTabLayout";
19173
+ readonly title: "工字导航布局";
19174
+ readonly category: "布局";
19175
+ readonly description: "工字导航布局适用于H5/小程序包含顶部导航与底部Tab切换不同页面或功能模块的场景";
19176
+ readonly previewImageUrl: "https://qcloudimg.tencent-cloud.cn/raw/2cf29361b2dc0245518601d0f3443124.png";
19177
+ readonly categoryOrder: 200;
19178
+ readonly componentOrder: 70;
19179
+ readonly figureIcon: "../figureIcons/WdMenuNavTabLayout.svg";
19180
+ readonly icon: "../icons/WdMenuNavTabLayout.svg";
19181
+ readonly componentType: "layout";
19182
+ readonly templates: readonly [{
19183
+ readonly when: "$attached";
19184
+ readonly to: "$children";
19185
+ readonly body: string;
19186
+ }];
19187
+ };
19188
+ readonly configMeta: {};
19189
+ readonly items: any;
19190
+ };
19026
19191
  WdMenuList: {
19027
19192
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
19028
19193
  readonly data: import("@sinclair/typebox").TObject<{
@@ -20091,6 +20256,93 @@ export declare const actions: {
20091
20256
  };
20092
20257
  declare const _default: {
20093
20258
  components: {
20259
+ WdMarkdown: {
20260
+ readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
20261
+ readonly data: import("@sinclair/typebox").TObject<{
20262
+ value: import("@sinclair/typebox").TString;
20263
+ options: import("@sinclair/typebox").TObject<{}>;
20264
+ }>;
20265
+ readonly properties: import("@sinclair/typebox").TObject<{
20266
+ value: import("@sinclair/typebox").TString;
20267
+ }>;
20268
+ readonly classes: readonly [{
20269
+ readonly name: "根元素";
20270
+ readonly selector: ".wd-markdown";
20271
+ readonly description: "链接组件根元素";
20272
+ }, {
20273
+ readonly name: "PC 端链接根元素";
20274
+ readonly selector: ".wd-pc-markdown";
20275
+ readonly description: "可以为 PC 端的链接编写样式";
20276
+ }, {
20277
+ readonly name: "H5 端链接根元素";
20278
+ readonly selector: ".wd-h5-markdown";
20279
+ readonly description: "可以为 H5 端的链接编写样式";
20280
+ }, {
20281
+ readonly name: "小程序端链接根元素";
20282
+ readonly selector: ".wd-mp-markdown";
20283
+ readonly description: "可以为小程序端的链接编写样式";
20284
+ }];
20285
+ readonly methods: readonly [];
20286
+ readonly events: readonly [];
20287
+ readonly meta: {
20288
+ readonly name: "WdMarkdown";
20289
+ readonly componentName: "markdown";
20290
+ readonly title: "markdown";
20291
+ readonly description: "用于markdown展示";
20292
+ readonly figureIcon: "../figureIcons/RichTextView.svg";
20293
+ readonly icon: "../icons/RichTextView.svg";
20294
+ readonly category: "展示";
20295
+ readonly categoryOrder: 400;
20296
+ readonly componentOrder: 250;
20297
+ readonly visible: any;
20298
+ readonly inlineStyleForm: {
20299
+ readonly $text: {
20300
+ readonly visible: false;
20301
+ };
20302
+ readonly fontSize: {
20303
+ readonly visible: false;
20304
+ };
20305
+ readonly color: {
20306
+ readonly visible: false;
20307
+ };
20308
+ readonly fontWeight: {
20309
+ readonly visible: false;
20310
+ };
20311
+ readonly lineHeight: {
20312
+ readonly visible: false;
20313
+ };
20314
+ readonly justifyContent: {
20315
+ readonly visible: false;
20316
+ };
20317
+ readonly flexDirection: {
20318
+ readonly visible: false;
20319
+ };
20320
+ readonly border: {
20321
+ readonly visible: false;
20322
+ };
20323
+ readonly background: {
20324
+ readonly visible: false;
20325
+ };
20326
+ readonly boxShadow: {
20327
+ readonly visible: false;
20328
+ };
20329
+ readonly opacity: {
20330
+ readonly visible: false;
20331
+ };
20332
+ readonly alignItems: {
20333
+ readonly visible: false;
20334
+ };
20335
+ };
20336
+ readonly templates: readonly [{
20337
+ readonly when: "$attached";
20338
+ readonly body: "\n[attributes]\n\":options\" = \"{\n html: false, // 在源码中启用 HTML 标签\n xhtmlOut: false, // 使用 / 来闭合单标签 (比如 <br />)。\n // 这个选项只对完全的 CommonMark 模式兼容。\n breaks: false, // 转换段落里的 换行符 到 <br>。\n langPrefix: 'language-', // 给围栏代码块的 CSS 语言前缀。对于额外的高亮代码非常有用。\n linkify: false, // 将类似 URL 的文本自动转换为链接。\n\n // 启用一些语言中立的替换 + 引号美化\n typographer: false,\n\n // 双 + 单引号替换对,当 typographer 启用时。\n // 或者智能引号等,可以是 String 或 Array。\n //\n // 比方说,你可以支持 '«»„“' 给俄罗斯人使用, '„“‚‘' 给德国人使用。\n quotes: '“”‘’',\n\n}\n\"\n";
20339
+ }];
20340
+ readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/WdMarkdown";
20341
+ readonly shortcut: {
20342
+ readonly props: readonly ["value"];
20343
+ };
20344
+ };
20345
+ };
20094
20346
  WdCodeEditor: {
20095
20347
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
20096
20348
  readonly data: import("@sinclair/typebox").TObject<{
@@ -27066,6 +27318,7 @@ declare const _default: {
27066
27318
  'x-component': string;
27067
27319
  'x-component-props': {
27068
27320
  dataContainerType: string;
27321
+ methodName: string;
27069
27322
  };
27070
27323
  'x-props': {
27071
27324
  'data-hidebind': boolean;
@@ -27118,6 +27371,18 @@ declare const _default: {
27118
27371
  enum?: undefined;
27119
27372
  };
27120
27373
  state?: undefined;
27374
+ } | {
27375
+ type: string;
27376
+ target: string;
27377
+ schema: {
27378
+ 'x-component-props': {
27379
+ dataSourceName: string;
27380
+ };
27381
+ enum?: undefined;
27382
+ 'x-props'?: undefined;
27383
+ };
27384
+ condition?: undefined;
27385
+ state?: undefined;
27121
27386
  })[];
27122
27387
  description: string;
27123
27388
  };
@@ -27285,6 +27550,8 @@ declare const _default: {
27285
27550
  }[];
27286
27551
  description: string;
27287
27552
  };
27553
+ selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
27554
+ selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
27288
27555
  pagination: {
27289
27556
  'x-index': number;
27290
27557
  title: string;
@@ -27324,6 +27591,18 @@ declare const _default: {
27324
27591
  description: string;
27325
27592
  display: boolean;
27326
27593
  };
27594
+ pageIndex: {
27595
+ 'x-index': number;
27596
+ title: string;
27597
+ type: string;
27598
+ default: number;
27599
+ 'x-group': string;
27600
+ 'x-props': {
27601
+ min: number;
27602
+ };
27603
+ description: string;
27604
+ display: boolean;
27605
+ };
27327
27606
  enableTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27328
27607
  total: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
27329
27608
  emptyText: {
@@ -27367,6 +27646,7 @@ declare const _default: {
27367
27646
  description: string;
27368
27647
  };
27369
27648
  isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27649
+ supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27370
27650
  };
27371
27651
  };
27372
27652
  events: ({
@@ -27406,6 +27686,7 @@ declare const _default: {
27406
27686
  message: import("@sinclair/typebox").TString;
27407
27687
  code: import("@sinclair/typebox").TString;
27408
27688
  }>;
27689
+ dataSourceVersion: import("@sinclair/typebox").TString;
27409
27690
  }>;
27410
27691
  methods: ({
27411
27692
  name: string;
@@ -27587,6 +27868,7 @@ declare const _default: {
27587
27868
  'x-component': string;
27588
27869
  'x-component-props': {
27589
27870
  dataContainerType: string;
27871
+ methodName: string;
27590
27872
  };
27591
27873
  'x-props': {
27592
27874
  'data-hidebind': boolean;
@@ -27605,6 +27887,15 @@ declare const _default: {
27605
27887
  schema: {
27606
27888
  'x-component-props': string;
27607
27889
  };
27890
+ } | {
27891
+ type: string;
27892
+ target: string;
27893
+ schema: {
27894
+ 'x-component-props': {
27895
+ dataSourceName: string;
27896
+ };
27897
+ };
27898
+ condition?: undefined;
27608
27899
  })[];
27609
27900
  description: string;
27610
27901
  };
@@ -27685,6 +27976,9 @@ declare const _default: {
27685
27976
  description: string;
27686
27977
  };
27687
27978
  isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27979
+ selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
27980
+ selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
27981
+ supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27688
27982
  };
27689
27983
  };
27690
27984
  events: ({
@@ -27706,6 +28000,7 @@ declare const _default: {
27706
28000
  })[];
27707
28001
  properties: import("@sinclair/typebox").TObject<{
27708
28002
  record: import("@sinclair/typebox").TObject<{}>;
28003
+ dataSourceVersion: import("@sinclair/typebox").TString;
27709
28004
  }>;
27710
28005
  methods: ({
27711
28006
  name: string;
@@ -32802,6 +33097,7 @@ declare const _default: {
32802
33097
  dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
32803
33098
  total: import("@sinclair/typebox").TNumber;
32804
33099
  records: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
33100
+ dataSourceVersion: import("@sinclair/typebox").TString;
32805
33101
  columnSets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
32806
33102
  key: import("@sinclair/typebox").TUnsafe<string>;
32807
33103
  header: import("@sinclair/typebox").TString;
@@ -32842,7 +33138,6 @@ declare const _default: {
32842
33138
  filterTypeOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
32843
33139
  }>>;
32844
33140
  selectedRecords: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
32845
- dataSourceVersion: import("@sinclair/typebox").TString;
32846
33141
  }>;
32847
33142
  readonly classes: readonly [{
32848
33143
  readonly name: "根元素";
@@ -37411,6 +37706,14 @@ declare const _default: {
37411
37706
  detail: {
37412
37707
  value: import("@sinclair/typebox").TNumber;
37413
37708
  };
37709
+ description: string;
37710
+ }, {
37711
+ readonly name: "input";
37712
+ readonly title: "用户输入";
37713
+ readonly detail: import("@sinclair/typebox").TObject<{
37714
+ value: import("@sinclair/typebox").TNumber;
37715
+ }>;
37716
+ readonly description: "用户输入值时触发,得到的是计算后的值";
37414
37717
  }, {
37415
37718
  name: string;
37416
37719
  title: string;
@@ -38748,7 +39051,7 @@ declare const _default: {
38748
39051
  headRightSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
38749
39052
  contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
38750
39053
  footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
38751
- template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant">;
39054
+ template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
38752
39055
  menu: import("@sinclair/typebox").TObject<{
38753
39056
  isMultiTerminal: import("@sinclair/typebox").TBoolean;
38754
39057
  menuData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -38782,8 +39085,9 @@ declare const _default: {
38782
39085
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
38783
39086
  }>>>;
38784
39087
  }>;
38785
- type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant">;
39088
+ type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
38786
39089
  defaultOpened: import("@sinclair/typebox").TBoolean;
39090
+ outerClickClosable: import("@sinclair/typebox").TBoolean;
38787
39091
  }>;
38788
39092
  readonly properties: import("@sinclair/typebox").TObject<{}>;
38789
39093
  readonly classes: readonly [{
@@ -38914,7 +39218,7 @@ declare const _default: {
38914
39218
  }, {
38915
39219
  readonly when: "$attached";
38916
39220
  readonly to: "headSlot";
38917
- readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
39221
+ readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav') (helper_utils '===' $self.attributes.template 'navTab'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav') (helper_utils '!==' $self.attributes.template 'navTab'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
38918
39222
  }, {
38919
39223
  readonly when: "$attached";
38920
39224
  readonly to: "headRightSlot";
@@ -38934,7 +39238,7 @@ declare const _default: {
38934
39238
  }, {
38935
39239
  readonly when: "template";
38936
39240
  readonly to: "headSlot";
38937
- readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
39241
+ readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '||' (helper_utils '===' $self.attributes.template 'tab') (helper_utils '===' $self.attributes.template 'nav') (helper_utils '===' $self.attributes.template 'navTab'))}}\n[[directives]]\n\":if\" = false\n{{else}}\n[[directives]]\n\":if\" = true\n{{/if}}\n\n{{#if (helper_utils '&&' (helper_utils '!==' $self.attributes.template 'tab') (helper_utils '!==' $self.attributes.template 'nav') (helper_utils '!==' $self.attributes.template 'navTab'))}}\n[[template]]\ncomponent = 'WdIcon'\n[template.attributes]\ntype = 'custom'\nsrc = 'https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg'\n[[template]]\ncomponent = 'WdText'\n[template.attributes]\ntext = '菜单标题'\nlevel = 'title-6'\n[template.extra.commonStyle.margin]\nleft = '8px'\n{{/if}}\n\n{{/with}}\n";
38938
39242
  }, {
38939
39243
  readonly when: "template";
38940
39244
  readonly to: "headRightSlot";
@@ -39115,6 +39419,32 @@ declare const _default: {
39115
39419
  readonly configMeta: {};
39116
39420
  readonly items: any;
39117
39421
  };
39422
+ WdMenuNavTabLayout: {
39423
+ readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
39424
+ readonly data: import("@sinclair/typebox").TObject<{}>;
39425
+ readonly events: readonly [];
39426
+ readonly isContainer: true;
39427
+ readonly meta: {
39428
+ readonly name: "WdMenuNavTabLayout";
39429
+ readonly componentName: "MenuNavTabLayout";
39430
+ readonly title: "工字导航布局";
39431
+ readonly category: "布局";
39432
+ readonly description: "工字导航布局适用于H5/小程序包含顶部导航与底部Tab切换不同页面或功能模块的场景";
39433
+ readonly previewImageUrl: "https://qcloudimg.tencent-cloud.cn/raw/2cf29361b2dc0245518601d0f3443124.png";
39434
+ readonly categoryOrder: 200;
39435
+ readonly componentOrder: 70;
39436
+ readonly figureIcon: "../figureIcons/WdMenuNavTabLayout.svg";
39437
+ readonly icon: "../icons/WdMenuNavTabLayout.svg";
39438
+ readonly componentType: "layout";
39439
+ readonly templates: readonly [{
39440
+ readonly when: "$attached";
39441
+ readonly to: "$children";
39442
+ readonly body: string;
39443
+ }];
39444
+ };
39445
+ readonly configMeta: {};
39446
+ readonly items: any;
39447
+ };
39118
39448
  WdMenuList: {
39119
39449
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
39120
39450
  readonly data: import("@sinclair/typebox").TObject<{
@@ -89,6 +89,7 @@ import WdMenuBaseLayout from './components/wd-menu-base-layout';
89
89
  import WdMenuList from './components/wd-menu-list';
90
90
  import WdMenuTabLayout from './components/wd-menu-tab-layout';
91
91
  import WdMenuNavLayout from './components/wd-menu-nav-layout';
92
+ import WdMenuNavTabLayout from './components/wd-menu-nav-tab-layou';
92
93
  import WdTabBar from './components/wd-tabbar';
93
94
  import WdCard from './components/wd-card';
94
95
  import WdLayout from './components/wd-layout';
@@ -144,7 +145,9 @@ import WdRating from './components/wd-rating';
144
145
  import WdProgress from './components/wd-progress';
145
146
  import WdCascader from './components/wd-cascader';
146
147
  import WdCodeEditor from './components/wd-code-editor';
148
+ import WdMarkdown from './components/wd-markdown';
147
149
  export const components = {
150
+ WdMarkdown,
148
151
  WdCodeEditor,
149
152
  WdUnifiedLink,
150
153
  WdRating,
@@ -284,6 +287,7 @@ export const components = {
284
287
  WdMenuBaseLayout,
285
288
  WdMenuTabLayout,
286
289
  WdMenuNavLayout,
290
+ WdMenuNavTabLayout,
287
291
  WdMenuList,
288
292
  WdRichText,
289
293
  WdCalendar,
@@ -596,7 +596,7 @@ export const FORM_ITEM_DATA = {
596
596
  _modeInFormArr: Type.StringEnum({
597
597
  title: '嵌套表单项类型',
598
598
  type: 'string',
599
- 'x-runtime-default': 'obj',
599
+ default: 'obj',
600
600
  enum: [
601
601
  { label: '对象', value: 'obj' },
602
602
  { label: '字段', value: 'field' },