@design-edito/tools 0.4.0 → 0.4.1

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 (145) hide show
  1. package/agnostic/arrays/index.d.ts +1 -1
  2. package/agnostic/arrays/index.js +1 -1
  3. package/agnostic/colors/index.d.ts +5 -5
  4. package/agnostic/colors/index.js +5 -5
  5. package/agnostic/css/bem/index.js +3 -3
  6. package/agnostic/css/index.d.ts +2 -2
  7. package/agnostic/css/index.js +2 -2
  8. package/agnostic/css/scale/index.js +3 -3
  9. package/agnostic/html/hyper-json/cast/index.js +11 -12
  10. package/agnostic/html/hyper-json/index.js +13 -14
  11. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  12. package/agnostic/html/hyper-json/serialize/index.js +3 -3
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +11 -12
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +11 -12
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +11 -12
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +11 -12
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +11 -12
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +11 -12
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +11 -12
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +11 -12
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +11 -12
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +11 -12
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +11 -12
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +11 -12
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +11 -12
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +11 -12
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +11 -12
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +8 -8
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +8 -8
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +11 -12
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +11 -12
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +11 -12
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +11 -12
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +11 -12
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +11 -12
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +11 -12
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +11 -12
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +11 -12
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +11 -12
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +11 -12
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +11 -12
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +11 -12
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +11 -12
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +11 -12
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +11 -12
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +11 -12
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +11 -12
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +11 -12
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +11 -12
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +11 -12
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +11 -12
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +11 -12
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +11 -12
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +11 -12
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +11 -12
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +11 -12
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +11 -12
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +11 -12
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +11 -12
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +11 -12
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +11 -12
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +11 -12
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +11 -12
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +11 -12
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +11 -12
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +11 -12
  67. package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
  68. package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
  69. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
  70. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
  71. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
  72. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
  73. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +11 -12
  74. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +11 -12
  75. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +11 -12
  76. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +11 -12
  77. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +1 -1
  78. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +1 -1
  79. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
  80. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +11 -12
  81. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
  82. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
  83. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +11 -12
  84. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +11 -12
  85. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +11 -12
  86. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +11 -12
  87. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +11 -12
  88. package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
  89. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  90. package/agnostic/html/hyper-json/tree/index.js +11 -12
  91. package/agnostic/html/hyper-json/types/index.d.ts +4 -4
  92. package/agnostic/html/hyper-json/utils/index.js +11 -12
  93. package/agnostic/html/index.d.ts +1 -1
  94. package/agnostic/html/index.js +1 -1
  95. package/agnostic/index.d.ts +4 -4
  96. package/agnostic/index.js +4 -4
  97. package/agnostic/misc/crossenv/index.d.ts +1 -1
  98. package/agnostic/misc/crossenv/index.js +1 -1
  99. package/agnostic/misc/index.d.ts +1 -1
  100. package/agnostic/misc/index.js +1 -1
  101. package/agnostic/misc/logs/index.d.ts +1 -1
  102. package/agnostic/misc/logs/index.js +1 -1
  103. package/agnostic/numbers/index.d.ts +2 -2
  104. package/agnostic/numbers/index.js +2 -2
  105. package/agnostic/objects/index.d.ts +1 -1
  106. package/agnostic/objects/index.js +1 -1
  107. package/agnostic/strings/index.d.ts +2 -2
  108. package/agnostic/strings/index.js +2 -2
  109. package/agnostic/strings/replace-all/index.js +14 -3
  110. package/agnostic/time/index.d.ts +1 -1
  111. package/agnostic/time/index.js +1 -1
  112. package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
  113. package/chunks/{chunk-3JPY46VO.js → chunk-E33STMH3.js} +41 -46
  114. package/chunks/{chunk-QDHET2TE.js → chunk-HYGUIF2O.js} +5 -2
  115. package/chunks/{chunk-4STX5SQX.js → chunk-LEBGVBYD.js} +9 -2
  116. package/chunks/{chunk-FCABYQRX.js → chunk-MSU7JU63.js} +13 -1
  117. package/chunks/{chunk-H4KLHV6B.js → chunk-O32IRXDX.js} +1 -1
  118. package/chunks/{chunk-DU6U226H.js → chunk-RJRNYRPM.js} +2 -2
  119. package/components/Scrllgngn/index.js +5 -5
  120. package/components/index.d.ts +5 -5
  121. package/components/index.js +5 -5
  122. package/node/@aws-s3/storage/file/index.d.ts +3 -3
  123. package/node/@aws-s3/storage/file/index.js +3 -3
  124. package/node/@google-cloud/storage/file/index.d.ts +2 -2
  125. package/node/@google-cloud/storage/file/index.js +2 -2
  126. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
  127. package/node/cloud-storage/operations/index.d.ts +2 -2
  128. package/node/cloud-storage/operations/index.js +2 -2
  129. package/node/files/index.d.ts +1 -1
  130. package/node/files/index.js +1 -1
  131. package/node/ftps/file/index.d.ts +3 -3
  132. package/node/ftps/file/index.js +3 -3
  133. package/node/images/transform/index.js +23 -23
  134. package/node/images/transform/operations/index.d.ts +4 -4
  135. package/node/images/transform/operations/index.js +4 -4
  136. package/node/index.d.ts +2 -2
  137. package/node/index.js +2 -2
  138. package/node/process/index.d.ts +1 -1
  139. package/node/process/index.js +1 -1
  140. package/node/sftp/directory/index.d.ts +1 -1
  141. package/node/sftp/directory/index.js +1 -1
  142. package/node/sftp/file/index.d.ts +1 -1
  143. package/node/sftp/file/index.js +1 -1
  144. package/package.json +1 -1
  145. package/chunks/chunk-EPUHVR7J.js +0 -17
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SmartTags
3
- } from "./chunk-FCABYQRX.js";
3
+ } from "./chunk-MSU7JU63.js";
4
4
  import {
5
5
  makeSuccess
6
6
  } from "./chunk-LUAYN7VJ.js";
