@hanzogui/context-menu 3.0.2 → 7.3.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.
Files changed (34) hide show
  1. package/dist/cjs/ContextMenu.cjs +142 -139
  2. package/dist/cjs/ContextMenu.native.js +172 -170
  3. package/dist/cjs/ContextMenu.native.js.map +1 -1
  4. package/dist/cjs/createNonNativeContextMenu.cjs +370 -344
  5. package/dist/cjs/createNonNativeContextMenu.native.js +391 -364
  6. package/dist/cjs/createNonNativeContextMenu.native.js.map +1 -1
  7. package/dist/cjs/index.cjs +24 -22
  8. package/dist/cjs/index.native.js +26 -24
  9. package/dist/cjs/index.native.js.map +1 -1
  10. package/dist/esm/ContextMenu.mjs +114 -113
  11. package/dist/esm/ContextMenu.mjs.map +1 -1
  12. package/dist/esm/ContextMenu.native.js +141 -141
  13. package/dist/esm/ContextMenu.native.js.map +1 -1
  14. package/dist/esm/createNonNativeContextMenu.mjs +340 -316
  15. package/dist/esm/createNonNativeContextMenu.mjs.map +1 -1
  16. package/dist/esm/createNonNativeContextMenu.native.js +361 -336
  17. package/dist/esm/createNonNativeContextMenu.native.js.map +1 -1
  18. package/dist/jsx/ContextMenu.mjs +114 -113
  19. package/dist/jsx/ContextMenu.mjs.map +1 -1
  20. package/dist/jsx/ContextMenu.native.js +172 -170
  21. package/dist/jsx/ContextMenu.native.js.map +1 -1
  22. package/dist/jsx/createNonNativeContextMenu.mjs +340 -316
  23. package/dist/jsx/createNonNativeContextMenu.mjs.map +1 -1
  24. package/dist/jsx/createNonNativeContextMenu.native.js +391 -364
  25. package/dist/jsx/createNonNativeContextMenu.native.js.map +1 -1
  26. package/dist/jsx/index.native.js +26 -24
  27. package/dist/jsx/index.native.js.map +1 -1
  28. package/package.json +14 -12
  29. package/types/ContextMenu.d.ts +59 -59
  30. package/types/ContextMenu.d.ts.map +1 -0
  31. package/types/createNonNativeContextMenu.d.ts +53 -53
  32. package/types/createNonNativeContextMenu.d.ts.map +1 -0
  33. package/types/index.d.ts +59 -59
  34. package/types/index.d.ts.map +1 -0
@@ -4,188 +4,190 @@ var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf,
8
- __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
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, {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
18
  get: () => from[key],
18
19
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
20
  });
20
- return to;
21
- };
21
+ }
22
+ return to;
23
+ };
22
24
  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);
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
34
36
  var ContextMenu_exports = {};
35
37
  __export(ContextMenu_exports, {
36
38
  createContextMenu: () => createContextMenu
37
39
  });
38
40
  module.exports = __toCommonJS(ContextMenu_exports);
