@app-studio/web 0.8.88 → 0.8.89
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/web.cjs.development.js +102 -67
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +102 -67
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +105 -71
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.object.assign.js'), require('react'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('core-js/modules/es.regexp.to-string.js'), require('app-studio'), require('core-js/modules/es.symbol.description.js'), require('core-js/modules/es.parse-float.js'), require('react-router-dom'), require('contrast'), require('core-js/modules/es.promise.js'), require('core-js/modules/es.array.reduce.js'), require('core-js/modules/es.number.to-fixed.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('core-js/modules/es.parse-int.js'), require('core-js/modules/es.regexp.constructor.js'), require('core-js/modules/es.regexp.exec.js'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('core-js/modules/es.string.ends-with.js'), require('core-js/modules/es.string.match.js'), require('core-js/modules/es.string.search.js'), require('core-js/modules/es.array.flat-map.js'), require('core-js/modules/es.array.unscopables.flat-map.js'), require('core-js/modules/es.string.trim.js')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.object.assign.js', 'react', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/web.dom-collections.iterator.js', 'core-js/modules/es.regexp.to-string.js', 'app-studio', 'core-js/modules/es.symbol.description.js', 'core-js/modules/es.parse-float.js', 'react-router-dom', 'contrast', 'core-js/modules/es.promise.js', 'core-js/modules/es.array.reduce.js', 'core-js/modules/es.number.to-fixed.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'core-js/modules/es.parse-int.js', 'core-js/modules/es.regexp.constructor.js', 'core-js/modules/es.regexp.exec.js', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'core-js/modules/es.string.ends-with.js', 'core-js/modules/es.string.match.js', 'core-js/modules/es.string.search.js', 'core-js/modules/es.array.flat-map.js', 'core-js/modules/es.array.unscopables.flat-map.js', 'core-js/modules/es.string.trim.js'], factory) :
|
|
4
|
-
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, null, null, null, null, global.appStudio, null, null, global.reactRouterDom, global.contrast, null, null, null, null, global.format, null, null, null, global.formik, null, null, null, global.zustand));
|
|
5
|
-
}(this, (function (exports, es_object_assign_js, React, es_array_includes_js, es_array_iterator_js, es_string_includes_js, web_domCollections_iterator_js, es_regexp_toString_js, appStudio, es_symbol_description_js, es_parseFloat_js, reactRouterDom, contrast, es_promise_js, es_array_reduce_js, es_number_toFixed_js, es_string_startsWith_js, format, es_parseInt_js, es_regexp_constructor_js, es_regexp_exec_js, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.object.assign.js'), require('react'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('core-js/modules/es.regexp.to-string.js'), require('app-studio'), require('core-js/modules/es.symbol.description.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/es.string.trim-end.js'), require('react-router-dom'), require('contrast'), require('core-js/modules/es.promise.js'), require('core-js/modules/es.array.reduce.js'), require('core-js/modules/es.number.to-fixed.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('core-js/modules/es.parse-int.js'), require('core-js/modules/es.regexp.constructor.js'), require('core-js/modules/es.regexp.exec.js'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('core-js/modules/es.string.ends-with.js'), require('core-js/modules/es.string.match.js'), require('core-js/modules/es.string.search.js'), require('core-js/modules/es.array.flat-map.js'), require('core-js/modules/es.array.unscopables.flat-map.js'), require('core-js/modules/es.string.trim.js')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.object.assign.js', 'react', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/web.dom-collections.iterator.js', 'core-js/modules/es.regexp.to-string.js', 'app-studio', 'core-js/modules/es.symbol.description.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/es.string.trim-end.js', 'react-router-dom', 'contrast', 'core-js/modules/es.promise.js', 'core-js/modules/es.array.reduce.js', 'core-js/modules/es.number.to-fixed.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'core-js/modules/es.parse-int.js', 'core-js/modules/es.regexp.constructor.js', 'core-js/modules/es.regexp.exec.js', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'core-js/modules/es.string.ends-with.js', 'core-js/modules/es.string.match.js', 'core-js/modules/es.string.search.js', 'core-js/modules/es.array.flat-map.js', 'core-js/modules/es.array.unscopables.flat-map.js', 'core-js/modules/es.string.trim.js'], factory) :
|
|
4
|
+
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, null, null, null, null, global.appStudio, null, null, null, global.reactRouterDom, global.contrast, null, null, null, null, global.format, null, null, null, global.formik, null, null, null, global.zustand));
|
|
5
|
+
}(this, (function (exports, es_object_assign_js, React, es_array_includes_js, es_array_iterator_js, es_string_includes_js, web_domCollections_iterator_js, es_regexp_toString_js, appStudio, es_symbol_description_js, es_parseFloat_js, es_string_trimEnd_js, reactRouterDom, contrast, es_promise_js, es_array_reduce_js, es_number_toFixed_js, es_string_startsWith_js, format, es_parseInt_js, es_regexp_constructor_js, es_regexp_exec_js, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
contrast = contrast && Object.prototype.hasOwnProperty.call(contrast, 'default') ? contrast['default'] : contrast;
|
|
@@ -470,7 +470,8 @@
|
|
|
470
470
|
black: '900'
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
var _excluded$2 = ["
|
|
473
|
+
var _excluded$2 = ["text", "maxLines", "views"],
|
|
474
|
+
_excluded2$1 = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
|
|
474
475
|
/**
|
|
475
476
|
* Renders text content with support for subscript and superscript
|
|
476
477
|
*/
|
|
@@ -496,46 +497,79 @@
|
|
|
496
497
|
}, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
|
|
497
498
|
};
|
|
498
499
|
/**
|
|
499
|
-
* Renders text with truncation after a specified number of lines
|
|
500
|
+
* Renders text with truncation after a specified number of lines (JS calculation)
|
|
500
501
|
*/
|
|
501
502
|
var TruncateText = _ref2 => {
|
|
502
503
|
var {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
504
|
+
text,
|
|
505
|
+
maxLines = 1,
|
|
506
|
+
views // Pass down other HTML attributes
|
|
507
|
+
} = _ref2,
|
|
508
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded$2);
|
|
507
509
|
var containerRef = React.useRef(null);
|
|
508
|
-
var [
|
|
510
|
+
var [truncatedText, setTruncatedText] = React.useState(text);
|
|
511
|
+
var [isTruncated, setIsTruncated] = React.useState(false);
|
|
509
512
|
React.useEffect(() => {
|
|
510
|
-
var
|
|
511
|
-
if (!
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
513
|
+
var node = containerRef.current;
|
|
514
|
+
if (!node || !text || maxLines <= 0) {
|
|
515
|
+
setTruncatedText(text != null ? text : '');
|
|
516
|
+
setIsTruncated(false);
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
var {
|
|
520
|
+
overflow,
|
|
521
|
+
height,
|
|
522
|
+
maxHeight,
|
|
523
|
+
lineHeight
|
|
524
|
+
} = node.style;
|
|
525
|
+
node.style.overflow = 'visible';
|
|
526
|
+
node.style.height = 'auto';
|
|
527
|
+
node.style.maxHeight = 'none';
|
|
528
|
+
node.innerText = text[0] || 'M';
|
|
529
|
+
var singleLine = node.offsetHeight;
|
|
530
|
+
if (!singleLine) {
|
|
531
|
+
var cs = getComputedStyle(node);
|
|
532
|
+
singleLine = cs.lineHeight !== 'normal' ? parseFloat(cs.lineHeight) : parseFloat(cs.fontSize || '16') * 1.2;
|
|
533
|
+
}
|
|
534
|
+
var limit = singleLine * maxLines;
|
|
535
|
+
node.innerText = text;
|
|
536
|
+
if (node.offsetHeight <= limit) {
|
|
537
|
+
setTruncatedText(text);
|
|
538
|
+
setIsTruncated(false);
|
|
539
|
+
restore(node);
|
|
540
|
+
return;
|
|
541
|
+
}
|
|
542
|
+
var lo = 0;
|
|
543
|
+
var hi = text.length;
|
|
544
|
+
var fit = 0;
|
|
545
|
+
while (lo <= hi) {
|
|
546
|
+
var mid = Math.floor((lo + hi) / 2);
|
|
547
|
+
node.innerText = text.slice(0, mid);
|
|
548
|
+
if (node.offsetHeight <= limit) {
|
|
549
|
+
fit = mid;
|
|
550
|
+
lo = mid + 1;
|
|
551
|
+
} else {
|
|
552
|
+
hi = mid - 1;
|
|
528
553
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
554
|
+
}
|
|
555
|
+
var finalText = fit < text.length ? text.slice(0, text.length > fit + 3 ? fit - 3 : fit).trimEnd() + '…' : text;
|
|
556
|
+
setTruncatedText(finalText);
|
|
557
|
+
setIsTruncated(fit < text.length);
|
|
558
|
+
restore(node);
|
|
559
|
+
function restore(n) {
|
|
560
|
+
n.style.overflow = overflow;
|
|
561
|
+
n.style.height = height;
|
|
562
|
+
n.style.maxHeight = maxHeight;
|
|
563
|
+
n.style.lineHeight = lineHeight;
|
|
564
|
+
}
|
|
532
565
|
}, [text, maxLines]);
|
|
533
|
-
var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
|
|
534
566
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
535
567
|
ref: containerRef,
|
|
536
|
-
overflow: "hidden"
|
|
537
|
-
|
|
538
|
-
|
|
568
|
+
overflow: "hidden" // Crucial for final display state
|
|
569
|
+
}, views == null ? void 0 : views.truncateText, rest, {
|
|
570
|
+
// Add title attribute for accessibility/hover to see full text
|
|
571
|
+
title: isTruncated ? text : undefined
|
|
572
|
+
}), truncatedText);
|
|
539
573
|
};
|
|
540
574
|
/**
|
|
541
575
|
* Main Text component that renders text with various styles and states
|
|
@@ -554,7 +588,7 @@
|
|
|
554
588
|
size = 'md',
|
|
555
589
|
views
|
|
556
590
|
} = _ref3,
|
|
557
|
-
props = _objectWithoutPropertiesLoose(_ref3,
|
|
591
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
558
592
|
// Apply heading styles if a heading is specified
|
|
559
593
|
var headingStyles = heading ? HeadingSizes[heading] : {};
|
|
560
594
|
// For sub/sup text, use inline display
|
|
@@ -598,7 +632,7 @@
|
|
|
598
632
|
var Text = TextComponent;
|
|
599
633
|
|
|
600
634
|
var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
601
|
-
_excluded2$
|
|
635
|
+
_excluded2$2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
602
636
|
_excluded3$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
603
637
|
_excluded4$1 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
604
638
|
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
@@ -712,7 +746,7 @@
|
|
|
712
746
|
filled = true,
|
|
713
747
|
strokeWidth = 1
|
|
714
748
|
} = _ref2,
|
|
715
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
749
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
|
|
716
750
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
717
751
|
widthHeight: widthHeight,
|
|
718
752
|
color: color
|
|
@@ -3396,7 +3430,7 @@
|
|
|
3396
3430
|
};
|
|
3397
3431
|
|
|
3398
3432
|
var _excluded$9 = ["size", "speed", "color", "themeMode"],
|
|
3399
|
-
_excluded2$
|
|
3433
|
+
_excluded2$3 = ["size", "speed", "color", "themeMode"],
|
|
3400
3434
|
_excluded3$2 = ["size", "speed", "color", "themeMode"],
|
|
3401
3435
|
_excluded4$2 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
3402
3436
|
var DefaultSpinner = _ref => {
|
|
@@ -3455,7 +3489,7 @@
|
|
|
3455
3489
|
color = 'theme.loading',
|
|
3456
3490
|
themeMode: elementMode
|
|
3457
3491
|
} = _ref2,
|
|
3458
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
3492
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
|
|
3459
3493
|
var {
|
|
3460
3494
|
getColor,
|
|
3461
3495
|
themeMode
|
|
@@ -4002,7 +4036,7 @@
|
|
|
4002
4036
|
};
|
|
4003
4037
|
|
|
4004
4038
|
var _excluded$b = ["children", "views", "style", "themeMode"],
|
|
4005
|
-
_excluded2$
|
|
4039
|
+
_excluded2$4 = ["children", "views", "style", "themeMode"],
|
|
4006
4040
|
_excluded3$3 = ["children", "views", "style", "themeMode"],
|
|
4007
4041
|
_excluded4$3 = ["variant", "size", "shape", "children", "header", "footer", "isFullWidth", "views", "style", "themeMode"];
|
|
4008
4042
|
var CardHeader = _ref => {
|
|
@@ -4029,7 +4063,7 @@
|
|
|
4029
4063
|
children,
|
|
4030
4064
|
style
|
|
4031
4065
|
} = _ref2,
|
|
4032
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4066
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
4033
4067
|
var theme = appStudio.useTheme();
|
|
4034
4068
|
var {
|
|
4035
4069
|
styles: contextStyles
|
|
@@ -4406,7 +4440,7 @@
|
|
|
4406
4440
|
};
|
|
4407
4441
|
|
|
4408
4442
|
var _excluded$c = ["children", "isActive", "views"],
|
|
4409
|
-
_excluded2$
|
|
4443
|
+
_excluded2$5 = ["views", "children"],
|
|
4410
4444
|
_excluded3$4 = ["views", "children"],
|
|
4411
4445
|
_excluded4$4 = ["children", "views"],
|
|
4412
4446
|
_excluded5$1 = ["children", "views", "style"],
|
|
@@ -4433,7 +4467,7 @@
|
|
|
4433
4467
|
children // Allow custom content/icon
|
|
4434
4468
|
// Spread remaining ButtonProps
|
|
4435
4469
|
} = _ref2,
|
|
4436
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
4470
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
4437
4471
|
var {
|
|
4438
4472
|
goToPrevious,
|
|
4439
4473
|
canGoPrevious,
|
|
@@ -5700,7 +5734,7 @@
|
|
|
5700
5734
|
};
|
|
5701
5735
|
|
|
5702
5736
|
var _excluded$e = ["children", "disableNativeContextMenu", "asChild", "isDisabled", "views"],
|
|
5703
|
-
_excluded2$
|
|
5737
|
+
_excluded2$6 = ["items", "children", "position", "side", "align", "views", "style"],
|
|
5704
5738
|
_excluded3$5 = ["item", "children", "onSelect", "isDisabled", "views"],
|
|
5705
5739
|
_excluded4$5 = ["views"],
|
|
5706
5740
|
_excluded5$2 = ["views"],
|
|
@@ -5809,7 +5843,7 @@
|
|
|
5809
5843
|
views,
|
|
5810
5844
|
style // Capture user-provided style
|
|
5811
5845
|
} = _ref3,
|
|
5812
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
5846
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$6);
|
|
5813
5847
|
var {
|
|
5814
5848
|
isOpen,
|
|
5815
5849
|
position: contextPosition,
|
|
@@ -6106,7 +6140,7 @@
|
|
|
6106
6140
|
ContextMenu.Separator = ContextMenuSeparator; // Add the Separator component
|
|
6107
6141
|
|
|
6108
6142
|
var _excluded$g = ["src", "color", "views", "themeMode"],
|
|
6109
|
-
_excluded2$
|
|
6143
|
+
_excluded2$7 = ["path"];
|
|
6110
6144
|
var FileSVG = _ref => {
|
|
6111
6145
|
var {
|
|
6112
6146
|
src,
|
|
@@ -6136,7 +6170,7 @@
|
|
|
6136
6170
|
var {
|
|
6137
6171
|
path
|
|
6138
6172
|
} = _ref2,
|
|
6139
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6173
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
6140
6174
|
return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
6141
6175
|
src: path
|
|
6142
6176
|
}, props));
|
|
@@ -6568,7 +6602,7 @@
|
|
|
6568
6602
|
};
|
|
6569
6603
|
|
|
6570
6604
|
var _excluded$o = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
|
|
6571
|
-
_excluded2$
|
|
6605
|
+
_excluded2$8 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
|
|
6572
6606
|
_excluded3$6 = ["option", "size", "removeOption"],
|
|
6573
6607
|
_excluded4$6 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
|
|
6574
6608
|
/**
|
|
@@ -6686,7 +6720,7 @@
|
|
|
6686
6720
|
isReadOnly = false,
|
|
6687
6721
|
options = []
|
|
6688
6722
|
} = _ref4,
|
|
6689
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$
|
|
6723
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded2$8);
|
|
6690
6724
|
var handleChange = event => {
|
|
6691
6725
|
if (onChange) onChange(event);
|
|
6692
6726
|
};
|
|
@@ -9321,7 +9355,7 @@
|
|
|
9321
9355
|
};
|
|
9322
9356
|
|
|
9323
9357
|
var _excluded$t = ["size"],
|
|
9324
|
-
_excluded2$
|
|
9358
|
+
_excluded2$9 = ["size"],
|
|
9325
9359
|
_excluded3$7 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
|
|
9326
9360
|
var CountryList = _ref => {
|
|
9327
9361
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
@@ -9333,7 +9367,7 @@
|
|
|
9333
9367
|
type: "country"
|
|
9334
9368
|
}, props)));
|
|
9335
9369
|
var CountryItem = _ref2 => {
|
|
9336
|
-
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
9370
|
+
var props = _objectWithoutPropertiesLoose(_ref2, _excluded2$9);
|
|
9337
9371
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
9338
9372
|
as: "li"
|
|
9339
9373
|
}, props));
|
|
@@ -9686,7 +9720,7 @@
|
|
|
9686
9720
|
};
|
|
9687
9721
|
|
|
9688
9722
|
var _excluded$v = ["visibleIcon", "hiddenIcon"],
|
|
9689
|
-
_excluded2$
|
|
9723
|
+
_excluded2$a = ["isVisible", "setIsVisible"];
|
|
9690
9724
|
var PasswordComponent = _ref => {
|
|
9691
9725
|
var {
|
|
9692
9726
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -9702,7 +9736,7 @@
|
|
|
9702
9736
|
isVisible,
|
|
9703
9737
|
setIsVisible
|
|
9704
9738
|
} = _usePasswordState,
|
|
9705
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
9739
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$a);
|
|
9706
9740
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
9707
9741
|
type: isVisible ? 'text' : 'password',
|
|
9708
9742
|
isClearable: false,
|
|
@@ -10735,7 +10769,7 @@
|
|
|
10735
10769
|
var FormikTextField = TextFieldComponent$1;
|
|
10736
10770
|
|
|
10737
10771
|
var _excluded$D = ["visibleIcon", "hiddenIcon"],
|
|
10738
|
-
_excluded2$
|
|
10772
|
+
_excluded2$b = ["isVisible", "setIsVisible"];
|
|
10739
10773
|
var PasswordComponent$1 = _ref => {
|
|
10740
10774
|
var {
|
|
10741
10775
|
visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
|
|
@@ -10752,7 +10786,7 @@
|
|
|
10752
10786
|
isVisible,
|
|
10753
10787
|
setIsVisible
|
|
10754
10788
|
} = _usePasswordState,
|
|
10755
|
-
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$
|
|
10789
|
+
passwordProps = _objectWithoutPropertiesLoose(_usePasswordState, _excluded2$b);
|
|
10756
10790
|
return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, passwordProps, {
|
|
10757
10791
|
type: isVisible ? 'text' : 'password',
|
|
10758
10792
|
isClearable: false,
|
|
@@ -12184,7 +12218,7 @@
|
|
|
12184
12218
|
};
|
|
12185
12219
|
|
|
12186
12220
|
var _excluded$H = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
12187
|
-
_excluded2$
|
|
12221
|
+
_excluded2$c = ["children", "shadow", "isFullScreen", "shape", "views", "isOpen"],
|
|
12188
12222
|
_excluded3$8 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
12189
12223
|
_excluded4$7 = ["children", "views"],
|
|
12190
12224
|
_excluded5$3 = ["children", "views"];
|
|
@@ -12234,7 +12268,7 @@
|
|
|
12234
12268
|
shape = 'rounded',
|
|
12235
12269
|
views
|
|
12236
12270
|
} = _ref2,
|
|
12237
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
12271
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$c);
|
|
12238
12272
|
var defaultShadow = typeof document !== undefined ? {
|
|
12239
12273
|
boxShadow: '0px 4px 16px rgba(0, 0, 0, 0.15)'
|
|
12240
12274
|
} : {
|
|
@@ -13744,7 +13778,7 @@
|
|
|
13744
13778
|
};
|
|
13745
13779
|
|
|
13746
13780
|
var _excluded$M = ["children", "views"],
|
|
13747
|
-
_excluded2$
|
|
13781
|
+
_excluded2$d = ["items", "side", "align", "views"],
|
|
13748
13782
|
_excluded3$9 = ["item", "views"],
|
|
13749
13783
|
_excluded4$8 = ["views"],
|
|
13750
13784
|
_excluded5$4 = ["trigger", "items", "side", "align", "views", "themeMode"];
|
|
@@ -13806,7 +13840,7 @@
|
|
|
13806
13840
|
align = 'start',
|
|
13807
13841
|
views
|
|
13808
13842
|
} = _ref3,
|
|
13809
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
13843
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$d);
|
|
13810
13844
|
var {
|
|
13811
13845
|
isOpen,
|
|
13812
13846
|
//activeSubmenuId, setActiveSubmenuId, size,
|
|
@@ -14155,7 +14189,7 @@
|
|
|
14155
14189
|
};
|
|
14156
14190
|
|
|
14157
14191
|
var _excluded$O = ["children", "views", "asChild"],
|
|
14158
|
-
_excluded2$
|
|
14192
|
+
_excluded2$e = ["children", "views", "side", "align", "sideOffset", "style", "backgroundColor", "borderRadius", "boxShadow", "padding", "minWidth", "maxWidth"];
|
|
14159
14193
|
// Create context for the HoverCard
|
|
14160
14194
|
var HoverCardContext = /*#__PURE__*/React.createContext({
|
|
14161
14195
|
isOpen: false,
|
|
@@ -14241,7 +14275,7 @@
|
|
|
14241
14275
|
minWidth = '200px',
|
|
14242
14276
|
maxWidth = '300px'
|
|
14243
14277
|
} = _ref3,
|
|
14244
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
14278
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$e);
|
|
14245
14279
|
var {
|
|
14246
14280
|
isOpen,
|
|
14247
14281
|
cancelCloseTimer,
|
|
@@ -15304,7 +15338,7 @@
|
|
|
15304
15338
|
};
|
|
15305
15339
|
|
|
15306
15340
|
var _excluded$V = ["children", "showToggleButton", "views"],
|
|
15307
|
-
_excluded2$
|
|
15341
|
+
_excluded2$f = ["children", "views"],
|
|
15308
15342
|
_excluded3$a = ["children", "views"],
|
|
15309
15343
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
15310
15344
|
// Create context for the Sidebar
|
|
@@ -15403,7 +15437,7 @@
|
|
|
15403
15437
|
children,
|
|
15404
15438
|
views
|
|
15405
15439
|
} = _ref3,
|
|
15406
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
15440
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$f);
|
|
15407
15441
|
var {
|
|
15408
15442
|
isExpanded
|
|
15409
15443
|
} = useSidebarContext();
|
|
@@ -15979,7 +16013,7 @@
|
|
|
15979
16013
|
};
|
|
15980
16014
|
|
|
15981
16015
|
var _excluded$X = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
15982
|
-
_excluded2$
|
|
16016
|
+
_excluded2$g = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
15983
16017
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
15984
16018
|
// Create context for the Resizable component
|
|
15985
16019
|
var ResizableContext = /*#__PURE__*/React.createContext({
|
|
@@ -16087,7 +16121,7 @@
|
|
|
16087
16121
|
collapseTarget,
|
|
16088
16122
|
views
|
|
16089
16123
|
} = _ref3,
|
|
16090
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
16124
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$g);
|
|
16091
16125
|
var {
|
|
16092
16126
|
orientation,
|
|
16093
16127
|
size,
|
|
@@ -17027,7 +17061,7 @@
|
|
|
17027
17061
|
};
|
|
17028
17062
|
|
|
17029
17063
|
var _excluded$Z = ["value", "onValueChange", "placeholder", "views"],
|
|
17030
|
-
_excluded2$
|
|
17064
|
+
_excluded2$h = ["children", "views"],
|
|
17031
17065
|
_excluded3$c = ["heading", "children", "views"],
|
|
17032
17066
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
17033
17067
|
_excluded5$5 = ["children", "views"],
|
|
@@ -17090,7 +17124,7 @@
|
|
|
17090
17124
|
children,
|
|
17091
17125
|
views
|
|
17092
17126
|
} = _ref3,
|
|
17093
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17127
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$h);
|
|
17094
17128
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandListStyles, views == null ? void 0 : views.container, props), children);
|
|
17095
17129
|
};
|
|
17096
17130
|
// Command Group component
|
|
@@ -17547,7 +17581,7 @@
|
|
|
17547
17581
|
};
|
|
17548
17582
|
|
|
17549
17583
|
var _excluded$$ = ["children", "views", "asChild"],
|
|
17550
|
-
_excluded2$
|
|
17584
|
+
_excluded2$i = ["children", "views"],
|
|
17551
17585
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
17552
17586
|
// Create context for the Tooltip
|
|
17553
17587
|
var TooltipContext = /*#__PURE__*/React.createContext({
|
|
@@ -17618,7 +17652,7 @@
|
|
|
17618
17652
|
children,
|
|
17619
17653
|
views
|
|
17620
17654
|
} = _ref3,
|
|
17621
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$
|
|
17655
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded2$i);
|
|
17622
17656
|
var {
|
|
17623
17657
|
isOpen,
|
|
17624
17658
|
contentRef,
|