@ditari/bsui 5.1.23 → 5.1.25

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 (44) hide show
  1. package/dist/cjs/components/card/Card.cjs +8 -2
  2. package/dist/cjs/components/card/Card.cjs.map +1 -1
  3. package/dist/cjs/components/card/Card.d.ts +11 -1
  4. package/dist/cjs/components/card/style.cjs +20 -8
  5. package/dist/cjs/components/card/style.cjs.map +1 -1
  6. package/dist/cjs/components/layout/Show.cjs +30 -6
  7. package/dist/cjs/components/layout/Show.cjs.map +1 -1
  8. package/dist/cjs/components/layout/Show.d.ts +9 -0
  9. package/dist/cjs/components/layout/components/layout/HeaderLayout.vue2.cjs +1 -1
  10. package/dist/cjs/components/layout/components/layout/HeaderLayout.vue2.cjs.map +1 -1
  11. package/dist/cjs/components/table/Table.cjs +40 -9
  12. package/dist/cjs/components/table/Table.cjs.map +1 -1
  13. package/dist/cjs/components/table-form/TableFormItem.cjs +18 -7
  14. package/dist/cjs/components/table-form/TableFormItem.cjs.map +1 -1
  15. package/dist/cjs/components/table-form/style.cjs +82 -50
  16. package/dist/cjs/components/table-form/style.cjs.map +1 -1
  17. package/dist/cjs/components/table-form/style.d.ts +0 -3
  18. package/dist/esm/components/card/Card.d.ts +11 -1
  19. package/dist/esm/components/card/Card.mjs +8 -2
  20. package/dist/esm/components/card/Card.mjs.map +1 -1
  21. package/dist/esm/components/card/style.mjs +20 -8
  22. package/dist/esm/components/card/style.mjs.map +1 -1
  23. package/dist/esm/components/layout/Show.d.ts +9 -0
  24. package/dist/esm/components/layout/Show.mjs +30 -6
  25. package/dist/esm/components/layout/Show.mjs.map +1 -1
  26. package/dist/esm/components/layout/components/layout/HeaderLayout.vue2.mjs +1 -1
  27. package/dist/esm/components/layout/components/layout/HeaderLayout.vue2.mjs.map +1 -1
  28. package/dist/esm/components/table/Table.mjs +40 -9
  29. package/dist/esm/components/table/Table.mjs.map +1 -1
  30. package/dist/esm/components/table-form/TableFormItem.mjs +18 -7
  31. package/dist/esm/components/table-form/TableFormItem.mjs.map +1 -1
  32. package/dist/esm/components/table-form/style.d.ts +0 -3
  33. package/dist/esm/components/table-form/style.mjs +82 -50
  34. package/dist/esm/components/table-form/style.mjs.map +1 -1
  35. package/dist/types/components/card/Card.d.ts +11 -1
  36. package/dist/types/components/card/Card.d.ts.map +1 -1
  37. package/dist/types/components/card/style.d.ts.map +1 -1
  38. package/dist/types/components/layout/Show.d.ts +9 -0
  39. package/dist/types/components/layout/Show.d.ts.map +1 -1
  40. package/dist/types/components/table/Table.d.ts.map +1 -1
  41. package/dist/types/components/table-form/TableFormItem.d.ts.map +1 -1
  42. package/dist/types/components/table-form/style.d.ts +0 -3
  43. package/dist/types/components/table-form/style.d.ts.map +1 -1
  44. package/package.json +1 -1
@@ -8,111 +8,143 @@ const useFormItemStyle = (styles, _token) => {
8
8
  borderColor,
9
9
  focusBorderColor
10
10
  } = styles;