39
- var import_gui_create_menu = require("@hanzogui/create-menu"),
40
- import_gui_web = require("@hanzogui/web"),
41
- import_react = __toESM(require("react"), 1),
42
- import_createNonNativeContextMenu = require("./createNonNativeContextMenu.native.js"),
43
- COMMON_PARAMS = {
44
- isRoot: !1,
45
- scope: import_createNonNativeContextMenu.CONTEXTMENU_CONTEXT
46
- };
41
+ var import_create_menu = require("@hanzogui/create-menu");
42
+ var import_web = require("@hanzogui/web");
43
+ var import_react = __toESM(require("react"), 1);
44
+ var import_createNonNativeContextMenu = require("./createNonNativeContextMenu.native.js");
45
+ var COMMON_PARAMS = {
46
+ isRoot: false,
47
+ scope: import_createNonNativeContextMenu.CONTEXTMENU_CONTEXT
48
+ };
47
49
  function createContextMenu(param) {
48
50
  var {
49
- Menu: NativeMenuRoot
50
- } = (0, import_gui_create_menu.createNativeMenu)("ContextMenu"),
51
- NonNativeContextMenu = (0, import_createNonNativeContextMenu.createNonNativeContextMenu)(param),
52
- ContextMenuComp = (0, import_gui_create_menu.withNativeMenu)({
53
- ...COMMON_PARAMS,
54
- Component: NonNativeContextMenu.Root,
55
- NativeComponent: NativeMenuRoot,
56
- isRoot: !0
57
- }),
58
- Trigger = (0, import_gui_create_menu.withNativeMenu)({
59
- ...COMMON_PARAMS,
60
- Component: NonNativeContextMenu.Trigger,
61
- NativeComponent: NativeMenuRoot.Trigger
62
- }),
63
- Portal = (0, import_gui_create_menu.withNativeMenu)({
64
- ...COMMON_PARAMS,
65
- Component: NonNativeContextMenu.Portal,
66
- NativeComponent: import_react.default.Fragment
67
- }),
68
- Content = (0, import_gui_create_menu.withNativeMenu)({
69
- ...COMMON_PARAMS,
70
- Component: NonNativeContextMenu.Content,
71
- NativeComponent: NativeMenuRoot.Content
72
- }),
73
- Preview = (0, import_gui_create_menu.withNativeMenu)({
74
- ...COMMON_PARAMS,
75
- Component: NonNativeContextMenu.Preview,
76
- NativeComponent: NativeMenuRoot.Preview
77
- }),
78
- Group = (0, import_gui_create_menu.withNativeMenu)({
79
- ...COMMON_PARAMS,
80
- Component: NonNativeContextMenu.Group,
81
- NativeComponent: NativeMenuRoot.Group
82
- }),
83
- Label = (0, import_gui_create_menu.withNativeMenu)({
84
- ...COMMON_PARAMS,
85
- Component: NonNativeContextMenu.Label,
86
- NativeComponent: NativeMenuRoot.Label
87
- }),
88
- Item = (0, import_gui_create_menu.withNativeMenu)({
89
- ...COMMON_PARAMS,
90
- Component: NonNativeContextMenu.Item,
91
- NativeComponent: NativeMenuRoot.Item
92
- }),
93
- ItemTitle = (0, import_gui_create_menu.withNativeMenu)({
94
- ...COMMON_PARAMS,
95
- Component: NonNativeContextMenu.ItemTitle,
96
- NativeComponent: NativeMenuRoot.ItemTitle
97
- }),
98
- ItemSubtitle = (0, import_gui_create_menu.withNativeMenu)({
99
- ...COMMON_PARAMS,
100
- Component: NonNativeContextMenu.ItemSubtitle,
101
- NativeComponent: NativeMenuRoot.ItemSubtitle
102
- }),
103
- ItemIcon = (0, import_gui_create_menu.withNativeMenu)({
104
- ...COMMON_PARAMS,
105
- Component: NonNativeContextMenu.ItemIcon,
106
- NativeComponent: NativeMenuRoot.ItemIcon
107
- }),
108
- ItemImage = (0, import_gui_create_menu.withNativeMenu)({
109
- ...COMMON_PARAMS,
110
- Component: NonNativeContextMenu.ItemImage,
111
- NativeComponent: NativeMenuRoot.ItemImage
112
- }),
113
- CheckboxItem = (0, import_gui_create_menu.withNativeMenu)({
114
- ...COMMON_PARAMS,
115
- Component: NonNativeContextMenu.CheckboxItem,
116
- NativeComponent: NativeMenuRoot.CheckboxItem
117
- }),
118
- RadioGroup = (0, import_gui_create_menu.withNativeMenu)({
119
- ...COMMON_PARAMS,
120
- Component: NonNativeContextMenu.RadioGroup,
121
- NativeComponent: function () {
122
- return null;
123
- }
124
- }),
125
- RadioItem = (0, import_gui_create_menu.withNativeMenu)({
126
- ...COMMON_PARAMS,
127
- Component: NonNativeContextMenu.RadioItem,
128
- NativeComponent: function (param2) {
129
- var {
130
- children
131
- } = param2;
132
- return children;
133
- }
134
- }),
135
- ItemIndicator = (0, import_gui_create_menu.withNativeMenu)({
136
- ...COMMON_PARAMS,
137
- Component: NonNativeContextMenu.ItemIndicator,
138
- NativeComponent: NativeMenuRoot.ItemIndicator
139
- }),
140
- Separator = (0, import_gui_create_menu.withNativeMenu)({
141
- ...COMMON_PARAMS,
142
- Component: NonNativeContextMenu.Separator,
143
- NativeComponent: NativeMenuRoot.Separator
144
- }),
145
- Arrow = (0, import_gui_create_menu.withNativeMenu)({
146
- ...COMMON_PARAMS,
147
- Component: NonNativeContextMenu.Arrow,
148
- NativeComponent: NativeMenuRoot.Arrow
149
- }),
150
- Sub = (0, import_gui_create_menu.withNativeMenu)({
151
- ...COMMON_PARAMS,
152
- Component: NonNativeContextMenu.Sub,
153
- NativeComponent: NativeMenuRoot.Sub
154
- }),
155
- SubTrigger = (0, import_gui_create_menu.withNativeMenu)({
156
- ...COMMON_PARAMS,
157
- Component: NonNativeContextMenu.SubTrigger,
158
- NativeComponent: NativeMenuRoot.SubTrigger
159
- }),
160
- SubContent = (0, import_gui_create_menu.withNativeMenu)({
161
- ...COMMON_PARAMS,
162
- Component: NonNativeContextMenu.SubContent,
163
- NativeComponent: NativeMenuRoot.SubContent
164
- }),
165
- ContextMenu = (0, import_gui_web.withStaticProperties)(ContextMenuComp, {
166
- Trigger,
167
- Portal,
168
- Content,
169
- Group,
170
- Label,
171
- Item,
172
- CheckboxItem,
173
- RadioGroup,
174
- RadioItem,
175
- ItemIndicator,
176
- Separator,
177
- Arrow,
178
- Sub,
179
- // cast to React.FC to avoid TS error
180
- SubTrigger,
181
- SubContent,
182
- ItemTitle,
183
- ItemSubtitle,
184
- // cast to React.FC to avoid TS error
185
- ItemIcon,
186
- ItemImage,
187
- Preview
188
- });
51
+ Menu: NativeMenuRoot
52
+ } = (0, import_create_menu.createNativeMenu)("ContextMenu");
53
+ var NonNativeContextMenu = (0, import_createNonNativeContextMenu.createNonNativeContextMenu)(param);
54
+ var ContextMenuComp = (0, import_create_menu.withNativeMenu)({
55
+ ...COMMON_PARAMS,
56
+ Component: NonNativeContextMenu.Root,
57
+ NativeComponent: NativeMenuRoot,
58
+ isRoot: true
59
+ });
60
+ var Trigger = (0, import_create_menu.withNativeMenu)({
61
+ ...COMMON_PARAMS,
62
+ Component: NonNativeContextMenu.Trigger,
63
+ NativeComponent: NativeMenuRoot.Trigger
64
+ });
65
+ var Portal = (0, import_create_menu.withNativeMenu)({
66
+ ...COMMON_PARAMS,
67
+ Component: NonNativeContextMenu.Portal,
68
+ NativeComponent: import_react.default.Fragment
69
+ });
70
+ var Content = (0, import_create_menu.withNativeMenu)({
71
+ ...COMMON_PARAMS,
72
+ Component: NonNativeContextMenu.Content,
73
+ NativeComponent: NativeMenuRoot.Content
74
+ });
75
+ var Preview = (0, import_create_menu.withNativeMenu)({
76
+ ...COMMON_PARAMS,
77
+ Component: NonNativeContextMenu.Preview,
78
+ NativeComponent: NativeMenuRoot.Preview
79
+ });
80
+ var Group = (0, import_create_menu.withNativeMenu)({
81
+ ...COMMON_PARAMS,
82
+ Component: NonNativeContextMenu.Group,
83
+ NativeComponent: NativeMenuRoot.Group
84
+ });
85
+ var Label = (0, import_create_menu.withNativeMenu)({
86
+ ...COMMON_PARAMS,
87
+ Component: NonNativeContextMenu.Label,
88
+ NativeComponent: NativeMenuRoot.Label
89
+ });
90
+ var Item = (0, import_create_menu.withNativeMenu)({
91
+ ...COMMON_PARAMS,
92
+ Component: NonNativeContextMenu.Item,
93
+ NativeComponent: NativeMenuRoot.Item
94
+ });
95
+ var ItemTitle = (0, import_create_menu.withNativeMenu)({
96
+ ...COMMON_PARAMS,
97
+ Component: NonNativeContextMenu.ItemTitle,
98
+ NativeComponent: NativeMenuRoot.ItemTitle
99
+ });
100
+ var ItemSubtitle = (0, import_create_menu.withNativeMenu)({
101
+ ...COMMON_PARAMS,
102
+ Component: NonNativeContextMenu.ItemSubtitle,
103
+ NativeComponent: NativeMenuRoot.ItemSubtitle
104
+ });
105
+ var ItemIcon = (0, import_create_menu.withNativeMenu)({
106
+ ...COMMON_PARAMS,
107
+ Component: NonNativeContextMenu.ItemIcon,
108
+ NativeComponent: NativeMenuRoot.ItemIcon
109
+ });
110
+ var ItemImage = (0, import_create_menu.withNativeMenu)({
111
+ ...COMMON_PARAMS,
112
+ Component: NonNativeContextMenu.ItemImage,
113
+ NativeComponent: NativeMenuRoot.ItemImage
114
+ });
115
+ var CheckboxItem = (0, import_create_menu.withNativeMenu)({
116
+ ...COMMON_PARAMS,
117
+ Component: NonNativeContextMenu.CheckboxItem,
118
+ NativeComponent: NativeMenuRoot.CheckboxItem
119
+ });
120
+ var RadioGroup = (0, import_create_menu.withNativeMenu)({
121
+ ...COMMON_PARAMS,
122
+ Component: NonNativeContextMenu.RadioGroup,
123
+ NativeComponent: function () {
124
+ return null;
125
+ }
126
+ });
127
+ var RadioItem = (0, import_create_menu.withNativeMenu)({
128
+ ...COMMON_PARAMS,
129
+ Component: NonNativeContextMenu.RadioItem,
130
+ NativeComponent: function (param2) {
131
+ var {
132
+ children
133
+ } = param2;
134
+ return children;
135
+ }
136
+ });
137
+ var ItemIndicator = (0, import_create_menu.withNativeMenu)({
138
+ ...COMMON_PARAMS,
139
+ Component: NonNativeContextMenu.ItemIndicator,
140
+ NativeComponent: NativeMenuRoot.ItemIndicator
141
+ });
142
+ var Separator = (0, import_create_menu.withNativeMenu)({
143
+ ...COMMON_PARAMS,
144
+ Component: NonNativeContextMenu.Separator,
145
+ NativeComponent: NativeMenuRoot.Separator
146
+ });
147
+ var Arrow = (0, import_create_menu.withNativeMenu)({
148
+ ...COMMON_PARAMS,
149
+ Component: NonNativeContextMenu.Arrow,
150
+ NativeComponent: NativeMenuRoot.Arrow
151
+ });
152
+ var Sub = (0, import_create_menu.withNativeMenu)({
153
+ ...COMMON_PARAMS,
154
+ Component: NonNativeContextMenu.Sub,
155
+ NativeComponent: NativeMenuRoot.Sub
156
+ });
157
+ var SubTrigger = (0, import_create_menu.withNativeMenu)({
158
+ ...COMMON_PARAMS,
159
+ Component: NonNativeContextMenu.SubTrigger,
160
+ NativeComponent: NativeMenuRoot.SubTrigger
161
+ });
162
+ var SubContent = (0, import_create_menu.withNativeMenu)({
163
+ ...COMMON_PARAMS,
164
+ Component: NonNativeContextMenu.SubContent,
165
+ NativeComponent: NativeMenuRoot.SubContent
166
+ });
167
+ var ContextMenu = (0, import_web.withStaticProperties)(ContextMenuComp, {
168
+ Trigger,
169
+ Portal,
170
+ Content,
171
+ Group,
172
+ Label,
173
+ Item,
174
+ CheckboxItem,
175
+ RadioGroup,
176
+ RadioItem,
177
+ ItemIndicator,
178
+ Separator,
179
+ Arrow,
180
+ Sub,
181
+ // cast to React.FC to avoid TS error
182
+ SubTrigger,
183
+ SubContent,
184
+ ItemTitle,
185
+ ItemSubtitle,
186
+ // cast to React.FC to avoid TS error
187
+ ItemIcon,
188
+ ItemImage,
189
+ Preview
190
+ });
189
191
  return ContextMenu;
