@tamagui/static 1.99.0 → 1.100.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/dist/cjs/checkDeps.native.js +53 -58
  2. package/dist/cjs/checkDeps.native.js.map +1 -1
  3. package/dist/cjs/extractor/bundle.native.js +65 -79
  4. package/dist/cjs/extractor/bundle.native.js.map +1 -1
  5. package/dist/cjs/extractor/bundleConfig.js +2 -4
  6. package/dist/cjs/extractor/bundleConfig.js.map +1 -1
  7. package/dist/cjs/extractor/bundleConfig.native.js +67 -83
  8. package/dist/cjs/extractor/bundleConfig.native.js.map +1 -1
  9. package/dist/cjs/extractor/createExtractor.js +8 -16
  10. package/dist/cjs/extractor/createExtractor.js.map +1 -1
  11. package/dist/cjs/extractor/createExtractor.native.js +70 -92
  12. package/dist/cjs/extractor/createExtractor.native.js.map +1 -1
  13. package/dist/cjs/extractor/extractHelpers.js +4 -8
  14. package/dist/cjs/extractor/extractHelpers.js.map +1 -1
  15. package/dist/cjs/extractor/extractHelpers.native.js +11 -22
  16. package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
  17. package/dist/cjs/extractor/extractMediaStyle.js +3 -6
  18. package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
  19. package/dist/cjs/extractor/extractMediaStyle.native.js +10 -20
  20. package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
  21. package/dist/cjs/extractor/extractToClassNames.js +5 -7
  22. package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
  23. package/dist/cjs/extractor/extractToClassNames.native.js +66 -79
  24. package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
  25. package/dist/cjs/extractor/generateTamaguiStudioConfig.js +3 -6
  26. package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +1 -1
  27. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +63 -78
  28. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  29. package/dist/cjs/extractor/generatedUid.native.js +2 -4
  30. package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
  31. package/dist/cjs/extractor/getStaticBindingsForScope.js +4 -8
  32. package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
  33. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +82 -94
  34. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
  35. package/dist/cjs/extractor/hoistClassNames.js +1 -2
  36. package/dist/cjs/extractor/hoistClassNames.js.map +1 -1
  37. package/dist/cjs/extractor/hoistClassNames.native.js +1 -2
  38. package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
  39. package/dist/cjs/extractor/literalToAst.native.js +6 -12
  40. package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
  41. package/dist/cjs/extractor/loadTamagui.native.js +75 -92
  42. package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
  43. package/dist/cjs/extractor/normalizeTernaries.native.js +2 -4
  44. package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
  45. package/dist/cjs/extractor/removeUnusedHooks.js +2 -4
  46. package/dist/cjs/extractor/removeUnusedHooks.js.map +1 -1
  47. package/dist/cjs/extractor/removeUnusedHooks.native.js +4 -8
  48. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
  49. package/dist/cjs/extractor/watchTamaguiConfig.native.js +57 -63
  50. package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
  51. package/dist/cjs/server.native.js +53 -58
  52. package/dist/cjs/server.native.js.map +1 -1
  53. package/dist/esm/checkDeps.native.js +53 -58
  54. package/dist/esm/checkDeps.native.js.map +1 -1
  55. package/dist/esm/extractor/bundle.native.js +65 -79
  56. package/dist/esm/extractor/bundle.native.js.map +1 -1
  57. package/dist/esm/extractor/bundleConfig.js +2 -4
  58. package/dist/esm/extractor/bundleConfig.js.map +1 -1
  59. package/dist/esm/extractor/bundleConfig.native.js +67 -83
  60. package/dist/esm/extractor/bundleConfig.native.js.map +1 -1
  61. package/dist/esm/extractor/createExtractor.js +8 -16
  62. package/dist/esm/extractor/createExtractor.js.map +1 -1
  63. package/dist/esm/extractor/createExtractor.native.js +70 -92
  64. package/dist/esm/extractor/createExtractor.native.js.map +1 -1
  65. package/dist/esm/extractor/extractHelpers.js +4 -8
  66. package/dist/esm/extractor/extractHelpers.js.map +1 -1
  67. package/dist/esm/extractor/extractHelpers.native.js +11 -22
  68. package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
  69. package/dist/esm/extractor/extractMediaStyle.js +3 -6
  70. package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
  71. package/dist/esm/extractor/extractMediaStyle.native.js +10 -20
  72. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  73. package/dist/esm/extractor/extractToClassNames.js +5 -7
  74. package/dist/esm/extractor/extractToClassNames.js.map +1 -1
  75. package/dist/esm/extractor/extractToClassNames.native.js +66 -79
  76. package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
  77. package/dist/esm/extractor/generateTamaguiStudioConfig.js +3 -6
  78. package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
  79. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +63 -78
  80. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  81. package/dist/esm/extractor/generatedUid.native.js +2 -4
  82. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  83. package/dist/esm/extractor/getStaticBindingsForScope.js +4 -8
  84. package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
  85. package/dist/esm/extractor/getStaticBindingsForScope.native.js +82 -94
  86. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  87. package/dist/esm/extractor/hoistClassNames.js +1 -2
  88. package/dist/esm/extractor/hoistClassNames.js.map +1 -1
  89. package/dist/esm/extractor/hoistClassNames.native.js +1 -2
  90. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  91. package/dist/esm/extractor/literalToAst.native.js +6 -12
  92. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  93. package/dist/esm/extractor/loadTamagui.native.js +75 -92
  94. package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
  95. package/dist/esm/extractor/normalizeTernaries.native.js +2 -4
  96. package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
  97. package/dist/esm/extractor/removeUnusedHooks.js +2 -4
  98. package/dist/esm/extractor/removeUnusedHooks.js.map +1 -1
  99. package/dist/esm/extractor/removeUnusedHooks.native.js +4 -8
  100. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  101. package/dist/esm/extractor/watchTamaguiConfig.native.js +57 -63
  102. package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
  103. package/dist/esm/server.native.js +53 -58
  104. package/dist/esm/server.native.js.map +1 -1
  105. package/package.json +16 -15