11
- const boxShadowStyle = `0 0 0 1px ${focusBorderColor}`;
12
- const inputFocusStyles = `
13
- &:focus{
14
- box-shadow: ${boxShadowStyle};
15
- }
11
+ const token = _token.value;
12
+ const horizontalPadding = `${token.paddingSM}px`;
13
+ const textColor = token.colorText;
14
+ const focusStyle = `
15
+ outline: 1px solid ${focusBorderColor} !important;
16
+ outline-offset: -1px !important;
17
+ z-index: 1;
18
+ position: relative;
19
+ `;
20
+ const errorStyle = `
21
+ outline: 1px solid ${token.colorError} !important;
22
+ outline-offset: -1px !important;
23
+ z-index: 1;
24
+ position: relative;
16
25
  `;
17
26
  return {
18
27
  cellBorderStyle: css`
19
- //min-height: ${rowHeight}px;
20
- /* 现有单元格边框 */
21
28
  border-right: 1px solid ${borderColor};
22
29
  border-bottom: 1px solid ${borderColor};
30
+ overflow: hidden;
31
+ position: relative;
23
32
 
24
33
  .ant-form-item {
25
- height: 100%;
26
34
  margin-bottom: 0 !important;
27
-
35
+ height: 100%;
28
36
  .ant-form-item-row {
29
37
  height: 100%;
30
38
 
31
39
  .ant-form-item-label {
32
- height: 100%;
40
+ //height: 100%;
33
41
  border-right: 1px solid ${borderColor};
34
42
  background-color: ${labelBgColor};
35
-
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: flex-end;
36
46
  & > label {
37
- height: ${rowHeight}px;
38
47
  }
39
48
  }
40
49
 
41
50
  .ant-form-item-control-input {
42
- height: 100%;
43
-
51
+ min-height: ${rowHeight}px;
44
52
  .ant-form-item-control-input-content {
45
53
  display: flex;
46
54
  align-items: center;
47
55
  height: 100%;
48
56
 
49
- .ant-radio-group {
50
- margin-left: 10px;
51
- }
52
-
57
+ // 基础组件宽高
53
58
  input,
54
59
  .ant-picker,
55
60
  .ant-select,
56
61
  .ant-input-number,
57
- .ant-input-number-input-wrap {
62
+ .ant-select-selector,
63
+ .ant-input-number-input-wrap,
64
+ .ant-mentions textarea {
58
65
  width: 100%;
59
- height: 100%;
66
+ height: ${rowHeight}px;
60
67
  }
61
- .ant-select-selector {
62
- display: flex;
63
- align-items: center;
64
- height: 100%;
68
+
69
+ .ant-mentions textarea {
70
+ line-height: ${rowHeight}px;
65
71
  }
66
72
  }
67
73
  }
68
74
 
75
+ // ⭐️ 统一重置:移除 AntD 默认边框和阴影,设置直角
69
76
  .ant-input,
70
77
  .ant-select-selector,
71
78
  .ant-input-number,
72
- .ant-picker {
73
- border: 0;
74
- border-radius: 0;
79
+ .ant-picker,
80
+ .ant-mentions {
81
+ border: 0 !important;
82
+ box-shadow: none !important;
83
+ border-radius: 0 !important;
84
+ background: transparent !important;
85
+ transition: none !important;
86
+ }
75
87
 
76
- ${inputFocusStyles}
77
- // 数字输入框要单独处理
78
- .ant-input-number-input {
79
- border: 0;
80
- border-radius: 0;
81
- ${inputFocusStyles};
82
- }
88
+ // ⭐️ 只有在获取焦点时才添加边框(使用 outline)
89
+ // 1. 普通 Input
90
+ .ant-input:focus,
91
+ .ant-mentions textarea:focus {
92
+ ${focusStyle}
93
+ }
94
+ // 2. Select (AntD 聚焦类在 selector 上)
95
+ .ant-select-focused .ant-select-selector {
96
+ ${focusStyle}
97
+ }
98
+ // 3. DatePicker
99
+ .ant-picker-focused {
100
+ ${focusStyle}
101
+ }
102
+ // 4. InputNumber (外层容器聚焦)
103
+ .ant-input-number-focused {
104
+ ${focusStyle}
83
105
  }
84
106
 
85
- .ant-picker-focused,
86
- .ant-select-focused {
87
- box-shadow: ${boxShadowStyle};
107
+ // 修正 InputNumber 内部结构线
108
+ .ant-input-number-handler-wrap {
109
+ border-left: 0;
110
+ background: transparent;
88
111
  }
89
112
 
90
- .ant-input[disabled] {
91
- ${inputFocusStyles}
113
+ // 文本居中处理
114
+ .ant-select-selector {
115
+ padding: 0 ${horizontalPadding} !important;
116
+ display: flex !important;
117
+ align-items: center !important;
118
+ }
119
+ .ant-input,
120
+ .ant-input-number-input,
121
+ .ant-mentions textarea {
122
+ padding: 0 ${horizontalPadding} !important;
92
123
  }
93
124
  }
94
125
 
95
- .ant-input-status-error,
96
- .ant-picker-status-error,
97
- .ant-select-status-error {
98
- box-shadow: 0 0 0 1px red;
99
- border-radius: 0;
126
+ // ⭐️ 错误状态的处理
127
+ &.ant-form-item-has-error {
128
+ .ant-input,
129
+ .ant-select-selector,
130
+ .ant-input-number,
131
+ .ant-picker {
132
+ ${errorStyle}
133
+ }
100
134
  }
101
135
  }
102
136
  `,
103
137
  valueDisplayClass: css`
104
138
  width: 100%;
105
- height: 100%;
106
139
  display: flex;
107
- padding-left: 11px;
108
140
  align-items: center;
141
+ padding-left: ${horizontalPadding};
142
+ color: ${textColor};
143
+ box-sizing: border-box;
109
144
  `,
110
- // 内部元素:实现文本溢出
111
145
  textWrapperClass: css`
112
- /* ⭐️ 核心修复:确保内部元素可以被压缩,且强制文本在一行 */
113
- flex-grow: 1; /* 占据可用空间 */
146
+ flex-grow: 1;
114
147
  min-width: 0;
115
-
116
148
  white-space: nowrap;
117
149
  overflow: hidden;
118
150
  text-overflow: ellipsis;
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","sources":["../../../../src/components/table-form/style.ts"],"sourcesContent":["import { ComputedRef } from \"vue\";\r\n\r\nimport { StylesConfig } from \"./interface\";\r\nimport { css } from \"@emotion/css\";\r\nimport type { GlobalToken } from \"ant-design-vue/es/theme/interface\";\r\n\r\n/**\r\n * 表单项样式\r\n */\r\nexport const useFormItemStyle = (\r\n styles: StylesConfig,\r\n _token: ComputedRef<GlobalToken>\r\n) => {\r\n const {\r\n rowHeight,\r\n labelBgColor,\r\n borderColor,\r\n focusBorderColor\r\n } = styles;\r\n //TODO _token 后续得兼容下主题色\r\n const boxShadowStyle = `0 0 0 1px ${focusBorderColor}`;\r\n const inputFocusStyles = `\r\n &:focus{\r\n box-shadow: ${boxShadowStyle};\r\n }\r\n `;\r\n\r\n return {\r\n cellBorderStyle: css`\r\n //min-height: ${rowHeight}px;\r\n /* 现有单元格边框 */\r\n border-right: 1px solid ${borderColor};\r\n border-bottom: 1px solid ${borderColor};\r\n\r\n .ant-form-item {\r\n height: 100%;\r\n margin-bottom: 0 !important;\r\n\r\n .ant-form-item-row {\r\n height: 100%;\r\n\r\n .ant-form-item-label {\r\n height: 100%;\r\n border-right: 1px solid ${borderColor};\r\n background-color: ${labelBgColor};\r\n\r\n & > label {\r\n height: ${rowHeight}px;\r\n }\r\n }\r\n\r\n .ant-form-item-control-input {\r\n height: 100%;\r\n\r\n .ant-form-item-control-input-content {\r\n display: flex;\r\n align-items: center;\r\n height: 100%;\r\n\r\n .ant-radio-group {\r\n margin-left: 10px;\r\n }\r\n\r\n input,\r\n .ant-picker,\r\n .ant-select,\r\n .ant-input-number,\r\n .ant-input-number-input-wrap {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n .ant-select-selector {\r\n display: flex;\r\n align-items: center;\r\n height: 100%;\r\n }\r\n }\r\n }\r\n\r\n .ant-input,\r\n .ant-select-selector,\r\n .ant-input-number,\r\n .ant-picker {\r\n border: 0;\r\n border-radius: 0;\r\n\r\n ${inputFocusStyles}\r\n // 数字输入框要单独处理\r\n .ant-input-number-input {\r\n border: 0;\r\n border-radius: 0;\r\n ${inputFocusStyles};\r\n }\r\n }\r\n\r\n .ant-picker-focused,\r\n .ant-select-focused {\r\n box-shadow: ${boxShadowStyle};\r\n }\r\n\r\n .ant-input[disabled] {\r\n ${inputFocusStyles}\r\n }\r\n }\r\n\r\n .ant-input-status-error,\r\n .ant-picker-status-error,\r\n .ant-select-status-error {\r\n box-shadow: 0 0 0 1px red;\r\n border-radius: 0;\r\n }\r\n }\r\n `,\r\n valueDisplayClass: css`\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n padding-left: 11px;\r\n align-items: center;\r\n `,\r\n // 内部元素:实现文本溢出\r\n textWrapperClass: css`\r\n /* ⭐️ 核心修复:确保内部元素可以被压缩,且强制文本在一行 */\r\n flex-grow: 1; /* 占据可用空间 */\r\n min-width: 0;\r\n\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n `\r\n };\r\n};\r\n"],"names":[],"mappings":";;;AASO,MAAM,gBAAA,GAAmB,CAC9B,MAAA,EACA,MAAA,KACG;AACH,EAAA,MAAM;AAAA,IACJ,SAAA;AAAA,IACA,YAAA;AAAA,IACA,WAAA;AAAA,IACA;AAAA,GACF,GAAI,MAAA;AAEJ,EAAA,MAAM,cAAA,GAAiB,cAAc,gBAAgB,CAAA,CAAA;AACrD,EAAA,MAAM,gBAAA,GAAmB;AAAA;AAAA,kBAAA,EAEP,cAAc,CAAA;AAAA;AAAA,EAAA,CAAA;AAIhC,EAAA,OAAO;AAAA,IACL,eAAA,EAAiB,GAAA;AAAA,oBAAA,EACC,SAAS,CAAA;AAAA;AAAA,8BAAA,EAEC,WAAW,CAAA;AAAA,+BAAA,EACV,WAAW,CAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,oCAAA,EAWN,WAAW,CAAA;AAAA,8BAAA,EACjB,YAAY,CAAA;;AAAA;AAAA,sBAAA,EAGpB,SAAS,CAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,YAAA,EAuCnB,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA,cAAA,EAKd,gBAAgB,CAAA;AAAA;AAAA;;AAAA;AAAA;AAAA,wBAAA,EAMN,cAAc,CAAA;AAAA;;AAAA;AAAA,YAAA,EAI1B,gBAAgB;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA,CAAA;AAAA,IAY1B,iBAAA,EAAmB,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA,CAAA;AAAA;AAAA,IAQnB,gBAAA,EAAkB,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,IAAA;AAAA,GASpB;AACF;;;;"}
1
+ {"version":3,"file":"style.mjs","sources":["../../../../src/components/table-form/style.ts"],"sourcesContent":["import { ComputedRef } from \"vue\";\r\n\r\nimport { StylesConfig } from \"./interface\";\r\nimport { css } from \"@emotion/css\";\r\nimport type { GlobalToken } from \"ant-design-vue/es/theme/interface\";\r\n\r\nexport const useFormItemStyle = (\r\n styles: StylesConfig,\r\n _token: ComputedRef<GlobalToken>\r\n) => {\r\n const {\r\n rowHeight,\r\n labelBgColor,\r\n borderColor,\r\n focusBorderColor\r\n } = styles;\r\n const token = _token.value;\r\n\r\n const horizontalPadding = `${token.paddingSM}px`;\r\n const textColor = token.colorText;\r\n\r\n // ⭐️ 核心聚焦样式:使用 outline 确保覆盖在所有子组件(如加减按钮)之上\r\n const focusStyle = `\r\n outline: 1px solid ${focusBorderColor} !important;\r\n outline-offset: -1px !important;\r\n z-index: 1;\r\n position: relative;\r\n `;\r\n\r\n // 错误样式\r\n const errorStyle = `\r\n outline: 1px solid ${token.colorError} !important;\r\n outline-offset: -1px !important;\r\n z-index: 1;\r\n position: relative;\r\n `;\r\n\r\n return {\r\n cellBorderStyle: css`\r\n border-right: 1px solid ${borderColor};\r\n border-bottom: 1px solid ${borderColor};\r\n overflow: hidden;\r\n position: relative;\r\n\r\n .ant-form-item {\r\n margin-bottom: 0 !important;\r\n height: 100%;\r\n .ant-form-item-row {\r\n height: 100%;\r\n\r\n .ant-form-item-label {\r\n //height: 100%;\r\n border-right: 1px solid ${borderColor};\r\n background-color: ${labelBgColor};\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n & > label {\r\n }\r\n }\r\n\r\n .ant-form-item-control-input {\r\n min-height: ${rowHeight}px;\r\n .ant-form-item-control-input-content {\r\n display: flex;\r\n align-items: center;\r\n height: 100%;\r\n\r\n // 基础组件宽高\r\n input,\r\n .ant-picker,\r\n .ant-select,\r\n .ant-input-number,\r\n .ant-select-selector,\r\n .ant-input-number-input-wrap,\r\n .ant-mentions textarea {\r\n width: 100%;\r\n height: ${rowHeight}px;\r\n }\r\n\r\n .ant-mentions textarea {\r\n line-height: ${rowHeight}px;\r\n }\r\n }\r\n }\r\n\r\n // ⭐️ 统一重置:移除 AntD 默认边框和阴影,设置直角\r\n .ant-input,\r\n .ant-select-selector,\r\n .ant-input-number,\r\n .ant-picker,\r\n .ant-mentions {\r\n border: 0 !important;\r\n box-shadow: none !important;\r\n border-radius: 0 !important;\r\n background: transparent !important;\r\n transition: none !important;\r\n }\r\n\r\n // ⭐️ 只有在获取焦点时才添加边框(使用 outline)\r\n // 1. 普通 Input\r\n .ant-input:focus,\r\n .ant-mentions textarea:focus {\r\n ${focusStyle}\r\n }\r\n // 2. Select (AntD 聚焦类在 selector 上)\r\n .ant-select-focused .ant-select-selector {\r\n ${focusStyle}\r\n }\r\n // 3. DatePicker\r\n .ant-picker-focused {\r\n ${focusStyle}\r\n }\r\n // 4. InputNumber (外层容器聚焦)\r\n .ant-input-number-focused {\r\n ${focusStyle}\r\n }\r\n\r\n // 修正 InputNumber 内部结构线\r\n .ant-input-number-handler-wrap {\r\n border-left: 0;\r\n background: transparent;\r\n }\r\n\r\n // 文本居中处理\r\n .ant-select-selector {\r\n padding: 0 ${horizontalPadding} !important;\r\n display: flex !important;\r\n align-items: center !important;\r\n }\r\n .ant-input,\r\n .ant-input-number-input,\r\n .ant-mentions textarea {\r\n padding: 0 ${horizontalPadding} !important;\r\n }\r\n }\r\n\r\n // ⭐️ 错误状态的处理\r\n &.ant-form-item-has-error {\r\n .ant-input,\r\n .ant-select-selector,\r\n .ant-input-number,\r\n .ant-picker {\r\n ${errorStyle}\r\n }\r\n }\r\n }\r\n `,\r\n\r\n valueDisplayClass: css`\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n padding-left: ${horizontalPadding};\r\n color: ${textColor};\r\n box-sizing: border-box;\r\n `,\r\n\r\n textWrapperClass: css`\r\n flex-grow: 1;\r\n min-width: 0;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n `\r\n };\r\n};\r\n"],"names":[],"mappings":";;;AAMO,MAAM,gBAAA,GAAmB,CAC9B,MAAA,EACA,MAAA,KACG;AACH,EAAA,MAAM;AAAA,IACJ,SAAA;AAAA,IACA,YAAA;AAAA,IACA,WAAA;AAAA,IACA;AAAA,GACF,GAAI,MAAA;AACJ,EAAA,MAAM,QAAQ,MAAA,CAAO,KAAA;AAErB,EAAA,MAAM,iBAAA,GAAoB,CAAA,EAAG,KAAA,CAAM,SAAS,CAAA,EAAA,CAAA;AAC5C,EAAA,MAAM,YAAY,KAAA,CAAM,SAAA;AAGxB,EAAA,MAAM,UAAA,GAAa;AAAA,uBAAA,EACI,gBAAgB,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA,CAAA;AAOvC,EAAA,MAAM,UAAA,GAAa;AAAA,uBAAA,EACI,MAAM,UAAU,CAAA;AAAA;AAAA;AAAA;AAAA,EAAA,CAAA;AAMvC,EAAA,OAAO;AAAA,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
  export declare const Card: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
+ headerBordered: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
3
7
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
4
8
  title: StringConstructor;
5
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
9
+ headerBordered: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }>> & Readonly<{}>, {
14
+ headerBordered: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
6
16
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/Card.tsx"],"names":[],"mappings":"AAwEA,eAAO,MAAM,IAAI;;;;kGAAqB,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/Card.tsx"],"names":[],"mappings":"AAgFA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;6EAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/card/style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;CAsCpB,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/card/style.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;CAoDpB,CAAC"}
@@ -11,6 +11,10 @@ declare const show: import("vue").DefineComponent<import("vue").ExtractPropTypes
11
11
  type: StringConstructor;
12
12
  default: string;
13
13
  };
14
+ fullHeight: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
14
18
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
19
  close: {
16
20
  type: BooleanConstructor;
@@ -24,10 +28,15 @@ declare const show: import("vue").DefineComponent<import("vue").ExtractPropTypes
24
28
  type: StringConstructor;
25
29
  default: string;
26
30
  };
31
+ fullHeight: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
27
35
  }>> & Readonly<{}>, {
28
36
  loading: boolean;
29
37
  close: boolean;
30
38
  loadingText: string;
39
+ fullHeight: boolean;
31
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
41
  export default show;
33
42
  //# sourceMappingURL=Show.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Show.tsx"],"names":[],"mappings":"AA0CA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAkMR,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Show.tsx"],"names":[],"mappings":"AAiDA,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAkOR,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/table/Table.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAI3D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO3D,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,QAAQ,G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A,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAA8B,CAAC"}
1
+ {"version":3,"file":"TableFormItem.d.ts","sourceRoot":"","sources":["../../../../src/components/table-form/TableFormItem.tsx"],"names":[],"mappings":"AA6MA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAA8B,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import { ComputedRef } from "vue";
2
2
  import { StylesConfig } from "./interface";
3
3
  import type { GlobalToken } from "ant-design-vue/es/theme/interface";
4
- /**
5
- * 表单项样式
6
- */
7
4
  export declare const useFormItemStyle: (styles: StylesConfig, _token: ComputedRef<GlobalToken>) => {
8
5
  cellBorderStyle: string;
9
6
  valueDisplayClass: string;
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/table-form/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gBAAgB,WACnB,YAAY,UACZ,WAAW,CAAC,WAAW,CAAC;;;;CAwHjC,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/table-form/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE,eAAO,MAAM,gBAAgB,WACnB,YAAY,UACZ,WAAW,CAAC,WAAW,CAAC;;;;CA8JjC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditari/bsui",
3
- "version": "5.1.23",
3
+ "version": "5.1.25",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"