linear-react-components-ui 1.1.26-beta.2 → 1.1.26-beta.4
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.
- package/lib/alerts/AlertProvider.js +1 -1
- package/lib/alerts/BaseAlert.js +1 -1
- package/lib/alerts/Message.js +1 -1
- package/lib/alerts/withAlert.js +1 -1
- package/lib/avatar/index.js +14 -14
- package/lib/badge/index.js +2 -2
- package/lib/buttons/ActivateButton.js +1 -1
- package/lib/buttons/AddButton.js +1 -1
- package/lib/buttons/Button.js +1 -1
- package/lib/buttons/ButtonGroups.js +1 -1
- package/lib/buttons/CancelButton.js +1 -1
- package/lib/buttons/DangerButton.js +1 -1
- package/lib/buttons/DefaultButton.js +1 -1
- package/lib/buttons/DestroyButton.js +1 -1
- package/lib/buttons/EditButton.js +1 -1
- package/lib/buttons/InactivateButton.js +1 -1
- package/lib/buttons/InfoButton.js +1 -1
- package/lib/buttons/PrimaryButton.js +1 -1
- package/lib/buttons/RestoreButton.js +1 -1
- package/lib/buttons/SaveButton.js +1 -1
- package/lib/buttons/SuccessButton.js +1 -1
- package/lib/buttons/WarningButton.js +1 -1
- package/lib/buttons/button_container/index.js +1 -1
- package/lib/buttons/index.js +1 -1
- package/lib/buttons/split_button/index.js +3 -3
- package/lib/calendar/DangerCalendar.js +1 -1
- package/lib/calendar/InfoCalendar.js +1 -1
- package/lib/calendar/PrimaryCalendar.js +1 -1
- package/lib/calendar/SuccessCalendar.js +1 -1
- package/lib/calendar/WarningCalendar.js +1 -1
- package/lib/calendar/base/Day.js +2 -2
- package/lib/calendar/base/Month.js +1 -1
- package/lib/calendar/base/Week.js +1 -1
- package/lib/calendar/base/index.js +2 -2
- package/lib/checkbox/index.js +4 -4
- package/lib/chunks/{index.yztgndLc.js → index.CjD97zna.js} +30 -30
- package/lib/chunks/{index.D5f6Ow9V.js → index.iA-fVKOP.js} +3 -3
- package/lib/chunks/jsx-runtime.gtoSnx-V.js +284 -0
- package/lib/chunks/{tabs.Cvj2MJH6.js → tabs.BP3DB7Gx.js} +35 -35
- package/lib/dialog/Alert.js +2 -2
- package/lib/dialog/Custom.js +6 -6
- package/lib/dialog/Error.js +2 -2
- package/lib/dialog/Information.js +2 -2
- package/lib/dialog/Question.js +2 -2
- package/lib/dialog/Warning.js +2 -2
- package/lib/dialog/base/Content.js +2 -2
- package/lib/dialog/base/Footer.js +1 -1
- package/lib/dialog/base/Header.js +2 -2
- package/lib/dialog/base/index.js +2 -2
- package/lib/dialog/form/index.js +3 -3
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/wizard/index.js +3 -3
- package/lib/dialog/wizard/progressbar.js +2 -2
- package/lib/dialog/wizard/step.js +2 -2
- package/lib/dialog/wizard/useWizard.js +2 -2
- package/lib/drawer/Content.js +1 -1
- package/lib/drawer/Drawer.js +2 -2
- package/lib/drawer/Header.js +1 -1
- package/lib/drawer/helpers.js +2 -2
- package/lib/dropdown/withDropdown.js +2 -2
- package/lib/fieldset/index.js +2 -2
- package/lib/form/Field.js +1 -1
- package/lib/form/FieldArray.js +2 -2
- package/lib/form/FieldNumber.js +1 -1
- package/lib/form/FieldPeriod.js +2 -2
- package/lib/form/helpers.js +9 -9
- package/lib/form/index.js +3 -3
- package/lib/form/withFieldHOC.js +7 -7
- package/lib/form/withFormSecurity.js +12 -12
- package/lib/gridlayout/GridCol.js +2 -2
- package/lib/gridlayout/GridRow.js +2 -2
- package/lib/hint/helpers.js +1 -1
- package/lib/hint/index.js +2 -2
- package/lib/icons/index.js +2 -2
- package/lib/index.js +3 -3
- package/lib/inputs/base/InputTextBase.js +2 -2
- package/lib/inputs/base/Label.js +1 -1
- package/lib/inputs/color/index.js +2 -2
- package/lib/inputs/date/Dialog.js +2 -2
- package/lib/inputs/date/index.js +2 -2
- package/lib/inputs/errorMessage/index.js +2 -2
- package/lib/inputs/file/DefaultFile.js +2 -2
- package/lib/inputs/file/DragDropFile.js +2 -2
- package/lib/inputs/file/File.js +2 -2
- package/lib/inputs/file/FileButtonSettings.js +2 -2
- package/lib/inputs/inputHOC.js +2 -2
- package/lib/inputs/mask/BaseMask.js +1 -1
- package/lib/inputs/mask/Cnpj.js +1 -1
- package/lib/inputs/mask/Cpf.js +1 -1
- package/lib/inputs/mask/Phone.js +1 -1
- package/lib/inputs/mask/ZipCode.js +1 -1
- package/lib/inputs/multiSelect/ActionButtons.js +3 -3
- package/lib/inputs/multiSelect/Dropdown.js +1 -1
- package/lib/inputs/multiSelect/index.js +2 -2
- package/lib/inputs/number/BaseNumber.js +1 -1
- package/lib/inputs/number/Currency.js +1 -1
- package/lib/inputs/number/Decimal.js +1 -1
- package/lib/inputs/number/index.js +2 -2
- package/lib/inputs/period/Dialog.js +2 -2
- package/lib/inputs/period/PeriodList.js +1 -1
- package/lib/inputs/period/index.js +2 -2
- package/lib/inputs/search/index.js +2 -2
- package/lib/inputs/select/ActionButtons.js +1 -1
- package/lib/inputs/select/Dropdown.js +1 -1
- package/lib/inputs/select/index.js +2 -2
- package/lib/inputs/select/multiple/Selecteds.js +9 -9
- package/lib/inputs/select/multiple/index.js +1 -1
- package/lib/inputs/select/simple/index.js +1 -1
- package/lib/inputs/text/index.js +1 -1
- package/lib/inputs/textarea/index.js +1 -1
- package/lib/internals/withTooltip.js +7 -7
- package/lib/labelMessages/index.js +2 -2
- package/lib/labels/DangerLabel.js +1 -1
- package/lib/labels/DefaultLabel.js +1 -1
- package/lib/labels/InfoLabel.js +1 -1
- package/lib/labels/PrimaryLabel.js +1 -1
- package/lib/labels/SuccessLabel.js +1 -1
- package/lib/labels/WarningLabel.js +1 -1
- package/lib/labels/index.js +1 -1
- package/lib/labels/label_container/index.js +1 -1
- package/lib/list/Header.js +1 -1
- package/lib/list/Item.js +3 -3
- package/lib/list/Separator.js +1 -1
- package/lib/list/helpers.js +2 -2
- package/lib/list/index.js +2 -2
- package/lib/menus/float/MenuItem.js +2 -2
- package/lib/menus/float/index.js +2 -2
- package/lib/menus/sidenav/ExpandMenu.js +1 -1
- package/lib/menus/sidenav/MenuLink.js +4 -4
- package/lib/menus/sidenav/NavMenuGroup.js +1 -1
- package/lib/menus/sidenav/NavMenuItem.js +1 -1
- package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
- package/lib/menus/sidenav/helpers.js +4 -4
- package/lib/menus/sidenav/index.js +2 -2
- package/lib/menus/sidenav/popup_menu_search/EmptyList.js +1 -1
- package/lib/menus/sidenav/popup_menu_search/index.js +2 -2
- package/lib/noPermission/index.js +2 -2
- package/lib/panel/Content.js +1 -1
- package/lib/panel/DangerPanel.js +1 -1
- package/lib/panel/Default.js +2 -2
- package/lib/panel/Header.js +2 -2
- package/lib/panel/InfoPanel.js +1 -1
- package/lib/panel/PrimaryPanel.js +1 -1
- package/lib/panel/SuccessPanel.js +1 -1
- package/lib/panel/ToolBar.js +1 -1
- package/lib/panel/WarningPanel.js +1 -1
- package/lib/panel/helpers.js +4 -4
- package/lib/panel/index.js +1 -1
- package/lib/popover/PopoverText.js +1 -1
- package/lib/popover/PopoverTitle.js +1 -1
- package/lib/popover/index.js +2 -2
- package/lib/progress/Bar.js +1 -1
- package/lib/progress/index.js +2 -2
- package/lib/radio/index.js +2 -2
- package/lib/shortcuts/index.js +2 -2
- package/lib/skeleton/SkeletonContainer.js +1 -1
- package/lib/skeleton/index.js +2 -2
- package/lib/spinner/SpinnerLoading.js +1 -1
- package/lib/spinner/index.js +2 -2
- package/lib/split/Split.js +1 -1
- package/lib/split/SplitSide.js +1 -1
- package/lib/split/index.js +1 -1
- package/lib/table/Body.js +2 -2
- package/lib/table/Header.js +1 -1
- package/lib/table/HeaderColumn.js +1 -1
- package/lib/table/Row.js +1 -1
- package/lib/table/RowColumn.js +1 -1
- package/lib/table/index.js +2 -2
- package/lib/tabs/DropdownTabs.js +4 -4
- package/lib/tabs/Menu.js +5 -5
- package/lib/tabs/MenuTabs.js +5 -5
- package/lib/tabs/Panel.js +1 -1
- package/lib/tabs/context.js +30 -30
- package/lib/tabs/index.js +2 -2
- package/lib/tabs/tabHelpers.js +2 -2
- package/lib/textContent/index.js +2 -2
- package/lib/toolbar/ButtonBar.js +2 -2
- package/lib/toolbar/LabelBar.js +2 -2
- package/lib/toolbar/Separator.js +1 -1
- package/lib/toolbar/ToolBarGroup.js +1 -1
- package/lib/toolbar/index.js +2 -2
- package/lib/tooltip/index.js +2 -2
- package/lib/treetable/Body.js +2 -2
- package/lib/treetable/Header.js +2 -2
- package/lib/treetable/Row.js +16 -16
- package/lib/treetable/index.js +2 -2
- package/lib/treeview/Header.js +1 -1
- package/lib/treeview/Node.js +11 -11
- package/lib/treeview/index.js +2 -2
- package/lib/uitour/index.js +2 -2
- package/package.json +5 -6
- package/lib/chunks/index.CmrLK9Qe.js +0 -675
- package/lib/chunks/jsx-runtime.CYK1ROHF.js +0 -445
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import ee from "react";
|
|
2
|
+
var T = { exports: {} }, R = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var F;
|
|
13
|
+
function re() {
|
|
14
|
+
if (F) return R;
|
|
15
|
+
F = 1;
|
|
16
|
+
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
17
|
+
function f(m, a, s) {
|
|
18
|
+
var d = null;
|
|
19
|
+
if (s !== void 0 && (d = "" + s), a.key !== void 0 && (d = "" + a.key), "key" in a) {
|
|
20
|
+
s = {};
|
|
21
|
+
for (var E in a)
|
|
22
|
+
E !== "key" && (s[E] = a[E]);
|
|
23
|
+
} else s = a;
|
|
24
|
+
return a = s.ref, {
|
|
25
|
+
$$typeof: l,
|
|
26
|
+
type: m,
|
|
27
|
+
key: d,
|
|
28
|
+
ref: a !== void 0 ? a : null,
|
|
29
|
+
props: s
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return R.Fragment = b, R.jsx = f, R.jsxs = f, R;
|
|
33
|
+
}
|
|
34
|
+
var _ = {};
|
|
35
|
+
/**
|
|
36
|
+
* @license React
|
|
37
|
+
* react-jsx-runtime.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
44
|
+
var $;
|
|
45
|
+
function te() {
|
|
46
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function l(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === Z ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
52
|
+
switch (e) {
|
|
53
|
+
case p:
|
|
54
|
+
return "Fragment";
|
|
55
|
+
case J:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case U:
|
|
58
|
+
return "StrictMode";
|
|
59
|
+
case G:
|
|
60
|
+
return "Suspense";
|
|
61
|
+
case X:
|
|
62
|
+
return "SuspenseList";
|
|
63
|
+
case H:
|
|
64
|
+
return "Activity";
|
|
65
|
+
}
|
|
66
|
+
if (typeof e == "object")
|
|
67
|
+
switch (typeof e.tag == "number" && console.error(
|
|
68
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
+
), e.$$typeof) {
|
|
70
|
+
case W:
|
|
71
|
+
return "Portal";
|
|
72
|
+
case z:
|
|
73
|
+
return (e.displayName || "Context") + ".Provider";
|
|
74
|
+
case q:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case V:
|
|
77
|
+
var r = e.render;
|
|
78
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
+
case B:
|
|
80
|
+
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
+
case g:
|
|
82
|
+
r = e._payload, e = e._init;
|
|
83
|
+
try {
|
|
84
|
+
return l(e(r));
|
|
85
|
+
} catch {
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
function b(e) {
|
|
91
|
+
return "" + e;
|
|
92
|
+
}
|
|
93
|
+
function f(e) {
|
|
94
|
+
try {
|
|
95
|
+
b(e);
|
|
96
|
+
var r = !1;
|
|
97
|
+
} catch {
|
|
98
|
+
r = !0;
|
|
99
|
+
}
|
|
100
|
+
if (r) {
|
|
101
|
+
r = console;
|
|
102
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return t.call(
|
|
104
|
+
r,
|
|
105
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
+
n
|
|
107
|
+
), b(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function m(e) {
|
|
111
|
+
if (e === p) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === g)
|
|
113
|
+
return "<...>";
|
|
114
|
+
try {
|
|
115
|
+
var r = l(e);
|
|
116
|
+
return r ? "<" + r + ">" : "<...>";
|
|
117
|
+
} catch {
|
|
118
|
+
return "<...>";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function a() {
|
|
122
|
+
var e = k.A;
|
|
123
|
+
return e === null ? null : e.getOwner();
|
|
124
|
+
}
|
|
125
|
+
function s() {
|
|
126
|
+
return Error("react-stack-top-frame");
|
|
127
|
+
}
|
|
128
|
+
function d(e) {
|
|
129
|
+
if (h.call(e, "key")) {
|
|
130
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
+
if (r && r.isReactWarning) return !1;
|
|
132
|
+
}
|
|
133
|
+
return e.key !== void 0;
|
|
134
|
+
}
|
|
135
|
+
function E(e, r) {
|
|
136
|
+
function t() {
|
|
137
|
+
y || (y = !0, console.error(
|
|
138
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
+
r
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: t,
|
|
144
|
+
configurable: !0
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function L() {
|
|
148
|
+
var e = l(this.type);
|
|
149
|
+
return N[e] || (N[e] = !0, console.error(
|
|
150
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
+
}
|
|
153
|
+
function M(e, r, t, n, c, u, A, S) {
|
|
154
|
+
return t = u.ref, e = {
|
|
155
|
+
$$typeof: x,
|
|
156
|
+
type: e,
|
|
157
|
+
key: r,
|
|
158
|
+
props: u,
|
|
159
|
+
_owner: c
|
|
160
|
+
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
+
enumerable: !1,
|
|
162
|
+
get: L
|
|
163
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
|
+
configurable: !1,
|
|
165
|
+
enumerable: !1,
|
|
166
|
+
writable: !0,
|
|
167
|
+
value: 0
|
|
168
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
169
|
+
configurable: !1,
|
|
170
|
+
enumerable: !1,
|
|
171
|
+
writable: !0,
|
|
172
|
+
value: null
|
|
173
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
174
|
+
configurable: !1,
|
|
175
|
+
enumerable: !1,
|
|
176
|
+
writable: !0,
|
|
177
|
+
value: A
|
|
178
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
+
configurable: !1,
|
|
180
|
+
enumerable: !1,
|
|
181
|
+
writable: !0,
|
|
182
|
+
value: S
|
|
183
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
+
}
|
|
185
|
+
function j(e, r, t, n, c, u, A, S) {
|
|
186
|
+
var o = r.children;
|
|
187
|
+
if (o !== void 0)
|
|
188
|
+
if (n)
|
|
189
|
+
if (Q(o)) {
|
|
190
|
+
for (n = 0; n < o.length; n++)
|
|
191
|
+
w(o[n]);
|
|
192
|
+
Object.freeze && Object.freeze(o);
|
|
193
|
+
} else
|
|
194
|
+
console.error(
|
|
195
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
|
+
);
|
|
197
|
+
else w(o);
|
|
198
|
+
if (h.call(r, "key")) {
|
|
199
|
+
o = l(e);
|
|
200
|
+
var i = Object.keys(r).filter(function(K) {
|
|
201
|
+
return K !== "key";
|
|
202
|
+
});
|
|
203
|
+
n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
205
|
+
let props = %s;
|
|
206
|
+
<%s {...props} />
|
|
207
|
+
React keys must be passed directly to JSX without using spread:
|
|
208
|
+
let props = %s;
|
|
209
|
+
<%s key={someKey} {...props} />`,
|
|
210
|
+
n,
|
|
211
|
+
o,
|
|
212
|
+
i,
|
|
213
|
+
o
|
|
214
|
+
), I[o + n] = !0);
|
|
215
|
+
}
|
|
216
|
+
if (o = null, t !== void 0 && (f(t), o = "" + t), d(r) && (f(r.key), o = "" + r.key), "key" in r) {
|
|
217
|
+
t = {};
|
|
218
|
+
for (var P in r)
|
|
219
|
+
P !== "key" && (t[P] = r[P]);
|
|
220
|
+
} else t = r;
|
|
221
|
+
return o && E(
|
|
222
|
+
t,
|
|
223
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
+
), M(
|
|
225
|
+
e,
|
|
226
|
+
o,
|
|
227
|
+
u,
|
|
228
|
+
c,
|
|
229
|
+
a(),
|
|
230
|
+
t,
|
|
231
|
+
A,
|
|
232
|
+
S
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
function w(e) {
|
|
236
|
+
typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
|
|
237
|
+
}
|
|
238
|
+
var v = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
239
|
+
return null;
|
|
240
|
+
};
|
|
241
|
+
v = {
|
|
242
|
+
react_stack_bottom_frame: function(e) {
|
|
243
|
+
return e();
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
var y, N = {}, C = v.react_stack_bottom_frame.bind(
|
|
247
|
+
v,
|
|
248
|
+
s
|
|
249
|
+
)(), Y = O(m(s)), I = {};
|
|
250
|
+
_.Fragment = p, _.jsx = function(e, r, t, n, c) {
|
|
251
|
+
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
252
|
+
return j(
|
|
253
|
+
e,
|
|
254
|
+
r,
|
|
255
|
+
t,
|
|
256
|
+
!1,
|
|
257
|
+
n,
|
|
258
|
+
c,
|
|
259
|
+
u ? Error("react-stack-top-frame") : C,
|
|
260
|
+
u ? O(m(e)) : Y
|
|
261
|
+
);
|
|
262
|
+
}, _.jsxs = function(e, r, t, n, c) {
|
|
263
|
+
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return j(
|
|
265
|
+
e,
|
|
266
|
+
r,
|
|
267
|
+
t,
|
|
268
|
+
!0,
|
|
269
|
+
n,
|
|
270
|
+
c,
|
|
271
|
+
u ? Error("react-stack-top-frame") : C,
|
|
272
|
+
u ? O(m(e)) : Y
|
|
273
|
+
);
|
|
274
|
+
};
|
|
275
|
+
}()), _;
|
|
276
|
+
}
|
|
277
|
+
var D;
|
|
278
|
+
function ne() {
|
|
279
|
+
return D || (D = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
|
|
280
|
+
}
|
|
281
|
+
var ae = ne();
|
|
282
|
+
export {
|
|
283
|
+
ae as j
|
|
284
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime.
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { j as e } from "./jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import { forwardRef as oe, useState as z, useRef as se, useImperativeHandle as ie, useEffect as F, useContext as M, useCallback as ne, useMemo as re, createElement as le } from "react";
|
|
3
|
+
import { useNavigate as ce, Link as ae } from "react-router-dom";
|
|
4
|
+
import O from "../icons/index.js";
|
|
5
|
+
import '../assets/radio.css';import '../assets/skeleton.css';import '../assets/toolbar.css';import '../assets/label.css';import '../assets/panel.css';import '../assets/noPermission.css';import '../assets/button.css';import '../assets/gridlayout.css';import '../assets/tabs.css';/* empty css */
|
|
6
6
|
import de from "../gridlayout/GridCol.js";
|
|
7
|
-
import { actionsOnPermissionDenied as V, OPTIONS_ON_DENIED as
|
|
7
|
+
import { actionsOnPermissionDenied as V, OPTIONS_ON_DENIED as P } from "../permissionValidations.js";
|
|
8
8
|
import { ErrorMessage as me } from "../inputs/errorMessage/index.js";
|
|
9
9
|
import "../buttons/DefaultButton.js";
|
|
10
10
|
/* empty css */
|
|
@@ -27,14 +27,14 @@ import "../tabs/MenuTabs.js";
|
|
|
27
27
|
import "lodash";
|
|
28
28
|
import "../tabs/context.js";
|
|
29
29
|
import "../tabs/tabHelpers.js";
|
|
30
|
-
import "./index.
|
|
30
|
+
import "./index.CjD97zna.js";
|
|
31
31
|
import ke from "../hint/index.js";
|
|
32
|
-
const X =
|
|
32
|
+
const X = oe(({
|
|
33
33
|
name: j,
|
|
34
34
|
required: d,
|
|
35
35
|
value: b,
|
|
36
36
|
label: u,
|
|
37
|
-
onChange:
|
|
37
|
+
onChange: s,
|
|
38
38
|
autofocus: i,
|
|
39
39
|
hint: r,
|
|
40
40
|
id: I = void 0,
|
|
@@ -47,13 +47,13 @@ const X = se(({
|
|
|
47
47
|
tooltipWidth: D = "auto",
|
|
48
48
|
skeletonize: k,
|
|
49
49
|
targetRef: v,
|
|
50
|
-
errorMessages:
|
|
51
|
-
customClassForLabel:
|
|
50
|
+
errorMessages: R,
|
|
51
|
+
customClassForLabel: L,
|
|
52
52
|
hintPosition: y = "below",
|
|
53
53
|
themePopover: B = "light",
|
|
54
54
|
popoverAlign: S = "left"
|
|
55
55
|
}, E) => {
|
|
56
|
-
const [c, $] = z(l), _ = [
|
|
56
|
+
const [c, $] = z(l), _ = [P.disabled, P.unvisible], [C] = z(V(_, g)), n = se(null);
|
|
57
57
|
ie(E, () => n.current, [n.current]), F(() => {
|
|
58
58
|
$(l);
|
|
59
59
|
}, [l]);
|
|
@@ -67,7 +67,7 @@ const X = se(({
|
|
|
67
67
|
};
|
|
68
68
|
return {
|
|
69
69
|
onClick: () => {
|
|
70
|
-
!f() && !k && ($(!c),
|
|
70
|
+
!f() && !k && ($(!c), s == null || s({ target: x }));
|
|
71
71
|
},
|
|
72
72
|
onKeyDown: void 0,
|
|
73
73
|
role: "checkbox",
|
|
@@ -108,14 +108,14 @@ const X = se(({
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
|
-
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
|
|
111
|
+
/* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(O, { size: 12, name: "checkmark" }) }),
|
|
112
112
|
u && /* @__PURE__ */ e.jsxs("div", { className: "description", children: [
|
|
113
113
|
/* @__PURE__ */ e.jsx(
|
|
114
114
|
U,
|
|
115
115
|
{
|
|
116
116
|
required: d,
|
|
117
117
|
disabled: f(),
|
|
118
|
-
className:
|
|
118
|
+
className: L,
|
|
119
119
|
tooltip: w,
|
|
120
120
|
tooltipWidth: D,
|
|
121
121
|
tooltipPosition: t
|
|
@@ -142,7 +142,7 @@ const X = se(({
|
|
|
142
142
|
]
|
|
143
143
|
}
|
|
144
144
|
),
|
|
145
|
-
/* @__PURE__ */ e.jsx(me, { messages:
|
|
145
|
+
/* @__PURE__ */ e.jsx(me, { messages: R })
|
|
146
146
|
] });
|
|
147
147
|
return C.unvisible ? null : N ? /* @__PURE__ */ e.jsx(de, { customClass: "-withinput", cols: N, children: p() }) : p();
|
|
148
148
|
});
|
|
@@ -152,7 +152,7 @@ const ve = (j) => {
|
|
|
152
152
|
onClick: d,
|
|
153
153
|
leftIconName: b,
|
|
154
154
|
leftIcon: u,
|
|
155
|
-
displayCheckbox:
|
|
155
|
+
displayCheckbox: s,
|
|
156
156
|
url: i,
|
|
157
157
|
leftElement: r,
|
|
158
158
|
hovered: I = !0,
|
|
@@ -165,8 +165,8 @@ const ve = (j) => {
|
|
|
165
165
|
rightElement: D,
|
|
166
166
|
style: k,
|
|
167
167
|
children: v,
|
|
168
|
-
disabled:
|
|
169
|
-
separator:
|
|
168
|
+
disabled: R,
|
|
169
|
+
separator: L = !0,
|
|
170
170
|
visible: y = !0,
|
|
171
171
|
permissionAttr: B,
|
|
172
172
|
skeletonize: S,
|
|
@@ -179,26 +179,26 @@ const ve = (j) => {
|
|
|
179
179
|
selectedItemId: n,
|
|
180
180
|
selectedItemRef: f,
|
|
181
181
|
selectOnEnter: A
|
|
182
|
-
} = M(pe), p = M(ue), { handlerSetOnDeniedText: x } = M(he), Y = [
|
|
183
|
-
${
|
|
184
|
-
const te = !h && !
|
|
185
|
-
return h || (te ? /* @__PURE__ */ e.jsx(
|
|
186
|
-
|
|
182
|
+
} = M(pe), p = M(ue), { handlerSetOnDeniedText: x } = M(he), Y = [P.disabled, P.unvisible], [T] = z(V(Y, B)), Z = ce(), a = T.disabled, H = () => R || T.disabled, G = "rgb(193, 193, 193)", K = () => `item ${N} ${L && "list-separator"} ${H() && "disabled"}
|
|
183
|
+
${s && "list-checkbox"}`, W = (o, h) => {
|
|
184
|
+
const te = !h && !s && !r && !b && !u && T.disabled;
|
|
185
|
+
return h || (te ? /* @__PURE__ */ e.jsx(O, { name: "padlock", color: G }) : o ? /* @__PURE__ */ e.jsx(
|
|
186
|
+
O,
|
|
187
187
|
{
|
|
188
|
-
name: a ? "padlock" :
|
|
188
|
+
name: a ? "padlock" : o,
|
|
189
189
|
color: a ? G : ""
|
|
190
190
|
}
|
|
191
191
|
) : null);
|
|
192
|
-
}, J = (
|
|
193
|
-
d !== void 0 && d(
|
|
194
|
-
}, Q = ne((
|
|
192
|
+
}, J = (o) => {
|
|
193
|
+
d !== void 0 && d(o, t), p && p.handleDropdownClose && p.handleDropdownClose(), C && _(t, d);
|
|
194
|
+
}, Q = ne((o) => {
|
|
195
195
|
var h;
|
|
196
|
-
[fe.ENTER].includes(
|
|
196
|
+
[fe.ENTER].includes(o.keyCode) && !S && t && n === t && (o.preventDefault(), J(o), i && (c === "_blank" ? (h = window.open(i, "_blank")) == null || h.focus() : Z(i)));
|
|
197
197
|
}, [i, n, t]), q = () => {
|
|
198
198
|
if (!H())
|
|
199
199
|
return d === void 0 && p === void 0 && !C ? null : {
|
|
200
|
-
onClick: (
|
|
201
|
-
J(
|
|
200
|
+
onClick: (o) => {
|
|
201
|
+
J(o);
|
|
202
202
|
},
|
|
203
203
|
role: "button",
|
|
204
204
|
tabIndex: 0
|
|
@@ -210,13 +210,13 @@ const ve = (j) => {
|
|
|
210
210
|
a && x($);
|
|
211
211
|
}, [a]);
|
|
212
212
|
const ee = re(
|
|
213
|
-
() => !a &&
|
|
214
|
-
[a &&
|
|
213
|
+
() => !a && s ? /* @__PURE__ */ e.jsx(X, { name: "checkbox" }) : a && s ? /* @__PURE__ */ e.jsx(O, { name: "padlock" }) : null,
|
|
214
|
+
[a && s]
|
|
215
215
|
);
|
|
216
216
|
return !y || T.unvisible ? null : /* @__PURE__ */ le(
|
|
217
217
|
"li",
|
|
218
218
|
{
|
|
219
|
-
ref: (
|
|
219
|
+
ref: (o) => (E && E(o), t && n === t ? f : null),
|
|
220
220
|
style: k,
|
|
221
221
|
className: `item-container ${I && "hovered"}
|
|
222
222
|
${t && n === t ? "-activedlist" : ""}`,
|
|
@@ -224,7 +224,7 @@ const ve = (j) => {
|
|
|
224
224
|
key: t
|
|
225
225
|
},
|
|
226
226
|
i && !H() && /* @__PURE__ */ e.jsx(ae, { className: "linkitem", to: i, target: c }),
|
|
227
|
-
(
|
|
227
|
+
(s || r || b || u) && /* @__PURE__ */ e.jsxs("div", { className: `${K()} -icon-left`, children: [
|
|
228
228
|
ee,
|
|
229
229
|
r,
|
|
230
230
|
W(b, u)
|
package/lib/dialog/Alert.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../buttons/DefaultButton.js";
|
|
4
4
|
import n from "../buttons/PrimaryButton.js";
|
|
5
5
|
import c from "../icons/index.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import s from "./Custom.js";
|
|
8
8
|
const j = (t) => {
|
|
9
9
|
const { onConfirmClick: r, confirmLabel: m = "Confirmar" } = t, i = [
|
package/lib/dialog/Custom.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as e } from "../chunks/jsx-runtime.
|
|
2
|
-
import
|
|
3
|
-
import { B as
|
|
1
|
+
import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { B as a } from "../chunks/index.CjD97zna.js";
|
|
4
4
|
import m from "./base/Footer.js";
|
|
5
5
|
import c from "../icons/index.js";
|
|
6
6
|
import u from "../buttons/button_container/index.js";
|
|
7
7
|
import "../buttons/DefaultButton.js";
|
|
8
|
-
|
|
8
|
+
import '../assets/button.css';/* empty css */
|
|
9
9
|
import { v as d } from "../chunks/v1.CDXKvGzE.js";
|
|
10
10
|
const x = (t, i) => i || (t ? /* @__PURE__ */ e.jsx(c, { name: t, color: "#000", size: 64 }) : null), C = (t) => {
|
|
11
11
|
const { width: i = "35%", height: n = "auto", iconName: o = null, open: r } = t;
|
|
12
12
|
return /* @__PURE__ */ e.jsxs(
|
|
13
|
-
|
|
13
|
+
a,
|
|
14
14
|
{
|
|
15
15
|
open: r,
|
|
16
16
|
width: i,
|
|
@@ -23,7 +23,7 @@ const x = (t, i) => i || (t ? /* @__PURE__ */ e.jsx(c, { name: t, color: "#000",
|
|
|
23
23
|
t.title && /* @__PURE__ */ e.jsx("div", { className: "title", children: t.title }),
|
|
24
24
|
/* @__PURE__ */ e.jsx("div", { className: "text", children: t.text })
|
|
25
25
|
] }),
|
|
26
|
-
t.buttons && t.buttons.length > 0 && /* @__PURE__ */ e.jsx(m, { ...t, children: /* @__PURE__ */ e.jsx(u, { position: "right", children: t.buttons.map((l) =>
|
|
26
|
+
t.buttons && t.buttons.length > 0 && /* @__PURE__ */ e.jsx(m, { ...t, children: /* @__PURE__ */ e.jsx(u, { position: "right", children: t.buttons.map((l) => s.cloneElement(l, { key: `button-${d()}` })) }) })
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
);
|
package/lib/dialog/Error.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../buttons/DefaultButton.js";
|
|
4
4
|
import n from "../buttons/PrimaryButton.js";
|
|
5
5
|
import c from "../icons/index.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import s from "./Custom.js";
|
|
8
8
|
const b = (r) => {
|
|
9
9
|
const { onConfirmClick: t, confirmLabel: m = "Confirmar" } = r, i = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../buttons/DefaultButton.js";
|
|
4
4
|
import n from "../buttons/PrimaryButton.js";
|
|
5
5
|
import c from "../icons/index.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import s from "./Custom.js";
|
|
8
8
|
const b = (r) => {
|
|
9
9
|
const { onConfirmClick: t, confirmLabel: m = "Confirmar" } = r, i = [
|
package/lib/dialog/Question.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as t } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { useLayoutEffect as d, useEffect as b } from "react";
|
|
3
3
|
import p from "../buttons/Button.js";
|
|
4
4
|
import x from "../buttons/DangerButton.js";
|
|
5
5
|
import C from "../icons/index.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import j from "./Custom.js";
|
|
8
8
|
const h = (s) => {
|
|
9
9
|
const {
|
package/lib/dialog/Warning.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as o } from "../chunks/jsx-runtime.
|
|
1
|
+
import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../buttons/DefaultButton.js";
|
|
4
4
|
import m from "../buttons/PrimaryButton.js";
|
|
5
5
|
import s from "../icons/index.js";
|
|
6
|
-
|
|
6
|
+
import '../assets/button.css';/* empty css */
|
|
7
7
|
import a from "./Custom.js";
|
|
8
8
|
const j = (r) => {
|
|
9
9
|
const { onConfirmClick: t, confirmLabel: n = "Confirmar" } = r, i = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as t } from "../../chunks/jsx-runtime.
|
|
1
|
+
import { j as t } from "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import { Suspense as n } from "react";
|
|
3
|
-
const d = ({ children: o, styleForContent: s, className: e = "" }) => /* @__PURE__ */ t.jsx(n, { children: /* @__PURE__ */ t.jsx("div", { id: "modal-dialog-content", className: `dialog-content ${e}`, style: s, children: o }) });
|
|
3
|
+
import '../../assets/Content.css';const d = ({ children: o, styleForContent: s, className: e = "" }) => /* @__PURE__ */ t.jsx(n, { children: /* @__PURE__ */ t.jsx("div", { id: "modal-dialog-content", className: `dialog-content ${e}`, style: s, children: o }) });
|
|
4
4
|
export {
|
|
5
5
|
d as default
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../chunks/jsx-runtime.
|
|
1
|
+
import "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../icons/index.js";
|
|
4
|
-
import { H as i } from "../../chunks/index.
|
|
4
|
+
import { H as i } from "../../chunks/index.CjD97zna.js";
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
package/lib/dialog/base/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../chunks/jsx-runtime.
|
|
1
|
+
import "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
import { D as a, B as e } from "../../chunks/index.
|
|
4
|
+
import { D as a, B as e } from "../../chunks/index.CjD97zna.js";
|
|
5
5
|
import "./Content.js";
|
|
6
6
|
export {
|
|
7
7
|
a as DialogContext,
|
package/lib/dialog/form/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../chunks/jsx-runtime.
|
|
1
|
+
import "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { a as F, F as d } from "../../chunks/index.
|
|
3
|
+
import { a as F, F as d } from "../../chunks/index.CjD97zna.js";
|
|
4
4
|
import "../../buttons/button_container/index.js";
|
|
5
5
|
import "../../buttons/DefaultButton.js";
|
|
6
6
|
import "../../icons/index.js";
|
|
7
|
-
|
|
7
|
+
import '../../assets/button.css';/* empty css */
|
|
8
8
|
import "../base/Content.js";
|
|
9
9
|
import "../base/Footer.js";
|
|
10
10
|
import "../../spinner/index.js";
|
package/lib/dialog/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../chunks/jsx-runtime.
|
|
1
|
+
import "../../chunks/jsx-runtime.gtoSnx-V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "lodash";
|
|
4
|
-
import "../../chunks/index.
|
|
5
|
-
import { b as p, W as s, a as m, b as d, u as n } from "../../chunks/index.
|
|
4
|
+
import "../../chunks/index.CjD97zna.js";
|
|
5
|
+
import { b as p, W as s, a as m, b as d, u as n } from "../../chunks/index.iA-fVKOP.js";
|
|
6
6
|
import { useWizard as x } from "./useWizard.js";
|
|
7
7
|
export {
|
|
8
8
|
p as Container,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i, { useState as f } from "react";
|
|
2
|
-
const
|
|
2
|
+
const l = () => {
|
|
3
3
|
const [s, p] = f(0), [t, S] = i.useState(1), o = t < s, n = t > 1, e = (a) => {
|
|
4
4
|
S((u) => u + a);
|
|
5
5
|
}, r = () => {
|
|
@@ -28,5 +28,5 @@ const h = () => {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
l as useWizard
|
|
32
32
|
};
|