@symbo.ls/create 2.11.210 → 2.11.212
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 +155 -110
- package/package.json +2 -2
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -516,7 +516,7 @@ var require_object = __commonJS({
|
|
|
516
516
|
const elementProp = element[e];
|
|
517
517
|
const extendProp = extend[e];
|
|
518
518
|
if ((0, import_types.isObjectLike)(elementProp) && (0, import_types.isObjectLike)(extendProp)) {
|
|
519
|
-
deepMerge4(elementProp, extendProp);
|
|
519
|
+
deepMerge4(elementProp, extendProp, excludeFrom);
|
|
520
520
|
} else if (elementProp === void 0) {
|
|
521
521
|
element[e] = extendProp;
|
|
522
522
|
}
|
|
@@ -606,8 +606,8 @@ var require_object = __commonJS({
|
|
|
606
606
|
const spaces = " ".repeat(indent);
|
|
607
607
|
let str = "{\n";
|
|
608
608
|
for (const [key, value2] of Object.entries(obj)) {
|
|
609
|
-
const
|
|
610
|
-
const stringedKey =
|
|
609
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["-", ":", "@", ".", "/", "!"]);
|
|
610
|
+
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
611
611
|
str += `${spaces} ${stringedKey}: `;
|
|
612
612
|
if ((0, import_types.isArray)(value2)) {
|
|
613
613
|
str += "[\n";
|
|
@@ -662,7 +662,7 @@ var require_object = __commonJS({
|
|
|
662
662
|
}
|
|
663
663
|
return detached;
|
|
664
664
|
};
|
|
665
|
-
var deepDestringify = (obj,
|
|
665
|
+
var deepDestringify = (obj, destringified = {}) => {
|
|
666
666
|
for (const prop in obj) {
|
|
667
667
|
const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj, prop);
|
|
668
668
|
if (!hasOwnProperty)
|
|
@@ -672,52 +672,50 @@ var require_object = __commonJS({
|
|
|
672
672
|
if (objProp.includes("=>") || objProp.includes("function") || objProp.startsWith("(")) {
|
|
673
673
|
try {
|
|
674
674
|
const evalProp = import_globals2.window.eval(`(${objProp})`);
|
|
675
|
-
|
|
675
|
+
destringified[prop] = evalProp;
|
|
676
676
|
} catch (e) {
|
|
677
677
|
if (e)
|
|
678
|
-
|
|
678
|
+
destringified[prop] = objProp;
|
|
679
679
|
}
|
|
680
680
|
} else {
|
|
681
|
-
|
|
681
|
+
destringified[prop] = objProp;
|
|
682
682
|
}
|
|
683
683
|
} else if ((0, import_types.isArray)(objProp)) {
|
|
684
|
-
|
|
684
|
+
destringified[prop] = [];
|
|
685
685
|
objProp.forEach((arrProp) => {
|
|
686
686
|
if ((0, import_types.isString)(arrProp)) {
|
|
687
687
|
if (arrProp.includes("=>") || arrProp.includes("function") || arrProp.startsWith("(")) {
|
|
688
688
|
try {
|
|
689
689
|
const evalProp = import_globals2.window.eval(`(${arrProp})`);
|
|
690
|
-
|
|
690
|
+
destringified[prop].push(evalProp);
|
|
691
691
|
} catch (e) {
|
|
692
692
|
if (e)
|
|
693
|
-
|
|
693
|
+
destringified[prop].push(arrProp);
|
|
694
694
|
}
|
|
695
695
|
} else {
|
|
696
|
-
|
|
696
|
+
destringified[prop].push(arrProp);
|
|
697
697
|
}
|
|
698
698
|
} else if ((0, import_types.isObject)(arrProp)) {
|
|
699
|
-
|
|
699
|
+
destringified[prop].push(deepDestringify(arrProp));
|
|
700
700
|
} else {
|
|
701
|
-
|
|
701
|
+
destringified[prop].push(arrProp);
|
|
702
702
|
}
|
|
703
703
|
});
|
|
704
704
|
} else if ((0, import_types.isObject)(objProp)) {
|
|
705
|
-
|
|
705
|
+
destringified[prop] = deepDestringify(objProp, destringified[prop]);
|
|
706
706
|
} else {
|
|
707
|
-
|
|
707
|
+
destringified[prop] = objProp;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
return
|
|
710
|
+
return destringified;
|
|
711
711
|
};
|
|
712
|
-
var stringToObject = (str) => {
|
|
713
|
-
let obj;
|
|
712
|
+
var stringToObject = (str, verbose) => {
|
|
714
713
|
try {
|
|
715
|
-
|
|
714
|
+
return import_globals2.window.eval("(" + str + ")");
|
|
716
715
|
} catch (e) {
|
|
717
|
-
|
|
716
|
+
if (verbose)
|
|
717
|
+
console.warn(e);
|
|
718
718
|
}
|
|
719
|
-
if (obj)
|
|
720
|
-
return obj;
|
|
721
719
|
};
|
|
722
720
|
var diffObjects = (original, objToDiff, cache2) => {
|
|
723
721
|
for (const e in objToDiff) {
|
|
@@ -905,11 +903,29 @@ var require_function = __commonJS({
|
|
|
905
903
|
var function_exports = {};
|
|
906
904
|
__export2(function_exports, {
|
|
907
905
|
debounce: () => debounce,
|
|
906
|
+
debounceOnContext: () => debounceOnContext,
|
|
908
907
|
isStringFunction: () => isStringFunction,
|
|
909
908
|
memoize: () => memoize2
|
|
910
909
|
});
|
|
911
910
|
module2.exports = __toCommonJS2(function_exports);
|
|
912
|
-
|
|
911
|
+
function debounce(func, wait, immediate) {
|
|
912
|
+
let timeout;
|
|
913
|
+
return function() {
|
|
914
|
+
const context = this;
|
|
915
|
+
const args = arguments;
|
|
916
|
+
const later = function() {
|
|
917
|
+
timeout = null;
|
|
918
|
+
if (!immediate)
|
|
919
|
+
func.apply(context, args);
|
|
920
|
+
};
|
|
921
|
+
const callNow = immediate && !timeout;
|
|
922
|
+
clearTimeout(timeout);
|
|
923
|
+
timeout = setTimeout(later, wait);
|
|
924
|
+
if (callNow)
|
|
925
|
+
func.apply(context, args);
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
var debounceOnContext = (element, func, timeout = 300) => {
|
|
913
929
|
let timer;
|
|
914
930
|
return (...args) => {
|
|
915
931
|
clearTimeout(timer);
|
|
@@ -1974,7 +1990,7 @@ var require_set = __commonJS({
|
|
|
1974
1990
|
const __contentRef = element.content && element.content.__ref;
|
|
1975
1991
|
if (__contentRef && __contentRef.__cached && (0, import_utils23.deepContains)(params, element.content)) {
|
|
1976
1992
|
console.log("is content equal");
|
|
1977
|
-
return element;
|
|
1993
|
+
return element.content.update();
|
|
1978
1994
|
}
|
|
1979
1995
|
(0, import_content.removeContent)(element);
|
|
1980
1996
|
if (params) {
|
|
@@ -2224,7 +2240,7 @@ var require_text = __commonJS({
|
|
|
2224
2240
|
default: () => text_default
|
|
2225
2241
|
});
|
|
2226
2242
|
module2.exports = __toCommonJS2(text_exports);
|
|
2227
|
-
var
|
|
2243
|
+
var import__2 = require_cjs9();
|
|
2228
2244
|
var import_utils23 = require_cjs();
|
|
2229
2245
|
var asd = (param, element, node2) => {
|
|
2230
2246
|
const prop = (0, import_utils23.exec)(param, element);
|
|
@@ -2237,7 +2253,7 @@ var require_text = __commonJS({
|
|
|
2237
2253
|
if (element.__text.node)
|
|
2238
2254
|
element.__text.node.nodeValue = prop;
|
|
2239
2255
|
else
|
|
2240
|
-
(0,
|
|
2256
|
+
(0, import__2.create)({ tag: "string", text: prop }, element, "__text");
|
|
2241
2257
|
}
|
|
2242
2258
|
};
|
|
2243
2259
|
var text_default = (param, element, node2) => {
|
|
@@ -2257,7 +2273,7 @@ var require_text = __commonJS({
|
|
|
2257
2273
|
if (element.__text.node)
|
|
2258
2274
|
element.__text.node.nodeValue = prop;
|
|
2259
2275
|
} else
|
|
2260
|
-
(0,
|
|
2276
|
+
(0, import__2.create)({ tag: "string", text: prop }, element, "__text");
|
|
2261
2277
|
}
|
|
2262
2278
|
};
|
|
2263
2279
|
}
|
|
@@ -2532,12 +2548,12 @@ var require_inherit = __commonJS({
|
|
|
2532
2548
|
var createInheritedState = (element, parent) => {
|
|
2533
2549
|
const ref = element.__ref;
|
|
2534
2550
|
const inheritedState = findInheritedState(element, parent);
|
|
2535
|
-
if (
|
|
2551
|
+
if ((0, import_utils23.isUndefined)(inheritedState))
|
|
2536
2552
|
return element.state;
|
|
2537
2553
|
if ((0, import_utils23.is)(inheritedState)("object", "array")) {
|
|
2538
2554
|
return (0, import_utils23.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
|
|
2539
|
-
} else if ((0, import_utils23.is)(inheritedState)("string", "number")) {
|
|
2540
|
-
ref.__stateType =
|
|
2555
|
+
} else if ((0, import_utils23.is)(inheritedState)("string", "number", "boolean")) {
|
|
2556
|
+
ref.__stateType = typeof inheritedState;
|
|
2541
2557
|
return { value: inheritedState };
|
|
2542
2558
|
}
|
|
2543
2559
|
console.warn(ref.__state, "is not present. Replacing with", {});
|
|
@@ -2545,9 +2561,9 @@ var require_inherit = __commonJS({
|
|
|
2545
2561
|
var checkIfInherits = (element) => {
|
|
2546
2562
|
const ref = element.__ref;
|
|
2547
2563
|
const stateKey = ref.__state;
|
|
2548
|
-
if (
|
|
2549
|
-
return
|
|
2550
|
-
return
|
|
2564
|
+
if (stateKey && (0, import_utils23.is)(stateKey)("number", "string", "boolean"))
|
|
2565
|
+
return true;
|
|
2566
|
+
return false;
|
|
2551
2567
|
};
|
|
2552
2568
|
var isState2 = function(state) {
|
|
2553
2569
|
if (!(0, import_utils23.isObjectLike)(state))
|
|
@@ -2653,6 +2669,7 @@ var require_updateState = __commonJS({
|
|
|
2653
2669
|
const element = state.__element;
|
|
2654
2670
|
const { parent, __ref: ref } = element;
|
|
2655
2671
|
const stateKey = ref.__state;
|
|
2672
|
+
const stateType = ref.__stateType;
|
|
2656
2673
|
if (!stateKey)
|
|
2657
2674
|
return;
|
|
2658
2675
|
const asksForInherit = (0, import_inherit.checkIfInherits)(element);
|
|
@@ -2660,7 +2677,7 @@ var require_updateState = __commonJS({
|
|
|
2660
2677
|
const shouldPropagateState = asksForInherit && inheritedState && !options.stopStatePropagation;
|
|
2661
2678
|
if (!shouldPropagateState)
|
|
2662
2679
|
return;
|
|
2663
|
-
const isStringState =
|
|
2680
|
+
const isStringState = stateType === "string" || stateType === "number" || stateType === "boolean";
|
|
2664
2681
|
const value2 = isStringState ? state.value : state.parse();
|
|
2665
2682
|
const passedValue = isStringState ? state.value : obj;
|
|
2666
2683
|
const findGrandParentState = (0, import_inherit.getParentStateInKey)(stateKey, parent.state);
|
|
@@ -2757,7 +2774,7 @@ var require_create2 = __commonJS({
|
|
|
2757
2774
|
return element.state;
|
|
2758
2775
|
if ((0, import_inherit.checkIfInherits)(element)) {
|
|
2759
2776
|
const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
|
|
2760
|
-
element.state = inheritedState
|
|
2777
|
+
element.state = (0, import_utils23.isUndefined)(inheritedState) ? {} : inheritedState;
|
|
2761
2778
|
}
|
|
2762
2779
|
const dependentState = applyDependentState(element, element.state);
|
|
2763
2780
|
if (dependentState)
|
|
@@ -2940,16 +2957,16 @@ var require_registry = __commonJS({
|
|
|
2940
2957
|
parseFilters: () => parseFilters
|
|
2941
2958
|
});
|
|
2942
2959
|
module2.exports = __toCommonJS2(registry_exports);
|
|
2943
|
-
var
|
|
2960
|
+
var import__2 = require_mixins();
|
|
2944
2961
|
var registry_default = {
|
|
2945
|
-
attr:
|
|
2946
|
-
style:
|
|
2947
|
-
text:
|
|
2948
|
-
html:
|
|
2949
|
-
content:
|
|
2950
|
-
data:
|
|
2951
|
-
class:
|
|
2952
|
-
state:
|
|
2962
|
+
attr: import__2.attr,
|
|
2963
|
+
style: import__2.style,
|
|
2964
|
+
text: import__2.text,
|
|
2965
|
+
html: import__2.html,
|
|
2966
|
+
content: import__2.content,
|
|
2967
|
+
data: import__2.data,
|
|
2968
|
+
class: import__2.classList,
|
|
2969
|
+
state: import__2.state,
|
|
2953
2970
|
deps: (param, el) => param || el.parent.deps,
|
|
2954
2971
|
extend: {},
|
|
2955
2972
|
childExtend: {},
|
|
@@ -3780,8 +3797,6 @@ var require_extendUtils = __commonJS({
|
|
|
3780
3797
|
var fallbackStringExtend = (extend, context, options) => {
|
|
3781
3798
|
const COMPONENTS = context && context.components || options.components;
|
|
3782
3799
|
if ((0, import_utils23.isString)(extend)) {
|
|
3783
|
-
console.log("extend", extend);
|
|
3784
|
-
console.log(COMPONENTS[extend]);
|
|
3785
3800
|
if (COMPONENTS && COMPONENTS[extend]) {
|
|
3786
3801
|
return COMPONENTS[extend];
|
|
3787
3802
|
} else {
|
|
@@ -6012,26 +6027,26 @@ var require_set2 = __commonJS({
|
|
|
6012
6027
|
var import_utils23 = require_cjs();
|
|
6013
6028
|
var import_set = __toESM2(require_set(), 1);
|
|
6014
6029
|
var import_update = __toESM2(require_update2(), 1);
|
|
6015
|
-
var
|
|
6030
|
+
var import__2 = require_methods2();
|
|
6016
6031
|
var import_content = require_content();
|
|
6017
6032
|
var addMethods = (element, parent) => {
|
|
6018
6033
|
const proto = {
|
|
6019
6034
|
set: import_set.default.bind(element),
|
|
6020
6035
|
update: import_update.default.bind(element),
|
|
6021
|
-
remove:
|
|
6036
|
+
remove: import__2.remove.bind(element),
|
|
6022
6037
|
updateContent: import_content.updateContent.bind(element),
|
|
6023
6038
|
removeContent: import_content.removeContent.bind(element),
|
|
6024
|
-
setProps:
|
|
6025
|
-
lookup:
|
|
6026
|
-
spotByPath:
|
|
6027
|
-
parse:
|
|
6028
|
-
parseDeep:
|
|
6029
|
-
keys:
|
|
6030
|
-
nextElement:
|
|
6031
|
-
previousElement:
|
|
6039
|
+
setProps: import__2.setProps.bind(element),
|
|
6040
|
+
lookup: import__2.lookup.bind(element),
|
|
6041
|
+
spotByPath: import__2.spotByPath.bind(element),
|
|
6042
|
+
parse: import__2.parse.bind(element),
|
|
6043
|
+
parseDeep: import__2.parseDeep.bind(element),
|
|
6044
|
+
keys: import__2.keys.bind(element),
|
|
6045
|
+
nextElement: import__2.nextElement.bind(element),
|
|
6046
|
+
previousElement: import__2.previousElement.bind(element)
|
|
6032
6047
|
};
|
|
6033
6048
|
if ((0, import_utils23.isDevelopment)())
|
|
6034
|
-
proto.log =
|
|
6049
|
+
proto.log = import__2.log.bind(element);
|
|
6035
6050
|
Object.setPrototypeOf(element, proto);
|
|
6036
6051
|
};
|
|
6037
6052
|
}
|
|
@@ -6102,7 +6117,9 @@ var require_create4 = __commonJS({
|
|
|
6102
6117
|
ref.__initialProps = (0, import_utils23.deepClone)(element.props, []);
|
|
6103
6118
|
applyContext(element, parent, options);
|
|
6104
6119
|
(0, import_component.applyComponentFromContext)(element, parent, options);
|
|
6105
|
-
(
|
|
6120
|
+
if (!ref.__skipCreate) {
|
|
6121
|
+
(0, import_extend.applyExtend)(element, parent, options);
|
|
6122
|
+
}
|
|
6106
6123
|
element.key = key;
|
|
6107
6124
|
if (options.onlyResolveExtends) {
|
|
6108
6125
|
return onlyResolveExtends(element, parent, key, options);
|
|
@@ -6268,46 +6285,43 @@ var require_create4 = __commonJS({
|
|
|
6268
6285
|
}
|
|
6269
6286
|
};
|
|
6270
6287
|
var onlyResolveExtends = (element, parent, key, options) => {
|
|
6271
|
-
const { __ref } = element;
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
if (!
|
|
6277
|
-
|
|
6278
|
-
if (!
|
|
6279
|
-
|
|
6280
|
-
if (!
|
|
6281
|
-
|
|
6282
|
-
if (!
|
|
6283
|
-
|
|
6284
|
-
if (!
|
|
6285
|
-
|
|
6286
|
-
if (!
|
|
6287
|
-
|
|
6288
|
-
if (!
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
if (!ifPassed) {
|
|
6299
|
-
delete ref.__if;
|
|
6288
|
+
const { __ref: ref } = element;
|
|
6289
|
+
if (!ref.__skipCreate) {
|
|
6290
|
+
element.tag = (0, import_render.detectTag)(element);
|
|
6291
|
+
if (!ref.__cached)
|
|
6292
|
+
ref.__cached = {};
|
|
6293
|
+
if (!ref.__defineCache)
|
|
6294
|
+
ref.__defineCache = {};
|
|
6295
|
+
if (!ref.__exec)
|
|
6296
|
+
ref.__exec = {};
|
|
6297
|
+
if (!ref.__class)
|
|
6298
|
+
ref.__class = {};
|
|
6299
|
+
if (!ref.__classNames)
|
|
6300
|
+
ref.__classNames = {};
|
|
6301
|
+
if (!ref.__attr)
|
|
6302
|
+
ref.__attr = {};
|
|
6303
|
+
if (!ref.__changes)
|
|
6304
|
+
ref.__changes = [];
|
|
6305
|
+
if (!ref.__children)
|
|
6306
|
+
ref.__children = [];
|
|
6307
|
+
(0, import_set.addMethods)(element, parent);
|
|
6308
|
+
(0, import_state2.createState)(element, parent);
|
|
6309
|
+
if ((0, import_utils23.isFunction)(element.if)) {
|
|
6310
|
+
const ifPassed = element.if(element, element.state);
|
|
6311
|
+
if (!ifPassed) {
|
|
6312
|
+
delete ref.__if;
|
|
6313
|
+
} else
|
|
6314
|
+
ref.__if = true;
|
|
6300
6315
|
} else
|
|
6301
6316
|
ref.__if = true;
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6317
|
+
if (element.node && ref.__if) {
|
|
6318
|
+
parent[key || element.key] = element;
|
|
6319
|
+
}
|
|
6320
|
+
(0, import_props.createProps)(element, parent);
|
|
6321
|
+
if (!element.props)
|
|
6322
|
+
element.props = {};
|
|
6323
|
+
(0, import_component.applyVariant)(element, parent);
|
|
6306
6324
|
}
|
|
6307
|
-
(0, import_props.createProps)(element, parent);
|
|
6308
|
-
if (!element.props)
|
|
6309
|
-
element.props = {};
|
|
6310
|
-
(0, import_component.applyVariant)(element, parent);
|
|
6311
6325
|
if (element.tag !== "string" && element.tag !== "fragment") {
|
|
6312
6326
|
(0, import_iterate.throughInitialDefine)(element);
|
|
6313
6327
|
(0, import_iterate.throughInitialExec)(element);
|
|
@@ -6317,7 +6331,7 @@ var require_create4 = __commonJS({
|
|
|
6317
6331
|
const hasDefine = element.define && element.define[k];
|
|
6318
6332
|
const contextHasDefine = element.context && element.context.define && element.context.define[k];
|
|
6319
6333
|
const optionsHasDefine = options.define && options.define[k];
|
|
6320
|
-
if (import_mixins.registry[k] && !optionsHasDefine) {
|
|
6334
|
+
if (!ref.__skipCreate && import_mixins.registry[k] && !optionsHasDefine) {
|
|
6321
6335
|
continue;
|
|
6322
6336
|
} else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
|
|
6323
6337
|
create2((0, import_utils23.exec)(element[k], element), element, k, options);
|
|
@@ -15243,16 +15257,16 @@ var VerificationCode = {
|
|
|
15243
15257
|
value: state.value[parent.key] || ""
|
|
15244
15258
|
}),
|
|
15245
15259
|
on: {
|
|
15246
|
-
keydown: (event,
|
|
15247
|
-
const { value: value2 } =
|
|
15260
|
+
keydown: (event, { node: node2 }) => {
|
|
15261
|
+
const { value: value2 } = node2;
|
|
15248
15262
|
if (value2.length > 1)
|
|
15249
15263
|
return false;
|
|
15250
15264
|
},
|
|
15251
|
-
keyup: (event,
|
|
15265
|
+
keyup: (event, { parent, state }) => {
|
|
15252
15266
|
const { target, keyCode } = event;
|
|
15253
15267
|
const { value: value2 } = target;
|
|
15254
|
-
const next2 =
|
|
15255
|
-
const previous =
|
|
15268
|
+
const next2 = parent.nextElement();
|
|
15269
|
+
const previous = parent.previousElement();
|
|
15256
15270
|
const isNumber = keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105;
|
|
15257
15271
|
const isBackspace = event.keyCode === 8 || event.keyCode === 46;
|
|
15258
15272
|
target.select();
|
|
@@ -15260,9 +15274,9 @@ var VerificationCode = {
|
|
|
15260
15274
|
next2.NumberInput.node.focus();
|
|
15261
15275
|
if ((!value2.length || isBackspace) && previous)
|
|
15262
15276
|
previous.NumberInput.node.focus();
|
|
15263
|
-
state.value[
|
|
15277
|
+
state.value[parent.key] = value2;
|
|
15264
15278
|
},
|
|
15265
|
-
paste: (event,
|
|
15279
|
+
paste: (event, { state }) => {
|
|
15266
15280
|
event.preventDefault();
|
|
15267
15281
|
const paste = (event.clipboardData || window.clipboardData).getData("text");
|
|
15268
15282
|
if (!paste)
|
|
@@ -15485,12 +15499,16 @@ var GroupListTemplate = {
|
|
|
15485
15499
|
extend: GroupList,
|
|
15486
15500
|
Header: {},
|
|
15487
15501
|
Groups: {
|
|
15502
|
+
props: {},
|
|
15488
15503
|
Flex: {
|
|
15504
|
+
props: {},
|
|
15489
15505
|
...[
|
|
15490
15506
|
{
|
|
15491
15507
|
Title: null,
|
|
15492
15508
|
List: {
|
|
15509
|
+
props: {},
|
|
15493
15510
|
Flex: {
|
|
15511
|
+
props: {},
|
|
15494
15512
|
...[
|
|
15495
15513
|
{ span: { text: "Item" } },
|
|
15496
15514
|
{ span: { text: "Item" } }
|
|
@@ -15501,7 +15519,9 @@ var GroupListTemplate = {
|
|
|
15501
15519
|
{
|
|
15502
15520
|
Title: {},
|
|
15503
15521
|
List: {
|
|
15522
|
+
props: {},
|
|
15504
15523
|
Flex: {
|
|
15524
|
+
props: {},
|
|
15505
15525
|
...[
|
|
15506
15526
|
{ span: { text: "Item" } },
|
|
15507
15527
|
{ span: { text: "Item" } },
|
|
@@ -15513,7 +15533,9 @@ var GroupListTemplate = {
|
|
|
15513
15533
|
{
|
|
15514
15534
|
Title: {},
|
|
15515
15535
|
List: {
|
|
15536
|
+
props: {},
|
|
15516
15537
|
Flex: {
|
|
15538
|
+
props: {},
|
|
15517
15539
|
...[
|
|
15518
15540
|
{ span: { text: "Item" } },
|
|
15519
15541
|
{ span: { text: "Item" } },
|
|
@@ -15711,8 +15733,9 @@ var TimeSwitcher = {
|
|
|
15711
15733
|
".active": { theme: "primary" }
|
|
15712
15734
|
}),
|
|
15713
15735
|
on: {
|
|
15714
|
-
click: (event,
|
|
15715
|
-
|
|
15736
|
+
click: (event, { key, state }) => {
|
|
15737
|
+
console.log(event, key, state);
|
|
15738
|
+
state.update({ activeShift: key });
|
|
15716
15739
|
}
|
|
15717
15740
|
}
|
|
15718
15741
|
},
|
|
@@ -16984,7 +17007,7 @@ var ConvertCard = {
|
|
|
16984
17007
|
}
|
|
16985
17008
|
};
|
|
16986
17009
|
|
|
16987
|
-
// ../../uikit/domql/
|
|
17010
|
+
// ../../uikit/domql/Card/CurrencyConvertCard.js
|
|
16988
17011
|
var CurrencyConvert = {
|
|
16989
17012
|
extend: Modal,
|
|
16990
17013
|
props: {
|
|
@@ -17024,10 +17047,32 @@ var CurrencyConvert = {
|
|
|
17024
17047
|
margin: "- -X2 -X2"
|
|
17025
17048
|
},
|
|
17026
17049
|
CommonButton: {
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17050
|
+
extend: {
|
|
17051
|
+
extend: "Button",
|
|
17052
|
+
props: {
|
|
17053
|
+
theme: "primary",
|
|
17054
|
+
boxSize: "fit-content",
|
|
17055
|
+
padding: "A A2",
|
|
17056
|
+
round: "Z2",
|
|
17057
|
+
gap: "Y2",
|
|
17058
|
+
position: "relative"
|
|
17059
|
+
},
|
|
17060
|
+
Icon: {
|
|
17061
|
+
props: { fontSize: "C" }
|
|
17062
|
+
},
|
|
17063
|
+
Caption: {
|
|
17064
|
+
props: {
|
|
17065
|
+
text: "Button",
|
|
17066
|
+
line_height: "1em"
|
|
17067
|
+
}
|
|
17068
|
+
}
|
|
17069
|
+
},
|
|
17070
|
+
props: {
|
|
17071
|
+
flex: "1",
|
|
17072
|
+
padding: "Z1 -",
|
|
17073
|
+
round: "Z",
|
|
17074
|
+
Caption: { text: "Convert", fontWeight: "500" }
|
|
17075
|
+
}
|
|
17031
17076
|
}
|
|
17032
17077
|
}
|
|
17033
17078
|
};
|
package/package.json
CHANGED