190
192
  }
191
193
  //# sourceMappingURL=ContextMenu.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","ContextMenu_exports","__export","createContextMenu","module","exports","import_gui_create_menu","require","import_gui_web","import_react","__toESM","import_createNonNativeContextMenu","COMMON_PARAMS","isRoot","scope","CONTEXTMENU_CONTEXT","param","Menu","NativeMenuRoot","createNativeMenu","NonNativeContextMenu","createNonNativeContextMenu","ContextMenuComp","withNativeMenu","Component","Root","NativeComponent","Trigger","Portal","default","Fragment","Content","Preview","Group","Label","Item","ItemTitle","ItemSubtitle","ItemIcon","ItemImage","CheckboxItem","RadioGroup","RadioItem","param2","children","ItemIndicator","Separator","Arrow","Sub","SubTrigger","SubContent","ContextMenu","withStaticProperties"],"sources":["../../src/ContextMenu.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA;EAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;IAAAC,KAAA;EAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,iBAAA,EAAAA,CAAA,KAAAA;AAAA;AAKAC,MAAA,CAAAC,OAAA,GAAAT,YAAiD,CAAAK,mBAAA;AAWjD,IAAAK,sBAAsB,GAAAC,OAAA;EAAAC,cAAA,GAAAD,OAAA;EAAAE,YAAA,GAAAC,OAAA,CAAAH,OAAA;EAAAI,iCAAA,GAAAJ,OAAA;EAAAK,aAAA;IACpBC,MAAA,EAAQ;IACRC,KAAA,EAAOH,iCAAA,CAAAI;EACT;AAEO,SAASZ,kBAAkBa,KAAA,EAA4B;EAC5D;MAAMC,IAAE,EAAAC;IAAM,IAAe,IAAAZ,sBAAI,CAAAa,gBAAA,eAAiB;IAAaC,oBACzD,OAAAT,iCAAuB,CAAAU,0BAAA,EAAAL,KAA2B;IAAKM,eAEvD,OAAAhB,sBAAkB,CAAAiB,cAAA;MACtB,GAAGX,aAAA;MACHY,SAAA,EAAWJ,oBAAA,CAAqBK,IAAA;MAChCC,eAAA,EAAiBR,cAAA;MACjBL,MAAA,EAAQ;IACV,CAAC;IAEKc,OAAA,OAAUrB,sBAAA,CAAAiB,cAAA,EAAe;MAC7B,GAAGX,aAAA;MACHY,SAAA,EAAWJ,oBAAA,CAAqBO,OAAA;MAChCD,eAAA,EAAiBR,cAAA,CAAeS;IAClC,CAAC;IACKC,MAAA,OAAStB,sBAAA,CAAA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,GAAAX,aAAW;MACXY,SAAA,EAAAJ,oBAAiB,CAAe2B,KAAA;MACjCrB,eACK,EAAAR,cAAa,CAAA6B;IAAe,EAChC;IAAAC,GAAG,OAAA1C,sBAAA,CAAAiB,cAAA;MACH,GAAAX,aAAW;MACXY,SAAA,EAAAJ,oBAAiB,CAAe4B,GAAA;MACjCtB,eACK,EAAAR,cAAa,CAAA8B;IAAe,EAChC;IAAAC,UAAG,OAAA3C,sBAAA,CAAAiB,cAAA;MACH,GAAAX,aAAW;MACXY,SAAA,EAAAJ,oBAAiB,CAAe6B,UAAA;MACjCvB,eAAA,EAAAR,cAAA,CAAA+B;IAgCD;IAAAC,UAxBoB,OAAA5C,sBAAA,CAAAiB,cAAqB;MACvC,GAAAX,aAAA;MACAY,SAAA,EAAAJ,oBAAA,CAAA8B,UAAA;MACAxB,eAAA,EAAAR,cAAA,CAAAgC;IAAA,EACA;IAAAC,WAAA,OAAA3C,cAAA,CAAA4C,oBAAA,EAAA9B,eAAA;MACAK,OAAA;MACAC,MAAA;MACAG,OAAA;MACAE,KAAA;MACAC,KAAA;MACAC,IAAA;MACAK,YAAA;MACAC,UAAA;MACAC,SAAA;MAAAG,aAAA;MAEAC,SAAA;MACAC,KAAA;MACAC,GAAA;MACA;MAAAC,UAAA;MAEAC,UAAA;MACAd,SAAA;MACAC,YAAA;MACD;MAEHC,QAAA","ignoreList":[]}
