@mdtl/uikit 0.0.69 → 0.0.71
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,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { AddingButtonRowTemplateProps } from './interfaces/interfaces';
|
|
3
|
-
declare const AddingButtonRowTemplate: <TData>({ text, onClick, colSpan, infoTooltip, overflowShadow, isNewRowCreated, setIsNewRowCreated, dataUpdateCallback, columns, tableData, setEditedRow, onStartRowEdit, itemActions, }: AddingButtonRowTemplateProps<TData>) => React.JSX.Element;
|
|
3
|
+
export declare const AddingButtonRowTemplate: <TData>({ text, onClick, colSpan, infoTooltip, overflowShadow, isNewRowCreated, setIsNewRowCreated, dataUpdateCallback, columns, tableData, setEditedRow, onStartRowEdit, itemActions, }: AddingButtonRowTemplateProps<TData>) => React.JSX.Element;
|
|
4
4
|
export default AddingButtonRowTemplate;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export { Snackbar } from './components/Snackbar/Snackbar';
|
|
|
20
20
|
export { Stepper } from './components/Stepper/Stepper';
|
|
21
21
|
export { BasicTable } from './components/Table/BasicTable';
|
|
22
22
|
export * from './components/Table/interfaces/interfaces';
|
|
23
|
+
export * from './components/Table/controls/constants';
|
|
24
|
+
export { AddingButtonRowTemplate } from './components/Table/AddingRowTemplate';
|
|
23
25
|
export { AutocompleteSelect } from './components/AutocompleteSelect/AutocompleteSelect';
|
|
24
26
|
export type { Option, IAutocompleteSelectProps } from './components/AutocompleteSelect/interfaces';
|
|
25
27
|
export * from './components/AutocompleteSelect/utils';
|
package/dist/uikit.js
CHANGED
|
@@ -23467,7 +23467,7 @@ function as(e, t) {
|
|
|
23467
23467
|
}
|
|
23468
23468
|
return null;
|
|
23469
23469
|
}
|
|
23470
|
-
const Mn = "itemActions", pn = "dragIcon", Zo = "multiselect", jo = "expandIcon", hC = 750;
|
|
23470
|
+
const Mn = "itemActions", pn = "dragIcon", Zo = "multiselect", jo = "expandIcon", I2 = "placeholderId", hC = 750;
|
|
23471
23471
|
function mC(e) {
|
|
23472
23472
|
return we("MuiFab", e);
|
|
23473
23473
|
}
|
|
@@ -26414,7 +26414,7 @@ const Ju = wt.memo(function(t) {
|
|
|
26414
26414
|
className: "ellipsis w100",
|
|
26415
26415
|
onClick: l,
|
|
26416
26416
|
sx: {
|
|
26417
|
-
cursor: t.onCellClick ? "pointer" : "
|
|
26417
|
+
cursor: t.onCellClick ? "pointer" : "inherit",
|
|
26418
26418
|
"& .MuiTypography-root": {
|
|
26419
26419
|
textOverflow: "ellipsis",
|
|
26420
26420
|
overflow: "hidden",
|
|
@@ -27369,7 +27369,7 @@ function ES() {
|
|
|
27369
27369
|
return qn;
|
|
27370
27370
|
}
|
|
27371
27371
|
var OS = ES();
|
|
27372
|
-
const RS = /* @__PURE__ */ rd(OS),
|
|
27372
|
+
const RS = /* @__PURE__ */ rd(OS), M2 = wt.memo(function({
|
|
27373
27373
|
columns: t,
|
|
27374
27374
|
keyProperty: n,
|
|
27375
27375
|
addingRowTemplate: r,
|
|
@@ -34185,10 +34185,10 @@ const GT = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
34185
34185
|
] });
|
|
34186
34186
|
};
|
|
34187
34187
|
Lt(n2);
|
|
34188
|
-
const
|
|
34188
|
+
const $2 = (e, t = !1) => e != null ? t ? e.map((n) => n.value) : e.value : t ? [] : null, N2 = (e, t = !1) => e != null ? t ? Array.isArray(e) ? e.map((r) => ({
|
|
34189
34189
|
label: String(r),
|
|
34190
34190
|
value: r
|
|
34191
|
-
})) : [] : { label: String(e), value: e } : t ? [] : null,
|
|
34191
|
+
})) : [] : { label: String(e), value: e } : t ? [] : null, D2 = (e, t) => {
|
|
34192
34192
|
const n = e.filters?.[0]?.values[0];
|
|
34193
34193
|
return {
|
|
34194
34194
|
currentPage: 1,
|
|
@@ -34200,18 +34200,25 @@ const M2 = (e, t = !1) => e != null ? t ? e.map((n) => n.value) : e.value : t ?
|
|
|
34200
34200
|
};
|
|
34201
34201
|
};
|
|
34202
34202
|
export {
|
|
34203
|
+
DC as AddingButtonRowTemplate,
|
|
34203
34204
|
n2 as AutocompleteSelect,
|
|
34204
34205
|
Xy as BaseDialog,
|
|
34205
|
-
|
|
34206
|
+
M2 as BasicTable,
|
|
34206
34207
|
x2 as CollapsibleSection,
|
|
34207
34208
|
Ti as ConstantType,
|
|
34208
34209
|
O2 as CustomSwitch,
|
|
34210
|
+
pn as DRAG_ICON_COLUMN_ID,
|
|
34209
34211
|
Y0 as DefaultHeaderTemplate,
|
|
34212
|
+
jo as EXPAND_ICON_COLUMN_ID,
|
|
34210
34213
|
E2 as ExpandableText,
|
|
34211
34214
|
S2 as FooterButtons,
|
|
34215
|
+
Mn as ITEM_ACTIONS_COLUMN_ID,
|
|
34212
34216
|
w2 as LinkRouter,
|
|
34213
34217
|
R2 as LoadingIndicator,
|
|
34218
|
+
hC as MOUSE_ENTER_TIME_BEFORE_HINT_ACTIVATED,
|
|
34219
|
+
Zo as MULTISELECT_COLUMN_ID,
|
|
34214
34220
|
n1 as Menu,
|
|
34221
|
+
I2 as PLACEHOLDER_ID,
|
|
34215
34222
|
U0 as Sections,
|
|
34216
34223
|
k2 as Snackbar,
|
|
34217
34224
|
T2 as StackPanel,
|
|
@@ -34223,9 +34230,9 @@ export {
|
|
|
34223
34230
|
Fi as ViewMode,
|
|
34224
34231
|
v2 as apsTheme,
|
|
34225
34232
|
o2 as calculateRightIconsWidth,
|
|
34226
|
-
|
|
34227
|
-
|
|
34228
|
-
|
|
34233
|
+
D2 as constructAutocompleteResponseWithDefinedData,
|
|
34234
|
+
$2 as convertAutocompleteValueToFormValueUsingLabel,
|
|
34235
|
+
N2 as convertFormValueToAutocompleteValueUsingLabel,
|
|
34229
34236
|
mn as generateGuid,
|
|
34230
34237
|
e2 as getIconsGapSize,
|
|
34231
34238
|
t2 as getTextRightPadding
|