spotlibs-components 0.1.22 → 0.1.24
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/dist/index.d.mts +43 -1
- package/dist/index.mjs +137 -98
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.mjs +5 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/exception.d.ts +54 -9
- package/src/utils/exception.js +13 -0
- package/src/utils/index.js +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -544,6 +544,48 @@ interface BaseChipProps {
|
|
|
544
544
|
|
|
545
545
|
declare function BaseChip(props: BaseChipProps): React.ReactElement;
|
|
546
546
|
|
|
547
|
+
interface BaseWatermarkProps {
|
|
548
|
+
/** Watermark text to display */
|
|
549
|
+
text?: string;
|
|
550
|
+
/** Show/hide watermark. Default: true */
|
|
551
|
+
show?: boolean;
|
|
552
|
+
/** Text color from DerivedColor token. Default: DerivedColor.color_text_default */
|
|
553
|
+
textColor?: string;
|
|
554
|
+
/** Typography variant from VariantStyles (fontSize + fontWeight). Default: "body1_regular" */
|
|
555
|
+
textVariant?: string;
|
|
556
|
+
/** Font family. Default: "BRIDigitalText, sans-serif" */
|
|
557
|
+
fontFamily?: string;
|
|
558
|
+
/** Text opacity (0-1). Default: 0.15 */
|
|
559
|
+
opacity?: number;
|
|
560
|
+
/** Spacing between repetitions (from SpacingToken). Default: SpacingToken.spacing5 */
|
|
561
|
+
gutter?: number;
|
|
562
|
+
/** Rotation angle in degrees. Default: -30 */
|
|
563
|
+
rotate?: number;
|
|
564
|
+
/** CSS z-index of watermark overlay. Default: 10 */
|
|
565
|
+
zIndex?: number;
|
|
566
|
+
/** Max characters before truncation. Default: 40 */
|
|
567
|
+
maxChars?: number;
|
|
568
|
+
/** Custom styles for wrapper element */
|
|
569
|
+
wrapperStyle?: React.CSSProperties;
|
|
570
|
+
/** HTML tag for wrapper element. Default: "div" */
|
|
571
|
+
wrapperElement?: keyof JSX.IntrinsicElements;
|
|
572
|
+
/** Content to render with watermark overlay */
|
|
573
|
+
children?: React.ReactNode;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* BaseWatermark — watermark overlay component.
|
|
578
|
+
*
|
|
579
|
+
* All styling from spotlibs design tokens:
|
|
580
|
+
* - Typography: VariantStyles (fontSize, fontWeight)
|
|
581
|
+
* - Color: DerivedColor tokens
|
|
582
|
+
* - Spacing: SpacingToken
|
|
583
|
+
* - Font: BRIDigitalText
|
|
584
|
+
*
|
|
585
|
+
* Renders staggered repeating pattern via canvas (not grid-aligned).
|
|
586
|
+
*/
|
|
587
|
+
declare function BaseWatermark(props: BaseWatermarkProps): React.ReactElement;
|
|
588
|
+
|
|
547
589
|
interface BaseCardProps {
|
|
548
590
|
/**
|
|
549
591
|
* Card variant type. Supports typography suffix: "with-header.header1_bold"
|
|
@@ -1497,4 +1539,4 @@ interface SubFormBuilderProps<T = any> {
|
|
|
1497
1539
|
declare function FormBuilder<T = any>(props: FormBuilderProps<T>): React.ReactElement;
|
|
1498
1540
|
declare function SubFormBuilder<T = any>(props: SubFormBuilderProps<T>): React.ReactElement;
|
|
1499
1541
|
|
|
1500
|
-
export { BaseAlert, BaseButton, BaseCard, BaseCheckbox, BaseChip, BaseDatatable, BaseDatePicker, BaseDropdown, BaseDropzone, BaseModalAlert, BaseModalAlertDialog, BaseModalAlertProvider, BaseModalLoading, BaseModalLoadingDialog, BaseModalLoadingProvider, BaseModalOTP, BaseModalPopup, BaseModalStepper, BaseRadioButton, BaseSkeleton, BaseSnackbar, BaseStepper, BaseSwitch, BaseTextArea, BaseTextField, BaseTypography, CONTENT_SPACING_TOKENS, CapsLockOn, ContentSpacing, DatatablePagination, DerivedColor, DownloadIconLarge, FORM_TYPE, FormBuilder, IconBiometricScan, IconDocumentAdd, IconEdit, IconFile, IconGradingRounded, IconListDocument, IconMoney, IconProgress, IconReset, IconSave, IconSaveOutlined, IconSendWhite, IconSendWhiteFull, IconUpload, IconUserScan, IconVerification, MoneyIcon, NumberedPagination, PrimitiveColor, Radius, RadiusToken, ServerSidePaginationActions, Shadow, ShadowToken, Spacing, SpacingToken, SubFormBuilder, TextFieldUpload, UsersIcon, VariantStyles };
|
|
1542
|
+
export { BaseAlert, BaseButton, BaseCard, BaseCheckbox, BaseChip, BaseDatatable, BaseDatePicker, BaseDropdown, BaseDropzone, BaseModalAlert, BaseModalAlertDialog, BaseModalAlertProvider, BaseModalLoading, BaseModalLoadingDialog, BaseModalLoadingProvider, BaseModalOTP, BaseModalPopup, BaseModalStepper, BaseRadioButton, BaseSkeleton, BaseSnackbar, BaseStepper, BaseSwitch, BaseTextArea, BaseTextField, BaseTypography, BaseWatermark, CONTENT_SPACING_TOKENS, CapsLockOn, ContentSpacing, DatatablePagination, DerivedColor, DownloadIconLarge, FORM_TYPE, FormBuilder, IconBiometricScan, IconDocumentAdd, IconEdit, IconFile, IconGradingRounded, IconListDocument, IconMoney, IconProgress, IconReset, IconSave, IconSaveOutlined, IconSendWhite, IconSendWhiteFull, IconUpload, IconUserScan, IconVerification, MoneyIcon, NumberedPagination, PrimitiveColor, Radius, RadiusToken, ServerSidePaginationActions, Shadow, ShadowToken, Spacing, SpacingToken, SubFormBuilder, TextFieldUpload, UsersIcon, VariantStyles };
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { DerivedColor, PrimitiveColor, SpacingToken } from './chunk-G2BF4U5I.mjs
|
|
|
6
6
|
export { AppHeader, AppSidebar, Backdrop, CONTENT_SPACING_TOKENS, ContentSpacing, DerivedColor, LayoutShell, PrimitiveColor, SidebarProvider, spacing_default as Spacing, SpacingToken, parseAccessMenu, useSidebar } from './chunk-G2BF4U5I.mjs';
|
|
7
7
|
import { __spreadValues, __spreadProps, __objRest } from './chunk-YOSPWY5K.mjs';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import
|
|
9
|
+
import React2, { useMemo, useState, useCallback, isValidElement, createElement, useEffect, useRef, Fragment as Fragment$1, useId } from 'react';
|
|
10
10
|
import AlertRaw from '@mui/material/Alert';
|
|
11
11
|
import AlertTitleRaw from '@mui/material/AlertTitle';
|
|
12
12
|
import BoxRaw from '@mui/material/Box';
|
|
@@ -73,6 +73,7 @@ import UploadFileRaw from '@mui/icons-material/UploadFile';
|
|
|
73
73
|
import DialogRaw from '@mui/material/Dialog';
|
|
74
74
|
import DialogContentRaw from '@mui/material/DialogContent';
|
|
75
75
|
import DialogActionsRaw from '@mui/material/DialogActions';
|
|
76
|
+
import { Watermark } from '@hirohe/react-watermark';
|
|
76
77
|
import DialogTitleRaw from '@mui/material/DialogTitle';
|
|
77
78
|
import StepContentRaw from '@mui/material/StepContent';
|
|
78
79
|
import InfoIconRaw from '@mui/icons-material/Info';
|
|
@@ -1403,71 +1404,137 @@ var BaseChip = (_a130) => {
|
|
|
1403
1404
|
}, rest)
|
|
1404
1405
|
);
|
|
1405
1406
|
};
|
|
1406
|
-
var
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1407
|
+
var WATERMARK_DEFAULTS = {
|
|
1408
|
+
/** Typography variant for watermark text */
|
|
1409
|
+
textVariant: "body1_regular",
|
|
1410
|
+
/** Text color from DerivedColor */
|
|
1411
|
+
textColor: DerivedColor.color_text_default,
|
|
1412
|
+
/** Font family — BRIDigitalText brand font */
|
|
1413
|
+
fontFamily: "BRIDigitalText, sans-serif",
|
|
1414
|
+
/** Opacity — subtle enough to not distract */
|
|
1415
|
+
opacity: 0.35,
|
|
1416
|
+
/** Spacing between watermark repetitions (from SpacingToken) */
|
|
1417
|
+
gutter: parseInt(SpacingToken.spacing5, 10) || 20,
|
|
1418
|
+
/** Rotation angle */
|
|
1419
|
+
rotate: -30,
|
|
1420
|
+
/** Z-index for overlay */
|
|
1421
|
+
zIndex: 10,
|
|
1422
|
+
/** Max characters before truncation */
|
|
1423
|
+
maxChars: 40,
|
|
1424
|
+
/** Offset ratio for staggered pattern (0.33 = 1/3 shift per row) */
|
|
1425
|
+
staggerOffset: 0.33,
|
|
1426
|
+
/** Border radius from design token */
|
|
1427
|
+
borderRadius: Radius.radius_2
|
|
1415
1428
|
};
|
|
1416
|
-
function
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
if (multiline) {
|
|
1423
|
-
var texts = text.split("\n").map(function(textByLine, index) {
|
|
1424
|
-
return "<tspan x='50%' dy='".concat(index === 0 ? "0" : lineHeight, "'>").concat(textByLine, "</tspan>");
|
|
1425
|
-
});
|
|
1426
|
-
textContent = texts.join("");
|
|
1427
|
-
}
|
|
1428
|
-
var textEl = "<text fill='".concat(textColor, "' x='50%' y='50%' font-size='").concat(textSize, "' text-anchor='middle' font-family='").concat(fontFamily, "' transform='rotate(").concat(rotate, " ").concat(center, " ").concat(center, ")' opacity='").concat(opacity, "'>").concat(textContent, "</text>");
|
|
1429
|
-
return "<svg width='".concat(size, "' height='").concat(size / 1.5, "' xmlns='http://www.w3.org/2000/svg'>").concat(textEl, "</svg>");
|
|
1429
|
+
function getTypographyStyle(variant) {
|
|
1430
|
+
const style = VariantStyles[variant] || VariantStyles[WATERMARK_DEFAULTS.textVariant];
|
|
1431
|
+
return {
|
|
1432
|
+
fontSize: parseInt(style.fontSize, 10) || 14,
|
|
1433
|
+
fontWeight: style.fontWeight || 400
|
|
1434
|
+
};
|
|
1430
1435
|
}
|
|
1431
|
-
function
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
span.style.fontSize = fontSize + "px";
|
|
1435
|
-
span.style.fontFamily = fontFamily;
|
|
1436
|
-
span.style.visibility = "hidden";
|
|
1437
|
-
document.body.appendChild(span);
|
|
1438
|
-
var rect = span.getBoundingClientRect();
|
|
1439
|
-
document.body.removeChild(span);
|
|
1440
|
-
return rect;
|
|
1436
|
+
function truncateText(text, maxChars) {
|
|
1437
|
+
if (!text) return "";
|
|
1438
|
+
return text.length > maxChars ? text.slice(0, maxChars) + "..." : text;
|
|
1441
1439
|
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
var _o = useState(""), backgroundImage = _o[0], setBackgroundImage = _o[1];
|
|
1448
|
-
useEffect(function() {
|
|
1449
|
-
var svg = generateSvg({ text, textColor, textSize, fontFamily, opacity, gutter, rotate, multiline, lineHeight });
|
|
1450
|
-
var convertedSvg = encodeURIComponent(svg).replace(/'/g, "%27").replace(/"/g, "%22");
|
|
1451
|
-
setBackgroundImage('url("data:image/svg+xml,'.concat(convertedSvg, '")'));
|
|
1452
|
-
}, [show3, text, textColor, textSize, opacity, gutter, rotate]);
|
|
1453
|
-
var watermarkStyle = {
|
|
1454
|
-
pointerEvents: "none",
|
|
1455
|
-
position: "absolute",
|
|
1456
|
-
top: 0,
|
|
1457
|
-
bottom: 0,
|
|
1458
|
-
left: 0,
|
|
1459
|
-
right: 0,
|
|
1460
|
-
content: "",
|
|
1461
|
-
backgroundRepeat: "repeat",
|
|
1462
|
-
zIndex,
|
|
1463
|
-
backgroundImage
|
|
1440
|
+
function getRotatedBounds(width, height, angleDeg) {
|
|
1441
|
+
const radians = Math.abs(angleDeg * Math.PI / 180);
|
|
1442
|
+
return {
|
|
1443
|
+
width: width * Math.cos(radians) + height * Math.sin(radians),
|
|
1444
|
+
height: width * Math.sin(radians) + height * Math.cos(radians)
|
|
1464
1445
|
};
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1446
|
+
}
|
|
1447
|
+
function generateWatermarkImage({ displayText, fontSize, fontWeight, fontFamily, textColor, opacity, rotate, gutter, staggerOffset }) {
|
|
1448
|
+
const canvas = document.createElement("canvas");
|
|
1449
|
+
const ctx = canvas.getContext("2d");
|
|
1450
|
+
if (!ctx) return null;
|
|
1451
|
+
const font = `${fontWeight} ${fontSize}px ${fontFamily}`;
|
|
1452
|
+
ctx.font = font;
|
|
1453
|
+
const textWidth = ctx.measureText(displayText).width;
|
|
1454
|
+
const textHeight = fontSize * 1.2;
|
|
1455
|
+
const bounds = getRotatedBounds(textWidth, textHeight, rotate);
|
|
1456
|
+
const cellWidth = Math.ceil(bounds.width + gutter * 2);
|
|
1457
|
+
const cellHeight = Math.ceil(bounds.height + gutter * 2);
|
|
1458
|
+
canvas.width = cellWidth;
|
|
1459
|
+
canvas.height = cellHeight * 2;
|
|
1460
|
+
drawText(ctx, { displayText, font, textColor, opacity, rotate, x: cellWidth / 2, y: cellHeight / 2 });
|
|
1461
|
+
const offsetX = (cellWidth / 2 + cellWidth * staggerOffset) % cellWidth;
|
|
1462
|
+
drawText(ctx, { displayText, font, textColor, opacity, rotate, x: offsetX, y: cellHeight + cellHeight / 2 });
|
|
1463
|
+
return canvas.toDataURL("image/png");
|
|
1464
|
+
}
|
|
1465
|
+
function drawText(ctx, { displayText, font, textColor, opacity, rotate, x, y }) {
|
|
1466
|
+
ctx.save();
|
|
1467
|
+
ctx.translate(x, y);
|
|
1468
|
+
ctx.rotate(rotate * Math.PI / 180);
|
|
1469
|
+
ctx.font = font;
|
|
1470
|
+
ctx.fillStyle = textColor;
|
|
1471
|
+
ctx.globalAlpha = opacity;
|
|
1472
|
+
ctx.textAlign = "center";
|
|
1473
|
+
ctx.textBaseline = "middle";
|
|
1474
|
+
ctx.fillText(displayText, 0, 0);
|
|
1475
|
+
ctx.restore();
|
|
1476
|
+
}
|
|
1477
|
+
var BaseWatermark = ({
|
|
1478
|
+
text = "",
|
|
1479
|
+
show: show3 = true,
|
|
1480
|
+
textColor = WATERMARK_DEFAULTS.textColor,
|
|
1481
|
+
textVariant = WATERMARK_DEFAULTS.textVariant,
|
|
1482
|
+
fontFamily = WATERMARK_DEFAULTS.fontFamily,
|
|
1483
|
+
opacity = WATERMARK_DEFAULTS.opacity,
|
|
1484
|
+
gutter = WATERMARK_DEFAULTS.gutter,
|
|
1485
|
+
rotate = WATERMARK_DEFAULTS.rotate,
|
|
1486
|
+
zIndex = WATERMARK_DEFAULTS.zIndex,
|
|
1487
|
+
maxChars = WATERMARK_DEFAULTS.maxChars,
|
|
1488
|
+
wrapperStyle,
|
|
1489
|
+
wrapperElement: WrapperElement = "div",
|
|
1490
|
+
children
|
|
1491
|
+
}) => {
|
|
1492
|
+
const [bgUrl, setBgUrl] = useState(null);
|
|
1493
|
+
useEffect(() => {
|
|
1494
|
+
if (typeof window === "undefined" || !text || !show3) {
|
|
1495
|
+
setBgUrl(null);
|
|
1496
|
+
return;
|
|
1497
|
+
}
|
|
1498
|
+
const { fontSize, fontWeight } = getTypographyStyle(textVariant);
|
|
1499
|
+
const displayText = truncateText(text, maxChars);
|
|
1500
|
+
const url = generateWatermarkImage({
|
|
1501
|
+
displayText,
|
|
1502
|
+
fontSize,
|
|
1503
|
+
fontWeight,
|
|
1504
|
+
fontFamily,
|
|
1505
|
+
textColor,
|
|
1506
|
+
opacity,
|
|
1507
|
+
rotate,
|
|
1508
|
+
gutter,
|
|
1509
|
+
staggerOffset: WATERMARK_DEFAULTS.staggerOffset
|
|
1510
|
+
});
|
|
1511
|
+
setBgUrl(url);
|
|
1512
|
+
}, [text, show3, textColor, textVariant, fontFamily, opacity, gutter, rotate, maxChars]);
|
|
1513
|
+
return /* @__PURE__ */ jsxs(
|
|
1514
|
+
WrapperElement,
|
|
1515
|
+
{
|
|
1516
|
+
style: __spreadValues({
|
|
1517
|
+
position: "relative",
|
|
1518
|
+
overflow: "hidden"
|
|
1519
|
+
}, wrapperStyle),
|
|
1520
|
+
children: [
|
|
1521
|
+
children,
|
|
1522
|
+
show3 && bgUrl && /* @__PURE__ */ jsx(
|
|
1523
|
+
"div",
|
|
1524
|
+
{
|
|
1525
|
+
"aria-hidden": "true",
|
|
1526
|
+
style: {
|
|
1527
|
+
position: "absolute",
|
|
1528
|
+
inset: 0,
|
|
1529
|
+
backgroundImage: `url(${bgUrl})`,
|
|
1530
|
+
backgroundRepeat: "repeat",
|
|
1531
|
+
pointerEvents: "none",
|
|
1532
|
+
zIndex
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
)
|
|
1536
|
+
]
|
|
1537
|
+
}
|
|
1471
1538
|
);
|
|
1472
1539
|
};
|
|
1473
1540
|
var _a14, _b14;
|
|
@@ -1620,14 +1687,9 @@ var BaseCard = (_a130) => {
|
|
|
1620
1687
|
backgroundColor: cardBg
|
|
1621
1688
|
},
|
|
1622
1689
|
children: isWatermark && watermarkText ? /* @__PURE__ */ jsx(
|
|
1623
|
-
|
|
1690
|
+
BaseWatermark,
|
|
1624
1691
|
{
|
|
1625
1692
|
text: watermarkText,
|
|
1626
|
-
textColor: "#000000",
|
|
1627
|
-
textSize: 14,
|
|
1628
|
-
opacity: 0.15,
|
|
1629
|
-
gutter: 20,
|
|
1630
|
-
rotate: -30,
|
|
1631
1693
|
wrapperStyle: { minHeight: "100px", position: "relative" },
|
|
1632
1694
|
children
|
|
1633
1695
|
}
|
|
@@ -1649,14 +1711,9 @@ var BaseCard = (_a130) => {
|
|
|
1649
1711
|
}, sx)
|
|
1650
1712
|
}, rest), {
|
|
1651
1713
|
children: isWatermark && watermarkText ? /* @__PURE__ */ jsx(
|
|
1652
|
-
|
|
1714
|
+
BaseWatermark,
|
|
1653
1715
|
{
|
|
1654
1716
|
text: watermarkText,
|
|
1655
|
-
textColor: "#000000",
|
|
1656
|
-
textSize: 14,
|
|
1657
|
-
opacity: 0.15,
|
|
1658
|
-
gutter: 20,
|
|
1659
|
-
rotate: -30,
|
|
1660
1717
|
wrapperStyle: { minHeight: "100px", position: "relative" },
|
|
1661
1718
|
children
|
|
1662
1719
|
}
|
|
@@ -3160,7 +3217,7 @@ BaseDatatable.propTypes = {
|
|
|
3160
3217
|
containerSx: PropTypes3.object,
|
|
3161
3218
|
tableSx: PropTypes3.object
|
|
3162
3219
|
};
|
|
3163
|
-
|
|
3220
|
+
React2.memo(BaseDatatable);
|
|
3164
3221
|
var _a49, _b49;
|
|
3165
3222
|
var TextField = (_b49 = (_a49 = TextFieldRaw) == null ? void 0 : _a49.default) != null ? _b49 : TextFieldRaw;
|
|
3166
3223
|
var _a50, _b50;
|
|
@@ -6611,20 +6668,20 @@ var FormField = ({ item, index, control, resolvedLayout, resolvedLabelWidth, res
|
|
|
6611
6668
|
);
|
|
6612
6669
|
};
|
|
6613
6670
|
var Form = ({ children, sx = {}, methods, onSubmit }) => {
|
|
6614
|
-
return /* @__PURE__ */ jsx(Box25, { component: "form", sx, onSubmit: methods == null ? void 0 : methods.handleSubmit(onSubmit), children:
|
|
6671
|
+
return /* @__PURE__ */ jsx(Box25, { component: "form", sx, onSubmit: methods == null ? void 0 : methods.handleSubmit(onSubmit), children: React2.Children.map(children, (child) => {
|
|
6615
6672
|
var _a130;
|
|
6616
6673
|
if (!child) return null;
|
|
6617
|
-
return ((_a130 = child.props) == null ? void 0 : _a130.name) ?
|
|
6674
|
+
return ((_a130 = child.props) == null ? void 0 : _a130.name) ? React2.createElement(child.type, __spreadProps(__spreadValues({}, child.props), {
|
|
6618
6675
|
control: methods == null ? void 0 : methods.control,
|
|
6619
6676
|
key: child.props.name
|
|
6620
6677
|
})) : child;
|
|
6621
6678
|
}) });
|
|
6622
6679
|
};
|
|
6623
6680
|
var SubForm = ({ children, sx = {}, methods }) => {
|
|
6624
|
-
return /* @__PURE__ */ jsx(Box25, { sx, children:
|
|
6681
|
+
return /* @__PURE__ */ jsx(Box25, { sx, children: React2.Children.map(children, (child) => {
|
|
6625
6682
|
var _a130;
|
|
6626
6683
|
if (!child) return null;
|
|
6627
|
-
return ((_a130 = child.props) == null ? void 0 : _a130.name) ?
|
|
6684
|
+
return ((_a130 = child.props) == null ? void 0 : _a130.name) ? React2.createElement(child.type, __spreadProps(__spreadValues({}, child.props), {
|
|
6628
6685
|
control: methods == null ? void 0 : methods.control,
|
|
6629
6686
|
key: child.props.name
|
|
6630
6687
|
})) : child;
|
|
@@ -6692,25 +6749,7 @@ var SubFormBuilder = ({
|
|
|
6692
6749
|
item.name || `subform-item-${index}`
|
|
6693
6750
|
)) }) });
|
|
6694
6751
|
};
|
|
6695
|
-
/*! Bundled license information:
|
|
6696
|
-
|
|
6697
|
-
@hirohe/react-watermark/build/index.esm.js:
|
|
6698
|
-
(*! *****************************************************************************
|
|
6699
|
-
Copyright (c) Microsoft Corporation.
|
|
6700
|
-
|
|
6701
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6702
|
-
purpose with or without fee is hereby granted.
|
|
6703
|
-
|
|
6704
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
6705
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
6706
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
6707
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
6708
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
6709
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6710
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
6711
|
-
***************************************************************************** *)
|
|
6712
|
-
*/
|
|
6713
6752
|
|
|
6714
|
-
export { BaseAlert, BaseButton, BaseCard, BaseCheckbox, BaseChip, BaseDatatable, BaseDatePicker, BaseDropdown, BaseDropzone, BaseModalAlert, BaseModalAlertDialog, BaseModalAlertProvider, BaseModalLoading, BaseModalLoadingDialog, BaseModalLoadingProvider, BaseModalOTP, BaseModalPopup, BaseModalStepper, BaseRadioButton, BaseSkeleton, BaseSnackbar, BaseStepper, BaseSwitch, BaseTextArea, BaseTextField, BaseTypography, CapsLockOn, DatatablePagination, DownloadIconLarge, FORM_TYPE, FormBuilder, IconBiometricScan, IconDocumentAdd, IconEdit, IconFile, IconGradingRounded, IconListDocument, IconMoney, IconProgress, IconReset, IconSave, IconSaveOutlined, IconSendWhite, IconSendWhiteFull, IconUpload, IconUserScan, IconVerification, MoneyIcon, NumberedPagination, Radius, radius_default as RadiusToken, ServerSidePaginationActions, Shadow, shadow_default as ShadowToken, SubFormBuilder, TextFieldUpload, UsersIcon, VariantStyles };
|
|
6753
|
+
export { BaseAlert, BaseButton, BaseCard, BaseCheckbox, BaseChip, BaseDatatable, BaseDatePicker, BaseDropdown, BaseDropzone, BaseModalAlert, BaseModalAlertDialog, BaseModalAlertProvider, BaseModalLoading, BaseModalLoadingDialog, BaseModalLoadingProvider, BaseModalOTP, BaseModalPopup, BaseModalStepper, BaseRadioButton, BaseSkeleton, BaseSnackbar, BaseStepper, BaseSwitch, BaseTextArea, BaseTextField, BaseTypography, BaseWatermark, CapsLockOn, DatatablePagination, DownloadIconLarge, FORM_TYPE, FormBuilder, IconBiometricScan, IconDocumentAdd, IconEdit, IconFile, IconGradingRounded, IconListDocument, IconMoney, IconProgress, IconReset, IconSave, IconSaveOutlined, IconSendWhite, IconSendWhiteFull, IconUpload, IconUserScan, IconVerification, MoneyIcon, NumberedPagination, Radius, radius_default as RadiusToken, ServerSidePaginationActions, Shadow, shadow_default as ShadowToken, SubFormBuilder, TextFieldUpload, UsersIcon, VariantStyles };
|
|
6715
6754
|
//# sourceMappingURL=index.mjs.map
|
|
6716
6755
|
//# sourceMappingURL=index.mjs.map
|