@vxrn/native 1.12.8-1774390675831
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/.turbo/turbo-build.log +2 -0
- package/android/build.gradle +32 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/dev/vxrn/native/VxrnNativeModule.kt +117 -0
- package/android/src/main/java/dev/vxrn/native/VxrnNativePackage.kt +16 -0
- package/dist/cjs/color/android.dynamic.types.cjs +16 -0
- package/dist/cjs/color/android.dynamic.types.native.js +19 -0
- package/dist/cjs/color/android.dynamic.types.native.js.map +1 -0
- package/dist/cjs/color/android.material.types.cjs +16 -0
- package/dist/cjs/color/android.material.types.native.js +19 -0
- package/dist/cjs/color/android.material.types.native.js.map +1 -0
- package/dist/cjs/color/index.cjs +66 -0
- package/dist/cjs/color/index.native.js +69 -0
- package/dist/cjs/color/index.native.js.map +1 -0
- package/dist/cjs/color/ios.types.cjs +16 -0
- package/dist/cjs/color/ios.types.native.js +19 -0
- package/dist/cjs/color/ios.types.native.js.map +1 -0
- package/dist/cjs/color/materialColor.cjs +32 -0
- package/dist/cjs/color/materialColor.native.js +43 -0
- package/dist/cjs/color/materialColor.native.js.map +1 -0
- package/dist/cjs/index.cjs +37 -0
- package/dist/cjs/index.native.js +40 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/menu/index.cjs +28 -0
- package/dist/cjs/menu/index.native.js +47 -0
- package/dist/cjs/menu/index.native.js.map +1 -0
- package/dist/cjs/menu/types.cjs +16 -0
- package/dist/cjs/menu/types.native.js +19 -0
- package/dist/cjs/menu/types.native.js.map +1 -0
- package/dist/cjs/split-view/index.cjs +26 -0
- package/dist/cjs/split-view/index.native.js +29 -0
- package/dist/cjs/split-view/index.native.js.map +1 -0
- package/dist/cjs/split-view/split-view.cjs +80 -0
- package/dist/cjs/split-view/split-view.native.js +88 -0
- package/dist/cjs/split-view/split-view.native.js.map +1 -0
- package/dist/cjs/toolbar/index.cjs +32 -0
- package/dist/cjs/toolbar/index.native.js +60 -0
- package/dist/cjs/toolbar/index.native.js.map +1 -0
- package/dist/cjs/toolbar/types.cjs +16 -0
- package/dist/cjs/toolbar/types.native.js +19 -0
- package/dist/cjs/toolbar/types.native.js.map +1 -0
- package/dist/cjs/zoom/index.cjs +36 -0
- package/dist/cjs/zoom/index.native.js +65 -0
- package/dist/cjs/zoom/index.native.js.map +1 -0
- package/dist/cjs/zoom/types.cjs +16 -0
- package/dist/cjs/zoom/types.native.js +19 -0
- package/dist/cjs/zoom/types.native.js.map +1 -0
- package/dist/esm/color/android.dynamic.types.mjs +2 -0
- package/dist/esm/color/android.dynamic.types.mjs.map +1 -0
- package/dist/esm/color/android.dynamic.types.native.js +2 -0
- package/dist/esm/color/android.dynamic.types.native.js.map +1 -0
- package/dist/esm/color/android.material.types.mjs +2 -0
- package/dist/esm/color/android.material.types.mjs.map +1 -0
- package/dist/esm/color/android.material.types.native.js +2 -0
- package/dist/esm/color/android.material.types.native.js.map +1 -0
- package/dist/esm/color/index.mjs +42 -0
- package/dist/esm/color/index.mjs.map +1 -0
- package/dist/esm/color/index.native.js +42 -0
- package/dist/esm/color/index.native.js.map +1 -0
- package/dist/esm/color/ios.types.mjs +2 -0
- package/dist/esm/color/ios.types.mjs.map +1 -0
- package/dist/esm/color/ios.types.native.js +2 -0
- package/dist/esm/color/ios.types.native.js.map +1 -0
- package/dist/esm/color/materialColor.mjs +8 -0
- package/dist/esm/color/materialColor.mjs.map +1 -0
- package/dist/esm/color/materialColor.native.js +16 -0
- package/dist/esm/color/materialColor.native.js.map +1 -0
- package/dist/esm/index.mjs +7 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +7 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/menu/index.mjs +5 -0
- package/dist/esm/menu/index.mjs.map +1 -0
- package/dist/esm/menu/index.native.js +21 -0
- package/dist/esm/menu/index.native.js.map +1 -0
- package/dist/esm/menu/types.mjs +2 -0
- package/dist/esm/menu/types.mjs.map +1 -0
- package/dist/esm/menu/types.native.js +2 -0
- package/dist/esm/menu/types.native.js.map +1 -0
- package/dist/esm/split-view/index.mjs +3 -0
- package/dist/esm/split-view/index.mjs.map +1 -0
- package/dist/esm/split-view/index.native.js +3 -0
- package/dist/esm/split-view/index.native.js.map +1 -0
- package/dist/esm/split-view/split-view.mjs +46 -0
- package/dist/esm/split-view/split-view.mjs.map +1 -0
- package/dist/esm/split-view/split-view.native.js +51 -0
- package/dist/esm/split-view/split-view.native.js.map +1 -0
- package/dist/esm/toolbar/index.mjs +8 -0
- package/dist/esm/toolbar/index.mjs.map +1 -0
- package/dist/esm/toolbar/index.native.js +33 -0
- package/dist/esm/toolbar/index.native.js.map +1 -0
- package/dist/esm/toolbar/types.mjs +2 -0
- package/dist/esm/toolbar/types.mjs.map +1 -0
- package/dist/esm/toolbar/types.native.js +2 -0
- package/dist/esm/toolbar/types.native.js.map +1 -0
- package/dist/esm/zoom/index.mjs +11 -0
- package/dist/esm/zoom/index.mjs.map +1 -0
- package/dist/esm/zoom/index.native.js +37 -0
- package/dist/esm/zoom/index.native.js.map +1 -0
- package/dist/esm/zoom/types.mjs +2 -0
- package/dist/esm/zoom/types.mjs.map +1 -0
- package/dist/esm/zoom/types.native.js +2 -0
- package/dist/esm/zoom/types.native.js.map +1 -0
- package/ios/Menu/MenuActionView.swift +339 -0
- package/ios/Menu/VxrnMenuActionManager.m +47 -0
- package/ios/Toolbar/FontUtils.swift +46 -0
- package/ios/Toolbar/ToolbarHostView.swift +138 -0
- package/ios/Toolbar/ToolbarItemView.swift +334 -0
- package/ios/Toolbar/VxrnToolbarHostManager.m +20 -0
- package/ios/Toolbar/VxrnToolbarItemManager.m +41 -0
- package/ios/VxrnNative-Bridging-Header.h +7 -0
- package/ios/VxrnNative.podspec +31 -0
- package/ios/ZoomTransition/VxrnZoomAlignmentManager.m +22 -0
- package/ios/ZoomTransition/VxrnZoomEnablerManager.m +23 -0
- package/ios/ZoomTransition/VxrnZoomSourceManager.m +24 -0
- package/ios/ZoomTransition/ZoomTransition.swift +384 -0
- package/package.json +82 -0
- package/react-native.config.js +14 -0
- package/src/color/android.dynamic.types.ts +384 -0
- package/src/color/android.material.types.ts +291 -0
- package/src/color/index.native.ts +75 -0
- package/src/color/index.ts +75 -0
- package/src/color/ios.types.ts +156 -0
- package/src/color/materialColor.native.ts +15 -0
- package/src/color/materialColor.ts +7 -0
- package/src/index.ts +20 -0
- package/src/menu/index.native.tsx +28 -0
- package/src/menu/index.ts +7 -0
- package/src/menu/types.ts +32 -0
- package/src/split-view/index.ts +2 -0
- package/src/split-view/split-view.tsx +80 -0
- package/src/toolbar/index.native.tsx +39 -0
- package/src/toolbar/index.ts +11 -0
- package/src/toolbar/types.ts +39 -0
- package/src/zoom/index.native.tsx +56 -0
- package/src/zoom/index.ts +28 -0
- package/src/zoom/types.ts +30 -0
- package/tsconfig.json +7 -0
- package/types/color/android.dynamic.types.d.ts +384 -0
- package/types/color/android.dynamic.types.d.ts.map +1 -0
- package/types/color/android.material.types.d.ts +291 -0
- package/types/color/android.material.types.d.ts.map +1 -0
- package/types/color/index.d.ts +25 -0
- package/types/color/index.d.ts.map +1 -0
- package/types/color/index.native.d.ts +25 -0
- package/types/color/index.native.d.ts.map +1 -0
- package/types/color/ios.types.d.ts +156 -0
- package/types/color/ios.types.d.ts.map +1 -0
- package/types/color/materialColor.d.ts +3 -0
- package/types/color/materialColor.d.ts.map +1 -0
- package/types/color/materialColor.native.d.ts +3 -0
- package/types/color/materialColor.native.d.ts.map +1 -0
- package/types/index.d.ts +10 -0
- package/types/index.d.ts.map +1 -0
- package/types/menu/index.d.ts +4 -0
- package/types/menu/index.d.ts.map +1 -0
- package/types/menu/index.native.d.ts +4 -0
- package/types/menu/index.native.d.ts.map +1 -0
- package/types/menu/types.d.ts +32 -0
- package/types/menu/types.d.ts.map +1 -0
- package/types/split-view/index.d.ts +3 -0
- package/types/split-view/index.d.ts.map +1 -0
- package/types/split-view/split-view.d.ts +19 -0
- package/types/split-view/split-view.d.ts.map +1 -0
- package/types/toolbar/index.d.ts +5 -0
- package/types/toolbar/index.d.ts.map +1 -0
- package/types/toolbar/index.native.d.ts +5 -0
- package/types/toolbar/index.native.d.ts.map +1 -0
- package/types/toolbar/types.d.ts +37 -0
- package/types/toolbar/types.d.ts.map +1 -0
- package/types/zoom/index.d.ts +6 -0
- package/types/zoom/index.d.ts.map +1 -0
- package/types/zoom/index.native.d.ts +6 -0
- package/types/zoom/index.native.d.ts.map +1 -0
- package/types/zoom/types.d.ts +26 -0
- package/types/zoom/types.d.ts.map +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var index_native_exports = {};
|
|
24
|
+
__export(index_native_exports, {
|
|
25
|
+
MenuAction: () => MenuAction
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
28
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
29
|
+
import_react_native = require("react-native"),
|
|
30
|
+
isAvailable = import_react_native.Platform.OS === "ios" && !import_react_native.Platform.isTV,
|
|
31
|
+
MenuActionNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnMenuAction") : null;
|
|
32
|
+
function MenuAction(props) {
|
|
33
|
+
if (!MenuActionNative) return null;
|
|
34
|
+
var {
|
|
35
|
+
image,
|
|
36
|
+
onSelected,
|
|
37
|
+
...rest
|
|
38
|
+
} = props;
|
|
39
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(MenuActionNative, {
|
|
40
|
+
...rest,
|
|
41
|
+
imageSource: image,
|
|
42
|
+
onSelected: onSelected ? function () {
|
|
43
|
+
return onSelected();
|
|
44
|
+
} : void 0
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["index_native_exports","__export","MenuAction","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","isAvailable","Platform","OS","isTV","MenuActionNative","requireNativeComponent","props","image","onSelected","rest","jsx","imageSource"],"sources":["../../../src/menu/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,oBAAA;AAAA,IAAAM,kBAAA,GAA4BC,OAAA;EAC5BC,mBAAA,GAAiDD,OAAA;EAC7CE,WAAA,GAAcD,mBAAA,CAAAE,QAAA,CAASC,EAAA,KAAO,SAAS,CAACH,mBAAA,CAAAE,QAAA,CAASE,IAAA;EACjDC,gBAAA,GAAmBJ,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,gBAAgB,IAAI;AACzE,SAASZ,WAAWa,KAAA,EAAO;EAC9B,IAAI,CAACF,gBAAA,EAAkB,OAAO;EAC9B,IAAI;IAAEG,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIH,KAAA;EACrC,OAAqB,mBAAAT,kBAAA,CAAAa,GAAA,EAAKN,gBAAA,EAAkB;IACxC,GAAGK,IAAA;IACHE,WAAA,EAAaJ,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
}), mod);
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
19
|
+
//# sourceMappingURL=types.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports"],"sources":["../../../src/menu/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var split_view_exports = {};
|
|
22
|
+
__export(split_view_exports, {
|
|
23
|
+
SplitView: () => import_split_view.SplitView
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(split_view_exports);
|
|
26
|
+
var import_split_view = require("./split-view.cjs");
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var split_view_exports = {};
|
|
24
|
+
__export(split_view_exports, {
|
|
25
|
+
SplitView: () => import_split_view.SplitView
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(split_view_exports);
|
|
28
|
+
var import_split_view = require("./split-view.native.js");
|
|
29
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","import_split_view","module","exports"],"sources":["../../../src/split-view/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAC,iBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAV,YAA0B,CAAAK,kBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
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,
|
|
6
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: !0
|
|
28
|
+
}) : target, mod)),
|
|
29
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
30
|
+
value: !0
|
|
31
|
+
}), mod);
|
|
32
|
+
var split_view_exports = {};
|
|
33
|
+
__export(split_view_exports, {
|
|
34
|
+
SplitView: () => SplitView
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(split_view_exports);
|
|
37
|
+
var import_react = __toESM(require("react"), 1),
|
|
38
|
+
import_react_native = require("react-native-web"),
|
|
39
|
+
import_react_native_safe_area_context = require("react-native-safe-area-context"),
|
|
40
|
+
import_experimental = require("react-native-screens/experimental"),
|
|
41
|
+
import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
const IsWithinSplitViewContext = (0, import_react.createContext)(!1);
|
|
43
|
+
function SplitViewColumnComponent(props) {
|
|
44
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Column, {
|
|
45
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native_safe_area_context.SafeAreaProvider, {
|
|
46
|
+
children: props.children
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function SplitViewInspectorComponent(props) {
|
|
51
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Inspector, {
|
|
52
|
+
children: props.children
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function SplitViewNavigator({
|
|
56
|
+
children,
|
|
57
|
+
slot: Slot,
|
|
58
|
+
...splitViewHostProps
|
|
59
|
+
}) {
|
|
60
|
+
if ((0, import_react.useContext)(IsWithinSplitViewContext)) throw new Error("There can only be one SplitView in the navigation hierarchy.");
|
|
61
|
+
if (import_react_native.Platform.OS !== "ios") return console.warn("SplitView is only supported on iOS."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
|
|
62
|
+
const allChildrenArray = import_react.default.Children.toArray(children),
|
|
63
|
+
columnChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent),
|
|
64
|
+
inspectorChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent),
|
|
65
|
+
numberOfSidebars = columnChildren.length;
|
|
66
|
+
if (numberOfSidebars > 2) throw new Error("There can only be two SplitView.Column in the SplitView.");
|
|
67
|
+
return numberOfSidebars + inspectorChildren.length === 0 ? (console.warn("No SplitView.Column found in SplitView."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null) : /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext, {
|
|
68
|
+
value: !0,
|
|
69
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_experimental.Split.Host, {
|
|
70
|
+
...splitViewHostProps,
|
|
71
|
+
children: [columnChildren, /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Column, {
|
|
72
|
+
children: Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null
|
|
73
|
+
}), inspectorChildren]
|
|
74
|
+
}, numberOfSidebars + inspectorChildren.length)
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
const SplitView = Object.assign(SplitViewNavigator, {
|
|
78
|
+
Column: SplitViewColumnComponent,
|
|
79
|
+
Inspector: SplitViewInspectorComponent
|
|
80
|
+
});
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
34
|
+
var split_view_exports = {};
|
|
35
|
+
__export(split_view_exports, {
|
|
36
|
+
SplitView: () => SplitView
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(split_view_exports);
|
|
39
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
+
import_react = __toESM(require("react"), 1),
|
|
41
|
+
import_react_native = require("react-native"),
|
|
42
|
+
import_react_native_safe_area_context = require("react-native-safe-area-context"),
|
|
43
|
+
import_experimental = require("react-native-screens/experimental"),
|
|
44
|
+
IsWithinSplitViewContext = /* @__PURE__ */(0, import_react.createContext)(!1);
|
|
45
|
+
function SplitViewColumnComponent(props) {
|
|
46
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Column, {
|
|
47
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native_safe_area_context.SafeAreaProvider, {
|
|
48
|
+
children: props.children
|
|
49
|
+
})
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function SplitViewInspectorComponent(props) {
|
|
53
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Inspector, {
|
|
54
|
+
children: props.children
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function SplitViewNavigator(param) {
|
|
58
|
+
var {
|
|
59
|
+
children,
|
|
60
|
+
slot: Slot,
|
|
61
|
+
...splitViewHostProps
|
|
62
|
+
} = param;
|
|
63
|
+
if ((0, import_react.useContext)(IsWithinSplitViewContext)) throw new Error("There can only be one SplitView in the navigation hierarchy.");
|
|
64
|
+
if (import_react_native.Platform.OS !== "ios") return console.warn("SplitView is only supported on iOS."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
|
|
65
|
+
var allChildrenArray = import_react.default.Children.toArray(children),
|
|
66
|
+
columnChildren = allChildrenArray.filter(function (child) {
|
|
67
|
+
return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent;
|
|
68
|
+
}),
|
|
69
|
+
inspectorChildren = allChildrenArray.filter(function (child) {
|
|
70
|
+
return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent;
|
|
71
|
+
}),
|
|
72
|
+
numberOfSidebars = columnChildren.length;
|
|
73
|
+
if (numberOfSidebars > 2) throw new Error("There can only be two SplitView.Column in the SplitView.");
|
|
74
|
+
return numberOfSidebars + inspectorChildren.length === 0 ? (console.warn("No SplitView.Column found in SplitView."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null) : /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext, {
|
|
75
|
+
value: !0,
|
|
76
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_experimental.Split.Host, {
|
|
77
|
+
...splitViewHostProps,
|
|
78
|
+
children: [columnChildren, /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_experimental.Split.Column, {
|
|
79
|
+
children: Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null
|
|
80
|
+
}), inspectorChildren]
|
|
81
|
+
}, numberOfSidebars + inspectorChildren.length)
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
var SplitView = Object.assign(SplitViewNavigator, {
|
|
85
|
+
Column: SplitViewColumnComponent,
|
|
86
|
+
Inspector: SplitViewInspectorComponent
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=split-view.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","module","exports","import_jsx_runtime","require","import_react","__toESM","import_react_native","import_react_native_safe_area_context","import_experimental","IsWithinSplitViewContext","createContext","SplitViewColumnComponent","props","jsx","Split","Column","children","SafeAreaProvider","SplitViewInspectorComponent","Inspector","SplitViewNavigator","param","slot","Slot","splitViewHostProps","useContext","Error","Platform","OS","console","warn","allChildrenArray","default","Children","toArray","columnChildren","filter","child","isValidElement","type","inspectorChildren","numberOfSidebars","length","jsxs","Host"],"sources":["../../../src/split-view/split-view.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA;EAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;IAAAC,KAAA;EAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAAiF,CAAAK,kBAAA,CACjF;AAIA,IAAAK,kBAAM,GAAAC,OAAA,oBAA2B;EAAAC,YAAmB,GAAAC,OAAA,CAAAF,OAAA;EAAAG,mBAAA,GAAAH,OAAA;EAAAI,qCAAA,GAAAJ,OAAA;EAAAK,mBAAA,GAAAL,OAAA;EAAAM,wBAAA,sBAAAL,YAAA,CAAAM,aAAA;AAMpD,SAASC,yBAAyBC,KAAA,EAA6B;EAC7D,OACE,mBAAAV,kBAAA,CAAAW,GAAA,EAACL,mBAAA,CAAAM,KAAA,CAAMC,MAAA,EAAN;IAILC,QAAA,qBAAAd,kBAAA,CAAAW,GAAA,EAAAN,qCAAA,CAAAU,gBAAA;MAEAD,QAAS,EAAAJ,KAAA,CAAAI;IACP;EACF;AAQA;AAA4B,SAC1BE,4BAAAN,KAAA;EACA,OAAM,mBAAAV,kBAAA,CAAAW,GAAA,EAAAL,mBAAA,CAAAM,KAAA,CAAAK,SAAA;IACNH,QAAG,EAAAJ,KAAA,CAAAI;EACL,CAAmB;AACjB;AACE,SAAAI,kBAAgBA,CAAAC,KAAA;EAGlB,IAAI;IAAAL,QAAA;IAAAM,IAAA,EAAAC,IAAA;IAAA,GAAAC;EAAgB,IAAAH,KAAA;EAClB,QAAAjB,YAAQ,CAAAqB,UAAK,EAAAhB,wBAAA,GAIf,MAAM,IAAAiB,KAAA,+DACA;EAAkC,IACrCpB,mBAAU,CAAAqB,QAAA,CAAAC,EAAA,YACb,OACMC,OAAA,CAAAC,IAAA,sCAAqC,GAAAP,IAAA,sBAAArB,kBAAA,CAAAW,GAAA,EAAAU,IAAA;EAAA,IACxCQ,gBAAU,GAAA3B,YAAA,CAAA4B,OAAA,CAAAC,QAAoB,CAAAC,OAAK,CAAAlB,QAAM;IAASmB,cAAA,GAAAJ,gBAAA,CAAAK,MAAA,WAAAC,KAAA;MACrD,OACM,eAAmB,IAAAjC,YAAe,CAAAkC,cAAA,EAAAD,KAAA,KAAAA,KAAA,CAAAE,IAAA,KAAA5B,wBAAA;IAExC;IAAI6B,iBAAA,GAAmBT,gBAAA,CAAAK,MAAA,WAAAC,KAAA;MACrB,OAAM,eAAU,IAAAjC,YAAA,CAAAkC,cAAA,EAAAD,KAAA,KAAAA,KAAA,CAAAE,IAA0D,KAAArB,2BAAA;IAG5E;IAAAuB,gBAAI,GAAAN,cAAmB,CAAAO,MAAkB;EAOrC,IAACD,gBAAA,gBAAAf,KAAA;EAAA,OAEKe,gBAAA,GAAAD,iBAAA,CAAAE,MAAA,UAAAb,OAAA,CAAAC,IAAA,6CAAAP,IAAA,sBAAArB,kBAAA,CAAAW,GAAA,EAAAU,IAAA,mCAAArB,kBAAA,CAAAW,GAAA,EAAAJ,wBAAA;IAAAb,KAEH;IAAAoB,QAAA,qBAAAd,kBAAA,CAAAyC,IAAA,EAAAnC,mBAAA,CAAAM,KAAA,CAAA8B,IAAA;MAAA,GACDpB,kBAAA;MAAsCR,QACrC,GAAAmB,cAAA,qBAAAjC,kBAAA,CAAAW,GAAA,EAAAL,mBAAA,CAAAM,KAAA,CAAAC,MAAA;QALIC,QAAA,EAAAO,IAAmB,kBAAkB,IAAArB,kBAAA,CAAAW,GAAA,EAAAU,IAAA;MAO9C,IAEJiB,iBAAA;IAGE,GAAAC,gBAAQ,GAAAD,iBAAA,CAAAE,MAAA;EACR;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var toolbar_exports = {};
|
|
22
|
+
__export(toolbar_exports, {
|
|
23
|
+
ToolbarHost: () => ToolbarHost,
|
|
24
|
+
ToolbarItem: () => ToolbarItem
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(toolbar_exports);
|
|
27
|
+
function ToolbarHost(_props) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
function ToolbarItem(_props) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var index_native_exports = {};
|
|
24
|
+
__export(index_native_exports, {
|
|
25
|
+
ToolbarHost: () => ToolbarHost,
|
|
26
|
+
ToolbarItem: () => ToolbarItem
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
30
|
+
import_react_native = require("react-native"),
|
|
31
|
+
ToolbarHostNative = (0, import_react_native.requireNativeComponent)("VxrnToolbarHost");
|
|
32
|
+
function ToolbarHost(props) {
|
|
33
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(ToolbarHostNative, {
|
|
34
|
+
...props,
|
|
35
|
+
style: {
|
|
36
|
+
position: "absolute",
|
|
37
|
+
top: 0,
|
|
38
|
+
left: 0,
|
|
39
|
+
width: 1,
|
|
40
|
+
height: 1,
|
|
41
|
+
backgroundColor: "transparent"
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
var ToolbarItemNative = (0, import_react_native.requireNativeComponent)("VxrnToolbarItem");
|
|
46
|
+
function ToolbarItem(props) {
|
|
47
|
+
var {
|
|
48
|
+
image,
|
|
49
|
+
onSelected,
|
|
50
|
+
...rest
|
|
51
|
+
} = props;
|
|
52
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(ToolbarItemNative, {
|
|
53
|
+
...rest,
|
|
54
|
+
imageSource: image,
|
|
55
|
+
onSelected: onSelected ? function () {
|
|
56
|
+
return onSelected();
|
|
57
|
+
} : void 0
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["index_native_exports","__export","ToolbarHost","ToolbarItem","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","ToolbarHostNative","requireNativeComponent","props","jsx","style","position","top","left","width","height","backgroundColor","ToolbarItemNative","image","onSelected","rest","imageSource"],"sources":["../../../src/toolbar/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA,WAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,oBAAA;AAAA,IAAAO,kBAAA,GAA4BC,OAAA;EAC5BC,mBAAA,GAAuCD,OAAA;EACnCE,iBAAA,OAAoBD,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAAST,YAAYU,KAAA,EAAO;EAC/B,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKH,iBAAA,EAAmB;IACzC,GAAGE,KAAA;IACHE,KAAA,EAAO;MACHC,QAAA,EAAU;MACVC,GAAA,EAAK;MACLC,IAAA,EAAM;MACNC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,eAAA,EAAiB;IACrB;EACJ,CAAC;AACL;AACA,IAAIC,iBAAA,OAAoBZ,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAASR,YAAYS,KAAA,EAAO;EAC/B,IAAI;IAAEU,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIZ,KAAA;EACrC,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKQ,iBAAA,EAAmB;IACzC,GAAGG,IAAA;IACHC,WAAA,EAAaH,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
}), mod);
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
19
|
+
//# sourceMappingURL=types.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports"],"sources":["../../../src/toolbar/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var zoom_exports = {};
|
|
22
|
+
__export(zoom_exports, {
|
|
23
|
+
ZoomTransitionAlignmentRectDetector: () => ZoomTransitionAlignmentRectDetector,
|
|
24
|
+
ZoomTransitionEnabler: () => ZoomTransitionEnabler,
|
|
25
|
+
ZoomTransitionSource: () => ZoomTransitionSource
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(zoom_exports);
|
|
28
|
+
function ZoomTransitionEnabler(_props) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
function ZoomTransitionSource(_props) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
function ZoomTransitionAlignmentRectDetector(_props) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var index_native_exports = {};
|
|
24
|
+
__export(index_native_exports, {
|
|
25
|
+
ZoomTransitionAlignmentRectDetector: () => ZoomTransitionAlignmentRectDetector,
|
|
26
|
+
ZoomTransitionEnabler: () => ZoomTransitionEnabler,
|
|
27
|
+
ZoomTransitionSource: () => ZoomTransitionSource
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
31
|
+
import_react_native = require("react-native"),
|
|
32
|
+
isAvailable = import_react_native.Platform.OS === "ios" && !import_react_native.Platform.isTV,
|
|
33
|
+
ZoomEnablerNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnZoomEnabler") : null;
|
|
34
|
+
function ZoomTransitionEnabler(props) {
|
|
35
|
+
return ZoomEnablerNative ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(ZoomEnablerNative, {
|
|
36
|
+
...props,
|
|
37
|
+
style: {
|
|
38
|
+
position: "absolute",
|
|
39
|
+
width: 0,
|
|
40
|
+
height: 0,
|
|
41
|
+
opacity: 0
|
|
42
|
+
}
|
|
43
|
+
}) : null;
|
|
44
|
+
}
|
|
45
|
+
var ZoomSourceNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnZoomSource") : null;
|
|
46
|
+
function ZoomTransitionSource(props) {
|
|
47
|
+
return ZoomSourceNative ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(ZoomSourceNative, {
|
|
48
|
+
...props,
|
|
49
|
+
collapsable: !1,
|
|
50
|
+
style: {
|
|
51
|
+
display: "flex"
|
|
52
|
+
}
|
|
53
|
+
}) : null;
|
|
54
|
+
}
|
|
55
|
+
var ZoomAlignmentNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnZoomAlignment") : null;
|
|
56
|
+
function ZoomTransitionAlignmentRectDetector(props) {
|
|
57
|
+
return ZoomAlignmentNative ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(ZoomAlignmentNative, {
|
|
58
|
+
...props,
|
|
59
|
+
collapsable: !1,
|
|
60
|
+
style: {
|
|
61
|
+
display: "flex"
|
|
62
|
+
}
|
|
63
|
+
}) : null;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["index_native_exports","__export","ZoomTransitionAlignmentRectDetector","ZoomTransitionEnabler","ZoomTransitionSource","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","isAvailable","Platform","OS","isTV","ZoomEnablerNative","requireNativeComponent","props","jsx","style","position","width","height","opacity","ZoomSourceNative","collapsable","display","ZoomAlignmentNative"],"sources":["../../../src/zoom/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,mCAAA,EAAAA,CAAA,KAAAA,mCAAA;EAAAC,qBAAA,EAAAA,CAAA,KAAAA,qBAAA;EAAAC,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAP,oBAAA;AAAA,IAAAQ,kBAAA,GAA4BC,OAAA;EAC5BC,mBAAA,GAAiDD,OAAA;EAC7CE,WAAA,GAAcD,mBAAA,CAAAE,QAAA,CAASC,EAAA,KAAO,SAAS,CAACH,mBAAA,CAAAE,QAAA,CAASE,IAAA;EACjDC,iBAAA,GAAoBJ,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,iBAAiB,IAAI;AAC3E,SAASb,sBAAsBc,KAAA,EAAO;EACzC,OAAKF,iBAAA,GACgB,mBAAAP,kBAAA,CAAAU,GAAA,EAAKH,iBAAA,EAAmB;IACzC,GAAGE,KAAA;IACHE,KAAA,EAAO;MACHC,QAAA,EAAU;MACVC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,OAAA,EAAS;IACb;EACJ,CAAC,IAT8B;AAUnC;AACA,IAAIC,gBAAA,GAAmBb,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,gBAAgB,IAAI;AACzE,SAASZ,qBAAqBa,KAAA,EAAO;EACxC,OAAKO,gBAAA,GACgB,mBAAAhB,kBAAA,CAAAU,GAAA,EAAKM,gBAAA,EAAkB;IACxC,GAAGP,KAAA;IACHQ,WAAA,EAAa;IACbN,KAAA,EAAO;MACHO,OAAA,EAAS;IACb;EACJ,CAAC,IAP6B;AAQlC;AACA,IAAIC,mBAAA,GAAsBhB,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,mBAAmB,IAAI;AAC/E,SAASd,oCAAoCe,KAAA,EAAO;EACvD,OAAKU,mBAAA,GACgB,mBAAAnB,kBAAA,CAAAU,GAAA,EAAKS,mBAAA,EAAqB;IAC3C,GAAGV,KAAA;IACHQ,WAAA,EAAa;IACbN,KAAA,EAAO;MACHO,OAAA,EAAS;IACb;EACJ,CAAC,IAPgC;AAQrC","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
}), mod);
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
19
|
+
//# sourceMappingURL=types.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports"],"sources":["../../../src/zoom/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|