1
+ {"version":3,"names":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toESM","mod","isNodeMode","__esModule","value","__toCommonJS","ContextMenu_exports","createContextMenu","module","exports","import_create_menu","require","import_web","import_react","import_createNonNativeContextMenu","COMMON_PARAMS","isRoot","scope","CONTEXTMENU_CONTEXT","param","Menu","NativeMenuRoot","createNativeMenu","NonNativeContextMenu","createNonNativeContextMenu","ContextMenuComp","withNativeMenu","Component","Root","NativeComponent","Trigger","Portal","default","Fragment","Content","Preview","Group","Label","Item","ItemTitle","ItemSubtitle","ItemIcon","ItemImage","CheckboxItem","RadioGroup","RadioItem","param2","children","ItemIndicator","Separator","Arrow","Sub","SubTrigger","SubContent","ContextMenu","withStaticProperties"],"sources":["ContextMenu.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar ContextMenu_exports = {};\n__export(ContextMenu_exports, {\n createContextMenu: () => createContextMenu\n});\nmodule.exports = __toCommonJS(ContextMenu_exports);\nvar import_create_menu = require(\"@hanzogui/create-menu\");\nvar import_web = require(\"@hanzogui/web\");\nvar import_react = __toESM(require(\"react\"), 1);\nvar import_createNonNativeContextMenu = require(\"./createNonNativeContextMenu\");\nvar COMMON_PARAMS = {\n isRoot: false,\n scope: import_createNonNativeContextMenu.CONTEXTMENU_CONTEXT\n};\nfunction createContextMenu(param) {\n var { Menu: NativeMenuRoot } = (0, import_create_menu.createNativeMenu)(\"ContextMenu\");\n var NonNativeContextMenu = (0, import_createNonNativeContextMenu.createNonNativeContextMenu)(param);\n var ContextMenuComp = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Root,\n NativeComponent: NativeMenuRoot,\n isRoot: true\n });\n var Trigger = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Trigger,\n NativeComponent: NativeMenuRoot.Trigger\n });\n var Portal = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Portal,\n NativeComponent: import_react.default.Fragment\n });\n var Content = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Content,\n NativeComponent: NativeMenuRoot.Content\n });\n var Preview = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Preview,\n NativeComponent: NativeMenuRoot.Preview\n });\n var Group = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Group,\n NativeComponent: NativeMenuRoot.Group\n });\n var Label = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Label,\n NativeComponent: NativeMenuRoot.Label\n });\n var Item = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Item,\n NativeComponent: NativeMenuRoot.Item\n });\n var ItemTitle = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.ItemTitle,\n NativeComponent: NativeMenuRoot.ItemTitle\n });\n var ItemSubtitle = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.ItemSubtitle,\n NativeComponent: NativeMenuRoot.ItemSubtitle\n });\n var ItemIcon = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.ItemIcon,\n NativeComponent: NativeMenuRoot.ItemIcon\n });\n var ItemImage = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.ItemImage,\n NativeComponent: NativeMenuRoot.ItemImage\n });\n var CheckboxItem = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.CheckboxItem,\n NativeComponent: NativeMenuRoot.CheckboxItem\n });\n var RadioGroup = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.RadioGroup,\n NativeComponent: function() {\n return null;\n }\n });\n var RadioItem = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.RadioItem,\n NativeComponent: function(param2) {\n var { children } = param2;\n return children;\n }\n });\n var ItemIndicator = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.ItemIndicator,\n NativeComponent: NativeMenuRoot.ItemIndicator\n });\n var Separator = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Separator,\n NativeComponent: NativeMenuRoot.Separator\n });\n var Arrow = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Arrow,\n NativeComponent: NativeMenuRoot.Arrow\n });\n var Sub = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.Sub,\n NativeComponent: NativeMenuRoot.Sub\n });\n var SubTrigger = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.SubTrigger,\n NativeComponent: NativeMenuRoot.SubTrigger\n });\n var SubContent = (0, import_create_menu.withNativeMenu)({\n ...COMMON_PARAMS,\n Component: NonNativeContextMenu.SubContent,\n NativeComponent: NativeMenuRoot.SubContent\n });\n var ContextMenu = (0, import_web.withStaticProperties)(ContextMenuComp, {\n Trigger,\n Portal,\n Content,\n Group,\n Label,\n Item,\n CheckboxItem,\n RadioGroup,\n RadioItem,\n ItemIndicator,\n Separator,\n Arrow,\n Sub,\n // cast to React.FC to avoid TS error\n SubTrigger,\n SubContent,\n ItemTitle,\n ItemSubtitle,\n // cast to React.FC to avoid TS error\n ItemIcon,\n ItemImage,\n Preview\n });\n return ContextMenu;\n}\n//# sourceMappingURL=ContextMenu.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,QAAQ,GAAGC,MAAM,CAACC,MAAM;AAC5B,IAAIC,SAAS,GAAGF,MAAM,CAACG,cAAc;AACrC,IAAIC,gBAAgB,GAAGJ,MAAM,CAACK,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGN,MAAM,CAACO,mBAAmB;AAClD,IAAIC,YAAY,GAAGR,MAAM,CAACS,cAAc;AACxC,IAAIC,YAAY,GAAGV,MAAM,CAACW,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBb,SAAS,CAACY,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIlB,iBAAiB,CAACe,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CpB,SAAS,CA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