mozrest-sdk-react-dev 0.1.89 → 0.1.90
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/mozrest-sdk.es.js +678 -396
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -2720,7 +2720,7 @@ a$1(i$2(function(e3) {
|
|
|
2720
2720
|
return t2 in e4 ? Object.defineProperty(e4, t2, { value: n2, enumerable: true, configurable: true, writable: true }) : e4[t2] = n2, e4;
|
|
2721
2721
|
}, e3.exports.default = e3.exports, e3.exports.__esModule = true;
|
|
2722
2722
|
}));
|
|
2723
|
-
function _objectWithoutPropertiesLoose$
|
|
2723
|
+
function _objectWithoutPropertiesLoose$z(source2, excluded) {
|
|
2724
2724
|
if (source2 == null)
|
|
2725
2725
|
return {};
|
|
2726
2726
|
var target = {};
|
|
@@ -2734,10 +2734,10 @@ function _objectWithoutPropertiesLoose$x(source2, excluded) {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
return target;
|
|
2736
2736
|
}
|
|
2737
|
-
function _objectWithoutProperties$
|
|
2737
|
+
function _objectWithoutProperties$w(source2, excluded) {
|
|
2738
2738
|
if (source2 == null)
|
|
2739
2739
|
return {};
|
|
2740
|
-
var target = _objectWithoutPropertiesLoose$
|
|
2740
|
+
var target = _objectWithoutPropertiesLoose$z(source2, excluded);
|
|
2741
2741
|
var key2, i;
|
|
2742
2742
|
if (Object.getOwnPropertySymbols) {
|
|
2743
2743
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -6319,6 +6319,11 @@ const SYNCING = "Syncing ...";
|
|
|
6319
6319
|
const LASTUPDATE = "Last Updated";
|
|
6320
6320
|
const SEARCH = "Search";
|
|
6321
6321
|
const FILTERS = "Filters";
|
|
6322
|
+
const CANCELATIONS = "Cancelations";
|
|
6323
|
+
const SAMETIMEYESTERDAY = "Same time yesterday";
|
|
6324
|
+
const SAMETIMELASTWEEK = "Same time last week";
|
|
6325
|
+
const SAMETIMELASTMONTH = "Same time last month";
|
|
6326
|
+
const SAMETIMELASTYEAR = "Same time last year";
|
|
6322
6327
|
var en = {
|
|
6323
6328
|
errors,
|
|
6324
6329
|
SPECIALCLOSINGDATES,
|
|
@@ -6599,7 +6604,12 @@ var en = {
|
|
|
6599
6604
|
SYNCING,
|
|
6600
6605
|
LASTUPDATE,
|
|
6601
6606
|
SEARCH,
|
|
6602
|
-
FILTERS
|
|
6607
|
+
FILTERS,
|
|
6608
|
+
CANCELATIONS,
|
|
6609
|
+
SAMETIMEYESTERDAY,
|
|
6610
|
+
SAMETIMELASTWEEK,
|
|
6611
|
+
SAMETIMELASTMONTH,
|
|
6612
|
+
SAMETIMELASTYEAR
|
|
6603
6613
|
};
|
|
6604
6614
|
instance.use(initReactI18next).init({
|
|
6605
6615
|
resources: {
|
|
@@ -8866,8 +8876,8 @@ const Button$3 = React__default.forwardRef(({
|
|
|
8866
8876
|
ref
|
|
8867
8877
|
}, IconBtn, isLoading ? "Loading ..." : children);
|
|
8868
8878
|
});
|
|
8869
|
-
function _extends$
|
|
8870
|
-
_extends$
|
|
8879
|
+
function _extends$Q() {
|
|
8880
|
+
_extends$Q = Object.assign ? Object.assign.bind() : function(target) {
|
|
8871
8881
|
for (var i = 1; i < arguments.length; i++) {
|
|
8872
8882
|
var source2 = arguments[i];
|
|
8873
8883
|
for (var key2 in source2) {
|
|
@@ -8878,7 +8888,7 @@ function _extends$O() {
|
|
|
8878
8888
|
}
|
|
8879
8889
|
return target;
|
|
8880
8890
|
};
|
|
8881
|
-
return _extends$
|
|
8891
|
+
return _extends$Q.apply(this, arguments);
|
|
8882
8892
|
}
|
|
8883
8893
|
function _isNativeReflectConstruct$p() {
|
|
8884
8894
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
@@ -10060,8 +10070,8 @@ function _asyncToGenerator(fn) {
|
|
|
10060
10070
|
});
|
|
10061
10071
|
};
|
|
10062
10072
|
}
|
|
10063
|
-
function _extends$
|
|
10064
|
-
_extends$
|
|
10073
|
+
function _extends$P() {
|
|
10074
|
+
_extends$P = Object.assign ? Object.assign.bind() : function(target) {
|
|
10065
10075
|
for (var i = 1; i < arguments.length; i++) {
|
|
10066
10076
|
var source2 = arguments[i];
|
|
10067
10077
|
for (var key2 in source2) {
|
|
@@ -10072,7 +10082,7 @@ function _extends$N() {
|
|
|
10072
10082
|
}
|
|
10073
10083
|
return target;
|
|
10074
10084
|
};
|
|
10075
|
-
return _extends$
|
|
10085
|
+
return _extends$P.apply(this, arguments);
|
|
10076
10086
|
}
|
|
10077
10087
|
function _inheritsLoose$2(subClass, superClass) {
|
|
10078
10088
|
subClass.prototype = Object.create(superClass.prototype);
|
|
@@ -10368,7 +10378,7 @@ function deepMerge(target, source2) {
|
|
|
10368
10378
|
if (source2.hasOwnProperty(s2)) {
|
|
10369
10379
|
var value2 = source2[s2];
|
|
10370
10380
|
if (typeof value2 === "object" && typeof target[s2] === "object") {
|
|
10371
|
-
target[s2] = _extends$
|
|
10381
|
+
target[s2] = _extends$P({}, target[s2], value2);
|
|
10372
10382
|
} else {
|
|
10373
10383
|
target[s2] = value2;
|
|
10374
10384
|
}
|
|
@@ -10941,7 +10951,7 @@ var Schema = /* @__PURE__ */ function() {
|
|
|
10941
10951
|
var rule = r2;
|
|
10942
10952
|
if (typeof rule.transform === "function") {
|
|
10943
10953
|
if (source2 === source_) {
|
|
10944
|
-
source2 = _extends$
|
|
10954
|
+
source2 = _extends$P({}, source2);
|
|
10945
10955
|
}
|
|
10946
10956
|
value2 = source2[z2] = rule.transform(value2);
|
|
10947
10957
|
}
|
|
@@ -10950,7 +10960,7 @@ var Schema = /* @__PURE__ */ function() {
|
|
|
10950
10960
|
validator: rule
|
|
10951
10961
|
};
|
|
10952
10962
|
} else {
|
|
10953
|
-
rule = _extends$
|
|
10963
|
+
rule = _extends$P({}, rule);
|
|
10954
10964
|
}
|
|
10955
10965
|
rule.validator = _this2.getValidationMethod(rule);
|
|
10956
10966
|
if (!rule.validator) {
|
|
@@ -10975,7 +10985,7 @@ var Schema = /* @__PURE__ */ function() {
|
|
|
10975
10985
|
deep = deep && (rule.required || !rule.required && data2.value);
|
|
10976
10986
|
rule.field = data2.field;
|
|
10977
10987
|
function addFullField(key2, schema2) {
|
|
10978
|
-
return _extends$
|
|
10988
|
+
return _extends$P({}, schema2, {
|
|
10979
10989
|
fullField: rule.fullField + "." + key2,
|
|
10980
10990
|
fullFields: rule.fullFields ? [].concat(rule.fullFields, [key2]) : [key2]
|
|
10981
10991
|
});
|
|
@@ -11013,7 +11023,7 @@ var Schema = /* @__PURE__ */ function() {
|
|
|
11013
11023
|
fieldsSchema[key2] = rule.defaultField;
|
|
11014
11024
|
});
|
|
11015
11025
|
}
|
|
11016
|
-
fieldsSchema = _extends$
|
|
11026
|
+
fieldsSchema = _extends$P({}, fieldsSchema, data2.rule.fields);
|
|
11017
11027
|
var paredFieldsSchema = {};
|
|
11018
11028
|
Object.keys(fieldsSchema).forEach(function(field2) {
|
|
11019
11029
|
var fieldSchema = fieldsSchema[field2];
|
|
@@ -11962,14 +11972,14 @@ Field$1.defaultProps = {
|
|
|
11962
11972
|
valuePropName: "value"
|
|
11963
11973
|
};
|
|
11964
11974
|
function WrapperField(_ref5) {
|
|
11965
|
-
var name = _ref5.name, restProps = _objectWithoutProperties$
|
|
11975
|
+
var name = _ref5.name, restProps = _objectWithoutProperties$w(_ref5, _excluded$e);
|
|
11966
11976
|
var fieldContext = React.useContext(Context);
|
|
11967
11977
|
var namePath = name !== void 0 ? getNamePath(name) : void 0;
|
|
11968
11978
|
var key2 = "keep";
|
|
11969
11979
|
if (!restProps.isListField) {
|
|
11970
11980
|
key2 = "_".concat((namePath || []).join("_"));
|
|
11971
11981
|
}
|
|
11972
|
-
return /* @__PURE__ */ React.createElement(Field$1, _extends$
|
|
11982
|
+
return /* @__PURE__ */ React.createElement(Field$1, _extends$Q({
|
|
11973
11983
|
key: key2,
|
|
11974
11984
|
name: namePath
|
|
11975
11985
|
}, restProps, {
|
|
@@ -12553,7 +12563,7 @@ var FormStore = /* @__PURE__ */ _createClass$p(function FormStore2(forceRootUpda
|
|
|
12553
12563
|
fields.forEach(function(fieldData) {
|
|
12554
12564
|
var name = fieldData.name;
|
|
12555
12565
|
fieldData.errors;
|
|
12556
|
-
var data2 = _objectWithoutProperties$
|
|
12566
|
+
var data2 = _objectWithoutProperties$w(fieldData, _excluded$d);
|
|
12557
12567
|
var namePath = getNamePath(name);
|
|
12558
12568
|
namePathList.push(namePath);
|
|
12559
12569
|
if ("value" in data2) {
|
|
@@ -12940,7 +12950,7 @@ var FormProvider = function FormProvider2(_ref3) {
|
|
|
12940
12950
|
};
|
|
12941
12951
|
var _excluded$c = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
|
|
12942
12952
|
var Form$d = function Form(_ref3, ref) {
|
|
12943
|
-
var name = _ref3.name, initialValues = _ref3.initialValues, fields = _ref3.fields, form2 = _ref3.form, preserve = _ref3.preserve, children = _ref3.children, _ref$component = _ref3.component, Component2 = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref3.validateMessages, _ref$validateTrigger = _ref3.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref3.onValuesChange, _onFieldsChange = _ref3.onFieldsChange, _onFinish = _ref3.onFinish, onFinishFailed = _ref3.onFinishFailed, restProps = _objectWithoutProperties$
|
|
12953
|
+
var name = _ref3.name, initialValues = _ref3.initialValues, fields = _ref3.fields, form2 = _ref3.form, preserve = _ref3.preserve, children = _ref3.children, _ref$component = _ref3.component, Component2 = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref3.validateMessages, _ref$validateTrigger = _ref3.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref3.onValuesChange, _onFieldsChange = _ref3.onFieldsChange, _onFinish = _ref3.onFinish, onFinishFailed = _ref3.onFinishFailed, restProps = _objectWithoutProperties$w(_ref3, _excluded$c);
|
|
12944
12954
|
var formContext = React.useContext(FormContext);
|
|
12945
12955
|
var _useForm = useForm(form2), _useForm2 = _slicedToArray$a(_useForm, 1), formInstance = _useForm2[0];
|
|
12946
12956
|
var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK), useSubscribe = _formInstance$getInte.useSubscribe, setInitialValues = _formInstance$getInte.setInitialValues, setCallbacks = _formInstance$getInte.setCallbacks, setValidateMessages = _formInstance$getInte.setValidateMessages, setPreserve = _formInstance$getInte.setPreserve, destroyForm = _formInstance$getInte.destroyForm;
|
|
@@ -13009,7 +13019,7 @@ var Form$d = function Form(_ref3, ref) {
|
|
|
13009
13019
|
if (Component2 === false) {
|
|
13010
13020
|
return wrapperNode;
|
|
13011
13021
|
}
|
|
13012
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
13022
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$Q({}, restProps, {
|
|
13013
13023
|
onSubmit: function onSubmit(event) {
|
|
13014
13024
|
event.preventDefault();
|
|
13015
13025
|
event.stopPropagation();
|
|
@@ -13122,7 +13132,7 @@ var locale$4 = {
|
|
|
13122
13132
|
};
|
|
13123
13133
|
var TimePicker = locale$4;
|
|
13124
13134
|
var locale$3 = {
|
|
13125
|
-
lang: _extends$
|
|
13135
|
+
lang: _extends$Q({
|
|
13126
13136
|
placeholder: "Select date",
|
|
13127
13137
|
yearPlaceholder: "Select year",
|
|
13128
13138
|
quarterPlaceholder: "Select quarter",
|
|
@@ -13134,7 +13144,7 @@ var locale$3 = {
|
|
|
13134
13144
|
rangeMonthPlaceholder: ["Start month", "End month"],
|
|
13135
13145
|
rangeWeekPlaceholder: ["Start week", "End week"]
|
|
13136
13146
|
}, locale$5),
|
|
13137
|
-
timePickerLocale: _extends$
|
|
13147
|
+
timePickerLocale: _extends$Q({}, TimePicker)
|
|
13138
13148
|
};
|
|
13139
13149
|
var enUS = locale$3;
|
|
13140
13150
|
var typeTemplate = "${label} is not a valid ${type}";
|
|
@@ -13264,12 +13274,12 @@ var localeValues = {
|
|
|
13264
13274
|
}
|
|
13265
13275
|
};
|
|
13266
13276
|
var defaultLocale$2 = localeValues;
|
|
13267
|
-
var runtimeLocale = _extends$
|
|
13277
|
+
var runtimeLocale = _extends$Q({}, defaultLocale$2.Modal);
|
|
13268
13278
|
function changeConfirmLocale(newLocale) {
|
|
13269
13279
|
if (newLocale) {
|
|
13270
|
-
runtimeLocale = _extends$
|
|
13280
|
+
runtimeLocale = _extends$Q(_extends$Q({}, runtimeLocale), newLocale);
|
|
13271
13281
|
} else {
|
|
13272
|
-
runtimeLocale = _extends$
|
|
13282
|
+
runtimeLocale = _extends$Q({}, defaultLocale$2.Modal);
|
|
13273
13283
|
}
|
|
13274
13284
|
}
|
|
13275
13285
|
function getConfirmLocale() {
|
|
@@ -13288,7 +13298,7 @@ var LocaleProvider = function LocaleProvider2(props) {
|
|
|
13288
13298
|
};
|
|
13289
13299
|
}, [locale2]);
|
|
13290
13300
|
var getMemoizedContextValue = React.useMemo(function() {
|
|
13291
|
-
return _extends$
|
|
13301
|
+
return _extends$Q(_extends$Q({}, locale2), {
|
|
13292
13302
|
exist: true
|
|
13293
13303
|
});
|
|
13294
13304
|
}, [locale2]);
|
|
@@ -13304,7 +13314,7 @@ var LocaleReceiver = function LocaleReceiver2(props) {
|
|
|
13304
13314
|
var _a2;
|
|
13305
13315
|
var locale2 = defaultLocale2 || defaultLocale$2[componentName];
|
|
13306
13316
|
var localeFromContext = (_a2 = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a2 !== void 0 ? _a2 : {};
|
|
13307
|
-
return _extends$
|
|
13317
|
+
return _extends$Q(_extends$Q({}, locale2 instanceof Function ? locale2() : locale2), localeFromContext || {});
|
|
13308
13318
|
}, [componentName, defaultLocale2, antLocale]);
|
|
13309
13319
|
var getLocaleCode = React.useMemo(function() {
|
|
13310
13320
|
var localeCode = antLocale && antLocale.locale;
|
|
@@ -14557,7 +14567,7 @@ function getTwoToneColors() {
|
|
|
14557
14567
|
return _objectSpread2$4({}, twoToneColorPalette);
|
|
14558
14568
|
}
|
|
14559
14569
|
var IconBase = function IconBase2(props) {
|
|
14560
|
-
var icon2 = props.icon, className = props.className, onClick = props.onClick, style2 = props.style, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor, restProps = _objectWithoutProperties$
|
|
14570
|
+
var icon2 = props.icon, className = props.className, onClick = props.onClick, style2 = props.style, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor, restProps = _objectWithoutProperties$w(props, _excluded$b);
|
|
14561
14571
|
var colors2 = twoToneColorPalette;
|
|
14562
14572
|
if (primaryColor) {
|
|
14563
14573
|
colors2 = {
|
|
@@ -14609,7 +14619,7 @@ var _excluded$a = ["className", "icon", "spin", "rotate", "tabIndex", "onClick",
|
|
|
14609
14619
|
setTwoToneColor("#1890ff");
|
|
14610
14620
|
var Icon = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
14611
14621
|
var _classNames;
|
|
14612
|
-
var className = props.className, icon2 = props.icon, spin = props.spin, rotate2 = props.rotate, tabIndex = props.tabIndex, onClick = props.onClick, twoToneColor = props.twoToneColor, restProps = _objectWithoutProperties$
|
|
14622
|
+
var className = props.className, icon2 = props.icon, spin = props.spin, rotate2 = props.rotate, tabIndex = props.tabIndex, onClick = props.onClick, twoToneColor = props.twoToneColor, restProps = _objectWithoutProperties$w(props, _excluded$a);
|
|
14613
14623
|
var _React$useContext = React.useContext(IconContext$1), _React$useContext$pre = _React$useContext.prefixCls, prefixCls = _React$useContext$pre === void 0 ? "anticon" : _React$useContext$pre, rootClassName = _React$useContext.rootClassName;
|
|
14614
14624
|
var classString = classNames$1(rootClassName, prefixCls, (_classNames = {}, _defineProperty$y(_classNames, "".concat(prefixCls, "-").concat(icon2.name), !!icon2.name), _defineProperty$y(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon2.name === "loading"), _classNames), className);
|
|
14615
14625
|
var iconTabIndex = tabIndex;
|
|
@@ -15351,7 +15361,7 @@ function genCSSMotionList(transitionSupport) {
|
|
|
15351
15361
|
value: function render2() {
|
|
15352
15362
|
var _this2 = this;
|
|
15353
15363
|
var keyEntities = this.state.keyEntities;
|
|
15354
|
-
var _this$props = this.props, component = _this$props.component, children = _this$props.children, _onVisibleChanged = _this$props.onVisibleChanged, onAllRemoved = _this$props.onAllRemoved, restProps = _objectWithoutProperties$
|
|
15364
|
+
var _this$props = this.props, component = _this$props.component, children = _this$props.children, _onVisibleChanged = _this$props.onVisibleChanged, onAllRemoved = _this$props.onAllRemoved, restProps = _objectWithoutProperties$w(_this$props, _excluded$9);
|
|
15355
15365
|
var Component2 = component || React.Fragment;
|
|
15356
15366
|
var motionProps = {};
|
|
15357
15367
|
MOTION_PROP_NAMES.forEach(function(prop) {
|
|
@@ -15360,9 +15370,9 @@ function genCSSMotionList(transitionSupport) {
|
|
|
15360
15370
|
});
|
|
15361
15371
|
delete restProps.keys;
|
|
15362
15372
|
return /* @__PURE__ */ React.createElement(Component2, restProps, keyEntities.map(function(_ref22) {
|
|
15363
|
-
var status = _ref22.status, eventProps = _objectWithoutProperties$
|
|
15373
|
+
var status = _ref22.status, eventProps = _objectWithoutProperties$w(_ref22, _excluded2$1);
|
|
15364
15374
|
var visible = status === STATUS_ADD || status === STATUS_KEEP;
|
|
15365
|
-
return /* @__PURE__ */ React.createElement(CSSMotion$1, _extends$
|
|
15375
|
+
return /* @__PURE__ */ React.createElement(CSSMotion$1, _extends$Q({}, motionProps, {
|
|
15366
15376
|
key: eventProps.key,
|
|
15367
15377
|
visible,
|
|
15368
15378
|
eventProps,
|
|
@@ -15480,7 +15490,7 @@ var Notice = /* @__PURE__ */ function(_Component) {
|
|
|
15480
15490
|
}
|
|
15481
15491
|
return acc;
|
|
15482
15492
|
}, {});
|
|
15483
|
-
var node2 = /* @__PURE__ */ React.createElement("div", _extends$
|
|
15493
|
+
var node2 = /* @__PURE__ */ React.createElement("div", _extends$Q({
|
|
15484
15494
|
className: classNames$1(componentClass, className, _defineProperty$y({}, "".concat(componentClass, "-closable"), closable)),
|
|
15485
15495
|
style: style2,
|
|
15486
15496
|
onMouseEnter: this.clearCloseTimer,
|
|
@@ -15516,7 +15526,7 @@ function useNotification(notificationInstance2) {
|
|
|
15516
15526
|
notificationInstance2.add(noticeProps, function(div, props) {
|
|
15517
15527
|
var key2 = props.key;
|
|
15518
15528
|
if (div && (!createdRef.current[key2] || firstMount)) {
|
|
15519
|
-
var noticeEle = /* @__PURE__ */ React.createElement(Notice, _extends$
|
|
15529
|
+
var noticeEle = /* @__PURE__ */ React.createElement(Notice, _extends$Q({}, props, {
|
|
15520
15530
|
holder: div
|
|
15521
15531
|
}));
|
|
15522
15532
|
createdRef.current[key2] = noticeEle;
|
|
@@ -15684,7 +15694,7 @@ var Notification = /* @__PURE__ */ function(_Component) {
|
|
|
15684
15694
|
}
|
|
15685
15695
|
});
|
|
15686
15696
|
}
|
|
15687
|
-
return /* @__PURE__ */ React.createElement(Notice, _extends$
|
|
15697
|
+
return /* @__PURE__ */ React.createElement(Notice, _extends$Q({}, noticeProps, {
|
|
15688
15698
|
className: classNames$1(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),
|
|
15689
15699
|
style: _objectSpread2$4(_objectSpread2$4({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
|
|
15690
15700
|
visible
|
|
@@ -15704,7 +15714,7 @@ Notification.defaultProps = {
|
|
|
15704
15714
|
}
|
|
15705
15715
|
};
|
|
15706
15716
|
Notification.newInstance = function newNotificationInstance(properties, callback) {
|
|
15707
|
-
var _ref6 = properties || {}, getContainer2 = _ref6.getContainer, props = _objectWithoutProperties$
|
|
15717
|
+
var _ref6 = properties || {}, getContainer2 = _ref6.getContainer, props = _objectWithoutProperties$w(_ref6, _excluded$8);
|
|
15708
15718
|
var div = document.createElement("div");
|
|
15709
15719
|
if (getContainer2) {
|
|
15710
15720
|
var root2 = getContainer2();
|
|
@@ -15737,7 +15747,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
|
|
|
15737
15747
|
}
|
|
15738
15748
|
});
|
|
15739
15749
|
}
|
|
15740
|
-
render(/* @__PURE__ */ React.createElement(Notification, _extends$
|
|
15750
|
+
render(/* @__PURE__ */ React.createElement(Notification, _extends$Q({}, props, {
|
|
15741
15751
|
ref
|
|
15742
15752
|
})), div);
|
|
15743
15753
|
};
|
|
@@ -15764,14 +15774,14 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps2) {
|
|
|
15764
15774
|
}
|
|
15765
15775
|
return resolve(true);
|
|
15766
15776
|
};
|
|
15767
|
-
getRcNotificationInstance(_extends$
|
|
15777
|
+
getRcNotificationInstance(_extends$Q(_extends$Q({}, args), {
|
|
15768
15778
|
prefixCls: mergedPrefixCls,
|
|
15769
15779
|
rootPrefixCls,
|
|
15770
15780
|
getPopupContainer
|
|
15771
15781
|
}), function(_ref3) {
|
|
15772
15782
|
var prefixCls = _ref3.prefixCls, instance2 = _ref3.instance;
|
|
15773
15783
|
innerInstance = instance2;
|
|
15774
|
-
hookNotify(getRCNoticeProps2(_extends$
|
|
15784
|
+
hookNotify(getRCNoticeProps2(_extends$Q(_extends$Q({}, args), {
|
|
15775
15785
|
key: target,
|
|
15776
15786
|
onClose: callback
|
|
15777
15787
|
}), prefixCls));
|
|
@@ -15925,7 +15935,7 @@ function notice$1(args) {
|
|
|
15925
15935
|
};
|
|
15926
15936
|
getRCNotificationInstance(args, function(_ref3) {
|
|
15927
15937
|
var prefixCls = _ref3.prefixCls, iconPrefixCls = _ref3.iconPrefixCls, instance2 = _ref3.instance;
|
|
15928
|
-
instance2.notice(getRCNoticeProps$1(_extends$
|
|
15938
|
+
instance2.notice(getRCNoticeProps$1(_extends$Q(_extends$Q({}, args), {
|
|
15929
15939
|
key: target,
|
|
15930
15940
|
onClose: callback
|
|
15931
15941
|
}), prefixCls, iconPrefixCls));
|
|
@@ -15966,7 +15976,7 @@ var api$1 = {
|
|
|
15966
15976
|
function attachTypeApi(originalApi, type4) {
|
|
15967
15977
|
originalApi[type4] = function(content2, duration2, onClose2) {
|
|
15968
15978
|
if (isArgsProps(content2)) {
|
|
15969
|
-
return originalApi.open(_extends$
|
|
15979
|
+
return originalApi.open(_extends$Q(_extends$Q({}, content2), {
|
|
15970
15980
|
type: type4
|
|
15971
15981
|
}));
|
|
15972
15982
|
}
|
|
@@ -16051,7 +16061,7 @@ function createUseNotification(getNotificationInstance2, getRCNoticeProps2) {
|
|
|
16051
16061
|
function notify(args) {
|
|
16052
16062
|
var customizePrefixCls = args.prefixCls;
|
|
16053
16063
|
var mergedPrefixCls = getPrefixCls("notification", customizePrefixCls);
|
|
16054
|
-
getNotificationInstance2(_extends$
|
|
16064
|
+
getNotificationInstance2(_extends$Q(_extends$Q({}, args), {
|
|
16055
16065
|
prefixCls: mergedPrefixCls
|
|
16056
16066
|
}), function(_ref3) {
|
|
16057
16067
|
var prefixCls = _ref3.prefixCls, instance2 = _ref3.instance;
|
|
@@ -16063,7 +16073,7 @@ function createUseNotification(getNotificationInstance2, getRCNoticeProps2) {
|
|
|
16063
16073
|
hookApiRef.current.open = notify;
|
|
16064
16074
|
["success", "info", "warning", "error"].forEach(function(type4) {
|
|
16065
16075
|
hookApiRef.current[type4] = function(args) {
|
|
16066
|
-
return hookApiRef.current.open(_extends$
|
|
16076
|
+
return hookApiRef.current.open(_extends$Q(_extends$Q({}, args), {
|
|
16067
16077
|
type: type4
|
|
16068
16078
|
}));
|
|
16069
16079
|
};
|
|
@@ -16313,7 +16323,7 @@ var api = {
|
|
|
16313
16323
|
};
|
|
16314
16324
|
["success", "info", "warning", "error"].forEach(function(type4) {
|
|
16315
16325
|
api[type4] = function(args) {
|
|
16316
|
-
return api.open(_extends$
|
|
16326
|
+
return api.open(_extends$Q(_extends$Q({}, args), {
|
|
16317
16327
|
type: type4
|
|
16318
16328
|
}));
|
|
16319
16329
|
};
|
|
@@ -16476,7 +16486,7 @@ var ProviderChildren = function ProviderChildren2(props) {
|
|
|
16476
16486
|
var mergedPrefixCls = prefixCls || parentContext.getPrefixCls("");
|
|
16477
16487
|
return suffixCls ? "".concat(mergedPrefixCls, "-").concat(suffixCls) : mergedPrefixCls;
|
|
16478
16488
|
}, [parentContext.getPrefixCls, props.prefixCls]);
|
|
16479
|
-
var config2 = _extends$
|
|
16489
|
+
var config2 = _extends$Q(_extends$Q({}, parentContext), {
|
|
16480
16490
|
csp,
|
|
16481
16491
|
autoInsertSpaceInButton,
|
|
16482
16492
|
locale: locale2 || legacyLocale,
|
|
@@ -16513,7 +16523,7 @@ var ProviderChildren = function ProviderChildren2(props) {
|
|
|
16513
16523
|
validateMessages = ((_a2 = locale2.Form) === null || _a2 === void 0 ? void 0 : _a2.defaultValidateMessages) || ((_b = defaultLocale$2.Form) === null || _b === void 0 ? void 0 : _b.defaultValidateMessages) || {};
|
|
16514
16524
|
}
|
|
16515
16525
|
if (form2 && form2.validateMessages) {
|
|
16516
|
-
validateMessages = _extends$
|
|
16526
|
+
validateMessages = _extends$Q(_extends$Q({}, validateMessages), form2.validateMessages);
|
|
16517
16527
|
}
|
|
16518
16528
|
if (Object.keys(validateMessages).length > 0) {
|
|
16519
16529
|
childNode = /* @__PURE__ */ React.createElement(FormProvider, {
|
|
@@ -16558,7 +16568,7 @@ var ConfigProvider = function ConfigProvider2(props) {
|
|
|
16558
16568
|
}, [props.direction]);
|
|
16559
16569
|
return /* @__PURE__ */ React.createElement(LocaleReceiver$1, null, function(_24, __, legacyLocale) {
|
|
16560
16570
|
return /* @__PURE__ */ React.createElement(ConfigConsumer, null, function(context) {
|
|
16561
|
-
return /* @__PURE__ */ React.createElement(ProviderChildren, _extends$
|
|
16571
|
+
return /* @__PURE__ */ React.createElement(ProviderChildren, _extends$Q({
|
|
16562
16572
|
parentContext: context,
|
|
16563
16573
|
legacyLocale
|
|
16564
16574
|
}, props));
|
|
@@ -16963,7 +16973,7 @@ function Mask$1(props) {
|
|
|
16963
16973
|
animation: maskAnimation
|
|
16964
16974
|
}));
|
|
16965
16975
|
}
|
|
16966
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
16976
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$Q({}, motion, {
|
|
16967
16977
|
visible,
|
|
16968
16978
|
removeOnLeave: true
|
|
16969
16979
|
}), function(_ref3) {
|
|
@@ -18351,7 +18361,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
18351
18361
|
className: "".concat(prefixCls, "-content")
|
|
18352
18362
|
}, children);
|
|
18353
18363
|
}
|
|
18354
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
18364
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$Q({
|
|
18355
18365
|
visible,
|
|
18356
18366
|
ref: elementRef,
|
|
18357
18367
|
leavedClassName: "".concat(prefixCls, "-hidden")
|
|
@@ -18410,7 +18420,7 @@ var MobilePopupInner = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
18410
18420
|
if (popupRender) {
|
|
18411
18421
|
childNode = popupRender(childNode);
|
|
18412
18422
|
}
|
|
18413
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
|
18423
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$Q({
|
|
18414
18424
|
visible,
|
|
18415
18425
|
ref: elementRef,
|
|
18416
18426
|
removeOnLeave: true
|
|
@@ -18428,7 +18438,7 @@ var MobilePopupInner = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
18428
18438
|
MobilePopupInner.displayName = "MobilePopupInner";
|
|
18429
18439
|
var _excluded$7 = ["visible", "mobile"];
|
|
18430
18440
|
var Popup$1 = /* @__PURE__ */ React.forwardRef(function(_ref3, ref) {
|
|
18431
|
-
var visible = _ref3.visible, mobile = _ref3.mobile, props = _objectWithoutProperties$
|
|
18441
|
+
var visible = _ref3.visible, mobile = _ref3.mobile, props = _objectWithoutProperties$w(_ref3, _excluded$7);
|
|
18432
18442
|
var _useState = useState(visible), _useState2 = _slicedToArray$a(_useState, 2), innerVisible = _useState2[0], serInnerVisible = _useState2[1];
|
|
18433
18443
|
var _useState3 = useState(false), _useState4 = _slicedToArray$a(_useState3, 2), inMobile = _useState4[0], setInMobile = _useState4[1];
|
|
18434
18444
|
var cloneProps = _objectSpread2$4(_objectSpread2$4({}, props), {}, {
|
|
@@ -18440,10 +18450,10 @@ var Popup$1 = /* @__PURE__ */ React.forwardRef(function(_ref3, ref) {
|
|
|
18440
18450
|
setInMobile(isMobile());
|
|
18441
18451
|
}
|
|
18442
18452
|
}, [visible, mobile]);
|
|
18443
|
-
var popupNode = inMobile ? /* @__PURE__ */ React.createElement(MobilePopupInner, _extends$
|
|
18453
|
+
var popupNode = inMobile ? /* @__PURE__ */ React.createElement(MobilePopupInner, _extends$Q({}, cloneProps, {
|
|
18444
18454
|
mobile,
|
|
18445
18455
|
ref
|
|
18446
|
-
})) : /* @__PURE__ */ React.createElement(PopupInner, _extends$
|
|
18456
|
+
})) : /* @__PURE__ */ React.createElement(PopupInner, _extends$Q({}, cloneProps, {
|
|
18447
18457
|
ref
|
|
18448
18458
|
}));
|
|
18449
18459
|
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Mask$1, cloneProps), popupNode);
|
|
@@ -18626,7 +18636,7 @@ function generateTrigger(PortalComponent) {
|
|
|
18626
18636
|
}
|
|
18627
18637
|
mouseProps.onMouseDown = _this.onPopupMouseDown;
|
|
18628
18638
|
mouseProps.onTouchStart = _this.onPopupMouseDown;
|
|
18629
|
-
return /* @__PURE__ */ React.createElement(Popup$1, _extends$
|
|
18639
|
+
return /* @__PURE__ */ React.createElement(Popup$1, _extends$Q({
|
|
18630
18640
|
prefixCls,
|
|
18631
18641
|
destroyPopupOnHide,
|
|
18632
18642
|
visible: popupVisible,
|
|
@@ -19037,7 +19047,7 @@ var NoFormStyle = function NoFormStyle2(_ref3) {
|
|
|
19037
19047
|
var children = _ref3.children, status = _ref3.status, override = _ref3.override;
|
|
19038
19048
|
var formItemInputContext = useContext(FormItemInputContext);
|
|
19039
19049
|
var newFormItemInputContext = useMemo$1(function() {
|
|
19040
|
-
var newContext = _extends$
|
|
19050
|
+
var newContext = _extends$Q({}, formItemInputContext);
|
|
19041
19051
|
if (override) {
|
|
19042
19052
|
delete newContext.isFormItemInput;
|
|
19043
19053
|
}
|
|
@@ -19157,7 +19167,7 @@ var responsiveObserve = {
|
|
|
19157
19167
|
var matchMediaQuery = responsiveMap[screen];
|
|
19158
19168
|
var listener = function listener2(_ref3) {
|
|
19159
19169
|
var matches = _ref3.matches;
|
|
19160
|
-
_this2.dispatch(_extends$
|
|
19170
|
+
_this2.dispatch(_extends$Q(_extends$Q({}, screens), _defineProperty$y({}, screen, matches)));
|
|
19161
19171
|
};
|
|
19162
19172
|
var mql = window.matchMedia(matchMediaQuery);
|
|
19163
19173
|
mql.addListener(listener);
|
|
@@ -19265,7 +19275,7 @@ function Popup(props) {
|
|
|
19265
19275
|
}, typeof children === "function" ? children() : children));
|
|
19266
19276
|
}
|
|
19267
19277
|
var Tooltip$4 = function Tooltip(props, ref) {
|
|
19268
|
-
var overlayClassName = props.overlayClassName, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, _props$mouseEnterDela = props.mouseEnterDelay, mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, overlayStyle = props.overlayStyle, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tooltip" : _props$prefixCls, children = props.children, onVisibleChange = props.onVisibleChange, afterVisibleChange = props.afterVisibleChange, transitionName2 = props.transitionName, animation = props.animation, motion = props.motion, _props$placement = props.placement, placement = _props$placement === void 0 ? "right" : _props$placement, _props$align = props.align, align = _props$align === void 0 ? {} : _props$align, _props$destroyTooltip = props.destroyTooltipOnHide, destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, defaultVisible = props.defaultVisible, getTooltipContainer = props.getTooltipContainer, overlayInnerStyle = props.overlayInnerStyle, arrowContent = props.arrowContent, overlay = props.overlay, id2 = props.id, showArrow = props.showArrow, restProps = _objectWithoutProperties$
|
|
19278
|
+
var overlayClassName = props.overlayClassName, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, _props$mouseEnterDela = props.mouseEnterDelay, mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, overlayStyle = props.overlayStyle, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tooltip" : _props$prefixCls, children = props.children, onVisibleChange = props.onVisibleChange, afterVisibleChange = props.afterVisibleChange, transitionName2 = props.transitionName, animation = props.animation, motion = props.motion, _props$placement = props.placement, placement = _props$placement === void 0 ? "right" : _props$placement, _props$align = props.align, align = _props$align === void 0 ? {} : _props$align, _props$destroyTooltip = props.destroyTooltipOnHide, destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, defaultVisible = props.defaultVisible, getTooltipContainer = props.getTooltipContainer, overlayInnerStyle = props.overlayInnerStyle, arrowContent = props.arrowContent, overlay = props.overlay, id2 = props.id, showArrow = props.showArrow, restProps = _objectWithoutProperties$w(props, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"]);
|
|
19269
19279
|
var domRef = useRef(null);
|
|
19270
19280
|
useImperativeHandle(ref, function() {
|
|
19271
19281
|
return domRef.current;
|
|
@@ -19293,7 +19303,7 @@ var Tooltip$4 = function Tooltip(props, ref) {
|
|
|
19293
19303
|
destroyTooltip = keepParent === true;
|
|
19294
19304
|
autoDestroy = keepParent === false;
|
|
19295
19305
|
}
|
|
19296
|
-
return /* @__PURE__ */ React.createElement(Trigger, _extends$
|
|
19306
|
+
return /* @__PURE__ */ React.createElement(Trigger, _extends$Q({
|
|
19297
19307
|
popupClassName: overlayClassName,
|
|
19298
19308
|
prefixCls,
|
|
19299
19309
|
popup: getPopupElement,
|
|
@@ -19332,7 +19342,7 @@ function getOverflowOptions(autoAdjustOverflow2) {
|
|
|
19332
19342
|
if (typeof autoAdjustOverflow2 === "boolean") {
|
|
19333
19343
|
return autoAdjustOverflow2 ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled;
|
|
19334
19344
|
}
|
|
19335
|
-
return _extends$
|
|
19345
|
+
return _extends$Q(_extends$Q({}, autoAdjustOverflowDisabled), autoAdjustOverflow2);
|
|
19336
19346
|
}
|
|
19337
19347
|
function getPlacements(config2) {
|
|
19338
19348
|
var _config$arrowWidth = config2.arrowWidth, arrowWidth = _config$arrowWidth === void 0 ? 4 : _config$arrowWidth, _config$horizontalArr = config2.horizontalArrowShift, horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr, _config$verticalArrow = config2.verticalArrowShift, verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow, autoAdjustOverflow2 = config2.autoAdjustOverflow, arrowPointAtCenter = config2.arrowPointAtCenter;
|
|
@@ -19387,10 +19397,10 @@ function getPlacements(config2) {
|
|
|
19387
19397
|
}
|
|
19388
19398
|
};
|
|
19389
19399
|
Object.keys(placementMap).forEach(function(key2) {
|
|
19390
|
-
placementMap[key2] = arrowPointAtCenter ? _extends$
|
|
19400
|
+
placementMap[key2] = arrowPointAtCenter ? _extends$Q(_extends$Q({}, placementMap[key2]), {
|
|
19391
19401
|
overflow: getOverflowOptions(autoAdjustOverflow2),
|
|
19392
19402
|
targetOffset
|
|
19393
|
-
}) : _extends$
|
|
19403
|
+
}) : _extends$Q(_extends$Q({}, placements[key2]), {
|
|
19394
19404
|
overflow: getOverflowOptions(autoAdjustOverflow2)
|
|
19395
19405
|
});
|
|
19396
19406
|
placementMap[key2].ignoreShake = true;
|
|
@@ -19411,7 +19421,7 @@ var __rest$d = globalThis && globalThis.__rest || function(s2, e3) {
|
|
|
19411
19421
|
};
|
|
19412
19422
|
var splitObject = function splitObject2(obj, keys3) {
|
|
19413
19423
|
var picked = {};
|
|
19414
|
-
var omitted = _extends$
|
|
19424
|
+
var omitted = _extends$Q({}, obj);
|
|
19415
19425
|
keys3.forEach(function(key2) {
|
|
19416
19426
|
if (obj && key2 in obj) {
|
|
19417
19427
|
picked[key2] = obj[key2];
|
|
@@ -19428,13 +19438,13 @@ function getDisabledCompatibleChildren(element, prefixCls) {
|
|
|
19428
19438
|
var elementType = element.type;
|
|
19429
19439
|
if ((elementType.__ANT_BUTTON === true || element.type === "button") && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) {
|
|
19430
19440
|
var _splitObject = splitObject(element.props.style, ["position", "left", "right", "top", "bottom", "float", "display", "zIndex"]), picked = _splitObject.picked, omitted = _splitObject.omitted;
|
|
19431
|
-
var spanStyle = _extends$
|
|
19441
|
+
var spanStyle = _extends$Q(_extends$Q({
|
|
19432
19442
|
display: "inline-block"
|
|
19433
19443
|
}, picked), {
|
|
19434
19444
|
cursor: "not-allowed",
|
|
19435
19445
|
width: element.props.block ? "100%" : void 0
|
|
19436
19446
|
});
|
|
19437
|
-
var buttonStyle = _extends$
|
|
19447
|
+
var buttonStyle = _extends$Q(_extends$Q({}, omitted), {
|
|
19438
19448
|
pointerEvents: "none"
|
|
19439
19449
|
});
|
|
19440
19450
|
var child = cloneElement(element, {
|
|
@@ -19522,14 +19532,14 @@ var Tooltip$2 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
19522
19532
|
var formattedOverlayInnerStyle = overlayInnerStyle;
|
|
19523
19533
|
var arrowContentStyle = {};
|
|
19524
19534
|
if (color2 && !PresetColorRegex$1.test(color2)) {
|
|
19525
|
-
formattedOverlayInnerStyle = _extends$
|
|
19535
|
+
formattedOverlayInnerStyle = _extends$Q(_extends$Q({}, overlayInnerStyle), {
|
|
19526
19536
|
background: color2
|
|
19527
19537
|
});
|
|
19528
19538
|
arrowContentStyle = {
|
|
19529
19539
|
"--antd-arrow-background-color": color2
|
|
19530
19540
|
};
|
|
19531
19541
|
}
|
|
19532
|
-
return /* @__PURE__ */ React.createElement(Tooltip$5, _extends$
|
|
19542
|
+
return /* @__PURE__ */ React.createElement(Tooltip$5, _extends$Q({}, otherProps, {
|
|
19533
19543
|
placement,
|
|
19534
19544
|
mouseEnterDelay,
|
|
19535
19545
|
mouseLeaveDelay,
|
|
@@ -19593,7 +19603,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
19593
19603
|
var _React$useContext = React.useContext(ConfigContext), getPrefixCls = _React$useContext.getPrefixCls;
|
|
19594
19604
|
var prefixCls = getPrefixCls("popover", customizePrefixCls);
|
|
19595
19605
|
var rootPrefixCls = getPrefixCls();
|
|
19596
|
-
return /* @__PURE__ */ React.createElement(Tooltip$3, _extends$
|
|
19606
|
+
return /* @__PURE__ */ React.createElement(Tooltip$3, _extends$Q({
|
|
19597
19607
|
placement,
|
|
19598
19608
|
trigger,
|
|
19599
19609
|
mouseEnterDelay,
|
|
@@ -19841,7 +19851,7 @@ var ButtonGroup$1 = function ButtonGroup(props) {
|
|
|
19841
19851
|
var classes = classNames$1(prefixCls, (_classNames = {}, _defineProperty$y(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), _defineProperty$y(_classNames, "".concat(prefixCls, "-rtl"), direction === "rtl"), _classNames), className);
|
|
19842
19852
|
return /* @__PURE__ */ React.createElement(GroupSizeContext.Provider, {
|
|
19843
19853
|
value: size
|
|
19844
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
19854
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$Q({}, others, {
|
|
19845
19855
|
className: classes
|
|
19846
19856
|
})));
|
|
19847
19857
|
};
|
|
@@ -20034,13 +20044,13 @@ var InternalButton = function InternalButton2(props, ref) {
|
|
|
20034
20044
|
});
|
|
20035
20045
|
var kids = children || children === 0 ? spaceChildren(children, isNeedInserted() && autoInsertSpace) : null;
|
|
20036
20046
|
if (linkButtonRestProps.href !== void 0) {
|
|
20037
|
-
return /* @__PURE__ */ React.createElement("a", _extends$
|
|
20047
|
+
return /* @__PURE__ */ React.createElement("a", _extends$Q({}, linkButtonRestProps, {
|
|
20038
20048
|
className: classes,
|
|
20039
20049
|
onClick: handleClick,
|
|
20040
20050
|
ref: buttonRef
|
|
20041
20051
|
}), iconNode, kids);
|
|
20042
20052
|
}
|
|
20043
|
-
var buttonNode = /* @__PURE__ */ React.createElement("button", _extends$
|
|
20053
|
+
var buttonNode = /* @__PURE__ */ React.createElement("button", _extends$Q({}, rest, {
|
|
20044
20054
|
type: htmlType,
|
|
20045
20055
|
className: classes,
|
|
20046
20056
|
onClick: handleClick,
|
|
@@ -24175,7 +24185,7 @@ function DecadeHeader(props) {
|
|
|
24175
24185
|
var yearNumber = generateConfig2.getYear(viewDate);
|
|
24176
24186
|
var startYear = Math.floor(yearNumber / DECADE_DISTANCE_COUNT) * DECADE_DISTANCE_COUNT;
|
|
24177
24187
|
var endYear = startYear + DECADE_DISTANCE_COUNT - 1;
|
|
24178
|
-
return /* @__PURE__ */ React.createElement(Header$6, _extends$
|
|
24188
|
+
return /* @__PURE__ */ React.createElement(Header$6, _extends$Q({}, props, {
|
|
24179
24189
|
prefixCls: headerPrefixCls,
|
|
24180
24190
|
onSuperPrev: onPrevDecades,
|
|
24181
24191
|
onSuperNext: onNextDecades
|
|
@@ -24296,7 +24306,7 @@ function DecadeBody(props) {
|
|
|
24296
24306
|
var endDecadeNumber = startDecadeNumber + DECADE_UNIT_DIFF_DES;
|
|
24297
24307
|
return _ref3 = {}, _defineProperty$y(_ref3, "".concat(cellPrefixCls, "-in-view"), startDecadeYear <= startDecadeNumber && endDecadeNumber <= endDecadeYear), _defineProperty$y(_ref3, "".concat(cellPrefixCls, "-selected"), startDecadeNumber === decadeYearNumber), _ref3;
|
|
24298
24308
|
};
|
|
24299
|
-
return /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
24309
|
+
return /* @__PURE__ */ React.createElement(PanelBody, _extends$Q({}, props, {
|
|
24300
24310
|
rowNum: DECADE_ROW_COUNT,
|
|
24301
24311
|
colNum: DECADE_COL_COUNT,
|
|
24302
24312
|
baseDate: baseDecadeYear,
|
|
@@ -24534,7 +24544,7 @@ function DecadePanel(props) {
|
|
|
24534
24544
|
};
|
|
24535
24545
|
return /* @__PURE__ */ React.createElement("div", {
|
|
24536
24546
|
className: panelPrefixCls
|
|
24537
|
-
}, /* @__PURE__ */ React.createElement(DecadeHeader, _extends$
|
|
24547
|
+
}, /* @__PURE__ */ React.createElement(DecadeHeader, _extends$Q({}, props, {
|
|
24538
24548
|
prefixCls,
|
|
24539
24549
|
onPrevDecades: function onPrevDecades() {
|
|
24540
24550
|
onDecadesChange(-1);
|
|
@@ -24542,7 +24552,7 @@ function DecadePanel(props) {
|
|
|
24542
24552
|
onNextDecades: function onNextDecades() {
|
|
24543
24553
|
onDecadesChange(1);
|
|
24544
24554
|
}
|
|
24545
|
-
})), /* @__PURE__ */ React.createElement(DecadeBody, _extends$
|
|
24555
|
+
})), /* @__PURE__ */ React.createElement(DecadeBody, _extends$Q({}, props, {
|
|
24546
24556
|
prefixCls,
|
|
24547
24557
|
onSelect: onInternalSelect
|
|
24548
24558
|
})));
|
|
@@ -25034,10 +25044,10 @@ function TimePanel(props) {
|
|
|
25034
25044
|
};
|
|
25035
25045
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25036
25046
|
className: classNames$1(panelPrefixCls, _defineProperty$y({}, "".concat(panelPrefixCls, "-active"), active2))
|
|
25037
|
-
}, /* @__PURE__ */ React.createElement(TimeHeader, _extends$
|
|
25047
|
+
}, /* @__PURE__ */ React.createElement(TimeHeader, _extends$Q({}, props, {
|
|
25038
25048
|
format: format3,
|
|
25039
25049
|
prefixCls
|
|
25040
|
-
})), /* @__PURE__ */ React.createElement(TimeBody, _extends$
|
|
25050
|
+
})), /* @__PURE__ */ React.createElement(TimeBody, _extends$Q({}, props, {
|
|
25041
25051
|
prefixCls,
|
|
25042
25052
|
activeColumnIndex,
|
|
25043
25053
|
operationRef: bodyOperationRef
|
|
@@ -25109,7 +25119,7 @@ function DateBody(props) {
|
|
|
25109
25119
|
var getCellNode = dateRender ? function(date4) {
|
|
25110
25120
|
return dateRender(date4, today);
|
|
25111
25121
|
} : void 0;
|
|
25112
|
-
return /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
25122
|
+
return /* @__PURE__ */ React.createElement(PanelBody, _extends$Q({}, props, {
|
|
25113
25123
|
rowNum: rowCount,
|
|
25114
25124
|
colNum: WEEK_DAY_COUNT,
|
|
25115
25125
|
baseDate,
|
|
@@ -25159,7 +25169,7 @@ function DateHeader(props) {
|
|
|
25159
25169
|
generateConfig: generateConfig2
|
|
25160
25170
|
}) : monthsLocale[month2]);
|
|
25161
25171
|
var monthYearNodes = locale2.monthBeforeYear ? [monthNode, yearNode] : [yearNode, monthNode];
|
|
25162
|
-
return /* @__PURE__ */ React.createElement(Header$6, _extends$
|
|
25172
|
+
return /* @__PURE__ */ React.createElement(Header$6, _extends$Q({}, props, {
|
|
25163
25173
|
prefixCls: headerPrefixCls,
|
|
25164
25174
|
onSuperPrev: onPrevYear,
|
|
25165
25175
|
onPrev: onPrevMonth,
|
|
@@ -25201,7 +25211,7 @@ function DatePanel(props) {
|
|
|
25201
25211
|
};
|
|
25202
25212
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25203
25213
|
className: classNames$1(panelPrefixCls, _defineProperty$y({}, "".concat(panelPrefixCls, "-active"), active2))
|
|
25204
|
-
}, /* @__PURE__ */ React.createElement(DateHeader, _extends$
|
|
25214
|
+
}, /* @__PURE__ */ React.createElement(DateHeader, _extends$Q({}, props, {
|
|
25205
25215
|
prefixCls,
|
|
25206
25216
|
value: value2,
|
|
25207
25217
|
viewDate,
|
|
@@ -25223,7 +25233,7 @@ function DatePanel(props) {
|
|
|
25223
25233
|
onYearClick: function onYearClick() {
|
|
25224
25234
|
onPanelChange("year", viewDate);
|
|
25225
25235
|
}
|
|
25226
|
-
})), /* @__PURE__ */ React.createElement(DateBody, _extends$
|
|
25236
|
+
})), /* @__PURE__ */ React.createElement(DateBody, _extends$Q({}, props, {
|
|
25227
25237
|
onSelect: function onSelect(date4) {
|
|
25228
25238
|
return _onSelect(date4, "mouse");
|
|
25229
25239
|
},
|
|
@@ -25296,13 +25306,13 @@ function DatetimePanel(props) {
|
|
|
25296
25306
|
var disabledTimes = disabledTime ? disabledTime(value2 || null) : {};
|
|
25297
25307
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25298
25308
|
className: classNames$1(panelPrefixCls, _defineProperty$y({}, "".concat(panelPrefixCls, "-active"), activePanel))
|
|
25299
|
-
}, /* @__PURE__ */ React.createElement(DatePanel, _extends$
|
|
25309
|
+
}, /* @__PURE__ */ React.createElement(DatePanel, _extends$Q({}, props, {
|
|
25300
25310
|
operationRef: dateOperationRef,
|
|
25301
25311
|
active: activePanel === "date",
|
|
25302
25312
|
onSelect: function onSelect2(date4) {
|
|
25303
25313
|
onInternalSelect(setDateTime(generateConfig2, date4, !value2 && _typeof$r(showTime) === "object" ? showTime.defaultValue : null), "date");
|
|
25304
25314
|
}
|
|
25305
|
-
})), /* @__PURE__ */ React.createElement(TimePanel, _extends$
|
|
25315
|
+
})), /* @__PURE__ */ React.createElement(TimePanel, _extends$Q({}, props, {
|
|
25306
25316
|
format: void 0
|
|
25307
25317
|
}, timeProps, disabledTimes, {
|
|
25308
25318
|
disabledTime: null,
|
|
@@ -25327,7 +25337,7 @@ function WeekPanel(props) {
|
|
|
25327
25337
|
var rowClassName = function rowClassName2(date4) {
|
|
25328
25338
|
return classNames$1(rowPrefixCls, _defineProperty$y({}, "".concat(rowPrefixCls, "-selected"), isSameWeek(generateConfig2, locale2.locale, value2, date4)));
|
|
25329
25339
|
};
|
|
25330
|
-
return /* @__PURE__ */ React.createElement(DatePanel, _extends$
|
|
25340
|
+
return /* @__PURE__ */ React.createElement(DatePanel, _extends$Q({}, props, {
|
|
25331
25341
|
panelName: "week",
|
|
25332
25342
|
prefixColumn,
|
|
25333
25343
|
rowClassName,
|
|
@@ -25343,7 +25353,7 @@ function MonthHeader(props) {
|
|
|
25343
25353
|
return null;
|
|
25344
25354
|
}
|
|
25345
25355
|
var headerPrefixCls = "".concat(prefixCls, "-header");
|
|
25346
|
-
return /* @__PURE__ */ React.createElement(Header$6, _extends$
|
|
25356
|
+
return /* @__PURE__ */ React.createElement(Header$6, _extends$Q({}, props, {
|
|
25347
25357
|
prefixCls: headerPrefixCls,
|
|
25348
25358
|
onSuperPrev: onPrevYear,
|
|
25349
25359
|
onSuperNext: onNextYear
|
|
@@ -25384,7 +25394,7 @@ function MonthBody(props) {
|
|
|
25384
25394
|
var getCellNode = monthCellRender ? function(date4) {
|
|
25385
25395
|
return monthCellRender(date4, locale2);
|
|
25386
25396
|
} : void 0;
|
|
25387
|
-
return /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
25397
|
+
return /* @__PURE__ */ React.createElement(PanelBody, _extends$Q({}, props, {
|
|
25388
25398
|
rowNum: MONTH_ROW_COUNT,
|
|
25389
25399
|
colNum: MONTH_COL_COUNT,
|
|
25390
25400
|
baseDate: baseMonth,
|
|
@@ -25435,7 +25445,7 @@ function MonthPanel(props) {
|
|
|
25435
25445
|
};
|
|
25436
25446
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25437
25447
|
className: panelPrefixCls
|
|
25438
|
-
}, /* @__PURE__ */ React.createElement(MonthHeader, _extends$
|
|
25448
|
+
}, /* @__PURE__ */ React.createElement(MonthHeader, _extends$Q({}, props, {
|
|
25439
25449
|
prefixCls,
|
|
25440
25450
|
onPrevYear: function onPrevYear() {
|
|
25441
25451
|
onYearChange(-1);
|
|
@@ -25446,7 +25456,7 @@ function MonthPanel(props) {
|
|
|
25446
25456
|
onYearClick: function onYearClick() {
|
|
25447
25457
|
onPanelChange("year", viewDate);
|
|
25448
25458
|
}
|
|
25449
|
-
})), /* @__PURE__ */ React.createElement(MonthBody, _extends$
|
|
25459
|
+
})), /* @__PURE__ */ React.createElement(MonthBody, _extends$Q({}, props, {
|
|
25450
25460
|
prefixCls,
|
|
25451
25461
|
onSelect: function onSelect(date4) {
|
|
25452
25462
|
_onSelect(date4, "mouse");
|
|
@@ -25461,7 +25471,7 @@ function QuarterHeader(props) {
|
|
|
25461
25471
|
return null;
|
|
25462
25472
|
}
|
|
25463
25473
|
var headerPrefixCls = "".concat(prefixCls, "-header");
|
|
25464
|
-
return /* @__PURE__ */ React.createElement(Header$6, _extends$
|
|
25474
|
+
return /* @__PURE__ */ React.createElement(Header$6, _extends$Q({}, props, {
|
|
25465
25475
|
prefixCls: headerPrefixCls,
|
|
25466
25476
|
onSuperPrev: onPrevYear,
|
|
25467
25477
|
onSuperNext: onNextYear
|
|
@@ -25498,7 +25508,7 @@ function QuarterBody(props) {
|
|
|
25498
25508
|
}
|
|
25499
25509
|
});
|
|
25500
25510
|
var baseQuarter = generateConfig2.setDate(generateConfig2.setMonth(viewDate, 0), 1);
|
|
25501
|
-
return /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
25511
|
+
return /* @__PURE__ */ React.createElement(PanelBody, _extends$Q({}, props, {
|
|
25502
25512
|
rowNum: QUARTER_ROW_COUNT,
|
|
25503
25513
|
colNum: QUARTER_COL_COUNT,
|
|
25504
25514
|
baseDate: baseQuarter,
|
|
@@ -25547,7 +25557,7 @@ function QuarterPanel(props) {
|
|
|
25547
25557
|
};
|
|
25548
25558
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25549
25559
|
className: panelPrefixCls
|
|
25550
|
-
}, /* @__PURE__ */ React.createElement(QuarterHeader, _extends$
|
|
25560
|
+
}, /* @__PURE__ */ React.createElement(QuarterHeader, _extends$Q({}, props, {
|
|
25551
25561
|
prefixCls,
|
|
25552
25562
|
onPrevYear: function onPrevYear() {
|
|
25553
25563
|
onYearChange(-1);
|
|
@@ -25558,7 +25568,7 @@ function QuarterPanel(props) {
|
|
|
25558
25568
|
onYearClick: function onYearClick() {
|
|
25559
25569
|
onPanelChange("year", viewDate);
|
|
25560
25570
|
}
|
|
25561
|
-
})), /* @__PURE__ */ React.createElement(QuarterBody, _extends$
|
|
25571
|
+
})), /* @__PURE__ */ React.createElement(QuarterBody, _extends$Q({}, props, {
|
|
25562
25572
|
prefixCls,
|
|
25563
25573
|
onSelect: function onSelect(date4) {
|
|
25564
25574
|
_onSelect(date4, "mouse");
|
|
@@ -25575,7 +25585,7 @@ function YearHeader(props) {
|
|
|
25575
25585
|
var yearNumber = generateConfig2.getYear(viewDate);
|
|
25576
25586
|
var startYear = Math.floor(yearNumber / YEAR_DECADE_COUNT) * YEAR_DECADE_COUNT;
|
|
25577
25587
|
var endYear = startYear + YEAR_DECADE_COUNT - 1;
|
|
25578
|
-
return /* @__PURE__ */ React.createElement(Header$6, _extends$
|
|
25588
|
+
return /* @__PURE__ */ React.createElement(Header$6, _extends$Q({}, props, {
|
|
25579
25589
|
prefixCls: headerPrefixCls,
|
|
25580
25590
|
onSuperPrev: onPrevDecade,
|
|
25581
25591
|
onSuperNext: onNextDecade
|
|
@@ -25613,7 +25623,7 @@ function YearBody(props) {
|
|
|
25613
25623
|
return generateConfig2.addYear(date4, offset3);
|
|
25614
25624
|
}
|
|
25615
25625
|
});
|
|
25616
|
-
return /* @__PURE__ */ React.createElement(PanelBody, _extends$
|
|
25626
|
+
return /* @__PURE__ */ React.createElement(PanelBody, _extends$Q({}, props, {
|
|
25617
25627
|
rowNum: YEAR_ROW_COUNT,
|
|
25618
25628
|
colNum: YEAR_COL_COUNT,
|
|
25619
25629
|
baseDate: baseYear,
|
|
@@ -25658,7 +25668,7 @@ function YearPanel(props) {
|
|
|
25658
25668
|
};
|
|
25659
25669
|
return /* @__PURE__ */ React.createElement("div", {
|
|
25660
25670
|
className: panelPrefixCls
|
|
25661
|
-
}, /* @__PURE__ */ React.createElement(YearHeader, _extends$
|
|
25671
|
+
}, /* @__PURE__ */ React.createElement(YearHeader, _extends$Q({}, props, {
|
|
25662
25672
|
prefixCls,
|
|
25663
25673
|
onPrevDecade: function onPrevDecade() {
|
|
25664
25674
|
onDecadeChange(-1);
|
|
@@ -25669,7 +25679,7 @@ function YearPanel(props) {
|
|
|
25669
25679
|
onDecadeClick: function onDecadeClick() {
|
|
25670
25680
|
onPanelChange("decade", viewDate);
|
|
25671
25681
|
}
|
|
25672
|
-
})), /* @__PURE__ */ React.createElement(YearBody, _extends$
|
|
25682
|
+
})), /* @__PURE__ */ React.createElement(YearBody, _extends$Q({}, props, {
|
|
25673
25683
|
prefixCls,
|
|
25674
25684
|
onSelect: function onSelect(date4) {
|
|
25675
25685
|
onPanelChange(sourceMode === "date" ? "date" : "month", date4);
|
|
@@ -25864,7 +25874,7 @@ function PickerPanel(props) {
|
|
|
25864
25874
|
delete pickerProps.onSelect;
|
|
25865
25875
|
switch (mergedMode) {
|
|
25866
25876
|
case "decade":
|
|
25867
|
-
panelNode = /* @__PURE__ */ React.createElement(DecadePanel, _extends$
|
|
25877
|
+
panelNode = /* @__PURE__ */ React.createElement(DecadePanel, _extends$Q({}, pickerProps, {
|
|
25868
25878
|
onSelect: function onSelect2(date4, type4) {
|
|
25869
25879
|
setViewDate(date4);
|
|
25870
25880
|
triggerSelect(date4, type4);
|
|
@@ -25872,7 +25882,7 @@ function PickerPanel(props) {
|
|
|
25872
25882
|
}));
|
|
25873
25883
|
break;
|
|
25874
25884
|
case "year":
|
|
25875
|
-
panelNode = /* @__PURE__ */ React.createElement(YearPanel, _extends$
|
|
25885
|
+
panelNode = /* @__PURE__ */ React.createElement(YearPanel, _extends$Q({}, pickerProps, {
|
|
25876
25886
|
onSelect: function onSelect2(date4, type4) {
|
|
25877
25887
|
setViewDate(date4);
|
|
25878
25888
|
triggerSelect(date4, type4);
|
|
@@ -25880,7 +25890,7 @@ function PickerPanel(props) {
|
|
|
25880
25890
|
}));
|
|
25881
25891
|
break;
|
|
25882
25892
|
case "month":
|
|
25883
|
-
panelNode = /* @__PURE__ */ React.createElement(MonthPanel, _extends$
|
|
25893
|
+
panelNode = /* @__PURE__ */ React.createElement(MonthPanel, _extends$Q({}, pickerProps, {
|
|
25884
25894
|
onSelect: function onSelect2(date4, type4) {
|
|
25885
25895
|
setViewDate(date4);
|
|
25886
25896
|
triggerSelect(date4, type4);
|
|
@@ -25888,7 +25898,7 @@ function PickerPanel(props) {
|
|
|
25888
25898
|
}));
|
|
25889
25899
|
break;
|
|
25890
25900
|
case "quarter":
|
|
25891
|
-
panelNode = /* @__PURE__ */ React.createElement(QuarterPanel, _extends$
|
|
25901
|
+
panelNode = /* @__PURE__ */ React.createElement(QuarterPanel, _extends$Q({}, pickerProps, {
|
|
25892
25902
|
onSelect: function onSelect2(date4, type4) {
|
|
25893
25903
|
setViewDate(date4);
|
|
25894
25904
|
triggerSelect(date4, type4);
|
|
@@ -25896,7 +25906,7 @@ function PickerPanel(props) {
|
|
|
25896
25906
|
}));
|
|
25897
25907
|
break;
|
|
25898
25908
|
case "week":
|
|
25899
|
-
panelNode = /* @__PURE__ */ React.createElement(WeekPanel, _extends$
|
|
25909
|
+
panelNode = /* @__PURE__ */ React.createElement(WeekPanel, _extends$Q({}, pickerProps, {
|
|
25900
25910
|
onSelect: function onSelect2(date4, type4) {
|
|
25901
25911
|
setViewDate(date4);
|
|
25902
25912
|
triggerSelect(date4, type4);
|
|
@@ -25905,7 +25915,7 @@ function PickerPanel(props) {
|
|
|
25905
25915
|
break;
|
|
25906
25916
|
case "time":
|
|
25907
25917
|
delete pickerProps.showTime;
|
|
25908
|
-
panelNode = /* @__PURE__ */ React.createElement(TimePanel, _extends$
|
|
25918
|
+
panelNode = /* @__PURE__ */ React.createElement(TimePanel, _extends$Q({}, pickerProps, _typeof$r(showTime) === "object" ? showTime : null, {
|
|
25909
25919
|
onSelect: function onSelect2(date4, type4) {
|
|
25910
25920
|
setViewDate(date4);
|
|
25911
25921
|
triggerSelect(date4, type4);
|
|
@@ -25914,14 +25924,14 @@ function PickerPanel(props) {
|
|
|
25914
25924
|
break;
|
|
25915
25925
|
default:
|
|
25916
25926
|
if (showTime) {
|
|
25917
|
-
panelNode = /* @__PURE__ */ React.createElement(DatetimePanel, _extends$
|
|
25927
|
+
panelNode = /* @__PURE__ */ React.createElement(DatetimePanel, _extends$Q({}, pickerProps, {
|
|
25918
25928
|
onSelect: function onSelect2(date4, type4) {
|
|
25919
25929
|
setViewDate(date4);
|
|
25920
25930
|
triggerSelect(date4, type4);
|
|
25921
25931
|
}
|
|
25922
25932
|
}));
|
|
25923
25933
|
} else {
|
|
25924
|
-
panelNode = /* @__PURE__ */ React.createElement(DatePanel, _extends$
|
|
25934
|
+
panelNode = /* @__PURE__ */ React.createElement(DatePanel, _extends$Q({}, pickerProps, {
|
|
25925
25935
|
onSelect: function onSelect2(date4, type4) {
|
|
25926
25936
|
setViewDate(date4);
|
|
25927
25937
|
triggerSelect(date4, type4);
|
|
@@ -26453,7 +26463,7 @@ function InnerPicker(props) {
|
|
|
26453
26463
|
onPickerValueChange: void 0,
|
|
26454
26464
|
onChange: null
|
|
26455
26465
|
});
|
|
26456
|
-
var panelNode = /* @__PURE__ */ React.createElement(PickerPanel, _extends$
|
|
26466
|
+
var panelNode = /* @__PURE__ */ React.createElement(PickerPanel, _extends$Q({}, panelProps, {
|
|
26457
26467
|
generateConfig: generateConfig2,
|
|
26458
26468
|
className: classNames$1(_defineProperty$y({}, "".concat(prefixCls, "-panel-focused"), !typing)),
|
|
26459
26469
|
value: selectedValue,
|
|
@@ -26593,7 +26603,7 @@ var Picker = /* @__PURE__ */ function(_React$Component) {
|
|
|
26593
26603
|
_createClass$p(Picker2, [{
|
|
26594
26604
|
key: "render",
|
|
26595
26605
|
value: function render2() {
|
|
26596
|
-
return /* @__PURE__ */ React.createElement(InnerPicker, _extends$
|
|
26606
|
+
return /* @__PURE__ */ React.createElement(InnerPicker, _extends$Q({}, this.props, {
|
|
26597
26607
|
pickerRef: this.pickerRef
|
|
26598
26608
|
}));
|
|
26599
26609
|
}
|
|
@@ -27163,7 +27173,7 @@ function InnerRangePicker(props) {
|
|
|
27163
27173
|
rangedValue: rangeHoverValue || selectedValue,
|
|
27164
27174
|
hoverRangedValue: panelHoverRangedValue
|
|
27165
27175
|
}
|
|
27166
|
-
}, /* @__PURE__ */ React.createElement(PickerPanel, _extends$
|
|
27176
|
+
}, /* @__PURE__ */ React.createElement(PickerPanel, _extends$Q({}, props, panelProps, {
|
|
27167
27177
|
dateRender: panelDateRender,
|
|
27168
27178
|
showTime: panelShowTime,
|
|
27169
27179
|
mode: mergedModes[mergedActivePickerIndex],
|
|
@@ -27371,7 +27381,7 @@ function InnerRangePicker(props) {
|
|
|
27371
27381
|
transitionName: transitionName2,
|
|
27372
27382
|
range: true,
|
|
27373
27383
|
direction
|
|
27374
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
27384
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$Q({
|
|
27375
27385
|
ref: containerRef,
|
|
27376
27386
|
className: classNames$1(prefixCls, "".concat(prefixCls, "-range"), className, (_classNames2 = {}, _defineProperty$y(_classNames2, "".concat(prefixCls, "-disabled"), mergedDisabled[0] && mergedDisabled[1]), _defineProperty$y(_classNames2, "".concat(prefixCls, "-focused"), mergedActivePickerIndex === 0 ? startFocused : endFocused), _defineProperty$y(_classNames2, "".concat(prefixCls, "-rtl"), direction === "rtl"), _classNames2)),
|
|
27377
27387
|
style: style2,
|
|
@@ -27383,7 +27393,7 @@ function InnerRangePicker(props) {
|
|
|
27383
27393
|
}, getDataOrAriaProps(props)), /* @__PURE__ */ React.createElement("div", {
|
|
27384
27394
|
className: classNames$1("".concat(prefixCls, "-input"), (_classNames3 = {}, _defineProperty$y(_classNames3, "".concat(prefixCls, "-input-active"), mergedActivePickerIndex === 0), _defineProperty$y(_classNames3, "".concat(prefixCls, "-input-placeholder"), !!startHoverValue), _classNames3)),
|
|
27385
27395
|
ref: startInputDivRef
|
|
27386
|
-
}, /* @__PURE__ */ React.createElement("input", _extends$
|
|
27396
|
+
}, /* @__PURE__ */ React.createElement("input", _extends$Q({
|
|
27387
27397
|
id: id2,
|
|
27388
27398
|
disabled: mergedDisabled[0],
|
|
27389
27399
|
readOnly: inputReadOnly || typeof formatList[0] === "function" || !startTyping,
|
|
@@ -27402,7 +27412,7 @@ function InnerRangePicker(props) {
|
|
|
27402
27412
|
}, separator), /* @__PURE__ */ React.createElement("div", {
|
|
27403
27413
|
className: classNames$1("".concat(prefixCls, "-input"), (_classNames4 = {}, _defineProperty$y(_classNames4, "".concat(prefixCls, "-input-active"), mergedActivePickerIndex === 1), _defineProperty$y(_classNames4, "".concat(prefixCls, "-input-placeholder"), !!endHoverValue), _classNames4)),
|
|
27404
27414
|
ref: endInputDivRef
|
|
27405
|
-
}, /* @__PURE__ */ React.createElement("input", _extends$
|
|
27415
|
+
}, /* @__PURE__ */ React.createElement("input", _extends$Q({
|
|
27406
27416
|
disabled: mergedDisabled[1],
|
|
27407
27417
|
readOnly: inputReadOnly || typeof formatList[0] === "function" || !endTyping,
|
|
27408
27418
|
value: endHoverValue || endText,
|
|
@@ -27447,7 +27457,7 @@ var RangePicker$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
27447
27457
|
_createClass$p(RangePicker2, [{
|
|
27448
27458
|
key: "render",
|
|
27449
27459
|
value: function render2() {
|
|
27450
|
-
return /* @__PURE__ */ React.createElement(InnerRangePicker, _extends$
|
|
27460
|
+
return /* @__PURE__ */ React.createElement(InnerRangePicker, _extends$Q({}, this.props, {
|
|
27451
27461
|
pickerRef: this.pickerRef
|
|
27452
27462
|
}));
|
|
27453
27463
|
}
|
|
@@ -27513,7 +27523,7 @@ var Checkbox = /* @__PURE__ */ function(_Component) {
|
|
|
27513
27523
|
key: "render",
|
|
27514
27524
|
value: function render2() {
|
|
27515
27525
|
var _classNames;
|
|
27516
|
-
var _this$props2 = this.props, prefixCls = _this$props2.prefixCls, className = _this$props2.className, style2 = _this$props2.style, name = _this$props2.name, id2 = _this$props2.id, type4 = _this$props2.type, disabled2 = _this$props2.disabled, readOnly2 = _this$props2.readOnly, tabIndex = _this$props2.tabIndex, onClick = _this$props2.onClick, onFocus3 = _this$props2.onFocus, onBlur2 = _this$props2.onBlur, onKeyDown2 = _this$props2.onKeyDown, onKeyPress2 = _this$props2.onKeyPress, onKeyUp2 = _this$props2.onKeyUp, autoFocus = _this$props2.autoFocus, value2 = _this$props2.value, required4 = _this$props2.required, others = _objectWithoutProperties$
|
|
27526
|
+
var _this$props2 = this.props, prefixCls = _this$props2.prefixCls, className = _this$props2.className, style2 = _this$props2.style, name = _this$props2.name, id2 = _this$props2.id, type4 = _this$props2.type, disabled2 = _this$props2.disabled, readOnly2 = _this$props2.readOnly, tabIndex = _this$props2.tabIndex, onClick = _this$props2.onClick, onFocus3 = _this$props2.onFocus, onBlur2 = _this$props2.onBlur, onKeyDown2 = _this$props2.onKeyDown, onKeyPress2 = _this$props2.onKeyPress, onKeyUp2 = _this$props2.onKeyUp, autoFocus = _this$props2.autoFocus, value2 = _this$props2.value, required4 = _this$props2.required, others = _objectWithoutProperties$w(_this$props2, ["prefixCls", "className", "style", "name", "id", "type", "disabled", "readOnly", "tabIndex", "onClick", "onFocus", "onBlur", "onKeyDown", "onKeyPress", "onKeyUp", "autoFocus", "value", "required"]);
|
|
27517
27527
|
var globalProps = Object.keys(others).reduce(function(prev2, key2) {
|
|
27518
27528
|
if (key2.substr(0, 5) === "aria-" || key2.substr(0, 5) === "data-" || key2 === "role") {
|
|
27519
27529
|
prev2[key2] = others[key2];
|
|
@@ -27525,7 +27535,7 @@ var Checkbox = /* @__PURE__ */ function(_Component) {
|
|
|
27525
27535
|
return /* @__PURE__ */ React__default.createElement("span", {
|
|
27526
27536
|
className: classString,
|
|
27527
27537
|
style: style2
|
|
27528
|
-
}, /* @__PURE__ */ React__default.createElement("input", _extends$
|
|
27538
|
+
}, /* @__PURE__ */ React__default.createElement("input", _extends$Q({
|
|
27529
27539
|
name,
|
|
27530
27540
|
id: id2,
|
|
27531
27541
|
type: type4,
|
|
@@ -27609,7 +27619,7 @@ var InternalRadio = function InternalRadio2(props, ref) {
|
|
|
27609
27619
|
var customizePrefixCls = props.prefixCls, className = props.className, children = props.children, style2 = props.style, customDisabled = props.disabled, restProps = __rest$9(props, ["prefixCls", "className", "children", "style", "disabled"]);
|
|
27610
27620
|
var radioPrefixCls = getPrefixCls("radio", customizePrefixCls);
|
|
27611
27621
|
var prefixCls = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === "button" ? "".concat(radioPrefixCls, "-button") : radioPrefixCls;
|
|
27612
|
-
var radioProps = _extends$
|
|
27622
|
+
var radioProps = _extends$Q({}, restProps);
|
|
27613
27623
|
var disabled2 = React.useContext(DisabledContext$1);
|
|
27614
27624
|
radioProps.disabled = customDisabled || disabled2;
|
|
27615
27625
|
if (groupContext) {
|
|
@@ -27624,7 +27634,7 @@ var InternalRadio = function InternalRadio2(props, ref) {
|
|
|
27624
27634
|
style: style2,
|
|
27625
27635
|
onMouseEnter: props.onMouseEnter,
|
|
27626
27636
|
onMouseLeave: props.onMouseLeave
|
|
27627
|
-
}, /* @__PURE__ */ React.createElement(Checkbox, _extends$
|
|
27637
|
+
}, /* @__PURE__ */ React.createElement(Checkbox, _extends$Q({}, radioProps, {
|
|
27628
27638
|
type: "radio",
|
|
27629
27639
|
prefixCls,
|
|
27630
27640
|
ref: mergedRef
|
|
@@ -27677,7 +27687,7 @@ var RadioGroup = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27677
27687
|
}
|
|
27678
27688
|
var mergedSize = customizeSize || size;
|
|
27679
27689
|
var classString = classNames$1(groupPrefixCls, "".concat(groupPrefixCls, "-").concat(buttonStyle), (_classNames = {}, _defineProperty$y(_classNames, "".concat(groupPrefixCls, "-").concat(mergedSize), mergedSize), _defineProperty$y(_classNames, "".concat(groupPrefixCls, "-rtl"), direction === "rtl"), _classNames), className);
|
|
27680
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
27690
|
+
return /* @__PURE__ */ React.createElement("div", _extends$Q({}, getDataOrAriaProps$1(props), {
|
|
27681
27691
|
className: classString,
|
|
27682
27692
|
style: style2,
|
|
27683
27693
|
onMouseEnter,
|
|
@@ -27715,7 +27725,7 @@ var RadioButton$1 = function RadioButton(props, ref) {
|
|
|
27715
27725
|
var prefixCls = getPrefixCls("radio", customizePrefixCls);
|
|
27716
27726
|
return /* @__PURE__ */ React.createElement(RadioOptionTypeContextProvider, {
|
|
27717
27727
|
value: "button"
|
|
27718
|
-
}, /* @__PURE__ */ React.createElement(InternalRadio$1, _extends$
|
|
27728
|
+
}, /* @__PURE__ */ React.createElement(InternalRadio$1, _extends$Q({
|
|
27719
27729
|
prefixCls
|
|
27720
27730
|
}, radioProps, {
|
|
27721
27731
|
type: "radio",
|
|
@@ -27859,7 +27869,7 @@ var Col = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27859
27869
|
sizeProps = propSize || {};
|
|
27860
27870
|
}
|
|
27861
27871
|
delete others[size];
|
|
27862
|
-
sizeClassObj = _extends$
|
|
27872
|
+
sizeClassObj = _extends$Q(_extends$Q({}, sizeClassObj), (_extends2 = {}, _defineProperty$y(_extends2, "".concat(prefixCls, "-").concat(size, "-").concat(sizeProps.span), sizeProps.span !== void 0), _defineProperty$y(_extends2, "".concat(prefixCls, "-").concat(size, "-order-").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty$y(_extends2, "".concat(prefixCls, "-").concat(size, "-offset-").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty$y(_extends2, "".concat(prefixCls, "-").concat(size, "-push-").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty$y(_extends2, "".concat(prefixCls, "-").concat(size, "-pull-").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty$y(_extends2, "".concat(prefixCls, "-rtl"), direction === "rtl"), _extends2));
|
|
27863
27873
|
});
|
|
27864
27874
|
var classes = classNames$1(prefixCls, (_classNames = {}, _defineProperty$y(_classNames, "".concat(prefixCls, "-").concat(span), span !== void 0), _defineProperty$y(_classNames, "".concat(prefixCls, "-order-").concat(order), order), _defineProperty$y(_classNames, "".concat(prefixCls, "-offset-").concat(offset3), offset3), _defineProperty$y(_classNames, "".concat(prefixCls, "-push-").concat(push2), push2), _defineProperty$y(_classNames, "".concat(prefixCls, "-pull-").concat(pull), pull), _classNames), className, sizeClassObj);
|
|
27865
27875
|
var mergedStyle = {};
|
|
@@ -27879,8 +27889,8 @@ var Col = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27879
27889
|
mergedStyle.minWidth = 0;
|
|
27880
27890
|
}
|
|
27881
27891
|
}
|
|
27882
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
27883
|
-
style: _extends$
|
|
27892
|
+
return /* @__PURE__ */ React.createElement("div", _extends$Q({}, others, {
|
|
27893
|
+
style: _extends$Q(_extends$Q({}, mergedStyle), style2),
|
|
27884
27894
|
className: classes,
|
|
27885
27895
|
ref
|
|
27886
27896
|
}), children);
|
|
@@ -28006,15 +28016,15 @@ var Row = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28006
28016
|
}, [gutterH, gutterV, wrap2, supportFlexGap]);
|
|
28007
28017
|
return /* @__PURE__ */ React.createElement(RowContext$1.Provider, {
|
|
28008
28018
|
value: rowContext
|
|
28009
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
28019
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$Q({}, others, {
|
|
28010
28020
|
className: classes,
|
|
28011
|
-
style: _extends$
|
|
28021
|
+
style: _extends$Q(_extends$Q({}, rowStyle), style2),
|
|
28012
28022
|
ref
|
|
28013
28023
|
}), children));
|
|
28014
28024
|
});
|
|
28015
28025
|
var Row$1 = Row;
|
|
28016
28026
|
function PickerButton(props) {
|
|
28017
|
-
return /* @__PURE__ */ React.createElement(Button$2, _extends$
|
|
28027
|
+
return /* @__PURE__ */ React.createElement(Button$2, _extends$Q({
|
|
28018
28028
|
size: "small",
|
|
28019
28029
|
type: "primary"
|
|
28020
28030
|
}, props));
|
|
@@ -28041,7 +28051,7 @@ var CheckableTag = function CheckableTag2(_a2) {
|
|
|
28041
28051
|
};
|
|
28042
28052
|
var prefixCls = getPrefixCls("tag", customizePrefixCls);
|
|
28043
28053
|
var cls = classNames$1(prefixCls, (_classNames = {}, _defineProperty$y(_classNames, "".concat(prefixCls, "-checkable"), true), _defineProperty$y(_classNames, "".concat(prefixCls, "-checkable-checked"), checked), _classNames), className);
|
|
28044
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
28054
|
+
return /* @__PURE__ */ React.createElement("span", _extends$Q({}, restProps, {
|
|
28045
28055
|
className: cls,
|
|
28046
28056
|
onClick: handleClick
|
|
28047
28057
|
}));
|
|
@@ -28077,7 +28087,7 @@ var InternalTag = function InternalTag2(_a2, ref) {
|
|
|
28077
28087
|
}
|
|
28078
28088
|
return PresetColorRegex.test(color2) || PresetStatusColorRegex.test(color2);
|
|
28079
28089
|
};
|
|
28080
|
-
var tagStyle = _extends$
|
|
28090
|
+
var tagStyle = _extends$Q({
|
|
28081
28091
|
backgroundColor: color2 && !isPresetColor() ? color2 : void 0
|
|
28082
28092
|
}, style2);
|
|
28083
28093
|
var presetColor = isPresetColor();
|
|
@@ -28109,7 +28119,7 @@ var InternalTag = function InternalTag2(_a2, ref) {
|
|
|
28109
28119
|
var tagProps = omit(props, ["visible"]);
|
|
28110
28120
|
var iconNode = icon2 || null;
|
|
28111
28121
|
var kids = iconNode ? /* @__PURE__ */ React.createElement(React.Fragment, null, iconNode, /* @__PURE__ */ React.createElement("span", null, children)) : children;
|
|
28112
|
-
var tagNode = /* @__PURE__ */ React.createElement("span", _extends$
|
|
28122
|
+
var tagNode = /* @__PURE__ */ React.createElement("span", _extends$Q({}, tagProps, {
|
|
28113
28123
|
ref,
|
|
28114
28124
|
className: tagClassName,
|
|
28115
28125
|
style: tagStyle
|
|
@@ -28120,7 +28130,7 @@ var Tag$2 = /* @__PURE__ */ React.forwardRef(InternalTag);
|
|
|
28120
28130
|
Tag$2.CheckableTag = CheckableTag$1;
|
|
28121
28131
|
var Tag$3 = Tag$2;
|
|
28122
28132
|
function PickerTag(props) {
|
|
28123
|
-
return /* @__PURE__ */ React.createElement(Tag$3, _extends$
|
|
28133
|
+
return /* @__PURE__ */ React.createElement(Tag$3, _extends$Q({
|
|
28124
28134
|
color: "blue"
|
|
28125
28135
|
}, props));
|
|
28126
28136
|
}
|
|
@@ -28261,10 +28271,10 @@ function generateRangePicker(generateConfig2) {
|
|
|
28261
28271
|
var format3 = props.format, showTime = props.showTime, picker2 = props.picker;
|
|
28262
28272
|
var rootPrefixCls = getPrefixCls();
|
|
28263
28273
|
var additionalOverrideProps = {};
|
|
28264
|
-
additionalOverrideProps = _extends$
|
|
28274
|
+
additionalOverrideProps = _extends$Q(_extends$Q(_extends$Q({}, additionalOverrideProps), showTime ? getTimeProps(_extends$Q({
|
|
28265
28275
|
format: format3,
|
|
28266
28276
|
picker: picker2
|
|
28267
|
-
}, showTime)) : {}), picker2 === "time" ? getTimeProps(_extends$
|
|
28277
|
+
}, showTime)) : {}), picker2 === "time" ? getTimeProps(_extends$Q(_extends$Q({
|
|
28268
28278
|
format: format3
|
|
28269
28279
|
}, props), {
|
|
28270
28280
|
picker: picker2
|
|
@@ -28293,8 +28303,8 @@ function generateRangePicker(generateConfig2) {
|
|
|
28293
28303
|
defaultLocale: enUS
|
|
28294
28304
|
}, function(contextLocale) {
|
|
28295
28305
|
var _classNames;
|
|
28296
|
-
var locale2 = _extends$
|
|
28297
|
-
return /* @__PURE__ */ React.createElement(RangePicker$1, _extends$
|
|
28306
|
+
var locale2 = _extends$Q(_extends$Q({}, contextLocale), props.locale);
|
|
28307
|
+
return /* @__PURE__ */ React.createElement(RangePicker$1, _extends$Q({
|
|
28298
28308
|
separator: /* @__PURE__ */ React.createElement("span", {
|
|
28299
28309
|
"aria-label": "to",
|
|
28300
28310
|
className: "".concat(prefixCls, "-separator")
|
|
@@ -28374,10 +28384,10 @@ function generatePicker$1(generateConfig2) {
|
|
|
28374
28384
|
additionalOverrideProps.picker = picker2;
|
|
28375
28385
|
}
|
|
28376
28386
|
var mergedPicker = picker2 || props.picker;
|
|
28377
|
-
additionalOverrideProps = _extends$
|
|
28387
|
+
additionalOverrideProps = _extends$Q(_extends$Q(_extends$Q({}, additionalOverrideProps), showTime ? getTimeProps(_extends$Q({
|
|
28378
28388
|
format: format3,
|
|
28379
28389
|
picker: mergedPicker
|
|
28380
|
-
}, showTime)) : {}), mergedPicker === "time" ? getTimeProps(_extends$
|
|
28390
|
+
}, showTime)) : {}), mergedPicker === "time" ? getTimeProps(_extends$Q(_extends$Q({
|
|
28381
28391
|
format: format3
|
|
28382
28392
|
}, props), {
|
|
28383
28393
|
picker: mergedPicker
|
|
@@ -28395,8 +28405,8 @@ function generatePicker$1(generateConfig2) {
|
|
|
28395
28405
|
defaultLocale: enUS
|
|
28396
28406
|
}, function(contextLocale) {
|
|
28397
28407
|
var _classNames;
|
|
28398
|
-
var locale2 = _extends$
|
|
28399
|
-
return /* @__PURE__ */ React.createElement(Picker, _extends$
|
|
28408
|
+
var locale2 = _extends$Q(_extends$Q({}, contextLocale), props.locale);
|
|
28409
|
+
return /* @__PURE__ */ React.createElement(Picker, _extends$Q({
|
|
28400
28410
|
ref: innerRef,
|
|
28401
28411
|
placeholder: getPlaceholder(mergedPicker, locale2, placeholder),
|
|
28402
28412
|
suffixIcon: suffixNode,
|
|
@@ -28462,7 +28472,7 @@ function toArray$2(list) {
|
|
|
28462
28472
|
function getTimeProps(props) {
|
|
28463
28473
|
var format3 = props.format, picker2 = props.picker, showHour = props.showHour, showMinute = props.showMinute, showSecond = props.showSecond, use12Hours = props.use12Hours;
|
|
28464
28474
|
var firstFormat = toArray$2(format3)[0];
|
|
28465
|
-
var showTimeObj = _extends$
|
|
28475
|
+
var showTimeObj = _extends$Q({}, props);
|
|
28466
28476
|
if (firstFormat && typeof firstFormat === "string") {
|
|
28467
28477
|
if (!firstFormat.includes("s") && showSecond === void 0) {
|
|
28468
28478
|
showTimeObj.showSecond = false;
|
|
@@ -28703,7 +28713,7 @@ function Mask(props) {
|
|
|
28703
28713
|
leavedClassName: "".concat(prefixCls, "-mask-hidden")
|
|
28704
28714
|
}, function(_ref3, ref) {
|
|
28705
28715
|
var motionClassName = _ref3.className, motionStyle = _ref3.style;
|
|
28706
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
28716
|
+
return /* @__PURE__ */ React.createElement("div", _extends$Q({
|
|
28707
28717
|
ref,
|
|
28708
28718
|
style: _objectSpread2$4(_objectSpread2$4({}, motionStyle), style2),
|
|
28709
28719
|
className: classNames$1("".concat(prefixCls, "-mask"), motionClassName)
|
|
@@ -28809,7 +28819,7 @@ var Panel = /* @__PURE__ */ React__default.forwardRef(function(props, ref) {
|
|
|
28809
28819
|
}
|
|
28810
28820
|
var content2 = /* @__PURE__ */ React__default.createElement("div", {
|
|
28811
28821
|
className: "".concat(prefixCls, "-content")
|
|
28812
|
-
}, closer, headerNode, /* @__PURE__ */ React__default.createElement("div", _extends$
|
|
28822
|
+
}, closer, headerNode, /* @__PURE__ */ React__default.createElement("div", _extends$Q({
|
|
28813
28823
|
className: "".concat(prefixCls, "-body"),
|
|
28814
28824
|
style: bodyStyle
|
|
28815
28825
|
}, bodyProps), children), footerNode);
|
|
@@ -28860,7 +28870,7 @@ var Content = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28860
28870
|
ref: dialogRef
|
|
28861
28871
|
}, function(_ref3, motionRef) {
|
|
28862
28872
|
var motionClassName = _ref3.className, motionStyle = _ref3.style;
|
|
28863
|
-
return /* @__PURE__ */ React.createElement(Panel, _extends$
|
|
28873
|
+
return /* @__PURE__ */ React.createElement(Panel, _extends$Q({}, props, {
|
|
28864
28874
|
ref,
|
|
28865
28875
|
title: title2,
|
|
28866
28876
|
ariaId,
|
|
@@ -28956,7 +28966,7 @@ function Dialog(props) {
|
|
|
28956
28966
|
clearTimeout(contentTimeoutRef.current);
|
|
28957
28967
|
};
|
|
28958
28968
|
}, []);
|
|
28959
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
28969
|
+
return /* @__PURE__ */ React.createElement("div", _extends$Q({
|
|
28960
28970
|
className: classNames$1("".concat(prefixCls, "-root"), rootClassName)
|
|
28961
28971
|
}, pickAttrs(props, {
|
|
28962
28972
|
data: true
|
|
@@ -28968,7 +28978,7 @@ function Dialog(props) {
|
|
|
28968
28978
|
zIndex
|
|
28969
28979
|
}, maskStyle),
|
|
28970
28980
|
maskProps
|
|
28971
|
-
}), /* @__PURE__ */ React.createElement("div", _extends$
|
|
28981
|
+
}), /* @__PURE__ */ React.createElement("div", _extends$Q({
|
|
28972
28982
|
tabIndex: -1,
|
|
28973
28983
|
onKeyDown: onWrapperKeyDown,
|
|
28974
28984
|
className: classNames$1("".concat(prefixCls, "-wrap"), wrapClassName),
|
|
@@ -28979,7 +28989,7 @@ function Dialog(props) {
|
|
|
28979
28989
|
}, wrapStyle), {}, {
|
|
28980
28990
|
display: !animatedVisible ? "none" : null
|
|
28981
28991
|
})
|
|
28982
|
-
}, wrapProps), /* @__PURE__ */ React.createElement(Content, _extends$
|
|
28992
|
+
}, wrapProps), /* @__PURE__ */ React.createElement(Content, _extends$Q({}, props, {
|
|
28983
28993
|
onMouseDown: onContentMouseDown,
|
|
28984
28994
|
onMouseUp: onContentMouseUp,
|
|
28985
28995
|
ref: contentRef,
|
|
@@ -29008,7 +29018,7 @@ var DialogWrap = function DialogWrap2(props) {
|
|
|
29008
29018
|
autoDestroy: false,
|
|
29009
29019
|
getContainer: getContainer2,
|
|
29010
29020
|
autoLock: visible || animatedVisible
|
|
29011
|
-
}, /* @__PURE__ */ React.createElement(Dialog, _extends$
|
|
29021
|
+
}, /* @__PURE__ */ React.createElement(Dialog, _extends$Q({}, props, {
|
|
29012
29022
|
destroyOnClose,
|
|
29013
29023
|
afterClose: function afterClose() {
|
|
29014
29024
|
_afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();
|
|
@@ -29088,7 +29098,7 @@ var ActionButton = function ActionButton2(props) {
|
|
|
29088
29098
|
handlePromiseOnOk(returnValueOfOnOk);
|
|
29089
29099
|
};
|
|
29090
29100
|
var type4 = props.type, children = props.children, prefixCls = props.prefixCls, buttonProps = props.buttonProps;
|
|
29091
|
-
return /* @__PURE__ */ React.createElement(Button$2, _extends$
|
|
29101
|
+
return /* @__PURE__ */ React.createElement(Button$2, _extends$Q({}, convertLegacyProps(type4), {
|
|
29092
29102
|
onClick,
|
|
29093
29103
|
loading,
|
|
29094
29104
|
prefixCls
|
|
@@ -29142,9 +29152,9 @@ var Modal$2 = function Modal(props) {
|
|
|
29142
29152
|
defaultLocale: getConfirmLocale()
|
|
29143
29153
|
}, function(contextLocale) {
|
|
29144
29154
|
var okText = props.okText, _props$okType = props.okType, okType = _props$okType === void 0 ? "primary" : _props$okType, cancelText = props.cancelText, _props$confirmLoading = props.confirmLoading, confirmLoading = _props$confirmLoading === void 0 ? false : _props$confirmLoading;
|
|
29145
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Button$2, _extends$
|
|
29155
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Button$2, _extends$Q({
|
|
29146
29156
|
onClick: handleCancel
|
|
29147
|
-
}, props.cancelButtonProps), cancelText || contextLocale.cancelText), /* @__PURE__ */ React.createElement(Button$2, _extends$
|
|
29157
|
+
}, props.cancelButtonProps), cancelText || contextLocale.cancelText), /* @__PURE__ */ React.createElement(Button$2, _extends$Q({}, convertLegacyProps(okType), {
|
|
29148
29158
|
loading: confirmLoading,
|
|
29149
29159
|
onClick: handleOk
|
|
29150
29160
|
}, props.okButtonProps), okText !== null && okText !== void 0 ? okText : contextLocale.okText));
|
|
@@ -29158,7 +29168,7 @@ var Modal$2 = function Modal(props) {
|
|
|
29158
29168
|
return /* @__PURE__ */ React.createElement(NoCompactStyle, null, /* @__PURE__ */ React.createElement(NoFormStyle, {
|
|
29159
29169
|
status: true,
|
|
29160
29170
|
override: true
|
|
29161
|
-
}, /* @__PURE__ */ React.createElement(DialogWrap, _extends$
|
|
29171
|
+
}, /* @__PURE__ */ React.createElement(DialogWrap, _extends$Q({
|
|
29162
29172
|
width
|
|
29163
29173
|
}, restProps, {
|
|
29164
29174
|
getContainer: getContainer2 === void 0 ? getContextPopupContainer : getContainer2,
|
|
@@ -29266,7 +29276,7 @@ function getRootPrefixCls() {
|
|
|
29266
29276
|
}
|
|
29267
29277
|
function confirm$1(config2) {
|
|
29268
29278
|
var container2 = document.createDocumentFragment();
|
|
29269
|
-
var currentConfig = _extends$
|
|
29279
|
+
var currentConfig = _extends$Q(_extends$Q({}, config2), {
|
|
29270
29280
|
close: close3,
|
|
29271
29281
|
open: true
|
|
29272
29282
|
});
|
|
@@ -29300,7 +29310,7 @@ function confirm$1(config2) {
|
|
|
29300
29310
|
var rootPrefixCls = getPrefixCls(void 0, getRootPrefixCls());
|
|
29301
29311
|
var prefixCls = customizePrefixCls || "".concat(rootPrefixCls, "-modal");
|
|
29302
29312
|
var iconPrefixCls = getIconPrefixCls();
|
|
29303
|
-
render(/* @__PURE__ */ React.createElement(ConfirmDialog$1, _extends$
|
|
29313
|
+
render(/* @__PURE__ */ React.createElement(ConfirmDialog$1, _extends$Q({}, props, {
|
|
29304
29314
|
prefixCls,
|
|
29305
29315
|
rootPrefixCls,
|
|
29306
29316
|
iconPrefixCls,
|
|
@@ -29314,7 +29324,7 @@ function confirm$1(config2) {
|
|
|
29314
29324
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
29315
29325
|
args[_key2] = arguments[_key2];
|
|
29316
29326
|
}
|
|
29317
|
-
currentConfig = _extends$
|
|
29327
|
+
currentConfig = _extends$Q(_extends$Q({}, currentConfig), {
|
|
29318
29328
|
open: false,
|
|
29319
29329
|
afterClose: function afterClose() {
|
|
29320
29330
|
if (typeof config2.afterClose === "function") {
|
|
@@ -29332,7 +29342,7 @@ function confirm$1(config2) {
|
|
|
29332
29342
|
if (typeof configUpdate2 === "function") {
|
|
29333
29343
|
currentConfig = configUpdate2(currentConfig);
|
|
29334
29344
|
} else {
|
|
29335
|
-
currentConfig = _extends$
|
|
29345
|
+
currentConfig = _extends$Q(_extends$Q({}, currentConfig), configUpdate2);
|
|
29336
29346
|
}
|
|
29337
29347
|
render$1(currentConfig);
|
|
29338
29348
|
}
|
|
@@ -29344,7 +29354,7 @@ function confirm$1(config2) {
|
|
|
29344
29354
|
};
|
|
29345
29355
|
}
|
|
29346
29356
|
function withWarn(props) {
|
|
29347
|
-
return _extends$
|
|
29357
|
+
return _extends$Q(_extends$Q({
|
|
29348
29358
|
icon: /* @__PURE__ */ React.createElement(ExclamationCircleOutlined$1, null),
|
|
29349
29359
|
okCancel: false
|
|
29350
29360
|
}, props), {
|
|
@@ -29352,7 +29362,7 @@ function withWarn(props) {
|
|
|
29352
29362
|
});
|
|
29353
29363
|
}
|
|
29354
29364
|
function withInfo(props) {
|
|
29355
|
-
return _extends$
|
|
29365
|
+
return _extends$Q(_extends$Q({
|
|
29356
29366
|
icon: /* @__PURE__ */ React.createElement(InfoCircleOutlined$1, null),
|
|
29357
29367
|
okCancel: false
|
|
29358
29368
|
}, props), {
|
|
@@ -29360,7 +29370,7 @@ function withInfo(props) {
|
|
|
29360
29370
|
});
|
|
29361
29371
|
}
|
|
29362
29372
|
function withSuccess(props) {
|
|
29363
|
-
return _extends$
|
|
29373
|
+
return _extends$Q(_extends$Q({
|
|
29364
29374
|
icon: /* @__PURE__ */ React.createElement(CheckCircleOutlined$1, null),
|
|
29365
29375
|
okCancel: false
|
|
29366
29376
|
}, props), {
|
|
@@ -29368,7 +29378,7 @@ function withSuccess(props) {
|
|
|
29368
29378
|
});
|
|
29369
29379
|
}
|
|
29370
29380
|
function withError(props) {
|
|
29371
|
-
return _extends$
|
|
29381
|
+
return _extends$Q(_extends$Q({
|
|
29372
29382
|
icon: /* @__PURE__ */ React.createElement(CloseCircleOutlined$1, null),
|
|
29373
29383
|
okCancel: false
|
|
29374
29384
|
}, props), {
|
|
@@ -29376,7 +29386,7 @@ function withError(props) {
|
|
|
29376
29386
|
});
|
|
29377
29387
|
}
|
|
29378
29388
|
function withConfirm(props) {
|
|
29379
|
-
return _extends$
|
|
29389
|
+
return _extends$Q(_extends$Q({
|
|
29380
29390
|
icon: /* @__PURE__ */ React.createElement(ExclamationCircleOutlined$1, null),
|
|
29381
29391
|
okCancel: true
|
|
29382
29392
|
}, props), {
|
|
@@ -29428,7 +29438,7 @@ var HookModal = function HookModal2(_ref3, ref) {
|
|
|
29428
29438
|
destroy: close3,
|
|
29429
29439
|
update: function update(newConfig) {
|
|
29430
29440
|
setInnerConfig(function(originConfig) {
|
|
29431
|
-
return _extends$
|
|
29441
|
+
return _extends$Q(_extends$Q({}, originConfig), newConfig);
|
|
29432
29442
|
});
|
|
29433
29443
|
}
|
|
29434
29444
|
};
|
|
@@ -29437,7 +29447,7 @@ var HookModal = function HookModal2(_ref3, ref) {
|
|
|
29437
29447
|
componentName: "Modal",
|
|
29438
29448
|
defaultLocale: defaultLocale$2.Modal
|
|
29439
29449
|
}, function(contextLocale) {
|
|
29440
|
-
return /* @__PURE__ */ React.createElement(ConfirmDialog$1, _extends$
|
|
29450
|
+
return /* @__PURE__ */ React.createElement(ConfirmDialog$1, _extends$Q({
|
|
29441
29451
|
prefixCls,
|
|
29442
29452
|
rootPrefixCls
|
|
29443
29453
|
}, innerConfig, {
|
|
@@ -31478,8 +31488,8 @@ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
|
|
|
31478
31488
|
function cloneDeep(value2) {
|
|
31479
31489
|
return baseClone$1(value2, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
31480
31490
|
}
|
|
31481
|
-
function _extends$
|
|
31482
|
-
_extends$
|
|
31491
|
+
function _extends$O() {
|
|
31492
|
+
_extends$O = Object.assign || function(target) {
|
|
31483
31493
|
for (var i = 1; i < arguments.length; i++) {
|
|
31484
31494
|
var source2 = arguments[i];
|
|
31485
31495
|
for (var key2 in source2) {
|
|
@@ -31490,14 +31500,14 @@ function _extends$M() {
|
|
|
31490
31500
|
}
|
|
31491
31501
|
return target;
|
|
31492
31502
|
};
|
|
31493
|
-
return _extends$
|
|
31503
|
+
return _extends$O.apply(this, arguments);
|
|
31494
31504
|
}
|
|
31495
31505
|
function _inheritsLoose$1(subClass, superClass) {
|
|
31496
31506
|
subClass.prototype = Object.create(superClass.prototype);
|
|
31497
31507
|
subClass.prototype.constructor = subClass;
|
|
31498
31508
|
subClass.__proto__ = superClass;
|
|
31499
31509
|
}
|
|
31500
|
-
function _objectWithoutPropertiesLoose$
|
|
31510
|
+
function _objectWithoutPropertiesLoose$y(source2, excluded) {
|
|
31501
31511
|
if (source2 == null)
|
|
31502
31512
|
return {};
|
|
31503
31513
|
var target = {};
|
|
@@ -31610,60 +31620,60 @@ function useFormikContext() {
|
|
|
31610
31620
|
function formikReducer(state, msg) {
|
|
31611
31621
|
switch (msg.type) {
|
|
31612
31622
|
case "SET_VALUES":
|
|
31613
|
-
return _extends$
|
|
31623
|
+
return _extends$O({}, state, {
|
|
31614
31624
|
values: msg.payload
|
|
31615
31625
|
});
|
|
31616
31626
|
case "SET_TOUCHED":
|
|
31617
|
-
return _extends$
|
|
31627
|
+
return _extends$O({}, state, {
|
|
31618
31628
|
touched: msg.payload
|
|
31619
31629
|
});
|
|
31620
31630
|
case "SET_ERRORS":
|
|
31621
31631
|
if (reactFastCompare(state.errors, msg.payload)) {
|
|
31622
31632
|
return state;
|
|
31623
31633
|
}
|
|
31624
|
-
return _extends$
|
|
31634
|
+
return _extends$O({}, state, {
|
|
31625
31635
|
errors: msg.payload
|
|
31626
31636
|
});
|
|
31627
31637
|
case "SET_STATUS":
|
|
31628
|
-
return _extends$
|
|
31638
|
+
return _extends$O({}, state, {
|
|
31629
31639
|
status: msg.payload
|
|
31630
31640
|
});
|
|
31631
31641
|
case "SET_ISSUBMITTING":
|
|
31632
|
-
return _extends$
|
|
31642
|
+
return _extends$O({}, state, {
|
|
31633
31643
|
isSubmitting: msg.payload
|
|
31634
31644
|
});
|
|
31635
31645
|
case "SET_ISVALIDATING":
|
|
31636
|
-
return _extends$
|
|
31646
|
+
return _extends$O({}, state, {
|
|
31637
31647
|
isValidating: msg.payload
|
|
31638
31648
|
});
|
|
31639
31649
|
case "SET_FIELD_VALUE":
|
|
31640
|
-
return _extends$
|
|
31650
|
+
return _extends$O({}, state, {
|
|
31641
31651
|
values: setIn(state.values, msg.payload.field, msg.payload.value)
|
|
31642
31652
|
});
|
|
31643
31653
|
case "SET_FIELD_TOUCHED":
|
|
31644
|
-
return _extends$
|
|
31654
|
+
return _extends$O({}, state, {
|
|
31645
31655
|
touched: setIn(state.touched, msg.payload.field, msg.payload.value)
|
|
31646
31656
|
});
|
|
31647
31657
|
case "SET_FIELD_ERROR":
|
|
31648
|
-
return _extends$
|
|
31658
|
+
return _extends$O({}, state, {
|
|
31649
31659
|
errors: setIn(state.errors, msg.payload.field, msg.payload.value)
|
|
31650
31660
|
});
|
|
31651
31661
|
case "RESET_FORM":
|
|
31652
|
-
return _extends$
|
|
31662
|
+
return _extends$O({}, state, msg.payload);
|
|
31653
31663
|
case "SET_FORMIK_STATE":
|
|
31654
31664
|
return msg.payload(state);
|
|
31655
31665
|
case "SUBMIT_ATTEMPT":
|
|
31656
|
-
return _extends$
|
|
31666
|
+
return _extends$O({}, state, {
|
|
31657
31667
|
touched: setNestedObjectValues(state.values, true),
|
|
31658
31668
|
isSubmitting: true,
|
|
31659
31669
|
submitCount: state.submitCount + 1
|
|
31660
31670
|
});
|
|
31661
31671
|
case "SUBMIT_FAILURE":
|
|
31662
|
-
return _extends$
|
|
31672
|
+
return _extends$O({}, state, {
|
|
31663
31673
|
isSubmitting: false
|
|
31664
31674
|
});
|
|
31665
31675
|
case "SUBMIT_SUCCESS":
|
|
31666
|
-
return _extends$
|
|
31676
|
+
return _extends$O({}, state, {
|
|
31667
31677
|
isSubmitting: false
|
|
31668
31678
|
});
|
|
31669
31679
|
default:
|
|
@@ -31673,8 +31683,8 @@ function formikReducer(state, msg) {
|
|
|
31673
31683
|
var emptyErrors = {};
|
|
31674
31684
|
var emptyTouched = {};
|
|
31675
31685
|
function useFormik(_ref3) {
|
|
31676
|
-
var _ref$validateOnChange = _ref3.validateOnChange, validateOnChange = _ref$validateOnChange === void 0 ? true : _ref$validateOnChange, _ref$validateOnBlur = _ref3.validateOnBlur, validateOnBlur = _ref$validateOnBlur === void 0 ? true : _ref$validateOnBlur, _ref$validateOnMount = _ref3.validateOnMount, validateOnMount = _ref$validateOnMount === void 0 ? false : _ref$validateOnMount, isInitialValid = _ref3.isInitialValid, _ref$enableReinitiali = _ref3.enableReinitialize, enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali, onSubmit = _ref3.onSubmit, rest = _objectWithoutPropertiesLoose$
|
|
31677
|
-
var props = _extends$
|
|
31686
|
+
var _ref$validateOnChange = _ref3.validateOnChange, validateOnChange = _ref$validateOnChange === void 0 ? true : _ref$validateOnChange, _ref$validateOnBlur = _ref3.validateOnBlur, validateOnBlur = _ref$validateOnBlur === void 0 ? true : _ref$validateOnBlur, _ref$validateOnMount = _ref3.validateOnMount, validateOnMount = _ref$validateOnMount === void 0 ? false : _ref$validateOnMount, isInitialValid = _ref3.isInitialValid, _ref$enableReinitiali = _ref3.enableReinitialize, enableReinitialize = _ref$enableReinitiali === void 0 ? false : _ref$enableReinitiali, onSubmit = _ref3.onSubmit, rest = _objectWithoutPropertiesLoose$y(_ref3, ["validateOnChange", "validateOnBlur", "validateOnMount", "isInitialValid", "enableReinitialize", "onSubmit"]);
|
|
31687
|
+
var props = _extends$O({
|
|
31678
31688
|
validateOnChange,
|
|
31679
31689
|
validateOnBlur,
|
|
31680
31690
|
validateOnMount,
|
|
@@ -32211,7 +32221,7 @@ function useFormik(_ref3) {
|
|
|
32211
32221
|
var isValid2 = useMemo$1(function() {
|
|
32212
32222
|
return typeof isInitialValid !== "undefined" ? dirty ? state.errors && Object.keys(state.errors).length === 0 : isInitialValid !== false && isFunction(isInitialValid) ? isInitialValid(props) : isInitialValid : state.errors && Object.keys(state.errors).length === 0;
|
|
32213
32223
|
}, [isInitialValid, dirty, state.errors, props]);
|
|
32214
|
-
var ctx = _extends$
|
|
32224
|
+
var ctx = _extends$O({}, state, {
|
|
32215
32225
|
initialValues: initialValues.current,
|
|
32216
32226
|
initialErrors: initialErrors.current,
|
|
32217
32227
|
initialTouched: initialTouched.current,
|
|
@@ -32404,8 +32414,8 @@ function useField(propsOrFieldName) {
|
|
|
32404
32414
|
return [getFieldProps(props), getFieldMeta(fieldName), getFieldHelpers(fieldName)];
|
|
32405
32415
|
}
|
|
32406
32416
|
function Field(_ref3) {
|
|
32407
|
-
var validate2 = _ref3.validate, name = _ref3.name, render2 = _ref3.render, children = _ref3.children, is = _ref3.as, component = _ref3.component, props = _objectWithoutPropertiesLoose$
|
|
32408
|
-
var _useFormikContext = useFormikContext(), formik = _objectWithoutPropertiesLoose$
|
|
32417
|
+
var validate2 = _ref3.validate, name = _ref3.name, render2 = _ref3.render, children = _ref3.children, is = _ref3.as, component = _ref3.component, props = _objectWithoutPropertiesLoose$y(_ref3, ["validate", "name", "render", "children", "as", "component"]);
|
|
32418
|
+
var _useFormikContext = useFormikContext(), formik = _objectWithoutPropertiesLoose$y(_useFormikContext, ["validate", "validationSchema"]);
|
|
32409
32419
|
var registerField = formik.registerField, unregisterField = formik.unregisterField;
|
|
32410
32420
|
useEffect(function() {
|
|
32411
32421
|
registerField(name, {
|
|
@@ -32415,7 +32425,7 @@ function Field(_ref3) {
|
|
|
32415
32425
|
unregisterField(name);
|
|
32416
32426
|
};
|
|
32417
32427
|
}, [registerField, unregisterField, name, validate2]);
|
|
32418
|
-
var field2 = formik.getFieldProps(_extends$
|
|
32428
|
+
var field2 = formik.getFieldProps(_extends$O({
|
|
32419
32429
|
name
|
|
32420
32430
|
}, props));
|
|
32421
32431
|
var meta = formik.getFieldMeta(name);
|
|
@@ -32424,38 +32434,38 @@ function Field(_ref3) {
|
|
|
32424
32434
|
form: formik
|
|
32425
32435
|
};
|
|
32426
32436
|
if (render2) {
|
|
32427
|
-
return render2(_extends$
|
|
32437
|
+
return render2(_extends$O({}, legacyBag, {
|
|
32428
32438
|
meta
|
|
32429
32439
|
}));
|
|
32430
32440
|
}
|
|
32431
32441
|
if (isFunction(children)) {
|
|
32432
|
-
return children(_extends$
|
|
32442
|
+
return children(_extends$O({}, legacyBag, {
|
|
32433
32443
|
meta
|
|
32434
32444
|
}));
|
|
32435
32445
|
}
|
|
32436
32446
|
if (component) {
|
|
32437
32447
|
if (typeof component === "string") {
|
|
32438
|
-
var innerRef = props.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
32439
|
-
return createElement$1(component, _extends$
|
|
32448
|
+
var innerRef = props.innerRef, rest = _objectWithoutPropertiesLoose$y(props, ["innerRef"]);
|
|
32449
|
+
return createElement$1(component, _extends$O({
|
|
32440
32450
|
ref: innerRef
|
|
32441
32451
|
}, field2, rest), children);
|
|
32442
32452
|
}
|
|
32443
|
-
return createElement$1(component, _extends$
|
|
32453
|
+
return createElement$1(component, _extends$O({
|
|
32444
32454
|
field: field2,
|
|
32445
32455
|
form: formik
|
|
32446
32456
|
}, props), children);
|
|
32447
32457
|
}
|
|
32448
32458
|
var asElement = is || "input";
|
|
32449
32459
|
if (typeof asElement === "string") {
|
|
32450
|
-
var _innerRef = props.innerRef, _rest = _objectWithoutPropertiesLoose$
|
|
32451
|
-
return createElement$1(asElement, _extends$
|
|
32460
|
+
var _innerRef = props.innerRef, _rest = _objectWithoutPropertiesLoose$y(props, ["innerRef"]);
|
|
32461
|
+
return createElement$1(asElement, _extends$O({
|
|
32452
32462
|
ref: _innerRef
|
|
32453
32463
|
}, field2, _rest), children);
|
|
32454
32464
|
}
|
|
32455
|
-
return createElement$1(asElement, _extends$
|
|
32465
|
+
return createElement$1(asElement, _extends$O({}, field2, props), children);
|
|
32456
32466
|
}
|
|
32457
32467
|
var Form$c = /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
32458
|
-
var action = props.action, rest = _objectWithoutPropertiesLoose$
|
|
32468
|
+
var action = props.action, rest = _objectWithoutPropertiesLoose$y(props, ["action"]);
|
|
32459
32469
|
var _action = action != null ? action : "#";
|
|
32460
32470
|
var _useFormikContext = useFormikContext(), handleReset = _useFormikContext.handleReset, handleSubmit = _useFormikContext.handleSubmit;
|
|
32461
32471
|
return createElement$1("form", Object.assign({
|
|
@@ -32515,7 +32525,7 @@ var copyArrayLike = function copyArrayLike2(arrayLike) {
|
|
|
32515
32525
|
}).reduce(function(max2, el) {
|
|
32516
32526
|
return el > max2 ? el : max2;
|
|
32517
32527
|
}, 0);
|
|
32518
|
-
return Array.from(_extends$
|
|
32528
|
+
return Array.from(_extends$O({}, arrayLike, {
|
|
32519
32529
|
length: maxIndex + 1
|
|
32520
32530
|
}));
|
|
32521
32531
|
}
|
|
@@ -32539,7 +32549,7 @@ var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
|
|
|
32539
32549
|
if (isEmptyArray(fieldTouched)) {
|
|
32540
32550
|
fieldTouched = void 0;
|
|
32541
32551
|
}
|
|
32542
|
-
return _extends$
|
|
32552
|
+
return _extends$O({}, prevState, {
|
|
32543
32553
|
values,
|
|
32544
32554
|
errors: alterErrors ? setIn(prevState.errors, name, fieldError) : prevState.errors,
|
|
32545
32555
|
touched: alterTouched ? setIn(prevState.touched, name, fieldTouched) : prevState.touched
|
|
@@ -32692,8 +32702,8 @@ var FieldArrayInner = /* @__PURE__ */ function(_React$Component) {
|
|
|
32692
32702
|
handleUnshift: this.handleUnshift,
|
|
32693
32703
|
handleRemove: this.handleRemove
|
|
32694
32704
|
};
|
|
32695
|
-
var _this$props2 = this.props, component = _this$props2.component, render3 = _this$props2.render, children = _this$props2.children, name = _this$props2.name, _this$props2$formik = _this$props2.formik, restOfFormik = _objectWithoutPropertiesLoose$
|
|
32696
|
-
var props = _extends$
|
|
32705
|
+
var _this$props2 = this.props, component = _this$props2.component, render3 = _this$props2.render, children = _this$props2.children, name = _this$props2.name, _this$props2$formik = _this$props2.formik, restOfFormik = _objectWithoutPropertiesLoose$y(_this$props2$formik, ["validate", "validationSchema"]);
|
|
32706
|
+
var props = _extends$O({}, arrayHelpers, {
|
|
32697
32707
|
form: restOfFormik,
|
|
32698
32708
|
name
|
|
32699
32709
|
});
|
|
@@ -32865,8 +32875,8 @@ function _defineProperty$w(obj, key2, value2) {
|
|
|
32865
32875
|
}
|
|
32866
32876
|
return obj;
|
|
32867
32877
|
}
|
|
32868
|
-
function _extends$
|
|
32869
|
-
_extends$
|
|
32878
|
+
function _extends$N() {
|
|
32879
|
+
_extends$N = Object.assign ? Object.assign.bind() : function(target) {
|
|
32870
32880
|
for (var i = 1; i < arguments.length; i++) {
|
|
32871
32881
|
var source2 = arguments[i];
|
|
32872
32882
|
for (var key2 in source2) {
|
|
@@ -32877,7 +32887,7 @@ function _extends$L() {
|
|
|
32877
32887
|
}
|
|
32878
32888
|
return target;
|
|
32879
32889
|
};
|
|
32880
|
-
return _extends$
|
|
32890
|
+
return _extends$N.apply(this, arguments);
|
|
32881
32891
|
}
|
|
32882
32892
|
function _inherits$n(subClass, superClass) {
|
|
32883
32893
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -35227,7 +35237,7 @@ var ReactTooltip = staticMethods(_class = windowListener(_class = customEvent(_c
|
|
|
35227
35237
|
var wrapperClassName = [tooltipClass, extraClass].filter(Boolean).join(" ");
|
|
35228
35238
|
if (html2) {
|
|
35229
35239
|
var htmlContent = "".concat(content2).concat(style2 ? '\n<style aria-hidden="true">'.concat(style2, "</style>") : "");
|
|
35230
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, _extends$
|
|
35240
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, _extends$N({
|
|
35231
35241
|
className: "".concat(wrapperClassName),
|
|
35232
35242
|
id: this.props.id || uuid2,
|
|
35233
35243
|
ref: function ref(_ref3) {
|
|
@@ -35240,7 +35250,7 @@ var ReactTooltip = staticMethods(_class = windowListener(_class = customEvent(_c
|
|
|
35240
35250
|
}
|
|
35241
35251
|
}));
|
|
35242
35252
|
} else {
|
|
35243
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, _extends$
|
|
35253
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, _extends$N({
|
|
35244
35254
|
className: "".concat(wrapperClassName),
|
|
35245
35255
|
id: this.props.id || uuid2
|
|
35246
35256
|
}, ariaProps, {
|
|
@@ -35860,8 +35870,8 @@ class Condition {
|
|
|
35860
35870
|
function toArray$1(value2) {
|
|
35861
35871
|
return value2 == null ? [] : [].concat(value2);
|
|
35862
35872
|
}
|
|
35863
|
-
function _extends$
|
|
35864
|
-
_extends$
|
|
35873
|
+
function _extends$M() {
|
|
35874
|
+
_extends$M = Object.assign || function(target) {
|
|
35865
35875
|
for (var i = 1; i < arguments.length; i++) {
|
|
35866
35876
|
var source2 = arguments[i];
|
|
35867
35877
|
for (var key2 in source2) {
|
|
@@ -35872,14 +35882,14 @@ function _extends$K() {
|
|
|
35872
35882
|
}
|
|
35873
35883
|
return target;
|
|
35874
35884
|
};
|
|
35875
|
-
return _extends$
|
|
35885
|
+
return _extends$M.apply(this, arguments);
|
|
35876
35886
|
}
|
|
35877
35887
|
let strReg = /\$\{\s*(\w+)\s*\}/g;
|
|
35878
35888
|
class ValidationError extends Error {
|
|
35879
35889
|
static formatError(message2, params) {
|
|
35880
35890
|
const path2 = params.label || params.path || "this";
|
|
35881
35891
|
if (path2 !== params.path)
|
|
35882
|
-
params = _extends$
|
|
35892
|
+
params = _extends$M({}, params, {
|
|
35883
35893
|
path: path2
|
|
35884
35894
|
});
|
|
35885
35895
|
if (typeof message2 === "string")
|
|
@@ -36313,8 +36323,8 @@ class Reference {
|
|
|
36313
36323
|
}
|
|
36314
36324
|
}
|
|
36315
36325
|
Reference.prototype.__isYupRef = true;
|
|
36316
|
-
function _extends$
|
|
36317
|
-
_extends$
|
|
36326
|
+
function _extends$L() {
|
|
36327
|
+
_extends$L = Object.assign || function(target) {
|
|
36318
36328
|
for (var i = 1; i < arguments.length; i++) {
|
|
36319
36329
|
var source2 = arguments[i];
|
|
36320
36330
|
for (var key2 in source2) {
|
|
@@ -36325,9 +36335,9 @@ function _extends$J() {
|
|
|
36325
36335
|
}
|
|
36326
36336
|
return target;
|
|
36327
36337
|
};
|
|
36328
|
-
return _extends$
|
|
36338
|
+
return _extends$L.apply(this, arguments);
|
|
36329
36339
|
}
|
|
36330
|
-
function _objectWithoutPropertiesLoose$
|
|
36340
|
+
function _objectWithoutPropertiesLoose$x(source2, excluded) {
|
|
36331
36341
|
if (source2 == null)
|
|
36332
36342
|
return {};
|
|
36333
36343
|
var target = {};
|
|
@@ -36350,7 +36360,7 @@ function createValidation(config2) {
|
|
|
36350
36360
|
options: options2,
|
|
36351
36361
|
originalValue,
|
|
36352
36362
|
sync
|
|
36353
|
-
} = _ref3, rest = _objectWithoutPropertiesLoose$
|
|
36363
|
+
} = _ref3, rest = _objectWithoutPropertiesLoose$x(_ref3, ["value", "path", "label", "options", "originalValue", "sync"]);
|
|
36354
36364
|
const {
|
|
36355
36365
|
name,
|
|
36356
36366
|
test: test2,
|
|
@@ -36365,7 +36375,7 @@ function createValidation(config2) {
|
|
|
36365
36375
|
return Reference.isRef(item2) ? item2.getValue(value2, parent, context) : item2;
|
|
36366
36376
|
}
|
|
36367
36377
|
function createError(overrides = {}) {
|
|
36368
|
-
const nextParams = mapValues_1(_extends$
|
|
36378
|
+
const nextParams = mapValues_1(_extends$L({
|
|
36369
36379
|
value: value2,
|
|
36370
36380
|
originalValue,
|
|
36371
36381
|
label: label2,
|
|
@@ -36375,7 +36385,7 @@ function createValidation(config2) {
|
|
|
36375
36385
|
error3.params = nextParams;
|
|
36376
36386
|
return error3;
|
|
36377
36387
|
}
|
|
36378
|
-
let ctx = _extends$
|
|
36388
|
+
let ctx = _extends$L({
|
|
36379
36389
|
path: path2,
|
|
36380
36390
|
parent,
|
|
36381
36391
|
type: name,
|
|
@@ -36506,8 +36516,8 @@ class ReferenceSet {
|
|
|
36506
36516
|
return next2;
|
|
36507
36517
|
}
|
|
36508
36518
|
}
|
|
36509
|
-
function _extends$
|
|
36510
|
-
_extends$
|
|
36519
|
+
function _extends$K() {
|
|
36520
|
+
_extends$K = Object.assign || function(target) {
|
|
36511
36521
|
for (var i = 1; i < arguments.length; i++) {
|
|
36512
36522
|
var source2 = arguments[i];
|
|
36513
36523
|
for (var key2 in source2) {
|
|
@@ -36518,7 +36528,7 @@ function _extends$I() {
|
|
|
36518
36528
|
}
|
|
36519
36529
|
return target;
|
|
36520
36530
|
};
|
|
36521
|
-
return _extends$
|
|
36531
|
+
return _extends$K.apply(this, arguments);
|
|
36522
36532
|
}
|
|
36523
36533
|
class BaseSchema {
|
|
36524
36534
|
constructor(options2) {
|
|
@@ -36538,7 +36548,7 @@ class BaseSchema {
|
|
|
36538
36548
|
this.typeError(mixed.notType);
|
|
36539
36549
|
});
|
|
36540
36550
|
this.type = (options2 == null ? void 0 : options2.type) || "mixed";
|
|
36541
|
-
this.spec = _extends$
|
|
36551
|
+
this.spec = _extends$K({
|
|
36542
36552
|
strip: false,
|
|
36543
36553
|
strict: false,
|
|
36544
36554
|
abortEarly: true,
|
|
@@ -36566,12 +36576,12 @@ class BaseSchema {
|
|
|
36566
36576
|
next2._blacklistError = this._blacklistError;
|
|
36567
36577
|
next2._whitelist = this._whitelist.clone();
|
|
36568
36578
|
next2._blacklist = this._blacklist.clone();
|
|
36569
|
-
next2.exclusiveTests = _extends$
|
|
36579
|
+
next2.exclusiveTests = _extends$K({}, this.exclusiveTests);
|
|
36570
36580
|
next2.deps = [...this.deps];
|
|
36571
36581
|
next2.conditions = [...this.conditions];
|
|
36572
36582
|
next2.tests = [...this.tests];
|
|
36573
36583
|
next2.transforms = [...this.transforms];
|
|
36574
|
-
next2.spec = clone$1(_extends$
|
|
36584
|
+
next2.spec = clone$1(_extends$K({}, this.spec, spec));
|
|
36575
36585
|
return next2;
|
|
36576
36586
|
}
|
|
36577
36587
|
label(label2) {
|
|
@@ -36600,7 +36610,7 @@ class BaseSchema {
|
|
|
36600
36610
|
throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${schema2.type}`);
|
|
36601
36611
|
let base = this;
|
|
36602
36612
|
let combined = schema2.clone();
|
|
36603
|
-
const mergedSpec = _extends$
|
|
36613
|
+
const mergedSpec = _extends$K({}, base.spec, combined.spec);
|
|
36604
36614
|
combined.spec = mergedSpec;
|
|
36605
36615
|
combined._typeError || (combined._typeError = base._typeError);
|
|
36606
36616
|
combined._whitelistError || (combined._whitelistError = base._whitelistError);
|
|
@@ -36634,7 +36644,7 @@ class BaseSchema {
|
|
|
36634
36644
|
return schema2;
|
|
36635
36645
|
}
|
|
36636
36646
|
cast(value2, options2 = {}) {
|
|
36637
|
-
let resolvedSchema = this.resolve(_extends$
|
|
36647
|
+
let resolvedSchema = this.resolve(_extends$K({
|
|
36638
36648
|
value: value2
|
|
36639
36649
|
}, options2));
|
|
36640
36650
|
let result = resolvedSchema._cast(value2, options2);
|
|
@@ -36666,7 +36676,7 @@ attempted value: ${formattedValue}
|
|
|
36666
36676
|
} = options2;
|
|
36667
36677
|
let value2 = _value;
|
|
36668
36678
|
if (!strict) {
|
|
36669
|
-
value2 = this._cast(value2, _extends$
|
|
36679
|
+
value2 = this._cast(value2, _extends$K({
|
|
36670
36680
|
assert: false
|
|
36671
36681
|
}, options2));
|
|
36672
36682
|
}
|
|
@@ -36709,7 +36719,7 @@ attempted value: ${formattedValue}
|
|
|
36709
36719
|
});
|
|
36710
36720
|
}
|
|
36711
36721
|
validate(value2, options2, maybeCb) {
|
|
36712
|
-
let schema2 = this.resolve(_extends$
|
|
36722
|
+
let schema2 = this.resolve(_extends$K({}, options2, {
|
|
36713
36723
|
value: value2
|
|
36714
36724
|
}));
|
|
36715
36725
|
return typeof maybeCb === "function" ? schema2._validate(value2, options2, maybeCb) : new Promise((resolve, reject) => schema2._validate(value2, options2, (err, value3) => {
|
|
@@ -36720,11 +36730,11 @@ attempted value: ${formattedValue}
|
|
|
36720
36730
|
}));
|
|
36721
36731
|
}
|
|
36722
36732
|
validateSync(value2, options2) {
|
|
36723
|
-
let schema2 = this.resolve(_extends$
|
|
36733
|
+
let schema2 = this.resolve(_extends$K({}, options2, {
|
|
36724
36734
|
value: value2
|
|
36725
36735
|
}));
|
|
36726
36736
|
let result;
|
|
36727
|
-
schema2._validate(value2, _extends$
|
|
36737
|
+
schema2._validate(value2, _extends$K({}, options2, {
|
|
36728
36738
|
sync: true
|
|
36729
36739
|
}), (err, value3) => {
|
|
36730
36740
|
if (err)
|
|
@@ -36977,7 +36987,7 @@ for (const method4 of ["validate", "validateSync"])
|
|
|
36977
36987
|
parentPath,
|
|
36978
36988
|
schema: schema2
|
|
36979
36989
|
} = getIn(this, path2, value2, options2.context);
|
|
36980
|
-
return schema2[method4](parent && parent[parentPath], _extends$
|
|
36990
|
+
return schema2[method4](parent && parent[parentPath], _extends$K({}, options2, {
|
|
36981
36991
|
parent,
|
|
36982
36992
|
path: path2
|
|
36983
36993
|
}));
|
|
@@ -37641,8 +37651,8 @@ function sortByKeyOrder(keys3) {
|
|
|
37641
37651
|
return findIndex$3(keys3, a2) - findIndex$3(keys3, b2);
|
|
37642
37652
|
};
|
|
37643
37653
|
}
|
|
37644
|
-
function _extends$
|
|
37645
|
-
_extends$
|
|
37654
|
+
function _extends$J() {
|
|
37655
|
+
_extends$J = Object.assign || function(target) {
|
|
37646
37656
|
for (var i = 1; i < arguments.length; i++) {
|
|
37647
37657
|
var source2 = arguments[i];
|
|
37648
37658
|
for (var key2 in source2) {
|
|
@@ -37653,7 +37663,7 @@ function _extends$H() {
|
|
|
37653
37663
|
}
|
|
37654
37664
|
return target;
|
|
37655
37665
|
};
|
|
37656
|
-
return _extends$
|
|
37666
|
+
return _extends$J.apply(this, arguments);
|
|
37657
37667
|
}
|
|
37658
37668
|
let isObject$3 = (obj) => Object.prototype.toString.call(obj) === "[object Object]";
|
|
37659
37669
|
function unknown(ctx, value2) {
|
|
@@ -37702,7 +37712,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
37702
37712
|
let strip = (_options$stripUnknown = options2.stripUnknown) != null ? _options$stripUnknown : this.spec.noUnknown;
|
|
37703
37713
|
let props = this._nodes.concat(Object.keys(value2).filter((v2) => this._nodes.indexOf(v2) === -1));
|
|
37704
37714
|
let intermediateValue = {};
|
|
37705
|
-
let innerOptions = _extends$
|
|
37715
|
+
let innerOptions = _extends$J({}, options2, {
|
|
37706
37716
|
parent: intermediateValue,
|
|
37707
37717
|
__validating: options2.__validating || false
|
|
37708
37718
|
});
|
|
@@ -37770,7 +37780,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
37770
37780
|
let path2 = key2.indexOf(".") === -1 ? (opts.path ? `${opts.path}.` : "") + key2 : `${opts.path || ""}["${key2}"]`;
|
|
37771
37781
|
let field2 = this.fields[key2];
|
|
37772
37782
|
if (field2 && "validate" in field2) {
|
|
37773
|
-
field2.validate(value2[key2], _extends$
|
|
37783
|
+
field2.validate(value2[key2], _extends$J({}, opts, {
|
|
37774
37784
|
path: path2,
|
|
37775
37785
|
from: from2,
|
|
37776
37786
|
strict: true,
|
|
@@ -37794,7 +37804,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
37794
37804
|
}
|
|
37795
37805
|
clone(spec) {
|
|
37796
37806
|
const next2 = super.clone(spec);
|
|
37797
|
-
next2.fields = _extends$
|
|
37807
|
+
next2.fields = _extends$J({}, this.fields);
|
|
37798
37808
|
next2._nodes = this._nodes;
|
|
37799
37809
|
next2._excludedEdges = this._excludedEdges;
|
|
37800
37810
|
next2._sortErrors = this._sortErrors;
|
|
@@ -37870,7 +37880,7 @@ class ObjectSchema extends BaseSchema {
|
|
|
37870
37880
|
return obj;
|
|
37871
37881
|
let newObj = obj;
|
|
37872
37882
|
if (has_1(obj, from2)) {
|
|
37873
|
-
newObj = _extends$
|
|
37883
|
+
newObj = _extends$J({}, obj);
|
|
37874
37884
|
if (!alias)
|
|
37875
37885
|
delete newObj[from2];
|
|
37876
37886
|
newObj[to2] = fromGetter(obj);
|
|
@@ -37926,8 +37936,8 @@ function create$1(spec) {
|
|
|
37926
37936
|
return new ObjectSchema(spec);
|
|
37927
37937
|
}
|
|
37928
37938
|
create$1.prototype = ObjectSchema.prototype;
|
|
37929
|
-
function _extends$
|
|
37930
|
-
_extends$
|
|
37939
|
+
function _extends$I() {
|
|
37940
|
+
_extends$I = Object.assign || function(target) {
|
|
37931
37941
|
for (var i = 1; i < arguments.length; i++) {
|
|
37932
37942
|
var source2 = arguments[i];
|
|
37933
37943
|
for (var key2 in source2) {
|
|
@@ -37938,7 +37948,7 @@ function _extends$G() {
|
|
|
37938
37948
|
}
|
|
37939
37949
|
return target;
|
|
37940
37950
|
};
|
|
37941
|
-
return _extends$
|
|
37951
|
+
return _extends$I.apply(this, arguments);
|
|
37942
37952
|
}
|
|
37943
37953
|
function create2(type4) {
|
|
37944
37954
|
return new ArraySchema(type4);
|
|
@@ -37974,7 +37984,7 @@ class ArraySchema extends BaseSchema {
|
|
|
37974
37984
|
return value2;
|
|
37975
37985
|
let isChanged = false;
|
|
37976
37986
|
const castArray = value2.map((v2, idx) => {
|
|
37977
|
-
const castElement = this.innerType.cast(v2, _extends$
|
|
37987
|
+
const castElement = this.innerType.cast(v2, _extends$I({}, _opts, {
|
|
37978
37988
|
path: `${_opts.path || ""}[${idx}]`
|
|
37979
37989
|
}));
|
|
37980
37990
|
if (castElement !== v2) {
|
|
@@ -38009,7 +38019,7 @@ class ArraySchema extends BaseSchema {
|
|
|
38009
38019
|
for (let idx = 0; idx < value2.length; idx++) {
|
|
38010
38020
|
let item2 = value2[idx];
|
|
38011
38021
|
let path3 = `${options2.path || ""}[${idx}]`;
|
|
38012
|
-
let innerOptions = _extends$
|
|
38022
|
+
let innerOptions = _extends$I({}, options2, {
|
|
38013
38023
|
path: path3,
|
|
38014
38024
|
strict: true,
|
|
38015
38025
|
parent: value2,
|
|
@@ -40088,7 +40098,7 @@ var cleanCommonProps = function cleanCommonProps2(props) {
|
|
|
40088
40098
|
props.selectProps;
|
|
40089
40099
|
props.setValue;
|
|
40090
40100
|
props.theme;
|
|
40091
|
-
var innerProps = _objectWithoutProperties$
|
|
40101
|
+
var innerProps = _objectWithoutProperties$w(props, _excluded$3$1);
|
|
40092
40102
|
return _objectSpread2$1({}, innerProps);
|
|
40093
40103
|
};
|
|
40094
40104
|
function isDocumentElement(el) {
|
|
@@ -40420,7 +40430,7 @@ var MenuPlacer = /* @__PURE__ */ function(_Component) {
|
|
|
40420
40430
|
MenuPlacer.contextType = PortalPlacementContext;
|
|
40421
40431
|
var Menu$2 = function Menu(props) {
|
|
40422
40432
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerRef = props.innerRef, innerProps = props.innerProps;
|
|
40423
|
-
return jsx("div", _extends$
|
|
40433
|
+
return jsx("div", _extends$Q({
|
|
40424
40434
|
css: getStyles("menu", props),
|
|
40425
40435
|
className: cx({
|
|
40426
40436
|
menu: true
|
|
@@ -40441,7 +40451,7 @@ var menuListCSS = function menuListCSS2(_ref4) {
|
|
|
40441
40451
|
};
|
|
40442
40452
|
var MenuList = function MenuList2(props) {
|
|
40443
40453
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
|
|
40444
|
-
return jsx("div", _extends$
|
|
40454
|
+
return jsx("div", _extends$Q({
|
|
40445
40455
|
css: getStyles("menuList", props),
|
|
40446
40456
|
className: cx({
|
|
40447
40457
|
"menu-list": true,
|
|
@@ -40462,7 +40472,7 @@ var noOptionsMessageCSS = noticeCSS;
|
|
|
40462
40472
|
var loadingMessageCSS = noticeCSS;
|
|
40463
40473
|
var NoOptionsMessage = function NoOptionsMessage2(props) {
|
|
40464
40474
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
40465
|
-
return jsx("div", _extends$
|
|
40475
|
+
return jsx("div", _extends$Q({
|
|
40466
40476
|
css: getStyles("noOptionsMessage", props),
|
|
40467
40477
|
className: cx({
|
|
40468
40478
|
"menu-notice": true,
|
|
@@ -40475,7 +40485,7 @@ NoOptionsMessage.defaultProps = {
|
|
|
40475
40485
|
};
|
|
40476
40486
|
var LoadingMessage = function LoadingMessage2(props) {
|
|
40477
40487
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
40478
|
-
return jsx("div", _extends$
|
|
40488
|
+
return jsx("div", _extends$Q({
|
|
40479
40489
|
css: getStyles("loadingMessage", props),
|
|
40480
40490
|
className: cx({
|
|
40481
40491
|
"menu-notice": true,
|
|
@@ -40542,7 +40552,7 @@ var MenuPortal = function MenuPortal2(_ref7) {
|
|
|
40542
40552
|
}, [runAutoUpdate]);
|
|
40543
40553
|
if (!appendTo && menuPosition !== "fixed" || !computedPosition)
|
|
40544
40554
|
return null;
|
|
40545
|
-
var menuWrapper = jsx("div", _extends$
|
|
40555
|
+
var menuWrapper = jsx("div", _extends$Q({
|
|
40546
40556
|
ref: setMenuPortalElement,
|
|
40547
40557
|
css: getStyles("menuPortal", {
|
|
40548
40558
|
offset: computedPosition.offset,
|
|
@@ -40570,7 +40580,7 @@ var containerCSS = function containerCSS2(_ref3) {
|
|
|
40570
40580
|
};
|
|
40571
40581
|
var SelectContainer = function SelectContainer2(props) {
|
|
40572
40582
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
|
|
40573
|
-
return jsx("div", _extends$
|
|
40583
|
+
return jsx("div", _extends$Q({
|
|
40574
40584
|
css: getStyles("container", props),
|
|
40575
40585
|
className: cx({
|
|
40576
40586
|
"--is-disabled": isDisabled,
|
|
@@ -40593,7 +40603,7 @@ var valueContainerCSS = function valueContainerCSS2(_ref22) {
|
|
|
40593
40603
|
};
|
|
40594
40604
|
var ValueContainer = function ValueContainer2(props) {
|
|
40595
40605
|
var children = props.children, className = props.className, cx = props.cx, innerProps = props.innerProps, isMulti = props.isMulti, getStyles = props.getStyles, hasValue2 = props.hasValue;
|
|
40596
|
-
return jsx("div", _extends$
|
|
40606
|
+
return jsx("div", _extends$Q({
|
|
40597
40607
|
css: getStyles("valueContainer", props),
|
|
40598
40608
|
className: cx({
|
|
40599
40609
|
"value-container": true,
|
|
@@ -40612,7 +40622,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS2() {
|
|
|
40612
40622
|
};
|
|
40613
40623
|
var IndicatorsContainer = function IndicatorsContainer2(props) {
|
|
40614
40624
|
var children = props.children, className = props.className, cx = props.cx, innerProps = props.innerProps, getStyles = props.getStyles;
|
|
40615
|
-
return jsx("div", _extends$
|
|
40625
|
+
return jsx("div", _extends$Q({
|
|
40616
40626
|
css: getStyles("indicatorsContainer", props),
|
|
40617
40627
|
className: cx({
|
|
40618
40628
|
indicators: true
|
|
@@ -40626,8 +40636,8 @@ var _ref2$1 = {
|
|
|
40626
40636
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
|
|
40627
40637
|
};
|
|
40628
40638
|
var Svg = function Svg2(_ref3) {
|
|
40629
|
-
var size = _ref3.size, props = _objectWithoutProperties$
|
|
40630
|
-
return jsx("svg", _extends$
|
|
40639
|
+
var size = _ref3.size, props = _objectWithoutProperties$w(_ref3, _excluded$2$1);
|
|
40640
|
+
return jsx("svg", _extends$Q({
|
|
40631
40641
|
height: size,
|
|
40632
40642
|
width: size,
|
|
40633
40643
|
viewBox: "0 0 20 20",
|
|
@@ -40637,14 +40647,14 @@ var Svg = function Svg2(_ref3) {
|
|
|
40637
40647
|
}, props));
|
|
40638
40648
|
};
|
|
40639
40649
|
var CrossIcon = function CrossIcon2(props) {
|
|
40640
|
-
return jsx(Svg, _extends$
|
|
40650
|
+
return jsx(Svg, _extends$Q({
|
|
40641
40651
|
size: 20
|
|
40642
40652
|
}, props), jsx("path", {
|
|
40643
40653
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
40644
40654
|
}));
|
|
40645
40655
|
};
|
|
40646
40656
|
var DownChevron = function DownChevron2(props) {
|
|
40647
|
-
return jsx(Svg, _extends$
|
|
40657
|
+
return jsx(Svg, _extends$Q({
|
|
40648
40658
|
size: 20
|
|
40649
40659
|
}, props), jsx("path", {
|
|
40650
40660
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
@@ -40666,7 +40676,7 @@ var baseCSS = function baseCSS2(_ref3) {
|
|
|
40666
40676
|
var dropdownIndicatorCSS = baseCSS;
|
|
40667
40677
|
var DropdownIndicator = function DropdownIndicator2(props) {
|
|
40668
40678
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
40669
|
-
return jsx("div", _extends$
|
|
40679
|
+
return jsx("div", _extends$Q({
|
|
40670
40680
|
css: getStyles("dropdownIndicator", props),
|
|
40671
40681
|
className: cx({
|
|
40672
40682
|
indicator: true,
|
|
@@ -40677,7 +40687,7 @@ var DropdownIndicator = function DropdownIndicator2(props) {
|
|
|
40677
40687
|
var clearIndicatorCSS = baseCSS;
|
|
40678
40688
|
var ClearIndicator = function ClearIndicator2(props) {
|
|
40679
40689
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
40680
|
-
return jsx("div", _extends$
|
|
40690
|
+
return jsx("div", _extends$Q({
|
|
40681
40691
|
css: getStyles("clearIndicator", props),
|
|
40682
40692
|
className: cx({
|
|
40683
40693
|
indicator: true,
|
|
@@ -40698,7 +40708,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4) {
|
|
|
40698
40708
|
};
|
|
40699
40709
|
var IndicatorSeparator = function IndicatorSeparator2(props) {
|
|
40700
40710
|
var className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
40701
|
-
return jsx("span", _extends$
|
|
40711
|
+
return jsx("span", _extends$Q({}, innerProps, {
|
|
40702
40712
|
css: getStyles("indicatorSeparator", props),
|
|
40703
40713
|
className: cx({
|
|
40704
40714
|
"indicator-separator": true
|
|
@@ -40739,7 +40749,7 @@ var LoadingDot = function LoadingDot2(_ref6) {
|
|
|
40739
40749
|
};
|
|
40740
40750
|
var LoadingIndicator = function LoadingIndicator2(props) {
|
|
40741
40751
|
var className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps, isRtl = props.isRtl;
|
|
40742
|
-
return jsx("div", _extends$
|
|
40752
|
+
return jsx("div", _extends$Q({
|
|
40743
40753
|
css: getStyles("loadingIndicator", props),
|
|
40744
40754
|
className: cx({
|
|
40745
40755
|
indicator: true,
|
|
@@ -40785,7 +40795,7 @@ var css$1 = function css(_ref3) {
|
|
|
40785
40795
|
};
|
|
40786
40796
|
var Control = function Control2(props) {
|
|
40787
40797
|
var children = props.children, cx = props.cx, getStyles = props.getStyles, className = props.className, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
|
|
40788
|
-
return jsx("div", _extends$
|
|
40798
|
+
return jsx("div", _extends$Q({
|
|
40789
40799
|
ref: innerRef,
|
|
40790
40800
|
css: getStyles("control", props),
|
|
40791
40801
|
className: cx({
|
|
@@ -40806,12 +40816,12 @@ var groupCSS = function groupCSS2(_ref3) {
|
|
|
40806
40816
|
};
|
|
40807
40817
|
var Group = function Group2(props) {
|
|
40808
40818
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, Heading2 = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label2 = props.label, theme = props.theme, selectProps = props.selectProps;
|
|
40809
|
-
return jsx("div", _extends$
|
|
40819
|
+
return jsx("div", _extends$Q({
|
|
40810
40820
|
css: getStyles("group", props),
|
|
40811
40821
|
className: cx({
|
|
40812
40822
|
group: true
|
|
40813
40823
|
}, className)
|
|
40814
|
-
}, innerProps), jsx(Heading2, _extends$
|
|
40824
|
+
}, innerProps), jsx(Heading2, _extends$Q({}, headingProps, {
|
|
40815
40825
|
selectProps,
|
|
40816
40826
|
theme,
|
|
40817
40827
|
getStyles,
|
|
@@ -40837,8 +40847,8 @@ var GroupHeading = function GroupHeading2(props) {
|
|
|
40837
40847
|
var getStyles = props.getStyles, cx = props.cx, className = props.className;
|
|
40838
40848
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
40839
40849
|
_cleanCommonProps.data;
|
|
40840
|
-
var innerProps = _objectWithoutProperties$
|
|
40841
|
-
return jsx("div", _extends$
|
|
40850
|
+
var innerProps = _objectWithoutProperties$w(_cleanCommonProps, _excluded$1$1);
|
|
40851
|
+
return jsx("div", _extends$Q({
|
|
40842
40852
|
css: getStyles("groupHeading", props),
|
|
40843
40853
|
className: cx({
|
|
40844
40854
|
"group-heading": true
|
|
@@ -40888,14 +40898,14 @@ var inputStyle = function inputStyle2(isHidden2) {
|
|
|
40888
40898
|
};
|
|
40889
40899
|
var Input$2 = function Input(props) {
|
|
40890
40900
|
var className = props.className, cx = props.cx, getStyles = props.getStyles, value2 = props.value;
|
|
40891
|
-
var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden2 = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties$
|
|
40901
|
+
var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden2 = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties$w(_cleanCommonProps, _excluded$6);
|
|
40892
40902
|
return jsx("div", {
|
|
40893
40903
|
className: cx({
|
|
40894
40904
|
"input-container": true
|
|
40895
40905
|
}, className),
|
|
40896
40906
|
css: getStyles("input", props),
|
|
40897
40907
|
"data-value": value2 || ""
|
|
40898
|
-
}, jsx("input", _extends$
|
|
40908
|
+
}, jsx("input", _extends$Q({
|
|
40899
40909
|
className: cx({
|
|
40900
40910
|
input: true
|
|
40901
40911
|
}, inputClassName),
|
|
@@ -40951,7 +40961,7 @@ var MultiValueContainer = MultiValueGeneric;
|
|
|
40951
40961
|
var MultiValueLabel = MultiValueGeneric;
|
|
40952
40962
|
function MultiValueRemove(_ref5) {
|
|
40953
40963
|
var children = _ref5.children, innerProps = _ref5.innerProps;
|
|
40954
|
-
return jsx("div", _extends$
|
|
40964
|
+
return jsx("div", _extends$Q({
|
|
40955
40965
|
role: "button"
|
|
40956
40966
|
}, innerProps), children || jsx(CrossIcon, {
|
|
40957
40967
|
size: 14
|
|
@@ -41011,7 +41021,7 @@ var optionCSS = function optionCSS2(_ref3) {
|
|
|
41011
41021
|
};
|
|
41012
41022
|
var Option = function Option2(props) {
|
|
41013
41023
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
|
|
41014
|
-
return jsx("div", _extends$
|
|
41024
|
+
return jsx("div", _extends$Q({
|
|
41015
41025
|
css: getStyles("option", props),
|
|
41016
41026
|
className: cx({
|
|
41017
41027
|
option: true,
|
|
@@ -41035,7 +41045,7 @@ var placeholderCSS = function placeholderCSS2(_ref3) {
|
|
|
41035
41045
|
};
|
|
41036
41046
|
var Placeholder = function Placeholder2(props) {
|
|
41037
41047
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, innerProps = props.innerProps;
|
|
41038
|
-
return jsx("div", _extends$
|
|
41048
|
+
return jsx("div", _extends$Q({
|
|
41039
41049
|
css: getStyles("placeholder", props),
|
|
41040
41050
|
className: cx({
|
|
41041
41051
|
placeholder: true
|
|
@@ -41058,7 +41068,7 @@ var css2 = function css3(_ref3) {
|
|
|
41058
41068
|
};
|
|
41059
41069
|
var SingleValue = function SingleValue2(props) {
|
|
41060
41070
|
var children = props.children, className = props.className, cx = props.cx, getStyles = props.getStyles, isDisabled = props.isDisabled, innerProps = props.innerProps;
|
|
41061
|
-
return jsx("div", _extends$
|
|
41071
|
+
return jsx("div", _extends$Q({
|
|
41062
41072
|
css: getStyles("singleValue", props),
|
|
41063
41073
|
className: cx({
|
|
41064
41074
|
"single-value": true,
|
|
@@ -41098,7 +41108,7 @@ var defaultComponents = function defaultComponents2(props) {
|
|
|
41098
41108
|
};
|
|
41099
41109
|
var _excluded$5 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
41100
41110
|
function useStateManager(_ref3) {
|
|
41101
|
-
var _ref$defaultInputValu = _ref3.defaultInputValue, defaultInputValue = _ref$defaultInputValu === void 0 ? "" : _ref$defaultInputValu, _ref$defaultMenuIsOpe = _ref3.defaultMenuIsOpen, defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe, _ref$defaultValue = _ref3.defaultValue, defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue, propsInputValue = _ref3.inputValue, propsMenuIsOpen = _ref3.menuIsOpen, propsOnChange = _ref3.onChange, propsOnInputChange = _ref3.onInputChange, propsOnMenuClose = _ref3.onMenuClose, propsOnMenuOpen = _ref3.onMenuOpen, propsValue = _ref3.value, restSelectProps = _objectWithoutProperties$
|
|
41111
|
+
var _ref$defaultInputValu = _ref3.defaultInputValue, defaultInputValue = _ref$defaultInputValu === void 0 ? "" : _ref$defaultInputValu, _ref$defaultMenuIsOpe = _ref3.defaultMenuIsOpen, defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe, _ref$defaultValue = _ref3.defaultValue, defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue, propsInputValue = _ref3.inputValue, propsMenuIsOpen = _ref3.menuIsOpen, propsOnChange = _ref3.onChange, propsOnInputChange = _ref3.onInputChange, propsOnMenuClose = _ref3.onMenuClose, propsOnMenuOpen = _ref3.onMenuOpen, propsValue = _ref3.value, restSelectProps = _objectWithoutProperties$w(_ref3, _excluded$5);
|
|
41102
41112
|
var _useState = useState(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray$a(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1];
|
|
41103
41113
|
var _useState3 = useState(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray$a(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1];
|
|
41104
41114
|
var _useState5 = useState(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray$a(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1];
|
|
@@ -41192,7 +41202,7 @@ var _ref = {
|
|
|
41192
41202
|
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
|
|
41193
41203
|
};
|
|
41194
41204
|
var A11yText = function A11yText2(props) {
|
|
41195
|
-
return jsx("span", _extends$
|
|
41205
|
+
return jsx("span", _extends$Q({
|
|
41196
41206
|
css: _ref
|
|
41197
41207
|
}, props));
|
|
41198
41208
|
};
|
|
@@ -41637,9 +41647,9 @@ var createFilter = function createFilter2(config2) {
|
|
|
41637
41647
|
};
|
|
41638
41648
|
var _excluded$4 = ["innerRef"];
|
|
41639
41649
|
function DummyInput(_ref3) {
|
|
41640
|
-
var innerRef = _ref3.innerRef, props = _objectWithoutProperties$
|
|
41650
|
+
var innerRef = _ref3.innerRef, props = _objectWithoutProperties$w(_ref3, _excluded$4);
|
|
41641
41651
|
var filteredProps = removeProps(props, "onExited", "in", "enter", "exit", "appear");
|
|
41642
|
-
return jsx("input", _extends$
|
|
41652
|
+
return jsx("input", _extends$Q({
|
|
41643
41653
|
ref: innerRef
|
|
41644
41654
|
}, filteredProps, {
|
|
41645
41655
|
css: /* @__PURE__ */ css$2({
|
|
@@ -42906,7 +42916,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
42906
42916
|
"aria-describedby": this.getElementId("placeholder")
|
|
42907
42917
|
});
|
|
42908
42918
|
if (!isSearchable) {
|
|
42909
|
-
return /* @__PURE__ */ React.createElement(DummyInput, _extends$
|
|
42919
|
+
return /* @__PURE__ */ React.createElement(DummyInput, _extends$Q({
|
|
42910
42920
|
id: id2,
|
|
42911
42921
|
innerRef: this.getInputRef,
|
|
42912
42922
|
onBlur: this.onInputBlur,
|
|
@@ -42919,7 +42929,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
42919
42929
|
value: ""
|
|
42920
42930
|
}, ariaAttributes));
|
|
42921
42931
|
}
|
|
42922
|
-
return /* @__PURE__ */ React.createElement(Input3, _extends$
|
|
42932
|
+
return /* @__PURE__ */ React.createElement(Input3, _extends$Q({}, commonProps, {
|
|
42923
42933
|
autoCapitalize: "none",
|
|
42924
42934
|
autoComplete: "off",
|
|
42925
42935
|
autoCorrect: "off",
|
|
@@ -42946,7 +42956,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
42946
42956
|
var _this$props9 = this.props, controlShouldRenderValue = _this$props9.controlShouldRenderValue, isDisabled = _this$props9.isDisabled, isMulti = _this$props9.isMulti, inputValue = _this$props9.inputValue, placeholder = _this$props9.placeholder;
|
|
42947
42957
|
var _this$state5 = this.state, selectValue = _this$state5.selectValue, focusedValue = _this$state5.focusedValue, isFocused = _this$state5.isFocused;
|
|
42948
42958
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
42949
|
-
return inputValue ? null : /* @__PURE__ */ React.createElement(Placeholder3, _extends$
|
|
42959
|
+
return inputValue ? null : /* @__PURE__ */ React.createElement(Placeholder3, _extends$Q({}, commonProps, {
|
|
42950
42960
|
key: "placeholder",
|
|
42951
42961
|
isDisabled,
|
|
42952
42962
|
isFocused,
|
|
@@ -42959,7 +42969,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
42959
42969
|
return selectValue.map(function(opt, index2) {
|
|
42960
42970
|
var isOptionFocused = opt === focusedValue;
|
|
42961
42971
|
var key2 = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
42962
|
-
return /* @__PURE__ */ React.createElement(MultiValue3, _extends$
|
|
42972
|
+
return /* @__PURE__ */ React.createElement(MultiValue3, _extends$Q({}, commonProps, {
|
|
42963
42973
|
components: {
|
|
42964
42974
|
Container: MultiValueContainer2,
|
|
42965
42975
|
Label: MultiValueLabel2,
|
|
@@ -42988,7 +42998,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
42988
42998
|
return null;
|
|
42989
42999
|
}
|
|
42990
43000
|
var singleValue = selectValue[0];
|
|
42991
|
-
return /* @__PURE__ */ React.createElement(SingleValue3, _extends$
|
|
43001
|
+
return /* @__PURE__ */ React.createElement(SingleValue3, _extends$Q({}, commonProps, {
|
|
42992
43002
|
data: singleValue,
|
|
42993
43003
|
isDisabled
|
|
42994
43004
|
}), this.formatOptionLabel(singleValue, "value"));
|
|
@@ -43008,7 +43018,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43008
43018
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
43009
43019
|
"aria-hidden": "true"
|
|
43010
43020
|
};
|
|
43011
|
-
return /* @__PURE__ */ React.createElement(ClearIndicator3, _extends$
|
|
43021
|
+
return /* @__PURE__ */ React.createElement(ClearIndicator3, _extends$Q({}, commonProps, {
|
|
43012
43022
|
innerProps,
|
|
43013
43023
|
isFocused
|
|
43014
43024
|
}));
|
|
@@ -43025,7 +43035,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43025
43035
|
var innerProps = {
|
|
43026
43036
|
"aria-hidden": "true"
|
|
43027
43037
|
};
|
|
43028
|
-
return /* @__PURE__ */ React.createElement(LoadingIndicator3, _extends$
|
|
43038
|
+
return /* @__PURE__ */ React.createElement(LoadingIndicator3, _extends$Q({}, commonProps, {
|
|
43029
43039
|
innerProps,
|
|
43030
43040
|
isDisabled,
|
|
43031
43041
|
isFocused
|
|
@@ -43040,7 +43050,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43040
43050
|
var commonProps = this.commonProps;
|
|
43041
43051
|
var isDisabled = this.props.isDisabled;
|
|
43042
43052
|
var isFocused = this.state.isFocused;
|
|
43043
|
-
return /* @__PURE__ */ React.createElement(IndicatorSeparator3, _extends$
|
|
43053
|
+
return /* @__PURE__ */ React.createElement(IndicatorSeparator3, _extends$Q({}, commonProps, {
|
|
43044
43054
|
isDisabled,
|
|
43045
43055
|
isFocused
|
|
43046
43056
|
}));
|
|
@@ -43059,7 +43069,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43059
43069
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
43060
43070
|
"aria-hidden": "true"
|
|
43061
43071
|
};
|
|
43062
|
-
return /* @__PURE__ */ React.createElement(DropdownIndicator3, _extends$
|
|
43072
|
+
return /* @__PURE__ */ React.createElement(DropdownIndicator3, _extends$Q({}, commonProps, {
|
|
43063
43073
|
innerProps,
|
|
43064
43074
|
isDisabled,
|
|
43065
43075
|
isFocused
|
|
@@ -43092,7 +43102,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43092
43102
|
onMouseOver: onHover,
|
|
43093
43103
|
tabIndex: -1
|
|
43094
43104
|
};
|
|
43095
|
-
return /* @__PURE__ */ React.createElement(Option3, _extends$
|
|
43105
|
+
return /* @__PURE__ */ React.createElement(Option3, _extends$Q({}, commonProps, {
|
|
43096
43106
|
innerProps,
|
|
43097
43107
|
data: data2,
|
|
43098
43108
|
isDisabled,
|
|
@@ -43112,7 +43122,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43112
43122
|
var _data = item2.data, options2 = item2.options, groupIndex = item2.index;
|
|
43113
43123
|
var groupId = "".concat(_this4.getElementId("group"), "-").concat(groupIndex);
|
|
43114
43124
|
var headingId = "".concat(groupId, "-heading");
|
|
43115
|
-
return /* @__PURE__ */ React.createElement(Group3, _extends$
|
|
43125
|
+
return /* @__PURE__ */ React.createElement(Group3, _extends$Q({}, commonProps, {
|
|
43116
43126
|
key: groupId,
|
|
43117
43127
|
data: _data,
|
|
43118
43128
|
options: options2,
|
|
@@ -43151,9 +43161,9 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43151
43161
|
menuPosition,
|
|
43152
43162
|
menuShouldScrollIntoView
|
|
43153
43163
|
};
|
|
43154
|
-
var menuElement = /* @__PURE__ */ React.createElement(MenuPlacer, _extends$
|
|
43164
|
+
var menuElement = /* @__PURE__ */ React.createElement(MenuPlacer, _extends$Q({}, commonProps, menuPlacementProps), function(_ref4) {
|
|
43155
43165
|
var ref = _ref4.ref, _ref4$placerProps = _ref4.placerProps, placement = _ref4$placerProps.placement, maxHeight = _ref4$placerProps.maxHeight;
|
|
43156
|
-
return /* @__PURE__ */ React.createElement(Menu3, _extends$
|
|
43166
|
+
return /* @__PURE__ */ React.createElement(Menu3, _extends$Q({}, commonProps, menuPlacementProps, {
|
|
43157
43167
|
innerRef: ref,
|
|
43158
43168
|
innerProps: {
|
|
43159
43169
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -43168,7 +43178,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43168
43178
|
onBottomArrive: onMenuScrollToBottom,
|
|
43169
43179
|
lockEnabled: menuShouldBlockScroll
|
|
43170
43180
|
}, function(scrollTargetRef) {
|
|
43171
|
-
return /* @__PURE__ */ React.createElement(MenuList3, _extends$
|
|
43181
|
+
return /* @__PURE__ */ React.createElement(MenuList3, _extends$Q({}, commonProps, {
|
|
43172
43182
|
innerRef: function innerRef(instance2) {
|
|
43173
43183
|
_this4.getMenuListRef(instance2);
|
|
43174
43184
|
scrollTargetRef(instance2);
|
|
@@ -43179,7 +43189,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43179
43189
|
}), menuUI);
|
|
43180
43190
|
}));
|
|
43181
43191
|
});
|
|
43182
|
-
return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React.createElement(MenuPortal3, _extends$
|
|
43192
|
+
return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React.createElement(MenuPortal3, _extends$Q({}, commonProps, {
|
|
43183
43193
|
appendTo: menuPortalTarget,
|
|
43184
43194
|
controlElement: this.controlRef,
|
|
43185
43195
|
menuPlacement,
|
|
@@ -43233,7 +43243,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43233
43243
|
var commonProps = this.commonProps;
|
|
43234
43244
|
var _this$state6 = this.state, ariaSelection = _this$state6.ariaSelection, focusedOption = _this$state6.focusedOption, focusedValue = _this$state6.focusedValue, isFocused = _this$state6.isFocused, selectValue = _this$state6.selectValue;
|
|
43235
43245
|
var focusableOptions = this.getFocusableOptions();
|
|
43236
|
-
return /* @__PURE__ */ React.createElement(LiveRegion, _extends$
|
|
43246
|
+
return /* @__PURE__ */ React.createElement(LiveRegion, _extends$Q({}, commonProps, {
|
|
43237
43247
|
id: this.getElementId("live-region"),
|
|
43238
43248
|
ariaSelection,
|
|
43239
43249
|
focusedOption,
|
|
@@ -43250,7 +43260,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43250
43260
|
var _this$props14 = this.props, className = _this$props14.className, id2 = _this$props14.id, isDisabled = _this$props14.isDisabled, menuIsOpen = _this$props14.menuIsOpen;
|
|
43251
43261
|
var isFocused = this.state.isFocused;
|
|
43252
43262
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
43253
|
-
return /* @__PURE__ */ React.createElement(SelectContainer3, _extends$
|
|
43263
|
+
return /* @__PURE__ */ React.createElement(SelectContainer3, _extends$Q({}, commonProps, {
|
|
43254
43264
|
className,
|
|
43255
43265
|
innerProps: {
|
|
43256
43266
|
id: id2,
|
|
@@ -43258,7 +43268,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43258
43268
|
},
|
|
43259
43269
|
isDisabled,
|
|
43260
43270
|
isFocused
|
|
43261
|
-
}), this.renderLiveRegion(), /* @__PURE__ */ React.createElement(Control3, _extends$
|
|
43271
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ React.createElement(Control3, _extends$Q({}, commonProps, {
|
|
43262
43272
|
innerRef: this.getControlRef,
|
|
43263
43273
|
innerProps: {
|
|
43264
43274
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -43267,9 +43277,9 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43267
43277
|
isDisabled,
|
|
43268
43278
|
isFocused,
|
|
43269
43279
|
menuIsOpen
|
|
43270
|
-
}), /* @__PURE__ */ React.createElement(ValueContainer3, _extends$
|
|
43280
|
+
}), /* @__PURE__ */ React.createElement(ValueContainer3, _extends$Q({}, commonProps, {
|
|
43271
43281
|
isDisabled
|
|
43272
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React.createElement(IndicatorsContainer3, _extends$
|
|
43282
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React.createElement(IndicatorsContainer3, _extends$Q({}, commonProps, {
|
|
43273
43283
|
isDisabled
|
|
43274
43284
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
43275
43285
|
}
|
|
@@ -43320,7 +43330,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
43320
43330
|
Select$2.defaultProps = defaultProps$6;
|
|
43321
43331
|
var StateManagedSelect = /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
43322
43332
|
var baseSelectProps = useStateManager(props);
|
|
43323
|
-
return /* @__PURE__ */ React.createElement(Select$2, _extends$
|
|
43333
|
+
return /* @__PURE__ */ React.createElement(Select$2, _extends$Q({
|
|
43324
43334
|
ref
|
|
43325
43335
|
}, baseSelectProps));
|
|
43326
43336
|
});
|
|
@@ -50169,7 +50179,7 @@ function createMemoryHistory(options2) {
|
|
|
50169
50179
|
}
|
|
50170
50180
|
var _options3 = options2, _options3$initialEntr = _options3.initialEntries, initialEntries = _options3$initialEntr === void 0 ? ["/"] : _options3$initialEntr, initialIndex = _options3.initialIndex;
|
|
50171
50181
|
var entries = initialEntries.map(function(entry) {
|
|
50172
|
-
var location3 = readOnly(_extends$
|
|
50182
|
+
var location3 = readOnly(_extends$Q({
|
|
50173
50183
|
pathname: "/",
|
|
50174
50184
|
search: "",
|
|
50175
50185
|
hash: "",
|
|
@@ -50190,7 +50200,7 @@ function createMemoryHistory(options2) {
|
|
|
50190
50200
|
if (state === void 0) {
|
|
50191
50201
|
state = null;
|
|
50192
50202
|
}
|
|
50193
|
-
return readOnly(_extends$
|
|
50203
|
+
return readOnly(_extends$Q({
|
|
50194
50204
|
pathname: location2.pathname,
|
|
50195
50205
|
search: "",
|
|
50196
50206
|
hash: ""
|
|
@@ -50995,8 +51005,8 @@ const Country = ({ id: id2 }) => {
|
|
|
50995
51005
|
const country = countries$1.find((country2) => country2.id === id2);
|
|
50996
51006
|
return /* @__PURE__ */ React__default.createElement("span", null, country == null ? void 0 : country.label);
|
|
50997
51007
|
};
|
|
50998
|
-
function _extends$
|
|
50999
|
-
_extends$
|
|
51008
|
+
function _extends$H() {
|
|
51009
|
+
_extends$H = Object.assign || function(target) {
|
|
51000
51010
|
for (var i = 1; i < arguments.length; i++) {
|
|
51001
51011
|
var source2 = arguments[i];
|
|
51002
51012
|
for (var key2 in source2) {
|
|
@@ -51007,12 +51017,12 @@ function _extends$F() {
|
|
|
51007
51017
|
}
|
|
51008
51018
|
return target;
|
|
51009
51019
|
};
|
|
51010
|
-
return _extends$
|
|
51020
|
+
return _extends$H.apply(this, arguments);
|
|
51011
51021
|
}
|
|
51012
|
-
function _objectWithoutProperties$
|
|
51022
|
+
function _objectWithoutProperties$v(source2, excluded) {
|
|
51013
51023
|
if (source2 == null)
|
|
51014
51024
|
return {};
|
|
51015
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51025
|
+
var target = _objectWithoutPropertiesLoose$w(source2, excluded);
|
|
51016
51026
|
var key2, i;
|
|
51017
51027
|
if (Object.getOwnPropertySymbols) {
|
|
51018
51028
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51027,7 +51037,7 @@ function _objectWithoutProperties$t(source2, excluded) {
|
|
|
51027
51037
|
}
|
|
51028
51038
|
return target;
|
|
51029
51039
|
}
|
|
51030
|
-
function _objectWithoutPropertiesLoose$
|
|
51040
|
+
function _objectWithoutPropertiesLoose$w(source2, excluded) {
|
|
51031
51041
|
if (source2 == null)
|
|
51032
51042
|
return {};
|
|
51033
51043
|
var target = {};
|
|
@@ -51042,8 +51052,8 @@ function _objectWithoutPropertiesLoose$u(source2, excluded) {
|
|
|
51042
51052
|
return target;
|
|
51043
51053
|
}
|
|
51044
51054
|
var ArrowDown = forwardRef(function(_ref3, ref) {
|
|
51045
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51046
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51055
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$v(_ref3, ["color", "size"]);
|
|
51056
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$H({
|
|
51047
51057
|
ref,
|
|
51048
51058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51049
51059
|
width: size,
|
|
@@ -51069,8 +51079,8 @@ ArrowDown.propTypes = {
|
|
|
51069
51079
|
};
|
|
51070
51080
|
ArrowDown.displayName = "ArrowDown";
|
|
51071
51081
|
var ArrowDown$1 = ArrowDown;
|
|
51072
|
-
function _extends$
|
|
51073
|
-
_extends$
|
|
51082
|
+
function _extends$G() {
|
|
51083
|
+
_extends$G = Object.assign || function(target) {
|
|
51074
51084
|
for (var i = 1; i < arguments.length; i++) {
|
|
51075
51085
|
var source2 = arguments[i];
|
|
51076
51086
|
for (var key2 in source2) {
|
|
@@ -51081,12 +51091,12 @@ function _extends$E() {
|
|
|
51081
51091
|
}
|
|
51082
51092
|
return target;
|
|
51083
51093
|
};
|
|
51084
|
-
return _extends$
|
|
51094
|
+
return _extends$G.apply(this, arguments);
|
|
51085
51095
|
}
|
|
51086
|
-
function _objectWithoutProperties$
|
|
51096
|
+
function _objectWithoutProperties$u(source2, excluded) {
|
|
51087
51097
|
if (source2 == null)
|
|
51088
51098
|
return {};
|
|
51089
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51099
|
+
var target = _objectWithoutPropertiesLoose$v(source2, excluded);
|
|
51090
51100
|
var key2, i;
|
|
51091
51101
|
if (Object.getOwnPropertySymbols) {
|
|
51092
51102
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51101,7 +51111,7 @@ function _objectWithoutProperties$s(source2, excluded) {
|
|
|
51101
51111
|
}
|
|
51102
51112
|
return target;
|
|
51103
51113
|
}
|
|
51104
|
-
function _objectWithoutPropertiesLoose$
|
|
51114
|
+
function _objectWithoutPropertiesLoose$v(source2, excluded) {
|
|
51105
51115
|
if (source2 == null)
|
|
51106
51116
|
return {};
|
|
51107
51117
|
var target = {};
|
|
@@ -51116,8 +51126,8 @@ function _objectWithoutPropertiesLoose$t(source2, excluded) {
|
|
|
51116
51126
|
return target;
|
|
51117
51127
|
}
|
|
51118
51128
|
var ArrowUp = forwardRef(function(_ref3, ref) {
|
|
51119
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51120
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51129
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$u(_ref3, ["color", "size"]);
|
|
51130
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$G({
|
|
51121
51131
|
ref,
|
|
51122
51132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51123
51133
|
width: size,
|
|
@@ -51143,8 +51153,8 @@ ArrowUp.propTypes = {
|
|
|
51143
51153
|
};
|
|
51144
51154
|
ArrowUp.displayName = "ArrowUp";
|
|
51145
51155
|
var ArrowUp$1 = ArrowUp;
|
|
51146
|
-
function _extends$
|
|
51147
|
-
_extends$
|
|
51156
|
+
function _extends$F() {
|
|
51157
|
+
_extends$F = Object.assign || function(target) {
|
|
51148
51158
|
for (var i = 1; i < arguments.length; i++) {
|
|
51149
51159
|
var source2 = arguments[i];
|
|
51150
51160
|
for (var key2 in source2) {
|
|
@@ -51155,12 +51165,12 @@ function _extends$D() {
|
|
|
51155
51165
|
}
|
|
51156
51166
|
return target;
|
|
51157
51167
|
};
|
|
51158
|
-
return _extends$
|
|
51168
|
+
return _extends$F.apply(this, arguments);
|
|
51159
51169
|
}
|
|
51160
|
-
function _objectWithoutProperties$
|
|
51170
|
+
function _objectWithoutProperties$t(source2, excluded) {
|
|
51161
51171
|
if (source2 == null)
|
|
51162
51172
|
return {};
|
|
51163
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51173
|
+
var target = _objectWithoutPropertiesLoose$u(source2, excluded);
|
|
51164
51174
|
var key2, i;
|
|
51165
51175
|
if (Object.getOwnPropertySymbols) {
|
|
51166
51176
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51175,7 +51185,7 @@ function _objectWithoutProperties$r(source2, excluded) {
|
|
|
51175
51185
|
}
|
|
51176
51186
|
return target;
|
|
51177
51187
|
}
|
|
51178
|
-
function _objectWithoutPropertiesLoose$
|
|
51188
|
+
function _objectWithoutPropertiesLoose$u(source2, excluded) {
|
|
51179
51189
|
if (source2 == null)
|
|
51180
51190
|
return {};
|
|
51181
51191
|
var target = {};
|
|
@@ -51190,8 +51200,8 @@ function _objectWithoutPropertiesLoose$s(source2, excluded) {
|
|
|
51190
51200
|
return target;
|
|
51191
51201
|
}
|
|
51192
51202
|
var Calendar = forwardRef(function(_ref3, ref) {
|
|
51193
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51194
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51203
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$t(_ref3, ["color", "size"]);
|
|
51204
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$F({
|
|
51195
51205
|
ref,
|
|
51196
51206
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51197
51207
|
width: size,
|
|
@@ -51232,8 +51242,8 @@ Calendar.propTypes = {
|
|
|
51232
51242
|
};
|
|
51233
51243
|
Calendar.displayName = "Calendar";
|
|
51234
51244
|
var Calendar$1 = Calendar;
|
|
51235
|
-
function _extends$
|
|
51236
|
-
_extends$
|
|
51245
|
+
function _extends$E() {
|
|
51246
|
+
_extends$E = Object.assign || function(target) {
|
|
51237
51247
|
for (var i = 1; i < arguments.length; i++) {
|
|
51238
51248
|
var source2 = arguments[i];
|
|
51239
51249
|
for (var key2 in source2) {
|
|
@@ -51244,12 +51254,12 @@ function _extends$C() {
|
|
|
51244
51254
|
}
|
|
51245
51255
|
return target;
|
|
51246
51256
|
};
|
|
51247
|
-
return _extends$
|
|
51257
|
+
return _extends$E.apply(this, arguments);
|
|
51248
51258
|
}
|
|
51249
|
-
function _objectWithoutProperties$
|
|
51259
|
+
function _objectWithoutProperties$s(source2, excluded) {
|
|
51250
51260
|
if (source2 == null)
|
|
51251
51261
|
return {};
|
|
51252
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51262
|
+
var target = _objectWithoutPropertiesLoose$t(source2, excluded);
|
|
51253
51263
|
var key2, i;
|
|
51254
51264
|
if (Object.getOwnPropertySymbols) {
|
|
51255
51265
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51264,7 +51274,7 @@ function _objectWithoutProperties$q(source2, excluded) {
|
|
|
51264
51274
|
}
|
|
51265
51275
|
return target;
|
|
51266
51276
|
}
|
|
51267
|
-
function _objectWithoutPropertiesLoose$
|
|
51277
|
+
function _objectWithoutPropertiesLoose$t(source2, excluded) {
|
|
51268
51278
|
if (source2 == null)
|
|
51269
51279
|
return {};
|
|
51270
51280
|
var target = {};
|
|
@@ -51279,8 +51289,8 @@ function _objectWithoutPropertiesLoose$r(source2, excluded) {
|
|
|
51279
51289
|
return target;
|
|
51280
51290
|
}
|
|
51281
51291
|
var Clock = forwardRef(function(_ref3, ref) {
|
|
51282
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51283
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51292
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$s(_ref3, ["color", "size"]);
|
|
51293
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$E({
|
|
51284
51294
|
ref,
|
|
51285
51295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51286
51296
|
width: size,
|
|
@@ -51305,8 +51315,8 @@ Clock.propTypes = {
|
|
|
51305
51315
|
};
|
|
51306
51316
|
Clock.displayName = "Clock";
|
|
51307
51317
|
var Clock$1 = Clock;
|
|
51308
|
-
function _extends$
|
|
51309
|
-
_extends$
|
|
51318
|
+
function _extends$D() {
|
|
51319
|
+
_extends$D = Object.assign || function(target) {
|
|
51310
51320
|
for (var i = 1; i < arguments.length; i++) {
|
|
51311
51321
|
var source2 = arguments[i];
|
|
51312
51322
|
for (var key2 in source2) {
|
|
@@ -51317,12 +51327,12 @@ function _extends$B() {
|
|
|
51317
51327
|
}
|
|
51318
51328
|
return target;
|
|
51319
51329
|
};
|
|
51320
|
-
return _extends$
|
|
51330
|
+
return _extends$D.apply(this, arguments);
|
|
51321
51331
|
}
|
|
51322
|
-
function _objectWithoutProperties$
|
|
51332
|
+
function _objectWithoutProperties$r(source2, excluded) {
|
|
51323
51333
|
if (source2 == null)
|
|
51324
51334
|
return {};
|
|
51325
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51335
|
+
var target = _objectWithoutPropertiesLoose$s(source2, excluded);
|
|
51326
51336
|
var key2, i;
|
|
51327
51337
|
if (Object.getOwnPropertySymbols) {
|
|
51328
51338
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51337,7 +51347,7 @@ function _objectWithoutProperties$p(source2, excluded) {
|
|
|
51337
51347
|
}
|
|
51338
51348
|
return target;
|
|
51339
51349
|
}
|
|
51340
|
-
function _objectWithoutPropertiesLoose$
|
|
51350
|
+
function _objectWithoutPropertiesLoose$s(source2, excluded) {
|
|
51341
51351
|
if (source2 == null)
|
|
51342
51352
|
return {};
|
|
51343
51353
|
var target = {};
|
|
@@ -51352,8 +51362,8 @@ function _objectWithoutPropertiesLoose$q(source2, excluded) {
|
|
|
51352
51362
|
return target;
|
|
51353
51363
|
}
|
|
51354
51364
|
var Edit2 = forwardRef(function(_ref3, ref) {
|
|
51355
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51356
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51365
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$r(_ref3, ["color", "size"]);
|
|
51366
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$D({
|
|
51357
51367
|
ref,
|
|
51358
51368
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51359
51369
|
width: size,
|
|
@@ -51374,8 +51384,8 @@ Edit2.propTypes = {
|
|
|
51374
51384
|
};
|
|
51375
51385
|
Edit2.displayName = "Edit2";
|
|
51376
51386
|
var Edit2$1 = Edit2;
|
|
51377
|
-
function _extends$
|
|
51378
|
-
_extends$
|
|
51387
|
+
function _extends$C() {
|
|
51388
|
+
_extends$C = Object.assign || function(target) {
|
|
51379
51389
|
for (var i = 1; i < arguments.length; i++) {
|
|
51380
51390
|
var source2 = arguments[i];
|
|
51381
51391
|
for (var key2 in source2) {
|
|
@@ -51386,12 +51396,12 @@ function _extends$A() {
|
|
|
51386
51396
|
}
|
|
51387
51397
|
return target;
|
|
51388
51398
|
};
|
|
51389
|
-
return _extends$
|
|
51399
|
+
return _extends$C.apply(this, arguments);
|
|
51390
51400
|
}
|
|
51391
|
-
function _objectWithoutProperties$
|
|
51401
|
+
function _objectWithoutProperties$q(source2, excluded) {
|
|
51392
51402
|
if (source2 == null)
|
|
51393
51403
|
return {};
|
|
51394
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51404
|
+
var target = _objectWithoutPropertiesLoose$r(source2, excluded);
|
|
51395
51405
|
var key2, i;
|
|
51396
51406
|
if (Object.getOwnPropertySymbols) {
|
|
51397
51407
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51406,7 +51416,7 @@ function _objectWithoutProperties$o(source2, excluded) {
|
|
|
51406
51416
|
}
|
|
51407
51417
|
return target;
|
|
51408
51418
|
}
|
|
51409
|
-
function _objectWithoutPropertiesLoose$
|
|
51419
|
+
function _objectWithoutPropertiesLoose$r(source2, excluded) {
|
|
51410
51420
|
if (source2 == null)
|
|
51411
51421
|
return {};
|
|
51412
51422
|
var target = {};
|
|
@@ -51421,8 +51431,8 @@ function _objectWithoutPropertiesLoose$p(source2, excluded) {
|
|
|
51421
51431
|
return target;
|
|
51422
51432
|
}
|
|
51423
51433
|
var Eye = forwardRef(function(_ref3, ref) {
|
|
51424
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51425
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51434
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$q(_ref3, ["color", "size"]);
|
|
51435
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$C({
|
|
51426
51436
|
ref,
|
|
51427
51437
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51428
51438
|
width: size,
|
|
@@ -51447,8 +51457,8 @@ Eye.propTypes = {
|
|
|
51447
51457
|
};
|
|
51448
51458
|
Eye.displayName = "Eye";
|
|
51449
51459
|
var Eye$1 = Eye;
|
|
51450
|
-
function _extends$
|
|
51451
|
-
_extends$
|
|
51460
|
+
function _extends$B() {
|
|
51461
|
+
_extends$B = Object.assign || function(target) {
|
|
51452
51462
|
for (var i = 1; i < arguments.length; i++) {
|
|
51453
51463
|
var source2 = arguments[i];
|
|
51454
51464
|
for (var key2 in source2) {
|
|
@@ -51459,12 +51469,12 @@ function _extends$z() {
|
|
|
51459
51469
|
}
|
|
51460
51470
|
return target;
|
|
51461
51471
|
};
|
|
51462
|
-
return _extends$
|
|
51472
|
+
return _extends$B.apply(this, arguments);
|
|
51463
51473
|
}
|
|
51464
|
-
function _objectWithoutProperties$
|
|
51474
|
+
function _objectWithoutProperties$p(source2, excluded) {
|
|
51465
51475
|
if (source2 == null)
|
|
51466
51476
|
return {};
|
|
51467
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51477
|
+
var target = _objectWithoutPropertiesLoose$q(source2, excluded);
|
|
51468
51478
|
var key2, i;
|
|
51469
51479
|
if (Object.getOwnPropertySymbols) {
|
|
51470
51480
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51479,7 +51489,7 @@ function _objectWithoutProperties$n(source2, excluded) {
|
|
|
51479
51489
|
}
|
|
51480
51490
|
return target;
|
|
51481
51491
|
}
|
|
51482
|
-
function _objectWithoutPropertiesLoose$
|
|
51492
|
+
function _objectWithoutPropertiesLoose$q(source2, excluded) {
|
|
51483
51493
|
if (source2 == null)
|
|
51484
51494
|
return {};
|
|
51485
51495
|
var target = {};
|
|
@@ -51494,8 +51504,8 @@ function _objectWithoutPropertiesLoose$o(source2, excluded) {
|
|
|
51494
51504
|
return target;
|
|
51495
51505
|
}
|
|
51496
51506
|
var MessageCircle = forwardRef(function(_ref3, ref) {
|
|
51497
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51498
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51507
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$p(_ref3, ["color", "size"]);
|
|
51508
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$B({
|
|
51499
51509
|
ref,
|
|
51500
51510
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51501
51511
|
width: size,
|
|
@@ -51516,8 +51526,8 @@ MessageCircle.propTypes = {
|
|
|
51516
51526
|
};
|
|
51517
51527
|
MessageCircle.displayName = "MessageCircle";
|
|
51518
51528
|
var MessageCircle$1 = MessageCircle;
|
|
51519
|
-
function _extends$
|
|
51520
|
-
_extends$
|
|
51529
|
+
function _extends$A() {
|
|
51530
|
+
_extends$A = Object.assign || function(target) {
|
|
51521
51531
|
for (var i = 1; i < arguments.length; i++) {
|
|
51522
51532
|
var source2 = arguments[i];
|
|
51523
51533
|
for (var key2 in source2) {
|
|
@@ -51528,12 +51538,12 @@ function _extends$y() {
|
|
|
51528
51538
|
}
|
|
51529
51539
|
return target;
|
|
51530
51540
|
};
|
|
51531
|
-
return _extends$
|
|
51541
|
+
return _extends$A.apply(this, arguments);
|
|
51532
51542
|
}
|
|
51533
|
-
function _objectWithoutProperties$
|
|
51543
|
+
function _objectWithoutProperties$o(source2, excluded) {
|
|
51534
51544
|
if (source2 == null)
|
|
51535
51545
|
return {};
|
|
51536
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51546
|
+
var target = _objectWithoutPropertiesLoose$p(source2, excluded);
|
|
51537
51547
|
var key2, i;
|
|
51538
51548
|
if (Object.getOwnPropertySymbols) {
|
|
51539
51549
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51548,7 +51558,7 @@ function _objectWithoutProperties$m(source2, excluded) {
|
|
|
51548
51558
|
}
|
|
51549
51559
|
return target;
|
|
51550
51560
|
}
|
|
51551
|
-
function _objectWithoutPropertiesLoose$
|
|
51561
|
+
function _objectWithoutPropertiesLoose$p(source2, excluded) {
|
|
51552
51562
|
if (source2 == null)
|
|
51553
51563
|
return {};
|
|
51554
51564
|
var target = {};
|
|
@@ -51563,8 +51573,8 @@ function _objectWithoutPropertiesLoose$n(source2, excluded) {
|
|
|
51563
51573
|
return target;
|
|
51564
51574
|
}
|
|
51565
51575
|
var MoreVertical = forwardRef(function(_ref3, ref) {
|
|
51566
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51567
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51576
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$o(_ref3, ["color", "size"]);
|
|
51577
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$A({
|
|
51568
51578
|
ref,
|
|
51569
51579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51570
51580
|
width: size,
|
|
@@ -51595,8 +51605,8 @@ MoreVertical.propTypes = {
|
|
|
51595
51605
|
};
|
|
51596
51606
|
MoreVertical.displayName = "MoreVertical";
|
|
51597
51607
|
var MoreVertical$1 = MoreVertical;
|
|
51598
|
-
function _extends$
|
|
51599
|
-
_extends$
|
|
51608
|
+
function _extends$z() {
|
|
51609
|
+
_extends$z = Object.assign || function(target) {
|
|
51600
51610
|
for (var i = 1; i < arguments.length; i++) {
|
|
51601
51611
|
var source2 = arguments[i];
|
|
51602
51612
|
for (var key2 in source2) {
|
|
@@ -51607,12 +51617,12 @@ function _extends$x() {
|
|
|
51607
51617
|
}
|
|
51608
51618
|
return target;
|
|
51609
51619
|
};
|
|
51610
|
-
return _extends$
|
|
51620
|
+
return _extends$z.apply(this, arguments);
|
|
51611
51621
|
}
|
|
51612
|
-
function _objectWithoutProperties$
|
|
51622
|
+
function _objectWithoutProperties$n(source2, excluded) {
|
|
51613
51623
|
if (source2 == null)
|
|
51614
51624
|
return {};
|
|
51615
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51625
|
+
var target = _objectWithoutPropertiesLoose$o(source2, excluded);
|
|
51616
51626
|
var key2, i;
|
|
51617
51627
|
if (Object.getOwnPropertySymbols) {
|
|
51618
51628
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51627,7 +51637,7 @@ function _objectWithoutProperties$l(source2, excluded) {
|
|
|
51627
51637
|
}
|
|
51628
51638
|
return target;
|
|
51629
51639
|
}
|
|
51630
|
-
function _objectWithoutPropertiesLoose$
|
|
51640
|
+
function _objectWithoutPropertiesLoose$o(source2, excluded) {
|
|
51631
51641
|
if (source2 == null)
|
|
51632
51642
|
return {};
|
|
51633
51643
|
var target = {};
|
|
@@ -51642,8 +51652,8 @@ function _objectWithoutPropertiesLoose$m(source2, excluded) {
|
|
|
51642
51652
|
return target;
|
|
51643
51653
|
}
|
|
51644
51654
|
var MousePointer = forwardRef(function(_ref3, ref) {
|
|
51645
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51646
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51655
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$n(_ref3, ["color", "size"]);
|
|
51656
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$z({
|
|
51647
51657
|
ref,
|
|
51648
51658
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51649
51659
|
width: size,
|
|
@@ -51666,8 +51676,8 @@ MousePointer.propTypes = {
|
|
|
51666
51676
|
};
|
|
51667
51677
|
MousePointer.displayName = "MousePointer";
|
|
51668
51678
|
var MousePointer$1 = MousePointer;
|
|
51669
|
-
function _extends$
|
|
51670
|
-
_extends$
|
|
51679
|
+
function _extends$y() {
|
|
51680
|
+
_extends$y = Object.assign || function(target) {
|
|
51671
51681
|
for (var i = 1; i < arguments.length; i++) {
|
|
51672
51682
|
var source2 = arguments[i];
|
|
51673
51683
|
for (var key2 in source2) {
|
|
@@ -51678,12 +51688,12 @@ function _extends$w() {
|
|
|
51678
51688
|
}
|
|
51679
51689
|
return target;
|
|
51680
51690
|
};
|
|
51681
|
-
return _extends$
|
|
51691
|
+
return _extends$y.apply(this, arguments);
|
|
51682
51692
|
}
|
|
51683
|
-
function _objectWithoutProperties$
|
|
51693
|
+
function _objectWithoutProperties$m(source2, excluded) {
|
|
51684
51694
|
if (source2 == null)
|
|
51685
51695
|
return {};
|
|
51686
|
-
var target = _objectWithoutPropertiesLoose$
|
|
51696
|
+
var target = _objectWithoutPropertiesLoose$n(source2, excluded);
|
|
51687
51697
|
var key2, i;
|
|
51688
51698
|
if (Object.getOwnPropertySymbols) {
|
|
51689
51699
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
@@ -51698,7 +51708,7 @@ function _objectWithoutProperties$k(source2, excluded) {
|
|
|
51698
51708
|
}
|
|
51699
51709
|
return target;
|
|
51700
51710
|
}
|
|
51701
|
-
function _objectWithoutPropertiesLoose$
|
|
51711
|
+
function _objectWithoutPropertiesLoose$n(source2, excluded) {
|
|
51702
51712
|
if (source2 == null)
|
|
51703
51713
|
return {};
|
|
51704
51714
|
var target = {};
|
|
@@ -51713,8 +51723,8 @@ function _objectWithoutPropertiesLoose$l(source2, excluded) {
|
|
|
51713
51723
|
return target;
|
|
51714
51724
|
}
|
|
51715
51725
|
var Settings = forwardRef(function(_ref3, ref) {
|
|
51716
|
-
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$
|
|
51717
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends$
|
|
51726
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$m(_ref3, ["color", "size"]);
|
|
51727
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$y({
|
|
51718
51728
|
ref,
|
|
51719
51729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51720
51730
|
width: size,
|
|
@@ -51739,6 +51749,144 @@ Settings.propTypes = {
|
|
|
51739
51749
|
};
|
|
51740
51750
|
Settings.displayName = "Settings";
|
|
51741
51751
|
var Settings$1 = Settings;
|
|
51752
|
+
function _extends$x() {
|
|
51753
|
+
_extends$x = Object.assign || function(target) {
|
|
51754
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
51755
|
+
var source2 = arguments[i];
|
|
51756
|
+
for (var key2 in source2) {
|
|
51757
|
+
if (Object.prototype.hasOwnProperty.call(source2, key2)) {
|
|
51758
|
+
target[key2] = source2[key2];
|
|
51759
|
+
}
|
|
51760
|
+
}
|
|
51761
|
+
}
|
|
51762
|
+
return target;
|
|
51763
|
+
};
|
|
51764
|
+
return _extends$x.apply(this, arguments);
|
|
51765
|
+
}
|
|
51766
|
+
function _objectWithoutProperties$l(source2, excluded) {
|
|
51767
|
+
if (source2 == null)
|
|
51768
|
+
return {};
|
|
51769
|
+
var target = _objectWithoutPropertiesLoose$m(source2, excluded);
|
|
51770
|
+
var key2, i;
|
|
51771
|
+
if (Object.getOwnPropertySymbols) {
|
|
51772
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
51773
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
51774
|
+
key2 = sourceSymbolKeys[i];
|
|
51775
|
+
if (excluded.indexOf(key2) >= 0)
|
|
51776
|
+
continue;
|
|
51777
|
+
if (!Object.prototype.propertyIsEnumerable.call(source2, key2))
|
|
51778
|
+
continue;
|
|
51779
|
+
target[key2] = source2[key2];
|
|
51780
|
+
}
|
|
51781
|
+
}
|
|
51782
|
+
return target;
|
|
51783
|
+
}
|
|
51784
|
+
function _objectWithoutPropertiesLoose$m(source2, excluded) {
|
|
51785
|
+
if (source2 == null)
|
|
51786
|
+
return {};
|
|
51787
|
+
var target = {};
|
|
51788
|
+
var sourceKeys = Object.keys(source2);
|
|
51789
|
+
var key2, i;
|
|
51790
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
51791
|
+
key2 = sourceKeys[i];
|
|
51792
|
+
if (excluded.indexOf(key2) >= 0)
|
|
51793
|
+
continue;
|
|
51794
|
+
target[key2] = source2[key2];
|
|
51795
|
+
}
|
|
51796
|
+
return target;
|
|
51797
|
+
}
|
|
51798
|
+
var Shield = forwardRef(function(_ref3, ref) {
|
|
51799
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$l(_ref3, ["color", "size"]);
|
|
51800
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$x({
|
|
51801
|
+
ref,
|
|
51802
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51803
|
+
width: size,
|
|
51804
|
+
height: size,
|
|
51805
|
+
viewBox: "0 0 24 24",
|
|
51806
|
+
fill: "none",
|
|
51807
|
+
stroke: color2,
|
|
51808
|
+
strokeWidth: "2",
|
|
51809
|
+
strokeLinecap: "round",
|
|
51810
|
+
strokeLinejoin: "round"
|
|
51811
|
+
}, rest), /* @__PURE__ */ React__default.createElement("path", {
|
|
51812
|
+
d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
|
|
51813
|
+
}));
|
|
51814
|
+
});
|
|
51815
|
+
Shield.propTypes = {
|
|
51816
|
+
color: PropTypes$1.string,
|
|
51817
|
+
size: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number])
|
|
51818
|
+
};
|
|
51819
|
+
Shield.displayName = "Shield";
|
|
51820
|
+
var Shield$1 = Shield;
|
|
51821
|
+
function _extends$w() {
|
|
51822
|
+
_extends$w = Object.assign || function(target) {
|
|
51823
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
51824
|
+
var source2 = arguments[i];
|
|
51825
|
+
for (var key2 in source2) {
|
|
51826
|
+
if (Object.prototype.hasOwnProperty.call(source2, key2)) {
|
|
51827
|
+
target[key2] = source2[key2];
|
|
51828
|
+
}
|
|
51829
|
+
}
|
|
51830
|
+
}
|
|
51831
|
+
return target;
|
|
51832
|
+
};
|
|
51833
|
+
return _extends$w.apply(this, arguments);
|
|
51834
|
+
}
|
|
51835
|
+
function _objectWithoutProperties$k(source2, excluded) {
|
|
51836
|
+
if (source2 == null)
|
|
51837
|
+
return {};
|
|
51838
|
+
var target = _objectWithoutPropertiesLoose$l(source2, excluded);
|
|
51839
|
+
var key2, i;
|
|
51840
|
+
if (Object.getOwnPropertySymbols) {
|
|
51841
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source2);
|
|
51842
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
51843
|
+
key2 = sourceSymbolKeys[i];
|
|
51844
|
+
if (excluded.indexOf(key2) >= 0)
|
|
51845
|
+
continue;
|
|
51846
|
+
if (!Object.prototype.propertyIsEnumerable.call(source2, key2))
|
|
51847
|
+
continue;
|
|
51848
|
+
target[key2] = source2[key2];
|
|
51849
|
+
}
|
|
51850
|
+
}
|
|
51851
|
+
return target;
|
|
51852
|
+
}
|
|
51853
|
+
function _objectWithoutPropertiesLoose$l(source2, excluded) {
|
|
51854
|
+
if (source2 == null)
|
|
51855
|
+
return {};
|
|
51856
|
+
var target = {};
|
|
51857
|
+
var sourceKeys = Object.keys(source2);
|
|
51858
|
+
var key2, i;
|
|
51859
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
51860
|
+
key2 = sourceKeys[i];
|
|
51861
|
+
if (excluded.indexOf(key2) >= 0)
|
|
51862
|
+
continue;
|
|
51863
|
+
target[key2] = source2[key2];
|
|
51864
|
+
}
|
|
51865
|
+
return target;
|
|
51866
|
+
}
|
|
51867
|
+
var Star = forwardRef(function(_ref3, ref) {
|
|
51868
|
+
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$k(_ref3, ["color", "size"]);
|
|
51869
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends$w({
|
|
51870
|
+
ref,
|
|
51871
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51872
|
+
width: size,
|
|
51873
|
+
height: size,
|
|
51874
|
+
viewBox: "0 0 24 24",
|
|
51875
|
+
fill: "none",
|
|
51876
|
+
stroke: color2,
|
|
51877
|
+
strokeWidth: "2",
|
|
51878
|
+
strokeLinecap: "round",
|
|
51879
|
+
strokeLinejoin: "round"
|
|
51880
|
+
}, rest), /* @__PURE__ */ React__default.createElement("polygon", {
|
|
51881
|
+
points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
|
51882
|
+
}));
|
|
51883
|
+
});
|
|
51884
|
+
Star.propTypes = {
|
|
51885
|
+
color: PropTypes$1.string,
|
|
51886
|
+
size: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number])
|
|
51887
|
+
};
|
|
51888
|
+
Star.displayName = "Star";
|
|
51889
|
+
var Star$1 = Star;
|
|
51742
51890
|
function _extends$v() {
|
|
51743
51891
|
_extends$v = Object.assign || function(target) {
|
|
51744
51892
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -51785,7 +51933,7 @@ function _objectWithoutPropertiesLoose$k(source2, excluded) {
|
|
|
51785
51933
|
}
|
|
51786
51934
|
return target;
|
|
51787
51935
|
}
|
|
51788
|
-
var
|
|
51936
|
+
var User = forwardRef(function(_ref3, ref) {
|
|
51789
51937
|
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$j(_ref3, ["color", "size"]);
|
|
51790
51938
|
return /* @__PURE__ */ React__default.createElement("svg", _extends$v({
|
|
51791
51939
|
ref,
|
|
@@ -51799,15 +51947,19 @@ var Shield = forwardRef(function(_ref3, ref) {
|
|
|
51799
51947
|
strokeLinecap: "round",
|
|
51800
51948
|
strokeLinejoin: "round"
|
|
51801
51949
|
}, rest), /* @__PURE__ */ React__default.createElement("path", {
|
|
51802
|
-
d: "
|
|
51950
|
+
d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"
|
|
51951
|
+
}), /* @__PURE__ */ React__default.createElement("circle", {
|
|
51952
|
+
cx: "12",
|
|
51953
|
+
cy: "7",
|
|
51954
|
+
r: "4"
|
|
51803
51955
|
}));
|
|
51804
51956
|
});
|
|
51805
|
-
|
|
51957
|
+
User.propTypes = {
|
|
51806
51958
|
color: PropTypes$1.string,
|
|
51807
51959
|
size: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number])
|
|
51808
51960
|
};
|
|
51809
|
-
|
|
51810
|
-
var
|
|
51961
|
+
User.displayName = "User";
|
|
51962
|
+
var User$1 = User;
|
|
51811
51963
|
function _extends$u() {
|
|
51812
51964
|
_extends$u = Object.assign || function(target) {
|
|
51813
51965
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -51854,7 +52006,7 @@ function _objectWithoutPropertiesLoose$j(source2, excluded) {
|
|
|
51854
52006
|
}
|
|
51855
52007
|
return target;
|
|
51856
52008
|
}
|
|
51857
|
-
var
|
|
52009
|
+
var Users$1 = forwardRef(function(_ref3, ref) {
|
|
51858
52010
|
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$i(_ref3, ["color", "size"]);
|
|
51859
52011
|
return /* @__PURE__ */ React__default.createElement("svg", _extends$u({
|
|
51860
52012
|
ref,
|
|
@@ -51867,16 +52019,24 @@ var Star = forwardRef(function(_ref3, ref) {
|
|
|
51867
52019
|
strokeWidth: "2",
|
|
51868
52020
|
strokeLinecap: "round",
|
|
51869
52021
|
strokeLinejoin: "round"
|
|
51870
|
-
}, rest), /* @__PURE__ */ React__default.createElement("
|
|
51871
|
-
|
|
52022
|
+
}, rest), /* @__PURE__ */ React__default.createElement("path", {
|
|
52023
|
+
d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"
|
|
52024
|
+
}), /* @__PURE__ */ React__default.createElement("circle", {
|
|
52025
|
+
cx: "9",
|
|
52026
|
+
cy: "7",
|
|
52027
|
+
r: "4"
|
|
52028
|
+
}), /* @__PURE__ */ React__default.createElement("path", {
|
|
52029
|
+
d: "M23 21v-2a4 4 0 0 0-3-3.87"
|
|
52030
|
+
}), /* @__PURE__ */ React__default.createElement("path", {
|
|
52031
|
+
d: "M16 3.13a4 4 0 0 1 0 7.75"
|
|
51872
52032
|
}));
|
|
51873
52033
|
});
|
|
51874
|
-
|
|
52034
|
+
Users$1.propTypes = {
|
|
51875
52035
|
color: PropTypes$1.string,
|
|
51876
52036
|
size: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number])
|
|
51877
52037
|
};
|
|
51878
|
-
|
|
51879
|
-
var
|
|
52038
|
+
Users$1.displayName = "Users";
|
|
52039
|
+
var Users$2 = Users$1;
|
|
51880
52040
|
function _extends$t() {
|
|
51881
52041
|
_extends$t = Object.assign || function(target) {
|
|
51882
52042
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -51923,7 +52083,7 @@ function _objectWithoutPropertiesLoose$i(source2, excluded) {
|
|
|
51923
52083
|
}
|
|
51924
52084
|
return target;
|
|
51925
52085
|
}
|
|
51926
|
-
var
|
|
52086
|
+
var X$2 = forwardRef(function(_ref3, ref) {
|
|
51927
52087
|
var _ref$color = _ref3.color, color2 = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref3.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties$h(_ref3, ["color", "size"]);
|
|
51928
52088
|
return /* @__PURE__ */ React__default.createElement("svg", _extends$t({
|
|
51929
52089
|
ref,
|
|
@@ -51936,20 +52096,24 @@ var User = forwardRef(function(_ref3, ref) {
|
|
|
51936
52096
|
strokeWidth: "2",
|
|
51937
52097
|
strokeLinecap: "round",
|
|
51938
52098
|
strokeLinejoin: "round"
|
|
51939
|
-
}, rest), /* @__PURE__ */ React__default.createElement("
|
|
51940
|
-
|
|
51941
|
-
|
|
51942
|
-
|
|
51943
|
-
|
|
51944
|
-
|
|
52099
|
+
}, rest), /* @__PURE__ */ React__default.createElement("line", {
|
|
52100
|
+
x1: "18",
|
|
52101
|
+
y1: "6",
|
|
52102
|
+
x2: "6",
|
|
52103
|
+
y2: "18"
|
|
52104
|
+
}), /* @__PURE__ */ React__default.createElement("line", {
|
|
52105
|
+
x1: "6",
|
|
52106
|
+
y1: "6",
|
|
52107
|
+
x2: "18",
|
|
52108
|
+
y2: "18"
|
|
51945
52109
|
}));
|
|
51946
52110
|
});
|
|
51947
|
-
|
|
52111
|
+
X$2.propTypes = {
|
|
51948
52112
|
color: PropTypes$1.string,
|
|
51949
52113
|
size: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number])
|
|
51950
52114
|
};
|
|
51951
|
-
|
|
51952
|
-
var
|
|
52115
|
+
X$2.displayName = "X";
|
|
52116
|
+
var X$3 = X$2;
|
|
51953
52117
|
const Menu$1 = () => {
|
|
51954
52118
|
const [open, setOpen] = useState(false);
|
|
51955
52119
|
const handleOpenChange = (newOpen) => {
|
|
@@ -77465,7 +77629,7 @@ const formatComparedPeriod = (range4) => {
|
|
|
77465
77629
|
return "";
|
|
77466
77630
|
return `${formatDate(range4.from, dateFormat)} - ${formatDate(range4.till, dateFormat)}`;
|
|
77467
77631
|
};
|
|
77468
|
-
const Analytics$
|
|
77632
|
+
const Analytics$4 = ({ venueListingId, venueId }) => {
|
|
77469
77633
|
const { t: t2 } = useTranslation();
|
|
77470
77634
|
const [filter2, setFilters] = useState({
|
|
77471
77635
|
range: getCurrentRange(),
|
|
@@ -77853,7 +78017,7 @@ const singleVenue$2 = async () => {
|
|
|
77853
78017
|
}
|
|
77854
78018
|
});
|
|
77855
78019
|
};
|
|
77856
|
-
const Analytics$
|
|
78020
|
+
const Analytics$3 = ({ venueListingId, venueId }) => {
|
|
77857
78021
|
const { t: t2 } = useTranslation();
|
|
77858
78022
|
const [listingId, setListingId] = useState(venueListingId);
|
|
77859
78023
|
const [formattedStats, setFormattedStats] = useState();
|
|
@@ -77978,6 +78142,123 @@ const Analytics$2 = ({ venueListingId, venueId }) => {
|
|
|
77978
78142
|
data: formattedStats == null ? void 0 : formattedStats.actions
|
|
77979
78143
|
}))));
|
|
77980
78144
|
};
|
|
78145
|
+
const GetBookingAnalytics = async ({ params }) => {
|
|
78146
|
+
const data2 = await instance$1.get(`/reports/booking-stats-total/current`, {
|
|
78147
|
+
params: params && params.venueId && params.venueId !== "all" ? {
|
|
78148
|
+
"filters[venues][]": params.venueId
|
|
78149
|
+
} : {}
|
|
78150
|
+
});
|
|
78151
|
+
return data2;
|
|
78152
|
+
};
|
|
78153
|
+
const Analytics$2 = ({ venueListingId, venueId }) => {
|
|
78154
|
+
const { t: t2 } = useTranslation();
|
|
78155
|
+
const { data: data2, isLoading, error: error3 } = useFetch(GetBookingAnalytics, {
|
|
78156
|
+
cacheId: `booking-analytics-${venueListingId}`,
|
|
78157
|
+
params: {
|
|
78158
|
+
venueId
|
|
78159
|
+
}
|
|
78160
|
+
});
|
|
78161
|
+
if (error3) {
|
|
78162
|
+
return /* @__PURE__ */ React__default.createElement(Error$1, {
|
|
78163
|
+
error: error3
|
|
78164
|
+
});
|
|
78165
|
+
}
|
|
78166
|
+
return /* @__PURE__ */ React__default.createElement(LayoutPage$1, null, /* @__PURE__ */ React__default.createElement("div", null, isLoading && /* @__PURE__ */ React__default.createElement(SkeletonPage, null), !isLoading && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Row$1, {
|
|
78167
|
+
gutter: [28, 28]
|
|
78168
|
+
}, /* @__PURE__ */ React__default.createElement(Col$1, {
|
|
78169
|
+
xs: 24,
|
|
78170
|
+
sm: 12,
|
|
78171
|
+
md: 8
|
|
78172
|
+
}, /* @__PURE__ */ React__default.createElement(StatsCard, {
|
|
78173
|
+
value: data2.bookings.today,
|
|
78174
|
+
title: t2("BOOKINGS"),
|
|
78175
|
+
icon: /* @__PURE__ */ React__default.createElement(CircleIcon, {
|
|
78176
|
+
icon: Calendar$1
|
|
78177
|
+
})
|
|
78178
|
+
}, /* @__PURE__ */ React__default.createElement(ParamsList, {
|
|
78179
|
+
params: [
|
|
78180
|
+
{
|
|
78181
|
+
title: t2("SAMETIMEYESTERDAY"),
|
|
78182
|
+
value: data2.bookings.yesterday.toLocaleString()
|
|
78183
|
+
},
|
|
78184
|
+
{
|
|
78185
|
+
title: t2("SAMETIMELASTWEEK"),
|
|
78186
|
+
value: data2.bookings.lastWeek.toLocaleString()
|
|
78187
|
+
},
|
|
78188
|
+
{
|
|
78189
|
+
title: t2("SAMETIMELASTMONTH"),
|
|
78190
|
+
value: data2.bookings.lastMonth.toLocaleString(),
|
|
78191
|
+
tooltip: t2("SAMETIMELASTMONTH")
|
|
78192
|
+
},
|
|
78193
|
+
{
|
|
78194
|
+
title: t2("SAMETIMELASTYEAR"),
|
|
78195
|
+
value: data2.bookings.lastYear.toLocaleString()
|
|
78196
|
+
}
|
|
78197
|
+
].filter((param2, i) => i === 0 || parseInt(param2.value) > 0)
|
|
78198
|
+
}))), /* @__PURE__ */ React__default.createElement(Col$1, {
|
|
78199
|
+
xs: 24,
|
|
78200
|
+
sm: 12,
|
|
78201
|
+
md: 8
|
|
78202
|
+
}, /* @__PURE__ */ React__default.createElement(StatsCard, {
|
|
78203
|
+
value: data2.covers.today,
|
|
78204
|
+
title: t2("COVERS"),
|
|
78205
|
+
icon: /* @__PURE__ */ React__default.createElement(CircleIcon, {
|
|
78206
|
+
icon: Users$2,
|
|
78207
|
+
color: "blue"
|
|
78208
|
+
})
|
|
78209
|
+
}, /* @__PURE__ */ React__default.createElement(ParamsList, {
|
|
78210
|
+
params: [
|
|
78211
|
+
{
|
|
78212
|
+
title: t2("SAMETIMEYESTERDAY"),
|
|
78213
|
+
value: data2.covers.yesterday.toLocaleString()
|
|
78214
|
+
},
|
|
78215
|
+
{
|
|
78216
|
+
title: t2("SAMETIMELASTWEEK"),
|
|
78217
|
+
value: data2.covers.lastWeek.toLocaleString()
|
|
78218
|
+
},
|
|
78219
|
+
{
|
|
78220
|
+
title: t2("SAMETIMELASTMONTH"),
|
|
78221
|
+
value: data2.covers.lastMonth.toLocaleString(),
|
|
78222
|
+
tooltip: t2("SAMETIMELASTMONTH")
|
|
78223
|
+
},
|
|
78224
|
+
{
|
|
78225
|
+
title: t2("SAMETIMELASTYEAR"),
|
|
78226
|
+
value: data2.covers.lastYear.toLocaleString()
|
|
78227
|
+
}
|
|
78228
|
+
].filter((param2, i) => i === 0 || parseInt(param2.value) > 0)
|
|
78229
|
+
}))), /* @__PURE__ */ React__default.createElement(Col$1, {
|
|
78230
|
+
xs: 24,
|
|
78231
|
+
sm: 24,
|
|
78232
|
+
md: 8
|
|
78233
|
+
}, /* @__PURE__ */ React__default.createElement(StatsCard, {
|
|
78234
|
+
value: data2.cancellations.today,
|
|
78235
|
+
title: t2("CANCELATIONS"),
|
|
78236
|
+
icon: /* @__PURE__ */ React__default.createElement(CircleIcon, {
|
|
78237
|
+
icon: X$3,
|
|
78238
|
+
color: "red"
|
|
78239
|
+
})
|
|
78240
|
+
}, /* @__PURE__ */ React__default.createElement(ParamsList, {
|
|
78241
|
+
params: [
|
|
78242
|
+
{
|
|
78243
|
+
title: t2("SAMETIMEYESTERDAY"),
|
|
78244
|
+
value: data2.cancellations.yesterday.toLocaleString()
|
|
78245
|
+
},
|
|
78246
|
+
{
|
|
78247
|
+
title: t2("SAMETIMELASTWEEK"),
|
|
78248
|
+
value: data2.cancellations.lastWeek.toLocaleString()
|
|
78249
|
+
},
|
|
78250
|
+
{
|
|
78251
|
+
title: t2("SAMETIMELASTMONTH"),
|
|
78252
|
+
value: data2.cancellations.lastMonth.toLocaleString(),
|
|
78253
|
+
tooltip: t2("SAMETIMELASTMONTH")
|
|
78254
|
+
},
|
|
78255
|
+
{
|
|
78256
|
+
title: t2("SAMETIMELASTYEAR"),
|
|
78257
|
+
value: data2.cancellations.lastYear.toLocaleString()
|
|
78258
|
+
}
|
|
78259
|
+
].filter((param2, i) => i === 0 || parseInt(param2.value) > 0)
|
|
78260
|
+
})))))));
|
|
78261
|
+
};
|
|
77981
78262
|
const formatStats = (stat) => {
|
|
77982
78263
|
var _a2;
|
|
77983
78264
|
let sum = 0;
|
|
@@ -100473,12 +100754,12 @@ function App({
|
|
|
100473
100754
|
element: /* @__PURE__ */ React__default.createElement(Permissions, null)
|
|
100474
100755
|
}), /* @__PURE__ */ React__default.createElement(Route, {
|
|
100475
100756
|
path: "/analytics/listing",
|
|
100476
|
-
element: /* @__PURE__ */ React__default.createElement(Analytics$
|
|
100757
|
+
element: /* @__PURE__ */ React__default.createElement(Analytics$3, {
|
|
100477
100758
|
venueListingId
|
|
100478
100759
|
})
|
|
100479
100760
|
}), /* @__PURE__ */ React__default.createElement(Route, {
|
|
100480
100761
|
path: "/analytics/review",
|
|
100481
|
-
element: /* @__PURE__ */ React__default.createElement(Analytics$
|
|
100762
|
+
element: /* @__PURE__ */ React__default.createElement(Analytics$4, {
|
|
100482
100763
|
venueListingId
|
|
100483
100764
|
})
|
|
100484
100765
|
}), /* @__PURE__ */ React__default.createElement(Route, {
|
|
@@ -100493,9 +100774,10 @@ const pages = {
|
|
|
100493
100774
|
Roles: App$1,
|
|
100494
100775
|
Notifications,
|
|
100495
100776
|
ReplyTemplates,
|
|
100496
|
-
ReviewAnalytics: Analytics$
|
|
100497
|
-
ListingAnalytics: Analytics$
|
|
100777
|
+
ReviewAnalytics: Analytics$4,
|
|
100778
|
+
ListingAnalytics: Analytics$3,
|
|
100498
100779
|
DashboardListingAnalytics: Analytics$1,
|
|
100780
|
+
DashboardBookingAnalytics: Analytics$2,
|
|
100499
100781
|
DashboardReviewAnalytics: Analytics,
|
|
100500
100782
|
Users: App$2,
|
|
100501
100783
|
ProfileManagement,
|