@tamagui/select 2.0.0-rc.4 → 2.0.0-rc.40
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/BubbleSelect.cjs +28 -23
- package/dist/cjs/BubbleSelect.native.js +12 -10
- package/dist/cjs/BubbleSelect.native.js.map +1 -1
- package/dist/cjs/Select.cjs +402 -376
- package/dist/cjs/Select.native.js +428 -414
- package/dist/cjs/Select.native.js.map +1 -1
- package/dist/cjs/SelectContent.cjs +73 -66
- package/dist/cjs/SelectContent.native.js +12 -10
- package/dist/cjs/SelectContent.native.js.map +1 -1
- package/dist/cjs/SelectImpl.cjs +239 -176
- package/dist/cjs/SelectImpl.native.js +21 -16
- package/dist/cjs/SelectImpl.native.js.map +1 -1
- package/dist/cjs/SelectItem.cjs +189 -137
- package/dist/cjs/SelectItem.native.js +211 -164
- package/dist/cjs/SelectItem.native.js.map +1 -1
- package/dist/cjs/SelectItemText.cjs +82 -68
- package/dist/cjs/SelectItemText.native.js +81 -69
- package/dist/cjs/SelectItemText.native.js.map +1 -1
- package/dist/cjs/SelectScrollButton.cjs +104 -83
- package/dist/cjs/SelectScrollButton.native.js +17 -15
- package/dist/cjs/SelectScrollButton.native.js.map +1 -1
- package/dist/cjs/SelectTrigger.cjs +81 -77
- package/dist/cjs/SelectTrigger.native.js +43 -40
- package/dist/cjs/SelectTrigger.native.js.map +1 -1
- package/dist/cjs/SelectViewport.cjs +141 -103
- package/dist/cjs/SelectViewport.native.js +39 -37
- package/dist/cjs/SelectViewport.native.js.map +1 -1
- package/dist/cjs/constants.cjs +19 -17
- package/dist/cjs/constants.native.js +19 -17
- package/dist/cjs/constants.native.js.map +1 -1
- package/dist/cjs/context.cjs +38 -27
- package/dist/cjs/context.native.js +46 -38
- package/dist/cjs/context.native.js.map +1 -1
- package/dist/cjs/index.cjs +7 -5
- package/dist/cjs/index.native.js +7 -5
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/types.cjs +7 -5
- package/dist/cjs/types.native.js +7 -5
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/useSelectBreakpointActive.cjs +13 -11
- package/dist/cjs/useSelectBreakpointActive.native.js +17 -15
- package/dist/cjs/useSelectBreakpointActive.native.js.map +1 -1
- package/dist/esm/BubbleSelect.mjs +16 -13
- package/dist/esm/BubbleSelect.mjs.map +1 -1
- package/dist/esm/Select.mjs +356 -331
- package/dist/esm/Select.mjs.map +1 -1
- package/dist/esm/Select.native.js +381 -369
- package/dist/esm/Select.native.js.map +1 -1
- package/dist/esm/SelectContent.mjs +55 -39
- package/dist/esm/SelectContent.mjs.map +1 -1
- package/dist/esm/SelectImpl.mjs +208 -147
- package/dist/esm/SelectImpl.mjs.map +1 -1
- package/dist/esm/SelectImpl.native.js +4 -1
- package/dist/esm/SelectImpl.native.js.map +1 -1
- package/dist/esm/SelectItem.mjs +157 -107
- package/dist/esm/SelectItem.mjs.map +1 -1
- package/dist/esm/SelectItem.native.js +180 -135
- package/dist/esm/SelectItem.native.js.map +1 -1
- package/dist/esm/SelectItemText.mjs +50 -38
- package/dist/esm/SelectItemText.mjs.map +1 -1
- package/dist/esm/SelectItemText.native.js +50 -40
- package/dist/esm/SelectItemText.native.js.map +1 -1
- package/dist/esm/SelectScrollButton.mjs +74 -55
- package/dist/esm/SelectScrollButton.mjs.map +1 -1
- package/dist/esm/SelectScrollButton.native.js +5 -5
- package/dist/esm/SelectScrollButton.native.js.map +1 -1
- package/dist/esm/SelectTrigger.mjs +51 -49
- package/dist/esm/SelectTrigger.mjs.map +1 -1
- package/dist/esm/SelectTrigger.native.js +13 -12
- package/dist/esm/SelectTrigger.native.js.map +1 -1
- package/dist/esm/SelectViewport.mjs +108 -83
- package/dist/esm/SelectViewport.mjs.map +1 -1
- package/dist/esm/SelectViewport.native.js +7 -7
- package/dist/esm/SelectViewport.native.js.map +1 -1
- package/dist/esm/constants.mjs +7 -7
- package/dist/esm/constants.mjs.map +1 -1
- package/dist/esm/constants.native.js +7 -7
- package/dist/esm/constants.native.js.map +1 -1
- package/dist/esm/context.mjs +22 -14
- package/dist/esm/context.mjs.map +1 -1
- package/dist/esm/context.native.js +30 -25
- package/dist/esm/context.native.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/useSelectBreakpointActive.mjs +1 -1
- package/dist/esm/useSelectBreakpointActive.mjs.map +1 -1
- package/dist/esm/useSelectBreakpointActive.native.js +1 -1
- package/dist/esm/useSelectBreakpointActive.native.js.map +1 -1
- package/dist/jsx/BubbleSelect.mjs +16 -13
- package/dist/jsx/BubbleSelect.mjs.map +1 -1
- package/dist/jsx/BubbleSelect.native.js +12 -10
- package/dist/jsx/BubbleSelect.native.js.map +1 -1
- package/dist/jsx/Select.mjs +356 -331
- package/dist/jsx/Select.mjs.map +1 -1
- package/dist/jsx/Select.native.js +428 -414
- package/dist/jsx/Select.native.js.map +1 -1
- package/dist/jsx/SelectContent.mjs +55 -39
- package/dist/jsx/SelectContent.mjs.map +1 -1
- package/dist/jsx/SelectContent.native.js +12 -10
- package/dist/jsx/SelectContent.native.js.map +1 -1
- package/dist/jsx/SelectImpl.mjs +208 -147
- package/dist/jsx/SelectImpl.mjs.map +1 -1
- package/dist/jsx/SelectImpl.native.js +21 -16
- package/dist/jsx/SelectImpl.native.js.map +1 -1
- package/dist/jsx/SelectItem.mjs +157 -107
- package/dist/jsx/SelectItem.mjs.map +1 -1
- package/dist/jsx/SelectItem.native.js +211 -164
- package/dist/jsx/SelectItem.native.js.map +1 -1
- package/dist/jsx/SelectItemText.mjs +50 -38
- package/dist/jsx/SelectItemText.mjs.map +1 -1
- package/dist/jsx/SelectItemText.native.js +81 -69
- package/dist/jsx/SelectItemText.native.js.map +1 -1
- package/dist/jsx/SelectScrollButton.mjs +74 -55
- package/dist/jsx/SelectScrollButton.mjs.map +1 -1
- package/dist/jsx/SelectScrollButton.native.js +17 -15
- package/dist/jsx/SelectScrollButton.native.js.map +1 -1
- package/dist/jsx/SelectTrigger.mjs +51 -49
- package/dist/jsx/SelectTrigger.mjs.map +1 -1
- package/dist/jsx/SelectTrigger.native.js +43 -40
- package/dist/jsx/SelectTrigger.native.js.map +1 -1
- package/dist/jsx/SelectViewport.mjs +108 -83
- package/dist/jsx/SelectViewport.mjs.map +1 -1
- package/dist/jsx/SelectViewport.native.js +39 -37
- package/dist/jsx/SelectViewport.native.js.map +1 -1
- package/dist/jsx/constants.mjs +7 -7
- package/dist/jsx/constants.mjs.map +1 -1
- package/dist/jsx/constants.native.js +19 -17
- package/dist/jsx/constants.native.js.map +1 -1
- package/dist/jsx/context.mjs +22 -14
- package/dist/jsx/context.mjs.map +1 -1
- package/dist/jsx/context.native.js +46 -38
- package/dist/jsx/context.native.js.map +1 -1
- package/dist/jsx/index.js +2 -2
- package/dist/jsx/index.js.map +1 -6
- package/dist/jsx/index.native.js +7 -5
- package/dist/jsx/types.native.js +7 -5
- package/dist/jsx/useSelectBreakpointActive.mjs +1 -1
- package/dist/jsx/useSelectBreakpointActive.mjs.map +1 -1
- package/dist/jsx/useSelectBreakpointActive.native.js +17 -15
- package/dist/jsx/useSelectBreakpointActive.native.js.map +1 -1
- package/package.json +31 -35
- package/src/Select.tsx +16 -1
- package/src/SelectContent.tsx +47 -36
- package/src/SelectImpl.tsx +51 -49
- package/src/SelectItem.tsx +17 -7
- package/src/SelectScrollButton.tsx +1 -1
- package/src/SelectTrigger.tsx +1 -1
- package/src/SelectViewport.tsx +42 -22
- package/src/context.tsx +4 -0
- package/src/types.tsx +44 -4
- package/types/Select.d.ts +2 -2
- package/types/Select.d.ts.map +1 -1
- package/types/SelectContent.d.ts +1 -1
- package/types/SelectContent.d.ts.map +1 -1
- package/types/SelectImpl.d.ts.map +1 -1
- package/types/SelectItem.d.ts.map +1 -1
- package/types/SelectTrigger.d.ts +1 -1
- package/types/SelectViewport.d.ts.map +1 -1
- package/types/context.d.ts +1 -0
- package/types/context.d.ts.map +1 -1
- package/types/types.d.ts +33 -3
- package/types/types.d.ts.map +1 -1
- package/dist/cjs/BubbleSelect.js +0 -34
- package/dist/cjs/BubbleSelect.js.map +0 -6
- package/dist/cjs/Select.js +0 -402
- package/dist/cjs/Select.js.map +0 -6
- package/dist/cjs/SelectContent.js +0 -57
- package/dist/cjs/SelectContent.js.map +0 -6
- package/dist/cjs/SelectImpl.js +0 -222
- package/dist/cjs/SelectImpl.js.map +0 -6
- package/dist/cjs/SelectItem.js +0 -166
- package/dist/cjs/SelectItem.js.map +0 -6
- package/dist/cjs/SelectItemText.js +0 -64
- package/dist/cjs/SelectItemText.js.map +0 -6
- package/dist/cjs/SelectScrollButton.js +0 -105
- package/dist/cjs/SelectScrollButton.js.map +0 -6
- package/dist/cjs/SelectTrigger.js +0 -81
- package/dist/cjs/SelectTrigger.js.map +0 -6
- package/dist/cjs/SelectViewport.js +0 -114
- package/dist/cjs/SelectViewport.js.map +0 -6
- package/dist/cjs/constants.js +0 -27
- package/dist/cjs/constants.js.map +0 -6
- package/dist/cjs/context.js +0 -33
- package/dist/cjs/context.js.map +0 -6
- package/dist/cjs/index.js +0 -16
- package/dist/cjs/index.js.map +0 -6
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/types.js.map +0 -6
- package/dist/cjs/useSelectBreakpointActive.js +0 -25
- package/dist/cjs/useSelectBreakpointActive.js.map +0 -6
- package/dist/esm/BubbleSelect.js +0 -17
- package/dist/esm/BubbleSelect.js.map +0 -6
- package/dist/esm/Select.js +0 -412
- package/dist/esm/Select.js.map +0 -6
- package/dist/esm/SelectContent.js +0 -39
- package/dist/esm/SelectContent.js.map +0 -6
- package/dist/esm/SelectImpl.js +0 -223
- package/dist/esm/SelectImpl.js.map +0 -6
- package/dist/esm/SelectItem.js +0 -148
- package/dist/esm/SelectItem.js.map +0 -6
- package/dist/esm/SelectItemText.js +0 -46
- package/dist/esm/SelectItemText.js.map +0 -6
- package/dist/esm/SelectScrollButton.js +0 -87
- package/dist/esm/SelectScrollButton.js.map +0 -6
- package/dist/esm/SelectTrigger.js +0 -61
- package/dist/esm/SelectTrigger.js.map +0 -6
- package/dist/esm/SelectViewport.js +0 -112
- package/dist/esm/SelectViewport.js.map +0 -6
- package/dist/esm/constants.js +0 -11
- package/dist/esm/constants.js.map +0 -6
- package/dist/esm/context.js +0 -19
- package/dist/esm/context.js.map +0 -6
- package/dist/esm/types.js +0 -1
- package/dist/esm/types.js.map +0 -6
- package/dist/esm/useSelectBreakpointActive.js +0 -9
- package/dist/esm/useSelectBreakpointActive.js.map +0 -6
- package/dist/jsx/BubbleSelect.js +0 -17
- package/dist/jsx/BubbleSelect.js.map +0 -6
- package/dist/jsx/Select.js +0 -412
- package/dist/jsx/Select.js.map +0 -6
- package/dist/jsx/SelectContent.js +0 -39
- package/dist/jsx/SelectContent.js.map +0 -6
- package/dist/jsx/SelectImpl.js +0 -223
- package/dist/jsx/SelectImpl.js.map +0 -6
- package/dist/jsx/SelectItem.js +0 -148
- package/dist/jsx/SelectItem.js.map +0 -6
- package/dist/jsx/SelectItemText.js +0 -46
- package/dist/jsx/SelectItemText.js.map +0 -6
- package/dist/jsx/SelectScrollButton.js +0 -87
- package/dist/jsx/SelectScrollButton.js.map +0 -6
- package/dist/jsx/SelectTrigger.js +0 -61
- package/dist/jsx/SelectTrigger.js.map +0 -6
- package/dist/jsx/SelectViewport.js +0 -112
- package/dist/jsx/SelectViewport.js.map +0 -6
- package/dist/jsx/constants.js +0 -11
- package/dist/jsx/constants.js.map +0 -6
- package/dist/jsx/context.js +0 -19
- package/dist/jsx/context.js.map +0 -6
- package/dist/jsx/types.js +0 -1
- package/dist/jsx/types.js.map +0 -6
- package/dist/jsx/useSelectBreakpointActive.js +0 -9
- package/dist/jsx/useSelectBreakpointActive.js.map +0 -6
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var SelectTrigger_exports = {};
|
|
24
|
-
__export(SelectTrigger_exports, {
|
|
25
|
-
SelectTrigger: () => SelectTrigger
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(SelectTrigger_exports);
|
|
28
|
-
var import_compose_refs = require("@tamagui/compose-refs"), import_list_item = require("@tamagui/list-item"), React = __toESM(require("react"), 1), import_context = require("./context"), import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
-
const TRIGGER_NAME = "SelectTrigger", isPointerCoarse = typeof window < "u" ? window.matchMedia("(pointer:coarse)").matches : !0, SelectTrigger = React.forwardRef(
|
|
30
|
-
function(props, forwardedRef) {
|
|
31
|
-
const { scope, disabled = !1, unstyled = !1, ...triggerProps } = props, context = (0, import_context.useSelectContext)(scope), itemParentContext = (0, import_context.useSelectItemParentContext)(scope), composedRefs = (0, import_compose_refs.useComposedRefs)(
|
|
32
|
-
forwardedRef,
|
|
33
|
-
context.floatingContext?.refs.setReference
|
|
34
|
-
);
|
|
35
|
-
return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
36
|
-
import_list_item.ListItem,
|
|
37
|
-
{
|
|
38
|
-
componentName: TRIGGER_NAME,
|
|
39
|
-
unstyled,
|
|
40
|
-
render: "button",
|
|
41
|
-
type: "button",
|
|
42
|
-
id: itemParentContext.id,
|
|
43
|
-
...!unstyled && {
|
|
44
|
-
focusVisibleStyle: {
|
|
45
|
-
outlineStyle: "solid",
|
|
46
|
-
outlineWidth: 2,
|
|
47
|
-
outlineColor: "$outlineColor"
|
|
48
|
-
},
|
|
49
|
-
borderWidth: 1,
|
|
50
|
-
size: itemParentContext.size
|
|
51
|
-
},
|
|
52
|
-
role: "combobox",
|
|
53
|
-
"aria-haspopup": "listbox",
|
|
54
|
-
"aria-expanded": context.open,
|
|
55
|
-
"aria-autocomplete": "none",
|
|
56
|
-
dir: context.dir,
|
|
57
|
-
disabled,
|
|
58
|
-
"data-disabled": disabled ? "" : void 0,
|
|
59
|
-
...triggerProps,
|
|
60
|
-
ref: composedRefs,
|
|
61
|
-
...itemParentContext.interactions ? {
|
|
62
|
-
...itemParentContext.interactions.getReferenceProps(),
|
|
63
|
-
...isPointerCoarse ? {
|
|
64
|
-
onPress() {
|
|
65
|
-
itemParentContext.setOpen(!context.open);
|
|
66
|
-
}
|
|
67
|
-
} : {
|
|
68
|
-
onMouseDown() {
|
|
69
|
-
context.floatingContext?.update(), itemParentContext.setOpen(!context.open);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
} : {
|
|
73
|
-
onPress() {
|
|
74
|
-
itemParentContext.setOpen(!context.open);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
//# sourceMappingURL=SelectTrigger.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/SelectTrigger.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAgC,kCAGhC,mBAAyB,+BACzB,QAAuB,8BAEvB,iBAA6D,sBAiCvD;AA3BN,MAAM,eAAe,iBAIf,kBACJ,OAAO,SAAW,MACd,OAAO,WAAW,kBAAkB,EAAE,UACtC,IAEO,gBAAgB,MAAM;AAAA,EACjC,SAAuB,OAA2B,cAAc;AAC9D,UAAM,EAAE,OAAO,WAAW,IAAO,WAAW,IAAO,GAAG,aAAa,IAAI,OAEjE,cAAU,iCAAiB,KAAK,GAChC,wBAAoB,2CAA2B,KAAK,GACpD,mBAAe;AAAA,MACnB;AAAA,MACA,QAAQ,iBAAiB,KAAK;AAAA,IAChC;AAIA,WAAI,kBAAkB,wBACb,OAIP;AAAA,MAAC;AAAA;AAAA,QACC,eAAe;AAAA,QACf;AAAA,QACA,QAAO;AAAA,QACP,MAAK;AAAA,QACL,IAAI,kBAAkB;AAAA,QACrB,GAAI,CAAC,YAAY;AAAA,UAChB,mBAAmB;AAAA,YACjB,cAAc;AAAA,YACd,cAAc;AAAA,YACd,cAAc;AAAA,UAChB;AAAA,UACA,aAAa;AAAA,UACb,MAAM,kBAAkB;AAAA,QAC1B;AAAA,QACA,MAAK;AAAA,QACL,iBAAc;AAAA,QACd,iBAAe,QAAQ;AAAA,QACvB,qBAAkB;AAAA,QAClB,KAAK,QAAQ;AAAA,QACb;AAAA,QACA,iBAAe,WAAW,KAAK;AAAA,QAC9B,GAAG;AAAA,QACJ,KAAK;AAAA,QACJ,GAA4C,kBAAkB,eAC3D;AAAA,UACE,GAAG,kBAAkB,aAAa,kBAAkB;AAAA,UACpD,GAAI,kBACA;AAAA,YACE,UAAU;AACR,gCAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,YACzC;AAAA,UACF,IACA;AAAA,YACE,cAAc;AACZ,sBAAQ,iBAAiB,OAAO,GAChC,kBAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,YACzC;AAAA,UACF;AAAA,QACN,IACA;AAAA,UACE,UAAU;AACR,8BAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,UACzC;AAAA,QACF;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
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 SelectViewport_exports = {};
|
|
16
|
-
__export(SelectViewport_exports, {
|
|
17
|
-
SelectViewport: () => SelectViewport,
|
|
18
|
-
SelectViewportFrame: () => SelectViewportFrame
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(SelectViewport_exports);
|
|
21
|
-
var import_react = require("@floating-ui/react"), import_adapt = require("@tamagui/adapt"), import_animate_presence = require("@tamagui/animate-presence"), import_compose_refs = require("@tamagui/compose-refs"), import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core"), import_portal = require("@tamagui/portal"), import_stacks = require("@tamagui/stacks"), import_constants2 = require("./constants"), import_context = require("./context"), import_jsx_runtime = require("react/jsx-runtime");
|
|
22
|
-
const SelectViewportFrame = (0, import_core.styled)(import_stacks.YStack, {
|
|
23
|
-
name: import_constants2.VIEWPORT_NAME,
|
|
24
|
-
variants: {
|
|
25
|
-
unstyled: {
|
|
26
|
-
false: {
|
|
27
|
-
size: "$2",
|
|
28
|
-
backgroundColor: "$background",
|
|
29
|
-
elevate: !0,
|
|
30
|
-
bordered: !0,
|
|
31
|
-
userSelect: "none",
|
|
32
|
-
outlineWidth: 0
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
"...size": (val, { tokens }) => ({
|
|
37
|
-
borderRadius: tokens.radius[val] ?? val
|
|
38
|
-
})
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
defaultVariants: {
|
|
42
|
-
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
43
|
-
}
|
|
44
|
-
}), needsRepropagation = (0, import_portal.needsPortalRepropagation)(), SelectViewport = SelectViewportFrame.styleable(
|
|
45
|
-
function(props, forwardedRef) {
|
|
46
|
-
const { scope, children, disableScroll, ...viewportProps } = props, context = (0, import_context.useSelectContext)(scope), itemContext = (0, import_context.useSelectItemParentContext)(scope), isAdapted = (0, import_adapt.useAdaptIsActive)(context.adaptScope), composedRefs = (0, import_compose_refs.useComposedRefs)(
|
|
47
|
-
// @ts-ignore TODO react 19 type needs fix
|
|
48
|
-
forwardedRef,
|
|
49
|
-
context.floatingContext?.refs.setFloating
|
|
50
|
-
);
|
|
51
|
-
if ((0, import_constants.useIsomorphicLayoutEffect)(() => {
|
|
52
|
-
context.update && context.update();
|
|
53
|
-
}, [isAdapted]), itemContext.shouldRenderWebNative)
|
|
54
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_stacks.YStack, { position: "relative", children });
|
|
55
|
-
if (isAdapted || !import_constants.isWeb) {
|
|
56
|
-
let content = children;
|
|
57
|
-
return needsRepropagation && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_context.ForwardSelectContext, { itemContext, context, children: content })), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_adapt.AdaptPortalContents, { scope: context.adaptScope, children: content });
|
|
58
|
-
}
|
|
59
|
-
if (!itemContext.interactions)
|
|
60
|
-
return process.env.NODE_ENV === "development" && console.warn("No interactions provided to Select, potentially missing Adapt"), null;
|
|
61
|
-
const {
|
|
62
|
-
style,
|
|
63
|
-
// remove this, it was set to "Select" always
|
|
64
|
-
className,
|
|
65
|
-
...floatingProps
|
|
66
|
-
} = itemContext.interactions.getFloatingProps();
|
|
67
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
68
|
-
!disableScroll && !props.unstyled && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
69
|
-
"style",
|
|
70
|
-
{
|
|
71
|
-
dangerouslySetInnerHTML: {
|
|
72
|
-
__html: selectViewportCSS
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_animate_presence.AnimatePresence, { children: context.open ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
77
|
-
import_react.FloatingFocusManager,
|
|
78
|
-
{
|
|
79
|
-
context: context.floatingContext,
|
|
80
|
-
modal: !1,
|
|
81
|
-
initialFocus: -1,
|
|
82
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
|
-
SelectViewportFrame,
|
|
84
|
-
{
|
|
85
|
-
size: itemContext.size,
|
|
86
|
-
role: "presentation",
|
|
87
|
-
...viewportProps,
|
|
88
|
-
...style,
|
|
89
|
-
...floatingProps,
|
|
90
|
-
...!props.unstyled && {
|
|
91
|
-
overflowY: disableScroll ? void 0 : style.overflow ?? "auto"
|
|
92
|
-
},
|
|
93
|
-
ref: composedRefs,
|
|
94
|
-
children
|
|
95
|
-
},
|
|
96
|
-
"select-viewport"
|
|
97
|
-
)
|
|
98
|
-
}
|
|
99
|
-
) : null }),
|
|
100
|
-
!context.open && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { display: "none" }, children: props.children })
|
|
101
|
-
] });
|
|
102
|
-
}
|
|
103
|
-
), selectViewportCSS = `
|
|
104
|
-
.is_SelectViewport {
|
|
105
|
-
scrollbar-width: none;
|
|
106
|
-
-webkit-overflow-scrolling: touch;
|
|
107
|
-
overscroll-behavior: contain;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.is_SelectViewport::-webkit-scrollbar{
|
|
111
|
-
display:none
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
114
|
-
//# sourceMappingURL=SelectViewport.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/SelectViewport.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAqC,+BACrC,eAAsD,2BACtD,0BAAgC,sCAChC,sBAAgC,kCAChC,mBAAiD,+BACjD,cAAuB,0BACvB,gBAAyC,4BACzC,gBAAuB,4BACvBA,oBAA8B,wBAC9B,iBAIO,sBA0DM;AAnDN,MAAM,0BAAsB,oBAAO,sBAAQ;AAAA,EAChD,MAAM;AAAA,EAEN,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,MAAM;AAAA,QACN,iBAAiB;AAAA,QACjB,SAAS;AAAA,QACT,UAAU;AAAA,QACV,YAAY;AAAA,QACZ,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,OAAO,OACjB;AAAA,QACL,cAAc,OAAO,OAAO,GAAG,KAAK;AAAA,MACtC;AAAA,IAEJ;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU,QAAQ,IAAI,qBAAqB;AAAA,EAC7C;AACF,CAAC,GAEK,yBAAqB,wCAAyB,GAEvC,iBAAiB,oBAAoB;AAAA,EAChD,SAAwB,OAAO,cAAc;AAC3C,UAAM,EAAE,OAAO,UAAU,eAAe,GAAG,cAAc,IAAI,OACvD,cAAU,iCAAiB,KAAK,GAChC,kBAAc,2CAA2B,KAAK,GAC9C,gBAAY,+BAAiB,QAAQ,UAAU,GAE/C,mBAAe;AAAA;AAAA,MAEnB;AAAA,MACA,QAAQ,iBAAiB,KAAK;AAAA,IAChC;AAQA,YANA,4CAA0B,MAAM;AAC9B,MAAI,QAAQ,UACV,QAAQ,OAAO;AAAA,IAEnB,GAAG,CAAC,SAAS,CAAC,GAEV,YAAY;AACd,aAAO,4CAAC,wBAAO,UAAS,YAAY,UAAS;AAG/C,QAAI,aAAa,CAAC,wBAAO;AACvB,UAAI,UAAU;AAEd,aAAI,uBACF,UACE,4CAAC,uCAAqB,aAA0B,SAC7C,mBACH,IAKF,4CAAC,oCAAoB,OAAO,QAAQ,YAAa,mBAAQ;AAAA,IAE7D;AAEA,QAAI,CAAC,YAAY;AACf,aAAI,QAAQ,IAAI,aAAa,iBAC3B,QAAQ,KAAK,+DAA+D,GAGvE;AAGT,UAAM;AAAA,MACJ;AAAA;AAAA,MAEA;AAAA,MACA,GAAG;AAAA,IACL,IAAI,YAAY,aAAa,iBAAiB;AAE9C,WACE,4EACG;AAAA,OAAC,iBAAiB,CAAC,MAAM,YACxB;AAAA,QAAC;AAAA;AAAA,UACC,yBAAyB;AAAA,YACvB,QAAQ;AAAA,UACV;AAAA;AAAA,MACF;AAAA,MAEF,4CAAC,2CACE,kBAAQ,OACP;AAAA,QAAC;AAAA;AAAA,UACC,SAAS,QAAQ;AAAA,UACjB,OAAO;AAAA,UACP,cAAc;AAAA,UAEd;AAAA,YAAC;AAAA;AAAA,cAEC,MAAM,YAAY;AAAA,cAClB,MAAK;AAAA,cACJ,GAAG;AAAA,cACH,GAAG;AAAA,cACH,GAAG;AAAA,cACH,GAAI,CAAC,MAAM,YAAY;AAAA,gBACtB,WAAW,gBAAgB,SAAa,MAAM,YAAY;AAAA,cAC5D;AAAA,cACA,KAAK;AAAA,cAEJ;AAAA;AAAA,YAXG;AAAA,UAYN;AAAA;AAAA,MACF,IACE,MACN;AAAA,MAGC,CAAC,QAAQ,QAAQ,4CAAC,SAAI,OAAO,EAAE,SAAS,OAAO,GAAI,gBAAM,UAAS;AAAA,OACrE;AAAA,EAEJ;AACF,GAEM,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
5
|
-
"names": ["import_constants"]
|
|
6
|
-
}
|
package/dist/cjs/constants.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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 constants_exports = {};
|
|
16
|
-
__export(constants_exports, {
|
|
17
|
-
FALLBACK_THRESHOLD: () => FALLBACK_THRESHOLD,
|
|
18
|
-
MIN_HEIGHT: () => MIN_HEIGHT,
|
|
19
|
-
SCROLL_ARROW_THRESHOLD: () => SCROLL_ARROW_THRESHOLD,
|
|
20
|
-
SCROLL_ARROW_VELOCITY: () => SCROLL_ARROW_VELOCITY,
|
|
21
|
-
SELECT_NAME: () => SELECT_NAME,
|
|
22
|
-
VIEWPORT_NAME: () => VIEWPORT_NAME,
|
|
23
|
-
WINDOW_PADDING: () => WINDOW_PADDING
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(constants_exports);
|
|
26
|
-
const SELECT_NAME = "Select", WINDOW_PADDING = 8, SCROLL_ARROW_VELOCITY = 8, SCROLL_ARROW_THRESHOLD = 8, MIN_HEIGHT = 80, FALLBACK_THRESHOLD = 16, VIEWPORT_NAME = "SelectViewport";
|
|
27
|
-
//# sourceMappingURL=constants.js.map
|
package/dist/cjs/context.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
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 context_exports = {};
|
|
16
|
-
__export(context_exports, {
|
|
17
|
-
ForwardSelectContext: () => ForwardSelectContext,
|
|
18
|
-
SelectItemParentProvider: () => SelectItemParentProvider,
|
|
19
|
-
SelectProvider: () => SelectProvider,
|
|
20
|
-
useSelectContext: () => useSelectContext,
|
|
21
|
-
useSelectItemParentContext: () => useSelectItemParentContext
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(context_exports);
|
|
24
|
-
var import_core = require("@tamagui/core"), import_native = require("@tamagui/native"), import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
-
const { Provider: SelectProvider, useStyledContext: useSelectContext } = (0, import_core.createStyledContext)(null, "Select"), {
|
|
26
|
-
Provider: SelectItemParentProvider,
|
|
27
|
-
useStyledContext: useSelectItemParentContext
|
|
28
|
-
} = (0, import_core.createStyledContext)(null, "SelectItem"), ForwardSelectContext = ({
|
|
29
|
-
context,
|
|
30
|
-
itemContext,
|
|
31
|
-
children
|
|
32
|
-
}) => (0, import_native.getPortal)().state.type === "teleport" ? children : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectProvider, { isInSheet: !0, scope: context.scopeName, ...context, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItemParentProvider, { scope: context.scopeName, ...itemContext, children }) });
|
|
33
|
-
//# sourceMappingURL=context.js.map
|
package/dist/cjs/context.js.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/context.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAoC,0BACpC,gBAA0B,4BAgCpB;AA7BC,MAAM,EAAE,UAAU,gBAAgB,kBAAkB,iBAAiB,QAC1E,iCAAwC,MAAa,QAAQ,GAIlD;AAAA,EACX,UAAU;AAAA,EACV,kBAAkB;AACpB,QAAI,iCAAkD,MAAa,YAAY,GAElE,uBAAuB,CAAC;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AACF,UAOsB,yBAAU,EAAE,MAChB,SAAS,aAChB,WAKP,4CAAC,kBAAe,WAAS,IAAC,OAAO,QAAQ,WAAY,GAAG,SACtD,sDAAC,4BAAyB,OAAO,QAAQ,WAAY,GAAG,aACrD,UACH,GACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
-
return to;
|
|
10
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
11
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
-
var index_exports = {};
|
|
13
|
-
module.exports = __toCommonJS(index_exports);
|
|
14
|
-
__reExport(index_exports, require("./Select"), module.exports);
|
|
15
|
-
__reExport(index_exports, require("./context"), module.exports);
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
package/dist/cjs/types.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
-
return to;
|
|
10
|
-
};
|
|
11
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
-
var types_exports = {};
|
|
13
|
-
module.exports = __toCommonJS(types_exports);
|
|
14
|
-
//# sourceMappingURL=types.js.map
|
package/dist/cjs/types.js.map
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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 useSelectBreakpointActive_exports = {};
|
|
16
|
-
__export(useSelectBreakpointActive_exports, {
|
|
17
|
-
useShowSelectSheet: () => useShowSelectSheet
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(useSelectBreakpointActive_exports);
|
|
20
|
-
var import_adapt = require("@tamagui/adapt");
|
|
21
|
-
const useShowSelectSheet = (context) => {
|
|
22
|
-
const breakpointActive = (0, import_adapt.useAdaptIsActive)(context.adaptScope);
|
|
23
|
-
return context.open === !1 ? !1 : breakpointActive;
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=useSelectBreakpointActive.js.map
|
package/dist/esm/BubbleSelect.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useComposedRefs } from "@tamagui/compose-refs";
|
|
2
|
-
import { usePrevious } from "@tamagui/use-previous";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
const BubbleSelect = React.forwardRef((props, forwardedRef) => {
|
|
5
|
-
const { value, ...selectProps } = props, ref = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, ref), prevValue = usePrevious(value);
|
|
6
|
-
return React.useEffect(() => {
|
|
7
|
-
const select = ref.current, selectProto = window.HTMLSelectElement.prototype, setValue = Object.getOwnPropertyDescriptor(
|
|
8
|
-
selectProto,
|
|
9
|
-
"value"
|
|
10
|
-
).set;
|
|
11
|
-
if (prevValue !== value && setValue) {
|
|
12
|
-
const event = new Event("change", { bubbles: !0 });
|
|
13
|
-
setValue.call(select, value), select.dispatchEvent(event);
|
|
14
|
-
}
|
|
15
|
-
}, [prevValue, value]), null;
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=BubbleSelect.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/BubbleSelect.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,YAAY,WAAW;AAGvB,MAAM,eAAe,MAAM,WAGzB,CAAC,OAAO,iBAAiB;AACzB,QAAM,EAAE,OAAO,GAAG,YAAY,IAAI,OAC5B,MAAM,MAAM,OAA0B,IAAI,GAC1C,eAAe,gBAAgB,cAAc,GAAG,GAChD,YAAY,YAAY,KAAK;AAGnC,eAAM,UAAU,MAAM;AACpB,UAAM,SAAS,IAAI,SACb,cAAc,OAAO,kBAAkB,WAKvC,WAJa,OAAO;AAAA,MACxB;AAAA,MACA;AAAA,IACF,EAC4B;AAC5B,QAAI,cAAc,SAAS,UAAU;AACnC,YAAM,QAAQ,IAAI,MAAM,UAAU,EAAE,SAAS,GAAK,CAAC;AACnD,eAAS,KAAK,QAAQ,KAAK,GAC3B,OAAO,cAAc,KAAK;AAAA,IAC5B;AAAA,EACF,GAAG,CAAC,WAAW,KAAK,CAAC,GAed;AAMT,CAAC;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|