@symbo.ls/uikit 2.11.212 → 2.11.215
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 +245 -188
- package/dist/index.cjs.js.map +4 -4
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -99,7 +99,7 @@ var require_cjs = __commonJS({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
var require_key2 = __commonJS2({
|
|
102
|
-
"
|
|
102
|
+
"../../node_modules/@domql/utils/dist/cjs/key.js"(exports2, module22) {
|
|
103
103
|
"use strict";
|
|
104
104
|
var __defProp22 = Object.defineProperty;
|
|
105
105
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -136,7 +136,7 @@ var require_cjs = __commonJS({
|
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
var require_env2 = __commonJS2({
|
|
139
|
-
"
|
|
139
|
+
"../../node_modules/@domql/utils/dist/cjs/env.js"(exports2, module22) {
|
|
140
140
|
"use strict";
|
|
141
141
|
var __defProp22 = Object.defineProperty;
|
|
142
142
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -172,7 +172,7 @@ var require_cjs = __commonJS({
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
var require_globals2 = __commonJS2({
|
|
175
|
-
"
|
|
175
|
+
"../../node_modules/@domql/utils/dist/cjs/globals.js"(exports2, module22) {
|
|
176
176
|
"use strict";
|
|
177
177
|
var __defProp22 = Object.defineProperty;
|
|
178
178
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -206,7 +206,7 @@ var require_cjs = __commonJS({
|
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
var require_node2 = __commonJS2({
|
|
209
|
-
"
|
|
209
|
+
"../../node_modules/@domql/utils/dist/cjs/node.js"(exports2, module22) {
|
|
210
210
|
"use strict";
|
|
211
211
|
var __defProp22 = Object.defineProperty;
|
|
212
212
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -241,7 +241,7 @@ var require_cjs = __commonJS({
|
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
243
|
var require_types2 = __commonJS2({
|
|
244
|
-
"
|
|
244
|
+
"../../node_modules/@domql/utils/dist/cjs/types.js"(exports2, module22) {
|
|
245
245
|
"use strict";
|
|
246
246
|
var __defProp22 = Object.defineProperty;
|
|
247
247
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -326,7 +326,7 @@ var require_cjs = __commonJS({
|
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
328
|
var require_array2 = __commonJS2({
|
|
329
|
-
"
|
|
329
|
+
"../../node_modules/@domql/utils/dist/cjs/array.js"(exports2, module22) {
|
|
330
330
|
"use strict";
|
|
331
331
|
var __defProp22 = Object.defineProperty;
|
|
332
332
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -423,7 +423,7 @@ var require_cjs = __commonJS({
|
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
425
|
var require_string2 = __commonJS2({
|
|
426
|
-
"
|
|
426
|
+
"../../node_modules/@domql/utils/dist/cjs/string.js"(exports2, module22) {
|
|
427
427
|
"use strict";
|
|
428
428
|
var __defProp22 = Object.defineProperty;
|
|
429
429
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -481,7 +481,7 @@ var require_cjs = __commonJS({
|
|
|
481
481
|
}
|
|
482
482
|
});
|
|
483
483
|
var require_object2 = __commonJS2({
|
|
484
|
-
"
|
|
484
|
+
"../../node_modules/@domql/utils/dist/cjs/object.js"(exports2, module22) {
|
|
485
485
|
"use strict";
|
|
486
486
|
var __defProp22 = Object.defineProperty;
|
|
487
487
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -931,7 +931,7 @@ var require_cjs = __commonJS({
|
|
|
931
931
|
}
|
|
932
932
|
});
|
|
933
933
|
var require_function2 = __commonJS2({
|
|
934
|
-
"
|
|
934
|
+
"../../node_modules/@domql/utils/dist/cjs/function.js"(exports2, module22) {
|
|
935
935
|
"use strict";
|
|
936
936
|
var __defProp22 = Object.defineProperty;
|
|
937
937
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -1004,7 +1004,7 @@ var require_cjs = __commonJS({
|
|
|
1004
1004
|
}
|
|
1005
1005
|
});
|
|
1006
1006
|
var require_log2 = __commonJS2({
|
|
1007
|
-
"
|
|
1007
|
+
"../../node_modules/@domql/utils/dist/cjs/log.js"(exports2, module22) {
|
|
1008
1008
|
"use strict";
|
|
1009
1009
|
var __defProp22 = Object.defineProperty;
|
|
1010
1010
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -1043,7 +1043,7 @@ var require_cjs = __commonJS({
|
|
|
1043
1043
|
}
|
|
1044
1044
|
});
|
|
1045
1045
|
var require_cookie2 = __commonJS2({
|
|
1046
|
-
"
|
|
1046
|
+
"../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports2, module22) {
|
|
1047
1047
|
"use strict";
|
|
1048
1048
|
var __defProp22 = Object.defineProperty;
|
|
1049
1049
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -1097,7 +1097,7 @@ var require_cjs = __commonJS({
|
|
|
1097
1097
|
}
|
|
1098
1098
|
});
|
|
1099
1099
|
var require_tags2 = __commonJS2({
|
|
1100
|
-
"
|
|
1100
|
+
"../../node_modules/@domql/utils/dist/cjs/tags.js"(exports2, module22) {
|
|
1101
1101
|
"use strict";
|
|
1102
1102
|
var __defProp22 = Object.defineProperty;
|
|
1103
1103
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -1260,7 +1260,7 @@ var require_cjs = __commonJS({
|
|
|
1260
1260
|
}
|
|
1261
1261
|
});
|
|
1262
1262
|
var require_cjs22 = __commonJS2({
|
|
1263
|
-
"
|
|
1263
|
+
"../../node_modules/@domql/utils/dist/cjs/index.js"(exports2, module22) {
|
|
1264
1264
|
"use strict";
|
|
1265
1265
|
var __defProp22 = Object.defineProperty;
|
|
1266
1266
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -1442,7 +1442,7 @@ var require_cjs = __commonJS({
|
|
|
1442
1442
|
setVariables: () => setVariables
|
|
1443
1443
|
});
|
|
1444
1444
|
var import_globals = __toESM2(require_cjs7(), 1);
|
|
1445
|
-
var
|
|
1445
|
+
var import_utils14 = __toESM2(require_cjs22(), 1);
|
|
1446
1446
|
var ENV = "development";
|
|
1447
1447
|
var colorStringToRgbaArray = (color) => {
|
|
1448
1448
|
if (color === "")
|
|
@@ -1570,9 +1570,9 @@ var require_cjs = __commonJS({
|
|
|
1570
1570
|
return `rgba(${arr})`;
|
|
1571
1571
|
};
|
|
1572
1572
|
var getRgbTone = (rgb, tone) => {
|
|
1573
|
-
if ((0,
|
|
1573
|
+
if ((0, import_utils14.isString)(rgb))
|
|
1574
1574
|
rgb = rgb.split(", ").map((v) => parseFloat(v));
|
|
1575
|
-
if ((0,
|
|
1575
|
+
if ((0, import_utils14.isNumber)(tone))
|
|
1576
1576
|
tone += "";
|
|
1577
1577
|
const toHex = rgbArrayToHex(rgb);
|
|
1578
1578
|
const abs2 = tone.slice(0, 1);
|
|
@@ -1963,19 +1963,21 @@ var require_cjs = __commonJS({
|
|
|
1963
1963
|
const isNegative = letterVal.slice(0, 1) === "-" ? "-" : "";
|
|
1964
1964
|
let absValue = isNegative ? letterVal.slice(1) : letterVal;
|
|
1965
1965
|
let mediaName = "";
|
|
1966
|
-
if (absValue.includes("
|
|
1967
|
-
mediaName = "
|
|
1968
|
-
absValue = absValue.split("
|
|
1966
|
+
if (absValue.includes("_")) {
|
|
1967
|
+
mediaName = "_" + absValue.split("_")[1].toLowerCase();
|
|
1968
|
+
absValue = absValue.split("_")[0];
|
|
1969
1969
|
}
|
|
1970
|
-
const varValue = (v) => `var(${prefix2}${v}${mediaName})
|
|
1970
|
+
const varValue = (v) => startsWithDashOrLetterRegex.test(v) ? `var(${prefix2}${v}${mediaName})` : v;
|
|
1971
1971
|
if (absValue.includes("+")) {
|
|
1972
|
-
const
|
|
1973
|
-
const [first, second] = args;
|
|
1972
|
+
const [first, second] = absValue.split("+");
|
|
1974
1973
|
const joint = `${varValue(first)} + ${varValue(second)}`;
|
|
1975
1974
|
return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
|
|
1975
|
+
} else if (absValue.includes("*")) {
|
|
1976
|
+
const [first, second] = absValue.split("*");
|
|
1977
|
+
const joint = `${varValue(first)} * ${varValue(second)}`;
|
|
1978
|
+
return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
|
|
1976
1979
|
} else if (absValue.includes("-")) {
|
|
1977
|
-
const
|
|
1978
|
-
const [first, second] = args;
|
|
1980
|
+
const [first, second] = absValue.split("-");
|
|
1979
1981
|
const joint = `${varValue(first)} - ${varValue(second)}`;
|
|
1980
1982
|
return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
|
|
1981
1983
|
}
|
|
@@ -2039,14 +2041,14 @@ var require_cjs = __commonJS({
|
|
|
2039
2041
|
let underMediaQuery = CSS_VARS2[`@media ${query}`];
|
|
2040
2042
|
if (!underMediaQuery)
|
|
2041
2043
|
underMediaQuery = CSS_VARS2[`@media ${query}`] = {};
|
|
2042
|
-
underMediaQuery[item.variable] = `var(${item.variable + "
|
|
2043
|
-
CSS_VARS2[item.variable + "
|
|
2044
|
+
underMediaQuery[item.variable] = `var(${item.variable + "_" + mediaName})`;
|
|
2045
|
+
CSS_VARS2[item.variable + "_" + mediaName] = value;
|
|
2044
2046
|
} else {
|
|
2045
2047
|
if (options.useDefault === false) {
|
|
2046
2048
|
CSS_VARS2[item.variable] = value;
|
|
2047
2049
|
} else {
|
|
2048
|
-
CSS_VARS2[item.variable + "
|
|
2049
|
-
CSS_VARS2[item.variable] = `var(${item.variable + "
|
|
2050
|
+
CSS_VARS2[item.variable + "_default"] = value;
|
|
2051
|
+
CSS_VARS2[item.variable] = `var(${item.variable + "_default"})`;
|
|
2050
2052
|
}
|
|
2051
2053
|
}
|
|
2052
2054
|
}
|
|
@@ -3032,9 +3034,9 @@ var require_cjs = __commonJS({
|
|
|
3032
3034
|
}
|
|
3033
3035
|
});
|
|
3034
3036
|
|
|
3035
|
-
//
|
|
3037
|
+
// ../../node_modules/@domql/utils/dist/cjs/key.js
|
|
3036
3038
|
var require_key = __commonJS({
|
|
3037
|
-
"
|
|
3039
|
+
"../../node_modules/@domql/utils/dist/cjs/key.js"(exports, module2) {
|
|
3038
3040
|
"use strict";
|
|
3039
3041
|
var __defProp2 = Object.defineProperty;
|
|
3040
3042
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3071,9 +3073,9 @@ var require_key = __commonJS({
|
|
|
3071
3073
|
}
|
|
3072
3074
|
});
|
|
3073
3075
|
|
|
3074
|
-
//
|
|
3076
|
+
// ../../node_modules/@domql/utils/dist/cjs/env.js
|
|
3075
3077
|
var require_env = __commonJS({
|
|
3076
|
-
"
|
|
3078
|
+
"../../node_modules/@domql/utils/dist/cjs/env.js"(exports, module2) {
|
|
3077
3079
|
"use strict";
|
|
3078
3080
|
var __defProp2 = Object.defineProperty;
|
|
3079
3081
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3109,9 +3111,9 @@ var require_env = __commonJS({
|
|
|
3109
3111
|
}
|
|
3110
3112
|
});
|
|
3111
3113
|
|
|
3112
|
-
//
|
|
3114
|
+
// ../../node_modules/@domql/utils/dist/cjs/globals.js
|
|
3113
3115
|
var require_globals = __commonJS({
|
|
3114
|
-
"
|
|
3116
|
+
"../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
|
|
3115
3117
|
"use strict";
|
|
3116
3118
|
var __defProp2 = Object.defineProperty;
|
|
3117
3119
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3145,9 +3147,9 @@ var require_globals = __commonJS({
|
|
|
3145
3147
|
}
|
|
3146
3148
|
});
|
|
3147
3149
|
|
|
3148
|
-
//
|
|
3150
|
+
// ../../node_modules/@domql/utils/dist/cjs/node.js
|
|
3149
3151
|
var require_node = __commonJS({
|
|
3150
|
-
"
|
|
3152
|
+
"../../node_modules/@domql/utils/dist/cjs/node.js"(exports, module2) {
|
|
3151
3153
|
"use strict";
|
|
3152
3154
|
var __defProp2 = Object.defineProperty;
|
|
3153
3155
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3182,9 +3184,9 @@ var require_node = __commonJS({
|
|
|
3182
3184
|
}
|
|
3183
3185
|
});
|
|
3184
3186
|
|
|
3185
|
-
//
|
|
3187
|
+
// ../../node_modules/@domql/utils/dist/cjs/types.js
|
|
3186
3188
|
var require_types = __commonJS({
|
|
3187
|
-
"
|
|
3189
|
+
"../../node_modules/@domql/utils/dist/cjs/types.js"(exports, module2) {
|
|
3188
3190
|
"use strict";
|
|
3189
3191
|
var __defProp2 = Object.defineProperty;
|
|
3190
3192
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3209,7 +3211,7 @@ var require_types = __commonJS({
|
|
|
3209
3211
|
is: () => is,
|
|
3210
3212
|
isArray: () => isArray3,
|
|
3211
3213
|
isBoolean: () => isBoolean,
|
|
3212
|
-
isDefined: () =>
|
|
3214
|
+
isDefined: () => isDefined2,
|
|
3213
3215
|
isFunction: () => isFunction3,
|
|
3214
3216
|
isNot: () => isNot2,
|
|
3215
3217
|
isNull: () => isNull,
|
|
@@ -3237,7 +3239,7 @@ var require_types = __commonJS({
|
|
|
3237
3239
|
return false;
|
|
3238
3240
|
return typeof arg === "object";
|
|
3239
3241
|
};
|
|
3240
|
-
var
|
|
3242
|
+
var isDefined2 = (arg) => {
|
|
3241
3243
|
return isObject4(arg) || isObjectLike2(arg) || isString6(arg) || isNumber(arg) || isFunction3(arg) || isArray3(arg) || isObjectLike2(arg) || isBoolean(arg) || isNull(arg);
|
|
3242
3244
|
};
|
|
3243
3245
|
var isUndefined2 = (arg) => {
|
|
@@ -3254,7 +3256,7 @@ var require_types = __commonJS({
|
|
|
3254
3256
|
objectLike: isObjectLike2,
|
|
3255
3257
|
node: import_node.isNode,
|
|
3256
3258
|
htmlElement: import_node.isHtmlElement,
|
|
3257
|
-
defined:
|
|
3259
|
+
defined: isDefined2
|
|
3258
3260
|
};
|
|
3259
3261
|
var is = (arg) => {
|
|
3260
3262
|
return (...args) => {
|
|
@@ -3269,9 +3271,9 @@ var require_types = __commonJS({
|
|
|
3269
3271
|
}
|
|
3270
3272
|
});
|
|
3271
3273
|
|
|
3272
|
-
//
|
|
3274
|
+
// ../../node_modules/@domql/utils/dist/cjs/array.js
|
|
3273
3275
|
var require_array = __commonJS({
|
|
3274
|
-
"
|
|
3276
|
+
"../../node_modules/@domql/utils/dist/cjs/array.js"(exports, module2) {
|
|
3275
3277
|
"use strict";
|
|
3276
3278
|
var __defProp2 = Object.defineProperty;
|
|
3277
3279
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3368,9 +3370,9 @@ var require_array = __commonJS({
|
|
|
3368
3370
|
}
|
|
3369
3371
|
});
|
|
3370
3372
|
|
|
3371
|
-
//
|
|
3373
|
+
// ../../node_modules/@domql/utils/dist/cjs/string.js
|
|
3372
3374
|
var require_string = __commonJS({
|
|
3373
|
-
"
|
|
3375
|
+
"../../node_modules/@domql/utils/dist/cjs/string.js"(exports, module2) {
|
|
3374
3376
|
"use strict";
|
|
3375
3377
|
var __defProp2 = Object.defineProperty;
|
|
3376
3378
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3428,9 +3430,9 @@ var require_string = __commonJS({
|
|
|
3428
3430
|
}
|
|
3429
3431
|
});
|
|
3430
3432
|
|
|
3431
|
-
//
|
|
3433
|
+
// ../../node_modules/@domql/utils/dist/cjs/object.js
|
|
3432
3434
|
var require_object = __commonJS({
|
|
3433
|
-
"
|
|
3435
|
+
"../../node_modules/@domql/utils/dist/cjs/object.js"(exports, module2) {
|
|
3434
3436
|
"use strict";
|
|
3435
3437
|
var __defProp2 = Object.defineProperty;
|
|
3436
3438
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3880,9 +3882,9 @@ var require_object = __commonJS({
|
|
|
3880
3882
|
}
|
|
3881
3883
|
});
|
|
3882
3884
|
|
|
3883
|
-
//
|
|
3885
|
+
// ../../node_modules/@domql/utils/dist/cjs/function.js
|
|
3884
3886
|
var require_function = __commonJS({
|
|
3885
|
-
"
|
|
3887
|
+
"../../node_modules/@domql/utils/dist/cjs/function.js"(exports, module2) {
|
|
3886
3888
|
"use strict";
|
|
3887
3889
|
var __defProp2 = Object.defineProperty;
|
|
3888
3890
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3955,9 +3957,9 @@ var require_function = __commonJS({
|
|
|
3955
3957
|
}
|
|
3956
3958
|
});
|
|
3957
3959
|
|
|
3958
|
-
//
|
|
3960
|
+
// ../../node_modules/@domql/utils/dist/cjs/log.js
|
|
3959
3961
|
var require_log = __commonJS({
|
|
3960
|
-
"
|
|
3962
|
+
"../../node_modules/@domql/utils/dist/cjs/log.js"(exports, module2) {
|
|
3961
3963
|
"use strict";
|
|
3962
3964
|
var __defProp2 = Object.defineProperty;
|
|
3963
3965
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -3996,9 +3998,9 @@ var require_log = __commonJS({
|
|
|
3996
3998
|
}
|
|
3997
3999
|
});
|
|
3998
4000
|
|
|
3999
|
-
//
|
|
4001
|
+
// ../../node_modules/@domql/utils/dist/cjs/cookie.js
|
|
4000
4002
|
var require_cookie = __commonJS({
|
|
4001
|
-
"
|
|
4003
|
+
"../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports, module2) {
|
|
4002
4004
|
"use strict";
|
|
4003
4005
|
var __defProp2 = Object.defineProperty;
|
|
4004
4006
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4052,9 +4054,9 @@ var require_cookie = __commonJS({
|
|
|
4052
4054
|
}
|
|
4053
4055
|
});
|
|
4054
4056
|
|
|
4055
|
-
//
|
|
4057
|
+
// ../../node_modules/@domql/utils/dist/cjs/tags.js
|
|
4056
4058
|
var require_tags = __commonJS({
|
|
4057
|
-
"
|
|
4059
|
+
"../../node_modules/@domql/utils/dist/cjs/tags.js"(exports, module2) {
|
|
4058
4060
|
"use strict";
|
|
4059
4061
|
var __defProp2 = Object.defineProperty;
|
|
4060
4062
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4217,9 +4219,9 @@ var require_tags = __commonJS({
|
|
|
4217
4219
|
}
|
|
4218
4220
|
});
|
|
4219
4221
|
|
|
4220
|
-
//
|
|
4222
|
+
// ../../node_modules/@domql/utils/dist/cjs/index.js
|
|
4221
4223
|
var require_cjs2 = __commonJS({
|
|
4222
|
-
"
|
|
4224
|
+
"../../node_modules/@domql/utils/dist/cjs/index.js"(exports, module2) {
|
|
4223
4225
|
"use strict";
|
|
4224
4226
|
var __defProp2 = Object.defineProperty;
|
|
4225
4227
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4252,9 +4254,9 @@ var require_cjs2 = __commonJS({
|
|
|
4252
4254
|
}
|
|
4253
4255
|
});
|
|
4254
4256
|
|
|
4255
|
-
//
|
|
4257
|
+
// ../../node_modules/@domql/state/dist/cjs/ignore.js
|
|
4256
4258
|
var require_ignore = __commonJS({
|
|
4257
|
-
"
|
|
4259
|
+
"../../node_modules/@domql/state/dist/cjs/ignore.js"(exports, module2) {
|
|
4258
4260
|
"use strict";
|
|
4259
4261
|
var __defProp2 = Object.defineProperty;
|
|
4260
4262
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4301,9 +4303,9 @@ var require_ignore = __commonJS({
|
|
|
4301
4303
|
}
|
|
4302
4304
|
});
|
|
4303
4305
|
|
|
4304
|
-
//
|
|
4306
|
+
// ../../node_modules/@domql/event/dist/cjs/on.js
|
|
4305
4307
|
var require_on = __commonJS({
|
|
4306
|
-
"
|
|
4308
|
+
"../../node_modules/@domql/event/dist/cjs/on.js"(exports, module2) {
|
|
4307
4309
|
"use strict";
|
|
4308
4310
|
var __defProp2 = Object.defineProperty;
|
|
4309
4311
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4331,12 +4333,12 @@ var require_on = __commonJS({
|
|
|
4331
4333
|
triggerEventOnUpdate: () => triggerEventOnUpdate
|
|
4332
4334
|
});
|
|
4333
4335
|
module2.exports = __toCommonJS2(on_exports);
|
|
4334
|
-
var
|
|
4336
|
+
var import_utils14 = require_cjs2();
|
|
4335
4337
|
var applyEvent = (param, element, state, context, options) => {
|
|
4336
4338
|
return param(element, state || element.state, context || element.context, options);
|
|
4337
4339
|
};
|
|
4338
4340
|
var triggerEventOn = (param, element, options) => {
|
|
4339
|
-
if (element.on && (0,
|
|
4341
|
+
if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
|
|
4340
4342
|
const { state, context } = element;
|
|
4341
4343
|
return applyEvent(element.on[param], element, state, context, options);
|
|
4342
4344
|
}
|
|
@@ -4345,7 +4347,7 @@ var require_on = __commonJS({
|
|
|
4345
4347
|
return param(updatedObj, element, state || element.state, context || element.context, options);
|
|
4346
4348
|
};
|
|
4347
4349
|
var triggerEventOnUpdate = (param, updatedObj, element, options) => {
|
|
4348
|
-
if (element.on && (0,
|
|
4350
|
+
if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
|
|
4349
4351
|
const { state, context } = element;
|
|
4350
4352
|
return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
|
|
4351
4353
|
}
|
|
@@ -4356,7 +4358,7 @@ var require_on = __commonJS({
|
|
|
4356
4358
|
if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
|
|
4357
4359
|
continue;
|
|
4358
4360
|
const appliedFunction = element.on[param];
|
|
4359
|
-
if ((0,
|
|
4361
|
+
if ((0, import_utils14.isFunction)(appliedFunction)) {
|
|
4360
4362
|
const { state, context } = element;
|
|
4361
4363
|
node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
|
|
4362
4364
|
}
|
|
@@ -4365,9 +4367,9 @@ var require_on = __commonJS({
|
|
|
4365
4367
|
}
|
|
4366
4368
|
});
|
|
4367
4369
|
|
|
4368
|
-
//
|
|
4370
|
+
// ../../node_modules/@domql/report/dist/cjs/index.js
|
|
4369
4371
|
var require_cjs3 = __commonJS({
|
|
4370
|
-
"
|
|
4372
|
+
"../../node_modules/@domql/report/dist/cjs/index.js"(exports, module2) {
|
|
4371
4373
|
"use strict";
|
|
4372
4374
|
var __defProp2 = Object.defineProperty;
|
|
4373
4375
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4462,9 +4464,9 @@ ${element}` : ""
|
|
|
4462
4464
|
}
|
|
4463
4465
|
});
|
|
4464
4466
|
|
|
4465
|
-
//
|
|
4467
|
+
// ../../node_modules/@domql/event/dist/cjs/can.js
|
|
4466
4468
|
var require_can = __commonJS({
|
|
4467
|
-
"
|
|
4469
|
+
"../../node_modules/@domql/event/dist/cjs/can.js"(exports, module2) {
|
|
4468
4470
|
"use strict";
|
|
4469
4471
|
var __defProp2 = Object.defineProperty;
|
|
4470
4472
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4489,17 +4491,17 @@ var require_can = __commonJS({
|
|
|
4489
4491
|
});
|
|
4490
4492
|
module2.exports = __toCommonJS2(can_exports);
|
|
4491
4493
|
var import_report = require_cjs3();
|
|
4492
|
-
var
|
|
4494
|
+
var import_utils14 = require_cjs2();
|
|
4493
4495
|
var canRender = (element) => {
|
|
4494
4496
|
const tag = element.tag || "div";
|
|
4495
|
-
return (0,
|
|
4497
|
+
return (0, import_utils14.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
|
|
4496
4498
|
};
|
|
4497
4499
|
}
|
|
4498
4500
|
});
|
|
4499
4501
|
|
|
4500
|
-
//
|
|
4502
|
+
// ../../node_modules/@domql/event/dist/cjs/index.js
|
|
4501
4503
|
var require_cjs4 = __commonJS({
|
|
4502
|
-
"
|
|
4504
|
+
"../../node_modules/@domql/event/dist/cjs/index.js"(exports, module2) {
|
|
4503
4505
|
"use strict";
|
|
4504
4506
|
var __defProp2 = Object.defineProperty;
|
|
4505
4507
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4522,9 +4524,9 @@ var require_cjs4 = __commonJS({
|
|
|
4522
4524
|
}
|
|
4523
4525
|
});
|
|
4524
4526
|
|
|
4525
|
-
//
|
|
4527
|
+
// ../../node_modules/@domql/state/dist/cjs/methods.js
|
|
4526
4528
|
var require_methods = __commonJS({
|
|
4527
|
-
"
|
|
4529
|
+
"../../node_modules/@domql/state/dist/cjs/methods.js"(exports, module2) {
|
|
4528
4530
|
"use strict";
|
|
4529
4531
|
var __defProp2 = Object.defineProperty;
|
|
4530
4532
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4557,11 +4559,11 @@ var require_methods = __commonJS({
|
|
|
4557
4559
|
toggle: () => toggle
|
|
4558
4560
|
});
|
|
4559
4561
|
module2.exports = __toCommonJS2(methods_exports);
|
|
4560
|
-
var
|
|
4562
|
+
var import_utils14 = require_cjs2();
|
|
4561
4563
|
var import_ignore = require_ignore();
|
|
4562
4564
|
var parse2 = function() {
|
|
4563
4565
|
const state = this;
|
|
4564
|
-
if ((0,
|
|
4566
|
+
if ((0, import_utils14.isObject)(state)) {
|
|
4565
4567
|
const obj = {};
|
|
4566
4568
|
for (const param in state) {
|
|
4567
4569
|
if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
|
|
@@ -4569,7 +4571,7 @@ var require_methods = __commonJS({
|
|
|
4569
4571
|
}
|
|
4570
4572
|
}
|
|
4571
4573
|
return obj;
|
|
4572
|
-
} else if ((0,
|
|
4574
|
+
} else if ((0, import_utils14.isArray)(state)) {
|
|
4573
4575
|
return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
|
|
4574
4576
|
}
|
|
4575
4577
|
};
|
|
@@ -4589,7 +4591,7 @@ var require_methods = __commonJS({
|
|
|
4589
4591
|
const state = this;
|
|
4590
4592
|
const element = state.__element;
|
|
4591
4593
|
const stateKey = element.__ref.__state;
|
|
4592
|
-
if ((0,
|
|
4594
|
+
if ((0, import_utils14.isString)(stateKey)) {
|
|
4593
4595
|
element.parent.state.remove(stateKey, { isHoisted: true, ...options });
|
|
4594
4596
|
return element.state;
|
|
4595
4597
|
}
|
|
@@ -4624,10 +4626,10 @@ var require_methods = __commonJS({
|
|
|
4624
4626
|
};
|
|
4625
4627
|
var add = function(value, options = {}) {
|
|
4626
4628
|
const state = this;
|
|
4627
|
-
if ((0,
|
|
4629
|
+
if ((0, import_utils14.isArray)(state)) {
|
|
4628
4630
|
state.push(value);
|
|
4629
4631
|
state.update(state.parse(), { overwrite: "replace", ...options });
|
|
4630
|
-
} else if ((0,
|
|
4632
|
+
} else if ((0, import_utils14.isObject)(state)) {
|
|
4631
4633
|
const key = Object.keys(state).length;
|
|
4632
4634
|
state.update({ [key]: value }, options);
|
|
4633
4635
|
}
|
|
@@ -4638,10 +4640,10 @@ var require_methods = __commonJS({
|
|
|
4638
4640
|
};
|
|
4639
4641
|
var remove = function(key, options = {}) {
|
|
4640
4642
|
const state = this;
|
|
4641
|
-
if ((0,
|
|
4642
|
-
(0,
|
|
4643
|
-
if ((0,
|
|
4644
|
-
(0,
|
|
4643
|
+
if ((0, import_utils14.isArray)(state))
|
|
4644
|
+
(0, import_utils14.removeFromArray)(state, key);
|
|
4645
|
+
if ((0, import_utils14.isObject)(state))
|
|
4646
|
+
(0, import_utils14.removeFromObject)(state, key);
|
|
4645
4647
|
return state.update(state.parse(), { replace: true, ...options });
|
|
4646
4648
|
};
|
|
4647
4649
|
var set3 = function(value, options = {}) {
|
|
@@ -4650,7 +4652,7 @@ var require_methods = __commonJS({
|
|
|
4650
4652
|
};
|
|
4651
4653
|
var apply = function(func, options = {}) {
|
|
4652
4654
|
const state = this;
|
|
4653
|
-
if ((0,
|
|
4655
|
+
if ((0, import_utils14.isFunction)(func)) {
|
|
4654
4656
|
func(state);
|
|
4655
4657
|
return state.update(state, { replace: true, ...options });
|
|
4656
4658
|
}
|
|
@@ -4658,9 +4660,9 @@ var require_methods = __commonJS({
|
|
|
4658
4660
|
}
|
|
4659
4661
|
});
|
|
4660
4662
|
|
|
4661
|
-
//
|
|
4663
|
+
// ../../node_modules/@domql/state/dist/cjs/inherit.js
|
|
4662
4664
|
var require_inherit = __commonJS({
|
|
4663
|
-
"
|
|
4665
|
+
"../../node_modules/@domql/state/dist/cjs/inherit.js"(exports, module2) {
|
|
4664
4666
|
"use strict";
|
|
4665
4667
|
var __defProp2 = Object.defineProperty;
|
|
4666
4668
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4690,7 +4692,7 @@ var require_inherit = __commonJS({
|
|
|
4690
4692
|
isState: () => isState2
|
|
4691
4693
|
});
|
|
4692
4694
|
module2.exports = __toCommonJS2(inherit_exports);
|
|
4693
|
-
var
|
|
4695
|
+
var import_utils14 = require_cjs2();
|
|
4694
4696
|
var import_ignore = require_ignore();
|
|
4695
4697
|
var getParentStateInKey = (stateKey, parentState) => {
|
|
4696
4698
|
if (!stateKey.includes("../"))
|
|
@@ -4742,11 +4744,11 @@ var require_inherit = __commonJS({
|
|
|
4742
4744
|
var createInheritedState = (element, parent) => {
|
|
4743
4745
|
const ref = element.__ref;
|
|
4744
4746
|
const inheritedState = findInheritedState(element, parent);
|
|
4745
|
-
if ((0,
|
|
4747
|
+
if ((0, import_utils14.isUndefined)(inheritedState))
|
|
4746
4748
|
return element.state;
|
|
4747
|
-
if ((0,
|
|
4748
|
-
return (0,
|
|
4749
|
-
} else if ((0,
|
|
4749
|
+
if ((0, import_utils14.is)(inheritedState)("object", "array")) {
|
|
4750
|
+
return (0, import_utils14.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
|
|
4751
|
+
} else if ((0, import_utils14.is)(inheritedState)("string", "number", "boolean")) {
|
|
4750
4752
|
ref.__stateType = typeof inheritedState;
|
|
4751
4753
|
return { value: inheritedState };
|
|
4752
4754
|
}
|
|
@@ -4755,12 +4757,12 @@ var require_inherit = __commonJS({
|
|
|
4755
4757
|
var checkIfInherits = (element) => {
|
|
4756
4758
|
const ref = element.__ref;
|
|
4757
4759
|
const stateKey = ref.__state;
|
|
4758
|
-
if (stateKey && (0,
|
|
4760
|
+
if (stateKey && (0, import_utils14.is)(stateKey)("number", "string", "boolean"))
|
|
4759
4761
|
return true;
|
|
4760
4762
|
return false;
|
|
4761
4763
|
};
|
|
4762
4764
|
var isState2 = function(state) {
|
|
4763
|
-
if (!(0,
|
|
4765
|
+
if (!(0, import_utils14.isObjectLike)(state))
|
|
4764
4766
|
return false;
|
|
4765
4767
|
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;
|
|
4766
4768
|
};
|
|
@@ -4780,9 +4782,9 @@ var require_inherit = __commonJS({
|
|
|
4780
4782
|
}
|
|
4781
4783
|
});
|
|
4782
4784
|
|
|
4783
|
-
//
|
|
4785
|
+
// ../../node_modules/@domql/state/dist/cjs/updateState.js
|
|
4784
4786
|
var require_updateState = __commonJS({
|
|
4785
|
-
"
|
|
4787
|
+
"../../node_modules/@domql/state/dist/cjs/updateState.js"(exports, module2) {
|
|
4786
4788
|
"use strict";
|
|
4787
4789
|
var __defProp2 = Object.defineProperty;
|
|
4788
4790
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4809,7 +4811,7 @@ var require_updateState = __commonJS({
|
|
|
4809
4811
|
var import_report = require_cjs3();
|
|
4810
4812
|
var import_event = require_cjs4();
|
|
4811
4813
|
var import_ignore = require_ignore();
|
|
4812
|
-
var
|
|
4814
|
+
var import_utils14 = require_cjs2();
|
|
4813
4815
|
var import_inherit = require_inherit();
|
|
4814
4816
|
var STATE_UPDATE_OPTIONS = {
|
|
4815
4817
|
overwrite: true,
|
|
@@ -4823,7 +4825,7 @@ var require_updateState = __commonJS({
|
|
|
4823
4825
|
const state = this;
|
|
4824
4826
|
const element = state.__element;
|
|
4825
4827
|
if (!options.updateByState)
|
|
4826
|
-
(0,
|
|
4828
|
+
(0, import_utils14.merge)(options, STATE_UPDATE_OPTIONS);
|
|
4827
4829
|
if (!state.__element)
|
|
4828
4830
|
(0, import_report.report)("ElementOnStateIsNotDefined");
|
|
4829
4831
|
if (options.preventInheritAtCurrentState === true) {
|
|
@@ -4853,10 +4855,10 @@ var require_updateState = __commonJS({
|
|
|
4853
4855
|
const shallow = overwrite === "shallow";
|
|
4854
4856
|
const merge22 = overwrite === "merge";
|
|
4855
4857
|
if (merge22) {
|
|
4856
|
-
(0,
|
|
4858
|
+
(0, import_utils14.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
|
|
4857
4859
|
return;
|
|
4858
4860
|
}
|
|
4859
|
-
const overwriteFunc = shallow ?
|
|
4861
|
+
const overwriteFunc = shallow ? import_utils14.overwriteShallow : import_utils14.overwriteDeep;
|
|
4860
4862
|
overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
|
|
4861
4863
|
};
|
|
4862
4864
|
var hoistStateUpdate = (state, obj, options) => {
|
|
@@ -4920,9 +4922,9 @@ var require_updateState = __commonJS({
|
|
|
4920
4922
|
}
|
|
4921
4923
|
});
|
|
4922
4924
|
|
|
4923
|
-
//
|
|
4925
|
+
// ../../node_modules/@domql/state/dist/cjs/create.js
|
|
4924
4926
|
var require_create = __commonJS({
|
|
4925
|
-
"
|
|
4927
|
+
"../../node_modules/@domql/state/dist/cjs/create.js"(exports, module2) {
|
|
4926
4928
|
"use strict";
|
|
4927
4929
|
var __defProp2 = Object.defineProperty;
|
|
4928
4930
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4948,7 +4950,7 @@ var require_create = __commonJS({
|
|
|
4948
4950
|
});
|
|
4949
4951
|
module2.exports = __toCommonJS2(create_exports);
|
|
4950
4952
|
var import_event = require_cjs4();
|
|
4951
|
-
var
|
|
4953
|
+
var import_utils14 = require_cjs2();
|
|
4952
4954
|
var import_ignore = require_ignore();
|
|
4953
4955
|
var import_methods = require_methods();
|
|
4954
4956
|
var import_updateState = require_updateState();
|
|
@@ -4962,13 +4964,13 @@ var require_create = __commonJS({
|
|
|
4962
4964
|
if (objectizeState === false)
|
|
4963
4965
|
return parent.state || {};
|
|
4964
4966
|
else
|
|
4965
|
-
element.state = (0,
|
|
4967
|
+
element.state = (0, import_utils14.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
|
|
4966
4968
|
const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
|
|
4967
4969
|
if (whatInitReturns === false)
|
|
4968
4970
|
return element.state;
|
|
4969
4971
|
if ((0, import_inherit.checkIfInherits)(element)) {
|
|
4970
4972
|
const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
|
|
4971
|
-
element.state = (0,
|
|
4973
|
+
element.state = (0, import_utils14.isUndefined)(inheritedState) ? {} : inheritedState;
|
|
4972
4974
|
}
|
|
4973
4975
|
const dependentState = applyDependentState(element, element.state);
|
|
4974
4976
|
if (dependentState)
|
|
@@ -4981,17 +4983,17 @@ var require_create = __commonJS({
|
|
|
4981
4983
|
const { __ref: ref } = state;
|
|
4982
4984
|
if (!ref)
|
|
4983
4985
|
return;
|
|
4984
|
-
const dependentState = (0,
|
|
4986
|
+
const dependentState = (0, import_utils14.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
|
|
4985
4987
|
const newDepends = { [element.key]: dependentState };
|
|
4986
|
-
ref.__depends = (0,
|
|
4988
|
+
ref.__depends = (0, import_utils14.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
|
|
4987
4989
|
return dependentState;
|
|
4988
4990
|
};
|
|
4989
4991
|
var checkForTypes = (element) => {
|
|
4990
4992
|
const { state, __ref: ref } = element;
|
|
4991
|
-
if ((0,
|
|
4993
|
+
if ((0, import_utils14.isFunction)(state)) {
|
|
4992
4994
|
ref.__state = state;
|
|
4993
|
-
return (0,
|
|
4994
|
-
} else if ((0,
|
|
4995
|
+
return (0, import_utils14.exec)(state, element);
|
|
4996
|
+
} else if ((0, import_utils14.is)(state)("string", "number")) {
|
|
4995
4997
|
ref.__state = state;
|
|
4996
4998
|
return {};
|
|
4997
4999
|
} else if (state === true) {
|
|
@@ -5038,7 +5040,7 @@ var require_create = __commonJS({
|
|
|
5038
5040
|
__children: {},
|
|
5039
5041
|
__root: ref.__root ? ref.__root.state : state
|
|
5040
5042
|
};
|
|
5041
|
-
if ((0,
|
|
5043
|
+
if ((0, import_utils14.isArray)(state)) {
|
|
5042
5044
|
addProtoToArray(state, proto);
|
|
5043
5045
|
} else {
|
|
5044
5046
|
Object.setPrototypeOf(state, proto);
|
|
@@ -5050,9 +5052,9 @@ var require_create = __commonJS({
|
|
|
5050
5052
|
}
|
|
5051
5053
|
});
|
|
5052
5054
|
|
|
5053
|
-
//
|
|
5055
|
+
// ../../node_modules/@domql/state/dist/cjs/index.js
|
|
5054
5056
|
var require_cjs5 = __commonJS({
|
|
5055
|
-
"
|
|
5057
|
+
"../../node_modules/@domql/state/dist/cjs/index.js"(exports, module2) {
|
|
5056
5058
|
"use strict";
|
|
5057
5059
|
var __defProp2 = Object.defineProperty;
|
|
5058
5060
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -5108,8 +5110,8 @@ var require_cjs6 = __commonJS({
|
|
|
5108
5110
|
router: () => router
|
|
5109
5111
|
});
|
|
5110
5112
|
module2.exports = __toCommonJS2(router_exports);
|
|
5111
|
-
var
|
|
5112
|
-
var getActiveRoute = (level = 0, route =
|
|
5113
|
+
var import_utils14 = require_cjs2();
|
|
5114
|
+
var getActiveRoute = (level = 0, route = import_utils14.window.location.pathname) => {
|
|
5113
5115
|
const routeArray = route.split("/");
|
|
5114
5116
|
const activeRoute = routeArray[level + 1];
|
|
5115
5117
|
if (activeRoute)
|
|
@@ -5123,7 +5125,7 @@ var require_cjs6 = __commonJS({
|
|
|
5123
5125
|
initialRender: false,
|
|
5124
5126
|
scrollToTop: true,
|
|
5125
5127
|
scrollToNode: false,
|
|
5126
|
-
scrollNode:
|
|
5128
|
+
scrollNode: import_utils14.document && import_utils14.document.documentElement,
|
|
5127
5129
|
scrollBody: false,
|
|
5128
5130
|
useFragment: false,
|
|
5129
5131
|
updateState: true,
|
|
@@ -5138,13 +5140,13 @@ var require_cjs6 = __commonJS({
|
|
|
5138
5140
|
const route = getActiveRoute(options.level, pathname);
|
|
5139
5141
|
const content = element.routes[route || "/"] || element.routes["/*"];
|
|
5140
5142
|
const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
|
|
5141
|
-
const hashChanged = hash2 && hash2 !==
|
|
5143
|
+
const hashChanged = hash2 && hash2 !== import_utils14.window.location.hash.slice(1);
|
|
5142
5144
|
const pathChanged = pathname !== lastPathname;
|
|
5143
5145
|
lastPathname = pathname;
|
|
5144
5146
|
if (!content)
|
|
5145
5147
|
return;
|
|
5146
5148
|
if (options.pushState) {
|
|
5147
|
-
|
|
5149
|
+
import_utils14.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
|
|
5148
5150
|
}
|
|
5149
5151
|
if (pathChanged || !hashChanged) {
|
|
5150
5152
|
if (options.updateState) {
|
|
@@ -5170,7 +5172,7 @@ var require_cjs6 = __commonJS({
|
|
|
5170
5172
|
});
|
|
5171
5173
|
}
|
|
5172
5174
|
if (hash2) {
|
|
5173
|
-
const activeNode =
|
|
5175
|
+
const activeNode = import_utils14.document.getElementById(hash2);
|
|
5174
5176
|
if (activeNode) {
|
|
5175
5177
|
const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
|
|
5176
5178
|
scrollNode.scrollTo({
|
|
@@ -5862,7 +5864,7 @@ var SHAPES = {
|
|
|
5862
5864
|
var import_utils = __toESM(require_cjs2());
|
|
5863
5865
|
var getSystemTheme = ({ context, state }) => {
|
|
5864
5866
|
const rootState = state && state.__root;
|
|
5865
|
-
return rootState ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
|
|
5867
|
+
return rootState && rootState.globalTheme ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
|
|
5866
5868
|
};
|
|
5867
5869
|
var Theme = {
|
|
5868
5870
|
deps: {
|
|
@@ -5960,6 +5962,9 @@ var Theme = {
|
|
|
5960
5962
|
textShadow: ({ props: props4, deps }) => !(0, import_utils.isUndefined)(props4.textShadow) && {
|
|
5961
5963
|
textShadow: deps.transformShadow(props4.textShadow)
|
|
5962
5964
|
},
|
|
5965
|
+
backdropFilter: ({ props: props4, deps }) => !(0, import_utils.isUndefined)(props4.backdropFilter) && {
|
|
5966
|
+
backdropFilter: props4.backdropFilter
|
|
5967
|
+
},
|
|
5963
5968
|
opacity: ({ props: props4 }) => !(0, import_utils.isUndefined)(props4.opacity) && {
|
|
5964
5969
|
opacity: props4.opacity
|
|
5965
5970
|
},
|
|
@@ -6322,7 +6327,7 @@ var Collection = {
|
|
|
6322
6327
|
const obj = {
|
|
6323
6328
|
tag: "fragment",
|
|
6324
6329
|
props: {
|
|
6325
|
-
childProps: el.props.childProps
|
|
6330
|
+
childProps: el.props && el.props.childProps
|
|
6326
6331
|
}
|
|
6327
6332
|
};
|
|
6328
6333
|
for (const key in param) {
|
|
@@ -6351,7 +6356,7 @@ var Collection = {
|
|
|
6351
6356
|
const obj = {
|
|
6352
6357
|
tag: "fragment",
|
|
6353
6358
|
props: {
|
|
6354
|
-
childProps: el.props.childProps
|
|
6359
|
+
childProps: el.props && el.props.childProps
|
|
6355
6360
|
}
|
|
6356
6361
|
};
|
|
6357
6362
|
for (const key in param) {
|
|
@@ -8078,7 +8083,7 @@ var Icon = {
|
|
|
8078
8083
|
props: ({ key, props: props4, parent, context, deps }) => {
|
|
8079
8084
|
const { ICONS, useIconSprite, verbose } = context && context.designSystem;
|
|
8080
8085
|
const { toCamelCase } = context && context.utils;
|
|
8081
|
-
const iconName = props4.
|
|
8086
|
+
const iconName = props4.name || props4.icon || key;
|
|
8082
8087
|
const camelCase = toCamelCase(deps.isString(iconName) ? iconName : key);
|
|
8083
8088
|
const isArray3 = camelCase.split(/([a-z])([A-Z])/g);
|
|
8084
8089
|
let activeIconName;
|
|
@@ -8121,8 +8126,11 @@ var IconText = {
|
|
|
8121
8126
|
lineHeight: 1
|
|
8122
8127
|
},
|
|
8123
8128
|
Icon: {
|
|
8124
|
-
props: ({ parent, props: props4 }) => ({ icon: parent.props.icon
|
|
8125
|
-
if: ({ parent, props: props4 }) =>
|
|
8129
|
+
props: ({ parent, props: props4 }) => ({ icon: parent.props.icon }),
|
|
8130
|
+
if: ({ parent, props: props4 }) => {
|
|
8131
|
+
const doesExist = parent.props.icon || parent.props.Icon || props4.name || props4.icon;
|
|
8132
|
+
return doesExist;
|
|
8133
|
+
}
|
|
8126
8134
|
},
|
|
8127
8135
|
text: ({ props: props4 }) => props4.text,
|
|
8128
8136
|
".reversed": {
|
|
@@ -8160,11 +8168,14 @@ var StatusIndicator = {
|
|
|
8160
8168
|
|
|
8161
8169
|
// Indicator/CheckIndicator.js
|
|
8162
8170
|
var CheckIndicator = {
|
|
8171
|
+
extend: Flex,
|
|
8163
8172
|
props: {
|
|
8173
|
+
align: "center center",
|
|
8164
8174
|
padding: "X",
|
|
8165
8175
|
boxSize: "fit-content fit-content",
|
|
8166
8176
|
round: "100%",
|
|
8167
8177
|
theme: "primary",
|
|
8178
|
+
aspectRatio: "1 / 1",
|
|
8168
8179
|
fontSize: "X"
|
|
8169
8180
|
},
|
|
8170
8181
|
Icon: {
|
|
@@ -8524,6 +8535,7 @@ var NumberInput = {
|
|
|
8524
8535
|
|
|
8525
8536
|
// Input/Checkbox.js
|
|
8526
8537
|
var Checkbox = {
|
|
8538
|
+
extend: Focusable,
|
|
8527
8539
|
tag: "label",
|
|
8528
8540
|
props: {
|
|
8529
8541
|
boxSize: "fit-content fit-content",
|
|
@@ -8531,28 +8543,32 @@ var Checkbox = {
|
|
|
8531
8543
|
round: "Y"
|
|
8532
8544
|
},
|
|
8533
8545
|
Input: {
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8546
|
+
props: {
|
|
8547
|
+
type: "checkbox",
|
|
8548
|
+
display: "none",
|
|
8549
|
+
":checked + div": { theme: "primary" },
|
|
8550
|
+
":checked + div > svg": {
|
|
8551
|
+
transform: "none",
|
|
8552
|
+
opacity: "1"
|
|
8553
|
+
}
|
|
8539
8554
|
},
|
|
8540
|
-
|
|
8555
|
+
attr: { checked: ({ parent }) => parent.props.checked }
|
|
8541
8556
|
},
|
|
8542
8557
|
Flex: {
|
|
8543
8558
|
props: {
|
|
8544
8559
|
align: "center center",
|
|
8545
8560
|
fontSize: "B1",
|
|
8546
8561
|
padding: "V",
|
|
8547
|
-
|
|
8562
|
+
theme: "tertiary .outline",
|
|
8548
8563
|
round: "X2",
|
|
8549
|
-
transition: "background
|
|
8564
|
+
transition: "background A defaultBezier"
|
|
8550
8565
|
},
|
|
8551
8566
|
Icon: {
|
|
8552
8567
|
props: {
|
|
8553
8568
|
icon: "check",
|
|
8554
8569
|
opacity: "0",
|
|
8555
|
-
|
|
8570
|
+
transform: "scale(0.9) rotate(-15deg)",
|
|
8571
|
+
transition: "opacity B defaultBezier"
|
|
8556
8572
|
}
|
|
8557
8573
|
}
|
|
8558
8574
|
}
|
|
@@ -8580,6 +8596,7 @@ var Radio = {
|
|
|
8580
8596
|
":checked + div:after": { opacity: "1" }
|
|
8581
8597
|
},
|
|
8582
8598
|
Flex: {
|
|
8599
|
+
extend: Pseudo,
|
|
8583
8600
|
props: {
|
|
8584
8601
|
round: "100%",
|
|
8585
8602
|
padding: "Y",
|
|
@@ -8923,7 +8940,7 @@ var SearchWithDropDownButton = {
|
|
|
8923
8940
|
|
|
8924
8941
|
// Button/index.js
|
|
8925
8942
|
var Button = {
|
|
8926
|
-
extend: [
|
|
8943
|
+
extend: [IconText, FocusableComponent],
|
|
8927
8944
|
tag: "button",
|
|
8928
8945
|
props: {
|
|
8929
8946
|
fontSize: "A",
|
|
@@ -8978,7 +8995,7 @@ var CommonButton = {
|
|
|
8978
8995
|
Caption: {
|
|
8979
8996
|
props: {
|
|
8980
8997
|
text: "Button",
|
|
8981
|
-
|
|
8998
|
+
lineHeight: "1em"
|
|
8982
8999
|
}
|
|
8983
9000
|
}
|
|
8984
9001
|
};
|
|
@@ -9257,26 +9274,37 @@ var Range = {
|
|
|
9257
9274
|
tag: "input",
|
|
9258
9275
|
attr: { type: "range" }
|
|
9259
9276
|
};
|
|
9260
|
-
var
|
|
9261
|
-
const val = el.props && el.props[
|
|
9277
|
+
var returnPropertyValue = (el, property, def) => {
|
|
9278
|
+
const val = el.props && el.props[property];
|
|
9262
9279
|
const r = (0, import_utils11.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
|
|
9263
9280
|
return r + "";
|
|
9264
9281
|
};
|
|
9265
9282
|
var RangeWithButtons = {
|
|
9283
|
+
props: {},
|
|
9266
9284
|
minus: {
|
|
9267
9285
|
extend: SquareButton,
|
|
9268
9286
|
props: { theme: "tertiary", icon: "minus" },
|
|
9269
9287
|
on: {
|
|
9270
9288
|
click: (ev, el, s) => {
|
|
9271
|
-
|
|
9289
|
+
const parentProps = el.parent.props;
|
|
9290
|
+
if ((0, import_utils11.isFunction)(parentProps.onDecrease)) {
|
|
9291
|
+
parentProps.onDecrease(ev, el.parent, s);
|
|
9292
|
+
} else {
|
|
9293
|
+
const value = parseFloat(s.value);
|
|
9294
|
+
const min = returnPropertyValue(el.parent, "min", 1);
|
|
9295
|
+
const step = returnPropertyValue(el.parent, "step", 1);
|
|
9296
|
+
if (value > min) {
|
|
9297
|
+
s.update({ value: value - step });
|
|
9298
|
+
}
|
|
9299
|
+
}
|
|
9272
9300
|
}
|
|
9273
9301
|
}
|
|
9274
9302
|
},
|
|
9275
9303
|
value: {
|
|
9276
|
-
|
|
9304
|
+
props: { width: "4ch" },
|
|
9277
9305
|
tag: "span",
|
|
9278
9306
|
text: ({ state, parent }) => {
|
|
9279
|
-
const unit =
|
|
9307
|
+
const unit = returnPropertyValue(parent, "unit", "");
|
|
9280
9308
|
return "" + (state.value || 50) + unit;
|
|
9281
9309
|
}
|
|
9282
9310
|
},
|
|
@@ -9284,13 +9312,27 @@ var RangeWithButtons = {
|
|
|
9284
9312
|
extend: Range,
|
|
9285
9313
|
attr: {
|
|
9286
9314
|
value: (el, s) => parseFloat(el.state.value),
|
|
9287
|
-
min: (el, s) =>
|
|
9288
|
-
max: (el, s) =>
|
|
9289
|
-
step: (el, s) =>
|
|
9315
|
+
min: (el, s) => returnPropertyValue(el.parent, "min", 0),
|
|
9316
|
+
max: (el, s) => returnPropertyValue(el.parent, "max", 100),
|
|
9317
|
+
step: (el, s) => returnPropertyValue(el.parent, "step", 1)
|
|
9290
9318
|
},
|
|
9291
9319
|
on: {
|
|
9292
|
-
input: (ev, el, s) =>
|
|
9293
|
-
|
|
9320
|
+
input: (ev, el, s) => {
|
|
9321
|
+
const parentProps = el.parent.props;
|
|
9322
|
+
if ((0, import_utils11.isFunction)(parentProps.onInput)) {
|
|
9323
|
+
parentProps.onInput(ev, el, s);
|
|
9324
|
+
} else {
|
|
9325
|
+
s.update({ value: parseFloat(el.node.value) });
|
|
9326
|
+
}
|
|
9327
|
+
},
|
|
9328
|
+
change: (ev, el, s) => {
|
|
9329
|
+
const parentProps = el.parent.props;
|
|
9330
|
+
if ((0, import_utils11.isFunction)(parentProps.onChange)) {
|
|
9331
|
+
parentProps.onChange(ev, el, s);
|
|
9332
|
+
} else {
|
|
9333
|
+
s.update({ value: parseFloat(el.node.value) });
|
|
9334
|
+
}
|
|
9335
|
+
}
|
|
9294
9336
|
}
|
|
9295
9337
|
},
|
|
9296
9338
|
plus: {
|
|
@@ -9298,7 +9340,17 @@ var RangeWithButtons = {
|
|
|
9298
9340
|
props: { theme: "tertiary", icon: "plus" },
|
|
9299
9341
|
on: {
|
|
9300
9342
|
click: (ev, el, s) => {
|
|
9301
|
-
|
|
9343
|
+
const parentProps = el.parent.props;
|
|
9344
|
+
if ((0, import_utils11.isFunction)(parentProps.onIncrease)) {
|
|
9345
|
+
parentProps.onIncrease(ev, el.parent, s);
|
|
9346
|
+
} else {
|
|
9347
|
+
const value = parseFloat(s.value);
|
|
9348
|
+
const max = returnPropertyValue(el.parent, "max", 1);
|
|
9349
|
+
const step = returnPropertyValue(el.parent, "step", 1);
|
|
9350
|
+
if (value < max) {
|
|
9351
|
+
s.update({ value: value + step });
|
|
9352
|
+
}
|
|
9353
|
+
}
|
|
9302
9354
|
}
|
|
9303
9355
|
}
|
|
9304
9356
|
}
|
|
@@ -9355,7 +9407,7 @@ var RangeSlider = {
|
|
|
9355
9407
|
tag: "input",
|
|
9356
9408
|
attr: { type: "range" }
|
|
9357
9409
|
};
|
|
9358
|
-
var
|
|
9410
|
+
var listenProp = (el, prop, def) => {
|
|
9359
9411
|
const val = el && el.props && el.props[prop];
|
|
9360
9412
|
const r = ((0, import_utils12.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
|
|
9361
9413
|
return r;
|
|
@@ -9380,18 +9432,18 @@ var Slider = {
|
|
|
9380
9432
|
style: { width: "4ch" },
|
|
9381
9433
|
tag: "span",
|
|
9382
9434
|
text: (el, s) => {
|
|
9383
|
-
const value =
|
|
9384
|
-
const unit =
|
|
9435
|
+
const value = listenProp(el.parent.input, "value");
|
|
9436
|
+
const unit = listenProp(el.parent.input, "unit", "");
|
|
9385
9437
|
return "" + value + unit;
|
|
9386
9438
|
}
|
|
9387
9439
|
},
|
|
9388
9440
|
range: {
|
|
9389
9441
|
extend: RangeSlider,
|
|
9390
9442
|
attr: {
|
|
9391
|
-
value: (el, s) =>
|
|
9392
|
-
min: (el, s) =>
|
|
9393
|
-
max: (el, s) =>
|
|
9394
|
-
step: (el, s) =>
|
|
9443
|
+
value: (el, s) => listenProp(el, "value", 50),
|
|
9444
|
+
min: (el, s) => listenProp(el, "min", 0),
|
|
9445
|
+
max: (el, s) => listenProp(el, "max", 100),
|
|
9446
|
+
step: (el, s) => listenProp(el, "step", 1)
|
|
9395
9447
|
},
|
|
9396
9448
|
on: {
|
|
9397
9449
|
input: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.input) && el.props.input(ev, el, s),
|
|
@@ -9463,7 +9515,7 @@ var Avatar = {
|
|
|
9463
9515
|
avatarType: "initials",
|
|
9464
9516
|
borderRadius: "100%",
|
|
9465
9517
|
boxSize: "C+X C+X",
|
|
9466
|
-
src: `https://api.dicebear.com/7.x/${props4.avatarType || "initials"}/svg?seed=${props4.key || key}`
|
|
9518
|
+
src: `https://api.dicebear.com/7.x/${props4.avatarType || "initials"}/svg?seed=${props4.key || key || "no-avatar"}`
|
|
9467
9519
|
})
|
|
9468
9520
|
};
|
|
9469
9521
|
|
|
@@ -9498,13 +9550,15 @@ var AvatarBundle = {
|
|
|
9498
9550
|
}
|
|
9499
9551
|
}
|
|
9500
9552
|
},
|
|
9501
|
-
childExtend: Avatar
|
|
9553
|
+
childExtend: Avatar,
|
|
9554
|
+
$setPropsCollection: ({ props: props4 }) => props4.options
|
|
9502
9555
|
};
|
|
9503
9556
|
|
|
9504
9557
|
// Avatar/AvatarChooser.js
|
|
9505
9558
|
var AvatarChooser = {
|
|
9506
9559
|
extend: Button,
|
|
9507
9560
|
tag: "label",
|
|
9561
|
+
state: { key: "am" },
|
|
9508
9562
|
props: {
|
|
9509
9563
|
round: "C",
|
|
9510
9564
|
width: "fit-content",
|
|
@@ -9551,8 +9605,8 @@ var AvatarChooser = {
|
|
|
9551
9605
|
},
|
|
9552
9606
|
on: {
|
|
9553
9607
|
change: (ev, { state }) => {
|
|
9554
|
-
state.update({ key: ev.target.value });
|
|
9555
9608
|
console.log(state.key);
|
|
9609
|
+
state.update({ key: ev.target.value });
|
|
9556
9610
|
}
|
|
9557
9611
|
}
|
|
9558
9612
|
},
|
|
@@ -9614,6 +9668,7 @@ var NotificationIndicator = {
|
|
|
9614
9668
|
};
|
|
9615
9669
|
|
|
9616
9670
|
// Tooltip/index.js
|
|
9671
|
+
var import_utils13 = __toESM(require_cjs2());
|
|
9617
9672
|
var Tooltip = {
|
|
9618
9673
|
extend: Flex,
|
|
9619
9674
|
props: {
|
|
@@ -9632,20 +9687,24 @@ var Tooltip = {
|
|
|
9632
9687
|
},
|
|
9633
9688
|
attr: { tooltip: true },
|
|
9634
9689
|
Title: {
|
|
9635
|
-
props:
|
|
9690
|
+
if: ({ parent, props: props4 }) => (0, import_utils13.isDefined)(parent.props.title) || props4.text,
|
|
9691
|
+
props: ({ parent }) => ({
|
|
9692
|
+
width: "fit-content",
|
|
9636
9693
|
fontWeight: 500,
|
|
9637
9694
|
color: "gray12",
|
|
9638
|
-
text:
|
|
9639
|
-
}
|
|
9695
|
+
text: parent.props.title
|
|
9696
|
+
})
|
|
9640
9697
|
},
|
|
9641
9698
|
P: {
|
|
9642
|
-
props:
|
|
9699
|
+
if: ({ parent, props: props4 }) => (0, import_utils13.isDefined)(parent.props.description) || props4.text,
|
|
9700
|
+
props: ({ parent }) => ({
|
|
9701
|
+
width: "fit-content",
|
|
9643
9702
|
fontSize: "Z2",
|
|
9644
9703
|
margin: "0",
|
|
9645
9704
|
color: "gray6",
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
}
|
|
9705
|
+
fontWeight: "400",
|
|
9706
|
+
text: parent.props.description
|
|
9707
|
+
})
|
|
9649
9708
|
}
|
|
9650
9709
|
};
|
|
9651
9710
|
var TooltipHidden = {
|
|
@@ -9698,7 +9757,7 @@ var TooltipHidden = {
|
|
|
9698
9757
|
var TooltipParent = {
|
|
9699
9758
|
props: ({ Tooltip: Tooltip2, TooltipHidden: TooltipHidden2 }) => {
|
|
9700
9759
|
const TooltipElem = Tooltip2 || TooltipHidden2;
|
|
9701
|
-
const TooltipActive = TooltipElem && TooltipElem[".active"];
|
|
9760
|
+
const TooltipActive = TooltipElem && TooltipElem.props[".active"];
|
|
9702
9761
|
return {
|
|
9703
9762
|
position: "relative",
|
|
9704
9763
|
zIndex: 999,
|
|
@@ -10682,14 +10741,12 @@ var props2 = {
|
|
|
10682
10741
|
align: "center center",
|
|
10683
10742
|
flow: "column",
|
|
10684
10743
|
gap: "X",
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
display: "none"
|
|
10692
|
-
}
|
|
10744
|
+
"> button": {
|
|
10745
|
+
padding: "0",
|
|
10746
|
+
background: "transparent",
|
|
10747
|
+
color: "white",
|
|
10748
|
+
fontSize: "Z",
|
|
10749
|
+
display: "none"
|
|
10693
10750
|
}
|
|
10694
10751
|
};
|
|
10695
10752
|
var TimePickerItem = {
|
|
@@ -10747,8 +10804,8 @@ var TimeSwitcher = {
|
|
|
10747
10804
|
".active": { theme: "primary" }
|
|
10748
10805
|
}),
|
|
10749
10806
|
on: {
|
|
10750
|
-
click: (
|
|
10751
|
-
console.log(
|
|
10807
|
+
click: (ev, { key, state }) => {
|
|
10808
|
+
console.log(ev, key, state);
|
|
10752
10809
|
state.update({ activeShift: key });
|
|
10753
10810
|
}
|
|
10754
10811
|
}
|
|
@@ -10792,7 +10849,7 @@ var TimePicker = {
|
|
|
10792
10849
|
max: "11"
|
|
10793
10850
|
}
|
|
10794
10851
|
},
|
|
10795
|
-
Span: ":",
|
|
10852
|
+
Span: { text: ":" },
|
|
10796
10853
|
TimePickerItem_mm: {
|
|
10797
10854
|
NumberInput: {
|
|
10798
10855
|
placeholder: "MM",
|
|
@@ -10800,7 +10857,7 @@ var TimePicker = {
|
|
|
10800
10857
|
max: "59"
|
|
10801
10858
|
}
|
|
10802
10859
|
},
|
|
10803
|
-
Span_2: ":",
|
|
10860
|
+
Span_2: { text: ":" },
|
|
10804
10861
|
TimePickerItem_ss: {
|
|
10805
10862
|
NumberInput: {
|
|
10806
10863
|
placeholder: "SS",
|
|
@@ -10864,7 +10921,8 @@ var DropdownList = {
|
|
|
10864
10921
|
borderWidth: "1px 0 0"
|
|
10865
10922
|
}
|
|
10866
10923
|
})
|
|
10867
|
-
}
|
|
10924
|
+
},
|
|
10925
|
+
$setPropsCollection: ({ props: props4 }) => props4.options
|
|
10868
10926
|
};
|
|
10869
10927
|
var DropdownParent = {
|
|
10870
10928
|
props: {
|
|
@@ -11681,9 +11739,8 @@ var User = {
|
|
|
11681
11739
|
align: "center flex-start",
|
|
11682
11740
|
gap: "Z2"
|
|
11683
11741
|
},
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
props: { margin: "0 - - -" }
|
|
11742
|
+
AvatarIndicator: {
|
|
11743
|
+
margin: "0 - - -"
|
|
11687
11744
|
},
|
|
11688
11745
|
Notes: {
|
|
11689
11746
|
extend: TitleParagraph,
|
|
@@ -11720,7 +11777,7 @@ var ChatUser = {
|
|
|
11720
11777
|
padding: "A",
|
|
11721
11778
|
round: "Z"
|
|
11722
11779
|
},
|
|
11723
|
-
|
|
11780
|
+
AvatarIndicator: { margin: "0" },
|
|
11724
11781
|
Notes: {
|
|
11725
11782
|
props: { flex: "1" },
|
|
11726
11783
|
Title: {
|
|
@@ -11770,7 +11827,7 @@ var UserButtonSet = {
|
|
|
11770
11827
|
round: "Z2"
|
|
11771
11828
|
},
|
|
11772
11829
|
User: {
|
|
11773
|
-
|
|
11830
|
+
AvatarIndicator: { fontSize: "A2" },
|
|
11774
11831
|
Notes: {
|
|
11775
11832
|
Title: {
|
|
11776
11833
|
h5: {
|
|
@@ -11801,8 +11858,8 @@ var UserButtonSet = {
|
|
|
11801
11858
|
var UserMessage = {
|
|
11802
11859
|
extend: User,
|
|
11803
11860
|
props: { gap: "Z" },
|
|
11804
|
-
|
|
11805
|
-
|
|
11861
|
+
AvatarIndicator: {
|
|
11862
|
+
fontSize: "Z"
|
|
11806
11863
|
},
|
|
11807
11864
|
Notes: {
|
|
11808
11865
|
Title: null,
|
|
@@ -11823,7 +11880,7 @@ var UserMessage = {
|
|
|
11823
11880
|
// User/UserWithLabel.js
|
|
11824
11881
|
var UserWithLabel = {
|
|
11825
11882
|
extend: User,
|
|
11826
|
-
|
|
11883
|
+
AvatarIndicator: {
|
|
11827
11884
|
StatusIndicator: null,
|
|
11828
11885
|
Avatar: { boxSize: "B" }
|
|
11829
11886
|
},
|
|
@@ -11864,7 +11921,7 @@ var UserWithButton = {
|
|
|
11864
11921
|
border: "1px, solid, gray3",
|
|
11865
11922
|
gap: "Y2"
|
|
11866
11923
|
},
|
|
11867
|
-
|
|
11924
|
+
AvatarIndicator: {
|
|
11868
11925
|
Avatar: {
|
|
11869
11926
|
round: "Y"
|
|
11870
11927
|
},
|