@symbo.ls/create 2.11.141 → 2.11.145
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/cjs/bundle/index.js +776 -149
- package/dist/cjs/index.js +14 -2
- package/package.json +2 -2
- package/src/index.js +10 -2
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -2607,6 +2607,7 @@ var require_create2 = __commonJS({
|
|
|
2607
2607
|
var import_inherit = require_inherit();
|
|
2608
2608
|
var createState = function(element, parent, options) {
|
|
2609
2609
|
element.state = applyInitialState(element, parent, options);
|
|
2610
|
+
return element.state;
|
|
2610
2611
|
};
|
|
2611
2612
|
var applyInitialState = function(element, parent, options) {
|
|
2612
2613
|
const objectizeState = checkForTypes(element);
|
|
@@ -2642,20 +2643,18 @@ var require_create2 = __commonJS({
|
|
|
2642
2643
|
if ((0, import_utils25.isFunction)(state)) {
|
|
2643
2644
|
ref.__state = state;
|
|
2644
2645
|
return (0, import_utils25.exec)(state, element);
|
|
2645
|
-
}
|
|
2646
|
-
if ((0, import_utils25.is)(state)("string", "number")) {
|
|
2646
|
+
} else if ((0, import_utils25.is)(state)("string", "number")) {
|
|
2647
2647
|
ref.__state = state;
|
|
2648
2648
|
return {};
|
|
2649
|
-
}
|
|
2650
|
-
if (state === true) {
|
|
2649
|
+
} else if (state === true) {
|
|
2651
2650
|
ref.__state = element.key;
|
|
2652
2651
|
return {};
|
|
2653
|
-
}
|
|
2654
|
-
if (state) {
|
|
2652
|
+
} else if (state) {
|
|
2655
2653
|
ref.__hasRootState = true;
|
|
2656
2654
|
return state;
|
|
2655
|
+
} else {
|
|
2656
|
+
return false;
|
|
2657
2657
|
}
|
|
2658
|
-
return false;
|
|
2659
2658
|
};
|
|
2660
2659
|
var addProtoToArray = (state, proto) => {
|
|
2661
2660
|
for (const key in proto) {
|
|
@@ -2696,8 +2695,9 @@ var require_create2 = __commonJS({
|
|
|
2696
2695
|
} else {
|
|
2697
2696
|
Object.setPrototypeOf(state, proto);
|
|
2698
2697
|
}
|
|
2699
|
-
if (state.parent && state.parent.__children)
|
|
2698
|
+
if (state.parent && state.parent.__children) {
|
|
2700
2699
|
state.parent.__children[element.key] = state;
|
|
2700
|
+
}
|
|
2701
2701
|
};
|
|
2702
2702
|
}
|
|
2703
2703
|
});
|
|
@@ -2821,6 +2821,7 @@ var require_registry = __commonJS({
|
|
|
2821
2821
|
if: {},
|
|
2822
2822
|
define: {},
|
|
2823
2823
|
transform: {},
|
|
2824
|
+
__name: {},
|
|
2824
2825
|
__ref: {},
|
|
2825
2826
|
__hash: {},
|
|
2826
2827
|
__text: {},
|
|
@@ -3697,9 +3698,9 @@ var require_extend = __commonJS({
|
|
|
3697
3698
|
let { extend, props: props6, context, __ref } = element;
|
|
3698
3699
|
const COMPONENTS = context && context.components || options.components;
|
|
3699
3700
|
if ((0, import_utils25.isString)(extend)) {
|
|
3700
|
-
if (COMPONENTS && COMPONENTS[extend])
|
|
3701
|
+
if (COMPONENTS && COMPONENTS[extend]) {
|
|
3701
3702
|
extend = COMPONENTS[extend];
|
|
3702
|
-
else {
|
|
3703
|
+
} else {
|
|
3703
3704
|
if (ENV2 !== "test" || ENV2 !== "development") {
|
|
3704
3705
|
console.warn("Extend is string but component was not found:", extend);
|
|
3705
3706
|
}
|
|
@@ -3809,8 +3810,8 @@ var require_component = __commonJS({
|
|
|
3809
3810
|
};
|
|
3810
3811
|
};
|
|
3811
3812
|
var extendizeByKey = (element, parent, key) => {
|
|
3812
|
-
const { tag, extend, props: props6, state, childExtend, childProps, on: on2 } = element;
|
|
3813
|
-
const hasComponentAttrs = tag || extend || childExtend || props6 || state || on2;
|
|
3813
|
+
const { tag, extend, props: props6, state, childExtend, childProps, on: on2, if: condition } = element;
|
|
3814
|
+
const hasComponentAttrs = tag || extend || childExtend || props6 || state || on2 || condition;
|
|
3814
3815
|
const componentKey = key.includes("_") ? key.split("_")[0] : key.includes(".") ? key.split(".")[0] : key;
|
|
3815
3816
|
const extendKey = componentKey || key;
|
|
3816
3817
|
if (!hasComponentAttrs || childProps) {
|
|
@@ -4772,18 +4773,19 @@ var require_create4 = __commonJS({
|
|
|
4772
4773
|
var create2 = (element, parent, key, options = import_options3.default.create || {}) => {
|
|
4773
4774
|
cacheOptions(element, options);
|
|
4774
4775
|
if (checkIfPrimitive(element)) {
|
|
4775
|
-
|
|
4776
|
+
element = applyValueAsText(element, parent, key);
|
|
4776
4777
|
}
|
|
4777
4778
|
element = redefineElement(element, parent, key, options);
|
|
4778
4779
|
parent = redefineParent(element, parent, key);
|
|
4779
4780
|
key = createKey(element, parent, key);
|
|
4780
4781
|
const ref = addRef(element, parent, key);
|
|
4782
|
+
ref.__initialProps = (0, import_utils25.deepClone)(element.props, []);
|
|
4781
4783
|
applyContext(element, parent, options);
|
|
4782
4784
|
(0, import_component.applyComponentFromContext)(element, parent, options);
|
|
4783
4785
|
(0, import_extend.applyExtend)(element, parent, options);
|
|
4784
4786
|
element.key = key;
|
|
4785
4787
|
if (options.onlyResolveExtends) {
|
|
4786
|
-
return onlyResolveExtends(element, parent, options);
|
|
4788
|
+
return onlyResolveExtends(element, parent, key, options);
|
|
4787
4789
|
}
|
|
4788
4790
|
replaceOptions(element, parent, options);
|
|
4789
4791
|
addCaching(element, parent);
|
|
@@ -4945,7 +4947,7 @@ var require_create4 = __commonJS({
|
|
|
4945
4947
|
ref.__path = parentRef.__path.concat(element.key);
|
|
4946
4948
|
}
|
|
4947
4949
|
};
|
|
4948
|
-
var onlyResolveExtends = (element, parent, options) => {
|
|
4950
|
+
var onlyResolveExtends = (element, parent, key, options) => {
|
|
4949
4951
|
const { __ref } = element;
|
|
4950
4952
|
element.tag = (0, import_render.detectTag)(element);
|
|
4951
4953
|
if (!__ref.__exec)
|
|
@@ -4954,23 +4956,35 @@ var require_create4 = __commonJS({
|
|
|
4954
4956
|
__ref.__attr = {};
|
|
4955
4957
|
if (!element.props)
|
|
4956
4958
|
element.props = {};
|
|
4957
|
-
(0, import_state3.createState)(element, parent
|
|
4959
|
+
(0, import_state3.createState)(element, parent);
|
|
4960
|
+
const ref = __ref;
|
|
4961
|
+
if ((0, import_utils25.isFunction)(element.if)) {
|
|
4962
|
+
const ifPassed = element.if(element, element.state);
|
|
4963
|
+
if (!ifPassed) {
|
|
4964
|
+
delete ref.__if;
|
|
4965
|
+
} else
|
|
4966
|
+
ref.__if = true;
|
|
4967
|
+
} else
|
|
4968
|
+
ref.__if = true;
|
|
4958
4969
|
(0, import_props.createProps)(element, parent);
|
|
4959
4970
|
(0, import_component.applyVariant)(element, parent);
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
const
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4971
|
+
if (element.tag !== "string" || element.tag !== "fragment") {
|
|
4972
|
+
(0, import_iterate.throughInitialExec)(element, options.propsExcludedFromExec);
|
|
4973
|
+
for (const param in element) {
|
|
4974
|
+
const prop = element[param];
|
|
4975
|
+
if ((0, import_utils25.isUndefined)(prop) || (0, import_methods.isMethod)(param) || (0, import_utils25.isObject)(import_mixins.registry[param]) || (0, import_component.isVariant)(param))
|
|
4976
|
+
continue;
|
|
4977
|
+
const hasDefine = element.define && element.define[param];
|
|
4978
|
+
const contextHasDefine = element.context && element.context.define && element.context.define[param];
|
|
4979
|
+
const optionsHasDefine = options.define && options.define[param];
|
|
4980
|
+
if (import_mixins.registry[param] && !optionsHasDefine) {
|
|
4981
|
+
continue;
|
|
4982
|
+
} else if (element[param] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
|
|
4983
|
+
create2((0, import_utils25.exec)(prop, element), element, param, options);
|
|
4984
|
+
}
|
|
4972
4985
|
}
|
|
4973
4986
|
}
|
|
4987
|
+
parent[key || element.key] = element;
|
|
4974
4988
|
delete element.update;
|
|
4975
4989
|
delete element.__element;
|
|
4976
4990
|
delete element.props.update;
|
|
@@ -14019,16 +14033,23 @@ __reExport(utilImports_exports, __toESM(require_cjs10(), 1));
|
|
|
14019
14033
|
// ../../uikit/domql/index.js
|
|
14020
14034
|
var domql_exports = {};
|
|
14021
14035
|
__export(domql_exports, {
|
|
14036
|
+
AmountWithLabel: () => AmountWithLabel,
|
|
14022
14037
|
Animation: () => Animation,
|
|
14023
14038
|
Avatar: () => Avatar,
|
|
14024
14039
|
AvatarBundle: () => AvatarBundle,
|
|
14040
|
+
AvatarBundleInfoSet: () => AvatarBundleInfoSet,
|
|
14025
14041
|
AvatarChooser: () => AvatarChooser,
|
|
14042
|
+
AvatarInfoSetWithButton: () => AvatarInfoSetWithButton,
|
|
14043
|
+
AvatarInfoSetWithLabel: () => AvatarInfoSetWithLabel,
|
|
14026
14044
|
AvatarWithIndicator: () => AvatarWithIndicator,
|
|
14045
|
+
AvatarWithInfoSet: () => AvatarWithInfoSet,
|
|
14046
|
+
BalancesIndicator: () => BalancesIndicator,
|
|
14027
14047
|
Block: () => Block,
|
|
14028
14048
|
Box: () => Box,
|
|
14029
14049
|
Br: () => Br,
|
|
14030
14050
|
Button: () => Button,
|
|
14031
14051
|
ButtonSet: () => ButtonSet,
|
|
14052
|
+
CancenConfirmButtons: () => CancenConfirmButtons,
|
|
14032
14053
|
Caption: () => Caption,
|
|
14033
14054
|
Card: () => Card,
|
|
14034
14055
|
CardLabel: () => CardLabel,
|
|
@@ -14037,11 +14058,15 @@ __export(domql_exports, {
|
|
|
14037
14058
|
ChatUserWithNotification: () => ChatUserWithNotification,
|
|
14038
14059
|
ChatUserWithUploadedFile: () => ChatUserWithUploadedFile,
|
|
14039
14060
|
CheckBoxWithLabel: () => CheckBoxWithLabel,
|
|
14061
|
+
CheckMark: () => CheckMark,
|
|
14040
14062
|
Checkbox: () => Checkbox,
|
|
14041
14063
|
Circle: () => Circle,
|
|
14042
14064
|
CircleButton: () => CircleButton,
|
|
14043
14065
|
Clickable: () => Clickable,
|
|
14066
|
+
CodeField: () => CodeField,
|
|
14044
14067
|
Collection: () => Collection,
|
|
14068
|
+
ConvertCard: () => ConvertCard,
|
|
14069
|
+
CustomizedField: () => CustomizedField,
|
|
14045
14070
|
DateIndicator: () => DateIndicator,
|
|
14046
14071
|
DatePicker: () => DatePicker,
|
|
14047
14072
|
DatePickerDay: () => DatePickerDay,
|
|
@@ -14054,10 +14079,12 @@ __export(domql_exports, {
|
|
|
14054
14079
|
Dialog: () => Dialog,
|
|
14055
14080
|
DialogFooter: () => DialogFooter,
|
|
14056
14081
|
Direction: () => Direction,
|
|
14082
|
+
DropDownWithAvatar: () => DropDownWithAvatar,
|
|
14057
14083
|
DropdownList: () => DropdownList,
|
|
14058
14084
|
DropdownParent: () => DropdownParent,
|
|
14059
14085
|
Field: () => Field,
|
|
14060
14086
|
FieldLabel: () => FieldLabel,
|
|
14087
|
+
FieldWithTitle: () => FieldWithTitle,
|
|
14061
14088
|
FileIcon: () => FileIcon,
|
|
14062
14089
|
Flex: () => Flex,
|
|
14063
14090
|
Focusable: () => Focusable,
|
|
@@ -14075,8 +14102,9 @@ __export(domql_exports, {
|
|
|
14075
14102
|
Headline: () => Headline,
|
|
14076
14103
|
Hoverable: () => Hoverable,
|
|
14077
14104
|
Hr: () => Hr,
|
|
14078
|
-
Icon: () =>
|
|
14105
|
+
Icon: () => Icon3,
|
|
14079
14106
|
IconText: () => IconText2,
|
|
14107
|
+
IconTextWithNotification: () => IconTextWithNotification,
|
|
14080
14108
|
Iframe: () => Iframe,
|
|
14081
14109
|
Img: () => Img,
|
|
14082
14110
|
IndicatorDot: () => IndicatorDot,
|
|
@@ -14089,11 +14117,15 @@ __export(domql_exports, {
|
|
|
14089
14117
|
Link: () => Link,
|
|
14090
14118
|
List: () => List,
|
|
14091
14119
|
Media: () => Media,
|
|
14120
|
+
MessageModal: () => MessageModal,
|
|
14121
|
+
Modal: () => Modal,
|
|
14092
14122
|
Notification: () => Notification,
|
|
14093
14123
|
NotificationAlert: () => NotificationAlert,
|
|
14094
14124
|
NumberInput: () => NumberInput,
|
|
14095
14125
|
Overflow: () => Overflow,
|
|
14096
14126
|
P: () => P,
|
|
14127
|
+
ParagrapUnderlineLinkWithCheckbox: () => ParagrapUnderlineLinkWithCheckbox,
|
|
14128
|
+
ParagraphWithUnderlineButton: () => ParagraphWithUnderlineButton,
|
|
14097
14129
|
Picture: () => Picture,
|
|
14098
14130
|
Pills: () => Pills,
|
|
14099
14131
|
Position: () => Position,
|
|
@@ -14103,11 +14135,14 @@ __export(domql_exports, {
|
|
|
14103
14135
|
Range: () => Range,
|
|
14104
14136
|
RangeSlider: () => RangeSlider,
|
|
14105
14137
|
RangeWithButtons: () => RangeWithButtons,
|
|
14138
|
+
ResetCompleteModal: () => ResetCompleteModal,
|
|
14106
14139
|
RouteLink: () => RouteLink,
|
|
14107
14140
|
RouterLink: () => RouterLink,
|
|
14108
14141
|
Search: () => Search,
|
|
14109
14142
|
Select: () => Select,
|
|
14110
14143
|
Shape: () => Shape,
|
|
14144
|
+
SlideTabs: () => SlideTabs,
|
|
14145
|
+
SlideTabsWithTitleParagraph: () => SlideTabsWithTitleParagraph,
|
|
14111
14146
|
Slider: () => Slider,
|
|
14112
14147
|
Span: () => Span,
|
|
14113
14148
|
SquareButton: () => SquareButton,
|
|
@@ -14124,6 +14159,7 @@ __export(domql_exports, {
|
|
|
14124
14159
|
TimePickerItem: () => TimePickerItem,
|
|
14125
14160
|
TimeSwitcher: () => TimeSwitcher,
|
|
14126
14161
|
Timing: () => Timing,
|
|
14162
|
+
TitleParagraph: () => TitleParagraph,
|
|
14127
14163
|
ToggleSwitch: () => ToggleSwitch,
|
|
14128
14164
|
ToggleSwithWithLabel: () => ToggleSwithWithLabel,
|
|
14129
14165
|
Tooltip: () => Tooltip,
|
|
@@ -14136,7 +14172,6 @@ __export(domql_exports, {
|
|
|
14136
14172
|
UploadModalLabel: () => UploadModalLabel,
|
|
14137
14173
|
UploadProgress: () => UploadProgress,
|
|
14138
14174
|
UploadResult: () => UploadResult,
|
|
14139
|
-
User: () => User,
|
|
14140
14175
|
Video: () => Video,
|
|
14141
14176
|
XYZ: () => XYZ,
|
|
14142
14177
|
calendar: () => calendar,
|
|
@@ -15476,6 +15511,72 @@ var KangorooButton = {
|
|
|
15476
15511
|
extend: Button,
|
|
15477
15512
|
childExtend: IconText
|
|
15478
15513
|
};
|
|
15514
|
+
var CancenConfirmButtons = {
|
|
15515
|
+
extend: Flex,
|
|
15516
|
+
childExtend: Button,
|
|
15517
|
+
...[
|
|
15518
|
+
{ props: { text: "Cancel" } },
|
|
15519
|
+
{ props: { text: "Confirm" } }
|
|
15520
|
+
],
|
|
15521
|
+
props: {
|
|
15522
|
+
gap: "Y",
|
|
15523
|
+
childProps: {
|
|
15524
|
+
fontWeight: "500",
|
|
15525
|
+
color: "white",
|
|
15526
|
+
padding: "A B+X",
|
|
15527
|
+
":first-child": {
|
|
15528
|
+
background: "transparent"
|
|
15529
|
+
},
|
|
15530
|
+
":last-child": {
|
|
15531
|
+
background: "#0474F2",
|
|
15532
|
+
round: "A"
|
|
15533
|
+
}
|
|
15534
|
+
}
|
|
15535
|
+
}
|
|
15536
|
+
};
|
|
15537
|
+
|
|
15538
|
+
// ../../uikit/domql/Accessories/node_modules/@symbo.ls/icon/index.js
|
|
15539
|
+
var Icon2 = {
|
|
15540
|
+
extend: Svg,
|
|
15541
|
+
props: ({ key, props: props6, parent, context }) => {
|
|
15542
|
+
const { ICONS, useIconSprite, verbose } = context && context.designSystem;
|
|
15543
|
+
const { toCamelCase: toCamelCase2 } = context && context.utils;
|
|
15544
|
+
const iconName = props6.inheritedString || props6.name || props6.icon || key;
|
|
15545
|
+
const camelCase = toCamelCase2(iconName);
|
|
15546
|
+
const isArray8 = camelCase.split(/([a-z])([A-Z])/g);
|
|
15547
|
+
let activeIconName;
|
|
15548
|
+
if (props6.active) {
|
|
15549
|
+
activeIconName = props6[".active"].name || props6[".active"].icon;
|
|
15550
|
+
}
|
|
15551
|
+
if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
|
|
15552
|
+
activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
|
|
15553
|
+
}
|
|
15554
|
+
let validIconName;
|
|
15555
|
+
if (ICONS[activeIconName])
|
|
15556
|
+
validIconName = activeIconName;
|
|
15557
|
+
if (ICONS[camelCase])
|
|
15558
|
+
validIconName = camelCase;
|
|
15559
|
+
else if (ICONS[isArray8[0] + isArray8[1]])
|
|
15560
|
+
validIconName = isArray8[0] + isArray8[1];
|
|
15561
|
+
else if (ICONS[isArray8[0]])
|
|
15562
|
+
validIconName = isArray8[0];
|
|
15563
|
+
else {
|
|
15564
|
+
if (verbose)
|
|
15565
|
+
console.warn("Can't find icon:", iconName, validIconName);
|
|
15566
|
+
}
|
|
15567
|
+
const iconFromLibrary = ICONS[validIconName];
|
|
15568
|
+
const directSrc = parent && parent.props && parent.props.src || props6.src;
|
|
15569
|
+
return {
|
|
15570
|
+
width: "A",
|
|
15571
|
+
height: "A",
|
|
15572
|
+
display: "inline-block",
|
|
15573
|
+
spriteId: useIconSprite && validIconName,
|
|
15574
|
+
src: iconFromLibrary || directSrc || ICONS.noIcon,
|
|
15575
|
+
style: { fill: "currentColor" }
|
|
15576
|
+
};
|
|
15577
|
+
},
|
|
15578
|
+
attr: { viewBox: "0 0 24 24" }
|
|
15579
|
+
};
|
|
15479
15580
|
|
|
15480
15581
|
// ../../uikit/domql/Accessories/index.js
|
|
15481
15582
|
var IndicatorDot = {
|
|
@@ -15487,16 +15588,28 @@ var IndicatorDot = {
|
|
|
15487
15588
|
borderWidth: "1px"
|
|
15488
15589
|
}
|
|
15489
15590
|
};
|
|
15591
|
+
var BalancesIndicator = {
|
|
15592
|
+
extend: Flex,
|
|
15593
|
+
caption: { props: { text: "Balance:" } },
|
|
15594
|
+
value: { props: { text: "0" } },
|
|
15595
|
+
title: { props: { text: "bnb" } },
|
|
15596
|
+
props: {
|
|
15597
|
+
fontSize: "Z",
|
|
15598
|
+
color: "rgba(163, 163, 168, 1)",
|
|
15599
|
+
gap: "X",
|
|
15600
|
+
title: { textTransform: "uppercase" }
|
|
15601
|
+
}
|
|
15602
|
+
};
|
|
15490
15603
|
var NotificationAlert = {
|
|
15491
15604
|
span: { props: { text: "2" } },
|
|
15492
15605
|
props: {
|
|
15493
15606
|
background: "#0474F2",
|
|
15494
15607
|
boxSize: "fit-content",
|
|
15495
15608
|
padding: "- X",
|
|
15496
|
-
round: "
|
|
15609
|
+
round: "Z",
|
|
15610
|
+
color: "white",
|
|
15497
15611
|
span: {
|
|
15498
|
-
fontSize: "Y"
|
|
15499
|
-
color: "white"
|
|
15612
|
+
fontSize: "Y"
|
|
15500
15613
|
}
|
|
15501
15614
|
}
|
|
15502
15615
|
};
|
|
@@ -15527,6 +15640,167 @@ var DateIndicator = {
|
|
|
15527
15640
|
}
|
|
15528
15641
|
}
|
|
15529
15642
|
};
|
|
15643
|
+
var CheckMark = {
|
|
15644
|
+
check: {
|
|
15645
|
+
extend: Icon2,
|
|
15646
|
+
props: { name: "check" }
|
|
15647
|
+
},
|
|
15648
|
+
props: {
|
|
15649
|
+
border: "2px solid #04F214",
|
|
15650
|
+
boxSize: "fit-content",
|
|
15651
|
+
color: "#04F214",
|
|
15652
|
+
padding: "Y+V",
|
|
15653
|
+
round: "100%",
|
|
15654
|
+
check: { fontSize: "G" }
|
|
15655
|
+
}
|
|
15656
|
+
};
|
|
15657
|
+
|
|
15658
|
+
// ../../uikit/domql/InfoSet/index.js
|
|
15659
|
+
var InfoSet = {
|
|
15660
|
+
extend: Flex,
|
|
15661
|
+
childExtend: Flex,
|
|
15662
|
+
props: {
|
|
15663
|
+
flow: "column",
|
|
15664
|
+
childProps: {
|
|
15665
|
+
title: {
|
|
15666
|
+
fontSize: "Z",
|
|
15667
|
+
fontWeight: "500"
|
|
15668
|
+
},
|
|
15669
|
+
subTitle: {
|
|
15670
|
+
fontSize: "Y",
|
|
15671
|
+
color: "#A3A3A8"
|
|
15672
|
+
}
|
|
15673
|
+
}
|
|
15674
|
+
}
|
|
15675
|
+
};
|
|
15676
|
+
|
|
15677
|
+
// ../../uikit/domql/Card/index.js
|
|
15678
|
+
var CardLabel = {
|
|
15679
|
+
props: {
|
|
15680
|
+
text: "-2.902x",
|
|
15681
|
+
fontSize: "Y",
|
|
15682
|
+
background: "#F4454E",
|
|
15683
|
+
boxSize: "fit-content fit-content",
|
|
15684
|
+
padding: "W Y",
|
|
15685
|
+
round: "Y"
|
|
15686
|
+
}
|
|
15687
|
+
};
|
|
15688
|
+
var DropDownWithAvatar = {
|
|
15689
|
+
extend: Flex,
|
|
15690
|
+
avatar: { extend: Avatar },
|
|
15691
|
+
list: {
|
|
15692
|
+
childExtend: { tag: "H6" },
|
|
15693
|
+
...[{ props: { text: "eth" } }]
|
|
15694
|
+
},
|
|
15695
|
+
downArrow: {
|
|
15696
|
+
extend: Button,
|
|
15697
|
+
props: { icon: "arrowDown" }
|
|
15698
|
+
},
|
|
15699
|
+
props: {
|
|
15700
|
+
boxSize: "fit-content fit-content",
|
|
15701
|
+
align: "center flex-start",
|
|
15702
|
+
padding: "Y Z",
|
|
15703
|
+
gap: "Z",
|
|
15704
|
+
round: "Z",
|
|
15705
|
+
background: "rgba(28, 28, 31, 1)",
|
|
15706
|
+
avatar: { boxSize: "A+Y" },
|
|
15707
|
+
list: {
|
|
15708
|
+
childProps: {
|
|
15709
|
+
fontSize: "Z",
|
|
15710
|
+
textTransform: "uppercase"
|
|
15711
|
+
}
|
|
15712
|
+
},
|
|
15713
|
+
downArrow: {
|
|
15714
|
+
padding: "0",
|
|
15715
|
+
background: "transparent",
|
|
15716
|
+
color: "white",
|
|
15717
|
+
fontSize: "Y"
|
|
15718
|
+
}
|
|
15719
|
+
}
|
|
15720
|
+
};
|
|
15721
|
+
var AmountWithLabel = {
|
|
15722
|
+
extend: Flex,
|
|
15723
|
+
amount: { props: { text: "240.59" } },
|
|
15724
|
+
label: {
|
|
15725
|
+
extend: CardLabel,
|
|
15726
|
+
props: { text: "-0.25%" }
|
|
15727
|
+
},
|
|
15728
|
+
props: {
|
|
15729
|
+
align: "center flex-start",
|
|
15730
|
+
gap: "Y+V",
|
|
15731
|
+
amount: {
|
|
15732
|
+
fontSize: `${20 / 16}em`,
|
|
15733
|
+
fontWeight: "700"
|
|
15734
|
+
}
|
|
15735
|
+
}
|
|
15736
|
+
};
|
|
15737
|
+
var Card = {
|
|
15738
|
+
extend: InfoSet,
|
|
15739
|
+
heading: {
|
|
15740
|
+
title: { props: { text: "Total crypto assets" } },
|
|
15741
|
+
icon: { extend: Icon, props: { name: "arrowUpRight" } }
|
|
15742
|
+
},
|
|
15743
|
+
content: {
|
|
15744
|
+
extend: AmountWithLabel,
|
|
15745
|
+
amount: { props: { text: "$ 12,759" } },
|
|
15746
|
+
label: { props: { text: "+ 8.8%" } }
|
|
15747
|
+
},
|
|
15748
|
+
footer: {
|
|
15749
|
+
subTitle: {
|
|
15750
|
+
extend: Flex,
|
|
15751
|
+
caption: { props: { text: "Last update:" } },
|
|
15752
|
+
span: { props: { text: "an hour ago" } }
|
|
15753
|
+
}
|
|
15754
|
+
},
|
|
15755
|
+
props: {
|
|
15756
|
+
minWidth: "G",
|
|
15757
|
+
maxWidth: "G",
|
|
15758
|
+
padding: "A",
|
|
15759
|
+
round: "Z+V",
|
|
15760
|
+
gap: "Y",
|
|
15761
|
+
style: { background: "linear-gradient(to right, rgba(4, 116, 242, 1), rgba(0, 48, 103, 1))" },
|
|
15762
|
+
childProps: {
|
|
15763
|
+
alignItems: "center",
|
|
15764
|
+
title: { fontWeight: "700" },
|
|
15765
|
+
icon: { fontSize: "C", color: "#A3A3A8" },
|
|
15766
|
+
amount: { fontSize: `${24 / 16}em` },
|
|
15767
|
+
label: { padding: "Y Z", background: "#04040466" },
|
|
15768
|
+
subTitle: {
|
|
15769
|
+
gap: "Y",
|
|
15770
|
+
caption: { color: "rgba(224, 224, 226, 1)" },
|
|
15771
|
+
span: { color: "rgba(233, 233, 234, 1)" }
|
|
15772
|
+
}
|
|
15773
|
+
},
|
|
15774
|
+
heading: { justifyContent: "space-between" },
|
|
15775
|
+
content: { gap: "Y" }
|
|
15776
|
+
}
|
|
15777
|
+
};
|
|
15778
|
+
var ConvertCard = {
|
|
15779
|
+
extend: Card,
|
|
15780
|
+
heading: {
|
|
15781
|
+
title: { props: { text: "From" } },
|
|
15782
|
+
balance: { extend: BalancesIndicator },
|
|
15783
|
+
icon: null
|
|
15784
|
+
},
|
|
15785
|
+
content: {
|
|
15786
|
+
amount: { props: { text: "0.00" } },
|
|
15787
|
+
label: null,
|
|
15788
|
+
currency: { extend: DropDownWithAvatar },
|
|
15789
|
+
props: { align: "center space-between" }
|
|
15790
|
+
},
|
|
15791
|
+
footer: null,
|
|
15792
|
+
props: {
|
|
15793
|
+
background: "rgba(28, 28, 31, .5)",
|
|
15794
|
+
gap: "A",
|
|
15795
|
+
childProps: {
|
|
15796
|
+
title: {
|
|
15797
|
+
color: "rgba(163, 163, 168, 1)",
|
|
15798
|
+
fontWeight: "400"
|
|
15799
|
+
},
|
|
15800
|
+
amount: { color: "rgba(163, 163, 168, 1)" }
|
|
15801
|
+
}
|
|
15802
|
+
}
|
|
15803
|
+
};
|
|
15530
15804
|
|
|
15531
15805
|
// ../../uikit/domql/Avatar/index.js
|
|
15532
15806
|
var Avatar = {
|
|
@@ -15567,7 +15841,8 @@ var AvatarBundle = {
|
|
|
15567
15841
|
margin: "0 -Y2 0 0"
|
|
15568
15842
|
}
|
|
15569
15843
|
}
|
|
15570
|
-
}
|
|
15844
|
+
},
|
|
15845
|
+
...[{}, {}]
|
|
15571
15846
|
};
|
|
15572
15847
|
var AvatarChooser = {
|
|
15573
15848
|
extend: Button,
|
|
@@ -15609,29 +15884,165 @@ var AvatarChooser = {
|
|
|
15609
15884
|
}
|
|
15610
15885
|
}
|
|
15611
15886
|
};
|
|
15612
|
-
|
|
15613
|
-
|
|
15614
|
-
|
|
15887
|
+
var AvatarWithInfoSet = {
|
|
15888
|
+
extend: Flex,
|
|
15889
|
+
avatar: { extend: AvatarWithIndicator },
|
|
15890
|
+
infos: {
|
|
15891
|
+
extend: InfoSet,
|
|
15892
|
+
...[
|
|
15893
|
+
{
|
|
15894
|
+
title: { props: { text: "Erin Schleifer" } },
|
|
15895
|
+
subTitle: { caption: { props: { text: "email@symbols.com" } } }
|
|
15896
|
+
}
|
|
15897
|
+
]
|
|
15898
|
+
},
|
|
15615
15899
|
props: {
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15620
|
-
|
|
15900
|
+
boxSize: "fit-content",
|
|
15901
|
+
align: "center flex-start",
|
|
15902
|
+
gap: "A",
|
|
15903
|
+
infos: {
|
|
15904
|
+
childProps: {
|
|
15905
|
+
flow: "column",
|
|
15906
|
+
subTitle: { caption: { whiteSpace: "nowrap" } }
|
|
15907
|
+
}
|
|
15908
|
+
}
|
|
15621
15909
|
}
|
|
15622
15910
|
};
|
|
15623
|
-
var
|
|
15624
|
-
extend:
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15911
|
+
var AvatarInfoSetWithLabel = {
|
|
15912
|
+
extend: AvatarWithInfoSet,
|
|
15913
|
+
avatar: { extend: Avatar },
|
|
15914
|
+
infos: {
|
|
15915
|
+
...[
|
|
15916
|
+
{
|
|
15917
|
+
title: { props: { text: "ETHDOWN" } },
|
|
15918
|
+
label: { extend: CardLabel },
|
|
15919
|
+
subTitle: null,
|
|
15920
|
+
props: { gap: "Z" }
|
|
15921
|
+
},
|
|
15922
|
+
{
|
|
15923
|
+
subTitle: { props: { text: "Short ADA with up to 4x Leverage" } }
|
|
15924
|
+
}
|
|
15925
|
+
]
|
|
15630
15926
|
},
|
|
15631
|
-
|
|
15632
|
-
|
|
15633
|
-
|
|
15634
|
-
|
|
15927
|
+
props: {
|
|
15928
|
+
avatar: { boxSize: "B" },
|
|
15929
|
+
infos: {
|
|
15930
|
+
gap: "X",
|
|
15931
|
+
childProps: {
|
|
15932
|
+
flow: "row"
|
|
15933
|
+
}
|
|
15934
|
+
}
|
|
15935
|
+
}
|
|
15936
|
+
};
|
|
15937
|
+
var AvatarInfoSetWithButton = {
|
|
15938
|
+
extend: AvatarWithInfoSet,
|
|
15939
|
+
avatar: { extend: Avatar },
|
|
15940
|
+
infos: {
|
|
15941
|
+
...[
|
|
15942
|
+
{
|
|
15943
|
+
title: { props: { text: "Wallet ID" } },
|
|
15944
|
+
subTitle: { caption: { props: { text: "0xfb59...d862" } } }
|
|
15945
|
+
},
|
|
15946
|
+
{
|
|
15947
|
+
extend: Button,
|
|
15948
|
+
props: { icon: "copyOutline" }
|
|
15949
|
+
}
|
|
15950
|
+
]
|
|
15951
|
+
},
|
|
15952
|
+
props: {
|
|
15953
|
+
padding: "Y A Y Y",
|
|
15954
|
+
border: "1px solid #57575C",
|
|
15955
|
+
round: "Z",
|
|
15956
|
+
gap: "Z",
|
|
15957
|
+
avatar: {
|
|
15958
|
+
boxSize: "A+B",
|
|
15959
|
+
round: "Y"
|
|
15960
|
+
},
|
|
15961
|
+
infos: {
|
|
15962
|
+
flow: "row",
|
|
15963
|
+
align: "center flex-start",
|
|
15964
|
+
gap: "A+X",
|
|
15965
|
+
childProps: {
|
|
15966
|
+
title: { fontSize: "Y" },
|
|
15967
|
+
":nth-child(2)": {
|
|
15968
|
+
padding: "0",
|
|
15969
|
+
color: "white",
|
|
15970
|
+
fontSize: "C",
|
|
15971
|
+
background: "transparent"
|
|
15972
|
+
}
|
|
15973
|
+
}
|
|
15974
|
+
}
|
|
15975
|
+
}
|
|
15976
|
+
};
|
|
15977
|
+
var AvatarBundleInfoSet = {
|
|
15978
|
+
extend: AvatarWithInfoSet,
|
|
15979
|
+
avatar: { extend: AvatarBundle },
|
|
15980
|
+
infos: {
|
|
15981
|
+
...[
|
|
15982
|
+
{
|
|
15983
|
+
title: { props: { text: "ETH/BNB" } },
|
|
15984
|
+
label: {
|
|
15985
|
+
extend: CardLabel,
|
|
15986
|
+
props: { text: "1 ETH = 240.7 BNB" }
|
|
15987
|
+
},
|
|
15988
|
+
subTitle: null
|
|
15989
|
+
}
|
|
15990
|
+
]
|
|
15991
|
+
},
|
|
15992
|
+
props: {
|
|
15993
|
+
gap: "Z",
|
|
15994
|
+
background: "#1C1C1F",
|
|
15995
|
+
padding: "A A",
|
|
15996
|
+
round: "Z",
|
|
15997
|
+
avatar: {
|
|
15998
|
+
childProps: {
|
|
15999
|
+
boxSize: "A+A",
|
|
16000
|
+
":not(:first-child)": {
|
|
16001
|
+
border: "solid, black 0",
|
|
16002
|
+
borderWidth: "1px"
|
|
16003
|
+
}
|
|
16004
|
+
// style: {
|
|
16005
|
+
// '&:not(:first-child)': { border: '1px solid rgba(0, 0, 0, 0)' }
|
|
16006
|
+
// }
|
|
16007
|
+
}
|
|
16008
|
+
},
|
|
16009
|
+
infos: {
|
|
16010
|
+
childProps: {
|
|
16011
|
+
flow: "row",
|
|
16012
|
+
gap: "Z",
|
|
16013
|
+
align: "center flex-start",
|
|
16014
|
+
title: { fontWeight: "700" },
|
|
16015
|
+
label: {
|
|
16016
|
+
background: "black",
|
|
16017
|
+
padding: "Y Z"
|
|
16018
|
+
}
|
|
16019
|
+
}
|
|
16020
|
+
}
|
|
16021
|
+
}
|
|
16022
|
+
};
|
|
16023
|
+
|
|
16024
|
+
// ../../uikit/domql/Dialog/index.js
|
|
16025
|
+
var Dialog = {
|
|
16026
|
+
props: {
|
|
16027
|
+
theme: "tertiary",
|
|
16028
|
+
round: "Z2",
|
|
16029
|
+
margin: "E",
|
|
16030
|
+
overflow: "hidden",
|
|
16031
|
+
padding: "- Z - -"
|
|
16032
|
+
}
|
|
16033
|
+
};
|
|
16034
|
+
var DialogFooter = {
|
|
16035
|
+
extend: Flex,
|
|
16036
|
+
props: {
|
|
16037
|
+
align: "center flex-end",
|
|
16038
|
+
gap: "X2",
|
|
16039
|
+
margin: "auto - -",
|
|
16040
|
+
padding: "Y2 X2"
|
|
16041
|
+
},
|
|
16042
|
+
childExtend: {
|
|
16043
|
+
extend: Button,
|
|
16044
|
+
props: {
|
|
16045
|
+
fontSize: "Z",
|
|
15635
16046
|
textTransform: "uppercase",
|
|
15636
16047
|
background: "transparent",
|
|
15637
16048
|
"@dark": {
|
|
@@ -16503,7 +16914,7 @@ var ToggleSwithWithLabel = {
|
|
|
16503
16914
|
};
|
|
16504
16915
|
|
|
16505
16916
|
// ../../uikit/domql/node_modules/@symbo.ls/icon/index.js
|
|
16506
|
-
var
|
|
16917
|
+
var Icon3 = {
|
|
16507
16918
|
extend: Svg,
|
|
16508
16919
|
props: ({ key, props: props6, parent, context }) => {
|
|
16509
16920
|
const { ICONS, useIconSprite, verbose } = context && context.designSystem;
|
|
@@ -16552,7 +16963,7 @@ var IconText2 = {
|
|
|
16552
16963
|
},
|
|
16553
16964
|
// TODO: remove this variant
|
|
16554
16965
|
icon: {
|
|
16555
|
-
extend:
|
|
16966
|
+
extend: Icon3,
|
|
16556
16967
|
if: ({ parent }) => parent.props.icon
|
|
16557
16968
|
},
|
|
16558
16969
|
Icon: {
|
|
@@ -16680,6 +17091,23 @@ var NumberInput = {
|
|
|
16680
17091
|
// ../../uikit/domql/Field/node_modules/@symbo.ls/atoms/Block.js
|
|
16681
17092
|
var import_scratch12 = __toESM(require_cjs9());
|
|
16682
17093
|
|
|
17094
|
+
// ../../uikit/domql/Field/node_modules/@symbo.ls/atoms/Flex.js
|
|
17095
|
+
var Flex2 = {
|
|
17096
|
+
props: {
|
|
17097
|
+
display: "flex"
|
|
17098
|
+
},
|
|
17099
|
+
class: {
|
|
17100
|
+
flow: ({ props: props6 }) => props6.flow && { flexFlow: props6.flow },
|
|
17101
|
+
wrap: ({ props: props6 }) => props6.wrap && { flexWrap: props6.wrap },
|
|
17102
|
+
align: ({ props: props6 }) => {
|
|
17103
|
+
if (typeof props6.align !== "string")
|
|
17104
|
+
return;
|
|
17105
|
+
const [alignItems, justifyContent] = props6.align.split(" ");
|
|
17106
|
+
return { alignItems, justifyContent };
|
|
17107
|
+
}
|
|
17108
|
+
}
|
|
17109
|
+
};
|
|
17110
|
+
|
|
16683
17111
|
// ../../uikit/domql/Field/node_modules/@symbo.ls/atoms/Grid.js
|
|
16684
17112
|
var import_scratch13 = __toESM(require_cjs9());
|
|
16685
17113
|
|
|
@@ -16780,6 +17208,63 @@ var Field = {
|
|
|
16780
17208
|
}),
|
|
16781
17209
|
input: { extend: [Focusable2, Input2] }
|
|
16782
17210
|
};
|
|
17211
|
+
var CustomizedField = {
|
|
17212
|
+
extend: Field,
|
|
17213
|
+
props: {
|
|
17214
|
+
background: "transparent",
|
|
17215
|
+
border: "1px solid #3F3F43",
|
|
17216
|
+
padding: "0",
|
|
17217
|
+
minHeight: "C+W",
|
|
17218
|
+
round: "Z",
|
|
17219
|
+
overflow: "hidden",
|
|
17220
|
+
input: {
|
|
17221
|
+
background: "transparent",
|
|
17222
|
+
placeholder: "placeholder",
|
|
17223
|
+
color: "white",
|
|
17224
|
+
fontSize: "Z",
|
|
17225
|
+
round: "0",
|
|
17226
|
+
"::placeholder": { textTransform: "capitalize" }
|
|
17227
|
+
}
|
|
17228
|
+
}
|
|
17229
|
+
};
|
|
17230
|
+
var CodeField = {
|
|
17231
|
+
extend: Flex2,
|
|
17232
|
+
childExtend: {
|
|
17233
|
+
extend: CustomizedField,
|
|
17234
|
+
props: {
|
|
17235
|
+
boxSize: "D D",
|
|
17236
|
+
input: {
|
|
17237
|
+
type: "number",
|
|
17238
|
+
placeholder: "0",
|
|
17239
|
+
textAlign: "center",
|
|
17240
|
+
fontSize: "E"
|
|
17241
|
+
},
|
|
17242
|
+
style: { "input[type=number]::-webkit-inner-spin-button": { "-webkit-appearance": " none" } }
|
|
17243
|
+
}
|
|
17244
|
+
},
|
|
17245
|
+
...[{}, {}, {}, {}],
|
|
17246
|
+
props: {
|
|
17247
|
+
align: "center flex-start",
|
|
17248
|
+
gap: "A"
|
|
17249
|
+
}
|
|
17250
|
+
};
|
|
17251
|
+
var FieldWithTitle = {
|
|
17252
|
+
extend: Flex2,
|
|
17253
|
+
title: {
|
|
17254
|
+
tag: "h6",
|
|
17255
|
+
props: { text: "Old password" }
|
|
17256
|
+
},
|
|
17257
|
+
field: { extend: CustomizedField },
|
|
17258
|
+
props: {
|
|
17259
|
+
flow: "column",
|
|
17260
|
+
gap: "Y",
|
|
17261
|
+
title: {
|
|
17262
|
+
fontSize: "Z",
|
|
17263
|
+
color: "#CFCFD1",
|
|
17264
|
+
padding: "- - - Y+W"
|
|
17265
|
+
}
|
|
17266
|
+
}
|
|
17267
|
+
};
|
|
16783
17268
|
|
|
16784
17269
|
// ../../uikit/domql/Video/index.js
|
|
16785
17270
|
var Video = {
|
|
@@ -17621,55 +18106,10 @@ var Steps = {
|
|
|
17621
18106
|
// ../../uikit/domql/Table/index.js
|
|
17622
18107
|
var Table = {};
|
|
17623
18108
|
|
|
17624
|
-
// ../../uikit/domql/InfoSet/index.js
|
|
17625
|
-
var InfoSet = {
|
|
17626
|
-
extend: Flex,
|
|
17627
|
-
childExtend: Flex,
|
|
17628
|
-
props: {
|
|
17629
|
-
flow: "column",
|
|
17630
|
-
childProps: {
|
|
17631
|
-
title: {
|
|
17632
|
-
fontSize: "Z",
|
|
17633
|
-
fontWeight: "500"
|
|
17634
|
-
},
|
|
17635
|
-
subTitle: {
|
|
17636
|
-
fontSize: "Y",
|
|
17637
|
-
color: "#A3A3A8"
|
|
17638
|
-
}
|
|
17639
|
-
}
|
|
17640
|
-
}
|
|
17641
|
-
};
|
|
17642
|
-
|
|
17643
|
-
// ../../uikit/domql/User/index.js
|
|
17644
|
-
var User = {
|
|
17645
|
-
extend: Flex,
|
|
17646
|
-
image: { extend: AvatarWithIndicator },
|
|
17647
|
-
infos: {
|
|
17648
|
-
extend: InfoSet,
|
|
17649
|
-
...[
|
|
17650
|
-
{
|
|
17651
|
-
title: { props: { text: "Erin Schleifer" } },
|
|
17652
|
-
subTitle: { caption: { props: { text: "email@symbols.com" } } }
|
|
17653
|
-
}
|
|
17654
|
-
]
|
|
17655
|
-
},
|
|
17656
|
-
props: {
|
|
17657
|
-
boxSize: "fit-content",
|
|
17658
|
-
align: "center flex-start",
|
|
17659
|
-
gap: "A",
|
|
17660
|
-
infos: {
|
|
17661
|
-
childProps: {
|
|
17662
|
-
flow: "column",
|
|
17663
|
-
subTitle: { caption: { whiteSpace: "nowrap" } }
|
|
17664
|
-
}
|
|
17665
|
-
}
|
|
17666
|
-
}
|
|
17667
|
-
};
|
|
17668
|
-
|
|
17669
18109
|
// ../../uikit/domql/Chat/index.js
|
|
17670
18110
|
var ChatUser = {
|
|
17671
|
-
extend:
|
|
17672
|
-
|
|
18111
|
+
extend: AvatarWithInfoSet,
|
|
18112
|
+
avatar: {},
|
|
17673
18113
|
infos: {
|
|
17674
18114
|
...[
|
|
17675
18115
|
{
|
|
@@ -17684,7 +18124,7 @@ var ChatUser = {
|
|
|
17684
18124
|
},
|
|
17685
18125
|
props: {
|
|
17686
18126
|
align: "flex-start flex-start",
|
|
17687
|
-
|
|
18127
|
+
avatar: { fontSize: "C" },
|
|
17688
18128
|
infos: {
|
|
17689
18129
|
gap: "Y",
|
|
17690
18130
|
childProps: {
|
|
@@ -17702,7 +18142,7 @@ var ChatUser = {
|
|
|
17702
18142
|
};
|
|
17703
18143
|
var ChatUserWithUploadedFile = {
|
|
17704
18144
|
extend: ChatUser,
|
|
17705
|
-
|
|
18145
|
+
avatar: {},
|
|
17706
18146
|
infos: {
|
|
17707
18147
|
...[
|
|
17708
18148
|
{},
|
|
@@ -17754,8 +18194,8 @@ var ChatUserWithUploadedFile = {
|
|
|
17754
18194
|
}
|
|
17755
18195
|
};
|
|
17756
18196
|
var ChatUserWithButtonSet = {
|
|
17757
|
-
extend:
|
|
17758
|
-
|
|
18197
|
+
extend: AvatarWithInfoSet,
|
|
18198
|
+
avatar: {},
|
|
17759
18199
|
infos: {
|
|
17760
18200
|
...[
|
|
17761
18201
|
{
|
|
@@ -17776,7 +18216,7 @@ var ChatUserWithButtonSet = {
|
|
|
17776
18216
|
background: "#1C1C1F",
|
|
17777
18217
|
padding: "A B",
|
|
17778
18218
|
round: "A",
|
|
17779
|
-
|
|
18219
|
+
avatar: { fontSize: `${24 / 16}em` },
|
|
17780
18220
|
infos: {
|
|
17781
18221
|
flow: "row",
|
|
17782
18222
|
gap: "D",
|
|
@@ -17805,7 +18245,7 @@ var ChatUserWithButtonSet = {
|
|
|
17805
18245
|
};
|
|
17806
18246
|
var ChatUserWithNotification = {
|
|
17807
18247
|
extend: ChatUser,
|
|
17808
|
-
|
|
18248
|
+
avatar: {},
|
|
17809
18249
|
infos: {
|
|
17810
18250
|
...[
|
|
17811
18251
|
{
|
|
@@ -17838,59 +18278,234 @@ var ChatUserWithNotification = {
|
|
|
17838
18278
|
}
|
|
17839
18279
|
};
|
|
17840
18280
|
|
|
17841
|
-
// ../../uikit/domql/
|
|
17842
|
-
var
|
|
18281
|
+
// ../../uikit/domql/IconTextWithNotification/index.js
|
|
18282
|
+
var IconTextWithNotification = {
|
|
18283
|
+
extend: Flex,
|
|
18284
|
+
iconText: {
|
|
18285
|
+
extend: IconText2,
|
|
18286
|
+
props: {
|
|
18287
|
+
icon: { name: "trash" },
|
|
18288
|
+
text: "trash"
|
|
18289
|
+
}
|
|
18290
|
+
},
|
|
18291
|
+
notification: {
|
|
18292
|
+
extend: NotificationAlert,
|
|
18293
|
+
props: { span: { text: "12" } }
|
|
18294
|
+
},
|
|
17843
18295
|
props: {
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
18296
|
+
background: "#252527",
|
|
18297
|
+
minWidth: "F+D",
|
|
18298
|
+
maxWidth: "F+D",
|
|
18299
|
+
round: "Z",
|
|
18300
|
+
align: "center space-between",
|
|
18301
|
+
padding: "Y Z",
|
|
18302
|
+
iconText: {
|
|
18303
|
+
gap: "Z",
|
|
18304
|
+
textTransform: "capitalize",
|
|
18305
|
+
icon: { fontSize: "C" }
|
|
18306
|
+
},
|
|
18307
|
+
notification: {
|
|
18308
|
+
padding: "W Y",
|
|
18309
|
+
background: "white",
|
|
18310
|
+
color: "black",
|
|
18311
|
+
round: "Z+W",
|
|
18312
|
+
span: { fontSize: "A" }
|
|
18313
|
+
}
|
|
17850
18314
|
}
|
|
17851
18315
|
};
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17856
|
-
|
|
18316
|
+
|
|
18317
|
+
// ../../uikit/domql/TextComponents/index.js
|
|
18318
|
+
var TitleParagraph = {
|
|
18319
|
+
extend: Flex,
|
|
18320
|
+
title: {
|
|
18321
|
+
tag: "h5",
|
|
18322
|
+
props: { text: "Log in to your account" }
|
|
17857
18323
|
},
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
18324
|
+
paragraph: {
|
|
18325
|
+
tag: "p",
|
|
18326
|
+
props: { text: "Enter your email address and password to log in." }
|
|
18327
|
+
},
|
|
18328
|
+
props: {
|
|
18329
|
+
flow: "column",
|
|
18330
|
+
gap: "Y",
|
|
18331
|
+
maxWidth: "fit-content",
|
|
18332
|
+
heading: { title: { fontSize: "D" } },
|
|
18333
|
+
paragraph: {
|
|
18334
|
+
fontSize: "Z",
|
|
18335
|
+
padding: "0",
|
|
18336
|
+
margin: "0",
|
|
18337
|
+
color: "#E0E0E2"
|
|
17864
18338
|
}
|
|
18339
|
+
}
|
|
18340
|
+
};
|
|
18341
|
+
var ParagraphWithUnderlineButton = {
|
|
18342
|
+
extend: Flex,
|
|
18343
|
+
p: { props: { text: "Didnt get the code?" } },
|
|
18344
|
+
underlined: {
|
|
18345
|
+
extend: Button,
|
|
18346
|
+
props: { text: "Click to reset" }
|
|
17865
18347
|
},
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
|
|
17869
|
-
|
|
17870
|
-
|
|
18348
|
+
props: {
|
|
18349
|
+
align: "center flex-start",
|
|
18350
|
+
gap: "Z",
|
|
18351
|
+
fontSize: "Z",
|
|
18352
|
+
p: { color: "#A3A3A8" },
|
|
18353
|
+
underlined: {
|
|
18354
|
+
padding: "0",
|
|
18355
|
+
background: "transparent",
|
|
18356
|
+
color: "#E0E0E2",
|
|
18357
|
+
cursor: "pointer",
|
|
18358
|
+
textDecoration: "underline",
|
|
18359
|
+
fontWeight: "500"
|
|
18360
|
+
}
|
|
18361
|
+
}
|
|
18362
|
+
};
|
|
18363
|
+
var ParagrapUnderlineLinkWithCheckbox = {
|
|
18364
|
+
extend: Flex,
|
|
18365
|
+
checkBox: { extend: Checkbox },
|
|
18366
|
+
paragraph: { extend: ParagraphWithUnderlineButton },
|
|
18367
|
+
props: {
|
|
18368
|
+
align: "center flex-start",
|
|
18369
|
+
gap: "X",
|
|
18370
|
+
checkBox: {
|
|
18371
|
+
Flex: { boxSize: "A+X" }
|
|
18372
|
+
}
|
|
18373
|
+
}
|
|
18374
|
+
};
|
|
18375
|
+
|
|
18376
|
+
// ../../uikit/domql/Modal/index.js
|
|
18377
|
+
var Modal = {
|
|
18378
|
+
extend: Flex,
|
|
18379
|
+
header: {
|
|
18380
|
+
extend: Flex,
|
|
18381
|
+
close: {
|
|
18382
|
+
extend: Button,
|
|
18383
|
+
props: { icon: "x" }
|
|
17871
18384
|
}
|
|
17872
18385
|
},
|
|
18386
|
+
content: { extend: Flex },
|
|
18387
|
+
footer: {},
|
|
17873
18388
|
props: {
|
|
17874
|
-
|
|
17875
|
-
maxWidth: "G",
|
|
18389
|
+
background: "#1C1C1F",
|
|
17876
18390
|
padding: "A",
|
|
18391
|
+
flow: "column",
|
|
17877
18392
|
round: "Z+V",
|
|
17878
|
-
|
|
17879
|
-
style: { background: "linear-gradient(to right, rgba(4, 116, 242, 1), rgba(0, 48, 103, 1))" },
|
|
17880
|
-
childProps: {
|
|
18393
|
+
header: {
|
|
17881
18394
|
alignItems: "center",
|
|
17882
|
-
title: {
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
17886
|
-
|
|
17887
|
-
|
|
17888
|
-
|
|
17889
|
-
|
|
18395
|
+
title: { fontSize: "B" },
|
|
18396
|
+
close: {
|
|
18397
|
+
margin: "- - - auto",
|
|
18398
|
+
background: "transparent",
|
|
18399
|
+
color: "white",
|
|
18400
|
+
fontSize: "D",
|
|
18401
|
+
padding: "0"
|
|
18402
|
+
}
|
|
18403
|
+
}
|
|
18404
|
+
}
|
|
18405
|
+
};
|
|
18406
|
+
var ResetCompleteModal = {
|
|
18407
|
+
extend: Modal,
|
|
18408
|
+
header: {},
|
|
18409
|
+
content: {
|
|
18410
|
+
icon: { extend: CheckMark },
|
|
18411
|
+
titleParagraph: {
|
|
18412
|
+
extend: TitleParagraph,
|
|
18413
|
+
title: { props: { text: "Reset complete!" } },
|
|
18414
|
+
paragraph: { props: { text: "Your request has been approved!" } }
|
|
18415
|
+
}
|
|
18416
|
+
},
|
|
18417
|
+
footer: {
|
|
18418
|
+
button: {
|
|
18419
|
+
extend: Button,
|
|
18420
|
+
props: { text: "Done" }
|
|
18421
|
+
}
|
|
18422
|
+
},
|
|
18423
|
+
props: {
|
|
18424
|
+
minWidth: "G+E",
|
|
18425
|
+
maxWidth: "G+E",
|
|
18426
|
+
gap: "B",
|
|
18427
|
+
content: {
|
|
18428
|
+
flow: "column",
|
|
18429
|
+
align: "center center",
|
|
18430
|
+
gap: "B",
|
|
18431
|
+
titleParagraph: {
|
|
18432
|
+
align: "center center",
|
|
18433
|
+
title: { fontSize: "B" }
|
|
17890
18434
|
}
|
|
17891
18435
|
},
|
|
17892
|
-
|
|
17893
|
-
|
|
18436
|
+
footer: {
|
|
18437
|
+
minWidth: "100%",
|
|
18438
|
+
button: {
|
|
18439
|
+
background: "#0474F2",
|
|
18440
|
+
color: "white",
|
|
18441
|
+
minWidth: "100%",
|
|
18442
|
+
padding: "A -",
|
|
18443
|
+
round: "A"
|
|
18444
|
+
}
|
|
18445
|
+
}
|
|
18446
|
+
}
|
|
18447
|
+
};
|
|
18448
|
+
var MessageModal = {
|
|
18449
|
+
extend: Modal,
|
|
18450
|
+
header: {
|
|
18451
|
+
title: {
|
|
18452
|
+
tag: "h5",
|
|
18453
|
+
props: { text: "Message" }
|
|
18454
|
+
},
|
|
18455
|
+
close: {}
|
|
18456
|
+
},
|
|
18457
|
+
content: {
|
|
18458
|
+
p: {
|
|
18459
|
+
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." }
|
|
18460
|
+
}
|
|
18461
|
+
},
|
|
18462
|
+
footer: null,
|
|
18463
|
+
props: {
|
|
18464
|
+
minWidth: "G+E",
|
|
18465
|
+
maxWidth: "G+E",
|
|
18466
|
+
content: {
|
|
18467
|
+
p: { fontSize: "Z" }
|
|
18468
|
+
}
|
|
18469
|
+
}
|
|
18470
|
+
};
|
|
18471
|
+
|
|
18472
|
+
// ../../uikit/domql/SlideTabs/index.js
|
|
18473
|
+
var SlideTabs = {
|
|
18474
|
+
extend: Flex,
|
|
18475
|
+
childExtend: Button,
|
|
18476
|
+
...[{}, {}, {}],
|
|
18477
|
+
props: {
|
|
18478
|
+
align: "center flex-start",
|
|
18479
|
+
maxWidth: "fit-contnet",
|
|
18480
|
+
gap: "Y",
|
|
18481
|
+
childProps: {
|
|
18482
|
+
padding: "0",
|
|
18483
|
+
background: "white",
|
|
18484
|
+
boxSize: "Y E+A",
|
|
18485
|
+
round: "0",
|
|
18486
|
+
":first-child": { round: "E 0 0 E" },
|
|
18487
|
+
":last-child": { round: "0 E E 0" }
|
|
18488
|
+
}
|
|
18489
|
+
}
|
|
18490
|
+
};
|
|
18491
|
+
var SlideTabsWithTitleParagraph = {
|
|
18492
|
+
extend: Flex,
|
|
18493
|
+
heading: {
|
|
18494
|
+
extend: TitleParagraph,
|
|
18495
|
+
heading: { title: { props: { text: "Symbols" } } },
|
|
18496
|
+
paragraph: { props: { text: "The easiest way to build your own website." } }
|
|
18497
|
+
},
|
|
18498
|
+
slides: { extend: SlideTabs },
|
|
18499
|
+
props: {
|
|
18500
|
+
maxWidth: "fit-contnet",
|
|
18501
|
+
flow: "column",
|
|
18502
|
+
gap: "B",
|
|
18503
|
+
padding: "B",
|
|
18504
|
+
background: "#252527",
|
|
18505
|
+
heading: {
|
|
18506
|
+
heading: { title: { fontSize: "C" } },
|
|
18507
|
+
paragraph: { fontSize: "A" }
|
|
18508
|
+
}
|
|
17894
18509
|
}
|
|
17895
18510
|
};
|
|
17896
18511
|
|
|
@@ -21856,7 +22471,13 @@ var create = async (App, options = options_default, optionsExternalFile) => {
|
|
|
21856
22471
|
window.document = {};
|
|
21857
22472
|
const doc = options.parent || options.document || document;
|
|
21858
22473
|
const [scratchSystem2, emotion4, registry] = initEmotion(key, options);
|
|
21859
|
-
|
|
22474
|
+
let state;
|
|
22475
|
+
if (options.state)
|
|
22476
|
+
state = options.state;
|
|
22477
|
+
else if (App && App.state)
|
|
22478
|
+
state = App.state;
|
|
22479
|
+
else
|
|
22480
|
+
state = {};
|
|
21860
22481
|
const pages = options.pages || {};
|
|
21861
22482
|
const components = options.components ? { ...domql_exports, ...options.components } : domql_exports;
|
|
21862
22483
|
const designSystem = scratchSystem2 || {};
|
|
@@ -21913,7 +22534,13 @@ var createSync = (App, options = options_default, optionsExternalFile) => {
|
|
|
21913
22534
|
else
|
|
21914
22535
|
parent = document.body;
|
|
21915
22536
|
const [scratchSystem2, emotion4, registry] = initEmotion(key, options);
|
|
21916
|
-
|
|
22537
|
+
let state;
|
|
22538
|
+
if (options.state)
|
|
22539
|
+
state = options.state;
|
|
22540
|
+
else if (App && App.state)
|
|
22541
|
+
state = App.state;
|
|
22542
|
+
else
|
|
22543
|
+
state = {};
|
|
21917
22544
|
const pages = options.pages || {};
|
|
21918
22545
|
const components = options.components ? { ...domql_exports, ...options.components } : domql_exports;
|
|
21919
22546
|
const designSystem = scratchSystem2 || {};
|
package/dist/cjs/index.js
CHANGED
|
@@ -60,7 +60,13 @@ const create = async (App, options = import_options.default, optionsExternalFile
|
|
|
60
60
|
window.document = {};
|
|
61
61
|
const doc = options.parent || options.document || document;
|
|
62
62
|
const [scratchSystem, emotion, registry] = (0, import_initEmotion.initEmotion)(key, options);
|
|
63
|
-
|
|
63
|
+
let state;
|
|
64
|
+
if (options.state)
|
|
65
|
+
state = options.state;
|
|
66
|
+
else if (App && App.state)
|
|
67
|
+
state = App.state;
|
|
68
|
+
else
|
|
69
|
+
state = {};
|
|
64
70
|
const pages = options.pages || {};
|
|
65
71
|
const components = options.components ? { ...uikit, ...options.components } : uikit;
|
|
66
72
|
const designSystem = scratchSystem || {};
|
|
@@ -117,7 +123,13 @@ const createSync = (App, options = import_options.default, optionsExternalFile)
|
|
|
117
123
|
else
|
|
118
124
|
parent = document.body;
|
|
119
125
|
const [scratchSystem, emotion, registry] = (0, import_initEmotion.initEmotion)(key, options);
|
|
120
|
-
|
|
126
|
+
let state;
|
|
127
|
+
if (options.state)
|
|
128
|
+
state = options.state;
|
|
129
|
+
else if (App && App.state)
|
|
130
|
+
state = App.state;
|
|
131
|
+
else
|
|
132
|
+
state = {};
|
|
121
133
|
const pages = options.pages || {};
|
|
122
134
|
const components = options.components ? { ...uikit, ...options.components } : uikit;
|
|
123
135
|
const designSystem = scratchSystem || {};
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -35,7 +35,11 @@ export const create = async (App, options = DEFAULT_CREATE_OPTIONS, optionsExter
|
|
|
35
35
|
const doc = options.parent || options.document || document
|
|
36
36
|
const [scratchSystem, emotion, registry] = initEmotion(key, options)
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
let state
|
|
39
|
+
if (options.state) state = options.state
|
|
40
|
+
else if (App && App.state) state = App.state
|
|
41
|
+
else state = {}
|
|
42
|
+
|
|
39
43
|
const pages = options.pages || {}
|
|
40
44
|
const components = options.components ? { ...uikit, ...options.components } : uikit
|
|
41
45
|
const designSystem = scratchSystem || {}
|
|
@@ -97,7 +101,11 @@ export const createSync = (App, options = DEFAULT_CREATE_OPTIONS, optionsExterna
|
|
|
97
101
|
|
|
98
102
|
const [scratchSystem, emotion, registry] = initEmotion(key, options)
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
let state
|
|
105
|
+
if (options.state) state = options.state
|
|
106
|
+
else if (App && App.state) state = App.state
|
|
107
|
+
else state = {}
|
|
108
|
+
|
|
101
109
|
const pages = options.pages || {}
|
|
102
110
|
const components = options.components ? { ...uikit, ...options.components } : uikit
|
|
103
111
|
const designSystem = scratchSystem || {}
|