@teamix/pro 1.2.9 → 1.2.10

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.
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["url", "method", "params", "data", "extendParams", "successMsg", "errorMsg", "formatParams", "formatResult", "onSuccess", "onError"],
2
- _excluded2 = ["title", "content", "component", "schema", "onFinish", "dialogType", "dialogQuickShowType", "messageType", "beforeRequest", "onTrigger", "link", "beforeContent", "afterContent", "message", "footerDescription", "footerAlign"];
2
+ _excluded2 = ["title", "content", "component", "schema", "onFinish", "dialogType", "dialogQuickShowType", "messageType", "beforeRequest", "onTrigger", "link", "beforeContent", "afterContent", "message", "footerDescription", "footerAlign", "className"];
3
3
 
4
4
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
5
5
 
@@ -109,6 +109,7 @@ export function useDialogAction(action, context) {
109
109
  message = _getTargetValue.message,
110
110
  footerDescription = _getTargetValue.footerDescription,
111
111
  footerAlign = _getTargetValue.footerAlign,
112
+ className = _getTargetValue.className,
112
113
  containerProps = _objectWithoutProperties(_getTargetValue, _excluded2);
113
114
 
114
115
  var isDrawer = dialogType === 'drawer';
@@ -231,7 +232,10 @@ export function useDialogAction(action, context) {
231
232
  className: classnames('teamix-pro-dialog-footer-description', getFooterAlignClass(isDrawer, footerAlign))
232
233
  }, renderDialogFooterDescription(footerDescription))),
233
234
  closeable: !loading,
234
- footerAlign: footerAlign
235
+ footerAlign: footerAlign,
236
+ className: classnames('teamix-pro-action-dialog', {
237
+ 'has-footer-description': !!footerDescription
238
+ })
235
239
  }, containerOtherProps), containerProps);
236
240
 
237
241
  var ret = container.show(quickShowProps);
@@ -28,6 +28,19 @@
28
28
  flex-shrink: 0;
29
29
  }
30
30
  }
31
+ .next-dialog.teamix-pro-action-dialog {
32
+ &.has-footer-description {
33
+ .next-message {
34
+ position: static;
35
+ }
36
+ }
37
+
38
+ &.quick-show-confirm-or-alert {
39
+ .teamix-pro-dialog-footer-description {
40
+ bottom: var(--dialog-footer-padding-bottom, 20px);
41
+ }
42
+ }
43
+ }
31
44
 
32
45
  .teamix-pro-dialog-footer-description {
33
46
  position: absolute;
@@ -48,12 +61,6 @@
48
61
  }
49
62
  }
50
63
 
51
- .teamix-pro-action-dialog.has-footer-description {
52
- .next-message {
53
- position: static;
54
- }
55
- }
56
-
57
64
  .teamix-pro-dialog-before-content {
58
65
  margin-bottom: var(--s-2);
59
66
  }
@@ -61,7 +68,7 @@
61
68
  .teamix-pro-dialog-message {
62
69
  margin-bottom: var(--s-2);
63
70
 
64
- &+.next-loading {
71
+ & + .next-loading {
65
72
  .teamix-pro-form {
66
73
  margin-top: 20px;
67
74
  }
@@ -288,3 +288,12 @@
288
288
  cursor: pointer;
289
289
  }
290
290
  }
291
+
292
+ /* hack todo remove */
293
+ .#{$form-item-cls}-control-content-component {
294
+ .teamix-pro-field-tooltip.teamix-pro-field-checkbox {
295
+ .teamix-pro-lable-icon-tip-icon {
296
+ transform: translate(0px, 4px);
297
+ }
298
+ }
299
+ }
package/es/index.d.ts CHANGED
@@ -21,5 +21,5 @@ export * from './page-container';
21
21
  export * from './page-header';
22
22
  export * from './skeleton';
23
23
  export * from './table';
24
- declare const version = "1.2.8";
24
+ declare const version = "1.2.9";
25
25
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, hooks, nocode, templates, utils, };
package/es/index.js CHANGED
@@ -27,7 +27,7 @@ export * from './page-header';
27
27
  export * from './skeleton';
28
28
  export * from './table'; // export * from './sidebar';
29
29
 
30
- var version = '1.2.8';
30
+ var version = '1.2.9';
31
31
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, // ProLayout,
32
32
  ProPageContainer, ProPageHeader, ProSkeleton, ProTable, // ProSidebar,
33
33
  hooks, nocode, templates, utils };
@@ -29,7 +29,7 @@ var _request = require("./request");
29
29
  var _utils2 = require("./utils");
