bitz-react-admin-ui 2.3.1 → 2.3.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 (58) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +4 -26
  2. package/dist/_virtual/index.mjs +2 -2
  3. package/dist/_virtual/index2.mjs +2 -2
  4. package/dist/components/BitzConfigProvider/context.d.ts +1 -0
  5. package/dist/components/BitzConfigProvider/context.mjs +4 -3
  6. package/dist/components/BitzHighlight/style.mjs +12 -12
  7. package/dist/components/BitzTable/ActionBar/style.mjs +21 -21
  8. package/dist/components/BitzTable/ActionCol/index.mjs +59 -58
  9. package/dist/components/BitzTable/ActionCol/style.d.ts +1 -1
  10. package/dist/components/BitzTable/ActionCol/style.mjs +28 -28
  11. package/dist/components/BitzTable/Dropdown/style.mjs +25 -25
  12. package/dist/components/BitzTable/SelectionBar/style.mjs +24 -24
  13. package/dist/components/BitzTable/Store/index.mjs +37 -37
  14. package/dist/components/BitzTable/SubTable/index.mjs +94 -94
  15. package/dist/components/BitzTable/Table/index.mjs +244 -245
  16. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +51 -47
  17. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +61 -60
  18. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +46 -38
  19. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +44 -44
  20. package/dist/components/BitzTable/ToolBar/style.mjs +21 -21
  21. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +14 -15
  22. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +14 -15
  23. package/dist/components/BitzTableSelect/TableCell/index.mjs +34 -33
  24. package/dist/components/BitzTableSelect/TextBlock/index.mjs +20 -18
  25. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  26. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +8 -9
  27. package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/_virtual/Draggable.mjs +0 -4
  31. package/dist/_virtual/DraggableCore.mjs +0 -4
  32. package/dist/_virtual/Resizable.mjs +0 -4
  33. package/dist/_virtual/ResizableBox.mjs +0 -4
  34. package/dist/_virtual/cjs.mjs +0 -4
  35. package/dist/_virtual/clsx.m.mjs +0 -6
  36. package/dist/_virtual/domFns.mjs +0 -4
  37. package/dist/_virtual/getPrefix.mjs +0 -4
  38. package/dist/_virtual/index6.mjs +0 -4
  39. package/dist/_virtual/log.mjs +0 -4
  40. package/dist/_virtual/positionFns.mjs +0 -4
  41. package/dist/_virtual/propTypes.mjs +0 -4
  42. package/dist/_virtual/shims.mjs +0 -4
  43. package/dist/_virtual/utils.mjs +0 -4
  44. package/dist/components/BitzTable/Table/ResizableTitle.mjs +0 -32
  45. package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +0 -22
  46. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +0 -343
  47. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +0 -324
  48. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +0 -14
  49. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +0 -174
  50. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +0 -35
  51. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +0 -7
  52. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +0 -107
  53. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +0 -30
  54. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +0 -201
  55. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +0 -162
  56. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +0 -118
  57. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +0 -54
  58. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +0 -13
