@tongfun/ui 0.0.1-alpha.11 → 0.0.1-alpha.12

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.
@@ -81,6 +81,8 @@ const q = "0.1.0", T = {
81
81
  "TfReportOpHistory",
82
82
  "TfReportSaveAsPopover",
83
83
  "TfReportVersionHistory",
84
+ "TfReportSearchResults",
85
+ "TfReportSearchToolbar",
84
86
  "TfReportWorkbench"
85
87
  ]
86
88
  }
@@ -18517,7 +18519,7 @@ const q = "0.1.0", T = {
18517
18519
  hidden: !1,
18518
18520
  required: !1,
18519
18521
  default: null,
18520
- description: "前导图标组件(如 lucide-vue-next 的图标);传入后在卡片左侧渲染主题色浅底图标方块;与 #icon 插槽共存时插槽优先 */"
18522
+ description: "前导图标组件(如 @lucide/vue 的图标);传入后在卡片左侧渲染主题色浅底图标方块;与 #icon 插槽共存时插槽优先 */"
18521
18523
  },
18522
18524
  {
18523
18525
  name: "iconPlacement",
@@ -61483,7 +61485,7 @@ const q = "0.1.0", T = {
61483
61485
  advanced: !1,
61484
61486
  hidden: !1,
61485
61487
  required: !1,
61486
- description: "左侧图标(lucide-vue-next 组件),16px,与标题+副标题两行整体垂直居中,文字块缩进 24px"
61488
+ description: "左侧图标(@lucide/vue 组件),16px,与标题+副标题两行整体垂直居中,文字块缩进 24px"
61487
61489
  },
61488
61490
  {
61489
61491
  name: "tone",
@@ -70789,7 +70791,7 @@ const q = "0.1.0", T = {
70789
70791
  Component: {
70790
70792
  type: "import('vue').Component",
70791
70793
  default: "—",
70792
- description: "Vue 组件实例(如 lucide-vue-next 图标)"
70794
+ description: "Vue 组件实例(如 @lucide/vue 图标)"
70793
70795
  },
70794
70796
  ScoreThreshold: {
70795
70797
  type: "{ value: number; theme: MetricTheme }",
@@ -76203,7 +76205,7 @@ const q = "0.1.0", T = {
76203
76205
  icon: {
76204
76206
  type: "Component",
76205
76207
  default: "—",
76206
- description: "可选图标(lucide-vue-next 组件引用) */"
76208
+ description: "可选图标(@lucide/vue 组件引用) */"
76207
76209
  },
76208
76210
  groupKey: {
76209
76211
  type: "string",
@@ -76230,7 +76232,7 @@ const q = "0.1.0", T = {
76230
76232
  icon: {
76231
76233
  type: "Component",
76232
76234
  default: "—",
76233
- description: "分组图标(lucide-vue-next 组件引用) */"
76235
+ description: "分组图标(@lucide/vue 组件引用) */"
76234
76236
  },
76235
76237
  collapsible: {
76236
76238
  type: "boolean",
@@ -79274,7 +79276,7 @@ const q = "0.1.0", T = {
79274
79276
  icon: {
79275
79277
  type: "Component",
79276
79278
  default: "—",
79277
- description: "分组图标(lucide-vue-next 组件引用) */"
79279
+ description: "分组图标(@lucide/vue 组件引用) */"
79278
79280
  },
79279
79281
  tone: {
79280
79282
  type: "primary | info | success | violet | amber",
@@ -80536,6 +80538,18 @@ const q = "0.1.0", T = {
80536
80538
  required: !1,
80537
80539
  default: {},
80538
80540
  description: "文案包(Partial 覆盖内置中文默认):类型/底色 label、统计与操作条提示、aria-label"
80541
+ },
80542
+ {
80543
+ name: "keyword",
80544
+ title: "keyword",
80545
+ type: "string",
80546
+ control: "text",
80547
+ bindable: !1,
80548
+ advanced: !1,
80549
+ hidden: !1,
80550
+ required: !1,
80551
+ default: "",
80552
+ description: "当前列表筛选词:命中标题/简述时内联分段 mark 高亮(amber 语义,大小写不敏感、多次命中;禁 v-html)"
80539
80553
  }
80540
80554
  ],
80541
80555
  events: [
@@ -81323,6 +81337,36 @@ const q = "0.1.0", T = {
81323
81337
  required: !1,
81324
81338
  default: {},
81325
81339
  description: "文案包(Partial 覆盖中文默认;默认值=源 zh.ts customReport.wizard.* 逐字)"
81340
+ },
81341
+ {
81342
+ name: "lastMode",
81343
+ title: "lastMode",
81344
+ type: "'' | 'blank' | 'template' | 'ai' | 'import'",
81345
+ control: "select",
81346
+ bindable: !1,
81347
+ advanced: !1,
81348
+ hidden: !1,
81349
+ required: !1,
81350
+ options: [
81351
+ {
81352
+ value: " | ",
81353
+ label: " | "
81354
+ },
81355
+ {
81356
+ value: " | ",
81357
+ label: " | "
81358
+ },
81359
+ {
81360
+ value: " | ",
81361
+ label: " | "
81362
+ },
81363
+ {
81364
+ value: " | ",
81365
+ label: " | "
81366
+ }
81367
+ ],
81368
+ default: "",
81369
+ description: "上次选择的来源(源 WizardData.lastMode);非空时来源步顶部显示「继续上次:{mode}」捷径,点击直达对应配置步且不预选内容;chooseMode 时组件外抛 remember-mode 由消费方持久化"
81326
81370
  }
81327
81371
  ],
81328
81372
  events: [
@@ -81463,6 +81507,18 @@ const q = "0.1.0", T = {
81463
81507
  eventName: "close-intent",
81464
81508
  title: "close-intent",
81465
81509
  payload: {}
81510
+ },
81511
+ {
81512
+ name: "rememberMode",
81513
+ eventName: "remember-mode",
81514
+ title: "remember-mode",
81515
+ payload: {}
81516
+ },
81517
+ {
81518
+ name: "useTemplate",
81519
+ eventName: "use-template",
81520
+ title: "use-template",
81521
+ payload: {}
81466
81522
  }
81467
81523
  ],
81468
81524
  slots: [],
@@ -81569,7 +81625,12 @@ const q = "0.1.0", T = {
81569
81625
  kpiLabels: {
81570
81626
  type: "string[]",
81571
81627
  default: "—",
81572
- description: "KPI 指标文案列表(预览占位条与「{n} 指标」计数) */"
81628
+ description: "KPI 指标文案列表(预览占位条、「{n} 指标」计数与搜索域) */"
81629
+ },
81630
+ pinyin: {
81631
+ type: "string",
81632
+ default: "—",
81633
+ description: "名称拼音首字母(源 REPORT_OPTIONS.pinyin;搜索命中且名称/描述未直命中时行尾显灰「拼音」badge) */"
81573
81634
  }
81574
81635
  },
81575
81636
  WizardSavedTemplate: {
@@ -81587,6 +81648,11 @@ const q = "0.1.0", T = {
81587
81648
  type: "string",
81588
81649
  default: "—",
81589
81650
  description: "展示日期(消费方格式化,组件不做 locale 处理) */"
81651
+ },
81652
+ page: {
81653
+ type: "unknown",
81654
+ default: "—",
81655
+ description: "套装原始页面对象(源 SavedTplLite.page;组件只读其 blocks[].title 参与搜索域) */"
81590
81656
  }
81591
81657
  },
81592
81658
  WizardTemplateGroups: {
@@ -81693,7 +81759,7 @@ const q = "0.1.0", T = {
81693
81759
  _note: {
81694
81760
  type: "Record<string, string>",
81695
81761
  default: "—",
81696
- description: "约 120 个界面文案 key;默认值=源 zh.ts customReport.wizard.* 逐字(含宿主弹窗 title/subtitle、跳步拦截四条、关闭三选三条等),详见 src/report-wizard.ts */"
81762
+ description: "约 135 个界面文案 key;默认值=源 zh.ts customReport.wizard.* 逐字(v2.6.0:mode 系列 12 值与 subtitle 按源改值、双页签 5 key、搜索升级 4 key、预览开关 3 key 等;stepIncompleteTemplate/Ai/Next 已随外部反馈弹层移除删除,stepIncompleteTitle 保留),详见 src/report-wizard.ts */"
81697
81763
  }
81698
81764
  }
81699
81765
  },
@@ -81834,8 +81900,9 @@ const q = "0.1.0", T = {
81834
81900
  TfPreReviewResult: "'pass' | 'fail' | 'wait'",
81835
81901
  TfReviewPacketPreReview: "{ role: TfPreReviewRole; result: TfPreReviewResult; note?: string }",
81836
81902
  TfReviewPacket: "{ id; assetId; themeKey; signalIds; count; impactUsers; severity; proposedAction; confidence; status; owner; createdAt; decidedAt?; reason? }",
81837
- TfPacketSignal: "{ id; user; text; time; rating?; assetId; themeKey; sentiment; intent; severity; confidence }",
81838
- TfPacketTheme: "{ id; key; count; signalIds; representativeIds; impactUsers; severity; proposedAction; confidence }"
81903
+ TfPacketSignal: "{ id; user; text; time; rating?; source?: TfPacketSource; assetId; themeKey; sentiment; intent; severity; confidence }",
81904
+ TfPacketTheme: "{ id; key; count; signalIds; representativeIds; impactUsers; severity; proposedAction; confidence }",
81905
+ TfPacketSource: "'comment' | 'rating' | 'ticket' | 'forum' | 'help'(声音来源;缺省按 comment)"
81839
81906
  },
81840
81907
  editor: {
81841
81908
  canvasSlots: [],
@@ -82027,7 +82094,8 @@ const q = "0.1.0", T = {
82027
82094
  TfVoiceSummary: "{ total; themeCount; pending; accepted; topThemeKey }",
82028
82095
  TfVoiceImprovement: "{ id; assetId; themeKey; kind: 'version'|'doc'|'roadmap'; status; at }",
82029
82096
  TfVoiceWhyNot: "{ id; assetId; themeKey; reason; at }",
82030
- TfVoiceSignal: "{ id; user; text; time; rating?; assetId; themeKey; sentiment; intent; severity; confidence }"
82097
+ TfVoiceSignal: "{ id; user; text; time; rating?; source?: TfVoiceSource; assetId; themeKey; sentiment; intent; severity; confidence }",
82098
+ TfVoiceSource: "'comment' | 'rating' | 'ticket' | 'forum' | 'help'(声音来源;缺省按 comment)"
82031
82099
  },
82032
82100
  editor: {
82033
82101
  canvasSlots: [],
@@ -85737,470 +85805,1661 @@ const q = "0.1.0", T = {
85737
85805
  defaultEnabledSlots: []
85738
85806
  }
85739
85807
  }
85740
- }
85741
- ], k = {
85742
- app_header: [
85743
- "TfAppBar"
85744
- ],
85745
- brand_area: [
85746
- "TfAppBar"
85747
- ],
85748
- global_search: [
85749
- "TfAppBar"
85750
- ],
85751
- top_actions: [
85752
- "TfAppBar"
85753
- ],
85754
- compose_page: [
85755
- "TfPage"
85756
- ],
85757
- hold_layout: [
85758
- "TfPage",
85759
- "TfContainer"
85760
- ],
85761
- page_header: [
85762
- "TfPage"
85763
- ],
85764
- group_content: [
85765
- "TfSection"
85766
- ],
85767
- collapsible_panel: [
85768
- "TfSection"
85769
- ],
85770
- app_shell: [
85771
- "TfSidebarLayout"
85772
- ],
85773
- sidebar_navigation: [
85774
- "TfSidebarLayout"
85775
- ],
85776
- main_content_layout: [
85777
- "TfSidebarLayout"
85778
- ],
85779
- page_title: [
85780
- "TfPageHeader"
85781
- ],
85782
- page_description: [
85783
- "TfPageHeader"
85784
- ],
85785
- breadcrumb: [
85786
- "TfPageHeader",
85787
- "TfBreadcrumb"
85788
- ],
85789
- back_action: [
85790
- "TfPageHeader"
85791
- ],
85792
- header_actions: [
85793
- "TfPageHeader"
85794
- ],
85795
- constrain_width: [
85796
- "TfContainer"
85797
- ],
85798
- center_content: [
85799
- "TfContainer"
85800
- ],
85801
- hero_banner: [
85802
- "TfHero"
85803
- ],
85804
- page_intro: [
85805
- "TfHero"
85806
- ],
85807
- prominent_actions: [
85808
- "TfHero"
85809
- ],
85810
- responsive_grid: [
85811
- "TfGrid"
85812
- ],
85813
- arrange_cards: [
85814
- "TfGrid"
85815
- ],
85816
- arrange_fields: [
85817
- "TfGrid"
85818
- ],
85819
- vertical_stack: [
85820
- "TfStack"
85821
- ],
85822
- space_items: [
85823
- "TfStack"
85824
- ],
85825
- horizontal_arrange: [
85826
- "TfInline"
85827
- ],
85828
- toolbar_like_layout: [
85829
- "TfInline"
85830
- ],
85831
- wrap_items: [
85832
- "TfInline"
85833
- ],
85834
- two_panel_layout: [
85835
- "TfSplit"
85836
- ],
85837
- master_detail_layout: [
85838
- "TfSplit",
85839
- "TfMasterDetail"
85840
- ],
85841
- frame_content: [
85842
- "TfCard"
85843
- ],
85844
- show_loading_empty: [
85845
- "TfCard"
85846
- ],
85847
- clickable_panel: [
85848
- "TfCard"
85849
- ],
85850
- arrange_actions: [
85851
- "TfToolbar"
85852
- ],
85853
- sticky_actions: [
85854
- "TfToolbar"
85855
- ],
85856
- split_action_groups: [
85857
- "TfToolbar"
85858
- ],
85859
- detail_page_layout: [
85860
- "TfDetailLayout"
85861
- ],
85862
- aside_summary: [
85863
- "TfDetailLayout"
85864
- ],
85865
- responsive_stack: [
85866
- "TfDetailLayout"
85867
- ],
85868
- record_detail: [
85869
- "TfMasterDetail"
85870
- ],
85871
- empty_when_unselected: [
85872
- "TfMasterDetail"
85873
- ],
85874
- loading_state: [
85875
- "TfStateContainer",
85876
- "TfLoading"
85877
- ],
85878
- empty_state: [
85879
- "TfStateContainer",
85880
- "TfEmpty"
85881
- ],
85882
- error_state: [
85883
- "TfStateContainer",
85884
- "TfEmpty"
85885
- ],
85886
- retry_action: [
85887
- "TfStateContainer"
85888
- ],
85889
- form_grid: [
85890
- "TfFormLayout"
85891
- ],
85892
- responsive_form_columns: [
85893
- "TfFormLayout"
85894
- ],
85895
- form_actions: [
85896
- "TfFormLayout"
85897
- ],
85898
- collect_user_input: [
85899
- "TfForm"
85900
- ],
85901
- validate_fields: [
85902
- "TfForm"
85903
- ],
85904
- submit_form: [
85905
- "TfForm"
85906
- ],
85907
- text_input: [
85908
- "TfInput"
85909
- ],
85910
- single_line_input: [
85911
- "TfInput"
85912
- ],
85913
- data_binding: [
85914
- "TfInput",
85915
- "TfSelect"
85916
- ],
85917
- ai_complete: [
85918
- "TfInput"
85919
- ],
85920
- ai_validate: [
85921
- "TfInput"
85922
- ],
85923
- enum_select: [
85924
- "TfSelect"
85925
- ],
85926
- multi_select: [
85927
- "TfSelect"
85928
- ],
85929
- search_options: [
85930
- "TfSelect"
85931
- ],
85932
- ai_recommend_option: [
85933
- "TfSelect"
85934
- ],
85935
- date_select: [
85936
- "TfDatePicker"
85937
- ],
85938
- date_range_select: [
85939
- "TfDatePicker"
85940
- ],
85941
- date_constraints: [
85942
- "TfDatePicker"
85943
- ],
85944
- ai_recommend_date: [
85945
- "TfDatePicker"
85946
- ],
85947
- file_upload: [
85948
- "TfUpload"
85949
- ],
85950
- file_grouping: [
85951
- "TfUpload"
85952
- ],
85953
- file_approval: [
85954
- "TfUpload"
85955
- ],
85956
- file_preview: [
85957
- "TfUpload"
85958
- ],
85959
- ai_file_classify: [
85960
- "TfUpload"
85961
- ],
85962
- ai_file_validate: [
85963
- "TfUpload"
85964
- ],
85965
- display_records: [
85966
- "TfTable"
85967
- ],
85968
- select_rows: [
85969
- "TfTable"
85970
- ],
85971
- sort_records: [
85972
- "TfTable"
85973
- ],
85974
- custom_columns: [
85975
- "TfTable"
85976
- ],
85977
- virtual_scroll: [
85978
- "TfTable"
85979
- ],
85980
- navigation_menu: [
85981
- "TfMenu"
85982
- ],
85983
- route_selection: [
85984
- "TfMenu"
85985
- ],
85986
- nested_navigation: [
85987
- "TfMenu"
85988
- ],
85989
- route_context: [
85990
- "TfBreadcrumb"
85991
- ],
85992
- hierarchy_navigation: [
85993
- "TfBreadcrumb"
85994
- ],
85995
- confirm_action: [
85996
- "TfModal"
85997
- ],
85998
- edit_in_dialog: [
85999
- "TfModal"
86000
- ],
86001
- show_detail_overlay: [
86002
- "TfModal"
86003
- ],
86004
- block_interaction: [
86005
- "TfModal"
86006
- ],
86007
- trigger_action: [
86008
- "TfButton"
86009
- ],
86010
- submit_action: [
86011
- "TfButton"
86012
- ],
86013
- cancel_action: [
86014
- "TfButton"
86015
- ],
86016
- ai_recommend_action: [
86017
- "TfButton"
86018
- ],
86019
- ai_approve_action: [
86020
- "TfButton"
86021
- ],
86022
- side_navigation: [
86023
- "TfSideNav"
86024
- ],
86025
- section_navigation: [
86026
- "TfSideNav"
86027
- ],
86028
- workflow_navigation: [
86029
- "TfSideNav"
86030
- ],
86031
- tab_navigation: [
86032
- "TfTabs"
86033
- ],
86034
- content_switching: [
86035
- "TfTabs"
86036
- ],
86037
- tab_navigation_structure: [
86038
- "TfTabsList"
86039
- ],
86040
- tab_trigger: [
86041
- "TfTabsTrigger"
86042
- ],
86043
- tab_panel: [
86044
- "TfTabsContent"
86045
- ],
86046
- step_navigation: [
86047
- "TfSteps"
86048
- ],
86049
- workflow_progress: [
86050
- "TfSteps"
86051
- ],
86052
- anchor_navigation: [
86053
- "TfAnchor"
86054
- ],
86055
- document_outline: [
86056
- "TfAnchor"
86057
- ],
86058
- dropdown_menu: [
86059
- "TfDropdown"
86060
- ],
86061
- compact_actions: [
86062
- "TfDropdown"
86063
- ],
86064
- pagination: [
86065
- "TfPagination"
86066
- ],
86067
- table_pagination: [
86068
- "TfPagination"
86069
- ],
86070
- list_pagination: [
86071
- "TfPagination"
86072
- ],
86073
- inline_alert: [
86074
- "TfAlert"
86075
- ],
86076
- status_notice: [
86077
- "TfAlert"
86078
- ],
86079
- warning_banner: [
86080
- "TfAlert"
86081
- ],
86082
- drawer_overlay: [
86083
- "TfDrawer"
86084
- ],
86085
- side_panel: [
86086
- "TfDrawer"
86087
- ],
86088
- detail_panel: [
86089
- "TfDrawer"
86090
- ],
86091
- no_data_state: [
86092
- "TfEmpty"
86093
- ],
86094
- progress_indicator: [
86095
- "TfProgress"
86096
- ],
86097
- task_progress: [
86098
- "TfProgress"
86099
- ],
86100
- upload_progress: [
86101
- "TfProgress"
86102
- ],
86103
- loading_placeholder: [
86104
- "TfSkeleton"
86105
- ],
86106
- skeleton_loading: [
86107
- "TfSkeleton"
86108
- ],
86109
- tooltip: [
86110
- "TfTooltip"
86111
- ],
86112
- field_hint: [
86113
- "TfTooltip"
86114
- ],
86115
- inline_help: [
86116
- "TfTooltip"
86117
- ],
86118
- image_preview: [
86119
- "TfImagePreview"
86120
- ],
86121
- media_overlay: [
86122
- "TfImagePreview"
86123
- ],
86124
- back_to_top: [
86125
- "TfBackTop"
86126
- ],
86127
- page_scroll_action: [
86128
- "TfBackTop"
86129
- ],
86130
- global_message: [
86131
- "TfMessage"
86132
- ],
86133
- toast_message: [
86134
- "TfMessage"
86135
- ],
86136
- operation_feedback: [
86137
- "TfMessage"
86138
- ],
86139
- global_notification: [
86140
- "TfNotification"
86141
- ],
86142
- async_notice: [
86143
- "TfNotification"
86144
- ],
86145
- system_notice: [
86146
- "TfNotification"
86147
- ],
86148
- status_tag: [
86149
- "TfTag"
86150
- ],
86151
- label_display: [
86152
- "TfTag"
86153
- ],
86154
- semantic_badge: [
86155
- "TfTag"
86156
- ],
86157
- count_badge: [
86158
- "TfBadge"
86159
- ],
86160
- notification_badge: [
86161
- "TfBadge"
86162
- ],
86163
- status_badge: [
86164
- "TfBadge"
86165
- ],
86166
- avatar_display: [
86167
- "TfAvatar"
86168
- ],
86169
- user_identity: [
86170
- "TfAvatar"
86171
- ],
86172
- profile_image: [
86173
- "TfAvatar"
86174
- ],
86175
- status_dot: [
86176
- "TfStatusDot"
86177
- ],
86178
- availability_indicator: [
86179
- "TfStatusDot"
86180
- ],
86181
- state_indicator: [
86182
- "TfStatusDot"
86183
- ],
86184
- metric_card: [
86185
- "TfMetric"
86186
- ],
86187
- kpi_display: [
86188
- "TfMetric"
86189
- ],
86190
- trend_indicator: [
86191
- "TfMetric"
86192
- ],
86193
- tree_display: [
86194
- "TfTree"
86195
- ],
86196
- hierarchy_display: [
86197
- "TfTree"
86198
- ],
86199
- select_tree_node: [
86200
- "TfTree"
86201
- ],
86202
- carousel_display: [
86203
- "TfCarousel"
85808
+ },
85809
+ {
85810
+ name: "TfReportSearchResults",
85811
+ title: "TfReportSearchResults",
85812
+ category: "basic",
85813
+ group: "basic-components",
85814
+ source: {
85815
+ exportName: "TfReportSearchResults",
85816
+ importPath: "tf-ui",
85817
+ path: "packages/ui/components/business/report-search-results"
85818
+ },
85819
+ lowcode: {
85820
+ palette: {
85821
+ icon: "LayoutList",
85822
+ order: 100,
85823
+ draggable: !0,
85824
+ recommended: !1
85825
+ },
85826
+ props: [
85827
+ {
85828
+ name: "open",
85829
+ title: "展开",
85830
+ type: "boolean",
85831
+ control: "switch",
85832
+ bindable: !0,
85833
+ advanced: !1,
85834
+ hidden: !1,
85835
+ required: !1,
85836
+ description: "面板开关(false 不渲染)"
85837
+ },
85838
+ {
85839
+ name: "keyword",
85840
+ title: "keyword",
85841
+ type: "string",
85842
+ control: "text",
85843
+ bindable: !1,
85844
+ advanced: !1,
85845
+ hidden: !1,
85846
+ required: !1,
85847
+ description: "搜索词:标题行与结果卡标题/简述命中 mark 高亮(大小写不敏感;内联分段渲染,禁 v-html)"
85848
+ },
85849
+ {
85850
+ name: "count",
85851
+ title: "count",
85852
+ type: "number",
85853
+ control: "number",
85854
+ bindable: !1,
85855
+ advanced: !1,
85856
+ hidden: !1,
85857
+ required: !1,
85858
+ description: "结果条数(0 呈空态;也进 resultCountInline 文案)"
85859
+ },
85860
+ {
85861
+ name: "scopeLabel",
85862
+ title: "scopeLabel",
85863
+ type: "string",
85864
+ control: "text",
85865
+ bindable: !1,
85866
+ advanced: !1,
85867
+ hidden: !1,
85868
+ required: !1,
85869
+ description: "作用域名(resultCountInline 的 {scope})"
85870
+ },
85871
+ {
85872
+ name: "groups",
85873
+ title: "groups",
85874
+ type: "ReportSearchResultGroup[]",
85875
+ control: "json",
85876
+ bindable: !1,
85877
+ advanced: !1,
85878
+ hidden: !1,
85879
+ required: !1,
85880
+ description: "分组结果(按 label 分节渲染,两列栅格 ≥640px)"
85881
+ },
85882
+ {
85883
+ name: "cursor",
85884
+ title: "cursor",
85885
+ type: "number",
85886
+ control: "number",
85887
+ bindable: !1,
85888
+ advanced: !1,
85889
+ hidden: !1,
85890
+ required: !1,
85891
+ description: "键盘当前项下标(r.index === cursor 呈当前项高亮)"
85892
+ },
85893
+ {
85894
+ name: "emptyText",
85895
+ title: "emptyText",
85896
+ type: "string",
85897
+ control: "text",
85898
+ bindable: !1,
85899
+ advanced: !1,
85900
+ hidden: !1,
85901
+ required: !1,
85902
+ description: "空态主文案"
85903
+ },
85904
+ {
85905
+ name: "emptyHint",
85906
+ title: "emptyHint",
85907
+ type: "string",
85908
+ control: "text",
85909
+ bindable: !1,
85910
+ advanced: !1,
85911
+ hidden: !1,
85912
+ required: !1,
85913
+ description: "空态提示文案"
85914
+ },
85915
+ {
85916
+ name: "collapseLabel",
85917
+ title: "collapseLabel",
85918
+ type: "string",
85919
+ control: "text",
85920
+ bindable: !1,
85921
+ advanced: !1,
85922
+ hidden: !1,
85923
+ required: !1,
85924
+ description: "收起钮文案"
85925
+ },
85926
+ {
85927
+ name: "ariaLabel",
85928
+ title: "ariaLabel",
85929
+ type: "string",
85930
+ control: "text",
85931
+ bindable: !1,
85932
+ advanced: !1,
85933
+ hidden: !1,
85934
+ required: !1,
85935
+ description: "region aria-label"
85936
+ },
85937
+ {
85938
+ name: "texts",
85939
+ title: "texts",
85940
+ type: "Partial<TfReportSearchResultsTexts>",
85941
+ control: "text",
85942
+ bindable: !1,
85943
+ advanced: !1,
85944
+ hidden: !1,
85945
+ required: !1,
85946
+ default: {},
85947
+ description: "文案包(Partial 覆盖内置中文默认):resultsAria/resultCountInline/typeReport/typeComponent"
85948
+ }
85949
+ ],
85950
+ events: [
85951
+ {
85952
+ name: "openResult",
85953
+ eventName: "open-result",
85954
+ title: "open-result",
85955
+ payload: {}
85956
+ },
85957
+ {
85958
+ name: "close",
85959
+ eventName: "close",
85960
+ title: "关闭",
85961
+ payload: {}
85962
+ }
85963
+ ],
85964
+ slots: [],
85965
+ customTypes: {
85966
+ ReportSearchResultKind: "'report' | 'component'(源硬编码中文 '报表'|'组件' 改 key,label 经 texts 注入)",
85967
+ ReportSearchResultItem: "{ key: string; kind: ReportSearchResultKind; label: string; desc: string; index: number(扁平结果集下标,用于键盘当前项高亮) }",
85968
+ ReportSearchResultGroup: "{ label: string; items: ReportSearchResultItem[] }",
85969
+ TfReportSearchResultsTexts: "{ resultsAria; resultCountInline({n}·{scope}); typeReport; typeComponent }"
85970
+ },
85971
+ editor: {
85972
+ canvasSlots: [],
85973
+ defaultEnabledSlots: []
85974
+ }
85975
+ }
85976
+ },
85977
+ {
85978
+ name: "TfReportSearchToolbar",
85979
+ title: "TfReportSearchToolbar",
85980
+ category: "basic",
85981
+ group: "basic-components",
85982
+ source: {
85983
+ exportName: "TfReportSearchToolbar",
85984
+ importPath: "tf-ui",
85985
+ path: "packages/ui/components/business/report-search-toolbar"
85986
+ },
85987
+ lowcode: {
85988
+ palette: {
85989
+ icon: "Search",
85990
+ order: 100,
85991
+ draggable: !0,
85992
+ recommended: !1
85993
+ },
85994
+ props: [
85995
+ {
85996
+ name: "search",
85997
+ title: "search",
85998
+ type: "TfReportSearchQuery",
85999
+ control: "text",
86000
+ bindable: !1,
86001
+ advanced: !1,
86002
+ hidden: !1,
86003
+ required: !1,
86004
+ description: "搜索框受控配置(形状同源 PageSearchProps):value/onChange 必填;placeholder/storageKey/width/suggestions/suggestionLimit/clearAfterSubmit/shortcutHint/shortcut/inputId 可选;storageKey/suggestions 由 #search slot 注入的完整搜索组件消费"
86005
+ },
86006
+ {
86007
+ name: "scope",
86008
+ title: "scope",
86009
+ type: "'all' | 'current'",
86010
+ control: "select",
86011
+ bindable: !1,
86012
+ advanced: !1,
86013
+ hidden: !1,
86014
+ required: !1,
86015
+ options: [
86016
+ {
86017
+ value: "all",
86018
+ label: "all"
86019
+ },
86020
+ {
86021
+ value: "current",
86022
+ label: "current"
86023
+ }
86024
+ ],
86025
+ description: "搜索作用域(受控);切换外抛 update:scope"
86026
+ },
86027
+ {
86028
+ name: "scopeName",
86029
+ title: "scopeName",
86030
+ type: "string",
86031
+ control: "text",
86032
+ bindable: !1,
86033
+ advanced: !1,
86034
+ hidden: !1,
86035
+ required: !1,
86036
+ description: "当前页名称(scope='current' 时显示在切换钮内,72px 截断)"
86037
+ },
86038
+ {
86039
+ name: "scopeAllTip",
86040
+ title: "scopeAllTip",
86041
+ type: "string",
86042
+ control: "text",
86043
+ bindable: !1,
86044
+ advanced: !1,
86045
+ hidden: !1,
86046
+ required: !1,
86047
+ description: "「全部」钮悬浮提示"
86048
+ },
86049
+ {
86050
+ name: "scopeCurrentTip",
86051
+ title: "scopeCurrentTip",
86052
+ type: "string",
86053
+ control: "text",
86054
+ bindable: !1,
86055
+ advanced: !1,
86056
+ hidden: !1,
86057
+ required: !1,
86058
+ description: "「当前页」钮悬浮提示"
86059
+ },
86060
+ {
86061
+ name: "advActive",
86062
+ title: "advActive",
86063
+ type: "boolean",
86064
+ control: "switch",
86065
+ bindable: !1,
86066
+ advanced: !1,
86067
+ hidden: !1,
86068
+ required: !1,
86069
+ description: "高级查询入口激活态(violet-100 底 violet-700 字)"
86070
+ },
86071
+ {
86072
+ name: "advCount",
86073
+ title: "advCount",
86074
+ type: "number",
86075
+ control: "number",
86076
+ bindable: !1,
86077
+ advanced: !1,
86078
+ hidden: !1,
86079
+ required: !1,
86080
+ description: "已用条件数:>0 渲染右上角 violet 徽标并进入 aria 文案(advancedAriaCount {n})"
86081
+ },
86082
+ {
86083
+ name: "backLabel",
86084
+ title: "backLabel",
86085
+ type: "string",
86086
+ control: "text",
86087
+ bindable: !1,
86088
+ advanced: !1,
86089
+ hidden: !1,
86090
+ required: !1,
86091
+ description: "返回钮文案(backTitle {label} 注入 title)"
86092
+ },
86093
+ {
86094
+ name: "className",
86095
+ title: "className",
86096
+ type: "string",
86097
+ control: "text",
86098
+ bindable: !1,
86099
+ advanced: !1,
86100
+ hidden: !1,
86101
+ required: !1,
86102
+ default: "",
86103
+ description: "追加到外壳容器的类(默认下间距由组件 CSS 提供,等价源 className mb-2)"
86104
+ },
86105
+ {
86106
+ name: "showScope",
86107
+ title: "showScope",
86108
+ type: "boolean",
86109
+ control: "switch",
86110
+ bindable: !1,
86111
+ advanced: !1,
86112
+ hidden: !1,
86113
+ required: !1,
86114
+ default: !0,
86115
+ description: "是否渲染作用域切换"
86116
+ },
86117
+ {
86118
+ name: "showAdv",
86119
+ title: "showAdv",
86120
+ type: "boolean",
86121
+ control: "switch",
86122
+ bindable: !1,
86123
+ advanced: !1,
86124
+ hidden: !1,
86125
+ required: !1,
86126
+ default: !0,
86127
+ description: "是否渲染高级查询入口"
86128
+ },
86129
+ {
86130
+ name: "showBack",
86131
+ title: "showBack",
86132
+ type: "boolean",
86133
+ control: "switch",
86134
+ bindable: !1,
86135
+ advanced: !1,
86136
+ hidden: !1,
86137
+ required: !1,
86138
+ default: !0,
86139
+ description: "是否渲染返回按钮"
86140
+ },
86141
+ {
86142
+ name: "texts",
86143
+ title: "texts",
86144
+ type: "Partial<TfReportSearchToolbarTexts>",
86145
+ control: "text",
86146
+ bindable: !1,
86147
+ advanced: !1,
86148
+ hidden: !1,
86149
+ required: !1,
86150
+ default: {},
86151
+ description: "文案包(Partial 覆盖内置中文默认):advancedTitle/advancedAria/advancedAriaCount/backTitle"
86152
+ }
86153
+ ],
86154
+ events: [
86155
+ {
86156
+ name: "update:scope",
86157
+ eventName: "update:scope",
86158
+ title: "update:scope",
86159
+ payload: {}
86160
+ },
86161
+ {
86162
+ name: "toggleAdv",
86163
+ eventName: "toggle-adv",
86164
+ title: "toggle-adv",
86165
+ payload: {}
86166
+ },
86167
+ {
86168
+ name: "back",
86169
+ eventName: "back",
86170
+ title: "back",
86171
+ payload: {}
86172
+ }
86173
+ ],
86174
+ slots: [
86175
+ {
86176
+ name: "search",
86177
+ title: "search",
86178
+ accepts: [
86179
+ "basic",
86180
+ "layout",
86181
+ "form",
86182
+ "display"
86183
+ ],
86184
+ multiple: !0,
86185
+ required: !1,
86186
+ editor: {
86187
+ droppable: !0,
86188
+ canvasVisible: !0,
86189
+ defaultVisible: !1
86190
+ },
86191
+ kind: "canvas"
86192
+ },
86193
+ {
86194
+ name: "results",
86195
+ title: "results",
86196
+ accepts: [
86197
+ "basic",
86198
+ "layout",
86199
+ "form",
86200
+ "display"
86201
+ ],
86202
+ multiple: !0,
86203
+ required: !1,
86204
+ editor: {
86205
+ droppable: !0,
86206
+ canvasVisible: !0,
86207
+ defaultVisible: !1
86208
+ },
86209
+ kind: "canvas"
86210
+ },
86211
+ {
86212
+ name: "adv-panel",
86213
+ title: "adv-panel",
86214
+ accepts: [
86215
+ "basic",
86216
+ "layout",
86217
+ "form",
86218
+ "display"
86219
+ ],
86220
+ multiple: !0,
86221
+ required: !1,
86222
+ editor: {
86223
+ droppable: !0,
86224
+ canvasVisible: !0,
86225
+ defaultVisible: !1
86226
+ },
86227
+ kind: "canvas"
86228
+ },
86229
+ {
86230
+ name: "chips",
86231
+ title: "chips",
86232
+ accepts: [
86233
+ "basic",
86234
+ "layout",
86235
+ "form",
86236
+ "display"
86237
+ ],
86238
+ multiple: !0,
86239
+ required: !1,
86240
+ editor: {
86241
+ droppable: !0,
86242
+ canvasVisible: !0,
86243
+ defaultVisible: !1
86244
+ },
86245
+ kind: "canvas"
86246
+ }
86247
+ ],
86248
+ customTypes: {
86249
+ TfReportSearchSuggestion: "{ label: string; type?: 'recommend' | 'name' | 'author' }",
86250
+ TfReportSearchQuery: "{ value: string; onChange: (v: string) => void; placeholder?; storageKey?; width?; suggestions?: (string | TfReportSearchSuggestion)[] | ((kw) => (string | TfReportSearchSuggestion)[]); suggestionLimit?; clearAfterSubmit?; shortcutHint?; shortcut?: 'both' | 'ctrl-k' | 'slash'; inputId? }",
86251
+ TfReportSearchToolbarTexts: "{ advancedTitle; advancedAria; advancedAriaCount({n}); backTitle({label}) }"
86252
+ },
86253
+ editor: {
86254
+ canvasSlots: [
86255
+ "search",
86256
+ "results",
86257
+ "adv-panel",
86258
+ "chips"
86259
+ ],
86260
+ defaultEnabledSlots: []
86261
+ }
86262
+ }
86263
+ },
86264
+ {
86265
+ name: "TfFunnelChart",
86266
+ title: "漏斗图",
86267
+ category: "display",
86268
+ group: "display-metric",
86269
+ source: {
86270
+ exportName: "TfFunnelChart",
86271
+ importPath: "tf-ui",
86272
+ path: "packages/ui/components/chart"
86273
+ },
86274
+ lowcode: {
86275
+ palette: {
86276
+ icon: "FunnelPlus",
86277
+ order: 104,
86278
+ draggable: !0,
86279
+ recommended: !1,
86280
+ hidden: !0
86281
+ },
86282
+ props: [
86283
+ {
86284
+ name: "data",
86285
+ title: "数据源",
86286
+ type: "ChartDataRecord[]",
86287
+ control: "data-binding",
86288
+ bindable: !0,
86289
+ advanced: !1,
86290
+ hidden: !1,
86291
+ required: !1,
86292
+ default: []
86293
+ },
86294
+ {
86295
+ name: "labelKey",
86296
+ title: "标签键名",
86297
+ type: "string",
86298
+ control: "text",
86299
+ bindable: !1,
86300
+ advanced: !1,
86301
+ hidden: !1,
86302
+ required: !1,
86303
+ default: "label"
86304
+ },
86305
+ {
86306
+ name: "valueKey",
86307
+ title: "取值键名",
86308
+ type: "string",
86309
+ control: "text",
86310
+ bindable: !1,
86311
+ advanced: !1,
86312
+ hidden: !1,
86313
+ required: !1,
86314
+ default: "value"
86315
+ },
86316
+ {
86317
+ name: "showConversionRate",
86318
+ title: "展示阶段转化率",
86319
+ type: "boolean",
86320
+ control: "switch",
86321
+ bindable: !1,
86322
+ advanced: !1,
86323
+ hidden: !1,
86324
+ required: !1,
86325
+ default: !1
86326
+ },
86327
+ {
86328
+ name: "height",
86329
+ title: "高度",
86330
+ type: "ChartSize",
86331
+ control: "text",
86332
+ bindable: !1,
86333
+ advanced: !1,
86334
+ hidden: !1,
86335
+ required: !1,
86336
+ default: 280
86337
+ },
86338
+ {
86339
+ name: "emptyText",
86340
+ title: "空值提示文案",
86341
+ type: "string",
86342
+ control: "text",
86343
+ bindable: !1,
86344
+ advanced: !1,
86345
+ hidden: !1,
86346
+ required: !1,
86347
+ default: "暂无数据"
86348
+ },
86349
+ {
86350
+ name: "fullscreen",
86351
+ title: "全屏查看",
86352
+ type: "boolean",
86353
+ control: "switch",
86354
+ bindable: !1,
86355
+ advanced: !1,
86356
+ hidden: !1,
86357
+ required: !1,
86358
+ default: !1
86359
+ }
86360
+ ],
86361
+ events: [],
86362
+ slots: [],
86363
+ customTypes: {
86364
+ ChartDataRecord: "Record<string, unknown>",
86365
+ ChartSize: "string | number"
86366
+ }
86367
+ },
86368
+ agent: {
86369
+ semanticType: "display.funnel_chart",
86370
+ capabilities: [
86371
+ "funnel_chart",
86372
+ "stage_conversion",
86373
+ "chart_drill"
86374
+ ],
86375
+ example: `<TfFunnelChart :data="[{ label: '访问', value: 1000 }]" show-conversion-rate />`
86376
+ }
86377
+ },
86378
+ {
86379
+ name: "TfScatterChart",
86380
+ title: "散点图",
86381
+ category: "display",
86382
+ group: "display-metric",
86383
+ source: {
86384
+ exportName: "TfScatterChart",
86385
+ importPath: "tf-ui",
86386
+ path: "packages/ui/components/chart"
86387
+ },
86388
+ lowcode: {
86389
+ palette: {
86390
+ icon: "ChartScatter",
86391
+ order: 105,
86392
+ draggable: !0,
86393
+ recommended: !1,
86394
+ hidden: !0
86395
+ },
86396
+ props: [
86397
+ {
86398
+ name: "data",
86399
+ title: "数据源",
86400
+ type: "ChartDataRecord[]",
86401
+ control: "data-binding",
86402
+ bindable: !0,
86403
+ advanced: !1,
86404
+ hidden: !1,
86405
+ required: !1,
86406
+ default: []
86407
+ },
86408
+ {
86409
+ name: "xKey",
86410
+ title: "横轴取值字段",
86411
+ type: "string",
86412
+ control: "text",
86413
+ bindable: !1,
86414
+ advanced: !1,
86415
+ hidden: !1,
86416
+ required: !1,
86417
+ default: "x"
86418
+ },
86419
+ {
86420
+ name: "yKey",
86421
+ title: "纵轴取值字段",
86422
+ type: "string",
86423
+ control: "text",
86424
+ bindable: !1,
86425
+ advanced: !1,
86426
+ hidden: !1,
86427
+ required: !1,
86428
+ default: "y"
86429
+ },
86430
+ {
86431
+ name: "sizeKey",
86432
+ title: "气泡半径字段",
86433
+ type: "string",
86434
+ control: "text",
86435
+ bindable: !1,
86436
+ advanced: !1,
86437
+ hidden: !1,
86438
+ required: !1,
86439
+ default: "size"
86440
+ },
86441
+ {
86442
+ name: "bubble",
86443
+ title: "气泡模式",
86444
+ type: "boolean",
86445
+ control: "switch",
86446
+ bindable: !1,
86447
+ advanced: !1,
86448
+ hidden: !1,
86449
+ required: !1,
86450
+ default: !1
86451
+ },
86452
+ {
86453
+ name: "color",
86454
+ title: "点颜色",
86455
+ type: "string",
86456
+ control: "text",
86457
+ bindable: !1,
86458
+ advanced: !1,
86459
+ hidden: !1,
86460
+ required: !1
86461
+ },
86462
+ {
86463
+ name: "xAxisName",
86464
+ title: "横轴名称",
86465
+ type: "string",
86466
+ control: "text",
86467
+ bindable: !1,
86468
+ advanced: !1,
86469
+ hidden: !1,
86470
+ required: !1
86471
+ },
86472
+ {
86473
+ name: "yAxisName",
86474
+ title: "纵轴名称",
86475
+ type: "string",
86476
+ control: "text",
86477
+ bindable: !1,
86478
+ advanced: !1,
86479
+ hidden: !1,
86480
+ required: !1
86481
+ },
86482
+ {
86483
+ name: "height",
86484
+ title: "高度",
86485
+ type: "ChartSize",
86486
+ control: "text",
86487
+ bindable: !1,
86488
+ advanced: !1,
86489
+ hidden: !1,
86490
+ required: !1,
86491
+ default: 280
86492
+ },
86493
+ {
86494
+ name: "emptyText",
86495
+ title: "空值提示文案",
86496
+ type: "string",
86497
+ control: "text",
86498
+ bindable: !1,
86499
+ advanced: !1,
86500
+ hidden: !1,
86501
+ required: !1,
86502
+ default: "暂无数据"
86503
+ },
86504
+ {
86505
+ name: "fullscreen",
86506
+ title: "全屏查看",
86507
+ type: "boolean",
86508
+ control: "switch",
86509
+ bindable: !1,
86510
+ advanced: !1,
86511
+ hidden: !1,
86512
+ required: !1,
86513
+ default: !1
86514
+ }
86515
+ ],
86516
+ events: [],
86517
+ slots: [],
86518
+ customTypes: {
86519
+ ChartDataRecord: "Record<string, unknown>",
86520
+ ChartSize: "string | number"
86521
+ }
86522
+ },
86523
+ agent: {
86524
+ semanticType: "display.scatter_chart",
86525
+ capabilities: [
86526
+ "scatter_chart",
86527
+ "bubble_chart",
86528
+ "correlation"
86529
+ ],
86530
+ example: '<TfScatterChart :data="[{ x: 12, y: 30, size: 8 }]" bubble />'
86531
+ }
86532
+ },
86533
+ {
86534
+ name: "TfDualAxisChart",
86535
+ title: "双轴图",
86536
+ category: "display",
86537
+ group: "display-metric",
86538
+ source: {
86539
+ exportName: "TfDualAxisChart",
86540
+ importPath: "tf-ui",
86541
+ path: "packages/ui/components/chart"
86542
+ },
86543
+ lowcode: {
86544
+ palette: {
86545
+ icon: "ChartColumn",
86546
+ order: 106,
86547
+ draggable: !0,
86548
+ recommended: !1,
86549
+ hidden: !0
86550
+ },
86551
+ props: [
86552
+ {
86553
+ name: "data",
86554
+ title: "数据源",
86555
+ type: "ChartDataRecord[]",
86556
+ control: "data-binding",
86557
+ bindable: !0,
86558
+ advanced: !1,
86559
+ hidden: !1,
86560
+ required: !1,
86561
+ default: []
86562
+ },
86563
+ {
86564
+ name: "labelKey",
86565
+ title: "标签键名",
86566
+ type: "string",
86567
+ control: "text",
86568
+ bindable: !1,
86569
+ advanced: !1,
86570
+ hidden: !1,
86571
+ required: !1,
86572
+ default: "label"
86573
+ },
86574
+ {
86575
+ name: "series",
86576
+ title: "系列定义",
86577
+ type: "ChartSeries[]",
86578
+ control: "data-binding",
86579
+ bindable: !0,
86580
+ advanced: !1,
86581
+ hidden: !1,
86582
+ required: !1,
86583
+ default: []
86584
+ },
86585
+ {
86586
+ name: "leftAxisName",
86587
+ title: "左轴名称",
86588
+ type: "string",
86589
+ control: "text",
86590
+ bindable: !1,
86591
+ advanced: !1,
86592
+ hidden: !1,
86593
+ required: !1
86594
+ },
86595
+ {
86596
+ name: "rightAxisName",
86597
+ title: "右轴名称",
86598
+ type: "string",
86599
+ control: "text",
86600
+ bindable: !1,
86601
+ advanced: !1,
86602
+ hidden: !1,
86603
+ required: !1
86604
+ },
86605
+ {
86606
+ name: "height",
86607
+ title: "高度",
86608
+ type: "ChartSize",
86609
+ control: "text",
86610
+ bindable: !1,
86611
+ advanced: !1,
86612
+ hidden: !1,
86613
+ required: !1,
86614
+ default: 280
86615
+ },
86616
+ {
86617
+ name: "emptyText",
86618
+ title: "空值提示文案",
86619
+ type: "string",
86620
+ control: "text",
86621
+ bindable: !1,
86622
+ advanced: !1,
86623
+ hidden: !1,
86624
+ required: !1,
86625
+ default: "暂无数据"
86626
+ },
86627
+ {
86628
+ name: "fullscreen",
86629
+ title: "全屏查看",
86630
+ type: "boolean",
86631
+ control: "switch",
86632
+ bindable: !1,
86633
+ advanced: !1,
86634
+ hidden: !1,
86635
+ required: !1,
86636
+ default: !1
86637
+ }
86638
+ ],
86639
+ events: [],
86640
+ slots: [],
86641
+ customTypes: {
86642
+ ChartDataRecord: "Record<string, unknown>",
86643
+ ChartSeries: "{ name?: string; valueKey?: string; type?: 'bar' | 'line'; axis?: 'left' | 'right' }",
86644
+ ChartSize: "string | number"
86645
+ }
86646
+ },
86647
+ agent: {
86648
+ semanticType: "display.dual_axis_chart",
86649
+ capabilities: [
86650
+ "dual_axis_chart",
86651
+ "bar_line_combo"
86652
+ ],
86653
+ example: `<TfDualAxisChart :data="rows" :series="[{ name: '数量', valueKey: 'qty', axis: 'left' }, { name: '占比', valueKey: 'rate', type: 'line', axis: 'right' }]" />`
86654
+ }
86655
+ },
86656
+ {
86657
+ name: "TfProgressChart",
86658
+ title: "进度图",
86659
+ category: "display",
86660
+ group: "display-metric",
86661
+ source: {
86662
+ exportName: "TfProgressChart",
86663
+ importPath: "tf-ui",
86664
+ path: "packages/ui/components/chart"
86665
+ },
86666
+ lowcode: {
86667
+ palette: {
86668
+ icon: "ChartSpline",
86669
+ order: 107,
86670
+ draggable: !0,
86671
+ recommended: !1,
86672
+ hidden: !0
86673
+ },
86674
+ props: [
86675
+ {
86676
+ name: "value",
86677
+ title: "当前值",
86678
+ type: "number",
86679
+ control: "number",
86680
+ bindable: !0,
86681
+ advanced: !1,
86682
+ hidden: !1,
86683
+ required: !1
86684
+ },
86685
+ {
86686
+ name: "max",
86687
+ title: "目标值",
86688
+ type: "number",
86689
+ control: "number",
86690
+ bindable: !1,
86691
+ advanced: !1,
86692
+ hidden: !1,
86693
+ required: !1,
86694
+ default: 100
86695
+ },
86696
+ {
86697
+ name: "unit",
86698
+ title: "单位",
86699
+ type: "string",
86700
+ control: "text",
86701
+ bindable: !1,
86702
+ advanced: !1,
86703
+ hidden: !1,
86704
+ required: !1
86705
+ },
86706
+ {
86707
+ name: "shape",
86708
+ title: "形状",
86709
+ type: "'ring' | 'semi' | 'water'",
86710
+ control: "select",
86711
+ bindable: !1,
86712
+ advanced: !1,
86713
+ hidden: !1,
86714
+ required: !1,
86715
+ options: [
86716
+ {
86717
+ value: "ring",
86718
+ label: "环状"
86719
+ },
86720
+ {
86721
+ value: "semi",
86722
+ label: "半环"
86723
+ },
86724
+ {
86725
+ value: "water",
86726
+ label: "水位"
86727
+ }
86728
+ ]
86729
+ },
86730
+ {
86731
+ name: "thresholds",
86732
+ title: "阈值分段",
86733
+ type: "GaugeThreshold[]",
86734
+ control: "data-binding",
86735
+ bindable: !0,
86736
+ advanced: !0,
86737
+ hidden: !1,
86738
+ required: !1
86739
+ },
86740
+ {
86741
+ name: "showValue",
86742
+ title: "显示当前值",
86743
+ type: "boolean",
86744
+ control: "switch",
86745
+ bindable: !1,
86746
+ advanced: !1,
86747
+ hidden: !1,
86748
+ required: !1,
86749
+ default: !0
86750
+ },
86751
+ {
86752
+ name: "height",
86753
+ title: "高度",
86754
+ type: "ChartSize",
86755
+ control: "text",
86756
+ bindable: !1,
86757
+ advanced: !1,
86758
+ hidden: !1,
86759
+ required: !1,
86760
+ default: 220
86761
+ },
86762
+ {
86763
+ name: "emptyText",
86764
+ title: "空值提示文案",
86765
+ type: "string",
86766
+ control: "text",
86767
+ bindable: !1,
86768
+ advanced: !1,
86769
+ hidden: !1,
86770
+ required: !1,
86771
+ default: "暂无数据"
86772
+ },
86773
+ {
86774
+ name: "fullscreen",
86775
+ title: "全屏查看",
86776
+ type: "boolean",
86777
+ control: "switch",
86778
+ bindable: !1,
86779
+ advanced: !1,
86780
+ hidden: !1,
86781
+ required: !1,
86782
+ default: !1
86783
+ },
86784
+ {
86785
+ name: "clickable",
86786
+ title: "可点击穿透",
86787
+ type: "boolean",
86788
+ control: "switch",
86789
+ bindable: !1,
86790
+ advanced: !1,
86791
+ hidden: !1,
86792
+ required: !1,
86793
+ default: !1
86794
+ }
86795
+ ],
86796
+ events: [],
86797
+ slots: [],
86798
+ customTypes: {
86799
+ ChartSize: "string | number",
86800
+ GaugeThreshold: "{ value: number; color: string }"
86801
+ }
86802
+ },
86803
+ agent: {
86804
+ semanticType: "display.progress_chart",
86805
+ capabilities: [
86806
+ "progress_chart",
86807
+ "goal_completion"
86808
+ ],
86809
+ example: '<TfProgressChart :value="68" :max="100" shape="semi" />'
86810
+ }
86811
+ },
86812
+ {
86813
+ name: "TfMapChart",
86814
+ title: "地图",
86815
+ category: "display",
86816
+ group: "display-metric",
86817
+ source: {
86818
+ exportName: "TfMapChart",
86819
+ importPath: "tf-ui",
86820
+ path: "packages/ui/components/chart"
86821
+ },
86822
+ lowcode: {
86823
+ palette: {
86824
+ icon: "MapPlus",
86825
+ order: 108,
86826
+ draggable: !0,
86827
+ recommended: !1,
86828
+ hidden: !0
86829
+ },
86830
+ props: [
86831
+ {
86832
+ name: "data",
86833
+ title: "数据源",
86834
+ type: "MapChartDatum[]",
86835
+ control: "data-binding",
86836
+ bindable: !0,
86837
+ advanced: !1,
86838
+ hidden: !1,
86839
+ required: !1,
86840
+ default: []
86841
+ },
86842
+ {
86843
+ name: "mode",
86844
+ title: "模式",
86845
+ type: "'region' | 'point'",
86846
+ control: "select",
86847
+ bindable: !1,
86848
+ advanced: !1,
86849
+ hidden: !1,
86850
+ required: !1,
86851
+ options: [
86852
+ {
86853
+ value: "region",
86854
+ label: "区域着色"
86855
+ },
86856
+ {
86857
+ value: "point",
86858
+ label: "点分布"
86859
+ }
86860
+ ]
86861
+ },
86862
+ {
86863
+ name: "scope",
86864
+ title: "显示范围(行政区划代码)",
86865
+ type: "string | number",
86866
+ control: "text",
86867
+ bindable: !1,
86868
+ advanced: !1,
86869
+ hidden: !1,
86870
+ required: !1,
86871
+ default: "100000"
86872
+ },
86873
+ {
86874
+ name: "mapStyle",
86875
+ title: "底图样式",
86876
+ type: "'standard' | 'dark' | 'light'",
86877
+ control: "select",
86878
+ bindable: !1,
86879
+ advanced: !1,
86880
+ hidden: !1,
86881
+ required: !1,
86882
+ options: [
86883
+ {
86884
+ value: "standard",
86885
+ label: "标准"
86886
+ },
86887
+ {
86888
+ value: "dark",
86889
+ label: "暗色"
86890
+ },
86891
+ {
86892
+ value: "light",
86893
+ label: "浅色"
86894
+ }
86895
+ ]
86896
+ },
86897
+ {
86898
+ name: "colorRange",
86899
+ title: "区域着色色板",
86900
+ type: "string[]",
86901
+ control: "data-binding",
86902
+ bindable: !0,
86903
+ advanced: !0,
86904
+ hidden: !1,
86905
+ required: !1
86906
+ },
86907
+ {
86908
+ name: "cluster",
86909
+ title: "点聚合",
86910
+ type: "boolean",
86911
+ control: "switch",
86912
+ bindable: !1,
86913
+ advanced: !1,
86914
+ hidden: !1,
86915
+ required: !1,
86916
+ default: !0
86917
+ },
86918
+ {
86919
+ name: "initialZoom",
86920
+ title: "初始缩放级别",
86921
+ type: "number",
86922
+ control: "number",
86923
+ bindable: !1,
86924
+ advanced: !0,
86925
+ hidden: !1,
86926
+ required: !1,
86927
+ default: 5
86928
+ },
86929
+ {
86930
+ name: "height",
86931
+ title: "高度",
86932
+ type: "ChartSize",
86933
+ control: "text",
86934
+ bindable: !1,
86935
+ advanced: !1,
86936
+ hidden: !1,
86937
+ required: !1,
86938
+ default: 360
86939
+ },
86940
+ {
86941
+ name: "emptyText",
86942
+ title: "空值提示文案",
86943
+ type: "string",
86944
+ control: "text",
86945
+ bindable: !1,
86946
+ advanced: !1,
86947
+ hidden: !1,
86948
+ required: !1,
86949
+ default: "暂无数据"
86950
+ },
86951
+ {
86952
+ name: "fullscreen",
86953
+ title: "全屏查看",
86954
+ type: "boolean",
86955
+ control: "switch",
86956
+ bindable: !1,
86957
+ advanced: !1,
86958
+ hidden: !1,
86959
+ required: !1,
86960
+ default: !1
86961
+ },
86962
+ {
86963
+ name: "center",
86964
+ title: "初始中心点",
86965
+ type: "[number, number]",
86966
+ control: "text",
86967
+ bindable: !1,
86968
+ advanced: !0,
86969
+ hidden: !1,
86970
+ required: !1
86971
+ },
86972
+ {
86973
+ name: "mapOptions",
86974
+ title: "高德原生选项",
86975
+ type: "Record<string, unknown>",
86976
+ control: "json",
86977
+ bindable: !1,
86978
+ advanced: !0,
86979
+ hidden: !1,
86980
+ required: !1
86981
+ }
86982
+ ],
86983
+ events: [],
86984
+ slots: [],
86985
+ customTypes: {
86986
+ MapChartDatum: "{ label?: string | number; value?: number; lng?: number; lat?: number }",
86987
+ ChartSize: "string | number"
86988
+ }
86989
+ },
86990
+ agent: {
86991
+ semanticType: "display.map_chart",
86992
+ capabilities: [
86993
+ "map_chart",
86994
+ "region_choropleth",
86995
+ "point_distribution"
86996
+ ],
86997
+ example: `<TfMapChart :data="[{ label: '四川省', value: 1200 }]" scope="100000" />`
86998
+ }
86999
+ }
87000
+ ], k = {
87001
+ app_header: [
87002
+ "TfAppBar"
87003
+ ],
87004
+ brand_area: [
87005
+ "TfAppBar"
87006
+ ],
87007
+ global_search: [
87008
+ "TfAppBar"
87009
+ ],
87010
+ top_actions: [
87011
+ "TfAppBar"
87012
+ ],
87013
+ compose_page: [
87014
+ "TfPage"
87015
+ ],
87016
+ hold_layout: [
87017
+ "TfPage",
87018
+ "TfContainer"
87019
+ ],
87020
+ page_header: [
87021
+ "TfPage"
87022
+ ],
87023
+ group_content: [
87024
+ "TfSection"
87025
+ ],
87026
+ collapsible_panel: [
87027
+ "TfSection"
87028
+ ],
87029
+ app_shell: [
87030
+ "TfSidebarLayout"
87031
+ ],
87032
+ sidebar_navigation: [
87033
+ "TfSidebarLayout"
87034
+ ],
87035
+ main_content_layout: [
87036
+ "TfSidebarLayout"
87037
+ ],
87038
+ page_title: [
87039
+ "TfPageHeader"
87040
+ ],
87041
+ page_description: [
87042
+ "TfPageHeader"
87043
+ ],
87044
+ breadcrumb: [
87045
+ "TfPageHeader",
87046
+ "TfBreadcrumb"
87047
+ ],
87048
+ back_action: [
87049
+ "TfPageHeader"
87050
+ ],
87051
+ header_actions: [
87052
+ "TfPageHeader"
87053
+ ],
87054
+ constrain_width: [
87055
+ "TfContainer"
87056
+ ],
87057
+ center_content: [
87058
+ "TfContainer"
87059
+ ],
87060
+ hero_banner: [
87061
+ "TfHero"
87062
+ ],
87063
+ page_intro: [
87064
+ "TfHero"
87065
+ ],
87066
+ prominent_actions: [
87067
+ "TfHero"
87068
+ ],
87069
+ responsive_grid: [
87070
+ "TfGrid"
87071
+ ],
87072
+ arrange_cards: [
87073
+ "TfGrid"
87074
+ ],
87075
+ arrange_fields: [
87076
+ "TfGrid"
87077
+ ],
87078
+ vertical_stack: [
87079
+ "TfStack"
87080
+ ],
87081
+ space_items: [
87082
+ "TfStack"
87083
+ ],
87084
+ horizontal_arrange: [
87085
+ "TfInline"
87086
+ ],
87087
+ toolbar_like_layout: [
87088
+ "TfInline"
87089
+ ],
87090
+ wrap_items: [
87091
+ "TfInline"
87092
+ ],
87093
+ two_panel_layout: [
87094
+ "TfSplit"
87095
+ ],
87096
+ master_detail_layout: [
87097
+ "TfSplit",
87098
+ "TfMasterDetail"
87099
+ ],
87100
+ frame_content: [
87101
+ "TfCard"
87102
+ ],
87103
+ show_loading_empty: [
87104
+ "TfCard"
87105
+ ],
87106
+ clickable_panel: [
87107
+ "TfCard"
87108
+ ],
87109
+ arrange_actions: [
87110
+ "TfToolbar"
87111
+ ],
87112
+ sticky_actions: [
87113
+ "TfToolbar"
87114
+ ],
87115
+ split_action_groups: [
87116
+ "TfToolbar"
87117
+ ],
87118
+ detail_page_layout: [
87119
+ "TfDetailLayout"
87120
+ ],
87121
+ aside_summary: [
87122
+ "TfDetailLayout"
87123
+ ],
87124
+ responsive_stack: [
87125
+ "TfDetailLayout"
87126
+ ],
87127
+ record_detail: [
87128
+ "TfMasterDetail"
87129
+ ],
87130
+ empty_when_unselected: [
87131
+ "TfMasterDetail"
87132
+ ],
87133
+ loading_state: [
87134
+ "TfStateContainer",
87135
+ "TfLoading"
87136
+ ],
87137
+ empty_state: [
87138
+ "TfStateContainer",
87139
+ "TfEmpty"
87140
+ ],
87141
+ error_state: [
87142
+ "TfStateContainer",
87143
+ "TfEmpty"
87144
+ ],
87145
+ retry_action: [
87146
+ "TfStateContainer"
87147
+ ],
87148
+ form_grid: [
87149
+ "TfFormLayout"
87150
+ ],
87151
+ responsive_form_columns: [
87152
+ "TfFormLayout"
87153
+ ],
87154
+ form_actions: [
87155
+ "TfFormLayout"
87156
+ ],
87157
+ collect_user_input: [
87158
+ "TfForm"
87159
+ ],
87160
+ validate_fields: [
87161
+ "TfForm"
87162
+ ],
87163
+ submit_form: [
87164
+ "TfForm"
87165
+ ],
87166
+ text_input: [
87167
+ "TfInput"
87168
+ ],
87169
+ single_line_input: [
87170
+ "TfInput"
87171
+ ],
87172
+ data_binding: [
87173
+ "TfInput",
87174
+ "TfSelect"
87175
+ ],
87176
+ ai_complete: [
87177
+ "TfInput"
87178
+ ],
87179
+ ai_validate: [
87180
+ "TfInput"
87181
+ ],
87182
+ enum_select: [
87183
+ "TfSelect"
87184
+ ],
87185
+ multi_select: [
87186
+ "TfSelect"
87187
+ ],
87188
+ search_options: [
87189
+ "TfSelect"
87190
+ ],
87191
+ ai_recommend_option: [
87192
+ "TfSelect"
87193
+ ],
87194
+ date_select: [
87195
+ "TfDatePicker"
87196
+ ],
87197
+ date_range_select: [
87198
+ "TfDatePicker"
87199
+ ],
87200
+ date_constraints: [
87201
+ "TfDatePicker"
87202
+ ],
87203
+ ai_recommend_date: [
87204
+ "TfDatePicker"
87205
+ ],
87206
+ file_upload: [
87207
+ "TfUpload"
87208
+ ],
87209
+ file_grouping: [
87210
+ "TfUpload"
87211
+ ],
87212
+ file_approval: [
87213
+ "TfUpload"
87214
+ ],
87215
+ file_preview: [
87216
+ "TfUpload"
87217
+ ],
87218
+ ai_file_classify: [
87219
+ "TfUpload"
87220
+ ],
87221
+ ai_file_validate: [
87222
+ "TfUpload"
87223
+ ],
87224
+ display_records: [
87225
+ "TfTable"
87226
+ ],
87227
+ select_rows: [
87228
+ "TfTable"
87229
+ ],
87230
+ sort_records: [
87231
+ "TfTable"
87232
+ ],
87233
+ custom_columns: [
87234
+ "TfTable"
87235
+ ],
87236
+ virtual_scroll: [
87237
+ "TfTable"
87238
+ ],
87239
+ navigation_menu: [
87240
+ "TfMenu"
87241
+ ],
87242
+ route_selection: [
87243
+ "TfMenu"
87244
+ ],
87245
+ nested_navigation: [
87246
+ "TfMenu"
87247
+ ],
87248
+ route_context: [
87249
+ "TfBreadcrumb"
87250
+ ],
87251
+ hierarchy_navigation: [
87252
+ "TfBreadcrumb"
87253
+ ],
87254
+ confirm_action: [
87255
+ "TfModal"
87256
+ ],
87257
+ edit_in_dialog: [
87258
+ "TfModal"
87259
+ ],
87260
+ show_detail_overlay: [
87261
+ "TfModal"
87262
+ ],
87263
+ block_interaction: [
87264
+ "TfModal"
87265
+ ],
87266
+ trigger_action: [
87267
+ "TfButton"
87268
+ ],
87269
+ submit_action: [
87270
+ "TfButton"
87271
+ ],
87272
+ cancel_action: [
87273
+ "TfButton"
87274
+ ],
87275
+ ai_recommend_action: [
87276
+ "TfButton"
87277
+ ],
87278
+ ai_approve_action: [
87279
+ "TfButton"
87280
+ ],
87281
+ side_navigation: [
87282
+ "TfSideNav"
87283
+ ],
87284
+ section_navigation: [
87285
+ "TfSideNav"
87286
+ ],
87287
+ workflow_navigation: [
87288
+ "TfSideNav"
87289
+ ],
87290
+ tab_navigation: [
87291
+ "TfTabs"
87292
+ ],
87293
+ content_switching: [
87294
+ "TfTabs"
87295
+ ],
87296
+ tab_navigation_structure: [
87297
+ "TfTabsList"
87298
+ ],
87299
+ tab_trigger: [
87300
+ "TfTabsTrigger"
87301
+ ],
87302
+ tab_panel: [
87303
+ "TfTabsContent"
87304
+ ],
87305
+ step_navigation: [
87306
+ "TfSteps"
87307
+ ],
87308
+ workflow_progress: [
87309
+ "TfSteps"
87310
+ ],
87311
+ anchor_navigation: [
87312
+ "TfAnchor"
87313
+ ],
87314
+ document_outline: [
87315
+ "TfAnchor"
87316
+ ],
87317
+ dropdown_menu: [
87318
+ "TfDropdown"
87319
+ ],
87320
+ compact_actions: [
87321
+ "TfDropdown"
87322
+ ],
87323
+ pagination: [
87324
+ "TfPagination"
87325
+ ],
87326
+ table_pagination: [
87327
+ "TfPagination"
87328
+ ],
87329
+ list_pagination: [
87330
+ "TfPagination"
87331
+ ],
87332
+ inline_alert: [
87333
+ "TfAlert"
87334
+ ],
87335
+ status_notice: [
87336
+ "TfAlert"
87337
+ ],
87338
+ warning_banner: [
87339
+ "TfAlert"
87340
+ ],
87341
+ drawer_overlay: [
87342
+ "TfDrawer"
87343
+ ],
87344
+ side_panel: [
87345
+ "TfDrawer"
87346
+ ],
87347
+ detail_panel: [
87348
+ "TfDrawer"
87349
+ ],
87350
+ no_data_state: [
87351
+ "TfEmpty"
87352
+ ],
87353
+ progress_indicator: [
87354
+ "TfProgress"
87355
+ ],
87356
+ task_progress: [
87357
+ "TfProgress"
87358
+ ],
87359
+ upload_progress: [
87360
+ "TfProgress"
87361
+ ],
87362
+ loading_placeholder: [
87363
+ "TfSkeleton"
87364
+ ],
87365
+ skeleton_loading: [
87366
+ "TfSkeleton"
87367
+ ],
87368
+ tooltip: [
87369
+ "TfTooltip"
87370
+ ],
87371
+ field_hint: [
87372
+ "TfTooltip"
87373
+ ],
87374
+ inline_help: [
87375
+ "TfTooltip"
87376
+ ],
87377
+ image_preview: [
87378
+ "TfImagePreview"
87379
+ ],
87380
+ media_overlay: [
87381
+ "TfImagePreview"
87382
+ ],
87383
+ back_to_top: [
87384
+ "TfBackTop"
87385
+ ],
87386
+ page_scroll_action: [
87387
+ "TfBackTop"
87388
+ ],
87389
+ global_message: [
87390
+ "TfMessage"
87391
+ ],
87392
+ toast_message: [
87393
+ "TfMessage"
87394
+ ],
87395
+ operation_feedback: [
87396
+ "TfMessage"
87397
+ ],
87398
+ global_notification: [
87399
+ "TfNotification"
87400
+ ],
87401
+ async_notice: [
87402
+ "TfNotification"
87403
+ ],
87404
+ system_notice: [
87405
+ "TfNotification"
87406
+ ],
87407
+ status_tag: [
87408
+ "TfTag"
87409
+ ],
87410
+ label_display: [
87411
+ "TfTag"
87412
+ ],
87413
+ semantic_badge: [
87414
+ "TfTag"
87415
+ ],
87416
+ count_badge: [
87417
+ "TfBadge"
87418
+ ],
87419
+ notification_badge: [
87420
+ "TfBadge"
87421
+ ],
87422
+ status_badge: [
87423
+ "TfBadge"
87424
+ ],
87425
+ avatar_display: [
87426
+ "TfAvatar"
87427
+ ],
87428
+ user_identity: [
87429
+ "TfAvatar"
87430
+ ],
87431
+ profile_image: [
87432
+ "TfAvatar"
87433
+ ],
87434
+ status_dot: [
87435
+ "TfStatusDot"
87436
+ ],
87437
+ availability_indicator: [
87438
+ "TfStatusDot"
87439
+ ],
87440
+ state_indicator: [
87441
+ "TfStatusDot"
87442
+ ],
87443
+ metric_card: [
87444
+ "TfMetric"
87445
+ ],
87446
+ kpi_display: [
87447
+ "TfMetric"
87448
+ ],
87449
+ trend_indicator: [
87450
+ "TfMetric"
87451
+ ],
87452
+ tree_display: [
87453
+ "TfTree"
87454
+ ],
87455
+ hierarchy_display: [
87456
+ "TfTree"
87457
+ ],
87458
+ select_tree_node: [
87459
+ "TfTree"
87460
+ ],
87461
+ carousel_display: [
87462
+ "TfCarousel"
86204
87463
  ],
86205
87464
  slideshow: [
86206
87465
  "TfCarousel"
@@ -86382,7 +87641,7 @@ const q = "0.1.0", T = {
86382
87641
  "生成附件明细表"
86383
87642
  ]
86384
87643
  }
86385
- ], I = {
87644
+ ], C = {
86386
87645
  description: "低代码 DSL 使用声明式 ai 配置;运行时将其编译为组件真正接收的 props.ai。",
86387
87646
  lowcodeDslShape: {
86388
87647
  enabled: "boolean",
@@ -86478,7 +87737,7 @@ const q = "0.1.0", T = {
86478
87737
  adapterId: "string?"
86479
87738
  }
86480
87739
  }
86481
- }, C = {
87740
+ }, I = {
86482
87741
  supportedControls: [
86483
87742
  "text",
86484
87743
  "textarea",
@@ -86741,18 +88000,18 @@ const q = "0.1.0", T = {
86741
88000
  components: x,
86742
88001
  agentCapabilityIndex: k,
86743
88002
  sceneTemplates: S,
86744
- aiRuntimeContract: I,
86745
- controlContract: C,
88003
+ aiRuntimeContract: C,
88004
+ controlContract: I,
86746
88005
  registryConventions: A,
86747
88006
  formFieldContract: N
86748
88007
  }, g = /* @__PURE__ */ new Set(["object", "collection", "scalar", "tree", "options", "pagination", "status"]), P = /* @__PURE__ */ new Set(["controlled", "runtime-only", "disabled"]), F = /* @__PURE__ */ new Set(["external", "prop", "slot"]);
86749
88008
  function f(e) {
86750
88009
  return { valid: e.length === 0, diagnostics: e };
86751
88010
  }
86752
- function D(e) {
88011
+ function R(e) {
86753
88012
  return new Set(e.lowcode.props.map((t) => t.name));
86754
88013
  }
86755
- function R(e) {
88014
+ function D(e) {
86756
88015
  return new Set(e.lowcode.events.map((t) => t.eventName));
86757
88016
  }
86758
88017
  function y(e, t, a) {
@@ -86762,7 +88021,7 @@ function j(e) {
86762
88021
  const t = e.lowcode.data;
86763
88022
  if (!t)
86764
88023
  return f([]);
86765
- const a = [], d = D(e), o = R(e);
88024
+ const a = [], d = R(e), o = D(e);
86766
88025
  if (!Array.isArray(t.roles) || t.roles.length === 0)
86767
88026
  a.push({ path: "lowcode.data.roles", message: "At least one data role is required" });
86768
88027
  else