30
30
 
31
31
  var _excluded = ["url", "method", "params", "data", "extendParams", "successMsg", "errorMsg", "formatParams", "formatResult", "onSuccess", "onError"],
32
- _excluded2 = ["title", "content", "component", "schema", "onFinish", "dialogType", "dialogQuickShowType", "messageType", "beforeRequest", "onTrigger", "link", "beforeContent", "afterContent", "message", "footerDescription", "footerAlign"];
32
+ _excluded2 = ["title", "content", "component", "schema", "onFinish", "dialogType", "dialogQuickShowType", "messageType", "beforeRequest", "onTrigger", "link", "beforeContent", "afterContent", "message", "footerDescription", "footerAlign", "className"];
33
33
 
34
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
35
35
 
@@ -134,6 +134,7 @@ function useDialogAction(action, context) {
134
134
  message = _getTargetValue.message,
135
135
  footerDescription = _getTargetValue.footerDescription,
136
136
  footerAlign = _getTargetValue.footerAlign,
137
+ className = _getTargetValue.className,
137
138
  containerProps = _objectWithoutProperties(_getTargetValue, _excluded2);
138
139
 
139
140
  var isDrawer = dialogType === 'drawer';
@@ -256,7 +257,10 @@ function useDialogAction(action, context) {
256
257
  className: (0, _classnames.default)('teamix-pro-dialog-footer-description', getFooterAlignClass(isDrawer, footerAlign))
257
258
  }, renderDialogFooterDescription(footerDescription))),
258
259
  closeable: !loading,
259
- footerAlign: footerAlign
260
+ footerAlign: footerAlign,
261
+ className: (0, _classnames.default)('teamix-pro-action-dialog', {
262
+ 'has-footer-description': !!footerDescription
263
+ })
260
264
  }, containerOtherProps), containerProps);
261
265
 
262
266
  var ret = container.show(quickShowProps);
@@ -28,6 +28,19 @@
28
28
  flex-shrink: 0;
29
29
  }
30
30
  }
31
+ .next-dialog.teamix-pro-action-dialog {
32
+ &.has-footer-description {
33
+ .next-message {
34
+ position: static;
35
+ }
36
+ }
37
+
38
+ &.quick-show-confirm-or-alert {
39
+ .teamix-pro-dialog-footer-description {
40
+ bottom: var(--dialog-footer-padding-bottom, 20px);
41
+ }
42
+ }
43
+ }
31
44
 
32
45
  .teamix-pro-dialog-footer-description {
33
46
  position: absolute;
@@ -48,12 +61,6 @@
48
61
  }
49
62
  }
50
63
 
51
- .teamix-pro-action-dialog.has-footer-description {
52
- .next-message {
53
- position: static;
54
- }
55
- }
56
-
57
64
  .teamix-pro-dialog-before-content {
58
65
  margin-bottom: var(--s-2);
59
66
  }
@@ -61,7 +68,7 @@
61
68
  .teamix-pro-dialog-message {
62
69
  margin-bottom: var(--s-2);
63
70
 
64
- &+.next-loading {
71
+ & + .next-loading {
65
72
  .teamix-pro-form {
66
73
  margin-top: 20px;
67
74
  }
@@ -288,3 +288,12 @@
288
288
  cursor: pointer;
289
289
  }
290
290
  }
291
+
292
+ /* hack todo remove */
293
+ .#{$form-item-cls}-control-content-component {
294
+ .teamix-pro-field-tooltip.teamix-pro-field-checkbox {
295
+ .teamix-pro-lable-icon-tip-icon {
296
+ transform: translate(0px, 4px);
297
+ }
298
+ }
299
+ }
package/lib/index.d.ts CHANGED
@@ -21,5 +21,5 @@ export * from './page-container';
21
21
  export * from './page-header';
22
22
  export * from './skeleton';
23
23
  export * from './table';
24
- declare const version = "1.2.8";
24
+ declare const version = "1.2.9";
25
25
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, hooks, nocode, templates, utils, };
package/lib/index.js CHANGED
@@ -253,5 +253,5 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
253
253
  _icon.default.setConfig(_utils.default.getTeamixIconConfig());
254
254
 
255
255
  // export * from './sidebar';
256
- var version = '1.2.8';
256
+ var version = '1.2.9';
257
257
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamix/pro",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "TeamixPro大包",
5
5
  "repository": "http://gitlab.alibaba-inc.com/teamix/pro",
6
6
  "author": "Velociraptor(迅猛龙)",