@@ -10,7 +10,7 @@ var nullFunc = SmartTags.makeSmartTag({
10
10
  name: "null",
11
11
  defaultMode: "isolation",
12
12
  isolationInitType: "null",
13
- mainValueCheck: (i) => ({ success: true, payload: i }),
13
+ mainValueCheck: (i) => makeSuccess(i),
14
14
  argsValueCheck: (a) => makeSuccess(a),
15
15
  func: () => makeSuccess(null)
16
16
  });
@@ -1,54 +1,51 @@
1
1
  import {
2
2
  nullFunc
3
- } from "./chunk-FJH35B3Q.js";
3
+ } from "./chunk-B4HGXMP3.js";
4
4
  import {
5
- array
6
- } from "./chunk-QDHET2TE.js";
5
+ Types
6
+ } from "./chunk-XEQ2PBT2.js";
7
7
  import {
8
8
  any
9
- } from "./chunk-DU6U226H.js";
9
+ } from "./chunk-RJRNYRPM.js";
10
+ import {
11
+ array
12
+ } from "./chunk-HYGUIF2O.js";
10
13
  import {
11
14
  SmartTags
12
- } from "./chunk-FCABYQRX.js";
15
+ } from "./chunk-MSU7JU63.js";
13
16
  import {
14
17
  Serialize
15
- } from "./chunk-H4KLHV6B.js";
18
+ } from "./chunk-O32IRXDX.js";
16
19
  import {
17
20
  Transformer
18
- } from "./chunk-4STX5SQX.js";
21
+ } from "./chunk-LEBGVBYD.js";
19
22
  import {
20
23
  Method
21
24
  } from "./chunk-RW7VAKJW.js";
22
- import {
23
- Types
24
- } from "./chunk-XEQ2PBT2.js";
25
25
  import {
26
26
  insertNode
27
27
  } from "./chunk-XA4HVHJ4.js";
28
- import {
29
- isInEnum
30
- } from "./chunk-E6MSDKON.js";
31
- import {
32
- get
33
- } from "./chunk-57YKZBJR.js";
34
28
  import {
35
29
  recordMap
36
30
  } from "./chunk-XNF5MLCQ.js";
31
+ import {
32
+ isInEnum
33
+ } from "./chunk-E6MSDKON.js";
37
34
  import {
38
35
  isRecord
39
36
  } from "./chunk-YDIBNEGA.js";
