@next-bricks/presentational-bricks 1.337.0 → 1.337.2

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 (211) hide show
  1. package/deploy/contract.yaml +108 -108
  2. package/dist/bricks.json +22 -22
  3. package/dist/index.afcbac66.js +2 -0
  4. package/dist/index.afcbac66.js.map +1 -0
  5. package/package.json +3 -3
  6. package/dist/index.81d05616.js +0 -2
  7. package/dist/index.81d05616.js.map +0 -1
  8. package/dist/types/agent-status/AgentStatus.d.ts +0 -7
  9. package/dist/types/agent-status/index.d.ts +0 -59
  10. package/dist/types/avatar-upload/AvatarUpload.d.ts +0 -10
  11. package/dist/types/avatar-upload/index.d.ts +0 -51
  12. package/dist/types/banner-display-card-list/BannerDisplayCardList.d.ts +0 -15
  13. package/dist/types/banner-display-card-list/index.d.ts +0 -25
  14. package/dist/types/basic-icon/BasicIcon.d.ts +0 -17
  15. package/dist/types/basic-icon/index.d.ts +0 -96
  16. package/dist/types/basic-progress/BasicProgress.d.ts +0 -36
  17. package/dist/types/basic-progress/index.d.ts +0 -122
  18. package/dist/types/brick-alert/BrickAlert.d.ts +0 -21
  19. package/dist/types/brick-alert/index.d.ts +0 -204
  20. package/dist/types/brick-alert-level/BrickAlertLevel.d.ts +0 -7
  21. package/dist/types/brick-alert-level/index.d.ts +0 -48
  22. package/dist/types/brick-alert-number/BrickAlertNumber.d.ts +0 -6
  23. package/dist/types/brick-alert-number/index.d.ts +0 -27
  24. package/dist/types/brick-alert-status/BrickAlertStatus.d.ts +0 -8
  25. package/dist/types/brick-alert-status/index.d.ts +0 -68
  26. package/dist/types/brick-alert-value/BrickAlertValue.d.ts +0 -7
  27. package/dist/types/brick-alert-value/index.d.ts +0 -28
  28. package/dist/types/brick-button/BrickButton.d.ts +0 -11
  29. package/dist/types/brick-button/index.d.ts +0 -2
  30. package/dist/types/brick-calendar/index.d.ts +0 -141
  31. package/dist/types/brick-cluster-type/BrickClusterType.d.ts +0 -8
  32. package/dist/types/brick-cluster-type/index.d.ts +0 -63
  33. package/dist/types/brick-code-display/BrickCodeDisplay.d.ts +0 -13
  34. package/dist/types/brick-code-display/index.d.ts +0 -2
  35. package/dist/types/brick-collapse-card/BrickCollapseCard.d.ts +0 -25
  36. package/dist/types/brick-collapse-card/index.d.ts +0 -175
  37. package/dist/types/brick-collection-instance-execution/BrickCollectionInstanceExecution.d.ts +0 -7
  38. package/dist/types/brick-collection-instance-execution/index.d.ts +0 -2
  39. package/dist/types/brick-conditional-display/BrickConditionalDisplay.d.ts +0 -19
  40. package/dist/types/brick-conditional-display/index.d.ts +0 -99
  41. package/dist/types/brick-delete-confirm/BrickDeleteConfirm.d.ts +0 -21
  42. package/dist/types/brick-delete-confirm/index.d.ts +0 -2
  43. package/dist/types/brick-descriptions/BrickDescriptions.d.ts +0 -22
  44. package/dist/types/brick-descriptions/index.d.ts +0 -192
  45. package/dist/types/brick-display-structs/BrickDisplayStructs.d.ts +0 -9
  46. package/dist/types/brick-display-structs/index.d.ts +0 -66
  47. package/dist/types/brick-divider/BrickDivider.d.ts +0 -12
  48. package/dist/types/brick-divider/index.d.ts +0 -76
  49. package/dist/types/brick-form/BrickForm.d.ts +0 -73
  50. package/dist/types/brick-form/components/brick-checkbox/BrickCheckbox.d.ts +0 -11
  51. package/dist/types/brick-form/components/brick-date-picker/BrickDatePicker.d.ts +0 -9
  52. package/dist/types/brick-form/components/brick-input/BrickInput.d.ts +0 -15
  53. package/dist/types/brick-form/components/brick-input-number/BrickInputNumber.d.ts +0 -9
  54. package/dist/types/brick-form/components/brick-instance-selector/BrickInstanceSelector.d.ts +0 -13
  55. package/dist/types/brick-form/components/brick-radio/BrickRadio.d.ts +0 -12
  56. package/dist/types/brick-form/components/brick-select/BrickSelect.d.ts +0 -18
  57. package/dist/types/brick-form/components/brick-switch/BrickSwitch.d.ts +0 -14
  58. package/dist/types/brick-form/components/brick-time-picker/BrickTimePicker.d.ts +0 -8
  59. package/dist/types/brick-form/components/wrapper-form-item/WrapperFormItem.d.ts +0 -10
  60. package/dist/types/brick-form/index.d.ts +0 -12
  61. package/dist/types/brick-form/interfaces/brick-component.d.ts +0 -5
  62. package/dist/types/brick-form/interfaces/index.d.ts +0 -1
  63. package/dist/types/brick-form/processor/handleChange.d.ts +0 -1
  64. package/dist/types/brick-form/processor/index.d.ts +0 -1
  65. package/dist/types/brick-general-search/BrickGeneralSearch.d.ts +0 -28
  66. package/dist/types/brick-general-search/index.d.ts +0 -233
  67. package/dist/types/brick-humanize-time/BrickHumanizeTime.d.ts +0 -16
  68. package/dist/types/brick-humanize-time/index.d.ts +0 -101
  69. package/dist/types/brick-illustration/BrickIllustration.d.ts +0 -14
  70. package/dist/types/brick-illustration/index.d.ts +0 -87
  71. package/dist/types/brick-input/BrickInput.d.ts +0 -11
  72. package/dist/types/brick-input/index.d.ts +0 -73
  73. package/dist/types/brick-link/BrickLink.d.ts +0 -21
  74. package/dist/types/brick-link/index.d.ts +0 -208
  75. package/dist/types/brick-list/BrickList.d.ts +0 -20
  76. package/dist/types/brick-list/index.d.ts +0 -6
  77. package/dist/types/brick-placeholder/BrickPlaceholder.d.ts +0 -6
  78. package/dist/types/brick-placeholder/index.d.ts +0 -59
  79. package/dist/types/brick-quick-entries/BrickQuickEntries.d.ts +0 -16
  80. package/dist/types/brick-quick-entries/index.d.ts +0 -153
  81. package/dist/types/brick-rate/BrickRate.d.ts +0 -11
  82. package/dist/types/brick-rate/index.d.ts +0 -99
  83. package/dist/types/brick-result/BrickResult.d.ts +0 -21
  84. package/dist/types/brick-result/components/IllustrationWrapper.d.ts +0 -16
  85. package/dist/types/brick-result/index.d.ts +0 -77
  86. package/dist/types/brick-table/BrickTable.d.ts +0 -57
  87. package/dist/types/brick-table/brickTableHelper.d.ts +0 -6
  88. package/dist/types/brick-table/index.d.ts +0 -828
  89. package/dist/types/brick-tag/BrickTag.d.ts +0 -35
  90. package/dist/types/brick-tag/index.d.ts +0 -194
  91. package/dist/types/brick-timeline/BrickTimeline.d.ts +0 -16
  92. package/dist/types/brick-timeline/TimelineCard.d.ts +0 -15
  93. package/dist/types/brick-timeline/index.d.ts +0 -119
  94. package/dist/types/brick-timeline/processor.d.ts +0 -5
  95. package/dist/types/brick-tree/BrickTree.d.ts +0 -67
  96. package/dist/types/brick-tree/index.d.ts +0 -325
  97. package/dist/types/brick-user/BrickUser.d.ts +0 -15
  98. package/dist/types/brick-user/index.d.ts +0 -130
  99. package/dist/types/brick-user-group/BrickUserGroup.d.ts +0 -12
  100. package/dist/types/brick-user-group/index.d.ts +0 -61
  101. package/dist/types/brick-utils/index.d.ts +0 -44
  102. package/dist/types/brick-value-mapping/BrickValueMapping.d.ts +0 -24
  103. package/dist/types/brick-value-mapping/index.d.ts +0 -132
  104. package/dist/types/button-wrapper/ButtonWrapper.d.ts +0 -7
  105. package/dist/types/button-wrapper/index.d.ts +0 -4
  106. package/dist/types/card-item/CardItem.d.ts +0 -52
  107. package/dist/types/card-item/index.d.ts +0 -392
  108. package/dist/types/code-editor/CodeEditor.d.ts +0 -19
  109. package/dist/types/code-editor/brace/mode.d.ts +0 -4
  110. package/dist/types/code-editor/brace/theme.d.ts +0 -3
  111. package/dist/types/code-editor/index.d.ts +0 -118
  112. package/dist/types/collapse-info-list/CollapseInfoList.d.ts +0 -19
  113. package/dist/types/collapse-info-list/index.d.ts +0 -53
  114. package/dist/types/collapsible-card-item/CollapsibleCardItem.d.ts +0 -19
  115. package/dist/types/collapsible-card-item/index.d.ts +0 -165
  116. package/dist/types/copyable-text/CopyableText.d.ts +0 -12
  117. package/dist/types/copyable-text/index.d.ts +0 -73
  118. package/dist/types/cost-time/CostTime.d.ts +0 -9
  119. package/dist/types/cost-time/i18n/constants.d.ts +0 -20
  120. package/dist/types/cost-time/index.d.ts +0 -73
  121. package/dist/types/crontab-display/CrontabDisplay.d.ts +0 -5
  122. package/dist/types/crontab-display/index.d.ts +0 -47
  123. package/dist/types/datetime-selector/DatetimeSelector.d.ts +0 -19
  124. package/dist/types/datetime-selector/index.d.ts +0 -167
  125. package/dist/types/datetime-selector/processor.d.ts +0 -16
  126. package/dist/types/digital-number/DigitalNumber.d.ts +0 -21
  127. package/dist/types/digital-number/index.d.ts +0 -101
  128. package/dist/types/dropdown-button/DropdownButton.d.ts +0 -17
  129. package/dist/types/dropdown-button/index.d.ts +0 -106
  130. package/dist/types/dropdown-select/DropdownSelect.d.ts +0 -37
  131. package/dist/types/dropdown-select/index.d.ts +0 -231
  132. package/dist/types/dynamic-content/index.d.ts +0 -35
  133. package/dist/types/dynamic-grid-container/DynamicGridContainer.d.ts +0 -9
  134. package/dist/types/dynamic-grid-container/index.d.ts +0 -47
  135. package/dist/types/entry-card-item/EntryCardItem.d.ts +0 -20
  136. package/dist/types/entry-card-item/index.d.ts +0 -146
  137. package/dist/types/general-badge/index.d.ts +0 -95
  138. package/dist/types/general-carousel/GeneralCarousel.d.ts +0 -28
  139. package/dist/types/general-carousel/index.d.ts +0 -197
  140. package/dist/types/general-iframe/index.d.ts +0 -62
  141. package/dist/types/general-image/GeneralImage.d.ts +0 -14
  142. package/dist/types/general-image/index.d.ts +0 -124
  143. package/dist/types/general-label/GeneralLabel.d.ts +0 -12
  144. package/dist/types/general-label/index.d.ts +0 -79
  145. package/dist/types/general-list/GeneralList.d.ts +0 -8
  146. package/dist/types/general-list/index.d.ts +0 -59
  147. package/dist/types/general-pagination/GeneralPagination.d.ts +0 -12
  148. package/dist/types/general-pagination/index.d.ts +0 -108
  149. package/dist/types/general-preview-image/GeneralPreviewImage.d.ts +0 -9
  150. package/dist/types/general-preview-image/components/Image.d.ts +0 -35
  151. package/dist/types/general-preview-image/components/Operations.d.ts +0 -20
  152. package/dist/types/general-preview-image/components/Preview.d.ts +0 -24
  153. package/dist/types/general-preview-image/components/PreviewGroup.d.ts +0 -40
  154. package/dist/types/general-preview-image/components/getFixScaleEleTransPosition.d.ts +0 -16
  155. package/dist/types/general-preview-image/components/hooks/useImageTransform.d.ts +0 -23
  156. package/dist/types/general-preview-image/components/previewConfig.d.ts +0 -8
  157. package/dist/types/general-preview-image/index.d.ts +0 -75
  158. package/dist/types/general-slider/GeneralSlider.d.ts +0 -18
  159. package/dist/types/general-slider/index.d.ts +0 -118
  160. package/dist/types/general-tooltip/GeneralTooltip.d.ts +0 -19
  161. package/dist/types/general-tooltip/index.d.ts +0 -117
  162. package/dist/types/general-transfer/GeneralTransfer.d.ts +0 -19
  163. package/dist/types/general-transfer/index.d.ts +0 -160
  164. package/dist/types/general-video/GeneralVideo.d.ts +0 -11
  165. package/dist/types/general-video/index.d.ts +0 -51
  166. package/dist/types/i18n/constants.d.ts +0 -51
  167. package/dist/types/info-display-card-list/InfoDisplayCardList.d.ts +0 -27
  168. package/dist/types/info-display-card-list/index.d.ts +0 -148
  169. package/dist/types/interfaces/brick-collapse-card.d.ts +0 -4
  170. package/dist/types/interfaces/brick-result.d.ts +0 -27
  171. package/dist/types/interfaces/brick-tag.d.ts +0 -35
  172. package/dist/types/interfaces/brick-tree.d.ts +0 -5
  173. package/dist/types/interfaces/common.d.ts +0 -15
  174. package/dist/types/interfaces/dropdown-select.d.ts +0 -7
  175. package/dist/types/interfaces/index.d.ts +0 -2
  176. package/dist/types/jsx.d.ts +0 -315
  177. package/dist/types/log-display/LogDisplay.d.ts +0 -8
  178. package/dist/types/log-display/index.d.ts +0 -54
  179. package/dist/types/markdown-display/MarkdownDisplay.d.ts +0 -17
  180. package/dist/types/markdown-display/SyntaxHighlighter.d.ts +0 -13
  181. package/dist/types/markdown-display/index.d.ts +0 -88
  182. package/dist/types/markdown-editor/MarkdownEditor.d.ts +0 -23
  183. package/dist/types/markdown-editor/index.d.ts +0 -154
  184. package/dist/types/modal-confirm/ModalConfirm.d.ts +0 -30
  185. package/dist/types/modal-confirm/index.d.ts +0 -231
  186. package/dist/types/qrcode-download/index.d.ts +0 -77
  187. package/dist/types/qrcode-download/utils.d.ts +0 -6
  188. package/dist/types/rank-table/RankTable.d.ts +0 -21
  189. package/dist/types/rank-table/RankTableHelper.d.ts +0 -14
  190. package/dist/types/rank-table/index.d.ts +0 -215
  191. package/dist/types/single-field-edit/SingleFieldEdit.d.ts +0 -22
  192. package/dist/types/single-field-edit/index.d.ts +0 -148
  193. package/dist/types/statistic-card/StatisticCard.d.ts +0 -15
  194. package/dist/types/statistic-card/index.d.ts +0 -130
  195. package/dist/types/table-transfer/TableTransfer.d.ts +0 -32
  196. package/dist/types/table-transfer/TableTransferHelper.d.ts +0 -14
  197. package/dist/types/table-transfer/index.d.ts +0 -123
  198. package/dist/types/template-breadcrumb/index.d.ts +0 -67
  199. package/dist/types/text-collapse/TextCollapse.d.ts +0 -7
  200. package/dist/types/text-collapse/index.d.ts +0 -33
  201. package/dist/types/tree-transfer/TreeTransfer.d.ts +0 -18
  202. package/dist/types/tree-transfer/index.d.ts +0 -96
  203. package/dist/types/tree-transfer/treeShuttleBox/TreeShuttleBox.d.ts +0 -19
  204. package/dist/types/tree-transfer/treeShuttleBox/TreeShuttleBoxLeft.d.ts +0 -10
  205. package/dist/types/tree-transfer/treeShuttleBox/TreeShuttleBoxRight.d.ts +0 -9
  206. package/dist/types/tree-transfer/treeShuttleBox/TreeShuttleButton.d.ts +0 -7
  207. package/dist/types/tree-transfer/treeShuttleBox/index.d.ts +0 -3
  208. package/dist/types/tree-transfer/treeShuttleBox/interfaceType.d.ts +0 -14
  209. package/dist/types/tree-transfer/treeShuttleBox/tool.d.ts +0 -67
  210. package/dist/types/tree-transfer/treeShuttleBox/useTreeContext.d.ts +0 -35
  211. package/dist/types/tree-transfer/treeShuttleBox/useTreeShuttle.d.ts +0 -31
