@symbo.ls/uikit 2.11.146 → 2.11.148
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +691 -475
- package/dist/index.cjs.js.map +4 -4
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1387,7 +1387,7 @@ var require_cjs = __commonJS({
|
|
|
1387
1387
|
setVariables: () => setVariables
|
|
1388
1388
|
});
|
|
1389
1389
|
var import_globals = __toESM2(require_cjs7(), 1);
|
|
1390
|
-
var
|
|
1390
|
+
var import_utils14 = __toESM2(require_cjs22(), 1);
|
|
1391
1391
|
var ENV = "development";
|
|
1392
1392
|
var colorStringToRgbaArray = (color) => {
|
|
1393
1393
|
if (color === "")
|
|
@@ -1515,9 +1515,9 @@ var require_cjs = __commonJS({
|
|
|
1515
1515
|
return `rgba(${arr})`;
|
|
1516
1516
|
};
|
|
1517
1517
|
var getRgbTone = (rgb, tone) => {
|
|
1518
|
-
if ((0,
|
|
1518
|
+
if ((0, import_utils14.isString)(rgb))
|
|
1519
1519
|
rgb = rgb.split(", ").map((v) => parseFloat(v));
|
|
1520
|
-
if ((0,
|
|
1520
|
+
if ((0, import_utils14.isNumber)(tone))
|
|
1521
1521
|
tone += "";
|
|
1522
1522
|
const toHex = rgbArrayToHex(rgb);
|
|
1523
1523
|
const abs2 = tone.slice(0, 1);
|
|
@@ -2451,7 +2451,7 @@ var require_cjs = __commonJS({
|
|
|
2451
2451
|
const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
|
|
2452
2452
|
return { var: CSSvar, value: str, arr: value, type };
|
|
2453
2453
|
};
|
|
2454
|
-
var
|
|
2454
|
+
var import_utils15 = __toESM2(require_cjs22(), 1);
|
|
2455
2455
|
var runThroughMedia = (props6) => {
|
|
2456
2456
|
const CONFIG22 = getActiveConfig3();
|
|
2457
2457
|
const { TYPOGRAPHY: TYPOGRAPHY2, MEDIA: MEDIA2 } = CONFIG22;
|
|
@@ -2459,7 +2459,7 @@ var require_cjs = __commonJS({
|
|
|
2459
2459
|
const mediaProps = props6[prop];
|
|
2460
2460
|
if (prop.slice(0, 1) === "@") {
|
|
2461
2461
|
const { type, base, ratio, range, subSequence, h1Matches, unit } = props6;
|
|
2462
|
-
(0,
|
|
2462
|
+
(0, import_utils15.merge)(mediaProps, {
|
|
2463
2463
|
type,
|
|
2464
2464
|
base,
|
|
2465
2465
|
ratio,
|
|
@@ -3159,14 +3159,14 @@ var require_types = __commonJS({
|
|
|
3159
3159
|
isNot: () => isNot3,
|
|
3160
3160
|
isNull: () => isNull,
|
|
3161
3161
|
isNumber: () => isNumber,
|
|
3162
|
-
isObject: () =>
|
|
3162
|
+
isObject: () => isObject5,
|
|
3163
3163
|
isObjectLike: () => isObjectLike3,
|
|
3164
3164
|
isString: () => isString7,
|
|
3165
3165
|
isUndefined: () => isUndefined
|
|
3166
3166
|
});
|
|
3167
3167
|
module2.exports = __toCommonJS2(types_exports);
|
|
3168
3168
|
var import_node = require_node();
|
|
3169
|
-
var
|
|
3169
|
+
var isObject5 = (arg) => {
|
|
3170
3170
|
if (arg === null)
|
|
3171
3171
|
return false;
|
|
3172
3172
|
return typeof arg === "object" && arg.constructor === Object;
|
|
@@ -3183,7 +3183,7 @@ var require_types = __commonJS({
|
|
|
3183
3183
|
return typeof arg === "object";
|
|
3184
3184
|
};
|
|
3185
3185
|
var isDefined = (arg) => {
|
|
3186
|
-
return
|
|
3186
|
+
return isObject5(arg) || isObjectLike3(arg) || isString7(arg) || isNumber(arg) || isFunction3(arg) || isArray5(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
|
|
3187
3187
|
};
|
|
3188
3188
|
var isUndefined = (arg) => {
|
|
3189
3189
|
return arg === void 0;
|
|
@@ -3191,7 +3191,7 @@ var require_types = __commonJS({
|
|
|
3191
3191
|
var TYPES = {
|
|
3192
3192
|
boolean: isBoolean,
|
|
3193
3193
|
array: isArray5,
|
|
3194
|
-
object:
|
|
3194
|
+
object: isObject5,
|
|
3195
3195
|
string: isString7,
|
|
3196
3196
|
number: isNumber,
|
|
3197
3197
|
null: isNull,
|
|
@@ -4221,12 +4221,12 @@ var require_on = __commonJS({
|
|
|
4221
4221
|
triggerEventOnUpdate: () => triggerEventOnUpdate
|
|
4222
4222
|
});
|
|
4223
4223
|
module2.exports = __toCommonJS2(on_exports);
|
|
4224
|
-
var
|
|
4224
|
+
var import_utils14 = require_cjs2();
|
|
4225
4225
|
var applyEvent = (param, element, state, context, options) => {
|
|
4226
4226
|
return param(element, state || element.state, context || element.context, options);
|
|
4227
4227
|
};
|
|
4228
4228
|
var triggerEventOn = (param, element, options) => {
|
|
4229
|
-
if (element.on && (0,
|
|
4229
|
+
if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
|
|
4230
4230
|
const { state, context } = element;
|
|
4231
4231
|
return applyEvent(element.on[param], element, state, context, options);
|
|
4232
4232
|
}
|
|
@@ -4235,7 +4235,7 @@ var require_on = __commonJS({
|
|
|
4235
4235
|
return param(updatedObj, element, state || element.state, context || element.context, options);
|
|
4236
4236
|
};
|
|
4237
4237
|
var triggerEventOnUpdate = (param, updatedObj, element, options) => {
|
|
4238
|
-
if (element.on && (0,
|
|
4238
|
+
if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
|
|
4239
4239
|
const { state, context } = element;
|
|
4240
4240
|
return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
|
|
4241
4241
|
}
|
|
@@ -4246,7 +4246,7 @@ var require_on = __commonJS({
|
|
|
4246
4246
|
if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
|
|
4247
4247
|
continue;
|
|
4248
4248
|
const appliedFunction = element.on[param];
|
|
4249
|
-
if ((0,
|
|
4249
|
+
if ((0, import_utils14.isFunction)(appliedFunction)) {
|
|
4250
4250
|
const { state, context } = element;
|
|
4251
4251
|
node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
|
|
4252
4252
|
}
|
|
@@ -4379,10 +4379,10 @@ var require_can = __commonJS({
|
|
|
4379
4379
|
});
|
|
4380
4380
|
module2.exports = __toCommonJS2(can_exports);
|
|
4381
4381
|
var import_report = require_cjs3();
|
|
4382
|
-
var
|
|
4382
|
+
var import_utils14 = require_cjs2();
|
|
4383
4383
|
var canRender = (element) => {
|
|
4384
4384
|
const tag = element.tag || "div";
|
|
4385
|
-
return (0,
|
|
4385
|
+
return (0, import_utils14.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
|
|
4386
4386
|
};
|
|
4387
4387
|
}
|
|
4388
4388
|
});
|
|
@@ -4447,11 +4447,11 @@ var require_methods = __commonJS({
|
|
|
4447
4447
|
toggle: () => toggle
|
|
4448
4448
|
});
|
|
4449
4449
|
module2.exports = __toCommonJS2(methods_exports);
|
|
4450
|
-
var
|
|
4450
|
+
var import_utils14 = require_cjs2();
|
|
4451
4451
|
var import_ignore = require_ignore();
|
|
4452
4452
|
var parse2 = function() {
|
|
4453
4453
|
const state = this;
|
|
4454
|
-
if ((0,
|
|
4454
|
+
if ((0, import_utils14.isObject)(state)) {
|
|
4455
4455
|
const obj = {};
|
|
4456
4456
|
for (const param in state) {
|
|
4457
4457
|
if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
|
|
@@ -4459,7 +4459,7 @@ var require_methods = __commonJS({
|
|
|
4459
4459
|
}
|
|
4460
4460
|
}
|
|
4461
4461
|
return obj;
|
|
4462
|
-
} else if ((0,
|
|
4462
|
+
} else if ((0, import_utils14.isArray)(state)) {
|
|
4463
4463
|
return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
|
|
4464
4464
|
}
|
|
4465
4465
|
};
|
|
@@ -4479,7 +4479,7 @@ var require_methods = __commonJS({
|
|
|
4479
4479
|
const state = this;
|
|
4480
4480
|
const element = state.__element;
|
|
4481
4481
|
const stateKey = element.__ref.__state;
|
|
4482
|
-
if ((0,
|
|
4482
|
+
if ((0, import_utils14.isString)(stateKey)) {
|
|
4483
4483
|
element.parent.state.remove(stateKey, { isHoisted: true, ...options });
|
|
4484
4484
|
return element.state;
|
|
4485
4485
|
}
|
|
@@ -4514,10 +4514,10 @@ var require_methods = __commonJS({
|
|
|
4514
4514
|
};
|
|
4515
4515
|
var add = function(value, options = {}) {
|
|
4516
4516
|
const state = this;
|
|
4517
|
-
if ((0,
|
|
4517
|
+
if ((0, import_utils14.isArray)(state)) {
|
|
4518
4518
|
state.push(value);
|
|
4519
4519
|
state.update(state.parse(), { overwrite: "replace", ...options });
|
|
4520
|
-
} else if ((0,
|
|
4520
|
+
} else if ((0, import_utils14.isObject)(state)) {
|
|
4521
4521
|
const key = Object.keys(state).length;
|
|
4522
4522
|
state.update({ [key]: value }, options);
|
|
4523
4523
|
}
|
|
@@ -4528,10 +4528,10 @@ var require_methods = __commonJS({
|
|
|
4528
4528
|
};
|
|
4529
4529
|
var remove = function(key, options = {}) {
|
|
4530
4530
|
const state = this;
|
|
4531
|
-
if ((0,
|
|
4532
|
-
(0,
|
|
4533
|
-
if ((0,
|
|
4534
|
-
(0,
|
|
4531
|
+
if ((0, import_utils14.isArray)(state))
|
|
4532
|
+
(0, import_utils14.removeFromArray)(state, key);
|
|
4533
|
+
if ((0, import_utils14.isObject)(state))
|
|
4534
|
+
(0, import_utils14.removeFromObject)(state, key);
|
|
4535
4535
|
return state.update(state.parse(), { replace: true, ...options });
|
|
4536
4536
|
};
|
|
4537
4537
|
var set2 = function(value, options = {}) {
|
|
@@ -4540,7 +4540,7 @@ var require_methods = __commonJS({
|
|
|
4540
4540
|
};
|
|
4541
4541
|
var apply = function(func, options = {}) {
|
|
4542
4542
|
const state = this;
|
|
4543
|
-
if ((0,
|
|
4543
|
+
if ((0, import_utils14.isFunction)(func)) {
|
|
4544
4544
|
func(state);
|
|
4545
4545
|
return state.update(state, { replace: true, ...options });
|
|
4546
4546
|
}
|
|
@@ -4580,7 +4580,7 @@ var require_inherit = __commonJS({
|
|
|
4580
4580
|
isState: () => isState3
|
|
4581
4581
|
});
|
|
4582
4582
|
module2.exports = __toCommonJS2(inherit_exports);
|
|
4583
|
-
var
|
|
4583
|
+
var import_utils14 = require_cjs2();
|
|
4584
4584
|
var import_ignore = require_ignore();
|
|
4585
4585
|
var getParentStateInKey = (stateKey, parentState) => {
|
|
4586
4586
|
if (!stateKey.includes("../"))
|
|
@@ -4634,9 +4634,9 @@ var require_inherit = __commonJS({
|
|
|
4634
4634
|
const inheritedState = findInheritedState(element, parent);
|
|
4635
4635
|
if (!inheritedState)
|
|
4636
4636
|
return element.state;
|
|
4637
|
-
if ((0,
|
|
4638
|
-
return (0,
|
|
4639
|
-
} else if ((0,
|
|
4637
|
+
if ((0, import_utils14.is)(inheritedState)("object", "array")) {
|
|
4638
|
+
return (0, import_utils14.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
|
|
4639
|
+
} else if ((0, import_utils14.is)(inheritedState)("string", "number")) {
|
|
4640
4640
|
ref.__stateType = "string";
|
|
4641
4641
|
return { value: inheritedState };
|
|
4642
4642
|
}
|
|
@@ -4645,12 +4645,12 @@ var require_inherit = __commonJS({
|
|
|
4645
4645
|
var checkIfInherits = (element) => {
|
|
4646
4646
|
const ref = element.__ref;
|
|
4647
4647
|
const stateKey = ref.__state;
|
|
4648
|
-
if (!stateKey || (0,
|
|
4648
|
+
if (!stateKey || (0, import_utils14.isNot)(stateKey)("number", "string"))
|
|
4649
4649
|
return false;
|
|
4650
4650
|
return true;
|
|
4651
4651
|
};
|
|
4652
4652
|
var isState3 = function(state) {
|
|
4653
|
-
if (!(0,
|
|
4653
|
+
if (!(0, import_utils14.isObjectLike)(state))
|
|
4654
4654
|
return false;
|
|
4655
4655
|
return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
|
|
4656
4656
|
};
|
|
@@ -4699,7 +4699,7 @@ var require_updateState = __commonJS({
|
|
|
4699
4699
|
var import_report = require_cjs3();
|
|
4700
4700
|
var import_event = require_cjs4();
|
|
4701
4701
|
var import_ignore = require_ignore();
|
|
4702
|
-
var
|
|
4702
|
+
var import_utils14 = require_cjs2();
|
|
4703
4703
|
var import_inherit = require_inherit();
|
|
4704
4704
|
var STATE_UPDATE_OPTIONS = {
|
|
4705
4705
|
overwrite: true,
|
|
@@ -4713,7 +4713,7 @@ var require_updateState = __commonJS({
|
|
|
4713
4713
|
const state = this;
|
|
4714
4714
|
const element = state.__element;
|
|
4715
4715
|
if (!options.updateByState)
|
|
4716
|
-
(0,
|
|
4716
|
+
(0, import_utils14.merge)(options, STATE_UPDATE_OPTIONS);
|
|
4717
4717
|
if (!state.__element)
|
|
4718
4718
|
(0, import_report.report)("ElementOnStateIsNotDefined");
|
|
4719
4719
|
if (options.preventInheritAtCurrentState === true) {
|
|
@@ -4743,10 +4743,10 @@ var require_updateState = __commonJS({
|
|
|
4743
4743
|
const shallow = overwrite === "shallow";
|
|
4744
4744
|
const merge22 = overwrite === "merge";
|
|
4745
4745
|
if (merge22) {
|
|
4746
|
-
(0,
|
|
4746
|
+
(0, import_utils14.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
|
|
4747
4747
|
return;
|
|
4748
4748
|
}
|
|
4749
|
-
const overwriteFunc = shallow ?
|
|
4749
|
+
const overwriteFunc = shallow ? import_utils14.overwriteShallow : import_utils14.overwriteDeep;
|
|
4750
4750
|
overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
|
|
4751
4751
|
};
|
|
4752
4752
|
var hoistStateUpdate = (state, obj, options) => {
|
|
@@ -4837,7 +4837,7 @@ var require_create = __commonJS({
|
|
|
4837
4837
|
});
|
|
4838
4838
|
module2.exports = __toCommonJS2(create_exports);
|
|
4839
4839
|
var import_event = require_cjs4();
|
|
4840
|
-
var
|
|
4840
|
+
var import_utils14 = require_cjs2();
|
|
4841
4841
|
var import_ignore = require_ignore();
|
|
4842
4842
|
var import_methods = require_methods();
|
|
4843
4843
|
var import_updateState = require_updateState();
|
|
@@ -4851,7 +4851,7 @@ var require_create = __commonJS({
|
|
|
4851
4851
|
if (objectizeState === false)
|
|
4852
4852
|
return parent.state || {};
|
|
4853
4853
|
else
|
|
4854
|
-
element.state = (0,
|
|
4854
|
+
element.state = (0, import_utils14.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
|
|
4855
4855
|
const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
|
|
4856
4856
|
if (whatInitReturns === false)
|
|
4857
4857
|
return element.state;
|
|
@@ -4870,17 +4870,17 @@ var require_create = __commonJS({
|
|
|
4870
4870
|
const { __ref: ref } = state;
|
|
4871
4871
|
if (!ref)
|
|
4872
4872
|
return;
|
|
4873
|
-
const dependentState = (0,
|
|
4873
|
+
const dependentState = (0, import_utils14.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
|
|
4874
4874
|
const newDepends = { [element.key]: dependentState };
|
|
4875
|
-
ref.__depends = (0,
|
|
4875
|
+
ref.__depends = (0, import_utils14.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
|
|
4876
4876
|
return dependentState;
|
|
4877
4877
|
};
|
|
4878
4878
|
var checkForTypes = (element) => {
|
|
4879
4879
|
const { state, __ref: ref } = element;
|
|
4880
|
-
if ((0,
|
|
4880
|
+
if ((0, import_utils14.isFunction)(state)) {
|
|
4881
4881
|
ref.__state = state;
|
|
4882
|
-
return (0,
|
|
4883
|
-
} else if ((0,
|
|
4882
|
+
return (0, import_utils14.exec)(state, element);
|
|
4883
|
+
} else if ((0, import_utils14.is)(state)("string", "number")) {
|
|
4884
4884
|
ref.__state = state;
|
|
4885
4885
|
return {};
|
|
4886
4886
|
} else if (state === true) {
|
|
@@ -4927,7 +4927,7 @@ var require_create = __commonJS({
|
|
|
4927
4927
|
__children: {},
|
|
4928
4928
|
__root: ref.__root ? ref.__root.state : state
|
|
4929
4929
|
};
|
|
4930
|
-
if ((0,
|
|
4930
|
+
if ((0, import_utils14.isArray)(state)) {
|
|
4931
4931
|
addProtoToArray(state, proto);
|
|
4932
4932
|
} else {
|
|
4933
4933
|
Object.setPrototypeOf(state, proto);
|
|
@@ -4984,7 +4984,7 @@ var require_moment = __commonJS({
|
|
|
4984
4984
|
function isArray5(input) {
|
|
4985
4985
|
return input instanceof Array || Object.prototype.toString.call(input) === "[object Array]";
|
|
4986
4986
|
}
|
|
4987
|
-
function
|
|
4987
|
+
function isObject5(input) {
|
|
4988
4988
|
return input != null && Object.prototype.toString.call(input) === "[object Object]";
|
|
4989
4989
|
}
|
|
4990
4990
|
function hasOwnProp(a, b) {
|
|
@@ -5232,7 +5232,7 @@ var require_moment = __commonJS({
|
|
|
5232
5232
|
var res = extend({}, parentConfig), prop;
|
|
5233
5233
|
for (prop in childConfig) {
|
|
5234
5234
|
if (hasOwnProp(childConfig, prop)) {
|
|
5235
|
-
if (
|
|
5235
|
+
if (isObject5(parentConfig[prop]) && isObject5(childConfig[prop])) {
|
|
5236
5236
|
res[prop] = {};
|
|
5237
5237
|
extend(res[prop], parentConfig[prop]);
|
|
5238
5238
|
extend(res[prop], childConfig[prop]);
|
|
@@ -5244,7 +5244,7 @@ var require_moment = __commonJS({
|
|
|
5244
5244
|
}
|
|
5245
5245
|
}
|
|
5246
5246
|
for (prop in parentConfig) {
|
|
5247
|
-
if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) &&
|
|
5247
|
+
if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject5(parentConfig[prop])) {
|
|
5248
5248
|
res[prop] = extend({}, res[prop]);
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
@@ -7027,7 +7027,7 @@ var require_moment = __commonJS({
|
|
|
7027
7027
|
return parseInt(obj, 10);
|
|
7028
7028
|
});
|
|
7029
7029
|
configFromArray(config);
|
|
7030
|
-
} else if (
|
|
7030
|
+
} else if (isObject5(input)) {
|
|
7031
7031
|
configFromObject(config);
|
|
7032
7032
|
} else if (isNumber(input)) {
|
|
7033
7033
|
config._d = new Date(input);
|
|
@@ -7045,7 +7045,7 @@ var require_moment = __commonJS({
|
|
|
7045
7045
|
strict = locale2;
|
|
7046
7046
|
locale2 = void 0;
|
|
7047
7047
|
}
|
|
7048
|
-
if (
|
|
7048
|
+
if (isObject5(input) && isObjectEmpty(input) || isArray5(input) && input.length === 0) {
|
|
7049
7049
|
input = void 0;
|
|
7050
7050
|
}
|
|
7051
7051
|
c._isAMomentObject = true;
|
|
@@ -7464,7 +7464,7 @@ var require_moment = __commonJS({
|
|
|
7464
7464
|
return isMoment(input) || isDate(input) || isString7(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === void 0;
|
|
7465
7465
|
}
|
|
7466
7466
|
function isMomentInputObject(input) {
|
|
7467
|
-
var objectTest =
|
|
7467
|
+
var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
|
|
7468
7468
|
"years",
|
|
7469
7469
|
"year",
|
|
7470
7470
|
"y",
|
|
@@ -7506,7 +7506,7 @@ var require_moment = __commonJS({
|
|
|
7506
7506
|
return arrayTest && dataTypeTest;
|
|
7507
7507
|
}
|
|
7508
7508
|
function isCalendarSpec(input) {
|
|
7509
|
-
var objectTest =
|
|
7509
|
+
var objectTest = isObject5(input) && !isObjectEmpty(input), propertyTest = false, properties = [
|
|
7510
7510
|
"sameDay",
|
|
7511
7511
|
"nextDay",
|
|
7512
7512
|
"lastDay",
|
|
@@ -9176,8 +9176,8 @@ var require_cjs6 = __commonJS({
|
|
|
9176
9176
|
router: () => router
|
|
9177
9177
|
});
|
|
9178
9178
|
module2.exports = __toCommonJS2(router_exports);
|
|
9179
|
-
var
|
|
9180
|
-
var getActiveRoute = (level = 0, route =
|
|
9179
|
+
var import_utils14 = require_cjs2();
|
|
9180
|
+
var getActiveRoute = (level = 0, route = import_utils14.window.location.pathname) => {
|
|
9181
9181
|
const routeArray = route.split("/");
|
|
9182
9182
|
const activeRoute = routeArray[level + 1];
|
|
9183
9183
|
if (activeRoute)
|
|
@@ -9191,7 +9191,7 @@ var require_cjs6 = __commonJS({
|
|
|
9191
9191
|
initialRender: false,
|
|
9192
9192
|
scrollToTop: true,
|
|
9193
9193
|
scrollToNode: false,
|
|
9194
|
-
scrollNode:
|
|
9194
|
+
scrollNode: import_utils14.document && import_utils14.document.documentElement,
|
|
9195
9195
|
scrollBody: false,
|
|
9196
9196
|
useFragment: false,
|
|
9197
9197
|
updateState: true,
|
|
@@ -9206,13 +9206,13 @@ var require_cjs6 = __commonJS({
|
|
|
9206
9206
|
const route = getActiveRoute(options.level, pathname);
|
|
9207
9207
|
const content = element.routes[route || "/"] || element.routes["/*"];
|
|
9208
9208
|
const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
|
|
9209
|
-
const hashChanged = hash2 && hash2 !==
|
|
9209
|
+
const hashChanged = hash2 && hash2 !== import_utils14.window.location.hash.slice(1);
|
|
9210
9210
|
const pathChanged = pathname !== lastPathname;
|
|
9211
9211
|
lastPathname = pathname;
|
|
9212
9212
|
if (!content)
|
|
9213
9213
|
return;
|
|
9214
9214
|
if (options.pushState) {
|
|
9215
|
-
|
|
9215
|
+
import_utils14.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
|
|
9216
9216
|
}
|
|
9217
9217
|
if (pathChanged || !hashChanged) {
|
|
9218
9218
|
if (options.updateState) {
|
|
@@ -9238,7 +9238,7 @@ var require_cjs6 = __commonJS({
|
|
|
9238
9238
|
});
|
|
9239
9239
|
}
|
|
9240
9240
|
if (hash2) {
|
|
9241
|
-
const activeNode =
|
|
9241
|
+
const activeNode = import_utils14.document.getElementById(hash2);
|
|
9242
9242
|
if (activeNode) {
|
|
9243
9243
|
const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
|
|
9244
9244
|
scrollNode.scrollTo({
|
|
@@ -9276,6 +9276,7 @@ __export(domql_exports, {
|
|
|
9276
9276
|
Caption: () => Caption,
|
|
9277
9277
|
Card: () => Card,
|
|
9278
9278
|
CardLabel: () => CardLabel,
|
|
9279
|
+
ChangePasswordModal: () => ChangePasswordModal,
|
|
9279
9280
|
ChatUser: () => ChatUser,
|
|
9280
9281
|
ChatUserWithButtonSet: () => ChatUserWithButtonSet,
|
|
9281
9282
|
ChatUserWithNotification: () => ChatUserWithNotification,
|
|
@@ -9288,6 +9289,7 @@ __export(domql_exports, {
|
|
|
9288
9289
|
Clickable: () => Clickable,
|
|
9289
9290
|
CodeField: () => CodeField,
|
|
9290
9291
|
Collection: () => Collection,
|
|
9292
|
+
ContactForm: () => ContactForm,
|
|
9291
9293
|
ConvertCard: () => ConvertCard,
|
|
9292
9294
|
CustomizedField: () => CustomizedField,
|
|
9293
9295
|
DateIndicator: () => DateIndicator,
|
|
@@ -9342,6 +9344,7 @@ __export(domql_exports, {
|
|
|
9342
9344
|
Media: () => Media,
|
|
9343
9345
|
MessageModal: () => MessageModal,
|
|
9344
9346
|
Modal: () => Modal,
|
|
9347
|
+
ModalWithTitleParagraph: () => ModalWithTitleParagraph,
|
|
9345
9348
|
Notification: () => Notification,
|
|
9346
9349
|
NotificationAlert: () => NotificationAlert,
|
|
9347
9350
|
NumberInput: () => NumberInput,
|
|
@@ -9377,6 +9380,7 @@ __export(domql_exports, {
|
|
|
9377
9380
|
Table: () => Table,
|
|
9378
9381
|
Text: () => Text,
|
|
9379
9382
|
Textarea: () => Textarea,
|
|
9383
|
+
TextareaWithTitle: () => TextareaWithTitle,
|
|
9380
9384
|
Theme: () => Theme,
|
|
9381
9385
|
TimePicker: () => TimePicker,
|
|
9382
9386
|
TimePickerItem: () => TimePickerItem,
|
|
@@ -9395,6 +9399,7 @@ __export(domql_exports, {
|
|
|
9395
9399
|
UploadModalLabel: () => UploadModalLabel,
|
|
9396
9400
|
UploadProgress: () => UploadProgress,
|
|
9397
9401
|
UploadResult: () => UploadResult,
|
|
9402
|
+
VerificationCodeModal: () => VerificationCodeModal,
|
|
9398
9403
|
Video: () => Video,
|
|
9399
9404
|
XYZ: () => XYZ,
|
|
9400
9405
|
calendar: () => calendar,
|
|
@@ -10473,12 +10478,11 @@ var Shape = {
|
|
|
10473
10478
|
};
|
|
10474
10479
|
|
|
10475
10480
|
// Atoms/Text.js
|
|
10476
|
-
var import_utils4 = __toESM(require_cjs2());
|
|
10477
10481
|
var import_scratch8 = __toESM(require_cjs());
|
|
10478
10482
|
var Text = {
|
|
10479
|
-
deps: {
|
|
10483
|
+
deps: { getFontSizeByKey: import_scratch8.getFontSizeByKey, getFontFamily: import_scratch8.getFontFamily },
|
|
10480
10484
|
text: ({ key, props: props6, state, deps }) => {
|
|
10481
|
-
if (
|
|
10485
|
+
if (props6.text === true)
|
|
10482
10486
|
return state && state[key] || props6 && props6[key];
|
|
10483
10487
|
return props6.text;
|
|
10484
10488
|
},
|
|
@@ -10542,7 +10546,7 @@ var XYZ = {
|
|
|
10542
10546
|
|
|
10543
10547
|
// Atoms/Animation.js
|
|
10544
10548
|
var import_scratch9 = __toESM(require_cjs());
|
|
10545
|
-
var
|
|
10549
|
+
var import_utils5 = __toESM(require_cjs2());
|
|
10546
10550
|
|
|
10547
10551
|
// ../../node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
|
|
10548
10552
|
function sheetForTag(tag) {
|
|
@@ -11893,7 +11897,7 @@ var emotion = createEmotion3();
|
|
|
11893
11897
|
// Atoms/Animation.js
|
|
11894
11898
|
var { keyframes } = emotion;
|
|
11895
11899
|
var applyAnimationProps = (animation, element) => {
|
|
11896
|
-
if ((0,
|
|
11900
|
+
if ((0, import_utils5.isObject)(animation))
|
|
11897
11901
|
return { animationName: keyframes(animation) };
|
|
11898
11902
|
const { ANIMATION } = element.context && element.context.designSystem;
|
|
11899
11903
|
const record = ANIMATION[animation];
|
|
@@ -11938,7 +11942,7 @@ var Animation = {
|
|
|
11938
11942
|
};
|
|
11939
11943
|
|
|
11940
11944
|
// Box/index.js
|
|
11941
|
-
var
|
|
11945
|
+
var import_utils6 = __toESM(require_cjs2());
|
|
11942
11946
|
var PropsCSS = {
|
|
11943
11947
|
class: {
|
|
11944
11948
|
style: ({ props: props6 }) => props6 && props6.style
|
|
@@ -11961,8 +11965,8 @@ var Box = {
|
|
|
11961
11965
|
Animation
|
|
11962
11966
|
],
|
|
11963
11967
|
attr: {
|
|
11964
|
-
id: ({ props: props6 }) => (0,
|
|
11965
|
-
title: ({ props: props6 }) => (0,
|
|
11968
|
+
id: ({ props: props6 }) => (0, import_utils6.isString)(props6.id) && props6.id,
|
|
11969
|
+
title: ({ props: props6 }) => (0, import_utils6.isString)(props6.title) && props6.title,
|
|
11966
11970
|
contentEditable: ({ props: props6 }) => props6.contentEditable || props6.contenteditable,
|
|
11967
11971
|
dir: ({ props: props6 }) => props6.dir,
|
|
11968
11972
|
draggable: ({ props: props6 }) => props6.draggable,
|
|
@@ -12119,6 +12123,7 @@ var CancenConfirmButtons = {
|
|
|
12119
12123
|
],
|
|
12120
12124
|
props: {
|
|
12121
12125
|
gap: "Y",
|
|
12126
|
+
maxWidth: "fit-content",
|
|
12122
12127
|
childProps: {
|
|
12123
12128
|
fontWeight: "500",
|
|
12124
12129
|
color: "white",
|
|
@@ -12375,6 +12380,7 @@ var AvatarChooser = {
|
|
|
12375
12380
|
},
|
|
12376
12381
|
select: {
|
|
12377
12382
|
props: {
|
|
12383
|
+
id: "avatar-chooser",
|
|
12378
12384
|
outline: "none",
|
|
12379
12385
|
pointerEvents: "all",
|
|
12380
12386
|
appearance: "none",
|
|
@@ -12388,7 +12394,7 @@ var AvatarChooser = {
|
|
|
12388
12394
|
margin: "0 0 0 -B1+X",
|
|
12389
12395
|
padding: "0 A 0 B1+X"
|
|
12390
12396
|
},
|
|
12391
|
-
attr: { name: "avatar-chooser"
|
|
12397
|
+
attr: { name: "avatar-chooser" },
|
|
12392
12398
|
childExtend: { tag: "option" },
|
|
12393
12399
|
$setPropsCollection: ({ parent }) => parent.props.options,
|
|
12394
12400
|
on: {
|
|
@@ -13427,178 +13433,65 @@ var ToggleSwithWithLabel = {
|
|
|
13427
13433
|
FieldLabel: { padding: "Z - - -" }
|
|
13428
13434
|
};
|
|
13429
13435
|
|
|
13430
|
-
//
|
|
13431
|
-
var
|
|
13432
|
-
extend: Svg,
|
|
13433
|
-
props: ({ key, props: props6, parent, context }) => {
|
|
13434
|
-
const { ICONS, useIconSprite, verbose } = context && context.designSystem;
|
|
13435
|
-
const { toCamelCase } = context && context.utils;
|
|
13436
|
-
const iconName = props6.inheritedString || props6.name || props6.icon || key;
|
|
13437
|
-
const camelCase = toCamelCase(iconName);
|
|
13438
|
-
const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
|
|
13439
|
-
let activeIconName;
|
|
13440
|
-
if (props6.active) {
|
|
13441
|
-
activeIconName = props6[".active"].name || props6[".active"].icon;
|
|
13442
|
-
}
|
|
13443
|
-
if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
|
|
13444
|
-
activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
|
|
13445
|
-
}
|
|
13446
|
-
let validIconName;
|
|
13447
|
-
if (ICONS[activeIconName])
|
|
13448
|
-
validIconName = activeIconName;
|
|
13449
|
-
if (ICONS[camelCase])
|
|
13450
|
-
validIconName = camelCase;
|
|
13451
|
-
else if (ICONS[isArray5[0] + isArray5[1]])
|
|
13452
|
-
validIconName = isArray5[0] + isArray5[1];
|
|
13453
|
-
else if (ICONS[isArray5[0]])
|
|
13454
|
-
validIconName = isArray5[0];
|
|
13455
|
-
else {
|
|
13456
|
-
if (verbose)
|
|
13457
|
-
console.warn("Can't find icon:", iconName, validIconName);
|
|
13458
|
-
}
|
|
13459
|
-
const iconFromLibrary = ICONS[validIconName];
|
|
13460
|
-
const directSrc = parent && parent.props && parent.props.src || props6.src;
|
|
13461
|
-
return {
|
|
13462
|
-
width: "A",
|
|
13463
|
-
height: "A",
|
|
13464
|
-
display: "inline-block",
|
|
13465
|
-
spriteId: useIconSprite && validIconName,
|
|
13466
|
-
src: iconFromLibrary || directSrc || ICONS.noIcon,
|
|
13467
|
-
style: { fill: "currentColor" }
|
|
13468
|
-
};
|
|
13469
|
-
},
|
|
13470
|
-
attr: { viewBox: "0 0 24 24" }
|
|
13471
|
-
};
|
|
13472
|
-
var IconText2 = {
|
|
13436
|
+
// TextComponents/index.js
|
|
13437
|
+
var TitleParagraph = {
|
|
13473
13438
|
extend: Flex,
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
13477
|
-
},
|
|
13478
|
-
// TODO: remove this variant
|
|
13479
|
-
icon: {
|
|
13480
|
-
extend: Icon3,
|
|
13481
|
-
if: ({ parent }) => parent.props.icon
|
|
13482
|
-
},
|
|
13483
|
-
Icon: {
|
|
13484
|
-
props: {},
|
|
13485
|
-
if: ({ props: props6 }) => props6.name || props6.icon
|
|
13439
|
+
title: {
|
|
13440
|
+
tag: "h5",
|
|
13441
|
+
props: { text: "Log in to your account" }
|
|
13486
13442
|
},
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
props: {
|
|
13443
|
+
paragraph: {
|
|
13444
|
+
tag: "p",
|
|
13445
|
+
props: { text: "Enter your email address and password to log in." }
|
|
13490
13446
|
},
|
|
13491
|
-
|
|
13492
|
-
|
|
13447
|
+
props: {
|
|
13448
|
+
flow: "column",
|
|
13449
|
+
gap: "Y",
|
|
13450
|
+
maxWidth: "fit-content",
|
|
13451
|
+
title: { fontSize: "D" },
|
|
13452
|
+
paragraph: {
|
|
13453
|
+
fontSize: "Z",
|
|
13454
|
+
padding: "0",
|
|
13455
|
+
margin: "0",
|
|
13456
|
+
color: "#E0E0E2"
|
|
13457
|
+
}
|
|
13493
13458
|
}
|
|
13494
13459
|
};
|
|
13495
|
-
var
|
|
13460
|
+
var ParagraphWithUnderlineButton = {
|
|
13496
13461
|
extend: Flex,
|
|
13497
|
-
props: {
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
round: "Z"
|
|
13462
|
+
p: { props: { text: "Didnt get the code?" } },
|
|
13463
|
+
underlined: {
|
|
13464
|
+
extend: Button,
|
|
13465
|
+
props: { text: "Click to resend" }
|
|
13502
13466
|
},
|
|
13503
|
-
Icon: {
|
|
13504
|
-
fontSize: "B",
|
|
13505
|
-
margin: "auto",
|
|
13506
|
-
icon: "file"
|
|
13507
|
-
}
|
|
13508
|
-
};
|
|
13509
|
-
|
|
13510
|
-
// Link/index.js
|
|
13511
|
-
var import_router = __toESM(require_cjs6());
|
|
13512
|
-
var Link = {
|
|
13513
|
-
extend: Focusable,
|
|
13514
|
-
tag: "a",
|
|
13515
13467
|
props: {
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
attr: {
|
|
13523
|
-
href: (el, s, ctx) => {
|
|
13524
|
-
const { exec: exec3 } = ctx.utils;
|
|
13525
|
-
return exec3(el.props.href, el) || exec3(el.props, el).href;
|
|
13468
|
+
align: "center flex-start",
|
|
13469
|
+
gap: "Z",
|
|
13470
|
+
fontSize: "Z",
|
|
13471
|
+
p: {
|
|
13472
|
+
color: "#A3A3A8",
|
|
13473
|
+
margin: "0"
|
|
13526
13474
|
},
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
|
|
13534
|
-
click: (event, el, s, ctx) => {
|
|
13535
|
-
const { props: props6 } = el;
|
|
13536
|
-
const { href } = props6;
|
|
13537
|
-
if (!href)
|
|
13538
|
-
return;
|
|
13539
|
-
const { utils, routerOptions } = ctx;
|
|
13540
|
-
const { router } = utils;
|
|
13541
|
-
const root = el.__ref.__root;
|
|
13542
|
-
console.log(href);
|
|
13543
|
-
const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
|
|
13544
|
-
const options = props6.routerOptions || routerOptions || {
|
|
13545
|
-
scrollToOptions: { behaviour: "instant" }
|
|
13546
|
-
};
|
|
13547
|
-
if (href && !linkIsExternal) {
|
|
13548
|
-
(router || import_router.router)(href, root, {}, options);
|
|
13549
|
-
event.preventDefault();
|
|
13550
|
-
}
|
|
13475
|
+
underlined: {
|
|
13476
|
+
padding: "0",
|
|
13477
|
+
background: "transparent",
|
|
13478
|
+
color: "#E0E0E2",
|
|
13479
|
+
cursor: "pointer",
|
|
13480
|
+
textDecoration: "underline",
|
|
13481
|
+
fontWeight: "500"
|
|
13551
13482
|
}
|
|
13552
13483
|
}
|
|
13553
13484
|
};
|
|
13554
|
-
var
|
|
13555
|
-
extend:
|
|
13556
|
-
}
|
|
13557
|
-
|
|
13558
|
-
// Input/index.js
|
|
13559
|
-
var import_utils8 = __toESM(require_cjs2());
|
|
13560
|
-
var Input2 = {
|
|
13561
|
-
extend: [Focusable],
|
|
13562
|
-
tag: "input",
|
|
13563
|
-
deps: { isString: import_utils8.isString, replaceLiteralsWithObjectFields: import_utils8.replaceLiteralsWithObjectFields },
|
|
13564
|
-
props: {
|
|
13565
|
-
border: "none",
|
|
13566
|
-
type: "input",
|
|
13567
|
-
theme: "tertiary",
|
|
13568
|
-
fontSize: "A",
|
|
13569
|
-
round: "C",
|
|
13570
|
-
lineHeight: 1,
|
|
13571
|
-
fontFamily: "smbls",
|
|
13572
|
-
padding: "Z A"
|
|
13573
|
-
},
|
|
13574
|
-
attr: {
|
|
13575
|
-
pattern: ({ props: props6 }) => props6.pattern,
|
|
13576
|
-
minlength: ({ props: props6 }) => props6.minlength,
|
|
13577
|
-
maxlength: ({ props: props6 }) => props6.maxlength,
|
|
13578
|
-
name: ({ props: props6 }) => props6.name,
|
|
13579
|
-
autocomplete: ({ props: props6 }) => props6.autocomplete,
|
|
13580
|
-
placeholder: ({ props: props6 }) => props6.placeholder,
|
|
13581
|
-
value: ({ props: props6, state, deps }) => {
|
|
13582
|
-
const { isString: isString7, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
|
|
13583
|
-
if (isString7(props6.value) && props6.value.includes("{{"))
|
|
13584
|
-
return replaceLiteralsWithObjectFields2(props6.value, state);
|
|
13585
|
-
return props6.value;
|
|
13586
|
-
},
|
|
13587
|
-
disabled: ({ props: props6 }) => props6.disabled || null,
|
|
13588
|
-
readonly: ({ props: props6 }) => props6.readonly,
|
|
13589
|
-
required: ({ props: props6 }) => props6.required,
|
|
13590
|
-
type: ({ props: props6 }) => props6.type
|
|
13591
|
-
}
|
|
13592
|
-
};
|
|
13593
|
-
var NumberInput = {
|
|
13594
|
-
extend: Input2,
|
|
13485
|
+
var ParagrapUnderlineLinkWithCheckbox = {
|
|
13486
|
+
extend: Flex,
|
|
13487
|
+
checkBox: { extend: Checkbox },
|
|
13488
|
+
paragraph: { extend: ParagraphWithUnderlineButton },
|
|
13595
13489
|
props: {
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
max: ({ props: props6 }) => props6.max
|
|
13490
|
+
align: "center flex-start",
|
|
13491
|
+
gap: "X",
|
|
13492
|
+
checkBox: {
|
|
13493
|
+
Flex: { boxSize: "A+X" }
|
|
13494
|
+
}
|
|
13602
13495
|
}
|
|
13603
13496
|
};
|
|
13604
13497
|
|
|
@@ -13626,7 +13519,7 @@ var Flex2 = {
|
|
|
13626
13519
|
var import_scratch11 = __toESM(require_cjs());
|
|
13627
13520
|
|
|
13628
13521
|
// Field/node_modules/@symbo.ls/atoms/Media.js
|
|
13629
|
-
var
|
|
13522
|
+
var import_utils7 = __toESM(require_cjs2());
|
|
13630
13523
|
|
|
13631
13524
|
// Field/node_modules/@symbo.ls/atoms/Theme.js
|
|
13632
13525
|
var import_scratch14 = __toESM(require_cjs());
|
|
@@ -13666,13 +13559,13 @@ var Focusable2 = {
|
|
|
13666
13559
|
|
|
13667
13560
|
// Field/node_modules/@symbo.ls/atoms/Collection.js
|
|
13668
13561
|
var import_state2 = __toESM(require_cjs5());
|
|
13669
|
-
var
|
|
13562
|
+
var import_utils8 = __toESM(require_cjs2());
|
|
13670
13563
|
|
|
13671
13564
|
// Field/node_modules/@symbo.ls/atoms/Position.js
|
|
13672
13565
|
var import_scratch15 = __toESM(require_cjs());
|
|
13673
13566
|
|
|
13674
13567
|
// Field/node_modules/@symbo.ls/atoms/Shape/index.js
|
|
13675
|
-
var
|
|
13568
|
+
var import_utils9 = __toESM(require_cjs2());
|
|
13676
13569
|
var import_scratch16 = __toESM(require_cjs());
|
|
13677
13570
|
|
|
13678
13571
|
// Field/node_modules/@symbo.ls/atoms/Text.js
|
|
@@ -13680,7 +13573,7 @@ var import_scratch17 = __toESM(require_cjs());
|
|
|
13680
13573
|
|
|
13681
13574
|
// Field/node_modules/@symbo.ls/atoms/Animation.js
|
|
13682
13575
|
var import_scratch18 = __toESM(require_cjs());
|
|
13683
|
-
var
|
|
13576
|
+
var import_utils10 = __toESM(require_cjs2());
|
|
13684
13577
|
|
|
13685
13578
|
// Field/node_modules/@symbo.ls/emotion/index.js
|
|
13686
13579
|
var createEmotion4 = (key = "smbls", container) => {
|
|
@@ -13692,93 +13585,584 @@ var emotion2 = createEmotion4();
|
|
|
13692
13585
|
// Field/node_modules/@symbo.ls/atoms/Animation.js
|
|
13693
13586
|
var { keyframes: keyframes2 } = emotion2;
|
|
13694
13587
|
|
|
13695
|
-
//
|
|
13696
|
-
var
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
placeholder: "",
|
|
13702
|
-
padding: "A B",
|
|
13703
|
-
round: "C",
|
|
13704
|
-
type: "text",
|
|
13705
|
-
position: "relative",
|
|
13706
|
-
width: "G",
|
|
13707
|
-
appearance: "none",
|
|
13708
|
-
outline: 0,
|
|
13709
|
-
border: "none",
|
|
13710
|
-
cursor: "pointer",
|
|
13711
|
-
fontFamily: "inherit",
|
|
13712
|
-
boxSizing: "border-box",
|
|
13713
|
-
input: {
|
|
13714
|
-
width: "100%",
|
|
13715
|
-
height: "100%",
|
|
13716
|
-
border: "none"
|
|
13717
|
-
},
|
|
13718
|
-
svg: {
|
|
13719
|
-
position: "absolute",
|
|
13720
|
-
right: "A"
|
|
13721
|
-
}
|
|
13722
|
-
}),
|
|
13723
|
-
input: { extend: [Focusable2, Input2] }
|
|
13724
|
-
};
|
|
13725
|
-
var CustomizedField = {
|
|
13726
|
-
extend: Field,
|
|
13588
|
+
// Input/index.js
|
|
13589
|
+
var import_utils11 = __toESM(require_cjs2());
|
|
13590
|
+
var Input2 = {
|
|
13591
|
+
extend: [Focusable],
|
|
13592
|
+
tag: "input",
|
|
13593
|
+
deps: { isString: import_utils11.isString, replaceLiteralsWithObjectFields: import_utils11.replaceLiteralsWithObjectFields },
|
|
13727
13594
|
props: {
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
round: "
|
|
13733
|
-
|
|
13595
|
+
border: "none",
|
|
13596
|
+
type: "input",
|
|
13597
|
+
theme: "tertiary",
|
|
13598
|
+
fontSize: "A",
|
|
13599
|
+
round: "C",
|
|
13600
|
+
lineHeight: 1,
|
|
13601
|
+
fontFamily: "smbls",
|
|
13602
|
+
padding: "Z A"
|
|
13603
|
+
},
|
|
13604
|
+
attr: {
|
|
13605
|
+
pattern: ({ props: props6 }) => props6.pattern,
|
|
13606
|
+
minlength: ({ props: props6 }) => props6.minlength,
|
|
13607
|
+
maxlength: ({ props: props6 }) => props6.maxlength,
|
|
13608
|
+
name: ({ props: props6 }) => props6.name,
|
|
13609
|
+
autocomplete: ({ props: props6 }) => props6.autocomplete,
|
|
13610
|
+
placeholder: ({ props: props6 }) => props6.placeholder,
|
|
13611
|
+
value: ({ props: props6, state, deps }) => {
|
|
13612
|
+
const { isString: isString7, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
|
|
13613
|
+
if (isString7(props6.value) && props6.value.includes("{{"))
|
|
13614
|
+
return replaceLiteralsWithObjectFields2(props6.value, state);
|
|
13615
|
+
return props6.value;
|
|
13616
|
+
},
|
|
13617
|
+
disabled: ({ props: props6 }) => props6.disabled || null,
|
|
13618
|
+
readonly: ({ props: props6 }) => props6.readonly,
|
|
13619
|
+
required: ({ props: props6 }) => props6.required,
|
|
13620
|
+
type: ({ props: props6 }) => props6.type
|
|
13621
|
+
}
|
|
13622
|
+
};
|
|
13623
|
+
var NumberInput = {
|
|
13624
|
+
extend: Input2,
|
|
13625
|
+
props: {
|
|
13626
|
+
type: "number"
|
|
13627
|
+
},
|
|
13628
|
+
attr: {
|
|
13629
|
+
step: ({ props: props6 }) => props6.step,
|
|
13630
|
+
min: ({ props: props6 }) => props6.min,
|
|
13631
|
+
max: ({ props: props6 }) => props6.max
|
|
13632
|
+
}
|
|
13633
|
+
};
|
|
13634
|
+
|
|
13635
|
+
// Field/index.js
|
|
13636
|
+
var Field = {
|
|
13637
|
+
extend: [IconText],
|
|
13638
|
+
props: ({ state, key }) => ({
|
|
13639
|
+
value: state[key],
|
|
13640
|
+
depth: 16,
|
|
13641
|
+
placeholder: "",
|
|
13642
|
+
padding: "A B",
|
|
13643
|
+
round: "C",
|
|
13644
|
+
type: "text",
|
|
13645
|
+
position: "relative",
|
|
13646
|
+
width: "G",
|
|
13647
|
+
appearance: "none",
|
|
13648
|
+
outline: 0,
|
|
13649
|
+
border: "none",
|
|
13650
|
+
cursor: "pointer",
|
|
13651
|
+
fontFamily: "inherit",
|
|
13652
|
+
boxSizing: "border-box",
|
|
13653
|
+
input: {
|
|
13654
|
+
width: "100%",
|
|
13655
|
+
height: "100%",
|
|
13656
|
+
border: "none"
|
|
13657
|
+
},
|
|
13658
|
+
svg: {
|
|
13659
|
+
position: "absolute",
|
|
13660
|
+
right: "A"
|
|
13661
|
+
}
|
|
13662
|
+
}),
|
|
13663
|
+
input: { extend: [Focusable2, Input2] }
|
|
13664
|
+
};
|
|
13665
|
+
var CustomizedField = {
|
|
13666
|
+
extend: Field,
|
|
13667
|
+
props: {
|
|
13668
|
+
padding: "0",
|
|
13669
|
+
round: "0",
|
|
13734
13670
|
input: {
|
|
13735
13671
|
background: "transparent",
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
"::placeholder": { textTransform: "capitalize" }
|
|
13672
|
+
border: "1px solid #3F3F43",
|
|
13673
|
+
round: "Z",
|
|
13674
|
+
minHeight: "C+W",
|
|
13675
|
+
color: "white"
|
|
13741
13676
|
}
|
|
13742
|
-
}
|
|
13677
|
+
},
|
|
13678
|
+
input: { props: { placeholder: "placeholder" } }
|
|
13743
13679
|
};
|
|
13744
13680
|
var CodeField = {
|
|
13745
13681
|
extend: Flex2,
|
|
13746
13682
|
childExtend: {
|
|
13747
13683
|
extend: CustomizedField,
|
|
13748
13684
|
props: {
|
|
13749
|
-
boxSize: "D D",
|
|
13685
|
+
boxSize: "D+Z D+Z",
|
|
13750
13686
|
input: {
|
|
13751
13687
|
type: "number",
|
|
13752
13688
|
placeholder: "0",
|
|
13753
13689
|
textAlign: "center",
|
|
13754
|
-
fontSize: "E"
|
|
13690
|
+
fontSize: "E",
|
|
13691
|
+
round: "Y"
|
|
13692
|
+
},
|
|
13693
|
+
style: { "input[type=number]::-webkit-inner-spin-button": { "-webkit-appearance": " none" } }
|
|
13694
|
+
}
|
|
13695
|
+
},
|
|
13696
|
+
...[{}, {}, {}, {}],
|
|
13697
|
+
props: {
|
|
13698
|
+
align: "center space-between",
|
|
13699
|
+
gap: "A"
|
|
13700
|
+
}
|
|
13701
|
+
};
|
|
13702
|
+
var FieldWithTitle = {
|
|
13703
|
+
extend: Flex2,
|
|
13704
|
+
title: { tag: "h6", props: { text: "Old password" } },
|
|
13705
|
+
field: { extend: CustomizedField },
|
|
13706
|
+
props: {
|
|
13707
|
+
flow: "column",
|
|
13708
|
+
gap: "Y",
|
|
13709
|
+
title: {
|
|
13710
|
+
fontSize: "Z",
|
|
13711
|
+
color: "#CFCFD1",
|
|
13712
|
+
fontWeight: "400"
|
|
13713
|
+
},
|
|
13714
|
+
subTitle: {
|
|
13715
|
+
fontSize: "Z",
|
|
13716
|
+
gap: "X+V",
|
|
13717
|
+
padding: "X - - -",
|
|
13718
|
+
icon: { boxSize: "Z+X Z+X" }
|
|
13719
|
+
}
|
|
13720
|
+
}
|
|
13721
|
+
};
|
|
13722
|
+
|
|
13723
|
+
// node_modules/@symbo.ls/icon/index.js
|
|
13724
|
+
var Icon3 = {
|
|
13725
|
+
extend: Svg,
|
|
13726
|
+
props: ({ key, props: props6, parent, context }) => {
|
|
13727
|
+
const { ICONS, useIconSprite, verbose } = context && context.designSystem;
|
|
13728
|
+
const { toCamelCase } = context && context.utils;
|
|
13729
|
+
const iconName = props6.inheritedString || props6.name || props6.icon || key;
|
|
13730
|
+
const camelCase = toCamelCase(iconName);
|
|
13731
|
+
const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
|
|
13732
|
+
let activeIconName;
|
|
13733
|
+
if (props6.active) {
|
|
13734
|
+
activeIconName = props6[".active"].name || props6[".active"].icon;
|
|
13735
|
+
}
|
|
13736
|
+
if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
|
|
13737
|
+
activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
|
|
13738
|
+
}
|
|
13739
|
+
let validIconName;
|
|
13740
|
+
if (ICONS[activeIconName])
|
|
13741
|
+
validIconName = activeIconName;
|
|
13742
|
+
if (ICONS[camelCase])
|
|
13743
|
+
validIconName = camelCase;
|
|
13744
|
+
else if (ICONS[isArray5[0] + isArray5[1]])
|
|
13745
|
+
validIconName = isArray5[0] + isArray5[1];
|
|
13746
|
+
else if (ICONS[isArray5[0]])
|
|
13747
|
+
validIconName = isArray5[0];
|
|
13748
|
+
else {
|
|
13749
|
+
if (verbose)
|
|
13750
|
+
console.warn("Can't find icon:", iconName, validIconName);
|
|
13751
|
+
}
|
|
13752
|
+
const iconFromLibrary = ICONS[validIconName];
|
|
13753
|
+
const directSrc = parent && parent.props && parent.props.src || props6.src;
|
|
13754
|
+
return {
|
|
13755
|
+
width: "A",
|
|
13756
|
+
height: "A",
|
|
13757
|
+
display: "inline-block",
|
|
13758
|
+
spriteId: useIconSprite && validIconName,
|
|
13759
|
+
src: iconFromLibrary || directSrc || ICONS.noIcon,
|
|
13760
|
+
style: { fill: "currentColor" }
|
|
13761
|
+
};
|
|
13762
|
+
},
|
|
13763
|
+
attr: { viewBox: "0 0 24 24" }
|
|
13764
|
+
};
|
|
13765
|
+
var IconText2 = {
|
|
13766
|
+
extend: Flex,
|
|
13767
|
+
props: {
|
|
13768
|
+
align: "center center",
|
|
13769
|
+
lineHeight: 1
|
|
13770
|
+
},
|
|
13771
|
+
// TODO: remove this variant
|
|
13772
|
+
icon: {
|
|
13773
|
+
extend: Icon3,
|
|
13774
|
+
if: ({ parent }) => parent.props.icon
|
|
13775
|
+
},
|
|
13776
|
+
Icon: {
|
|
13777
|
+
props: {},
|
|
13778
|
+
if: ({ props: props6 }) => props6.name || props6.icon
|
|
13779
|
+
},
|
|
13780
|
+
text: ({ props: props6 }) => props6.text,
|
|
13781
|
+
".reversed": {
|
|
13782
|
+
props: { flow: "row-reverse" }
|
|
13783
|
+
},
|
|
13784
|
+
".vertical": {
|
|
13785
|
+
props: { flow: "column" }
|
|
13786
|
+
}
|
|
13787
|
+
};
|
|
13788
|
+
var FileIcon = {
|
|
13789
|
+
extend: Flex,
|
|
13790
|
+
props: {
|
|
13791
|
+
theme: "tertiary",
|
|
13792
|
+
boxSize: "C1",
|
|
13793
|
+
align: "center center",
|
|
13794
|
+
round: "Z"
|
|
13795
|
+
},
|
|
13796
|
+
Icon: {
|
|
13797
|
+
fontSize: "B",
|
|
13798
|
+
margin: "auto",
|
|
13799
|
+
icon: "file"
|
|
13800
|
+
}
|
|
13801
|
+
};
|
|
13802
|
+
|
|
13803
|
+
// Modal/index.js
|
|
13804
|
+
var Modal = {
|
|
13805
|
+
extend: Flex,
|
|
13806
|
+
header: {
|
|
13807
|
+
extend: Flex,
|
|
13808
|
+
close: {
|
|
13809
|
+
extend: Button,
|
|
13810
|
+
props: { icon: "x" }
|
|
13811
|
+
}
|
|
13812
|
+
},
|
|
13813
|
+
content: { extend: Flex },
|
|
13814
|
+
footer: { extend: Flex },
|
|
13815
|
+
props: {
|
|
13816
|
+
background: "#1C1C1F",
|
|
13817
|
+
padding: "A",
|
|
13818
|
+
flow: "column",
|
|
13819
|
+
round: "Z+V",
|
|
13820
|
+
header: {
|
|
13821
|
+
title: { fontSize: "B" },
|
|
13822
|
+
close: {
|
|
13823
|
+
margin: "- - - auto",
|
|
13824
|
+
background: "transparent",
|
|
13825
|
+
color: "white",
|
|
13826
|
+
fontSize: "D",
|
|
13827
|
+
padding: "0"
|
|
13828
|
+
}
|
|
13829
|
+
},
|
|
13830
|
+
content: { flow: "column" }
|
|
13831
|
+
}
|
|
13832
|
+
};
|
|
13833
|
+
var ModalWithTitleParagraph = {
|
|
13834
|
+
extend: Modal,
|
|
13835
|
+
header: { heading: { extend: TitleParagraph } },
|
|
13836
|
+
props: {
|
|
13837
|
+
header: {
|
|
13838
|
+
alignItems: "flex-start",
|
|
13839
|
+
heading: {
|
|
13840
|
+
gap: "A",
|
|
13841
|
+
title: { fontSize: "B" }
|
|
13842
|
+
}
|
|
13843
|
+
}
|
|
13844
|
+
}
|
|
13845
|
+
};
|
|
13846
|
+
var ResetCompleteModal = {
|
|
13847
|
+
extend: Modal,
|
|
13848
|
+
header: {},
|
|
13849
|
+
content: {
|
|
13850
|
+
icon: { extend: CheckMark },
|
|
13851
|
+
titleParagraph: {
|
|
13852
|
+
extend: TitleParagraph,
|
|
13853
|
+
title: { props: { text: "Reset complete!" } },
|
|
13854
|
+
paragraph: { props: { text: "Your request has been approved!" } }
|
|
13855
|
+
}
|
|
13856
|
+
},
|
|
13857
|
+
footer: {
|
|
13858
|
+
button: {
|
|
13859
|
+
extend: Button,
|
|
13860
|
+
props: { text: "Done" }
|
|
13861
|
+
}
|
|
13862
|
+
},
|
|
13863
|
+
props: {
|
|
13864
|
+
minWidth: "G+E",
|
|
13865
|
+
maxWidth: "G+E",
|
|
13866
|
+
gap: "B",
|
|
13867
|
+
content: {
|
|
13868
|
+
flow: "column",
|
|
13869
|
+
align: "center center",
|
|
13870
|
+
gap: "B",
|
|
13871
|
+
titleParagraph: {
|
|
13872
|
+
align: "center center",
|
|
13873
|
+
title: { fontSize: "B" }
|
|
13874
|
+
}
|
|
13875
|
+
},
|
|
13876
|
+
footer: {
|
|
13877
|
+
minWidth: "100%",
|
|
13878
|
+
button: {
|
|
13879
|
+
background: "#0474F2",
|
|
13880
|
+
color: "white",
|
|
13881
|
+
minWidth: "100%",
|
|
13882
|
+
padding: "A -",
|
|
13883
|
+
round: "A"
|
|
13884
|
+
}
|
|
13885
|
+
}
|
|
13886
|
+
}
|
|
13887
|
+
};
|
|
13888
|
+
var MessageModal = {
|
|
13889
|
+
extend: Modal,
|
|
13890
|
+
header: {
|
|
13891
|
+
title: {
|
|
13892
|
+
tag: "h5",
|
|
13893
|
+
props: { text: "Message" }
|
|
13894
|
+
},
|
|
13895
|
+
close: {}
|
|
13896
|
+
},
|
|
13897
|
+
content: {
|
|
13898
|
+
p: {
|
|
13899
|
+
props: { text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apples Sales and Refunds Policy." }
|
|
13900
|
+
}
|
|
13901
|
+
},
|
|
13902
|
+
footer: null,
|
|
13903
|
+
props: {
|
|
13904
|
+
minWidth: "G+E",
|
|
13905
|
+
maxWidth: "G+E",
|
|
13906
|
+
content: { p: { fontSize: "Z" } }
|
|
13907
|
+
}
|
|
13908
|
+
};
|
|
13909
|
+
var ChangePasswordModal = {
|
|
13910
|
+
extend: ModalWithTitleParagraph,
|
|
13911
|
+
header: {},
|
|
13912
|
+
content: {
|
|
13913
|
+
childExtend: { extend: FieldWithTitle },
|
|
13914
|
+
...[
|
|
13915
|
+
{ title: { props: { text: "Old password" } } },
|
|
13916
|
+
{
|
|
13917
|
+
title: { props: { text: "New password" } },
|
|
13918
|
+
field: { input: {} },
|
|
13919
|
+
subTitle: {
|
|
13920
|
+
extend: IconText2,
|
|
13921
|
+
props: {
|
|
13922
|
+
icon: { name: "info" },
|
|
13923
|
+
text: "8 character minimum",
|
|
13924
|
+
align: "center flex-start",
|
|
13925
|
+
boxSize: "fit-content"
|
|
13926
|
+
}
|
|
13927
|
+
}
|
|
13928
|
+
},
|
|
13929
|
+
{
|
|
13930
|
+
title: { props: { text: "Confirm new password" } },
|
|
13931
|
+
field: {
|
|
13932
|
+
input: {}
|
|
13933
|
+
},
|
|
13934
|
+
subTitle: {
|
|
13935
|
+
extend: IconText2,
|
|
13936
|
+
props: {
|
|
13937
|
+
icon: { name: "info" },
|
|
13938
|
+
text: "8 character minimum",
|
|
13939
|
+
align: "center flex-start",
|
|
13940
|
+
boxSize: "fit-content"
|
|
13941
|
+
}
|
|
13942
|
+
}
|
|
13943
|
+
}
|
|
13944
|
+
]
|
|
13945
|
+
},
|
|
13946
|
+
footer: { "CancenConfirmButtons.1": { ...[{}, { text: "Reset password" }] } },
|
|
13947
|
+
props: {
|
|
13948
|
+
minWidth: "H",
|
|
13949
|
+
maxWidth: "H",
|
|
13950
|
+
gap: "B",
|
|
13951
|
+
content: {
|
|
13952
|
+
flow: "column",
|
|
13953
|
+
gap: "B",
|
|
13954
|
+
childProps: {
|
|
13955
|
+
field: {
|
|
13956
|
+
width: "100%",
|
|
13957
|
+
input: { type: "password" }
|
|
13958
|
+
}
|
|
13959
|
+
}
|
|
13960
|
+
},
|
|
13961
|
+
footer: { justifyContent: "flex-end" }
|
|
13962
|
+
}
|
|
13963
|
+
};
|
|
13964
|
+
var VerificationCodeModal = {
|
|
13965
|
+
extend: ModalWithTitleParagraph,
|
|
13966
|
+
header: {
|
|
13967
|
+
heading: {
|
|
13968
|
+
title: { props: { text: "Verify your email" } },
|
|
13969
|
+
paragraph: { props: { text: "Verification code has been sent to you. Enter the code below." } }
|
|
13970
|
+
}
|
|
13971
|
+
},
|
|
13972
|
+
content: {
|
|
13973
|
+
codeField: { extend: CodeField },
|
|
13974
|
+
paragraph: { extend: ParagraphWithUnderlineButton }
|
|
13975
|
+
},
|
|
13976
|
+
footer: { "CancenConfirmButtons.1": { ...[{}, { text: "Verify" }] } },
|
|
13977
|
+
props: {
|
|
13978
|
+
maxWidth: "G+E",
|
|
13979
|
+
minWidth: "G+E",
|
|
13980
|
+
gap: "B",
|
|
13981
|
+
content: { gap: "B" },
|
|
13982
|
+
footer: {
|
|
13983
|
+
justifyContent: "flex-end"
|
|
13984
|
+
}
|
|
13985
|
+
}
|
|
13986
|
+
};
|
|
13987
|
+
|
|
13988
|
+
// Textarea/index.js
|
|
13989
|
+
var Textarea = {
|
|
13990
|
+
extend: [Input2],
|
|
13991
|
+
tag: "textarea",
|
|
13992
|
+
props: {
|
|
13993
|
+
theme: "tertiary",
|
|
13994
|
+
round: "Z2",
|
|
13995
|
+
width: "G1",
|
|
13996
|
+
height: "E1",
|
|
13997
|
+
lineHeight: 1.4
|
|
13998
|
+
}
|
|
13999
|
+
};
|
|
14000
|
+
var TextareaWithTitle = {
|
|
14001
|
+
extend: Flex,
|
|
14002
|
+
title: { tag: "h5", props: { text: "Message" } },
|
|
14003
|
+
textArea: { extend: Textarea },
|
|
14004
|
+
props: {
|
|
14005
|
+
flow: "column",
|
|
14006
|
+
gap: "Y",
|
|
14007
|
+
title: {
|
|
14008
|
+
fontSize: "Z",
|
|
14009
|
+
color: "#CFCFD1",
|
|
14010
|
+
fontWeight: "400"
|
|
14011
|
+
},
|
|
14012
|
+
textArea: {
|
|
14013
|
+
background: "transparent",
|
|
14014
|
+
border: "1px solid #3F3F43",
|
|
14015
|
+
round: "Z",
|
|
14016
|
+
minHeight: "D",
|
|
14017
|
+
color: "white"
|
|
14018
|
+
}
|
|
14019
|
+
}
|
|
14020
|
+
};
|
|
14021
|
+
|
|
14022
|
+
// Form/ContactForm.js
|
|
14023
|
+
var ContactForm = {
|
|
14024
|
+
extend: ModalWithTitleParagraph,
|
|
14025
|
+
header: {
|
|
14026
|
+
heading: {
|
|
14027
|
+
title: { props: { text: "We\u2019d love to help" } },
|
|
14028
|
+
paragraph: { props: { text: "Reach out and we\u2019ll get in touch within 24 hours." } }
|
|
14029
|
+
}
|
|
14030
|
+
},
|
|
14031
|
+
content: {
|
|
14032
|
+
fields: {
|
|
14033
|
+
extend: Flex,
|
|
14034
|
+
names: {
|
|
14035
|
+
extend: Flex,
|
|
14036
|
+
childExtend: FieldWithTitle,
|
|
14037
|
+
...[
|
|
14038
|
+
{
|
|
14039
|
+
title: { props: { text: "First name" } },
|
|
14040
|
+
field: { input: { props: { placeholder: "First name" } } }
|
|
14041
|
+
},
|
|
14042
|
+
{
|
|
14043
|
+
title: { props: { text: "Last name" } },
|
|
14044
|
+
field: { input: { props: { placeholder: "Last name" } } }
|
|
14045
|
+
}
|
|
14046
|
+
]
|
|
13755
14047
|
},
|
|
13756
|
-
|
|
14048
|
+
mail: {
|
|
14049
|
+
extend: FieldWithTitle,
|
|
14050
|
+
title: { props: { text: "Email" } },
|
|
14051
|
+
field: { input: { props: { placeholder: "example@email.com" } } }
|
|
14052
|
+
},
|
|
14053
|
+
message: { extend: TextareaWithTitle }
|
|
14054
|
+
},
|
|
14055
|
+
checkParagraph: {
|
|
14056
|
+
extend: ParagrapUnderlineLinkWithCheckbox,
|
|
14057
|
+
checkBox: {},
|
|
14058
|
+
paragraph: {
|
|
14059
|
+
p: { props: { text: "You agree to " } },
|
|
14060
|
+
underlined: { props: { text: "privacy policy" } }
|
|
14061
|
+
}
|
|
14062
|
+
}
|
|
14063
|
+
},
|
|
14064
|
+
footer: {
|
|
14065
|
+
sendButton: {
|
|
14066
|
+
extend: Button,
|
|
14067
|
+
props: { text: "Send message" }
|
|
13757
14068
|
}
|
|
13758
14069
|
},
|
|
13759
|
-
...[{}, {}, {}, {}],
|
|
13760
14070
|
props: {
|
|
13761
|
-
|
|
13762
|
-
|
|
14071
|
+
padding: "B",
|
|
14072
|
+
minWidth: "H+C",
|
|
14073
|
+
maxWidth: "H+C",
|
|
14074
|
+
header: {
|
|
14075
|
+
heading: {
|
|
14076
|
+
gap: "Y",
|
|
14077
|
+
title: {
|
|
14078
|
+
fontSize: `${24 / 16}em`,
|
|
14079
|
+
fontWeight: "800"
|
|
14080
|
+
}
|
|
14081
|
+
}
|
|
14082
|
+
},
|
|
14083
|
+
content: {
|
|
14084
|
+
padding: "B - A -",
|
|
14085
|
+
fields: {
|
|
14086
|
+
flow: "column",
|
|
14087
|
+
gap: "A",
|
|
14088
|
+
names: {
|
|
14089
|
+
gap: "B+Z",
|
|
14090
|
+
childProps: {
|
|
14091
|
+
width: "50%",
|
|
14092
|
+
field: { width: "100%" }
|
|
14093
|
+
}
|
|
14094
|
+
},
|
|
14095
|
+
mail: { field: { width: "100%" } },
|
|
14096
|
+
message: { textArea: { width: "100%" } }
|
|
14097
|
+
},
|
|
14098
|
+
checkParagraph: {
|
|
14099
|
+
padding: "A - - -",
|
|
14100
|
+
paragraph: {
|
|
14101
|
+
p: { color: "#E0E0E2" },
|
|
14102
|
+
underlined: { fontWeight: "400" }
|
|
14103
|
+
}
|
|
14104
|
+
}
|
|
14105
|
+
},
|
|
14106
|
+
footer: {
|
|
14107
|
+
sendButton: {
|
|
14108
|
+
background: "#0474F2",
|
|
14109
|
+
color: "white",
|
|
14110
|
+
minWidth: "100%",
|
|
14111
|
+
padding: "A -",
|
|
14112
|
+
round: "Z",
|
|
14113
|
+
fontWeight: "500"
|
|
14114
|
+
}
|
|
14115
|
+
}
|
|
13763
14116
|
}
|
|
13764
14117
|
};
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
field: { extend: CustomizedField },
|
|
14118
|
+
|
|
14119
|
+
// Link/index.js
|
|
14120
|
+
var import_router = __toESM(require_cjs6());
|
|
14121
|
+
var Link = {
|
|
14122
|
+
extend: Focusable,
|
|
14123
|
+
tag: "a",
|
|
13772
14124
|
props: {
|
|
13773
|
-
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
14125
|
+
aria: {},
|
|
14126
|
+
fontWeight: "bold",
|
|
14127
|
+
textDecoration: "none",
|
|
14128
|
+
color: "currentColor",
|
|
14129
|
+
draggable: false
|
|
14130
|
+
},
|
|
14131
|
+
attr: {
|
|
14132
|
+
href: (el, s, ctx) => {
|
|
14133
|
+
const { exec: exec3 } = ctx.utils;
|
|
14134
|
+
return exec3(el.props.href, el) || exec3(el.props, el).href;
|
|
14135
|
+
},
|
|
14136
|
+
target: ({ props: props6 }) => props6.target,
|
|
14137
|
+
"aria-label": ({ props: props6 }) => props6.aria ? props6.aria.label : props6.text,
|
|
14138
|
+
draggable: ({ props: props6 }) => props6.draggable
|
|
14139
|
+
}
|
|
14140
|
+
};
|
|
14141
|
+
var RouterLink = {
|
|
14142
|
+
on: {
|
|
14143
|
+
click: (event, el, s, ctx) => {
|
|
14144
|
+
const { props: props6 } = el;
|
|
14145
|
+
const { href } = props6;
|
|
14146
|
+
if (!href)
|
|
14147
|
+
return;
|
|
14148
|
+
const { utils, routerOptions } = ctx;
|
|
14149
|
+
const { router } = utils;
|
|
14150
|
+
const root = el.__ref.__root;
|
|
14151
|
+
console.log(href);
|
|
14152
|
+
const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
|
|
14153
|
+
const options = props6.routerOptions || routerOptions || {
|
|
14154
|
+
scrollToOptions: { behaviour: "instant" }
|
|
14155
|
+
};
|
|
14156
|
+
if (href && !linkIsExternal) {
|
|
14157
|
+
(router || import_router.router)(href, root, {}, options);
|
|
14158
|
+
event.preventDefault();
|
|
14159
|
+
}
|
|
13779
14160
|
}
|
|
13780
14161
|
}
|
|
13781
14162
|
};
|
|
14163
|
+
var RouteLink = {
|
|
14164
|
+
extend: [Link, RouterLink]
|
|
14165
|
+
};
|
|
13782
14166
|
|
|
13783
14167
|
// Video/index.js
|
|
13784
14168
|
var Video = {
|
|
@@ -13805,7 +14189,7 @@ var Video = {
|
|
|
13805
14189
|
};
|
|
13806
14190
|
|
|
13807
14191
|
// Range/index.js
|
|
13808
|
-
var
|
|
14192
|
+
var import_utils12 = __toESM(require_cjs2());
|
|
13809
14193
|
var import_scratch19 = __toESM(require_cjs());
|
|
13810
14194
|
var props4 = {
|
|
13811
14195
|
appearance: "none",
|
|
@@ -13873,7 +14257,7 @@ var Range = {
|
|
|
13873
14257
|
};
|
|
13874
14258
|
var listenProp = (el, prop, def) => {
|
|
13875
14259
|
const val = el.props && el.props[prop];
|
|
13876
|
-
const r = (0,
|
|
14260
|
+
const r = (0, import_utils12.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
|
|
13877
14261
|
return r + "";
|
|
13878
14262
|
};
|
|
13879
14263
|
var RangeWithButtons = {
|
|
@@ -13882,7 +14266,7 @@ var RangeWithButtons = {
|
|
|
13882
14266
|
props: { theme: "tertiary", icon: "minus" },
|
|
13883
14267
|
on: {
|
|
13884
14268
|
click: (ev, el, s) => {
|
|
13885
|
-
el.props && (0,
|
|
14269
|
+
el.props && (0, import_utils12.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
|
|
13886
14270
|
}
|
|
13887
14271
|
}
|
|
13888
14272
|
},
|
|
@@ -13903,8 +14287,8 @@ var RangeWithButtons = {
|
|
|
13903
14287
|
step: (el, s) => listenProp(el, "step", 1)
|
|
13904
14288
|
},
|
|
13905
14289
|
on: {
|
|
13906
|
-
input: (ev, el, s) => el.props && (0,
|
|
13907
|
-
change: (ev, el, s) => el.props && (0,
|
|
14290
|
+
input: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.onInput) && el.props.onInput(ev, el, el.state),
|
|
14291
|
+
change: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.onChange) && el.props.onChange(ev, el, el.state)
|
|
13908
14292
|
}
|
|
13909
14293
|
},
|
|
13910
14294
|
plus: {
|
|
@@ -13912,7 +14296,7 @@ var RangeWithButtons = {
|
|
|
13912
14296
|
props: { theme: "tertiary", icon: "plus" },
|
|
13913
14297
|
on: {
|
|
13914
14298
|
click: (ev, el, s) => {
|
|
13915
|
-
el.props && (0,
|
|
14299
|
+
el.props && (0, import_utils12.isFunction)(el.props.onClick) && el.props.onClick(ev, el, el.state);
|
|
13916
14300
|
}
|
|
13917
14301
|
}
|
|
13918
14302
|
}
|
|
@@ -13939,7 +14323,7 @@ var style_default = {
|
|
|
13939
14323
|
|
|
13940
14324
|
// Slider/index.js
|
|
13941
14325
|
var import_scratch20 = __toESM(require_cjs());
|
|
13942
|
-
var
|
|
14326
|
+
var import_utils13 = __toESM(require_cjs2());
|
|
13943
14327
|
(0, import_scratch20.set)({
|
|
13944
14328
|
theme: {
|
|
13945
14329
|
sliderThumb: {
|
|
@@ -13971,7 +14355,7 @@ var RangeSlider = {
|
|
|
13971
14355
|
};
|
|
13972
14356
|
var listenProp2 = (el, prop, def) => {
|
|
13973
14357
|
const val = el && el.props && el.props[prop];
|
|
13974
|
-
const r = ((0,
|
|
14358
|
+
const r = ((0, import_utils13.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
|
|
13975
14359
|
return r;
|
|
13976
14360
|
};
|
|
13977
14361
|
var Slider = {
|
|
@@ -13982,10 +14366,10 @@ var Slider = {
|
|
|
13982
14366
|
},
|
|
13983
14367
|
on: {
|
|
13984
14368
|
click: (ev, el, s) => {
|
|
13985
|
-
el.props && (0,
|
|
14369
|
+
el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
|
|
13986
14370
|
const input = el.parent.input;
|
|
13987
14371
|
const props6 = input.props;
|
|
13988
|
-
const value = (0,
|
|
14372
|
+
const value = (0, import_utils13.isFunction)(props6.value) ? props6.value() : props6.value;
|
|
13989
14373
|
input.node.value = value;
|
|
13990
14374
|
}
|
|
13991
14375
|
}
|
|
@@ -14008,8 +14392,8 @@ var Slider = {
|
|
|
14008
14392
|
step: (el, s) => listenProp2(el, "step", 1)
|
|
14009
14393
|
},
|
|
14010
14394
|
on: {
|
|
14011
|
-
input: (ev, el, s) => el.props && (0,
|
|
14012
|
-
change: (ev, el, s) => el.props && (0,
|
|
14395
|
+
input: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.input) && el.props.input(ev, el, s),
|
|
14396
|
+
change: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.change) && el.props.change(ev, el, s)
|
|
14013
14397
|
}
|
|
14014
14398
|
},
|
|
14015
14399
|
button1: {
|
|
@@ -14019,10 +14403,10 @@ var Slider = {
|
|
|
14019
14403
|
},
|
|
14020
14404
|
on: {
|
|
14021
14405
|
click: (ev, el, s) => {
|
|
14022
|
-
el.props && (0,
|
|
14406
|
+
el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
|
|
14023
14407
|
const input = el.parent.input;
|
|
14024
14408
|
const props6 = input.props;
|
|
14025
|
-
const value = (0,
|
|
14409
|
+
const value = (0, import_utils13.isFunction)(props6.value) ? props6.value() : props6.value;
|
|
14026
14410
|
input.node.value = value;
|
|
14027
14411
|
}
|
|
14028
14412
|
}
|
|
@@ -14116,19 +14500,6 @@ var TooltipParent = {
|
|
|
14116
14500
|
}
|
|
14117
14501
|
};
|
|
14118
14502
|
|
|
14119
|
-
// Textarea/index.js
|
|
14120
|
-
var Textarea = {
|
|
14121
|
-
extend: [Input2],
|
|
14122
|
-
tag: "textarea",
|
|
14123
|
-
props: {
|
|
14124
|
-
theme: "tertiary",
|
|
14125
|
-
round: "Z2",
|
|
14126
|
-
width: "G1",
|
|
14127
|
-
height: "E1",
|
|
14128
|
-
lineHeight: 1.4
|
|
14129
|
-
}
|
|
14130
|
-
};
|
|
14131
|
-
|
|
14132
14503
|
// Upload/UploadResult.js
|
|
14133
14504
|
var Captions = {
|
|
14134
14505
|
extend: Flex,
|
|
@@ -14796,7 +15167,7 @@ var Card = {
|
|
|
14796
15167
|
title: { props: { text: "Total crypto assets" } },
|
|
14797
15168
|
icon: { extend: Icon, props: { name: "arrowUpRight" } }
|
|
14798
15169
|
},
|
|
14799
|
-
|
|
15170
|
+
contentx: {
|
|
14800
15171
|
extend: AmountWithLabel,
|
|
14801
15172
|
amount: { props: { text: "$ 12,759" } },
|
|
14802
15173
|
label: { props: { text: "+ 8.8%" } }
|
|
@@ -14894,161 +15265,6 @@ var IconTextWithNotification = {
|
|
|
14894
15265
|
}
|
|
14895
15266
|
};
|
|
14896
15267
|
|
|
14897
|
-
// TextComponents/index.js
|
|
14898
|
-
var TitleParagraph = {
|
|
14899
|
-
extend: Flex,
|
|
14900
|
-
title: {
|
|
14901
|
-
tag: "h5",
|
|
14902
|
-
props: { text: "Log in to your account" }
|
|
14903
|
-
},
|
|
14904
|
-
paragraph: {
|
|
14905
|
-
tag: "p",
|
|
14906
|
-
props: { text: "Enter your email address and password to log in." }
|
|
14907
|
-
},
|
|
14908
|
-
props: {
|
|
14909
|
-
flow: "column",
|
|
14910
|
-
gap: "Y",
|
|
14911
|
-
maxWidth: "fit-content",
|
|
14912
|
-
heading: { title: { fontSize: "D" } },
|
|
14913
|
-
paragraph: {
|
|
14914
|
-
fontSize: "Z",
|
|
14915
|
-
padding: "0",
|
|
14916
|
-
margin: "0",
|
|
14917
|
-
color: "#E0E0E2"
|
|
14918
|
-
}
|
|
14919
|
-
}
|
|
14920
|
-
};
|
|
14921
|
-
var ParagraphWithUnderlineButton = {
|
|
14922
|
-
extend: Flex,
|
|
14923
|
-
p: { props: { text: "Didnt get the code?" } },
|
|
14924
|
-
underlined: {
|
|
14925
|
-
extend: Button,
|
|
14926
|
-
props: { text: "Click to reset" }
|
|
14927
|
-
},
|
|
14928
|
-
props: {
|
|
14929
|
-
align: "center flex-start",
|
|
14930
|
-
gap: "Z",
|
|
14931
|
-
fontSize: "Z",
|
|
14932
|
-
p: { color: "#A3A3A8" },
|
|
14933
|
-
underlined: {
|
|
14934
|
-
padding: "0",
|
|
14935
|
-
background: "transparent",
|
|
14936
|
-
color: "#E0E0E2",
|
|
14937
|
-
cursor: "pointer",
|
|
14938
|
-
textDecoration: "underline",
|
|
14939
|
-
fontWeight: "500"
|
|
14940
|
-
}
|
|
14941
|
-
}
|
|
14942
|
-
};
|
|
14943
|
-
var ParagrapUnderlineLinkWithCheckbox = {
|
|
14944
|
-
extend: Flex,
|
|
14945
|
-
checkBox: { extend: Checkbox },
|
|
14946
|
-
paragraph: { extend: ParagraphWithUnderlineButton },
|
|
14947
|
-
props: {
|
|
14948
|
-
align: "center flex-start",
|
|
14949
|
-
gap: "X",
|
|
14950
|
-
checkBox: {
|
|
14951
|
-
Flex: { boxSize: "A+X" }
|
|
14952
|
-
}
|
|
14953
|
-
}
|
|
14954
|
-
};
|
|
14955
|
-
|
|
14956
|
-
// Modal/index.js
|
|
14957
|
-
var Modal = {
|
|
14958
|
-
extend: Flex,
|
|
14959
|
-
header: {
|
|
14960
|
-
extend: Flex,
|
|
14961
|
-
close: {
|
|
14962
|
-
extend: Button,
|
|
14963
|
-
props: { icon: "x" }
|
|
14964
|
-
}
|
|
14965
|
-
},
|
|
14966
|
-
content: { extend: Flex },
|
|
14967
|
-
footer: {},
|
|
14968
|
-
props: {
|
|
14969
|
-
background: "#1C1C1F",
|
|
14970
|
-
padding: "A",
|
|
14971
|
-
flow: "column",
|
|
14972
|
-
round: "Z+V",
|
|
14973
|
-
header: {
|
|
14974
|
-
alignItems: "center",
|
|
14975
|
-
title: { fontSize: "B" },
|
|
14976
|
-
close: {
|
|
14977
|
-
margin: "- - - auto",
|
|
14978
|
-
background: "transparent",
|
|
14979
|
-
color: "white",
|
|
14980
|
-
fontSize: "D",
|
|
14981
|
-
padding: "0"
|
|
14982
|
-
}
|
|
14983
|
-
}
|
|
14984
|
-
}
|
|
14985
|
-
};
|
|
14986
|
-
var ResetCompleteModal = {
|
|
14987
|
-
extend: Modal,
|
|
14988
|
-
header: {},
|
|
14989
|
-
content: {
|
|
14990
|
-
icon: { extend: CheckMark },
|
|
14991
|
-
titleParagraph: {
|
|
14992
|
-
extend: TitleParagraph,
|
|
14993
|
-
title: { props: { text: "Reset complete!" } },
|
|
14994
|
-
paragraph: { props: { text: "Your request has been approved!" } }
|
|
14995
|
-
}
|
|
14996
|
-
},
|
|
14997
|
-
footer: {
|
|
14998
|
-
button: {
|
|
14999
|
-
extend: Button,
|
|
15000
|
-
props: { text: "Done" }
|
|
15001
|
-
}
|
|
15002
|
-
},
|
|
15003
|
-
props: {
|
|
15004
|
-
minWidth: "G+E",
|
|
15005
|
-
maxWidth: "G+E",
|
|
15006
|
-
gap: "B",
|
|
15007
|
-
content: {
|
|
15008
|
-
flow: "column",
|
|
15009
|
-
align: "center center",
|
|
15010
|
-
gap: "B",
|
|
15011
|
-
titleParagraph: {
|
|
15012
|
-
align: "center center",
|
|
15013
|
-
title: { fontSize: "B" }
|
|
15014
|
-
}
|
|
15015
|
-
},
|
|
15016
|
-
footer: {
|
|
15017
|
-
minWidth: "100%",
|
|
15018
|
-
button: {
|
|
15019
|
-
background: "#0474F2",
|
|
15020
|
-
color: "white",
|
|
15021
|
-
minWidth: "100%",
|
|
15022
|
-
padding: "A -",
|
|
15023
|
-
round: "A"
|
|
15024
|
-
}
|
|
15025
|
-
}
|
|
15026
|
-
}
|
|
15027
|
-
};
|
|
15028
|
-
var MessageModal = {
|
|
15029
|
-
extend: Modal,
|
|
15030
|
-
header: {
|
|
15031
|
-
title: {
|
|
15032
|
-
tag: "h5",
|
|
15033
|
-
props: { text: "Message" }
|
|
15034
|
-
},
|
|
15035
|
-
close: {}
|
|
15036
|
-
},
|
|
15037
|
-
content: {
|
|
15038
|
-
p: {
|
|
15039
|
-
props: { text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apples Sales and Refunds Policy." }
|
|
15040
|
-
}
|
|
15041
|
-
},
|
|
15042
|
-
footer: null,
|
|
15043
|
-
props: {
|
|
15044
|
-
minWidth: "G+E",
|
|
15045
|
-
maxWidth: "G+E",
|
|
15046
|
-
content: {
|
|
15047
|
-
p: { fontSize: "Z" }
|
|
15048
|
-
}
|
|
15049
|
-
}
|
|
15050
|
-
};
|
|
15051
|
-
|
|
15052
15268
|
// SlideTabs/index.js
|
|
15053
15269
|
var SlideTabs = {
|
|
15054
15270
|
extend: Flex,
|