@tamagui/radio-group 1.95.3 → 1.97.0
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/RadioGroup.js +23 -248
- package/dist/cjs/RadioGroup.js.map +1 -1
- package/dist/cjs/RadioGroup.native.js +25 -336
- package/dist/cjs/RadioGroup.native.js.map +2 -2
- package/dist/cjs/RadioGroupStyledContext.js +25 -0
- package/dist/cjs/RadioGroupStyledContext.js.map +6 -0
- package/dist/cjs/RadioGroupStyledContext.native.js +29 -0
- package/dist/cjs/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/cjs/createRadioGroup.js +107 -0
- package/dist/cjs/createRadioGroup.js.map +6 -0
- package/dist/cjs/createRadioGroup.native.js +171 -0
- package/dist/cjs/createRadioGroup.native.js.map +6 -0
- package/dist/cjs/index.js +15 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +19 -2
- package/dist/cjs/index.native.js.map +2 -2
- package/dist/esm/RadioGroup.js +20 -248
- package/dist/esm/RadioGroup.js.map +1 -1
- package/dist/esm/RadioGroup.mjs +19 -240
- package/dist/esm/RadioGroup.native.js +20 -334
- package/dist/esm/RadioGroup.native.js.map +2 -2
- package/dist/esm/RadioGroupStyledContext.js +9 -0
- package/dist/esm/RadioGroupStyledContext.js.map +6 -0
- package/dist/esm/RadioGroupStyledContext.mjs +6 -0
- package/dist/esm/RadioGroupStyledContext.native.js +9 -0
- package/dist/esm/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/esm/createRadioGroup.js +104 -0
- package/dist/esm/createRadioGroup.js.map +6 -0
- package/dist/esm/createRadioGroup.mjs +131 -0
- package/dist/esm/createRadioGroup.native.js +155 -0
- package/dist/esm/createRadioGroup.native.js.map +6 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +11 -1
- package/dist/esm/index.native.js +12 -0
- package/dist/esm/index.native.js.map +2 -2
- package/dist/jsx/RadioGroup.js +20 -248
- package/dist/jsx/RadioGroup.js.map +1 -1
- package/dist/jsx/RadioGroup.mjs +19 -240
- package/dist/jsx/RadioGroup.native.js +20 -334
- package/dist/jsx/RadioGroup.native.js.map +2 -2
- package/dist/jsx/RadioGroupStyledContext.js +9 -0
- package/dist/jsx/RadioGroupStyledContext.js.map +6 -0
- package/dist/jsx/RadioGroupStyledContext.mjs +6 -0
- package/dist/jsx/RadioGroupStyledContext.native.js +9 -0
- package/dist/jsx/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/jsx/createRadioGroup.js +104 -0
- package/dist/jsx/createRadioGroup.js.map +6 -0
- package/dist/jsx/createRadioGroup.mjs +131 -0
- package/dist/jsx/createRadioGroup.native.js +155 -0
- package/dist/jsx/createRadioGroup.native.js.map +6 -0
- package/dist/jsx/index.js +16 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +11 -1
- package/dist/jsx/index.native.js +12 -0
- package/dist/jsx/index.native.js.map +2 -2
- package/package.json +14 -14
- package/src/RadioGroup.tsx +22 -432
- package/src/RadioGroupStyledContext.tsx +7 -0
- package/src/createRadioGroup.tsx +201 -0
- package/src/index.ts +15 -0
- package/types/RadioGroup.d.ts +7 -224
- package/types/RadioGroup.d.ts.map +1 -1
- package/types/RadioGroupStyledContext.d.ts +6 -0
- package/types/RadioGroupStyledContext.d.ts.map +1 -0
- package/types/createRadioGroup.d.ts +979 -0
- package/types/createRadioGroup.d.ts.map +1 -0
- package/types/index.d.ts +949 -0
- package/types/index.d.ts.map +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
6
|
var __export = (target, all) => {
|
|
8
7
|
for (var name in all)
|
|
9
8
|
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
@@ -13,159 +12,15 @@ var __export = (target, all) => {
|
|
|
13
12
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
13
|
return to;
|
|
15
14
|
};
|
|
16
|
-
var
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
16
|
var RadioGroup_exports = {};
|
|
25
17
|
__export(RadioGroup_exports, {
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
RadioGroupFrame: () => RadioGroupFrame,
|
|
19
|
+
RadioGroupIndicatorFrame: () => RadioGroupIndicatorFrame,
|
|
20
|
+
RadioGroupItemFrame: () => RadioGroupItemFrame
|
|
28
21
|
});
|
|
29
22
|
module.exports = __toCommonJS(RadioGroup_exports);
|
|
30
|
-
var
|
|
31
|
-
function _array_like_to_array(arr, len) {
|
|
32
|
-
(len == null || len > arr.length) && (len = arr.length);
|
|
33
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
34
|
-
arr2[i] = arr[i];
|
|
35
|
-
return arr2;
|
|
36
|
-
}
|
|
37
|
-
function _array_with_holes(arr) {
|
|
38
|
-
if (Array.isArray(arr))
|
|
39
|
-
return arr;
|
|
40
|
-
}
|
|
41
|
-
function _define_property(obj, key, value) {
|
|
42
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
43
|
-
value,
|
|
44
|
-
enumerable: !0,
|
|
45
|
-
configurable: !0,
|
|
46
|
-
writable: !0
|
|
47
|
-
}) : obj[key] = value, obj;
|
|
48
|
-
}
|
|
49
|
-
function _iterable_to_array_limit(arr, i) {
|
|
50
|
-
var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
51
|
-
if (_i != null) {
|
|
52
|
-
var _arr = [], _n = !0, _d = !1, _s, _e;
|
|
53
|
-
try {
|
|
54
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !(i && _arr.length === i)); _n = !0)
|
|
55
|
-
;
|
|
56
|
-
} catch (err) {
|
|
57
|
-
_d = !0, _e = err;
|
|
58
|
-
} finally {
|
|
59
|
-
try {
|
|
60
|
-
!_n && _i.return != null && _i.return();
|
|
61
|
-
} finally {
|
|
62
|
-
if (_d)
|
|
63
|
-
throw _e;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return _arr;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function _non_iterable_rest() {
|
|
70
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
71
|
-
}
|
|
72
|
-
function _object_spread(target) {
|
|
73
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
74
|
-
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
75
|
-
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
76
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
77
|
-
}))), ownKeys2.forEach(function(key) {
|
|
78
|
-
_define_property(target, key, source[key]);
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return target;
|
|
82
|
-
}
|
|
83
|
-
function ownKeys(object, enumerableOnly) {
|
|
84
|
-
var keys = Object.keys(object);
|
|
85
|
-
if (Object.getOwnPropertySymbols) {
|
|
86
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
87
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
88
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
89
|
-
})), keys.push.apply(keys, symbols);
|
|
90
|
-
}
|
|
91
|
-
return keys;
|
|
92
|
-
}
|
|
93
|
-
function _object_spread_props(target, source) {
|
|
94
|
-
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
95
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
96
|
-
}), target;
|
|
97
|
-
}
|
|
98
|
-
function _object_without_properties(source, excluded) {
|
|
99
|
-
if (source == null)
|
|
100
|
-
return {};
|
|
101
|
-
var target = _object_without_properties_loose(source, excluded), key, i;
|
|
102
|
-
if (Object.getOwnPropertySymbols) {
|
|
103
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
104
|
-
for (i = 0; i < sourceSymbolKeys.length; i++)
|
|
105
|
-
key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
|
|
106
|
-
}
|
|
107
|
-
return target;
|
|
108
|
-
}
|
|
109
|
-
function _object_without_properties_loose(source, excluded) {
|
|
110
|
-
if (source == null)
|
|
111
|
-
return {};
|
|
112
|
-
var target = {}, sourceKeys = Object.keys(source), key, i;
|
|
113
|
-
for (i = 0; i < sourceKeys.length; i++)
|
|
114
|
-
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
|
115
|
-
return target;
|
|
116
|
-
}
|
|
117
|
-
function _sliced_to_array(arr, i) {
|
|
118
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
119
|
-
}
|
|
120
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
121
|
-
if (o) {
|
|
122
|
-
if (typeof o == "string")
|
|
123
|
-
return _array_like_to_array(o, minLen);
|
|
124
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
125
|
-
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
|
|
126
|
-
return Array.from(n);
|
|
127
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
128
|
-
return _array_like_to_array(o, minLen);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
var RADIO_GROUP_NAME = "RadioGroup", ARROW_KEYS = [
|
|
132
|
-
"ArrowUp",
|
|
133
|
-
"ArrowDown",
|
|
134
|
-
"ArrowLeft",
|
|
135
|
-
"ArrowRight"
|
|
136
|
-
], _createContextScope = _sliced_to_array((0, import_create_context.createContextScope)(RADIO_GROUP_NAME), 2), createRadioGroupContext = _createContextScope[0], createRadioGroupScope = _createContextScope[1], _createRadioGroupContext = _sliced_to_array(createRadioGroupContext(RADIO_GROUP_NAME), 2), RadioGroupProvider = _createRadioGroupContext[0], useRadioGroupContext = _createRadioGroupContext[1], getState = function(checked) {
|
|
137
|
-
return checked ? "checked" : "unchecked";
|
|
138
|
-
}, RADIO_GROUP_INDICATOR_NAME = "RadioGroupIndicator", RadioIndicatorFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
139
|
-
name: RADIO_GROUP_INDICATOR_NAME,
|
|
140
|
-
variants: {
|
|
141
|
-
unstyled: {
|
|
142
|
-
false: {
|
|
143
|
-
width: "33%",
|
|
144
|
-
height: "33%",
|
|
145
|
-
borderRadius: 1e3,
|
|
146
|
-
backgroundColor: "$color",
|
|
147
|
-
pressTheme: !0
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
defaultVariants: {
|
|
152
|
-
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
153
|
-
}
|
|
154
|
-
}), RadioIndicator = RadioIndicatorFrame.extractable(/* @__PURE__ */ React.forwardRef(function(props, forwardedRef) {
|
|
155
|
-
var __scopeRadioGroupItem = props.__scopeRadioGroupItem, forceMount = props.forceMount, disabled = props.disabled, indicatorProps = _object_without_properties(props, [
|
|
156
|
-
"__scopeRadioGroupItem",
|
|
157
|
-
"forceMount",
|
|
158
|
-
"disabled"
|
|
159
|
-
]), checked = useRadioGroupItemContext(RADIO_GROUP_INDICATOR_NAME, __scopeRadioGroupItem).checked;
|
|
160
|
-
return forceMount || checked ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioIndicatorFrame, _object_spread_props(_object_spread({
|
|
161
|
-
"data-state": getState(checked),
|
|
162
|
-
"data-disabled": disabled ? "" : void 0
|
|
163
|
-
}, indicatorProps), {
|
|
164
|
-
ref: forwardedRef
|
|
165
|
-
})) : null;
|
|
166
|
-
}));
|
|
167
|
-
RadioIndicator.displayName = RADIO_GROUP_INDICATOR_NAME;
|
|
168
|
-
var RADIO_GROUP_ITEM_NAME = "RadioGroupItem", _createRadioGroupContext1 = _sliced_to_array(createRadioGroupContext(RADIO_GROUP_NAME), 2), RadioGroupItemProvider = _createRadioGroupContext1[0], useRadioGroupItemContext = _createRadioGroupContext1[1], RadioGroupItemFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
23
|
+
var import_core = require("@tamagui/core"), import_get_token = require("@tamagui/get-token"), import_stacks = require("@tamagui/stacks"), RADIO_GROUP_ITEM_NAME = "RadioGroupItem", RadioGroupItemFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
169
24
|
name: RADIO_GROUP_ITEM_NAME,
|
|
170
25
|
tag: "button",
|
|
171
26
|
variants: {
|
|
@@ -229,147 +84,23 @@ var RADIO_GROUP_ITEM_NAME = "RadioGroupItem", _createRadioGroupContext1 = _slice
|
|
|
229
84
|
defaultVariants: {
|
|
230
85
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
231
86
|
}
|
|
232
|
-
}),
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
var handleKeyDown = function(event) {
|
|
244
|
-
ARROW_KEYS.includes(event.key) && (isArrowKeyPressedRef.current = !0);
|
|
245
|
-
}, handleKeyUp = function() {
|
|
246
|
-
isArrowKeyPressedRef.current = !1;
|
|
247
|
-
};
|
|
248
|
-
return document.addEventListener("keydown", handleKeyDown), document.addEventListener("keyup", handleKeyUp), function() {
|
|
249
|
-
document.removeEventListener("keydown", handleKeyDown), document.removeEventListener("keyup", handleKeyUp);
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
}, []), React.useEffect(function() {
|
|
253
|
-
if (props.id && !disabled)
|
|
254
|
-
return (0, import_focusable.registerFocusable)(props.id, {
|
|
255
|
-
focusAndSelect: function() {
|
|
256
|
-
onChange == null || onChange(value);
|
|
257
|
-
},
|
|
258
|
-
focus: function() {
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
}, [
|
|
262
|
-
props.id,
|
|
263
|
-
value,
|
|
264
|
-
disabled
|
|
265
|
-
]);
|
|
266
|
-
var isDisabled = disabled || itemDisabled;
|
|
267
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemProvider, {
|
|
268
|
-
checked,
|
|
269
|
-
scope: __scopeRadioGroup,
|
|
270
|
-
children: import_constants.isWeb && native ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BubbleInput, {
|
|
271
|
-
control: button,
|
|
272
|
-
bubbles: !hasConsumerStoppedPropagationRef.current,
|
|
273
|
-
name,
|
|
274
|
-
value,
|
|
275
|
-
checked,
|
|
276
|
-
required,
|
|
277
|
-
disabled: isDisabled,
|
|
278
|
-
id: props.id,
|
|
279
|
-
accentColor
|
|
280
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
281
|
-
children: [
|
|
282
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_roving_focus.RovingFocusGroup.Item, {
|
|
283
|
-
__scopeRovingFocusGroup: RADIO_GROUP_NAME,
|
|
284
|
-
asChild: "except-style",
|
|
285
|
-
focusable: !isDisabled,
|
|
286
|
-
active: checked,
|
|
287
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemFrame, _object_spread(_object_spread_props(_object_spread(
|
|
288
|
-
{
|
|
289
|
-
// theme={checked ? 'active' : undefined}
|
|
290
|
-
"data-state": getState(checked),
|
|
291
|
-
"data-disabled": isDisabled ? "" : void 0,
|
|
292
|
-
role: "radio",
|
|
293
|
-
"aria-labelledby": labelledBy,
|
|
294
|
-
"aria-checked": checked,
|
|
295
|
-
"aria-required": required,
|
|
296
|
-
disabled: isDisabled,
|
|
297
|
-
ref: composedRefs
|
|
298
|
-
},
|
|
299
|
-
import_constants.isWeb && {
|
|
300
|
-
type: "button",
|
|
301
|
-
value
|
|
302
|
-
},
|
|
303
|
-
// allow them to override all but the handlers that already compose:
|
|
304
|
-
itemProps
|
|
305
|
-
), {
|
|
306
|
-
onPress: (0, import_helpers.composeEventHandlers)(props.onPress, function(event) {
|
|
307
|
-
checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
|
|
308
|
-
})
|
|
309
|
-
}), import_constants.isWeb && {
|
|
310
|
-
onKeyDown: (0, import_helpers.composeEventHandlers)(props.onKeyDown, function(event) {
|
|
311
|
-
event.key === "Enter" && event.preventDefault();
|
|
312
|
-
}),
|
|
313
|
-
onFocus: (0, import_helpers.composeEventHandlers)(itemProps.onFocus, function() {
|
|
314
|
-
if (isArrowKeyPressedRef.current) {
|
|
315
|
-
var _ref_current;
|
|
316
|
-
(_ref_current = ref.current) === null || _ref_current === void 0 || _ref_current.click();
|
|
317
|
-
}
|
|
318
|
-
})
|
|
319
|
-
}))
|
|
320
|
-
}),
|
|
321
|
-
isFormControl && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BubbleInput, {
|
|
322
|
-
isHidden: !0,
|
|
323
|
-
control: button,
|
|
324
|
-
bubbles: !hasConsumerStoppedPropagationRef.current,
|
|
325
|
-
name,
|
|
326
|
-
value,
|
|
327
|
-
checked,
|
|
328
|
-
required,
|
|
329
|
-
disabled: isDisabled
|
|
330
|
-
})
|
|
331
|
-
]
|
|
332
|
-
})
|
|
333
|
-
});
|
|
334
|
-
})), BubbleInput = function(props) {
|
|
335
|
-
var checked = props.checked, _props_bubbles = props.bubbles, bubbles = _props_bubbles === void 0 ? !0 : _props_bubbles, control = props.control, isHidden = props.isHidden, accentColor = props.accentColor, inputProps = _object_without_properties(props, [
|
|
336
|
-
"checked",
|
|
337
|
-
"bubbles",
|
|
338
|
-
"control",
|
|
339
|
-
"isHidden",
|
|
340
|
-
"accentColor"
|
|
341
|
-
]), ref = React.useRef(null), prevChecked = (0, import_use_previous.usePrevious)(checked);
|
|
342
|
-
return React.useEffect(function() {
|
|
343
|
-
var input = ref.current, inputProto = window.HTMLInputElement.prototype, descriptor = Object.getOwnPropertyDescriptor(inputProto, "checked"), setChecked = descriptor.set;
|
|
344
|
-
if (prevChecked !== checked && setChecked) {
|
|
345
|
-
var event = new Event("click", {
|
|
346
|
-
bubbles
|
|
347
|
-
});
|
|
348
|
-
setChecked.call(input, checked), input.dispatchEvent(event);
|
|
87
|
+
}), RADIO_GROUP_INDICATOR_NAME = "RadioGroupIndicator", RadioGroupIndicatorFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
88
|
+
name: RADIO_GROUP_INDICATOR_NAME,
|
|
89
|
+
variants: {
|
|
90
|
+
unstyled: {
|
|
91
|
+
false: {
|
|
92
|
+
width: "33%",
|
|
93
|
+
height: "33%",
|
|
94
|
+
borderRadius: 1e3,
|
|
95
|
+
backgroundColor: "$color",
|
|
96
|
+
pressTheme: !0
|
|
97
|
+
}
|
|
349
98
|
}
|
|
350
|
-
},
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
type: "radio",
|
|
356
|
-
defaultChecked: checked
|
|
357
|
-
}, inputProps), {
|
|
358
|
-
tabIndex: -1,
|
|
359
|
-
ref,
|
|
360
|
-
"aria-hidden": isHidden,
|
|
361
|
-
style: _object_spread({}, isHidden ? {
|
|
362
|
-
// ...controlSize,
|
|
363
|
-
position: "absolute",
|
|
364
|
-
pointerEvents: "none",
|
|
365
|
-
opacity: 0,
|
|
366
|
-
margin: 0
|
|
367
|
-
} : {
|
|
368
|
-
appearance: "auto",
|
|
369
|
-
accentColor
|
|
370
|
-
}, props.style)
|
|
371
|
-
}));
|
|
372
|
-
}, RadioGroupFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
99
|
+
},
|
|
100
|
+
defaultVariants: {
|
|
101
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
102
|
+
}
|
|
103
|
+
}), RADIO_GROUP_NAME = "RadioGroup", RadioGroupFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
373
104
|
name: RADIO_GROUP_NAME,
|
|
374
105
|
variants: {
|
|
375
106
|
orientation: {
|
|
@@ -383,53 +114,11 @@ var RADIO_GROUP_ITEM_NAME = "RadioGroupItem", _createRadioGroupContext1 = _slice
|
|
|
383
114
|
}
|
|
384
115
|
}
|
|
385
116
|
}
|
|
386
|
-
}), RadioGroup = (0, import_helpers.withStaticProperties)(RadioGroupFrame.extractable(/* @__PURE__ */ React.forwardRef(function(props, forwardedRef) {
|
|
387
|
-
var __scopeRadioGroup = props.__scopeRadioGroup, valueProp = props.value, defaultValue = props.defaultValue, onValueChange = props.onValueChange, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? !1 : _props_disabled, _props_required = props.required, required = _props_required === void 0 ? !1 : _props_required, name = props.name, orientation = props.orientation, native = props.native, accentColor = props.accentColor, radioGroupProps = _object_without_properties(props, [
|
|
388
|
-
"__scopeRadioGroup",
|
|
389
|
-
"value",
|
|
390
|
-
"defaultValue",
|
|
391
|
-
"onValueChange",
|
|
392
|
-
"disabled",
|
|
393
|
-
"required",
|
|
394
|
-
"name",
|
|
395
|
-
"orientation",
|
|
396
|
-
"native",
|
|
397
|
-
"accentColor"
|
|
398
|
-
]), _useControllableState = _sliced_to_array((0, import_use_controllable_state.useControllableState)({
|
|
399
|
-
prop: valueProp,
|
|
400
|
-
defaultProp: defaultValue,
|
|
401
|
-
onChange: onValueChange
|
|
402
|
-
}), 2), value = _useControllableState[0], setValue = _useControllableState[1];
|
|
403
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupProvider, {
|
|
404
|
-
scope: __scopeRadioGroup,
|
|
405
|
-
value,
|
|
406
|
-
required,
|
|
407
|
-
onChange: setValue,
|
|
408
|
-
disabled,
|
|
409
|
-
name,
|
|
410
|
-
native,
|
|
411
|
-
accentColor,
|
|
412
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_roving_focus.RovingFocusGroup, {
|
|
413
|
-
__scopeRovingFocusGroup: RADIO_GROUP_NAME,
|
|
414
|
-
orientation,
|
|
415
|
-
loop: !0,
|
|
416
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupFrame, _object_spread({
|
|
417
|
-
role: "radiogroup",
|
|
418
|
-
"aria-orientation": orientation,
|
|
419
|
-
ref: forwardedRef,
|
|
420
|
-
orientation,
|
|
421
|
-
"data-disabled": disabled ? "" : void 0
|
|
422
|
-
}, radioGroupProps))
|
|
423
|
-
})
|
|
424
|
-
});
|
|
425
|
-
})), {
|
|
426
|
-
Indicator: RadioIndicator,
|
|
427
|
-
Item: RadioGroupItem
|
|
428
117
|
});
|
|
429
|
-
RadioGroup.displayName = RADIO_GROUP_NAME;
|
|
430
118
|
// Annotate the CommonJS export names for ESM import in node:
|
|
431
119
|
0 && (module.exports = {
|
|
432
|
-
|
|
433
|
-
|
|
120
|
+
RadioGroupFrame,
|
|
121
|
+
RadioGroupIndicatorFrame,
|
|
122
|
+
RadioGroupItemFrame
|
|
434
123
|
});
|
|
435
124
|
//# sourceMappingURL=RadioGroup.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/RadioGroup.tsx"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;kBAAyC,0BACzC,mBAAwB,+BACxB,gBAA+B,4BAEzBA,wBAAwB,kBAEjBC,0BAAsBC,oBAAOC,8BAAgB;EACxDC,MAAMJ;EACNK,KAAK;EAELC,UAAU;IACRC,UAAU;MACRC,OAAO;QACLC,MAAM;QACNC,cAAc;QACdC,iBAAiB;QACjBC,YAAY;QACZC,gBAAgB;QAChBC,aAAa;QACbC,aAAa;QACbC,SAAS;QAETC,YAAY;UACVF,aAAa;UACbJ,iBAAiB;QACnB;QAEAO,YAAY;UACVH,aAAa;UACbJ,iBAAiB;QACnB;QAEAQ,mBAAmB;UACjBC,cAAc;UACdC,cAAc;UACdC,cAAc;QAChB;QAEAC,YAAY;UACVR,aAAa;UACbJ,iBAAiB;QACnB;MACF;IACF;IAEAa,UAAU;MACRC,MAAM;QACJC,eAAe;QACfC,YAAY;QACZC,QAAQ;QAERX,YAAY;UACVF,aAAa;UACbJ,iBAAiB;QACnB;QAEAY,YAAY;UACVR,aAAa;UACbJ,iBAAiB;QACnB;QAEAQ,mBAAmB;UACjBE,cAAc;QAChB;MACF;IACF;IAEAZ,MAAM;MACJ,WAAW,SAACoB,OAAAA,OAAAA;YAASC,QAAAA,MAAAA,OAEmBA,kBADhCrB,OAAOsB,KAAKC,UAChBC,kCAAiBC,0BAAQL,KAAAA,CAAAA,MAAWC,mBAAAA,MAAM,eAAY,QAAlBA,qBAAAA,SAAAA,mBAAsB,IAAE;AAE9D,eAAO;UACLK,OAAO1B;UACP2B,QAAQ3B;QACV;MACF;IACF;EACF;EAEA4B,iBAAiB;IACf9B,UAAU+B,QAAQC,IAAIC,qBAAqB;EAC7C;AACF,CAAA,GAEMC,6BAA6B,uBAEtBC,+BAA2BxC,oBAAOC,8BAAgB;EAC7DC,MAAMqC;EAENnC,UAAU;IACRC,UAAU;MACRC,OAAO;QACL2B,OAAO;QACPC,QAAQ;QACR1B,cAAc;QACdC,iBAAiB;QACjBgC,YAAY;MACd;IACF;EACF;EAEAN,iBAAiB;IACf9B,UAAU+B,QAAQC,IAAIC,qBAAqB;EAC7C;AACF,CAAA,GAEMI,mBAAmB,cAEZC,sBAAkB3C,oBAAOC,8BAAgB;EACpDC,MAAMwC;EAENtC,UAAU;IACRwC,aAAa;MACXC,YAAY;QACVC,eAAe;QACfC,gBAAgB;MAClB;MACAC,UAAU;QACRF,eAAe;QACfC,gBAAgB;MAClB;IACF;EACF;AACF,CAAA;",
|
|
5
|
+
"names": ["RADIO_GROUP_ITEM_NAME", "RadioGroupItemFrame", "styled", "ThemeableStack", "name", "tag", "variants", "unstyled", "false", "size", "borderRadius", "backgroundColor", "alignItems", "justifyContent", "borderWidth", "borderColor", "padding", "hoverStyle", "focusStyle", "focusVisibleStyle", "outlineStyle", "outlineWidth", "outlineColor", "pressStyle", "disabled", "true", "pointerEvents", "userSelect", "cursor", "value", "props", "Math", "floor", "getVariableValue", "getSize", "width", "height", "defaultVariants", "process", "env", "TAMAGUI_HEADLESS", "RADIO_GROUP_INDICATOR_NAME", "RadioGroupIndicatorFrame", "pressTheme", "RADIO_GROUP_NAME", "RadioGroupFrame", "orientation", "horizontal", "flexDirection", "spaceDirection", "vertical"]
|
|
6
6
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var RadioGroupStyledContext_exports = {};
|
|
16
|
+
__export(RadioGroupStyledContext_exports, {
|
|
17
|
+
RadioGroupStyledContext: () => RadioGroupStyledContext
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(RadioGroupStyledContext_exports);
|
|
20
|
+
var import_core = require("@tamagui/core");
|
|
21
|
+
const RadioGroupStyledContext = (0, import_core.createStyledContext)({
|
|
22
|
+
size: "$true",
|
|
23
|
+
scaleIcon: 1
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=RadioGroupStyledContext.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var RadioGroupStyledContext_exports = {};
|
|
17
|
+
__export(RadioGroupStyledContext_exports, {
|
|
18
|
+
RadioGroupStyledContext: () => RadioGroupStyledContext
|
|
19
|
+
});
|
|
20
|
+
module.exports = __toCommonJS(RadioGroupStyledContext_exports);
|
|
21
|
+
var import_core = require("@tamagui/core"), RadioGroupStyledContext = (0, import_core.createStyledContext)({
|
|
22
|
+
size: "$true",
|
|
23
|
+
scaleIcon: 1
|
|
24
|
+
});
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
RadioGroupStyledContext
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=RadioGroupStyledContext.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/RadioGroupStyledContext.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AACA;;;;;kBAAoC,0BAEvBA,8BAA0BC,iCAAoB;EACzDC,MAAM;EACNC,WAAW;AACb,CAAA;",
|
|
5
|
+
"names": ["RadioGroupStyledContext", "createStyledContext", "size", "scaleIcon"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var createRadioGroup_exports = {};
|
|
16
|
+
__export(createRadioGroup_exports, {
|
|
17
|
+
createRadioGroup: () => createRadioGroup
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(createRadioGroup_exports);
|
|
20
|
+
var import_core = require("@tamagui/core"), import_RadioGroup = require("./RadioGroup"), import_radio_headless = require("@tamagui/radio-headless"), import_roving_focus = require("@tamagui/roving-focus"), import_react = require("react"), import_jsx_runtime = require("react/jsx-runtime");
|
|
21
|
+
const ensureContext = (x) => {
|
|
22
|
+
x.context || (x.context = RadioGroupContext);
|
|
23
|
+
}, RadioGroupContext = (0, import_react.createContext)({}), RadioGroupItemContext = (0, import_react.createContext)({
|
|
24
|
+
checked: !1,
|
|
25
|
+
disabled: !1
|
|
26
|
+
});
|
|
27
|
+
function createRadioGroup(createProps) {
|
|
28
|
+
const {
|
|
29
|
+
disableActiveTheme,
|
|
30
|
+
Frame = import_RadioGroup.RadioGroupFrame,
|
|
31
|
+
Indicator = import_RadioGroup.RadioGroupIndicatorFrame,
|
|
32
|
+
Item = import_RadioGroup.RadioGroupItemFrame
|
|
33
|
+
} = createProps;
|
|
34
|
+
ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
|
|
35
|
+
const RadioGroupImp = Frame.styleable((props, ref) => {
|
|
36
|
+
const {
|
|
37
|
+
value,
|
|
38
|
+
defaultValue,
|
|
39
|
+
onValueChange,
|
|
40
|
+
required = !1,
|
|
41
|
+
disabled = !1,
|
|
42
|
+
name,
|
|
43
|
+
native,
|
|
44
|
+
accentColor,
|
|
45
|
+
orientation = "vertical",
|
|
46
|
+
...rest
|
|
47
|
+
} = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
|
|
48
|
+
orientation,
|
|
49
|
+
name,
|
|
50
|
+
defaultValue,
|
|
51
|
+
value,
|
|
52
|
+
onValueChange,
|
|
53
|
+
required,
|
|
54
|
+
disabled,
|
|
55
|
+
native,
|
|
56
|
+
accentColor
|
|
57
|
+
});
|
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupContext.Provider, { value: providerValue, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_roving_focus.RovingFocusGroup, { ...rovingFocusGroupAttrs, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RadioGroup.RadioGroupFrame, { ...frameAttrs, ref, ...rest }) }) });
|
|
59
|
+
}), RadioGroupItemImp = Item.styleable((props, ref) => {
|
|
60
|
+
const {
|
|
61
|
+
value,
|
|
62
|
+
labelledBy,
|
|
63
|
+
onPress,
|
|
64
|
+
//@ts-expect-error
|
|
65
|
+
onKeyDown,
|
|
66
|
+
disabled,
|
|
67
|
+
id,
|
|
68
|
+
...rest
|
|
69
|
+
} = props, {
|
|
70
|
+
providerValue,
|
|
71
|
+
bubbleInput,
|
|
72
|
+
rovingFocusGroupAttrs,
|
|
73
|
+
frameAttrs,
|
|
74
|
+
isFormControl,
|
|
75
|
+
native
|
|
76
|
+
} = (0, import_radio_headless.useRadioGroupItem)({
|
|
77
|
+
radioGroupContext: RadioGroupContext,
|
|
78
|
+
value,
|
|
79
|
+
id,
|
|
80
|
+
labelledBy,
|
|
81
|
+
disabled,
|
|
82
|
+
onPress,
|
|
83
|
+
onKeyDown
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupItemContext.Provider, { value: providerValue, children: import_core.isWeb && native ? bubbleInput : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
86
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_roving_focus.RovingFocusGroup.Item, { ...rovingFocusGroupAttrs, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RadioGroup.RadioGroupItemFrame, { ...frameAttrs, ref, ...rest }) }),
|
|
87
|
+
isFormControl && bubbleInput
|
|
88
|
+
] }) });
|
|
89
|
+
});
|
|
90
|
+
RadioGroupItemImp.displayName = "RadioGroupItem";
|
|
91
|
+
const RadioIndicator = Indicator.styleable(
|
|
92
|
+
(props, forwardedRef) => {
|
|
93
|
+
const { forceMount, disabled, ...indicatorProps } = props, { checked, ...useIndicatorRest } = (0, import_radio_headless.useRadioGroupItemIndicator)({
|
|
94
|
+
radioGroupItemContext: RadioGroupItemContext,
|
|
95
|
+
disabled
|
|
96
|
+
});
|
|
97
|
+
return forceMount || checked ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Indicator, { ...useIndicatorRest, ref: forwardedRef, ...indicatorProps }) : null;
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
RadioIndicator.displayName = "RadioIndicator";
|
|
101
|
+
const RadioGroup = (0, import_core.withStaticProperties)(RadioGroupImp, {
|
|
102
|
+
Item: RadioGroupItemImp,
|
|
103
|
+
Indicator: RadioIndicator
|
|
104
|
+
});
|
|
105
|
+
return RadioGroup.displayName = "RadioGroup", RadioGroup;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=createRadioGroup.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/createRadioGroup.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,kBAA4C,0BAE5C,oBAIO,yBAaP,wBAIO,oCACP,sBAAiC,kCACjC,eAA8B,kBA4FpB;AA7GV,MAAM,gBAAgB,CAAC,MAAW;AAChC,EAAK,EAAE,YACL,EAAE,UAAU;AAEhB,GAcM,wBAAoB,4BAAsC,CAAC,CAAC,GAC5D,4BAAwB,4BAA0C;AAAA,EACtE,SAAS;AAAA,EACT,UAAU;AACZ,CAAC;AA0BM,SAAS,iBAId,aAAmF;AACnF,QAAM;AAAA,IACJ;AAAA,IACA,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,IAAI;AAOJ,gBAAc,KAAK,GACnB,cAAc,SAAS,GACvB,cAAc,IAAI;AAalB,QAAM,gBAAgB,MAAM,UAA2B,CAAC,OAAO,QAAQ;AACrE,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,MACX,WAAW;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAc;AAAA,MACd,GAAG;AAAA,IACL,IAAI,OAEE,EAAE,eAAe,YAAY,sBAAsB,QAAI,qCAAc;AAAA,MACzE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC;AAED,WACE,4CAAC,kBAAkB,UAAlB,EAA2B,OAAO,eACjC,sDAAC,wCAAkB,GAAG,uBACpB,sDAAC,qCAAiB,GAAG,YAAY,KAAW,GAAG,MAAM,GACvD,GACF;AAAA,EAEJ,CAAC,GAEK,oBAAoB,KAAK,UAA+B,CAAC,OAAO,QAAQ;AAC5E,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MAEA;AAAA,MACA;AAAA,MACA;AAAA,MACA,GAAG;AAAA,IACL,IAAI,OAEE;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,QAAI,yCAAkB;AAAA,MACpB,mBAAmB;AAAA,MACnB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC;AAED,WACE,4CAAC,sBAAsB,UAAtB,EAA+B,OAAO,eACpC,+BAAS,SACR,cAEA,4EACE;AAAA,kDAAC,qCAAiB,MAAjB,EAAuB,GAAG,uBACzB,sDAAC,yCAAqB,GAAG,YAAY,KAAW,GAAG,MAAM,GAC3D;AAAA,MACC,iBAAiB;AAAA,OACpB,GAEJ;AAAA,EAEJ,CAAC;AAED,oBAAkB,cAAc;AAEhC,QAAM,iBAAiB,UAAU;AAAA,IAC/B,CAAC,OAA4B,iBAAiB;AAC5C,YAAM,EAAE,YAAY,UAAU,GAAG,eAAe,IAAI,OAC9C,EAAE,SAAS,GAAG,iBAAiB,QAAI,kDAA2B;AAAA,QAClE,uBAAuB;AAAA,QACvB;AAAA,MACF,CAAC;AAED,aAAI,cAAc,UACT,4CAAC,aAAW,GAAG,kBAAkB,KAAK,cAAe,GAAG,gBAAgB,IAG1E;AAAA,IACT;AAAA,EACF;AAEA,iBAAe,cAAc;AAE7B,QAAM,iBAAa,kCAAqB,eAAe;AAAA,IACrD,MAAM;AAAA,IACN,WAAW;AAAA,EACb,CAAC;AACD,oBAAW,cAAc,cAElB;AACT;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|