@@ -1,162 +0,0 @@
1
- import { __exports as d } from "../../../../../../_virtual/ResizableBox.mjs";
2
- import x from "react";
3
- import { p as D } from "../../../../prop-types@15.8.1/node_modules/prop-types/index.mjs";
4
- import "./Resizable.mjs";
5
- import "./propTypes.mjs";
6
- import { __exports as W } from "../../../../../../_virtual/Resizable.mjs";
7
- import { __exports as j } from "../../../../../../_virtual/propTypes.mjs";
8
- d.__esModule = !0;
9
- d.default = void 0;
10
- var c = A(x), H = m(D), E = m(W), M = j, T = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
11
- function m(e) {
12
- return e && e.__esModule ? e : { default: e };
13
- }
14
- function O(e) {
15
- if (typeof WeakMap != "function")
16
- return null;
17
- var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
18
- return (O = function(i) {
19
- return i ? n : r;
20
- })(e);
21
- }
22
- function A(e, r) {
23
- if (!r && e && e.__esModule)
24
- return e;
25
- if (e === null || typeof e != "object" && typeof e != "function")
26
- return { default: e };
27
- var n = O(r);
28
- if (n && n.has(e))
29
- return n.get(e);
30
- var t = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
31
- for (var o in e)
32
- if (o !== "default" && Object.prototype.hasOwnProperty.call(e, o)) {
33
- var a = i ? Object.getOwnPropertyDescriptor(e, o) : null;
34
- a && (a.get || a.set) ? Object.defineProperty(t, o, a) : t[o] = e[o];
35
- }
36
- return t.default = e, n && n.set(e, t), t;
37
- }
38
- function u() {
39
- return u = Object.assign ? Object.assign.bind() : function(e) {
40
- for (var r = 1; r < arguments.length; r++) {
41
- var n = arguments[r];
42
- for (var t in n)
43
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
44
- }
45
- return e;
46
- }, u.apply(this, arguments);
47
- }
48
- function g(e, r) {
49
- var n = Object.keys(e);
50
- if (Object.getOwnPropertySymbols) {
51
- var t = Object.getOwnPropertySymbols(e);
52
- r && (t = t.filter(function(i) {
53
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
54
- })), n.push.apply(n, t);
55
- }
56
- return n;
57
- }
58
- function f(e) {
59
- for (var r = 1; r < arguments.length; r++) {
60
- var n = arguments[r] != null ? arguments[r] : {};
61
- r % 2 ? g(Object(n), !0).forEach(function(t) {
62
- C(e, t, n[t]);
63
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function(t) {
64
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
65
- });
66
- }
67
- return e;
68
- }
69
- function C(e, r, n) {
70
- return r = q(r), r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
71
- }
72
- function q(e) {
73
- var r = B(e, "string");
74
- return typeof r == "symbol" ? r : String(r);
75
- }
76
- function B(e, r) {
77
- if (typeof e != "object" || e === null)
78
- return e;
79
- var n = e[Symbol.toPrimitive];
80
- if (n !== void 0) {
81
- var t = n.call(e, r || "default");
82
- if (typeof t != "object")
83
- return t;
84
- throw new TypeError("@@toPrimitive must return a primitive value.");
85
- }
86
- return (r === "string" ? String : Number)(e);
87
- }
88
- function K(e, r) {
89
- if (e == null)
90
- return {};
91
- var n = {}, t = Object.keys(e), i, o;
92
- for (o = 0; o < t.length; o++)
93
- i = t[o], !(r.indexOf(i) >= 0) && (n[i] = e[i]);
94
- return n;
95
- }
96
- function F(e, r) {
97
- e.prototype = Object.create(r.prototype), e.prototype.constructor = e, h(e, r);
98
- }
99
- function h(e, r) {
100
- return h = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, i) {
101
- return t.__proto__ = i, t;
102
- }, h(e, r);
103
- }
104
- var v = /* @__PURE__ */ function(e) {
105
- F(r, e);
106
- function r() {
107
- for (var t, i = arguments.length, o = new Array(i), a = 0; a < i; a++)
108
- o[a] = arguments[a];
109
- return t = e.call.apply(e, [this].concat(o)) || this, t.state = {
110
- width: t.props.width,
111
- height: t.props.height,
112
- propsWidth: t.props.width,
113
- propsHeight: t.props.height
114
- }, t.onResize = function(s, p) {
115
- var l = p.size;
116
- t.props.onResize ? (s.persist == null || s.persist(), t.setState(l, function() {
117
- return t.props.onResize && t.props.onResize(s, p);
118
- })) : t.setState(l);
119
- }, t;
120
- }
121
- r.getDerivedStateFromProps = function(i, o) {
122
- return o.propsWidth !== i.width || o.propsHeight !== i.height ? {
123
- width: i.width,
124
- height: i.height,
125
- propsWidth: i.width,
126
- propsHeight: i.height
127
- } : null;
128
- };
129
- var n = r.prototype;
130
- return n.render = function() {
131
- var i = this.props, o = i.handle, a = i.handleSize;
132
- i.onResize;
133
- var s = i.onResizeStart, p = i.onResizeStop, l = i.draggableOpts, y = i.minConstraints, z = i.maxConstraints, _ = i.lockAspectRatio, w = i.axis;
134
- i.width, i.height;
135
- var P = i.resizeHandles, R = i.style, S = i.transformScale, b = K(i, T);
136
- return /* @__PURE__ */ c.createElement(E.default, {
137
- axis: w,
138
- draggableOpts: l,
139
- handle: o,
140
- handleSize: a,
141
- height: this.state.height,
142
- lockAspectRatio: _,
143
- maxConstraints: z,
144
- minConstraints: y,
145
- onResizeStart: s,
146
- onResize: this.onResize,
147
- onResizeStop: p,
148
- resizeHandles: P,
149
- transformScale: S,
150
- width: this.state.width
151
- }, /* @__PURE__ */ c.createElement("div", u({}, b, {
152
- style: f(f({}, R), {}, {
153
- width: this.state.width + "px",
154
- height: this.state.height + "px"
155
- })
156
- })));
157
- }, r;
158
- }(c.Component);
159
- d.default = v;
160
- v.propTypes = f(f({}, M.resizableProps), {}, {
161
- children: H.default.element
162
- });
@@ -1,118 +0,0 @@
1
- import { __exports as f } from "../../../../../../_virtual/propTypes.mjs";
2
- import { p as d } from "../../../../prop-types@15.8.1/node_modules/prop-types/index.mjs";
3
- import "../../../../react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs";
4
- f.__esModule = !0;
5
- f.resizableProps = void 0;
6
- var e = o(d);
7
- function o(r) {
8
- return r && r.__esModule ? r : { default: r };
9
- }
10
- var s = {
11
- /*
12
- * Restricts resizing to a particular axis (default: 'both')
13
- * 'both' - allows resizing by width or height
14
- * 'x' - only allows the width to be changed
15
- * 'y' - only allows the height to be changed
16
- * 'none' - disables resizing altogether
17
- * */
18
- axis: e.default.oneOf(["both", "x", "y", "none"]),
19
- className: e.default.string,
20
- /*
21
- * Require that one and only one child be present.
22
- * */
23
- children: e.default.element.isRequired,
24
- /*
25
- * These will be passed wholesale to react-draggable's DraggableCore
26
- * */
27
- draggableOpts: e.default.shape({
28
- allowAnyClick: e.default.bool,
29
- cancel: e.default.string,
30
- children: e.default.node,
31
- disabled: e.default.bool,
32
- enableUserSelectHack: e.default.bool,
33
- offsetParent: e.default.node,
34
- grid: e.default.arrayOf(e.default.number),
35
- handle: e.default.string,
36
- nodeRef: e.default.object,
37
- onStart: e.default.func,
38
- onDrag: e.default.func,
39
- onStop: e.default.func,
40
- onMouseDown: e.default.func,
41
- scale: e.default.number
42
- }),
43
- /*
44
- * Initial height
45
- * */
46
- height: function() {
47
- for (var u = arguments.length, a = new Array(u), t = 0; t < u; t++)
48
- a[t] = arguments[t];
49
- var l = a[0];
50
- if (l.axis === "both" || l.axis === "y") {
51
- var n;
52
- return (n = e.default.number).isRequired.apply(n, a);
53
- }
54
- return e.default.number.apply(e.default, a);
55
- },
56
- /*
57
- * Customize cursor resize handle
58
- * */
59
- handle: e.default.oneOfType([e.default.node, e.default.func]),
60
- /*
61
- * If you change this, be sure to update your css
62
- * */
63
- handleSize: e.default.arrayOf(e.default.number),
64
- lockAspectRatio: e.default.bool,
65
- /*
66
- * Max X & Y measure
67
- * */
68
- maxConstraints: e.default.arrayOf(e.default.number),
69
- /*
70
- * Min X & Y measure
71
- * */
72
- minConstraints: e.default.arrayOf(e.default.number),
73
- /*
74
- * Called on stop resize event
75
- * */
76
- onResizeStop: e.default.func,
77
- /*
78
- * Called on start resize event
79
- * */
80
- onResizeStart: e.default.func,
81
- /*
82
- * Called on resize event
83
- * */
84
- onResize: e.default.func,
85
- /*
86
- * Defines which resize handles should be rendered (default: 'se')
87
- * 's' - South handle (bottom-center)
88
- * 'w' - West handle (left-center)
89
- * 'e' - East handle (right-center)
90
- * 'n' - North handle (top-center)
91
- * 'sw' - Southwest handle (bottom-left)
92
- * 'nw' - Northwest handle (top-left)
93
- * 'se' - Southeast handle (bottom-right)
94
- * 'ne' - Northeast handle (top-center)
95
- * */
96
- resizeHandles: e.default.arrayOf(e.default.oneOf(["s", "w", "e", "n", "sw", "nw", "se", "ne"])),
97
- /*
98
- * If `transform: scale(n)` is set on the parent, this should be set to `n`.
99
- * */
100
- transformScale: e.default.number,
101
- /*
102
- * Initial width
103
- */
104
- width: function() {
105
- for (var u = arguments.length, a = new Array(u), t = 0; t < u; t++)
106
- a[t] = arguments[t];
107
- var l = a[0];
108
- if (l.axis === "both" || l.axis === "x") {
109
- var n;
110
- return (n = e.default.number).isRequired.apply(n, a);
111
- }
112
- return e.default.number.apply(e.default, a);
113
- }
114
- };
115
- f.resizableProps = s;
116
- export {
117
- f as default
118
- };
@@ -1,54 +0,0 @@
1
- import { __exports as a } from "../../../../../../_virtual/utils.mjs";
2
- import f from "react";
3
- a.__esModule = !0;
4
- a.cloneElement = y;
5
- var l = c(f);
6
- function c(e) {
7
- return e && e.__esModule ? e : { default: e };
8
- }
9
- function i(e, r) {
10
- var t = Object.keys(e);
11
- if (Object.getOwnPropertySymbols) {
12
- var n = Object.getOwnPropertySymbols(e);
13
- r && (n = n.filter(function(u) {
14
- return Object.getOwnPropertyDescriptor(e, u).enumerable;
15
- })), t.push.apply(t, n);
16
- }
17
- return t;
18
- }
19
- function o(e) {
20
- for (var r = 1; r < arguments.length; r++) {
21
- var t = arguments[r] != null ? arguments[r] : {};
22
- r % 2 ? i(Object(t), !0).forEach(function(n) {
23
- s(e, n, t[n]);
24
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : i(Object(t)).forEach(function(n) {
25
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
26
- });
27
- }
28
- return e;
29
- }
30
- function s(e, r, t) {
31
- return r = m(r), r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
32
- }
33
- function m(e) {
34
- var r = p(e, "string");
35
- return typeof r == "symbol" ? r : String(r);
36
- }
37
- function p(e, r) {
38
- if (typeof e != "object" || e === null)
39
- return e;
40
- var t = e[Symbol.toPrimitive];
41
- if (t !== void 0) {
42
- var n = t.call(e, r || "default");
43
- if (typeof n != "object")
44
- return n;
45
- throw new TypeError("@@toPrimitive must return a primitive value.");
46
- }
47
- return (r === "string" ? String : Number)(e);
48
- }
49
- function y(e, r) {
50
- return r.style && e.props.style && (r.style = o(o({}, e.props.style), r.style)), r.className && e.props.className && (r.className = e.props.className + " " + r.className), /* @__PURE__ */ l.default.cloneElement(e, r);
51
- }
52
- export {
53
- a as default
54
- };
@@ -1,13 +0,0 @@
1
- import { __module as e } from "../../../../../_virtual/index5.mjs";
2
- import "./build/Resizable.mjs";
3
- import "./build/ResizableBox.mjs";
4
- import { __exports as r } from "../../../../../_virtual/Resizable.mjs";
5
- import { __exports as t } from "../../../../../_virtual/ResizableBox.mjs";
6
- e.exports = function() {
7
- throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
8
- };
9
- var p = e.exports.Resizable = r.default;
10
- e.exports.ResizableBox = t.default;
11
- export {
12
- p as Resizable
13
- };