37
+ import {
38
+ trimEnd,
39
+ trimStart
40
+ } from "./chunk-6XL25OZX.js";
40
41
  import {
41
42
  makeFailure,
42
43
  makeSuccess,
43
44
  outcome_exports
44
45
  } from "./chunk-LUAYN7VJ.js";
45
46
  import {
46
- replaceAll
47
- } from "./chunk-EPUHVR7J.js";
48
- import {
49
- trimEnd,
50
- trimStart
51
- } from "./chunk-6XL25OZX.js";
47
+ get
48
+ } from "./chunk-57YKZBJR.js";
52
49
  import {
53
50
  isNonNullObject
54
51
  } from "./chunk-HQLRJ7XW.js";
@@ -200,7 +197,7 @@ var guess = SmartTags.makeSmartTag({
200
197
  name: "guess",
201
198
  defaultMode: "isolation",
202
199
  isolationInitType: "string",
203
- mainValueCheck: (m) => makeSuccess(m),
200
+ mainValueCheck: SmartTags.expectNotUndef,
204
201
  argsValueCheck: (a) => makeSuccess(a),
205
202
  func: (main, args) => {
206
203
  const { typeCheck } = Utils.Tree.TypeChecks;
@@ -248,10 +245,8 @@ var nodelist = SmartTags.makeSmartTag({
248
245
  func: (main, args) => {
249
246
  const { document } = get();
250
247
  const returnedParent = document.createDocumentFragment();
251
- returnedParent.append(
252
- ...Array.from(Cast.toNodeList(main)),
253
- ...Array.from(Cast.toNodeList(args))
254
- );
248
+ if (main !== void 0) returnedParent.append(...Array.from(Cast.toNodeList(main)));
249
+ returnedParent.append(...Array.from(Cast.toNodeList(args)));
255
250
  const returned = returnedParent.childNodes;
256
251
  return makeSuccess(returned);
257
252
  }
@@ -401,7 +396,7 @@ var and = SmartTags.makeSmartTag({
401
396
  name: "and",
402
397
  defaultMode: "coalescion",
403
398
  isolationInitType: "array",
404
- mainValueCheck: (m) => makeSuccess(m),
399
+ mainValueCheck: SmartTags.expectNotUndef,
405
400
  argsValueCheck: (a) => makeSuccess(a),
406
401
  func: (main, args) => {
407
402
  const all = [main, ...args];
@@ -516,7 +511,7 @@ var clone = SmartTags.makeSmartTag({
516
511
  name: "clone",
517
512
  defaultMode: "coalescion",
518
513
  isolationInitType: "array",
519
- mainValueCheck: (m) => makeSuccess(m),
514
+ mainValueCheck: SmartTags.expectNotUndef,
520
515
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
521
516
  func: (main) => makeSuccess(Utils.clone(main))
522
517
  });
@@ -567,7 +562,7 @@ var equals = SmartTags.makeSmartTag({
567
562
  name: "equals",
568
563
  defaultMode: "coalescion",
569
564
  isolationInitType: "array",
570
- mainValueCheck: (m) => makeSuccess(m),
565
+ mainValueCheck: SmartTags.expectNotUndef,
571
566
  argsValueCheck: (a) => {
572
567
  const [first, ...others] = a;
573
568
  if (first === void 0) return makeFailure(Utils.SmartTags.makeArgsValueError(
@@ -736,7 +731,7 @@ var hjstringify = SmartTags.makeSmartTag({
736
731
  name: "hjstringify",
737
732
  defaultMode: "coalescion",
738
733
  isolationInitType: "array",
739
- mainValueCheck: (m) => makeSuccess(m),
734
+ mainValueCheck: SmartTags.expectNotUndef,
740
735
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
741
736
  func: (main) => {
742
737
  const stringified = stringify(main);
@@ -787,7 +782,7 @@ var initialize = SmartTags.makeSmartTag({
787
782
  name: "initialize",
788
783
  defaultMode: "coalescion",
789
784
  isolationInitType: "array",
790
- mainValueCheck: (m) => makeSuccess(m),
785
+ mainValueCheck: SmartTags.expectNotUndef,
791
786
  argsValueCheck: (a) => {
792
787
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
793
788
  const { getType, typeCheck } = Utils.Tree.TypeChecks;
@@ -922,7 +917,7 @@ var or = SmartTags.makeSmartTag({
922
917
  name: "or",
923
918
  defaultMode: "coalescion",
924
919
  isolationInitType: "array",
925
- mainValueCheck: (m) => makeSuccess(m),
920
+ mainValueCheck: SmartTags.expectNotUndef,
926
921
  argsValueCheck: (a) => makeSuccess(a),
927
922
  func: (main, args) => {
928
923
  const all = [main, ...args];
@@ -1015,7 +1010,7 @@ var populate = SmartTags.makeSmartTag({
1015
1010
  for (const [propName, toReplace] of actions) {
1016
1011
  try {
1017
1012
  const value = deepGetProperty(record2, Cast.toString(propName));
1018
- const replaced = replaceAll(returnedStr, Cast.toString(toReplace), Cast.toString(value));
1013
+ const replaced = returnedStr.replaceAll(Cast.toString(toReplace), Cast.toString(value));
1019
1014
  returnedStr = replaced;
1020
1015
  } catch (err) {
1021
1016
  return makeFailure2(makeTransformationError({
@@ -1198,7 +1193,7 @@ var replace = SmartTags.makeSmartTag({
1198
1193
  name: "replace",
1199
1194
  defaultMode: "coalescion",
1200
1195
  isolationInitType: "array",
1201
- mainValueCheck: (m) => makeSuccess(m),
1196
+ mainValueCheck: SmartTags.expectNotUndef,
1202
1197
  argsValueCheck: (a) => {
1203
1198
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
1204
1199
  const { getType, typeCheckMany } = Utils.Tree.TypeChecks;
@@ -1271,7 +1266,7 @@ var set = SmartTags.makeSmartTag({
1271
1266
  name: "set",
1272
1267
  defaultMode: "coalescion",
1273
1268
  isolationInitType: "array",
1274
- mainValueCheck: (m) => makeSuccess(m),
1269
+ mainValueCheck: SmartTags.expectNotUndef,
1275
1270
  argsValueCheck: (a) => {
1276
1271
  const { makeFailure: makeFailure2, makeSuccess: makeSuccess2 } = outcome_exports;
1277
1272
  const { makeArgsValueError } = Utils.SmartTags;
@@ -1617,7 +1612,7 @@ var toarray = SmartTags.makeSmartTag({
1617
1612
  name: "toarray",
1618
1613
  defaultMode: "coalescion",
1619
1614
  isolationInitType: "array",
1620
- mainValueCheck: (m) => makeSuccess(m),
1615
+ mainValueCheck: SmartTags.expectNotUndef,
1621
1616
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1622
1617
  func: (main) => makeSuccess(Cast.toArray(main))
1623
1618
  });
@@ -1627,7 +1622,7 @@ var toboolean = SmartTags.makeSmartTag({
1627
1622
  name: "toboolean",
1628
1623
  defaultMode: "coalescion",
1629
1624
  isolationInitType: "array",
1630
- mainValueCheck: (m) => makeSuccess(m),
1625
+ mainValueCheck: SmartTags.expectNotUndef,
1631
1626
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1632
1627
  func: (m) => makeSuccess(Cast.toBoolean(m))
1633
1628
  });
@@ -1637,7 +1632,7 @@ var toelement = SmartTags.makeSmartTag({
1637
1632
  name: "toelement",
1638
1633
  defaultMode: "coalescion",
1639
1634
  isolationInitType: "array",
1640
- mainValueCheck: (m) => makeSuccess(m),
1635
+ mainValueCheck: SmartTags.expectNotUndef,
1641
1636
  argsValueCheck: (a) => Utils.Tree.TypeChecks.typeCheckManyWithLength(a, 0, 1, "string", "text"),
1642
1637
  func: (m, a) => {
1643
1638
  const [rawTagName] = a;
@@ -1679,7 +1674,7 @@ var tonodelist = SmartTags.makeSmartTag({
1679
1674
  name: "tonodelist",
1680
1675
  defaultMode: "coalescion",
1681
1676
  isolationInitType: "array",
1682
- mainValueCheck: (m) => makeSuccess(m),
1677
+ mainValueCheck: SmartTags.expectNotUndef,
1683
1678
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1684
1679
  func: (m) => makeSuccess(Cast.toNodeList(m))
1685
1680
  });
@@ -1689,7 +1684,7 @@ var tonull = SmartTags.makeSmartTag({
1689
1684
  name: "tonull",
1690
1685
  defaultMode: "coalescion",
1691
1686
  isolationInitType: "array",
1692
- mainValueCheck: (m) => makeSuccess(m),
1687
+ mainValueCheck: SmartTags.expectNotUndef,
1693
1688
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1694
1689
  func: () => makeSuccess(null)
1695
1690
  });
@@ -1699,7 +1694,7 @@ var tonumber = SmartTags.makeSmartTag({
1699
1694
  name: "tonumber",
1700
1695
  defaultMode: "coalescion",
1701
1696
  isolationInitType: "array",
1702
- mainValueCheck: (m) => makeSuccess(m),
1697
+ mainValueCheck: SmartTags.expectNotUndef,
1703
1698
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1704
1699
  func: (m) => makeSuccess(Cast.toNumber(m))
1705
1700
  });
@@ -1709,7 +1704,7 @@ var torecord = SmartTags.makeSmartTag({
1709
1704
  name: "torecord",
1710
1705
  defaultMode: "coalescion",
1711
1706
  isolationInitType: "array",
1712
- mainValueCheck: (m) => makeSuccess(m),
1707
+ mainValueCheck: SmartTags.expectNotUndef,
1713
1708
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1714
1709
  func: (main) => makeSuccess(Cast.toRecord(main))
1715
1710
  });
@@ -1719,7 +1714,7 @@ var toref = SmartTags.makeSmartTag({
1719
1714
  name: "toref",
1720
1715
  defaultMode: "coalescion",
1721
1716
  isolationInitType: "array",
1722
- mainValueCheck: (m) => makeSuccess(m),
1717
+ mainValueCheck: SmartTags.expectNotUndef,
1723
1718
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1724
1719
  func: (main, args, details) => func(Cast.toString(main), args, details)
1725
1720
  });
@@ -1729,7 +1724,7 @@ var tostring = SmartTags.makeSmartTag({
1729
1724
  name: "tostring",
1730
1725
  defaultMode: "coalescion",
1731
1726
  isolationInitType: "array",
1732
- mainValueCheck: (m) => makeSuccess(m),
1727
+ mainValueCheck: SmartTags.expectNotUndef,
1733
1728
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1734
1729
  func: (m) => makeSuccess(Cast.toString(m))
1735
1730
  });
@@ -1739,7 +1734,7 @@ var totext = SmartTags.makeSmartTag({
1739
1734
  name: "totext",
1740
1735
  defaultMode: "coalescion",
1741
1736
  isolationInitType: "array",
1742
- mainValueCheck: (m) => makeSuccess(m),
1737
+ mainValueCheck: SmartTags.expectNotUndef,
1743
1738
  argsValueCheck: (a) => Utils.SmartTags.expectEmptyArgs(a),
1744
1739
  func: (m) => makeSuccess(Cast.toText(m))
1745
1740
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SmartTags
3
- } from "./chunk-FCABYQRX.js";
3
+ } from "./chunk-MSU7JU63.js";
4
4
  import {
5
5
  makeSuccess
6
6
  } from "./chunk-LUAYN7VJ.js";
@@ -12,7 +12,10 @@ var array = SmartTags.makeSmartTag({
12
12
  isolationInitType: "array",
13
13
  mainValueCheck: (m) => makeSuccess(m),
14
14
  argsValueCheck: (a) => makeSuccess(a),
15
- func: (main, args) => makeSuccess([main, ...args])
15
+ func: (main, args) => {
16
+ if (main === void 0) return makeSuccess([...args]);
17
+ return makeSuccess([main, ...args]);
18
+ }
16
19
  });
17
20
 
18
21
  export {
@@ -38,7 +38,7 @@ var Transformer = class _Transformer {
38
38
  let argsValue;
39
39
  if (mode === "isolation") {
40
40
  if (Array.isArray(innerValue)) {
41
- mainValue = innerValue.at(0) ?? [];
41
+ mainValue = innerValue.at(0);
42
42
  argsValue = innerValue.slice(1);
43
43
  } else {
44
44
  mainValue = innerValue;
@@ -113,7 +113,14 @@ var Transformer = class _Transformer {
113
113
  argsChecked.error.position
114
114
  ));
115
115
  const validArgsValue = argsChecked.payload;
116
- const called = func(validMainValue, validArgsValue, { name: this.name, sourceTree: this.sourceTree });
116
+ const called = func(
117
+ validMainValue,
118
+ validArgsValue,
119
+ {
120
+ name: this.name,
121
+ sourceTree: this.sourceTree
122
+ }
123
+ );
117
124
  if (!called.success) return makeFailure(makeTransformationError(
118
125
  mainValue,
119
126
  argsValue,
@@ -1,9 +1,13 @@
1
1
  import {
2
2
  Transformer
3
- } from "./chunk-4STX5SQX.js";
3
+ } from "./chunk-LEBGVBYD.js";
4
4
  import {
5
5
  Method
6
6
  } from "./chunk-RW7VAKJW.js";
7
+ import {
8
+ makeFailure,
9
+ makeSuccess
10
+ } from "./chunk-LUAYN7VJ.js";
7
11
 
8
12
  // src/agnostic/html/hyper-json/smart-tags/index.ts
9
13
  var SmartTags;
@@ -30,6 +34,14 @@ var SmartTags;
30
34
  }];
31
35
  }
32
36
  SmartTags2.makeSmartTag = makeSmartTag;
37
+ const isNotUndefined = (value) => value !== void 0;
38
+ SmartTags2.expectNotUndef = (value) => {
39
+ if (isNotUndefined(value)) return makeSuccess(value);
40
+ return makeFailure({
41
+ expected: "value",
42
+ found: "undefined"
43
+ });
44
+ };
33
45
  })(SmartTags || (SmartTags = {}));
34
46
 
35
47
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Transformer
3
- } from "./chunk-4STX5SQX.js";
3
+ } from "./chunk-LEBGVBYD.js";
4
4
  import {
5
5
  Method
6
6
  } from "./chunk-RW7VAKJW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SmartTags
3
- } from "./chunk-FCABYQRX.js";
3
+ } from "./chunk-MSU7JU63.js";
4
4
  import {
5
5
  makeSuccess
6
6
  } from "./chunk-LUAYN7VJ.js";
@@ -13,7 +13,7 @@ var any = SmartTags.makeSmartTag({
13
13
  mainValueCheck: (m) => makeSuccess(m),
14
14
  argsValueCheck: (a) => makeSuccess(a),
15
15
  func: (main, args) => {
16
- if (args.length === 0) return makeSuccess(main);
16
+ if (main === void 0) return makeSuccess([...args]);
17
17
  return makeSuccess([main, ...args]);
18
18
  }
19
19
  });
@@ -1,16 +1,16 @@
1
- import {
2
- Paginator
3
- } from "../../chunks/chunk-3K4JD65D.js";
4
1
  import {
5
2
  randomHash
6
3
  } from "../../chunks/chunk-75BICI4L.js";
7
4
  import "../../chunks/chunk-OGBUSUE6.js";
5
+ import {
6
+ ResizeObserverComponent
7
+ } from "../../chunks/chunk-UVG2S54P.js";
8
8
  import {
9
9
  IntersectionObserverComponent
10
10
  } from "../../chunks/chunk-SPC2SMZR.js";
11
11
  import {
12
- ResizeObserverComponent
13
- } from "../../chunks/chunk-UVG2S54P.js";
12
+ Paginator
13
+ } from "../../chunks/chunk-3K4JD65D.js";
14
14
  import {
15
15
  scrllgngn
16
16
  } from "../../chunks/chunk-3DNVFA25.js";
@@ -1,20 +1,20 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
- export * as disclaimer from './Disclaimer/index.js'
3
2
  export * as drawer from './Drawer/index.js'
3
+ export * as disclaimer from './Disclaimer/index.js'
4
4
  export * as eventListener from './EventListener/index.js'
5
5
  export * as gallery from './Gallery/index.js'
6
6
  export * as image from './Image/index.js'
7
7
  export * as intersectionObserver from './IntersectionObserver/index.js'
8
8
  export * as paginator from './Paginator/index.js'
9
+ export * as resizeObserver from './ResizeObserver/index.js'
10
+ export * as scrllgngn from './Scrllgngn/index.js'
9
11
  export * as scrollListener from './ScrollListener/index.js'
10
12
  export * as sequencer from './Sequencer/index.js'
11
13
  export * as shadowRoot from './ShadowRoot/index.js'
12
- export * as resizeObserver from './ResizeObserver/index.js'
13
14
  export * as subtitles from './Subtitles/index.js'
14
- export * as scrllgngn from './Scrllgngn/index.js'
15
15
  export * as theatre from './Theatre/index.js'
16
16
  export * as uiModule from './UIModule/index.js'
17
- export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
18
17
  export * as video from './Video/index.js'
19
- export * as utils from './utils/index.js'
18
+ export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
20
19
  export * as wipIcon from './_WIP_Icon/index.js'
20
+ export * as utils from './utils/index.js'
@@ -1,20 +1,20 @@
1
1
  export * as beforeAfter from './BeforeAfter/index.js'
2
- export * as disclaimer from './Disclaimer/index.js'
3
2
  export * as drawer from './Drawer/index.js'
3
+ export * as disclaimer from './Disclaimer/index.js'
4
4
  export * as eventListener from './EventListener/index.js'
5
5
  export * as gallery from './Gallery/index.js'
6
6
  export * as image from './Image/index.js'
7
7
  export * as intersectionObserver from './IntersectionObserver/index.js'
8
8
  export * as paginator from './Paginator/index.js'
9
+ export * as resizeObserver from './ResizeObserver/index.js'
10
+ export * as scrllgngn from './Scrllgngn/index.js'
9
11
  export * as scrollListener from './ScrollListener/index.js'
10
12
  export * as sequencer from './Sequencer/index.js'
11
13
  export * as shadowRoot from './ShadowRoot/index.js'
12
- export * as resizeObserver from './ResizeObserver/index.js'
13
14
  export * as subtitles from './Subtitles/index.js'
14
- export * as scrllgngn from './Scrllgngn/index.js'
15
15
  export * as theatre from './Theatre/index.js'
16
16
  export * as uiModule from './UIModule/index.js'
17
- export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
18
17
  export * as video from './Video/index.js'
19
- export * as utils from './utils/index.js'
18
+ export * as wipAudioQuote from './_WIP_AudioQuote/index.js'
20
19
  export * as wipIcon from './_WIP_Icon/index.js'
20
+ export * as utils from './utils/index.js'
@@ -1,7 +1,7 @@
1
- export * as download from './download/index.js'
2
1
  export * as copy from './copy/index.js'
3
- export * as remove from './remove/index.js'
2
+ export * as download from './download/index.js'
4
3
  export * as exists from './exists/index.js'
5
4
  export * as move from './move/index.js'
6
- export * as upload from './upload/index.js'
5
+ export * as remove from './remove/index.js'
7
6
  export * as stat from './stat/index.js'
7
+ export * as upload from './upload/index.js'
@@ -1,7 +1,7 @@
1
- export * as download from './download/index.js'
2
1
  export * as copy from './copy/index.js'
3
- export * as remove from './remove/index.js'
2
+ export * as download from './download/index.js'
4
3
  export * as exists from './exists/index.js'
5
4
  export * as move from './move/index.js'
6
- export * as upload from './upload/index.js'
5
+ export * as remove from './remove/index.js'
7
6
  export * as stat from './stat/index.js'
7
+ export * as upload from './upload/index.js'
@@ -1,12 +1,12 @@
1
1
  export * as copy from './copy/index.js'
2
+ export * as exists from './exists/index.js'
2
3
  export * as download from './download/index.js'
4
+ export * as generateSignedUrl from './generate-signed-url/index.js'
3
5
  export * as getMetadata from './get-metadata/index.js'
4
6
  export * as getPermissions from './get-permissions/index.js'
5
7
  export * as move from './move/index.js'
6
8
  export * as remove from './remove/index.js'
7
- export * as exists from './exists/index.js'
8
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
9
10
  export * as stat from './stat/index.js'
10
11
  export * as updateMetadata from './update-metadata/index.js'
11
- export * as generateSignedUrl from './generate-signed-url/index.js'
12
12
  export * as upload from './upload/index.js'
@@ -1,12 +1,12 @@
1
1
  export * as copy from './copy/index.js'
2
+ export * as exists from './exists/index.js'
2
3
  export * as download from './download/index.js'
4
+ export * as generateSignedUrl from './generate-signed-url/index.js'
3
5
  export * as getMetadata from './get-metadata/index.js'
4
6
  export * as getPermissions from './get-permissions/index.js'
5
7
  export * as move from './move/index.js'
6
8
  export * as remove from './remove/index.js'
7
- export * as exists from './exists/index.js'
8
9
  export * as revokeSignedUrls from './revoke-signed-urls/index.js'
9
10
  export * as stat from './stat/index.js'
10
11
  export * as updateMetadata from './update-metadata/index.js'
11
- export * as generateSignedUrl from './generate-signed-url/index.js'
12
12
  export * as upload from './upload/index.js'
@@ -1,12 +1,12 @@
1
+ import {
2
+ upload
3
+ } from "../../../../../chunks/chunk-EX2QKFY5.js";
1
4
  import {
2
5
  download
3
6
  } from "../../../../../chunks/chunk-4Q4T7QQO.js";
4
7
  import {
5
8
  remove
6
9
  } from "../../../../../chunks/chunk-MO4TRYNI.js";
7
- import {
8
- upload
9
- } from "../../../../../chunks/chunk-EX2QKFY5.js";
10
10
  import {
11
11
  makeSuccess
12
12
  } from "../../../../../chunks/chunk-LUAYN7VJ.js";
@@ -1,11 +1,11 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as copyFile from './copy-file/index.js'
3
+ export * as downloadFile from './download-file/index.js'
4
+ export * as existsFile from './exists-file/index.js'
3
5
  export * as listDir from './list-dir/index.js'
4
6
  export * as moveDir from './move-dir/index.js'
5
7
  export * as moveFile from './move-file/index.js'
6
8
  export * as removeDir from './remove-dir/index.js'
7
- export * as downloadFile from './download-file/index.js'
8
- export * as existsFile from './exists-file/index.js'
9
9
  export * as removeFile from './remove-file/index.js'
10
10
  export * as statFile from './stat-file/index.js'
11
11
  export * as uploadFile from './upload-file/index.js'
@@ -1,11 +1,11 @@
1
1
  export * as copyDir from './copy-dir/index.js'
2
2
  export * as copyFile from './copy-file/index.js'
3
+ export * as downloadFile from './download-file/index.js'
4
+ export * as existsFile from './exists-file/index.js'
3
5
  export * as listDir from './list-dir/index.js'
4
6
  export * as moveDir from './move-dir/index.js'
5
7
  export * as moveFile from './move-file/index.js'
6
8
  export * as removeDir from './remove-dir/index.js'
7
- export * as downloadFile from './download-file/index.js'
8
- export * as existsFile from './exists-file/index.js'
9
9
  export * as removeFile from './remove-file/index.js'
10
10
  export * as statFile from './stat-file/index.js'
11
11
  export * as uploadFile from './upload-file/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as isInDirectory from './is-in-directory/index.js'
2
- export * as subpaths from './subpaths/index.js'
3
2
  export * as readWrite from './read-write/index.js'
3
+ export * as subpaths from './subpaths/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as isInDirectory from './is-in-directory/index.js'
2
- export * as subpaths from './subpaths/index.js'
3
2
  export * as readWrite from './read-write/index.js'
3
+ export * as subpaths from './subpaths/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as copy from './copy/index.js'
2
+ export * as download from './download/index.js'
2
3
  export * as exists from './exists/index.js'
3
- export * as move from './move/index.js'
4
4
  export * as remove from './remove/index.js'
5
- export * as stat from './stat/index.js'
6
- export * as download from './download/index.js'
5
+ export * as move from './move/index.js'
7
6
  export * as upload from './upload/index.js'
7
+ export * as stat from './stat/index.js'
@@ -1,7 +1,7 @@
1
1
  export * as copy from './copy/index.js'
2
+ export * as download from './download/index.js'
2
3
  export * as exists from './exists/index.js'
3
- export * as move from './move/index.js'
4
4
  export * as remove from './remove/index.js'
5
- export * as stat from './stat/index.js'
6
- export * as download from './download/index.js'
5
+ export * as move from './move/index.js'
7
6
  export * as upload from './upload/index.js'
7
+ export * as stat from './stat/index.js'