@@ -1,148 +0,0 @@
1
- import React from "react";
2
- import { UpdatingElement } from "@next-core/brick-kit";
3
- import { MenuIcon } from "@next-core/brick-types";
4
- import { UseBrickConf } from "@next-core/brick-types";
5
- export interface InfoDisplayCardListElementProps {
6
- dataSource?: CardItem[];
7
- urlTemplate?: string;
8
- url?: string;
9
- target?: string;
10
- optionConf?: {
11
- useBrick: UseBrickConf;
12
- };
13
- titleBrickConf?: {
14
- useBrick: UseBrickConf;
15
- };
16
- iconBrickConf?: {
17
- useBrick: UseBrickConf;
18
- };
19
- detailOfDescBrickConf?: {
20
- useBrick: UseBrickConf;
21
- };
22
- titleFontSize?: number | string;
23
- detailDescFontSize?: number | string;
24
- listStyle?: React.CSSProperties;
25
- }
26
- export interface CardDetail {
27
- title: string;
28
- desc: string;
29
- width?: string | number;
30
- useBrick?: boolean;
31
- detailBrickConf?: {
32
- useBrick: UseBrickConf;
33
- };
34
- }
35
- export interface CardItem {
36
- title: string;
37
- desc: string;
38
- icon?: MenuIcon;
39
- detail?: CardDetail[];
40
- operateItemBrick?: {
41
- useBrick: UseBrickConf;
42
- };
43
- }
44
- /**
45
- * @id presentational-bricks.info-display-card-list
46
- * @author dophijing
47
- * @history
48
- * 1.x.0: 新增构件 `presentational-bricks.info-display-card-list`
49
- * @docKind brick
50
- * @noInheritDoc
51
- */
52
- export declare class InfoDisplayCardListElement extends UpdatingElement implements InfoDisplayCardListElementProps {
53
- /**
54
- * @kind CardItem[]
55
- * @required true
56
- * @default -
57
- * @description 列表数据
58
- */
59
- dataSource: CardItem[];
60
- /**
61
- * @kind string
62
- * @required false
63
- * @default -
64
- * @description 卡片跳转 url,支持模版变量
65
- */
66
- urlTemplate: string;
67
- /**
68
- * @kind string
69
- * @required false
70
- * @default -
71
- * @description 卡片跳转 url, url 优先于 urlTemplate 执行
72
- */
73
- url: string;
74
- /**
75
- * @kind string
76
- * @required false
77
- * @default -
78
- * @description 卡片跳转 target,例如可以设置成 _blank
79
- */
80
- target: string;
81
- /**
82
- * @kind boolean
83
- * @required false
84
- * @default true
85
- * @description 是否显示列表的左侧icon
86
- */
87
- showIcon: boolean;
88
- /**
89
- * @kind { useBrick: UseBrickConf }
90
- * @required false
91
- * @default -
92
- * @description 设置操作列,不设置就不显示
93
- */
94
- optionConf: {
95
- useBrick: UseBrickConf;
96
- };
97
- /**
98
- * @kind { useBrick: UseBrickConf }
99
- * @required false
100
- * @default -
101
- * @description 设置titleBrick,不设置就不显示
102
- */
103
- titleBrickConf: {
104
- useBrick: UseBrickConf;
105
- };
106
- /**
107
- * @kind { useBrick: UseBrickConf }
108
- * @required false
109
- * @default -
110
- * @description 设置iconBrick,不设置就不显示
111
- */
112
- iconBrickConf: {
113
- useBrick: UseBrickConf;
114
- };
115
- /**
116
- * @kind { useBrick: UseBrickConf }
117
- * @required false
118
- * @default -
119
- * @description 设置detailOfDescBrickConf,不设置显示为纯文本
120
- */
121
- detailOfDescBrickConf: {
122
- useBrick: UseBrickConf;
123
- };
124
- /**
125
- * @kind { useBrick: UseBrickConf }
126
- * @required false
127
- * @default 16px
128
- * @description 设置卡片 title 的字体大小,默认为 16px
129
- */
130
- titleFontSize: number | string;
131
- /**
132
- * @kind { useBrick: UseBrickConf }
133
- * @required false
134
- * @default 18px
135
- * @description 设置卡片右侧描述部分 desc 的字体大小,默认为18px
136
- */
137
- detailDescFontSize: number | string;
138
- /**
139
- * @kind React.CSSProperties
140
- * @required false
141
- * @default false
142
- * @description list样式
143
- */
144
- listStyle: React.CSSProperties;
145
- connectedCallback(): void;
146
- disconnectedCallback(): void;
147
- protected _render(): void;
148
- }
@@ -1,4 +0,0 @@
1
- export interface descriptionsItemProps {
2
- label: string;
3
- text: string;
4
- }
@@ -1,27 +0,0 @@
1
- import { CSSProperties } from "react";
2
- import { IconSize } from "../brick-result/components/IllustrationWrapper";
3
- export declare enum BrickResultStatus {
4
- Success = "success",
5
- Error = "error",
6
- Info = "info",
7
- Warning = "warning",
8
- E404 = "404",
9
- E403 = "403",
10
- E500 = "500"
11
- }
12
- export declare enum EmptyResultStatus {
13
- BrowserTooOld = "browser-too-old",
14
- Empty = "empty",
15
- NoData = "no-data",
16
- NoHistoryVersion = "no-history-version",
17
- NoVisitRecord = "no-visit-record",
18
- SearchEmpty = "search-empty",
19
- WelcomeToCreate = "welcome-to-create"
20
- }
21
- export declare type IllustrationsStatus = "illustrations";
22
- export interface IllustrationsConfig {
23
- imageStyle?: CSSProperties;
24
- name?: string;
25
- category?: string;
26
- size?: IconSize;
27
- }
@@ -1,35 +0,0 @@
1
- import { MenuIcon } from "@next-core/brick-types";
2
- export declare enum Color {
3
- green = "green",
4
- red = "red",
5
- blue = "blue",
6
- orange = "orange",
7
- cyan = "cyan",
8
- purple = "purple",
9
- geekblue = "geekblue",
10
- gray = "gray",
11
- yellow = "yellow",
12
- "green-inverse" = "green-inverse",
13
- "red-inverse" = "red-inverse",
14
- "blue-inverse" = "blue-inverse",
15
- "orange-inverse" = "orange-inverse",
16
- "cyan-inverse" = "cyan-inverse",
17
- "purple-inverse" = "purple-inverse",
18
- "geekblue-inverse" = "geekblue-inverse",
19
- "gray-inverse" = "gray-inverse",
20
- "yellow-inverse" = "yellow-inverse"
21
- }
22
- export declare enum TagTypeProps {
23
- Tag = "Tag",
24
- CheckableTag = "CheckableTag"
25
- }
26
- export declare type TagListType = {
27
- key: string;
28
- label: string;
29
- tooltip?: string;
30
- icon?: string | MenuIcon;
31
- checked?: boolean;
32
- color?: string | Color;
33
- disabled?: boolean;
34
- disabledTooltip?: string;
35
- };
@@ -1,5 +0,0 @@
1
- export interface checkedFilterProps {
2
- field: string;
3
- value: any;
4
- operator: "$eq" | "$ne" | "$lt" | "$lte" | "$gt" | "$gte";
5
- }
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface EasyopsEmptyProps {
3
- background?: string;
4
- description?: string;
5
- imageStyle?: React.CSSProperties;
6
- illustration?: IllustrationProps;
7
- noImage?: boolean;
8
- }
9
- export interface IllustrationProps {
10
- name: string;
11
- category?: string;
12
- }
13
- export interface BrickWrapperConfig {
14
- empty?: EasyopsEmptyProps;
15
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export interface Option {
3
- label: React.ReactText;
4
- content?: React.ReactText;
5
- value: any;
6
- [propName: string]: any;
7
- }
@@ -1,2 +0,0 @@
1
- export * from "./dropdown-select";
2
- export * from "./common";
@@ -1,315 +0,0 @@
1
- import { DetailedHTMLProps, HTMLAttributes } from "react";
2
- import { AgentStatusElementProps } from "./agent-status";
3
- import { AvatarUploadElementProps } from "./avatar-upload";
4
- import { BannerDisplayCardListElementProps } from "./banner-display-card-list";
5
- import { BasicIconElementProps } from "./basic-icon";
6
- import { BasicProgressElementProps } from "./basic-progress";
7
- import { BrickAlertElementProps } from "./brick-alert";
8
- import { BrickAlertLevelElementProps } from "./brick-alert-level";
9
- import { BrickAlertNumberElementProps } from "./brick-alert-number";
10
- import { BrickAlertStatusElementProps } from "./brick-alert-status";
11
- import { BrickAlertValueElementProps } from "./brick-alert-value";
12
- import { BrickButtonElementProps } from "./brick-button";
13
- import { BrickCalendarElementProps } from "./brick-calendar";
14
- import { BrickClusterTypeElementProps } from "./brick-cluster-type";
15
- import { BrickCodeDisplayElementProps } from "./brick-code-display";
16
- import { BrickCollapseCardElementProps } from "./brick-collapse-card";
17
- import { BrickCollectionInstanceExecutionElementProps } from "./brick-collection-instance-execution";
18
- import { BrickConditionalDisplayElementProps } from "./brick-conditional-display";
19
- import { BrickDeleteConfirmElementProps } from "./brick-delete-confirm";
20
- import { BrickDescriptionsElementProps } from "./brick-descriptions";
21
- import { BrickDisplayStructsElementProps } from "./brick-display-structs";
22
- import { BrickDividerElementProps } from "./brick-divider";
23
- import { BrickFormElementProps } from "./brick-form";
24
- import { BrickGeneralSearchElementProps } from "./brick-general-search";
25
- import { BrickHumanizeTimeElementProps } from "./brick-humanize-time";
26
- import { BrickIllustrationElementProps } from "./brick-illustration";
27
- import { BrickInputElementProps } from "./brick-input";
28
- import { BrickLinkElementProps } from "./brick-link";
29
- import { BrickListElementProps } from "./brick-list";
30
- import { BrickPlaceholderElementProps } from "./brick-placeholder";
31
- import { BrickQuickEntriesElementProps } from "./brick-quick-entries";
32
- import { BrickRateElementProps } from "./brick-rate";
33
- import { BrickResultElementProps } from "./brick-result";
34
- import { BrickTableElementProps } from "./brick-table";
35
- import { BrickTagElementProps } from "./brick-tag";
36
- import { BrickTimelineElementProps } from "./brick-timeline";
37
- import { BrickTreeElementProps } from "./brick-tree";
38
- import { BrickUserElementProps } from "./brick-user";
39
- import { BrickUserGroupElementProps } from "./brick-user-group";
40
- import { BrickUtilsElementProps } from "./brick-utils";
41
- import { BrickValueMappingElementProps } from "./brick-value-mapping";
42
- import { ButtonWrapperElementProps } from "./button-wrapper";
43
- import { CardItemElementProps } from "./card-item";
44
- import { CodeEditorElementProps } from "./code-editor";
45
- import { CollapseInfoListElementProps } from "./collapse-info-list";
46
- import { CollapsibleCardItemElementProps } from "./collapsible-card-item";
47
- import { CopyableTextElementProps } from "./copyable-text";
48
- import { CostTimeElementProps } from "./cost-time";
49
- import { CrontabDisplayElementProps } from "./crontab-display";
50
- import { DatetimeSelectorElementProps } from "./datetime-selector";
51
- import { DigitalNumberElementProps } from "./digital-number";
52
- import { DropdownButtonElementProps } from "./dropdown-button";
53
- import { DropdownSelectElementProps } from "./dropdown-select";
54
- import { DynamicContentElementProps } from "./dynamic-content";
55
- import { DynamicGridContainerElementProps } from "./dynamic-grid-container";
56
- import { EntryCardItemElementProps } from "./entry-card-item";
57
- import { GeneralBadgeElementProps } from "./general-badge";
58
- import { GeneralCarouselElementProps } from "./general-carousel";
59
- import { GeneralIframeElementProps } from "./general-iframe";
60
- import { GeneralImageElementProps } from "./general-image";
61
- import { GeneralLabelElementProps } from "./general-label";
62
- import { GeneralListElementProps } from "./general-list";
63
- import { GeneralPaginationElementProps } from "./general-pagination";
64
- import { GeneralPreviewImageElementProps } from "./general-preview-image";
65
- import { GeneralSliderElementProps } from "./general-slider";
66
- import { GeneralTooltipElementProps } from "./general-tooltip";
67
- import { GeneralTransferElementProps } from "./general-transfer";
68
- import { GeneralVideoElementProps } from "./general-video";
69
- import { InfoDisplayCardListElementProps } from "./info-display-card-list";
70
- import { LogDisplayElementProps } from "./log-display";
71
- import { MarkdownDisplayElementProps } from "./markdown-display";
72
- import { MarkdownEditorElementProps } from "./markdown-editor";
73
- import { ModalConfirmElementProps } from "./modal-confirm";
74
- import { QrcodeDownloadElementProps } from "./qrcode-download";
75
- import { RankTableElementProps } from "./rank-table";
76
- import { SingleFieldEditElementProps } from "./single-field-edit";
77
- import { StatisticCardElementProps } from "./statistic-card";
78
- import { TableTransferElementProps } from "./table-transfer";
79
- import { TemplateBreadcrumbElementProps } from "./template-breadcrumb";
80
- import { TextCollapseElementProps } from "./text-collapse";
81
- import { TreeTransferElementProps } from "./tree-transfer";
82
- declare global {
83
- namespace JSX {
84
- interface IntrinsicElements {
85
- "presentational-bricks--agent-status": DetailedHTMLProps<HTMLAttributes<AgentStatusElementProps>, any> & Partial<AgentStatusElementProps>;
86
- "presentational-bricks--avatar-upload": DetailedHTMLProps<HTMLAttributes<AvatarUploadElementProps>, any> & Partial<AvatarUploadElementProps> & {
87
- onAvatarUploadSuccess?: (event: CustomEvent<any>) => void;
88
- };
89
- "presentational-bricks--banner-display-card-list": DetailedHTMLProps<HTMLAttributes<BannerDisplayCardListElementProps>, any> & Partial<BannerDisplayCardListElementProps>;
90
- "presentational-bricks--basic-icon": DetailedHTMLProps<HTMLAttributes<BasicIconElementProps>, any> & Partial<BasicIconElementProps> & {
91
- onIconClick?: (event: CustomEvent<any>) => void;
92
- };
93
- "presentational-bricks--basic-progress": DetailedHTMLProps<HTMLAttributes<BasicProgressElementProps>, any> & Partial<BasicProgressElementProps>;
94
- "presentational-bricks--brick-alert": DetailedHTMLProps<HTMLAttributes<BrickAlertElementProps>, any> & Partial<BrickAlertElementProps>;
95
- "presentational-bricks--brick-alert-level": DetailedHTMLProps<HTMLAttributes<BrickAlertLevelElementProps>, any> & Partial<BrickAlertLevelElementProps>;
96
- "presentational-bricks--brick-alert-number": DetailedHTMLProps<HTMLAttributes<BrickAlertNumberElementProps>, any> & Partial<BrickAlertNumberElementProps>;
97
- "presentational-bricks--brick-alert-status": DetailedHTMLProps<HTMLAttributes<BrickAlertStatusElementProps>, any> & Partial<BrickAlertStatusElementProps>;
98
- "presentational-bricks--brick-alert-value": DetailedHTMLProps<HTMLAttributes<BrickAlertValueElementProps>, any> & Partial<BrickAlertValueElementProps>;
99
- "presentational-bricks--brick-button": DetailedHTMLProps<HTMLAttributes<BrickButtonElementProps>, any> & Partial<BrickButtonElementProps> & {
100
- onButtonClick?: (event: CustomEvent<any>) => void;
101
- };
102
- "presentational-bricks--calendar": DetailedHTMLProps<HTMLAttributes<BrickCalendarElementProps>, any> & Partial<BrickCalendarElementProps> & {
103
- onPresentationalCalendarOnSelect?: (event: CustomEvent<any>) => void;
104
- onPresentationalCalendarOnSelectV2?: (event: CustomEvent<any>) => void;
105
- onPresentationalCalendarOnChange?: (event: CustomEvent<any>) => void;
106
- onPresentationalCalendarOnChangeV2?: (event: CustomEvent<any>) => void;
107
- onPresentationalCalendarOnPanelChange?: (event: CustomEvent<any>) => void;
108
- };
109
- "presentational-bricks--brick-cluster-type": DetailedHTMLProps<HTMLAttributes<BrickClusterTypeElementProps>, any> & Partial<BrickClusterTypeElementProps>;
110
- "presentational-bricks--brick-code-display": DetailedHTMLProps<HTMLAttributes<BrickCodeDisplayElementProps>, any> & Partial<BrickCodeDisplayElementProps>;
111
- "presentational-bricks--brick-collapse-card": DetailedHTMLProps<HTMLAttributes<BrickCollapseCardElementProps>, any> & Partial<BrickCollapseCardElementProps> & {
112
- onResize?: (event: CustomEvent<any>) => void;
113
- };
114
- "presentational-bricks--brick-collection-instance-execution": DetailedHTMLProps<HTMLAttributes<BrickCollectionInstanceExecutionElementProps>, any> & Partial<BrickCollectionInstanceExecutionElementProps> & {
115
- onCollectionInstanceExecutionClick?: (event: CustomEvent<any>) => void;
116
- };
117
- "presentational-bricks--brick-conditional-display": DetailedHTMLProps<HTMLAttributes<BrickConditionalDisplayElementProps>, any> & Partial<BrickConditionalDisplayElementProps>;
118
- "presentational-bricks--brick-delete-confirm": DetailedHTMLProps<HTMLAttributes<BrickDeleteConfirmElementProps>, any> & Partial<BrickDeleteConfirmElementProps> & {
119
- onConfirmDelete?: (event: CustomEvent<any>) => void;
120
- };
121
- "presentational-bricks--brick-descriptions": DetailedHTMLProps<HTMLAttributes<BrickDescriptionsElementProps>, any> & Partial<BrickDescriptionsElementProps>;
122
- "presentational-bricks--brick-display-structs": DetailedHTMLProps<HTMLAttributes<BrickDisplayStructsElementProps>, any> & Partial<BrickDisplayStructsElementProps>;
123
- "presentational-bricks--brick-divider": DetailedHTMLProps<HTMLAttributes<BrickDividerElementProps>, any> & Partial<BrickDividerElementProps>;
124
- "presentational-bricks--brick-form": DetailedHTMLProps<HTMLAttributes<BrickFormElementProps>, any> & Partial<BrickFormElementProps> & {
125
- onBrickFormSubmit?: (event: CustomEvent<any>) => void;
126
- onBrickFormCancel?: (event: CustomEvent<any>) => void;
127
- };
128
- "presentational-bricks--brick-general-search": DetailedHTMLProps<HTMLAttributes<BrickGeneralSearchElementProps>, any> & Partial<BrickGeneralSearchElementProps> & {
129
- onFilterUpdate?: (event: CustomEvent<Record<string, any>>) => void;
130
- onQueryChange?: (event: CustomEvent<string>) => void;
131
- onQueryChangeV2?: (event: CustomEvent<{
132
- q: string;
133
- }>) => void;
134
- onSearchTypeChange?: (event: CustomEvent<string>) => void;
135
- onInputBlur?: (event: CustomEvent<string>) => void;
136
- };
137
- "presentational-bricks--brick-humanize-time": DetailedHTMLProps<HTMLAttributes<BrickHumanizeTimeElementProps>, any> & Partial<BrickHumanizeTimeElementProps>;
138
- "presentational-bricks--brick-illustration": DetailedHTMLProps<HTMLAttributes<BrickIllustrationElementProps>, any> & Partial<BrickIllustrationElementProps>;
139
- "presentational-bricks--brick-input": DetailedHTMLProps<HTMLAttributes<BrickInputElementProps>, any> & Partial<BrickInputElementProps> & {
140
- onInputEmit?: (event: CustomEvent<Record<string, any>>) => void;
141
- onInputChange?: (event: CustomEvent<Record<string, any>>) => void;
142
- };
143
- "presentational-bricks--brick-link": DetailedHTMLProps<HTMLAttributes<BrickLinkElementProps>, any> & Partial<BrickLinkElementProps> & {
144
- onLinkClick?: (event: CustomEvent<any>) => void;
145
- };
146
- "presentational-bricks--brick-list": DetailedHTMLProps<HTMLAttributes<BrickListElementProps>, any> & Partial<BrickListElementProps>;
147
- "presentational-bricks--brick-placeholder": DetailedHTMLProps<HTMLAttributes<BrickPlaceholderElementProps>, any> & Partial<BrickPlaceholderElementProps>;
148
- "presentational-bricks--brick-quick-entries": DetailedHTMLProps<HTMLAttributes<BrickQuickEntriesElementProps>, any> & Partial<BrickQuickEntriesElementProps> & {
149
- onTitleIconClick?: (event: CustomEvent<any>) => void;
150
- };
151
- "presentational-bricks--brick-rate": DetailedHTMLProps<HTMLAttributes<BrickRateElementProps>, any> & Partial<BrickRateElementProps> & {
152
- onRateChange?: (event: CustomEvent<Record<number, any>>) => void;
153
- };
154
- "presentational-bricks--brick-result": DetailedHTMLProps<HTMLAttributes<BrickResultElementProps>, any> & Partial<BrickResultElementProps>;
155
- "presentational-bricks--brick-table": DetailedHTMLProps<HTMLAttributes<BrickTableElementProps>, any> & Partial<BrickTableElementProps> & {
156
- onPageUpdate?: (event: CustomEvent<Record<string, number>>) => void;
157
- onFilterUpdate?: (event: CustomEvent<Record<string, number>>) => void;
158
- onSelectUpdate?: (event: CustomEvent<Record<string, any>[]>) => void;
159
- onSelectRowKeysUpdate?: (event: CustomEvent<string[]>) => void;
160
- onSortUpdate?: (event: CustomEvent<{
161
- sort: string;
162
- order: string | number;
163
- }>) => void;
164
- onRowExpand?: (event: CustomEvent<{
165
- expanded: boolean;
166
- record: Record<string, any>;
167
- }>) => void;
168
- onExpandRowsChange?: (event: CustomEvent<{
169
- expandedRows: React.Key[];
170
- }>) => void;
171
- onRowDrag?: (event: CustomEvent<{
172
- data: Record<string, any>[];
173
- info: any;
174
- }>) => void;
175
- onColumnFiltersUpdate?: (event: CustomEvent<Record<string, string[]>>) => void;
176
- };
177
- "presentational-bricks--brick-tag": DetailedHTMLProps<HTMLAttributes<BrickTagElementProps>, any> & Partial<BrickTagElementProps> & {
178
- onCheckedUpdate?: (event: CustomEvent<string[]>) => void;
179
- onCheckedUpdateV2?: (event: CustomEvent<{
180
- label: string;
181
- key: string;
182
- }[]>) => void;
183
- onTagClose?: (event: CustomEvent<{
184
- current: Record<string, any>;
185
- tagList: Record<string, any>[];
186
- }>) => void;
187
- onTagClick?: (event: CustomEvent<any>) => void;
188
- };
189
- "presentational-bricks--brick-timeline": DetailedHTMLProps<HTMLAttributes<BrickTimelineElementProps>, any> & Partial<BrickTimelineElementProps> & {
190
- onItemClick?: (event: CustomEvent<any>) => void;
191
- };
192
- "presentational-bricks--brick-tree": DetailedHTMLProps<HTMLAttributes<BrickTreeElementProps>, any> & Partial<BrickTreeElementProps> & {
193
- onTreeSelect?: (event: CustomEvent<string[]>) => void;
194
- onTreeSelectV2?: (event: CustomEvent<any>) => void;
195
- onTreeCheck?: (event: CustomEvent<any>) => void;
196
- onTreeCheckV2?: (event: CustomEvent<any>) => void;
197
- onTreeSearch?: (event: CustomEvent<string>) => void;
198
- onTreeExpand?: (event: CustomEvent<React.Key[]>) => void;
199
- };
200
- "presentational-bricks--brick-user": DetailedHTMLProps<HTMLAttributes<BrickUserElementProps>, any> & Partial<BrickUserElementProps>;
201
- "presentational-bricks--brick-user-group": DetailedHTMLProps<HTMLAttributes<BrickUserGroupElementProps>, any> & Partial<BrickUserGroupElementProps>;
202
- "presentational-bricks--brick-utils": DetailedHTMLProps<HTMLAttributes<BrickUtilsElementProps>, any> & Partial<BrickUtilsElementProps>;
203
- "presentational-bricks--brick-value-mapping": DetailedHTMLProps<HTMLAttributes<BrickValueMappingElementProps>, any> & Partial<BrickValueMappingElementProps> & {
204
- onBrickValueMappingClick?: (event: CustomEvent<any>) => void;
205
- };
206
- "presentational-bricks--button-wrapper": DetailedHTMLProps<HTMLAttributes<ButtonWrapperElementProps>, any> & Partial<ButtonWrapperElementProps>;
207
- "presentational-bricks--card-item": DetailedHTMLProps<HTMLAttributes<CardItemElementProps>, any> & Partial<CardItemElementProps> & {
208
- onPresentationalBricksCardItemClick?: (event: CustomEvent<any>) => void;
209
- };
210
- "presentational-bricks--code-editor": DetailedHTMLProps<HTMLAttributes<CodeEditorElementProps>, any> & Partial<CodeEditorElementProps> & {
211
- onCodeChange?: (event: CustomEvent<string>) => void;
212
- onCodeErrorChange?: (event: CustomEvent<boolean>) => void;
213
- onEditorBlur?: (event: CustomEvent<string>) => void;
214
- };
215
- "presentational-bricks--collapse-info-list": DetailedHTMLProps<HTMLAttributes<CollapseInfoListElementProps>, any> & Partial<CollapseInfoListElementProps> & {
216
- onCollapseInfoListChange?: (event: CustomEvent<string[]>) => void;
217
- };
218
- "presentational-bricks--collapsible-card-item": DetailedHTMLProps<HTMLAttributes<CollapsibleCardItemElementProps>, any> & Partial<CollapsibleCardItemElementProps> & {
219
- onCollapseChange?: (event: CustomEvent<boolean>) => void;
220
- };
221
- "presentational-bricks--copyable-text": DetailedHTMLProps<HTMLAttributes<CopyableTextElementProps>, any> & Partial<CopyableTextElementProps> & {
222
- onTextClick?: (event: CustomEvent<any>) => void;
223
- };
224
- "presentational-bricks--cost-time": DetailedHTMLProps<HTMLAttributes<CostTimeElementProps>, any> & Partial<CostTimeElementProps>;
225
- "presentational-bricks--crontab-display": DetailedHTMLProps<HTMLAttributes<CrontabDisplayElementProps>, any> & Partial<CrontabDisplayElementProps>;
226
- "presentational-bricks--datetime-selector": DetailedHTMLProps<HTMLAttributes<DatetimeSelectorElementProps>, any> & Partial<DatetimeSelectorElementProps> & {
227
- onDatetimeSelected?: (event: CustomEvent<any>) => void;
228
- onDatetimeSelectedV2?: (event: CustomEvent<any>) => void;
229
- onDatetimeSelectedV3?: (event: CustomEvent<any>) => void;
230
- };
231
- "presentational-bricks--digital-number": DetailedHTMLProps<HTMLAttributes<DigitalNumberElementProps>, any> & Partial<DigitalNumberElementProps>;
232
- "presentational-bricks--dropdown-button": DetailedHTMLProps<HTMLAttributes<DropdownButtonElementProps>, any> & Partial<DropdownButtonElementProps> & {
233
- onSelectChange?: (event: CustomEvent<any>) => void;
234
- onLeftButtonClick?: (event: CustomEvent<{
235
- item: any;
236
- }>) => void;
237
- };
238
- "presentational-bricks--dropdown-select": DetailedHTMLProps<HTMLAttributes<DropdownSelectElementProps>, any> & Partial<DropdownSelectElementProps> & {
239
- onSelectChange?: (event: CustomEvent<any>) => void;
240
- onMultipleSelectChange?: (event: CustomEvent<{
241
- value: any;
242
- }>) => void;
243
- };
244
- "presentational-bricks--dynamic-content": DetailedHTMLProps<HTMLAttributes<DynamicContentElementProps>, any> & Partial<DynamicContentElementProps>;
245
- "presentational-bricks--dynamic-grid-container": DetailedHTMLProps<HTMLAttributes<DynamicGridContainerElementProps>, any> & Partial<DynamicGridContainerElementProps> & {
246
- onDynamicGridContainerRendered?: (event: CustomEvent<any>) => void;
247
- };
248
- "presentational-bricks--entry-card-item": DetailedHTMLProps<HTMLAttributes<EntryCardItemElementProps>, any> & Partial<EntryCardItemElementProps>;
249
- "presentational-bricks--general-badge": DetailedHTMLProps<HTMLAttributes<GeneralBadgeElementProps>, any> & Partial<GeneralBadgeElementProps>;
250
- "presentational-bricks--general-carousel": DetailedHTMLProps<HTMLAttributes<GeneralCarouselElementProps>, any> & Partial<GeneralCarouselElementProps> & {
251
- onGeneralCarouselClick?: (event: CustomEvent<number>) => void;
252
- };
253
- "presentational-bricks--general-iframe": DetailedHTMLProps<HTMLAttributes<GeneralIframeElementProps>, any> & Partial<GeneralIframeElementProps> & {
254
- onGeneralIframeLoaded?: (event: CustomEvent<any>) => void;
255
- onIframeMessage?: (event: CustomEvent<unknown>) => void;
256
- };
257
- "presentational-bricks--general-image": DetailedHTMLProps<HTMLAttributes<GeneralImageElementProps>, any> & Partial<GeneralImageElementProps> & {
258
- onGeneralImageVisibleChange?: (event: CustomEvent<any>) => void;
259
- };
260
- "presentational-bricks--general-label": DetailedHTMLProps<HTMLAttributes<GeneralLabelElementProps>, any> & Partial<GeneralLabelElementProps> & {
261
- onLabelClick?: (event: CustomEvent<any>) => void;
262
- };
263
- "presentational-bricks--general-list": DetailedHTMLProps<HTMLAttributes<GeneralListElementProps>, any> & Partial<GeneralListElementProps>;
264
- "presentational-bricks--general-pagination": DetailedHTMLProps<HTMLAttributes<GeneralPaginationElementProps>, any> & Partial<GeneralPaginationElementProps> & {
265
- onPageUpdate?: (event: CustomEvent<{
266
- page: number;
267
- }>) => void;
268
- onFilterUpdate?: (event: CustomEvent<any>) => void;
269
- };
270
- "presentational-bricks--general-preview-image": DetailedHTMLProps<HTMLAttributes<GeneralPreviewImageElementProps>, any> & Partial<GeneralPreviewImageElementProps>;
271
- "presentational-bricks--general-slider": DetailedHTMLProps<HTMLAttributes<GeneralSliderElementProps>, any> & Partial<GeneralSliderElementProps> & {
272
- onSliderChange?: (event: CustomEvent<number | [number, number]>) => void;
273
- onSliderAfterChange?: (event: CustomEvent<number | [number, number]>) => void;
274
- };
275
- "presentational-bricks--general-tooltip": DetailedHTMLProps<HTMLAttributes<GeneralTooltipElementProps>, any> & Partial<GeneralTooltipElementProps>;
276
- "presentational-bricks--general-transfer": DetailedHTMLProps<HTMLAttributes<GeneralTransferElementProps>, any> & Partial<GeneralTransferElementProps> & {
277
- onGeneralTransferChange?: (event: CustomEvent<string[]>) => void;
278
- };
279
- "presentational-bricks--general-video": DetailedHTMLProps<HTMLAttributes<GeneralVideoElementProps>, any> & Partial<GeneralVideoElementProps>;
280
- "presentational-bricks--info-display-card-list": DetailedHTMLProps<HTMLAttributes<InfoDisplayCardListElementProps>, any> & Partial<InfoDisplayCardListElementProps>;
281
- "presentational-bricks--log-display": DetailedHTMLProps<HTMLAttributes<LogDisplayElementProps>, any> & Partial<LogDisplayElementProps>;
282
- "presentational-bricks--markdown-display": DetailedHTMLProps<HTMLAttributes<MarkdownDisplayElementProps>, any> & Partial<MarkdownDisplayElementProps> & {
283
- onCheckboxChange?: (event: CustomEvent<any>) => void;
284
- };
285
- "presentational-bricks--markdown-editor": DetailedHTMLProps<HTMLAttributes<MarkdownEditorElementProps>, any> & Partial<MarkdownEditorElementProps> & {
286
- onMarkdownValueChange?: (event: CustomEvent<string>) => void;
287
- onImageUpload?: (event: CustomEvent<any>) => void;
288
- };
289
- "presentational-bricks--modal-confirm": DetailedHTMLProps<HTMLAttributes<ModalConfirmElementProps>, any> & Partial<ModalConfirmElementProps> & {
290
- onConfirmOk?: (event: CustomEvent<any>) => void;
291
- onConfirmCancel?: (event: CustomEvent<any>) => void;
292
- };
293
- "presentational-bricks--qrcode-download": DetailedHTMLProps<HTMLAttributes<QrcodeDownloadElementProps>, any> & Partial<QrcodeDownloadElementProps>;
294
- "presentational-bricks--rank-table": DetailedHTMLProps<HTMLAttributes<RankTableElementProps>, any> & Partial<RankTableElementProps> & {
295
- onSortUpdate?: (event: CustomEvent<any>) => void;
296
- };
297
- "presentational-bricks--single-field-edit": DetailedHTMLProps<HTMLAttributes<SingleFieldEditElementProps>, any> & Partial<SingleFieldEditElementProps> & {
298
- onSingleFieldEditOk?: (event: CustomEvent<any>) => void;
299
- onSingleFieldEditCancel?: (event: CustomEvent<any>) => void;
300
- };
301
- "presentational-bricks--statistic-card": DetailedHTMLProps<HTMLAttributes<StatisticCardElementProps>, any> & Partial<StatisticCardElementProps>;
302
- "presentational-bricks--table-transfer": DetailedHTMLProps<HTMLAttributes<TableTransferElementProps>, any> & Partial<TableTransferElementProps> & {
303
- onTableTransferChange?: (event: CustomEvent<string[]>) => void;
304
- onSortChange?: (event: CustomEvent<string[]>) => void;
305
- onSearchChange?: (event: CustomEvent<any>) => void;
306
- };
307
- "presentational-bricks--template-breadcrumb": DetailedHTMLProps<HTMLAttributes<TemplateBreadcrumbElementProps>, any> & Partial<TemplateBreadcrumbElementProps>;
308
- "presentational-bricks--text-collapse": DetailedHTMLProps<HTMLAttributes<TextCollapseElementProps>, any> & Partial<TextCollapseElementProps>;
309
- "presentational-bricks--tree-transfer": DetailedHTMLProps<HTMLAttributes<TreeTransferElementProps>, any> & Partial<TreeTransferElementProps> & {
310
- onGeneralTransferChange?: (event: CustomEvent<any>) => void;
311
- };
312
- }
313
- }
314
- }
315
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- export interface LogDisplayProps {
3
- value: string;
4
- loadingIcon?: boolean;
5
- hasBackspace?: boolean;
6
- containerStyle?: React.CSSProperties;
7
- }
8
- export declare function LogDisplay(props: LogDisplayProps): React.ReactElement;
@@ -1,54 +0,0 @@
1
- import React from "react";
2
- import { UpdatingElement } from "@next-core/brick-kit";
3
- export interface LogDisplayElementProps {
4
- value?: string;
5
- loadingIcon?: boolean;
6
- hasBackspace?: boolean;
7
- containerStyle?: React.CSSProperties;
8
- }
9
- /**
10
- * @id presentational-bricks.log-display
11
- * @name presentational-bricks.log-display
12
- * @editor shared-editors.general-code--editor
13
- * @docKind brick
14
- * @description 显示日志相关信息
15
- * @author jo
16
- * @slots
17
- * @history
18
- * 1.93.0:新增属性 `hasBackspace`
19
- * @memo
20
- * @noInheritDoc
21
- */
22
- export declare class LogDisplayElement extends UpdatingElement implements LogDisplayElementProps {
23
- /**
24
- * @kind string
25
- * @required true
26
- * @default -
27
- * @description 日志的信息
28
- */
29
- value: string;
30
- /**
31
- * @kind boolean
32
- * @required false
33
- * @default false
34
- * @description 是否显示信息拉取中的状态图标
35
- */
36
- loadingIcon: boolean;
37
- /**
38
- * @kind boolean
39
- * @required false
40
- * @default false
41
- * @description 信息是否可能包含退格键,为 `true` 时自动处理退格键,以符合控制台的实际输出
42
- */
43
- hasBackspace: boolean;
44
- /**
45
- * @kind React.CSSProperties
46
- * @required false
47
- * @default -
48
- * @description 容器的样式
49
- */
50
- containerStyle: React.CSSProperties;
51
- connectedCallback(): void;
52
- disconnectedCallback(): void;
53
- protected _render(): void;
54
- }
@@ -1,17 +0,0 @@
1
- import React from "react";
2
- export interface CheckboxInfo {
3
- id: string;
4
- checked: boolean;
5
- }
6
- interface MarkdownDisplayProps {
7
- value: string;
8
- imagePreview?: boolean;
9
- hideImgPreviewMask?: boolean;
10
- imagePreviewOperationInBottom?: boolean;
11
- linkTarget?: string;
12
- collectCheckboxInfo?: boolean;
13
- onCheckboxChange?: (checkboxInfos: CheckboxInfo[]) => void;
14
- enableCodeCopy?: boolean;
15
- }
16
- export declare function MarkdownDisplay({ value, imagePreview, hideImgPreviewMask, imagePreviewOperationInBottom, collectCheckboxInfo, onCheckboxChange, linkTarget, enableCodeCopy, }: MarkdownDisplayProps): React.ReactElement;
17
- export {};