@@ -5,13 +5,11 @@ import { esbuildAliasPlugin } from "./esbuildAliasPlugin";
5
5
  import { resolveWebOrNativeSpecificEntry } from "./loadTamagui";
6
6
  function _array_like_to_array(arr, len) {
7
7
  (len == null || len > arr.length) && (len = arr.length);
8
- for (var i = 0, arr2 = new Array(len); i < len; i++)
9
- arr2[i] = arr[i];
8
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
10
9
  return arr2;
11
10
  }
12
11
  function _array_without_holes(arr) {
13
- if (Array.isArray(arr))
14
- return _array_like_to_array(arr);
12
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
15
13
  }
16
14
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
17
15
  try {
@@ -46,8 +44,7 @@ function _define_property(obj, key, value) {
46
44
  }) : obj[key] = value, obj;
47
45
  }
48
46
  function _iterable_to_array(iter) {
49
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
50
- return Array.from(iter);
47
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
51
48
  }
52
49
  function _non_iterable_spread() {
53
50
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -64,8 +61,7 @@ function _object_spread(target) {
64
61
  return target;
65
62
  }
66
63
  function _object_without_properties(source, excluded) {
67
- if (source == null)
68
- return {};
64
+ if (source == null) return {};
69
65
  var target = _object_without_properties_loose(source, excluded), key, i;
70
66
  if (Object.getOwnPropertySymbols) {
71
67
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -75,8 +71,7 @@ function _object_without_properties(source, excluded) {
75
71
  return target;
76
72
  }
77
73
  function _object_without_properties_loose(source, excluded) {
78
- if (source == null)
79
- return {};
74
+ if (source == null) return {};
80
75
  var target = {}, sourceKeys = Object.keys(source), key, i;
81
76
  for (i = 0; i < sourceKeys.length; i++)
82
77
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
@@ -87,21 +82,17 @@ function _to_consumable_array(arr) {
87
82
  }
88
83
  function _unsupported_iterable_to_array(o, minLen) {
89
84
  if (o) {
90
- if (typeof o == "string")
91
- return _array_like_to_array(o, minLen);
85
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
92
86
  var n = Object.prototype.toString.call(o).slice(8, -1);
93
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
94
- return Array.from(n);
95
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
96
- return _array_like_to_array(o, minLen);
87
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
88
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
97
89
  }
98
90
  }
99
91
  function _ts_generator(thisArg, body) {
100
92
  var f, y, t, g, _ = {
101
93
  label: 0,
102
94
  sent: function() {
103
- if (t[0] & 1)
104
- throw t[1];
95
+ if (t[0] & 1) throw t[1];
105
96
  return t[1];
106
97
  },
107
98
  trys: [],
@@ -123,64 +114,60 @@ function _ts_generator(thisArg, body) {
123
114
  };
124
115
  }
125
116
  function step(op) {
126
- if (f)
127
- throw new TypeError("Generator is already executing.");
128
- for (; _; )
129
- try {
130
- if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
131
- return t;
132
- switch (y = 0, t && (op = [
133
- op[0] & 2,
134
- t.value
135
- ]), op[0]) {
136
- case 0:
137
- case 1:
138
- t = op;
139
- break;
140
- case 4:
141
- return _.label++, {
142
- value: op[1],
143
- done: !1
144
- };
145
- case 5:
146
- _.label++, y = op[1], op = [
147
- 0
148
- ];
149
- continue;
150
- case 7:
151
- op = _.ops.pop(), _.trys.pop();
152
- continue;
153
- default:
154
- if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
155
- _ = 0;
156
- continue;
157
- }
158
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
159
- _.label = op[1];
160
- break;
161
- }
162
- if (op[0] === 6 && _.label < t[1]) {
163
- _.label = t[1], t = op;
164
- break;
165
- }
166
- if (t && _.label < t[2]) {
167
- _.label = t[2], _.ops.push(op);
168
- break;
169
- }
170
- t[2] && _.ops.pop(), _.trys.pop();
117
+ if (f) throw new TypeError("Generator is already executing.");
118
+ for (; _; ) try {
119
+ if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
120
+ switch (y = 0, t && (op = [
121
+ op[0] & 2,
122
+ t.value
123
+ ]), op[0]) {
124
+ case 0:
125
+ case 1:
126
+ t = op;
127
+ break;
128
+ case 4:
129
+ return _.label++, {
130
+ value: op[1],
131
+ done: !1
132
+ };
133
+ case 5:
134
+ _.label++, y = op[1], op = [
135
+ 0
136
+ ];
137
+ continue;
138
+ case 7:
139
+ op = _.ops.pop(), _.trys.pop();
140
+ continue;
141
+ default:
142
+ if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
143
+ _ = 0;
171
144
  continue;
172
- }
173
- op = body.call(thisArg, _);
174
- } catch (e) {
175
- op = [
176
- 6,
177
- e
178
- ], y = 0;
179
- } finally {
180
- f = t = 0;
145
+ }
146
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
147
+ _.label = op[1];
148
+ break;
149
+ }
150
+ if (op[0] === 6 && _.label < t[1]) {
151
+ _.label = t[1], t = op;
152
+ break;
153
+ }
154
+ if (t && _.label < t[2]) {
155
+ _.label = t[2], _.ops.push(op);
156
+ break;
157
+ }
158
+ t[2] && _.ops.pop(), _.trys.pop();
159
+ continue;
181
160
  }
182
- if (op[0] & 5)
183
- throw op[1];
161
+ op = body.call(thisArg, _);
162
+ } catch (e) {
163
+ op = [
164
+ 6,
165
+ e
166
+ ], y = 0;
167
+ } finally {
168
+ f = t = 0;
169
+ }
170
+ if (op[0] & 5) throw op[1];
184
171
  return {
185
172
  value: op[0] ? op[1] : void 0,
186
173
  done: !0
@@ -334,11 +321,10 @@ function _asyncLock() {
334
321
  })
335
322
  ];
336
323
  case 1:
337
- if (lockStat = _state.sent(), lockedMsAgo = lockStat ? (/* @__PURE__ */ new Date()).getTime() - new Date(lockStat.mtime).getTime() : Number.POSITIVE_INFINITY, !(lockedMsAgo < 500))
338
- return [
339
- 3,
340
- 5
341
- ];
324
+ if (lockStat = _state.sent(), lockedMsAgo = lockStat ? (/* @__PURE__ */ new Date()).getTime() - new Date(lockStat.mtime).getTime() : Number.POSITIVE_INFINITY, !(lockedMsAgo < 500)) return [
325
+ 3,
326
+ 5
327
+ ];
342
328
  !((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui") && console.info("Waiting for existing build", props.entryPoints), tries = 5, _state.label = 2;
343
329
  case 2:
344
330
  return tries-- ? [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 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AAhB,wBAAA,KAAA,GACMC,SAASnC,iBAAiBkC,OAAOjC,UAAUC,OAAAA,GACjD;;YAAOhB,QAAQ2C,MAAMM,MAAAA;;;;EACvB,CAAA,GARsBrB,QAAAA,MAAAA,MAAAA,SAAAA;;SAWPsB,UAAUF,OAAY;SAAtBE,WAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,aAAAA;AAAAA;EAAf,oBAAA,SAAyBF,OAAY;QAC7BG,UACAC,UAGAC,aAIAjC,oBAGAkC;;;;AAXAH,4BAAWpD,KAAKD,QAAQkD,MAAMO,OAAO,GAAG1D,SAASmD,MAAMO,SAAS,OAAA,CAAA,GACrD;;YAAMtD,GAAGuD,KAAKL,QAAAA,EAAUM,MAAM,WAAA;YAE/C,CAAA;;;cAFML,WAAW,OAAA,KAAA,GAGXC,cAAeD,YAEjB,oBAAIM,KAAAA,GAAOC,QAAO,IAAK,IAAID,KAAKN,SAASQ,KAAK,EAAED,QAAO,IADvDE,OAAOC,qBAEPT,cAAc,KAAdA,QAAAA;;;;AACF,UAAIjC,wBAAAA,QAAQC,IAAIC,WAAK,QAAjBF,uBAAAA,WAAAA,mBAAmBG,WAAW,SAAA,KAChCC,QAAQC,KAAM,8BAA6BuB,MAAM/B,WAAW,GAE1DqC,QAAQ;;iBACLA,UACD;;YAAMrD,GAAG8D,WAAWf,MAAMO,OAAO;cADhCD;;;;;AACL,iBAAI,OAAA,KAAA,IACF;;cAEF;;YAAM,IAAIU,QAAQ,SAACrC,KAAAA;qBAAQsC,WAAWtC,KAAK,EAAA;;;;AAA3C,wBAAA,KAAA;;;;;AAGJ,iBAAK1B,GAAGiE,UAAUf,UAAU,EAAA;;;;;EAC9B,CAAA,GArBeD,WAAAA,MAAAA,MAAAA,SAAAA;;",
5
5
  "names": ["basename", "dirname", "join", "esbuild", "FS", "esbuildAliasPlugin", "resolveWebOrNativeSpecificEntry", "esbuildLoaderConfig", "dataExtensions", "Object", "keys", "filter", "k", "map", "slice", "esbuildIgnoreFilesRegex", "RegExp", "getESBuildConfig", "platform", "aliases", "entryPoints", "resolvePlatformSpecificEntries", "options", "process", "env", "DEBUG", "startsWith", "console", "info", "resolvedEntryPoints", "res", "bundle", "format", "target", "jsx", "jsxFactory", "allowOverwrite", "keepNames", "resolveExtensions", "tsconfigRaw", "compilerOptions", "loader", "logLevel", "plugins", "name", "setup", "build", "onResolve", "args", "path", "external", "props", "config", "asyncLock", "lockFile", "lockStat", "lockedMsAgo", "tries", "outfile", "stat", "catch", "Date", "getTime", "mtime", "Number", "POSITIVE_INFINITY", "pathExists", "Promise", "setTimeout", "writeFile"]
6
6
  }
@@ -282,11 +282,9 @@ function transformAddExports(ast) {
282
282
  }
283
283
  }), traverse(ast, {
284
284
  VariableDeclaration(nodePath) {
285
- if (!t.isProgram(nodePath.parent))
286
- return;
285
+ if (!t.isProgram(nodePath.parent)) return;
287
286
  const decs = nodePath.node.declarations;
288
- if (decs.length > 1)
289
- return;
287
+ if (decs.length > 1) return;
290
288
  const [dec] = decs;
291
289
  t.isIdentifier(dec.id) && dec.init && (usedNames.has(dec.id.name) || (usedNames.add(dec.id.name), nodePath.replaceWith(
292
290
  t.exportNamedDeclaration(t.variableDeclaration("let", [dec]), [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/bundleConfig.ts"],
4
- "mappings": "AAAA,SAAS,oBAAoB;AAC7B,SAAS,UAAU,SAAS,SAAS,MAAM,UAAU,WAAW;AAEhE,OAAO,cAAc;AACrB,OAAO,cAAc;AACrB,YAAY,OAAO;AACnB,SAAS,OAAO,gBAAgB;AAEhC,OAAO,aAAa;AACpB,YAAY,QAAQ;AAEpB,SAAS,iBAAiB,wBAAwB;AAElD,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,2BAA2B;AAC5C,SAAS,6CAA6C;AAuBtD,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEM,sBAAsB;AAAA,EA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AAAA,EACd,CAAC,EAAE;AACL;",
5
5
  "names": ["forceExports"]
6
6
  }
@@ -12,17 +12,14 @@ import { bundle, esbuildLoaderConfig } from "./bundle";
12
12
  import { getTamaguiConfigPathFromOptionsConfig } from "./getTamaguiConfigPathFromOptionsConfig";
13
13
  function _array_like_to_array(arr, len) {
14
14
  (len == null || len > arr.length) && (len = arr.length);
15
- for (var i = 0, arr2 = new Array(len); i < len; i++)
16
- arr2[i] = arr[i];
15
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
17
16
  return arr2;
18
17
  }
19
18
  function _array_with_holes(arr) {
20
- if (Array.isArray(arr))
21
- return arr;
19
+ if (Array.isArray(arr)) return arr;
22
20
  }
23
21
  function _array_without_holes(arr) {
24
- if (Array.isArray(arr))
25
- return _array_like_to_array(arr);
22
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
26
23
  }
27
24
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
28
25
  try {
@@ -57,8 +54,7 @@ function _define_property(obj, key, value) {
57
54
  }) : obj[key] = value, obj;
58
55
  }
59
56
  function _iterable_to_array(iter) {
60
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
61
- return Array.from(iter);
57
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
62
58
  }
63
59
  function _iterable_to_array_limit(arr, i) {
64
60
  var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -73,8 +69,7 @@ function _iterable_to_array_limit(arr, i) {
73
69
  try {
74
70
  !_n && _i.return != null && _i.return();
75
71
  } finally {
76
- if (_d)
77
- throw _e;
72
+ if (_d) throw _e;
78
73
  }
79
74
  }
80
75
  return _arr;
@@ -113,8 +108,7 @@ function _object_spread_props(target, source) {
113
108
  }), target;
114
109
  }
115
110
  function _object_without_properties(source, excluded) {
116
- if (source == null)
117
- return {};
111
+ if (source == null) return {};
118
112
  var target = _object_without_properties_loose(source, excluded), key, i;
119
113
  if (Object.getOwnPropertySymbols) {
120
114
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -124,8 +118,7 @@ function _object_without_properties(source, excluded) {
124
118
  return target;
125
119
  }
126
120
  function _object_without_properties_loose(source, excluded) {
127
- if (source == null)
128
- return {};
121
+ if (source == null) return {};
129
122
  var target = {}, sourceKeys = Object.keys(source), key, i;
130
123
  for (i = 0; i < sourceKeys.length; i++)
131
124
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
@@ -143,21 +136,17 @@ function _type_of(obj) {
143
136
  }
144
137
  function _unsupported_iterable_to_array(o, minLen) {
145
138
  if (o) {
146
- if (typeof o == "string")
147
- return _array_like_to_array(o, minLen);
139
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
148
140
  var n = Object.prototype.toString.call(o).slice(8, -1);
149
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
150
- return Array.from(n);
151
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
152
- return _array_like_to_array(o, minLen);
141
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
142
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
153
143
  }
154
144
  }
155
145
  function _ts_generator(thisArg, body) {
156
146
  var f, y, t2, g, _ = {
157
147
  label: 0,
158
148
  sent: function() {
159
- if (t2[0] & 1)
160
- throw t2[1];
149
+ if (t2[0] & 1) throw t2[1];
161
150
  return t2[1];
162
151
  },
163
152
  trys: [],
@@ -179,64 +168,60 @@ function _ts_generator(thisArg, body) {
179
168
  };
180
169
  }
181
170
  function step(op) {
182
- if (f)
183
- throw new TypeError("Generator is already executing.");
184
- for (; _; )
185
- try {
186
- if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done)
187
- return t2;
188
- switch (y = 0, t2 && (op = [
189
- op[0] & 2,
190
- t2.value
191
- ]), op[0]) {
192
- case 0:
193
- case 1:
194
- t2 = op;
195
- break;
196
- case 4:
197
- return _.label++, {
198
- value: op[1],
199
- done: !1
200
- };
201
- case 5:
202
- _.label++, y = op[1], op = [
203
- 0
204
- ];
205
- continue;
206
- case 7:
207
- op = _.ops.pop(), _.trys.pop();
208
- continue;
209
- default:
210
- if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
211
- _ = 0;
212
- continue;
213
- }
214
- if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
215
- _.label = op[1];
216
- break;
217
- }
218
- if (op[0] === 6 && _.label < t2[1]) {
219
- _.label = t2[1], t2 = op;
220
- break;
221
- }
222
- if (t2 && _.label < t2[2]) {
223
- _.label = t2[2], _.ops.push(op);
224
- break;
225
- }
226
- t2[2] && _.ops.pop(), _.trys.pop();
171
+ if (f) throw new TypeError("Generator is already executing.");
172
+ for (; _; ) try {
173
+ if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done) return t2;
174
+ switch (y = 0, t2 && (op = [
175
+ op[0] & 2,
176
+ t2.value
177
+ ]), op[0]) {
178
+ case 0:
179
+ case 1:
180
+ t2 = op;
181
+ break;
182
+ case 4:
183
+ return _.label++, {
184
+ value: op[1],
185
+ done: !1
186
+ };
187
+ case 5:
188
+ _.label++, y = op[1], op = [
189
+ 0
190
+ ];
191
+ continue;
192
+ case 7:
193
+ op = _.ops.pop(), _.trys.pop();
194
+ continue;
195
+ default:
196
+ if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
197
+ _ = 0;
227
198
  continue;
228
- }
229
- op = body.call(thisArg, _);
230
- } catch (e) {
231
- op = [
232
- 6,
233
- e
234
- ], y = 0;
235
- } finally {
236
- f = t2 = 0;
199
+ }
200
+ if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
201
+ _.label = op[1];
202
+ break;
203
+ }
204
+ if (op[0] === 6 && _.label < t2[1]) {
205
+ _.label = t2[1], t2 = op;
206
+ break;
207
+ }
208
+ if (t2 && _.label < t2[2]) {
209
+ _.label = t2[2], _.ops.push(op);
210
+ break;
211
+ }
212
+ t2[2] && _.ops.pop(), _.trys.pop();
213
+ continue;
237
214
  }
238
- if (op[0] & 5)
239
- throw op[1];
215
+ op = body.call(thisArg, _);
216
+ } catch (e) {
217
+ op = [
218
+ 6,
219
+ e
220
+ ], y = 0;
221
+ } finally {
222
+ f = t2 = 0;
223
+ }
224
+ if (op[0] & 5) throw op[1];
240
225
  return {
241
226
  value: op[0] ? op[1] : void 0,
242
227
  done: !0
@@ -325,11 +310,10 @@ function _bundleConfig() {
325
310
  return x !== "@tamagui/core";
326
311
  }), componentOutPaths = baseComponents.map(function(componentModule) {
327
312
  return join(tmpDir, "".concat(componentModule.split(sep).join("-").replace(/[^a-z0-9]+/gi, ""), "-components.config.cjs"));
328
- }), process.env.NODE_ENV === "development" && (!((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui")) && console.info("Building config entry", configEntry), props.disableInitialBuild)
329
- return [
330
- 3,
331
- 6
332
- ];
313
+ }), process.env.NODE_ENV === "development" && (!((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui")) && console.info("Building config entry", configEntry), props.disableInitialBuild) return [
314
+ 3,
315
+ 6
316
+ ];
333
317
  _state.label = 1;
334
318
  case 1:
335
319
  return _state.trys.push([
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui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,MAAAA,CAAAA,GAAPG,MAAOH,MAAAA,CAAAA;AACd,UAAK1J,EAAEqJ,aAAaQ,IAAIC,EAAE,KACrBD,IAAIE,SACLhB,UAAUiB,IAAIH,IAAIC,GAAGxD,IAAI,MAC7ByC,UAAU7G,IAAI2H,IAAIC,GAAGxD,IAAI,GACzB2C,SAASgB,YACPjK,EAAEkK,uBAAuBlK,EAAEmK,oBAAoB,OAAO;YAACN;WAAI,GAAG;YAC5D7J,EAAEoK,gBAAgBpK,EAAEqK,WAAWR,IAAIC,GAAGxD,IAAI,GAAGtG,EAAEqK,WAAWR,IAAIC,GAAGxD,IAAI,CAAA;WACtE,CAAA;;;IAEL;EACF,CAAA,GAGOxG,SAASgJ,KAAY;IAC1BwB,SAAS;IACTC,UAAU;IACVC,aAAa;IACbC,YAAY;EACd,CAAA,EAAGtC;AACL;",
5
5
  "names": ["readFileSync", "basename", "dirname", "extname", "join", "relative", "sep", "generate", "traverse", "t", "Color", "colorLog", "esbuild", "FS", "registerRequire", "setRequireResult", "babelParse", "bundle", "esbuildLoaderConfig", "getTamaguiConfigPathFromOptionsConfig", "external", "esbuildExtraOptions", "define", "__DEV__", "process", "env", "NODE_ENV", "esbuildOptions", "target", "format", "jsx", "platform", "currentBundle", "isBundling", "lastBundle", "waitForBundle", "Set", "hasBundledConfigChanged", "getBundledConfig", "props", "rebuild", "Promise", "res", "add", "bundleConfig", "configEntry", "tmpDir", "configOutPath", "baseComponents", "componentOutPaths", "start", "out", "unregister", "config", "components", "component", "err", "cwd", "filter", "x", "map", "componentModule", "split", "replace", "DEBUG", "startsWith", "console", "info", "disableInitialBuild", "ensureDir", "Date", "now", "all", "entryPoints", "outfile", "i", "resolvePlatformSpecificEntries", "FgYellow", "Dim", "p", "require", "default", "tokens", "Error", "loadComponents", "moduleName", "indexOf", "includes", "IS_TAMAGUI_DEV", "warn", "JSON", "stringify", "nameToPaths", "tamaguiConfig", "error", "message", "stack", "forEach", "cb", "clear", "forceExports", "coreComponents", "getCoreComponents", "otherComponents", "loadComponentsInner", "loaded", "componentsModules", "key", "cacheComponents", "proxyWormImports", "flatMap", "name", "attemptLoad", "isDynamic", "writtenContents", "transformAddExports", "esbuildit", "fileContents", "writeFileSync", "loadModule", "buildSync", "alias", "packages", "allowOverwrite", "sourcemap", "loader", "resolve", "moduleResult", "nameToInfo", "getComponentStaticConfigByName", "interopDefaultExport", "extension", "isLocal", "Boolean", "didBabel", "dispose", "removeSync", "TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD", "src", "transformSync", "code", "exported", "Array", "isArray", "found", "getTamaguiComponent", "staticConfig", "Component", "sc", "toUpperCase", "mod", "ast", "usedNames", "ExportNamedDeclaration", "nodePath", "node", "specifiers", "spec", "isIdentifier", "value", "VariableDeclaration", "isProgram", "parent", "decs", "declarations", "length", "dec", "id", "init", "has", "replaceWith", "exportNamedDeclaration", "variableDeclaration", "exportSpecifier", "identifier", "concise", "filename", "retainLines", "sourceMaps"]
6
6
  }
@@ -179,8 +179,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
179
179
  let doesUseValidImport = !1, hasImportedTheme = !1;
180
180
  const importDeclarations = [];
181
181
  for (const bodyPath of body) {
182
- if (bodyPath.type !== "ImportDeclaration")
183
- continue;
182
+ if (bodyPath.type !== "ImportDeclaration") continue;
184
183
  const node = "node" in bodyPath ? bodyPath.node : bodyPath, moduleName = node.source.value, valid = isValidImport(propsWithFileInfo, moduleName);
185
184
  if (valid && importDeclarations.push(node), shouldPrintDebug === "verbose" && logger.info(` - import ${moduleName} ${valid}`), extractStyledDefinitions && valid && node.specifiers.some((specifier) => specifier.local.name === "styled")) {
186
185
  doesUseValidImport = !0;
@@ -417,8 +416,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
417
416
  ) : null;
418
417
  if (conditional) {
419
418
  const [test, alt, cons] = conditional;
420
- if (!test)
421
- throw new Error("no test");
419
+ if (!test) throw new Error("no test");
422
420
  return [alt, cons].some((side) => side && !isStaticObject(side)) ? (shouldPrintDebug && logger.info(`not extractable ${alt} ${cons}`), attr) : [
423
421
  ...createTernariesFromObjectProperties(test, alt) || [],
424
422
  ...cons && createTernariesFromObjectProperties(
@@ -523,13 +521,11 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
523
521
  ` evalBinaryExpression lVal ${String(lVal)}, rVal ${String(rVal)}`
524
522
  ), lVal !== FAILED_EVAL && t.isConditionalExpression(right)) {
525
523
  const ternary = addBinaryConditional(operator, left, right);
526
- if (ternary)
527
- return ternary;
524
+ if (ternary) return ternary;
528
525
  }
529
526
  if (rVal !== FAILED_EVAL && t.isConditionalExpression(left)) {
530
527
  const ternary = addBinaryConditional(operator, right, left);
531
- if (ternary)
532
- return ternary;
528
+ if (ternary) return ternary;
533
529
  }
534
530
  return shouldPrintDebug && logger.info(" evalBinaryExpression cant extract"), inlined.set(name, !0), attr;
535
531
  }
@@ -701,8 +697,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
701
697
  let tagName = defaultProps.tag ?? (isTextView ? "span" : "div");
702
698
  traversePath.get("openingElement").get("attributes").forEach((path) => {
703
699
  const attr = path.node;
704
- if (t.isJSXSpreadAttribute(attr) || attr.name.name !== "tag")
705
- return;
700
+ if (t.isJSXSpreadAttribute(attr) || attr.name.name !== "tag") return;
706
701
  const val = attr.value;
707
702
  t.isStringLiteral(val) && (tagName = val.value);
708
703
  }), shouldPrintDebug === "verbose" && console.info(` Start tag ${tagName}`);
@@ -802,8 +797,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
802
797
  }), shouldFlatten) {
803
798
  let skipMap = !1;
804
799
  const defaultStyleAttrs = Object.keys(defaultProps).flatMap((key) => {
805
- if (skipMap)
806
- return [];
800
+ if (skipMap) return [];
807
801
  const value = defaultProps[key];
808
802
  if (key === "theme" && !themeVal)
809
803
  return platform2 === "native" && (shouldFlatten = !1, skipMap = !0, inlined.set("theme", { value: t.stringLiteral(value) })), themeVal = { value: t.stringLiteral(value) }, [];
@@ -935,8 +929,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
935
929
  for (const key in foundStaticProps)
936
930
  completeProps[key] = foundStaticProps[key];
937
931
  attrs = attrs.reduce((acc, cur) => {
938
- if (!cur)
939
- return acc;
932
+ if (!cur) return acc;
940
933
  if (cur.type === "attr" && !t.isJSXSpreadAttribute(cur.value) && shouldFlatten) {
941
934
  const name = cur.value.name.name;
942
935
  if (typeof name == "string") {
@@ -1136,8 +1129,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
1136
1129
  for (const [index, attr] of attrs.entries())
1137
1130
  if (attr.type === "style")
1138
1131
  for (const key in attr.value) {
1139
- if (!inlineWhenUnflattened.has(key))
1140
- continue;
1132
+ if (!inlineWhenUnflattened.has(key)) continue;
1141
1133
  const val = inlineWhenUnflattenedOGVals[key];
1142
1134
  val ? (delete attr.value[key], attrs.splice(index - 1, 0, val.attr)) : delete attr.value[key];
1143
1135
  }