@ynput/ayon-frontend-shared 0.2.28 → 0.2.30

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 (1093) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +31 -28
  3. package/dist/DetailsPanel.es.js.map +1 -1
  4. package/dist/ProjectTreeTable.cjs.js +1 -1
  5. package/dist/ProjectTreeTable.es.js +51 -49
  6. package/dist/ProjectTreeTable.es.js.map +1 -1
  7. package/dist/Views.cjs.js.map +1 -1
  8. package/dist/Views.es.js.map +1 -1
  9. package/dist/api.cjs.js +1 -1
  10. package/dist/api.es.js +225 -220
  11. package/dist/api.es.js.map +1 -1
  12. package/dist/components.cjs.js +1 -1
  13. package/dist/components.es.js +90 -89
  14. package/dist/components.es.js.map +1 -1
  15. package/dist/context.cjs.js +1 -1
  16. package/dist/context.es.js +23 -19
  17. package/dist/context.es.js.map +1 -1
  18. package/dist/hooks.cjs.js +1 -1
  19. package/dist/hooks.es.js +16 -12
  20. package/dist/hooks.es.js.map +1 -1
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.es.js +17 -15
  23. package/dist/index.es.js.map +1 -1
  24. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.js +2 -0
  25. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.js.map +1 -0
  26. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +63 -0
  27. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -0
  28. package/dist/node_modules/@ungap/structured-clone/esm/index.cjs.js +2 -0
  29. package/dist/node_modules/@ungap/structured-clone/esm/index.cjs.js.map +1 -0
  30. package/dist/node_modules/@ungap/structured-clone/esm/index.es.js +12 -0
  31. package/dist/node_modules/@ungap/structured-clone/esm/index.es.js.map +1 -0
  32. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.js +2 -0
  33. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.js.map +1 -0
  34. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +107 -0
  35. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -0
  36. package/dist/node_modules/@ungap/structured-clone/esm/types.cjs.js +2 -0
  37. package/dist/node_modules/@ungap/structured-clone/esm/types.cjs.js.map +1 -0
  38. package/dist/node_modules/@ungap/structured-clone/esm/types.es.js +14 -0
  39. package/dist/node_modules/@ungap/structured-clone/esm/types.es.js.map +1 -0
  40. package/dist/node_modules/devlop/lib/default.cjs.js +2 -0
  41. package/dist/node_modules/devlop/lib/default.cjs.js.map +1 -0
  42. package/dist/node_modules/devlop/lib/default.es.js +6 -0
  43. package/dist/node_modules/devlop/lib/default.es.js.map +1 -0
  44. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.js +2 -0
  45. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.js.map +1 -0
  46. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js +39 -0
  47. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
  48. package/dist/node_modules/entities/dist/esm/decode.cjs.js +2 -0
  49. package/dist/node_modules/entities/dist/esm/decode.cjs.js.map +1 -0
  50. package/dist/node_modules/entities/dist/esm/decode.es.js +246 -0
  51. package/dist/node_modules/entities/dist/esm/decode.es.js.map +1 -0
  52. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.js +2 -0
  53. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.js.map +1 -0
  54. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js +8 -0
  55. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
  56. package/dist/node_modules/hast-util-raw/lib/index.cjs.js +2 -0
  57. package/dist/node_modules/hast-util-raw/lib/index.cjs.js.map +1 -0
  58. package/dist/node_modules/hast-util-raw/lib/index.es.js +218 -0
  59. package/dist/node_modules/hast-util-raw/lib/index.es.js.map +1 -0
  60. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.cjs.js +2 -0
  61. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.cjs.js.map +1 -0
  62. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.es.js +146 -0
  63. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.es.js.map +1 -0
  64. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.cjs.js +2 -0
  65. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.cjs.js.map +1 -0
  66. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.es.js +21 -0
  67. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.es.js.map +1 -0
  68. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.cjs.js +2 -0
  69. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.cjs.js.map +1 -0
  70. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.es.js +113 -0
  71. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.es.js.map +1 -0
  72. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.cjs.js +2 -0
  73. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.cjs.js.map +1 -0
  74. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.es.js +9 -0
  75. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.es.js.map +1 -0
  76. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.js +2 -0
  77. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.js.map +1 -0
  78. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.es.js +45 -0
  79. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.es.js.map +1 -0
  80. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.cjs.js +2 -0
  81. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.cjs.js.map +1 -0
  82. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.es.js +26 -0
  83. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.es.js.map +1 -0
  84. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.cjs.js +2 -0
  85. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.cjs.js.map +1 -0
  86. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.es.js +99 -0
  87. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.es.js.map +1 -0
  88. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.cjs.js +2 -0
  89. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.cjs.js.map +1 -0
  90. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.es.js +8 -0
  91. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.es.js.map +1 -0
  92. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.cjs.js +2 -0
  93. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.cjs.js.map +1 -0
  94. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.es.js +211 -0
  95. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.es.js.map +1 -0
  96. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.cjs.js +2 -0
  97. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.cjs.js.map +1 -0
  98. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.es.js +251 -0
  99. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.es.js.map +1 -0
  100. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.cjs.js +2 -0
  101. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.cjs.js.map +1 -0
  102. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.es.js +15 -0
  103. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.es.js.map +1 -0
  104. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.cjs.js +2 -0
  105. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.cjs.js.map +1 -0
  106. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.es.js +74 -0
  107. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.es.js.map +1 -0
  108. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.cjs.js +2 -0
  109. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.cjs.js.map +1 -0
  110. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.es.js +85 -0
  111. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.es.js.map +1 -0
  112. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.cjs.js +2 -0
  113. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.cjs.js.map +1 -0
  114. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.es.js +2272 -0
  115. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.es.js.map +1 -0
  116. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.cjs.js +2 -0
  117. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.cjs.js.map +1 -0
  118. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.es.js +241 -0
  119. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.es.js.map +1 -0
  120. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.cjs.js +2 -0
  121. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.cjs.js.map +1 -0
  122. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.es.js +3 -0
  123. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.es.js.map +1 -0
  124. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.cjs.js +2 -0
  125. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.cjs.js.map +1 -0
  126. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.es.js +1941 -0
  127. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.es.js.map +1 -0
  128. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.cjs.js +2 -0
  129. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.cjs.js.map +1 -0
  130. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.es.js +89 -0
  131. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.es.js.map +1 -0
  132. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.cjs.js +2 -0
  133. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.cjs.js.map +1 -0
  134. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.es.js +163 -0
  135. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.es.js.map +1 -0
  136. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.cjs.js +2 -0
  137. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.cjs.js.map +1 -0
  138. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.es.js +13 -0
  139. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.es.js.map +1 -0
  140. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.cjs.js +2 -0
  141. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.cjs.js.map +1 -0
  142. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.es.js +62 -0
  143. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.es.js.map +1 -0
  144. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.cjs.js +2 -0
  145. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.cjs.js.map +1 -0
  146. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.es.js +34 -0
  147. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.es.js.map +1 -0
  148. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.cjs.js +2 -0
  149. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.cjs.js.map +1 -0
  150. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.es.js +369 -0
  151. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.es.js.map +1 -0
  152. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.cjs.js +2 -0
  153. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.cjs.js.map +1 -0
  154. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.es.js +7 -0
  155. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.es.js.map +1 -0
  156. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.cjs.js +2 -0
  157. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.cjs.js.map +1 -0
  158. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.es.js +567 -0
  159. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.es.js.map +1 -0
  160. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.cjs.js +2 -0
  161. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.cjs.js.map +1 -0
  162. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.es.js +8 -0
  163. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +1 -0
  164. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.cjs.js +2 -0
  165. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.cjs.js.map +1 -0
  166. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.es.js +7 -0
  167. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +1 -0
  168. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.cjs.js +2 -0
  169. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.cjs.js.map +1 -0
  170. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.es.js +20 -0
  171. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.es.js.map +1 -0
  172. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.cjs.js +2 -0
  173. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.cjs.js.map +1 -0
  174. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.es.js +37 -0
  175. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.es.js.map +1 -0
  176. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.cjs.js +2 -0
  177. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.cjs.js.map +1 -0
  178. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.es.js +29 -0
  179. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.es.js.map +1 -0
  180. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.cjs.js +2 -0
  181. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.cjs.js.map +1 -0
  182. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.es.js +11 -0
  183. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.es.js.map +1 -0
  184. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.cjs.js +2 -0
  185. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.cjs.js.map +1 -0
  186. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.es.js +22 -0
  187. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.es.js.map +1 -0
  188. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.cjs.js +2 -0
  189. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.cjs.js.map +1 -0
  190. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.es.js +15 -0
  191. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.es.js.map +1 -0
  192. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.cjs.js +2 -0
  193. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.cjs.js.map +1 -0
  194. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.es.js +20 -0
  195. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.es.js.map +1 -0
  196. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.cjs.js +2 -0
  197. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.cjs.js.map +1 -0
  198. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.es.js +12 -0
  199. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.es.js.map +1 -0
  200. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.cjs.js +2 -0
  201. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.cjs.js.map +1 -0
  202. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.es.js +12 -0
  203. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.es.js.map +1 -0
  204. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.cjs.js +3 -0
  205. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.cjs.js.map +1 -0
  206. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.es.js +43 -0
  207. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.es.js.map +1 -0
  208. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.js +2 -0
  209. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.js.map +1 -0
  210. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +119 -0
  211. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -0
  212. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
  213. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js.map +1 -1
  214. package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +1 -1
  215. package/dist/node_modules/rehype/node_modules/unist-util-stringify-position/lib/index.cjs.js.map +1 -0
  216. package/dist/node_modules/{vfile/node_modules/unist-util-stringify-position/lib/index.cjs.js.map → rehype/node_modules/unist-util-stringify-position/lib/index.es.js.map} +1 -1
  217. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +2 -0
  218. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js.map +1 -0
  219. package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/index.es.js +2 -2
  220. package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js.map +1 -0
  221. package/dist/node_modules/rehype/node_modules/vfile/lib/minpath.browser.cjs.js.map +1 -0
  222. package/dist/node_modules/rehype/node_modules/vfile/lib/minpath.browser.es.js.map +1 -0
  223. package/dist/node_modules/rehype/node_modules/vfile/lib/minproc.browser.cjs.js.map +1 -0
  224. package/dist/node_modules/rehype/node_modules/vfile/lib/minproc.browser.es.js.map +1 -0
  225. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.browser.cjs.js.map +1 -0
  226. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.browser.es.js.map +1 -0
  227. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.shared.cjs.js.map +1 -0
  228. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.shared.es.js.map +1 -0
  229. package/dist/node_modules/rehype/node_modules/vfile-message/lib/index.cjs.js.map +1 -0
  230. package/dist/node_modules/{vfile/node_modules/vfile-message/lib/index.cjs.js.map → rehype/node_modules/vfile-message/lib/index.es.js.map} +1 -1
  231. package/dist/node_modules/rehype-raw/lib/index.cjs.js +2 -0
  232. package/dist/node_modules/rehype-raw/lib/index.cjs.js.map +1 -0
  233. package/dist/node_modules/rehype-raw/lib/index.es.js +13 -0
  234. package/dist/node_modules/rehype-raw/lib/index.es.js.map +1 -0
  235. package/dist/node_modules/unist-util-is/lib/index.cjs.js +2 -0
  236. package/dist/node_modules/unist-util-is/lib/index.cjs.js.map +1 -0
  237. package/dist/node_modules/unist-util-is/lib/index.es.js +85 -0
  238. package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -0
  239. package/dist/node_modules/unist-util-position/lib/index.cjs.js +2 -0
  240. package/dist/node_modules/unist-util-position/lib/index.cjs.js.map +1 -0
  241. package/dist/node_modules/unist-util-position/lib/index.es.js +18 -0
  242. package/dist/node_modules/unist-util-position/lib/index.es.js.map +1 -0
  243. package/dist/node_modules/unist-util-visit/lib/index.cjs.js +2 -0
  244. package/dist/node_modules/unist-util-visit/lib/index.cjs.js.map +1 -0
  245. package/dist/node_modules/unist-util-visit/lib/index.es.js +17 -0
  246. package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -0
  247. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.js +2 -0
  248. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.js.map +1 -0
  249. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js +7 -0
  250. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -0
  251. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.js +2 -0
  252. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.js.map +1 -0
  253. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +57 -0
  254. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -0
  255. package/dist/node_modules/web-namespaces/index.cjs.js +1 -1
  256. package/dist/node_modules/web-namespaces/index.cjs.js.map +1 -1
  257. package/dist/node_modules/web-namespaces/index.es.js +8 -3
  258. package/dist/node_modules/web-namespaces/index.es.js.map +1 -1
  259. package/dist/shared/src/api/base/client.cjs.js +1 -1
  260. package/dist/shared/src/api/base/client.cjs.js.map +1 -1
  261. package/dist/shared/src/api/base/client.es.js +8 -7
  262. package/dist/shared/src/api/base/client.es.js.map +1 -1
  263. package/dist/shared/src/api/generated/anatomy.cjs.js.map +1 -1
  264. package/dist/shared/src/api/generated/anatomy.es.js.map +1 -1
  265. package/dist/shared/src/api/generated/attributes.cjs.js +1 -1
  266. package/dist/shared/src/api/generated/attributes.cjs.js.map +1 -1
  267. package/dist/shared/src/api/generated/attributes.es.js +9 -2
  268. package/dist/shared/src/api/generated/attributes.es.js.map +1 -1
  269. package/dist/shared/src/api/generated/entityLists.cjs.js +1 -1
  270. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  271. package/dist/shared/src/api/generated/entityLists.es.js +46 -0
  272. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  273. package/dist/shared/src/api/generated/folders.cjs.js.map +1 -1
  274. package/dist/shared/src/api/generated/folders.es.js.map +1 -1
  275. package/dist/shared/src/api/generated/graphql.cjs.js +14 -7
  276. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  277. package/dist/shared/src/api/generated/graphql.es.js +28 -21
  278. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  279. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  280. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  281. package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
  282. package/dist/shared/src/api/generated/views.es.js.map +1 -1
  283. package/dist/shared/src/api/queries/attributes/updateAttributes.cjs.js +1 -1
  284. package/dist/shared/src/api/queries/attributes/updateAttributes.cjs.js.map +1 -1
  285. package/dist/shared/src/api/queries/attributes/updateAttributes.es.js +12 -5
  286. package/dist/shared/src/api/queries/attributes/updateAttributes.es.js.map +1 -1
  287. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +1 -1
  288. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
  289. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -3
  290. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
  291. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +1 -1
  292. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
  293. package/dist/shared/src/api/queries/entities/updateEntity.es.js +33 -32
  294. package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
  295. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -1
  296. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
  297. package/dist/shared/src/api/queries/entityLists/getLists.es.js +104 -103
  298. package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
  299. package/dist/shared/src/api/queries/entityLists/listFolders.cjs.js +2 -0
  300. package/dist/shared/src/api/queries/entityLists/listFolders.cjs.js.map +1 -0
  301. package/dist/shared/src/api/queries/entityLists/listFolders.es.js +111 -0
  302. package/dist/shared/src/api/queries/entityLists/listFolders.es.js.map +1 -0
  303. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -1
  304. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
  305. package/dist/shared/src/api/queries/entityLists/updateLists.es.js +46 -45
  306. package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
  307. package/dist/shared/src/api/queries/links/getEntityLinks.cjs.js +1 -1
  308. package/dist/shared/src/api/queries/links/getEntityLinks.cjs.js.map +1 -1
  309. package/dist/shared/src/api/queries/links/getEntityLinks.es.js +41 -40
  310. package/dist/shared/src/api/queries/links/getEntityLinks.es.js.map +1 -1
  311. package/dist/shared/src/api/queries/links/updateLinks.cjs.js +1 -1
  312. package/dist/shared/src/api/queries/links/updateLinks.cjs.js.map +1 -1
  313. package/dist/shared/src/api/queries/links/updateLinks.es.js +164 -143
  314. package/dist/shared/src/api/queries/links/updateLinks.es.js.map +1 -1
  315. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +1 -1
  316. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
  317. package/dist/shared/src/api/queries/overview/updateOverview.es.js +7 -6
  318. package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
  319. package/dist/shared/src/api/queries/project/getProject.cjs.js +1 -19
  320. package/dist/shared/src/api/queries/project/getProject.cjs.js.map +1 -1
  321. package/dist/shared/src/api/queries/project/getProject.es.js +10 -70
  322. package/dist/shared/src/api/queries/project/getProject.es.js.map +1 -1
  323. package/dist/shared/src/api/queries/project/updateProject.cjs.js +1 -1
  324. package/dist/shared/src/api/queries/project/updateProject.cjs.js.map +1 -1
  325. package/dist/shared/src/api/queries/project/updateProject.es.js +35 -61
  326. package/dist/shared/src/api/queries/project/updateProject.es.js.map +1 -1
  327. package/dist/shared/src/api/queries/system/getSystem.cjs.js +1 -1
  328. package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
  329. package/dist/shared/src/api/queries/system/getSystem.es.js +14 -8
  330. package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
  331. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js +1 -1
  332. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js.map +1 -1
  333. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js +23 -23
  334. package/dist/shared/src/api/queries/users/getUsers.cjs.js +2 -2
  335. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  336. package/dist/shared/src/api/queries/users/getUsers.es.js +34 -37
  337. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  338. package/dist/shared/src/api/queries/users/updateUsers.cjs.js +1 -1
  339. package/dist/shared/src/api/queries/users/updateUsers.cjs.js.map +1 -1
  340. package/dist/shared/src/api/queries/users/updateUsers.es.js +19 -11
  341. package/dist/shared/src/api/queries/users/updateUsers.es.js.map +1 -1
  342. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
  343. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
  344. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +30 -29
  345. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
  346. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +1 -1
  347. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
  348. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +3 -2
  349. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
  350. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js +24 -33
  351. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js.map +1 -1
  352. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js +109 -93
  353. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js.map +1 -1
  354. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +6 -5
  355. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
  356. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +174 -60
  357. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
  358. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js +47 -0
  359. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js.map +1 -0
  360. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js +92 -0
  361. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js.map +1 -0
  362. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +2 -0
  363. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -0
  364. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +219 -0
  365. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -0
  366. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +456 -0
  367. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -0
  368. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +472 -0
  369. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -0
  370. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +11 -0
  371. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -0
  372. package/dist/shared/src/components/{LinksManager/LinksManagerDialog.es.js → DetailsPanelDetails/DetailsPanelDetails.es.js} +92 -91
  373. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -0
  374. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js +51 -0
  375. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js.map +1 -0
  376. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js +113 -0
  377. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js.map +1 -0
  378. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js +8 -0
  379. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js.map +1 -0
  380. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js +32 -0
  381. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js.map +1 -0
  382. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.cjs.js +2 -0
  383. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.cjs.js.map +1 -0
  384. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.es.js +61 -0
  385. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.es.js.map +1 -0
  386. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +2 -0
  387. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -0
  388. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +96 -0
  389. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -0
  390. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +2 -0
  391. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -0
  392. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +110 -0
  393. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -0
  394. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.cjs.js +2 -0
  395. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.cjs.js.map +1 -0
  396. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.es.js +131 -0
  397. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.es.js.map +1 -0
  398. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.cjs.js +2 -0
  399. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.cjs.js.map +1 -0
  400. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.es.js +64 -0
  401. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.es.js.map +1 -0
  402. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.cjs.js +2 -0
  403. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.cjs.js.map +1 -0
  404. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.es.js +28 -0
  405. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.es.js.map +1 -0
  406. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.cjs.js +2 -0
  407. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.cjs.js.map +1 -0
  408. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.es.js +6 -0
  409. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.es.js.map +1 -0
  410. package/dist/shared/src/components/DetailsPanelDetails/types.cjs.js +2 -0
  411. package/dist/shared/src/components/DetailsPanelDetails/types.cjs.js.map +1 -0
  412. package/dist/shared/src/components/DetailsPanelDetails/types.es.js +37 -0
  413. package/dist/shared/src/components/DetailsPanelDetails/types.es.js.map +1 -0
  414. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  415. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  416. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +14 -11
  417. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  418. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js +1 -1
  419. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js.map +1 -1
  420. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js +3 -2
  421. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js.map +1 -1
  422. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.cjs.js +1 -1
  423. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.cjs.js.map +1 -1
  424. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.es.js +51 -152
  425. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.es.js.map +1 -1
  426. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.cjs.js +3 -1
  427. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.cjs.js.map +1 -1
  428. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.es.js +3 -1
  429. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.es.js.map +1 -1
  430. package/dist/shared/src/components/EnumEditor/EnumEditorItem.cjs.js +2 -0
  431. package/dist/shared/src/components/EnumEditor/EnumEditorItem.cjs.js.map +1 -0
  432. package/dist/shared/src/components/EnumEditor/EnumEditorItem.es.js +141 -0
  433. package/dist/shared/src/components/EnumEditor/EnumEditorItem.es.js.map +1 -0
  434. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
  435. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
  436. package/dist/shared/src/components/Feedback/FeedbackContext.es.js +5 -4
  437. package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
  438. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  439. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  440. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +10 -7
  441. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
  442. package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js +8 -0
  443. package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js.map +1 -0
  444. package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js +86 -0
  445. package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js.map +1 -0
  446. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
  447. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
  448. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +32 -22
  449. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
  450. package/dist/shared/src/components/LinksManager/LinksManager.cjs.js +1 -1
  451. package/dist/shared/src/components/LinksManager/LinksManager.cjs.js.map +1 -1
  452. package/dist/shared/src/components/LinksManager/LinksManager.es.js +55 -43
  453. package/dist/shared/src/components/LinksManager/LinksManager.es.js.map +1 -1
  454. package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js +42 -9
  455. package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js.map +1 -1
  456. package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js +49 -16
  457. package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js.map +1 -1
  458. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  459. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  460. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +14 -11
  461. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
  462. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +1 -1
  463. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -1
  464. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +52 -80
  465. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -1
  466. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js +1 -1
  467. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js.map +1 -1
  468. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js +19 -13
  469. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js.map +1 -1
  470. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +2 -2
  471. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
  472. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +3 -2
  473. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -1
  474. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  475. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  476. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +48 -37
  477. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  478. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js +12 -2
  479. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js.map +1 -1
  480. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js +15 -4
  481. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js.map +1 -1
  482. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +2 -2
  483. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  484. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +33 -22
  485. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  486. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  487. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  488. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +31 -22
  489. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  490. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js +60 -0
  491. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js.map +1 -0
  492. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js +64 -0
  493. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js.map +1 -0
  494. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +31 -0
  495. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -0
  496. package/dist/shared/src/components/RenameForm/RenameForm.es.js +407 -0
  497. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -0
  498. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +1 -1
  499. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
  500. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +3 -2
  501. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
  502. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  503. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  504. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +11 -8
  505. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  506. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  507. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  508. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +12 -9
  509. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  510. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  511. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  512. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +11 -8
  513. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  514. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +1 -1
  515. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
  516. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +3 -2
  517. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
  518. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
  519. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  520. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +3 -2
  521. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  522. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +3 -3
  523. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
  524. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +6 -5
  525. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
  526. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  527. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  528. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +11 -8
  529. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  530. package/dist/shared/src/components/StyledLink/StyledLink.cjs.js +14 -0
  531. package/dist/shared/src/components/StyledLink/StyledLink.cjs.js.map +1 -0
  532. package/dist/shared/src/components/StyledLink/StyledLink.es.js +19 -0
  533. package/dist/shared/src/components/StyledLink/StyledLink.es.js.map +1 -0
  534. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js +1 -1
  535. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js.map +1 -1
  536. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js +12 -11
  537. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js.map +1 -1
  538. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
  539. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  540. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +11 -8
  541. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  542. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +1 -1
  543. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
  544. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +5 -4
  545. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
  546. package/dist/shared/src/components/Watchers/Watchers.cjs.js +1 -1
  547. package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
  548. package/dist/shared/src/components/Watchers/Watchers.es.js +3 -2
  549. package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
  550. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  551. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  552. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +11 -8
  553. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  554. package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
  555. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  556. package/dist/shared/src/containers/Actions/Actions.es.js +4 -2
  557. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  558. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  559. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  560. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +11 -8
  561. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  562. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  563. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  564. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +130 -110
  565. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  566. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  567. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  568. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +11 -8
  569. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  570. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  571. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  572. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +12 -9
  573. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  574. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  575. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  576. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +127 -114
  577. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  578. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.cjs.js +4 -3
  579. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.cjs.js.map +1 -1
  580. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.es.js +1 -0
  581. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.es.js.map +1 -1
  582. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
  583. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  584. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +4 -2
  585. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  586. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +2 -0
  587. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -0
  588. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +86 -0
  589. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -0
  590. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.cjs.js +1 -1
  591. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.cjs.js.map +1 -1
  592. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.es.js +18 -18
  593. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.es.js.map +1 -1
  594. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
  595. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
  596. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +3 -2
  597. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
  598. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
  599. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
  600. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +3 -2
  601. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
  602. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  603. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  604. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +11 -8
  605. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
  606. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  607. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  608. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +11 -8
  609. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
  610. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  611. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  612. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +11 -8
  613. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
  614. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  615. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  616. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +11 -8
  617. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
  618. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
  619. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
  620. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +4 -2
  621. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
  622. package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
  623. package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
  624. package/dist/shared/src/containers/Feed/Feed.es.js +20 -19
  625. package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
  626. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
  627. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  628. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +3 -2
  629. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  630. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js +18 -3
  631. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js.map +1 -1
  632. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js +24 -9
  633. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js.map +1 -1
  634. package/dist/shared/src/containers/Feed/components/ActivityDate.cjs.js +8 -3
  635. package/dist/shared/src/containers/Feed/components/ActivityDate.cjs.js.map +1 -1
  636. package/dist/shared/src/containers/Feed/components/ActivityDate.es.js +21 -16
  637. package/dist/shared/src/containers/Feed/components/ActivityDate.es.js.map +1 -1
  638. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -1
  639. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
  640. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +22 -21
  641. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
  642. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.cjs.js +37 -8
  643. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.cjs.js.map +1 -1
  644. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.es.js +44 -14
  645. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.es.js.map +1 -1
  646. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
  647. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
  648. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +58 -57
  649. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
  650. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js +14 -58
  651. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js.map +1 -1
  652. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js +21 -65
  653. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js.map +1 -1
  654. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js +1 -1
  655. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js.map +1 -1
  656. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js +3 -2
  657. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js.map +1 -1
  658. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js +1 -1
  659. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js.map +1 -1
  660. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js +3 -2
  661. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js.map +1 -1
  662. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.cjs.js +1 -1
  663. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.cjs.js.map +1 -1
  664. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.es.js +17 -15
  665. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.es.js.map +1 -1
  666. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js +7 -6
  667. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js.map +1 -1
  668. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js +27 -18
  669. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js.map +1 -1
  670. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js +1 -1
  671. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js.map +1 -1
  672. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js +3 -2
  673. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js.map +1 -1
  674. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
  675. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  676. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +3 -2
  677. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  678. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
  679. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  680. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +7 -5
  681. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  682. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +1 -1
  683. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
  684. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +3 -2
  685. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
  686. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  687. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  688. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +61 -55
  689. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  690. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  691. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  692. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +304 -223
  693. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  694. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +3 -3
  695. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
  696. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +280 -57
  697. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
  698. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  699. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  700. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +11 -8
  701. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  702. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  703. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  704. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +10 -7
  705. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
  706. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +3 -3
  707. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
  708. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +212 -206
  709. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
  710. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
  711. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
  712. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +41 -32
  713. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
  714. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  715. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  716. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +10 -7
  717. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  718. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js +1 -1
  719. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js.map +1 -1
  720. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js +130 -33
  721. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js.map +1 -1
  722. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
  723. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  724. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +12 -14
  725. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  726. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  727. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
  728. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +8 -6
  729. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
  730. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  731. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  732. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +38 -33
  733. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  734. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  735. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  736. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +127 -113
  737. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  738. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  739. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  740. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +10 -7
  741. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  742. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +2 -0
  743. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -0
  744. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +239 -0
  745. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -0
  746. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
  747. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
  748. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +3 -2
  749. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
  750. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  751. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  752. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +10 -7
  753. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  754. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +1 -1
  755. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
  756. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +3 -2
  757. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
  758. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  759. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  760. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +105 -78
  761. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  762. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  763. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  764. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +14 -11
  765. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
  766. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  767. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  768. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +14 -11
  769. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
  770. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +1 -1
  771. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
  772. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +4 -2
  773. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
  774. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  775. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  776. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +10 -7
  777. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  778. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  779. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  780. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +21 -18
  781. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  782. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +1 -1
  783. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
  784. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +7 -7
  785. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js.map +1 -1
  786. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
  787. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  788. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +90 -74
  789. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  790. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js +2 -2
  791. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js.map +1 -1
  792. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js +50 -48
  793. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js.map +1 -1
  794. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  795. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  796. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +61 -61
  797. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  798. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +2 -0
  799. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -0
  800. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +244 -0
  801. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -0
  802. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js +8 -3
  803. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js.map +1 -1
  804. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js +82 -32
  805. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js.map +1 -1
  806. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js +2 -2
  807. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js.map +1 -1
  808. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js +79 -24
  809. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js.map +1 -1
  810. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  811. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  812. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +11 -8
  813. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  814. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  815. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  816. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +145 -136
  817. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  818. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js +7 -0
  819. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js.map +1 -1
  820. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js +11 -4
  821. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js.map +1 -1
  822. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
  823. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
  824. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +4 -2
  825. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
  826. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
  827. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
  828. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +9 -8
  829. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
  830. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
  831. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
  832. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +6 -4
  833. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
  834. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
  835. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
  836. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +4 -2
  837. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
  838. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
  839. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
  840. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +4 -2
  841. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
  842. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
  843. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
  844. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +3 -2
  845. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
  846. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +1 -1
  847. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -1
  848. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +3 -2
  849. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -1
  850. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
  851. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
  852. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +3 -2
  853. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
  854. package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
  855. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  856. package/dist/shared/src/context/AddonProjectContext.es.js +13 -12
  857. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  858. package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
  859. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  860. package/dist/shared/src/context/DetailsPanelContext.es.js +6 -4
  861. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  862. package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
  863. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  864. package/dist/shared/src/context/PowerpackContext.es.js +60 -45
  865. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  866. package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
  867. package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
  868. package/dist/shared/src/context/RemoteModulesContext.es.js +5 -4
  869. package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
  870. package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
  871. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  872. package/dist/shared/src/hooks/useActionTriggers.es.js +30 -34
  873. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  874. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
  875. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  876. package/dist/shared/src/hooks/useEntityUpdate.es.js +4 -2
  877. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  878. package/dist/shared/src/hooks/useHierarchyTable.cjs.js +1 -1
  879. package/dist/shared/src/hooks/useHierarchyTable.cjs.js.map +1 -1
  880. package/dist/shared/src/hooks/useHierarchyTable.es.js +3 -2
  881. package/dist/shared/src/hooks/useHierarchyTable.es.js.map +1 -1
  882. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.cjs.js +2 -0
  883. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.cjs.js.map +1 -0
  884. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.es.js +12 -0
  885. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.es.js.map +1 -0
  886. package/dist/shared/src/hooks/useScopedStatuses.cjs.js +1 -1
  887. package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
  888. package/dist/shared/src/hooks/useScopedStatuses.es.js +5 -4
  889. package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
  890. package/dist/shared/src/hooks/useTagStyling.cjs.js +2 -0
  891. package/dist/shared/src/hooks/useTagStyling.cjs.js.map +1 -0
  892. package/dist/shared/src/hooks/useTagStyling.es.js +33 -0
  893. package/dist/shared/src/hooks/useTagStyling.es.js.map +1 -0
  894. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
  895. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
  896. package/dist/shared/src/hooks/useUserProjectConfig.es.js +3 -2
  897. package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
  898. package/dist/shared/src/util/checkName.cjs.js +2 -0
  899. package/dist/shared/src/util/checkName.cjs.js.map +1 -0
  900. package/dist/shared/src/util/checkName.es.js +39 -0
  901. package/dist/shared/src/util/checkName.es.js.map +1 -0
  902. package/dist/shared/src/util/clipboardUtils.cjs.js +2 -0
  903. package/dist/shared/src/util/clipboardUtils.cjs.js.map +1 -0
  904. package/dist/shared/src/util/clipboardUtils.es.js +13 -0
  905. package/dist/shared/src/util/clipboardUtils.es.js.map +1 -0
  906. package/dist/shared/src/util/copyToClipboard.cjs.js +1 -1
  907. package/dist/shared/src/util/copyToClipboard.cjs.js.map +1 -1
  908. package/dist/shared/src/util/copyToClipboard.es.js +21 -21
  909. package/dist/shared/src/util/copyToClipboard.es.js.map +1 -1
  910. package/dist/shared/src/util/humanizeFieldName.cjs.js +2 -0
  911. package/dist/shared/src/util/humanizeFieldName.cjs.js.map +1 -0
  912. package/dist/shared/src/util/humanizeFieldName.es.js +15 -0
  913. package/dist/shared/src/util/humanizeFieldName.es.js.map +1 -0
  914. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.cjs.js +7 -0
  915. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.cjs.js.map +1 -0
  916. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.es.js +64 -0
  917. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.es.js.map +1 -0
  918. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js +1 -1
  919. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js.map +1 -1
  920. package/dist/src/components/Menu/MenuComponents/Menu.es.js +59 -35
  921. package/dist/src/components/Menu/MenuComponents/Menu.es.js.map +1 -1
  922. package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js +13 -0
  923. package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js.map +1 -1
  924. package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js +13 -0
  925. package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js.map +1 -1
  926. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js +1 -1
  927. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js.map +1 -1
  928. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js +52 -36
  929. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js.map +1 -1
  930. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js +1 -1
  931. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js.map +1 -1
  932. package/dist/src/components/Menu/MenuComponents/MenuList.es.js +103 -83
  933. package/dist/src/components/Menu/MenuComponents/MenuList.es.js.map +1 -1
  934. package/dist/types/api/generated/anatomy.d.ts +23 -0
  935. package/dist/types/api/generated/attributes.d.ts +15 -4
  936. package/dist/types/api/generated/entityLists.d.ts +94 -1
  937. package/dist/types/api/generated/folders.d.ts +2 -0
  938. package/dist/types/api/generated/graphql.d.ts +29 -6
  939. package/dist/types/api/generated/index.d.ts +1 -0
  940. package/dist/types/api/generated/projects.d.ts +8 -0
  941. package/dist/types/api/generated/views.d.ts +9 -47
  942. package/dist/types/api/queries/attributes/getAttributes.d.ts +1 -0
  943. package/dist/types/api/queries/attributes/updateAttributes.d.ts +162 -0
  944. package/dist/types/api/queries/entityLists/getLists.d.ts +19 -0
  945. package/dist/types/api/queries/entityLists/getListsAttributes.d.ts +5 -0
  946. package/dist/types/api/queries/entityLists/index.d.ts +1 -0
  947. package/dist/types/api/queries/entityLists/listFolders.d.ts +613 -0
  948. package/dist/types/api/queries/entityLists/types.d.ts +1 -0
  949. package/dist/types/api/queries/entityLists/updateLists.d.ts +5 -0
  950. package/dist/types/api/queries/entityLists/updateListsAttributes.d.ts +5 -0
  951. package/dist/types/api/queries/permissions/getPermissions.d.ts +22 -22
  952. package/dist/types/api/queries/project/getProject.d.ts +4 -305
  953. package/dist/types/api/queries/project/updateProject.d.ts +803 -0
  954. package/dist/types/api/queries/share/share.d.ts +1 -1
  955. package/dist/types/api/queries/users/getUsers.d.ts +0 -132
  956. package/dist/types/api/queries/users/updateUsers.d.ts +163 -3
  957. package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.d.ts +2 -0
  958. package/dist/types/components/DetailsPanelAttributes/components/RenderFieldWidget.d.ts +3 -0
  959. package/dist/types/components/DetailsPanelAttributes/index.d.ts +0 -1
  960. package/dist/types/components/DetailsPanelDetails/BorderedSection.d.ts +16 -0
  961. package/dist/types/components/DetailsPanelDetails/DescriptionSection.d.ts +10 -0
  962. package/dist/types/components/DetailsPanelDetails/DescriptionSection.styles.d.ts +10 -0
  963. package/dist/types/components/DetailsPanelDetails/DetailsPanelDetails.d.ts +6 -0
  964. package/dist/types/components/DetailsPanelDetails/DetailsSection.d.ts +4 -3
  965. package/dist/types/components/DetailsPanelDetails/FieldLabel.d.ts +11 -0
  966. package/dist/types/components/DetailsPanelDetails/hooks/index.d.ts +7 -0
  967. package/dist/types/components/DetailsPanelDetails/hooks/useDescriptionEditor.d.ts +17 -0
  968. package/dist/types/components/DetailsPanelDetails/hooks/useEntityData.d.ts +12 -0
  969. package/dist/types/components/DetailsPanelDetails/hooks/useEntityEditing.d.ts +10 -0
  970. package/dist/types/components/DetailsPanelDetails/hooks/useEntityFields.d.ts +16 -0
  971. package/dist/types/components/DetailsPanelDetails/hooks/useEntityFormData.d.ts +8 -0
  972. package/dist/types/components/DetailsPanelDetails/hooks/useQuillFormats.d.ts +1 -0
  973. package/dist/types/components/DetailsPanelDetails/index.d.ts +3 -0
  974. package/dist/types/components/DetailsPanelDetails/types.d.ts +20 -0
  975. package/dist/types/components/EnumEditor/EnumEditor.styled.d.ts +1 -1
  976. package/dist/types/components/EnumEditor/EnumEditorItem.d.ts +13 -0
  977. package/dist/types/components/EnumEditor/index.d.ts +1 -0
  978. package/dist/types/components/LinksManager/CellEditingDialog.d.ts +8 -0
  979. package/dist/types/components/ListAttributeForm/ListAttributeForm.d.ts +2 -4
  980. package/dist/types/components/Powerpack/PowerpackDialog.styled.d.ts +1 -0
  981. package/dist/types/components/Powerpack/index.d.ts +0 -1
  982. package/dist/types/components/QuillListStyles/QuillListStyles.d.ts +5 -0
  983. package/dist/types/components/QuillListStyles/index.d.ts +1 -0
  984. package/dist/types/components/RenameForm/RenameForm.d.ts +21 -0
  985. package/dist/types/components/RenameForm/index.d.ts +1 -0
  986. package/dist/types/components/StyledLink/StyledLink.d.ts +2 -0
  987. package/dist/types/components/StyledLink/index.d.ts +1 -0
  988. package/dist/types/components/index.d.ts +2 -2
  989. package/dist/types/containers/Actions/ActionsDropdown/ActionsDropdown.styled.d.ts +1 -1
  990. package/dist/types/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.d.ts +4 -4
  991. package/dist/types/containers/DetailsPanel/FeedContextWrapper.d.ts +19 -0
  992. package/dist/types/containers/Feed/components/ActivityVersions/ActivityVersions.styled.d.ts +1 -0
  993. package/dist/types/containers/Feed/components/CommentInput/modules/index.d.ts +2 -1
  994. package/dist/types/containers/ProjectTreeTable/buildTreeTableColumns.d.ts +1 -1
  995. package/dist/types/containers/ProjectTreeTable/context/ProjectDataContext.d.ts +4 -0
  996. package/dist/types/containers/ProjectTreeTable/context/clipboard/clipboardValidation.d.ts +10 -0
  997. package/dist/types/containers/ProjectTreeTable/hooks/index.d.ts +1 -0
  998. package/dist/types/containers/ProjectTreeTable/hooks/useAttributesList.d.ts +6 -6
  999. package/dist/types/containers/ProjectTreeTable/hooks/useCellContextMenu.d.ts +1 -1
  1000. package/dist/types/containers/ProjectTreeTable/hooks/useColumnGroupBy.d.ts +10 -0
  1001. package/dist/types/containers/ProjectTreeTable/types/table.d.ts +6 -0
  1002. package/dist/types/containers/ProjectTreeTable/widgets/BooleanWidget.d.ts +0 -1
  1003. package/dist/types/containers/ProjectTreeTable/widgets/CellWidget.d.ts +2 -1
  1004. package/dist/types/containers/ProjectTreeTable/widgets/LinksWidget.d.ts +1 -0
  1005. package/dist/types/containers/ProjectTreeTable/widgets/NameWidget.d.ts +10 -0
  1006. package/dist/types/containers/ProjectTreeTable/widgets/TextWidget.d.ts +2 -0
  1007. package/dist/types/containers/ProjectTreeTable/widgets/TextWidgetInput.d.ts +2 -0
  1008. package/dist/types/containers/Views/index.d.ts +1 -4
  1009. package/dist/types/context/AddonProjectContext.d.ts +2 -1
  1010. package/dist/types/context/DetailsPanelContext.d.ts +1 -1
  1011. package/dist/types/context/PowerpackContext.d.ts +4 -2
  1012. package/dist/types/context/index.d.ts +1 -0
  1013. package/dist/types/hooks/index.d.ts +2 -0
  1014. package/dist/types/hooks/useActionTriggers.d.ts +1 -1
  1015. package/dist/types/hooks/useQueryArgumentChangeLoading.d.ts +9 -0
  1016. package/dist/types/hooks/useTagStyling.d.ts +17 -0
  1017. package/dist/types/util/checkName.d.ts +9 -0
  1018. package/dist/types/util/clipboardUtils.d.ts +18 -0
  1019. package/dist/types/util/copyToClipboard.d.ts +1 -1
  1020. package/dist/types/util/humanizeFieldName.d.ts +1 -0
  1021. package/dist/types/util/index.d.ts +3 -0
  1022. package/dist/types/util/parseHtmlToPlainTextWithLinks.d.ts +6 -0
  1023. package/dist/util.cjs.js +1 -1
  1024. package/dist/util.es.js +44 -36
  1025. package/dist/util.es.js.map +1 -1
  1026. package/package.json +1 -1
  1027. package/dist/node_modules/vfile/lib/index.cjs.js +0 -2
  1028. package/dist/node_modules/vfile/lib/index.cjs.js.map +0 -1
  1029. package/dist/node_modules/vfile/lib/index.es.js.map +0 -1
  1030. package/dist/node_modules/vfile/lib/minpath.browser.cjs.js.map +0 -1
  1031. package/dist/node_modules/vfile/lib/minpath.browser.es.js.map +0 -1
  1032. package/dist/node_modules/vfile/lib/minproc.browser.cjs.js.map +0 -1
  1033. package/dist/node_modules/vfile/lib/minproc.browser.es.js.map +0 -1
  1034. package/dist/node_modules/vfile/lib/minurl.browser.cjs.js.map +0 -1
  1035. package/dist/node_modules/vfile/lib/minurl.browser.es.js.map +0 -1
  1036. package/dist/node_modules/vfile/lib/minurl.shared.cjs.js.map +0 -1
  1037. package/dist/node_modules/vfile/lib/minurl.shared.es.js.map +0 -1
  1038. package/dist/node_modules/vfile/node_modules/unist-util-stringify-position/lib/index.es.js.map +0 -1
  1039. package/dist/node_modules/vfile/node_modules/vfile-message/lib/index.es.js.map +0 -1
  1040. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js +0 -2
  1041. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js.map +0 -1
  1042. package/dist/shared/src/components/AccessUser/AccessUser.es.js +0 -33
  1043. package/dist/shared/src/components/AccessUser/AccessUser.es.js.map +0 -1
  1044. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js +0 -42
  1045. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js.map +0 -1
  1046. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js +0 -46
  1047. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js.map +0 -1
  1048. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js +0 -34
  1049. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js.map +0 -1
  1050. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js +0 -46
  1051. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js.map +0 -1
  1052. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js +0 -2
  1053. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js.map +0 -1
  1054. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js +0 -287
  1055. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js.map +0 -1
  1056. package/dist/shared/src/components/LinksManager/LinksManagerDialog.cjs.js +0 -8
  1057. package/dist/shared/src/components/LinksManager/LinksManagerDialog.cjs.js.map +0 -1
  1058. package/dist/shared/src/components/LinksManager/LinksManagerDialog.es.js.map +0 -1
  1059. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js +0 -9
  1060. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js.map +0 -1
  1061. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js +0 -25
  1062. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js.map +0 -1
  1063. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js +0 -2
  1064. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js.map +0 -1
  1065. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js +0 -17
  1066. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js.map +0 -1
  1067. package/dist/shared/src/hooks/useCustomProtocolCheck.cjs.js +0 -2
  1068. package/dist/shared/src/hooks/useCustomProtocolCheck.cjs.js.map +0 -1
  1069. package/dist/shared/src/hooks/useCustomProtocolCheck.es.js +0 -43
  1070. package/dist/shared/src/hooks/useCustomProtocolCheck.es.js.map +0 -1
  1071. package/dist/types/components/AccessUser/AccessUser.d.ts +0 -22
  1072. package/dist/types/components/AccessUser/AccessUser.styled.d.ts +0 -1
  1073. package/dist/types/components/AccessUser/index.d.ts +0 -1
  1074. package/dist/types/components/DetailsMetaData/DetailsMetaData.d.ts +0 -8
  1075. package/dist/types/components/DetailsMetaData/index.d.ts +0 -1
  1076. package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributes.d.ts +0 -6
  1077. package/dist/types/components/LinksManager/LinksManagerDialog.d.ts +0 -9
  1078. package/dist/types/components/Powerpack/RequiredPowerpackVersion.d.ts +0 -5
  1079. package/dist/types/components/ShareOptionIcon/ShareOptionIcon.d.ts +0 -10
  1080. package/dist/types/components/ShareOptionIcon/index.d.ts +0 -2
  1081. package/dist/types/hooks/useCustomProtocolCheck.d.ts +0 -10
  1082. /package/dist/node_modules/{vfile → rehype}/node_modules/unist-util-stringify-position/lib/index.cjs.js +0 -0
  1083. /package/dist/node_modules/{vfile → rehype}/node_modules/unist-util-stringify-position/lib/index.es.js +0 -0
  1084. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minpath.browser.cjs.js +0 -0
  1085. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minpath.browser.es.js +0 -0
  1086. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minproc.browser.cjs.js +0 -0
  1087. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minproc.browser.es.js +0 -0
  1088. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.browser.cjs.js +0 -0
  1089. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.browser.es.js +0 -0
  1090. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.shared.cjs.js +0 -0
  1091. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.shared.es.js +0 -0
  1092. /package/dist/node_modules/{vfile → rehype}/node_modules/vfile-message/lib/index.cjs.js +0 -0
  1093. /package/dist/node_modules/{vfile → rehype}/node_modules/vfile-message/lib/index.es.js +0 -0
@@ -0,0 +1,146 @@
1
+ import { ok as x } from "../../../../devlop/lib/default.es.js";
2
+ import { svg as h, html as T } from "../../property-information/index.es.js";
3
+ import { webNamespaces as b } from "../../../../web-namespaces/index.es.js";
4
+ import { s as L, h as w } from "../../hastscript/lib/index.es.js";
5
+ import { find as C } from "../../property-information/lib/find.es.js";
6
+ import { location as N } from "../../vfile-location/lib/index.es.js";
7
+ const v = {}.hasOwnProperty, k = Object.prototype;
8
+ function U(t, n) {
9
+ const e = n || {};
10
+ return m(
11
+ {
12
+ file: e.file || void 0,
13
+ location: !1,
14
+ schema: e.space === "svg" ? h : T,
15
+ verbose: e.verbose || !1
16
+ },
17
+ t
18
+ );
19
+ }
20
+ function m(t, n) {
21
+ let e;
22
+ switch (n.nodeName) {
23
+ case "#comment": {
24
+ const o = (
25
+ /** @type {DefaultTreeAdapterMap['commentNode']} */
26
+ n
27
+ );
28
+ return e = { type: "comment", value: o.data }, l(t, o, e), e;
29
+ }
30
+ case "#document":
31
+ case "#document-fragment": {
32
+ const o = (
33
+ /** @type {DefaultTreeAdapterMap['document'] | DefaultTreeAdapterMap['documentFragment']} */
34
+ n
35
+ ), c = "mode" in o ? o.mode === "quirks" || o.mode === "limited-quirks" : !1;
36
+ if (e = {
37
+ type: "root",
38
+ children: y(t, n.childNodes),
39
+ data: { quirksMode: c }
40
+ }, t.file && t.location) {
41
+ const a = String(t.file), s = N(a), i = s.toPoint(0), r = s.toPoint(a.length);
42
+ e.position = { start: i, end: r };
43
+ }
44
+ return e;
45
+ }
46
+ case "#documentType": {
47
+ const o = (
48
+ /** @type {DefaultTreeAdapterMap['documentType']} */
49
+ n
50
+ );
51
+ return e = { type: "doctype" }, l(t, o, e), e;
52
+ }
53
+ case "#text": {
54
+ const o = (
55
+ /** @type {DefaultTreeAdapterMap['textNode']} */
56
+ n
57
+ );
58
+ return e = { type: "text", value: o.value }, l(t, o, e), e;
59
+ }
60
+ // Element.
61
+ default:
62
+ return e = O(
63
+ t,
64
+ /** @type {DefaultTreeAdapterMap['element']} */
65
+ n
66
+ ), e;
67
+ }
68
+ }
69
+ function y(t, n) {
70
+ let e = -1;
71
+ const o = [];
72
+ for (; ++e < n.length; ) {
73
+ const c = (
74
+ /** @type {RootContent} */
75
+ m(t, n[e])
76
+ );
77
+ o.push(c);
78
+ }
79
+ return o;
80
+ }
81
+ function O(t, n) {
82
+ const e = t.schema;
83
+ t.schema = n.namespaceURI === b.svg ? h : T;
84
+ let o = -1;
85
+ const c = {};
86
+ for (; ++o < n.attrs.length; ) {
87
+ const i = n.attrs[o], r = (i.prefix ? i.prefix + ":" : "") + i.name;
88
+ v.call(k, r) || (c[r] = i.value);
89
+ }
90
+ const s = (t.schema.space === "svg" ? L : w)(n.tagName, c, y(t, n.childNodes));
91
+ if (l(t, n, s), s.tagName === "template") {
92
+ const i = (
93
+ /** @type {DefaultTreeAdapterMap['template']} */
94
+ n
95
+ ), r = i.sourceCodeLocation, f = r && r.startTag && u(r.startTag), p = r && r.endTag && u(r.endTag), d = (
96
+ /** @type {Root} */
97
+ m(t, i.content)
98
+ );
99
+ f && p && t.file && (d.position = { start: f.end, end: p.start }), s.content = d;
100
+ }
101
+ return t.schema = e, s;
102
+ }
103
+ function l(t, n, e) {
104
+ if ("sourceCodeLocation" in n && n.sourceCodeLocation && t.file) {
105
+ const o = P(t, e, n.sourceCodeLocation);
106
+ o && (t.location = !0, e.position = o);
107
+ }
108
+ }
109
+ function P(t, n, e) {
110
+ const o = u(e);
111
+ if (n.type === "element") {
112
+ const c = n.children[n.children.length - 1];
113
+ if (o && !e.endTag && c && c.position && c.position.end && (o.end = Object.assign({}, c.position.end)), t.verbose) {
114
+ const a = {};
115
+ let s;
116
+ if (e.attrs)
117
+ for (s in e.attrs)
118
+ v.call(e.attrs, s) && (a[C(t.schema, s).property] = u(
119
+ e.attrs[s]
120
+ ));
121
+ x(e.startTag);
122
+ const i = u(e.startTag), r = e.endTag ? u(e.endTag) : void 0, f = { opening: i };
123
+ r && (f.closing = r), f.properties = a, n.data = { position: f };
124
+ }
125
+ }
126
+ return o;
127
+ }
128
+ function u(t) {
129
+ const n = g({
130
+ line: t.startLine,
131
+ column: t.startCol,
132
+ offset: t.startOffset
133
+ }), e = g({
134
+ line: t.endLine,
135
+ column: t.endCol,
136
+ offset: t.endOffset
137
+ });
138
+ return n || e ? { start: n, end: e } : void 0;
139
+ }
140
+ function g(t) {
141
+ return t.line && t.column ? t : void 0;
142
+ }
143
+ export {
144
+ U as fromParse5
145
+ };
146
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.js"],"sourcesContent":["/**\n * @import {ElementData, Element, Nodes, RootContent, Root} from 'hast'\n * @import {DefaultTreeAdapterMap, Token} from 'parse5'\n * @import {Schema} from 'property-information'\n * @import {Point, Position} from 'unist'\n * @import {VFile} from 'vfile'\n * @import {Options} from 'hast-util-from-parse5'\n */\n\n/**\n * @typedef State\n * Info passed around about the current state.\n * @property {VFile | undefined} file\n * Corresponding file.\n * @property {boolean} location\n * Whether location info was found.\n * @property {Schema} schema\n * Current schema.\n * @property {boolean | undefined} verbose\n * Add extra positional info.\n */\n\nimport {ok as assert} from 'devlop'\nimport {h, s} from 'hastscript'\nimport {find, html, svg} from 'property-information'\nimport {location} from 'vfile-location'\nimport {webNamespaces} from 'web-namespaces'\n\nconst own = {}.hasOwnProperty\n/** @type {unknown} */\n// type-coverage:ignore-next-line\nconst proto = Object.prototype\n\n/**\n * Transform a `parse5` AST to hast.\n *\n * @param {DefaultTreeAdapterMap['node']} tree\n * `parse5` tree to transform.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {Nodes}\n * hast tree.\n */\nexport function fromParse5(tree, options) {\n const settings = options || {}\n\n return one(\n {\n file: settings.file || undefined,\n location: false,\n schema: settings.space === 'svg' ? svg : html,\n verbose: settings.verbose || false\n },\n tree\n )\n}\n\n/**\n * Transform a node.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {DefaultTreeAdapterMap['node']} node\n * p5 node.\n * @returns {Nodes}\n * hast node.\n */\nfunction one(state, node) {\n /** @type {Nodes} */\n let result\n\n switch (node.nodeName) {\n case '#comment': {\n const reference = /** @type {DefaultTreeAdapterMap['commentNode']} */ (\n node\n )\n result = {type: 'comment', value: reference.data}\n patch(state, reference, result)\n return result\n }\n\n case '#document':\n case '#document-fragment': {\n const reference =\n /** @type {DefaultTreeAdapterMap['document'] | DefaultTreeAdapterMap['documentFragment']} */ (\n node\n )\n const quirksMode =\n 'mode' in reference\n ? reference.mode === 'quirks' || reference.mode === 'limited-quirks'\n : false\n\n result = {\n type: 'root',\n children: all(state, node.childNodes),\n data: {quirksMode}\n }\n\n if (state.file && state.location) {\n const document = String(state.file)\n const loc = location(document)\n const start = loc.toPoint(0)\n const end = loc.toPoint(document.length)\n // Always defined as we give valid input.\n assert(start, 'expected `start`')\n assert(end, 'expected `end`')\n result.position = {start, end}\n }\n\n return result\n }\n\n case '#documentType': {\n const reference = /** @type {DefaultTreeAdapterMap['documentType']} */ (\n node\n )\n result = {type: 'doctype'}\n patch(state, reference, result)\n return result\n }\n\n case '#text': {\n const reference = /** @type {DefaultTreeAdapterMap['textNode']} */ (node)\n result = {type: 'text', value: reference.value}\n patch(state, reference, result)\n return result\n }\n\n // Element.\n default: {\n const reference = /** @type {DefaultTreeAdapterMap['element']} */ (node)\n result = element(state, reference)\n return result\n }\n }\n}\n\n/**\n * Transform children.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Array<DefaultTreeAdapterMap['node']>} nodes\n * Nodes.\n * @returns {Array<RootContent>}\n * hast nodes.\n */\nfunction all(state, nodes) {\n let index = -1\n /** @type {Array<RootContent>} */\n const results = []\n\n while (++index < nodes.length) {\n // Assume no roots in `nodes`.\n const result = /** @type {RootContent} */ (one(state, nodes[index]))\n results.push(result)\n }\n\n return results\n}\n\n/**\n * Transform an element.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {DefaultTreeAdapterMap['element']} node\n * `parse5` node to transform.\n * @returns {Element}\n * hast node.\n */\nfunction element(state, node) {\n const schema = state.schema\n\n state.schema = node.namespaceURI === webNamespaces.svg ? svg : html\n\n // Props.\n let index = -1\n /** @type {Record<string, string>} */\n const properties = {}\n\n while (++index < node.attrs.length) {\n const attribute = node.attrs[index]\n const name =\n (attribute.prefix ? attribute.prefix + ':' : '') + attribute.name\n if (!own.call(proto, name)) {\n properties[name] = attribute.value\n }\n }\n\n // Build.\n const x = state.schema.space === 'svg' ? s : h\n const result = x(node.tagName, properties, all(state, node.childNodes))\n patch(state, node, result)\n\n // Switch content.\n if (result.tagName === 'template') {\n const reference = /** @type {DefaultTreeAdapterMap['template']} */ (node)\n const pos = reference.sourceCodeLocation\n const startTag = pos && pos.startTag && position(pos.startTag)\n const endTag = pos && pos.endTag && position(pos.endTag)\n\n // Root in, root out.\n const content = /** @type {Root} */ (one(state, reference.content))\n\n if (startTag && endTag && state.file) {\n content.position = {start: startTag.end, end: endTag.start}\n }\n\n result.content = content\n }\n\n state.schema = schema\n\n return result\n}\n\n/**\n * Patch positional info from `from` onto `to`.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {DefaultTreeAdapterMap['node']} from\n * p5 node.\n * @param {Nodes} to\n * hast node.\n * @returns {undefined}\n * Nothing.\n */\nfunction patch(state, from, to) {\n if ('sourceCodeLocation' in from && from.sourceCodeLocation && state.file) {\n const position = createLocation(state, to, from.sourceCodeLocation)\n\n if (position) {\n state.location = true\n to.position = position\n }\n }\n}\n\n/**\n * Create clean positional information.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Nodes} node\n * hast node.\n * @param {Token.ElementLocation} location\n * p5 location info.\n * @returns {Position | undefined}\n * Position, or nothing.\n */\nfunction createLocation(state, node, location) {\n const result = position(location)\n\n if (node.type === 'element') {\n const tail = node.children[node.children.length - 1]\n\n // Bug for unclosed with children.\n // See: <https://github.com/inikulin/parse5/issues/109>.\n if (\n result &&\n !location.endTag &&\n tail &&\n tail.position &&\n tail.position.end\n ) {\n result.end = Object.assign({}, tail.position.end)\n }\n\n if (state.verbose) {\n /** @type {Record<string, Position | undefined>} */\n const properties = {}\n /** @type {string} */\n let key\n\n if (location.attrs) {\n for (key in location.attrs) {\n if (own.call(location.attrs, key)) {\n properties[find(state.schema, key).property] = position(\n location.attrs[key]\n )\n }\n }\n }\n\n assert(location.startTag, 'a start tag should exist')\n const opening = position(location.startTag)\n const closing = location.endTag ? position(location.endTag) : undefined\n /** @type {ElementData['position']} */\n const data = {opening}\n if (closing) data.closing = closing\n data.properties = properties\n\n node.data = {position: data}\n }\n }\n\n return result\n}\n\n/**\n * Turn a p5 location into a position.\n *\n * @param {Token.Location} loc\n * Location.\n * @returns {Position | undefined}\n * Position or nothing.\n */\nfunction position(loc) {\n const start = point({\n line: loc.startLine,\n column: loc.startCol,\n offset: loc.startOffset\n })\n const end = point({\n line: loc.endLine,\n column: loc.endCol,\n offset: loc.endOffset\n })\n\n // @ts-expect-error: we do use `undefined` for points if one or the other\n // exists.\n return start || end ? {start, end} : undefined\n}\n\n/**\n * Filter out invalid points.\n *\n * @param {Point} point\n * Point with potentially `undefined` values.\n * @returns {Point | undefined}\n * Point or nothing.\n */\nfunction point(point) {\n return point.line && point.column ? point : undefined\n}\n"],"names":["own","proto","fromParse5","tree","options","settings","one","svg","html","state","node","result","reference","patch","quirksMode","all","document","loc","location","start","end","element","nodes","index","results","schema","webNamespaces","properties","attribute","name","s","h","pos","startTag","position","endTag","content","from","to","createLocation","tail","key","find","assert","opening","closing","data","point"],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=/[#.]/g;function p(n,o){const l=n||"",t={};let s=0,r,c;for(;s<l.length;){i.lastIndex=s;const a=i.exec(l),e=l.slice(s,a?a.index:l.length);e&&(r?r==="#"?t.id=e:Array.isArray(t.className)?t.className.push(e):t.className=[e]:c=e,s+=e.length),a&&(r=a[0],s++)}return{type:"element",tagName:c||o||"div",properties:t,children:[]}}exports.parseSelector=p;
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n */\n\n/**\n * @template {string} SimpleSelector\n * Selector type.\n * @template {string} DefaultTagName\n * Default tag name.\n * @typedef {(\n * SimpleSelector extends ''\n * ? DefaultTagName\n * : SimpleSelector extends `${infer TagName}.${infer Rest}`\n * ? ExtractTagName<TagName, DefaultTagName>\n * : SimpleSelector extends `${infer TagName}#${infer Rest}`\n * ? ExtractTagName<TagName, DefaultTagName>\n * : SimpleSelector extends string\n * ? SimpleSelector\n * : DefaultTagName\n * )} ExtractTagName\n * Extract tag name from a simple selector.\n */\n\nconst search = /[#.]/g\n\n/**\n * Create a hast element from a simple CSS selector.\n *\n * @template {string} Selector\n * Type of selector.\n * @template {string} [DefaultTagName='div']\n * Type of default tag name (default: `'div'`).\n * @param {Selector | null | undefined} [selector]\n * Simple CSS selector (optional).\n *\n * Can contain a tag name (`foo`), classes (`.bar`), and an ID (`#baz`).\n * Multiple classes are allowed.\n * Uses the last ID if multiple IDs are found.\n * @param {DefaultTagName | null | undefined} [defaultTagName='div']\n * Tag name to use if `selector` does not specify one (default: `'div'`).\n * @returns {Element & {tagName: ExtractTagName<Selector, DefaultTagName>}}\n * Built element.\n */\nexport function parseSelector(selector, defaultTagName) {\n const value = selector || ''\n /** @type {Properties} */\n const props = {}\n let start = 0\n /** @type {string | undefined} */\n let previous\n /** @type {string | undefined} */\n let tagName\n\n while (start < value.length) {\n search.lastIndex = start\n const match = search.exec(value)\n const subvalue = value.slice(start, match ? match.index : value.length)\n\n if (subvalue) {\n if (!previous) {\n tagName = subvalue\n } else if (previous === '#') {\n props.id = subvalue\n } else if (Array.isArray(props.className)) {\n props.className.push(subvalue)\n } else {\n props.className = [subvalue]\n }\n\n start += subvalue.length\n }\n\n if (match) {\n previous = match[0]\n start++\n }\n }\n\n return {\n type: 'element',\n // @ts-expect-error: tag name is parsed.\n tagName: tagName || defaultTagName || 'div',\n properties: props,\n children: []\n }\n}\n"],"names":["search","parseSelector","selector","defaultTagName","value","props","start","previous","tagName","match","subvalue"],"mappings":"gFAwBA,MAAMA,EAAS,QAoBR,SAASC,EAAcC,EAAUC,EAAgB,CACtD,MAAMC,EAAQF,GAAY,GAEpBG,EAAQ,CAAA,EACd,IAAIC,EAAQ,EAERC,EAEAC,EAEJ,KAAOF,EAAQF,EAAM,QAAQ,CAC3BJ,EAAO,UAAYM,EACnB,MAAMG,EAAQT,EAAO,KAAKI,CAAK,EACzBM,EAAWN,EAAM,MAAME,EAAOG,EAAQA,EAAM,MAAQL,EAAM,MAAM,EAElEM,IACGH,EAEMA,IAAa,IACtBF,EAAM,GAAKK,EACF,MAAM,QAAQL,EAAM,SAAS,EACtCA,EAAM,UAAU,KAAKK,CAAQ,EAE7BL,EAAM,UAAY,CAACK,CAAQ,EAN3BF,EAAUE,EASZJ,GAASI,EAAS,QAGhBD,IACFF,EAAWE,EAAM,CAAC,EAClBH,IAEN,CAEE,MAAO,CACL,KAAM,UAEN,QAASE,GAAWL,GAAkB,MACtC,WAAYE,EACZ,SAAU,CAAA,CACd,CACA","x_google_ignoreList":[0]}
@@ -0,0 +1,21 @@
1
+ const i = /[#.]/g;
2
+ function p(n, o) {
3
+ const l = n || "", s = {};
4
+ let t = 0, r, c;
5
+ for (; t < l.length; ) {
6
+ i.lastIndex = t;
7
+ const a = i.exec(l), e = l.slice(t, a ? a.index : l.length);
8
+ e && (r ? r === "#" ? s.id = e : Array.isArray(s.className) ? s.className.push(e) : s.className = [e] : c = e, t += e.length), a && (r = a[0], t++);
9
+ }
10
+ return {
11
+ type: "element",
12
+ // @ts-expect-error: tag name is parsed.
13
+ tagName: c || o || "div",
14
+ properties: s,
15
+ children: []
16
+ };
17
+ }
18
+ export {
19
+ p as parseSelector
20
+ };
21
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n */\n\n/**\n * @template {string} SimpleSelector\n * Selector type.\n * @template {string} DefaultTagName\n * Default tag name.\n * @typedef {(\n * SimpleSelector extends ''\n * ? DefaultTagName\n * : SimpleSelector extends `${infer TagName}.${infer Rest}`\n * ? ExtractTagName<TagName, DefaultTagName>\n * : SimpleSelector extends `${infer TagName}#${infer Rest}`\n * ? ExtractTagName<TagName, DefaultTagName>\n * : SimpleSelector extends string\n * ? SimpleSelector\n * : DefaultTagName\n * )} ExtractTagName\n * Extract tag name from a simple selector.\n */\n\nconst search = /[#.]/g\n\n/**\n * Create a hast element from a simple CSS selector.\n *\n * @template {string} Selector\n * Type of selector.\n * @template {string} [DefaultTagName='div']\n * Type of default tag name (default: `'div'`).\n * @param {Selector | null | undefined} [selector]\n * Simple CSS selector (optional).\n *\n * Can contain a tag name (`foo`), classes (`.bar`), and an ID (`#baz`).\n * Multiple classes are allowed.\n * Uses the last ID if multiple IDs are found.\n * @param {DefaultTagName | null | undefined} [defaultTagName='div']\n * Tag name to use if `selector` does not specify one (default: `'div'`).\n * @returns {Element & {tagName: ExtractTagName<Selector, DefaultTagName>}}\n * Built element.\n */\nexport function parseSelector(selector, defaultTagName) {\n const value = selector || ''\n /** @type {Properties} */\n const props = {}\n let start = 0\n /** @type {string | undefined} */\n let previous\n /** @type {string | undefined} */\n let tagName\n\n while (start < value.length) {\n search.lastIndex = start\n const match = search.exec(value)\n const subvalue = value.slice(start, match ? match.index : value.length)\n\n if (subvalue) {\n if (!previous) {\n tagName = subvalue\n } else if (previous === '#') {\n props.id = subvalue\n } else if (Array.isArray(props.className)) {\n props.className.push(subvalue)\n } else {\n props.className = [subvalue]\n }\n\n start += subvalue.length\n }\n\n if (match) {\n previous = match[0]\n start++\n }\n }\n\n return {\n type: 'element',\n // @ts-expect-error: tag name is parsed.\n tagName: tagName || defaultTagName || 'div',\n properties: props,\n children: []\n }\n}\n"],"names":["search","parseSelector","selector","defaultTagName","value","props","start","previous","tagName","match","subvalue"],"mappings":"AAwBA,MAAMA,IAAS;AAoBR,SAASC,EAAcC,GAAUC,GAAgB;AACtD,QAAMC,IAAQF,KAAY,IAEpBG,IAAQ,CAAA;AACd,MAAIC,IAAQ,GAERC,GAEAC;AAEJ,SAAOF,IAAQF,EAAM,UAAQ;AAC3B,IAAAJ,EAAO,YAAYM;AACnB,UAAMG,IAAQT,EAAO,KAAKI,CAAK,GACzBM,IAAWN,EAAM,MAAME,GAAOG,IAAQA,EAAM,QAAQL,EAAM,MAAM;AAEtE,IAAIM,MACGH,IAEMA,MAAa,MACtBF,EAAM,KAAKK,IACF,MAAM,QAAQL,EAAM,SAAS,IACtCA,EAAM,UAAU,KAAKK,CAAQ,IAE7BL,EAAM,YAAY,CAACK,CAAQ,IAN3BF,IAAUE,GASZJ,KAASI,EAAS,SAGhBD,MACFF,IAAWE,EAAM,CAAC,GAClBH;AAAA,EAEN;AAEE,SAAO;AAAA,IACL,MAAM;AAAA;AAAA,IAEN,SAASE,KAAWL,KAAkB;AAAA,IACtC,YAAYE;AAAA,IACZ,UAAU,CAAA;AAAA,EACd;AACA;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../../comma-separated-tokens/index.cjs.js"),a=require("../../../../space-separated-tokens/index.cjs.js"),g=require("../../hast-util-parse-selector/lib/index.cjs.js"),A=require("../../property-information/lib/find.cjs.js"),u=require("../../property-information/lib/normalize.cjs.js");function N(r,e,n){const t=n?k(n):void 0;function i(o,f,...y){let s;if(o==null){s={type:"root",children:[]};const c=f;y.unshift(c)}else{s=g.parseSelector(o,e);const c=s.tagName.toLowerCase(),l=t?t.get(c):void 0;if(s.tagName=l||c,j(f))y.unshift(f);else for(const[h,b]of Object.entries(f))S(r,s.properties,h,b)}for(const c of y)d(s.children,c);return s.type==="element"&&s.tagName==="template"&&(s.content={type:"root",children:s.children},s.children=[]),s}return i}function j(r){if(r===null||typeof r!="object"||Array.isArray(r))return!0;if(typeof r.type!="string")return!1;const e=r,n=Object.keys(r);for(const t of n){const i=e[t];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const o=i;for(const f of o)if(typeof f!="number"&&typeof f!="string")return!0}}return!!("children"in r&&Array.isArray(r.children))}function S(r,e,n,t){const i=A.find(r,n);let o;if(t!=null){if(typeof t=="number"){if(Number.isNaN(t))return;o=t}else typeof t=="boolean"?o=t:typeof t=="string"?i.spaceSeparated?o=a.parse(t):i.commaSeparated?o=p.parse(t):i.commaOrSpaceSeparated?o=a.parse(p.parse(t).join(" ")):o=m(i,i.property,t):Array.isArray(t)?o=[...t]:o=i.property==="style"?w(t):String(t);if(Array.isArray(o)){const f=[];for(const y of o)f.push(m(i,i.property,y));o=f}i.property==="className"&&Array.isArray(e.className)&&(o=e.className.concat(o)),e[i.property]=o}}function d(r,e){if(e!=null)if(typeof e=="number"||typeof e=="string")r.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const n of e)d(r,n);else if(typeof e=="object"&&"type"in e)e.type==="root"?d(r,e.children):r.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function m(r,e,n){if(typeof n=="string"){if(r.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((r.boolean||r.overloadedBoolean)&&(n===""||u.normalize(n)===u.normalize(e)))return!0}return n}function w(r){const e=[];for(const[n,t]of Object.entries(r))e.push([n,t].join(": "));return e.join("; ")}function k(r){const e=new Map;for(const n of r)e.set(n.toLowerCase(),n);return e}exports.createH=N;
2
+ //# sourceMappingURL=create-h.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-h.cjs.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.js"],"sourcesContent":["/**\n * @import {Element, Nodes, RootContent, Root} from 'hast'\n * @import {Info, Schema} from 'property-information'\n */\n\n/**\n * @typedef {Array<Nodes | PrimitiveChild>} ArrayChildNested\n * List of children (deep).\n */\n\n/**\n * @typedef {Array<ArrayChildNested | Nodes | PrimitiveChild>} ArrayChild\n * List of children.\n */\n\n/**\n * @typedef {Array<number | string>} ArrayValue\n * List of property values for space- or comma separated values (such as `className`).\n */\n\n/**\n * @typedef {ArrayChild | Nodes | PrimitiveChild} Child\n * Acceptable child value.\n */\n\n/**\n * @typedef {number | string | null | undefined} PrimitiveChild\n * Primitive children, either ignored (nullish), or turned into text nodes.\n */\n\n/**\n * @typedef {boolean | number | string | null | undefined} PrimitiveValue\n * Primitive property value.\n */\n\n/**\n * @typedef {Record<string, PropertyValue | Style>} Properties\n * Acceptable value for element properties.\n */\n\n/**\n * @typedef {ArrayValue | PrimitiveValue} PropertyValue\n * Primitive value or list value.\n */\n\n/**\n * @typedef {Element | Root} Result\n * Result from a `h` (or `s`) call.\n */\n\n/**\n * @typedef {number | string} StyleValue\n * Value for a CSS style field.\n */\n\n/**\n * @typedef {Record<string, StyleValue>} Style\n * Supported value of a `style` prop.\n */\n\nimport {parse as parseCommas} from 'comma-separated-tokens'\nimport {parseSelector} from 'hast-util-parse-selector'\nimport {find, normalize} from 'property-information'\nimport {parse as parseSpaces} from 'space-separated-tokens'\n\n/**\n * @param {Schema} schema\n * Schema to use.\n * @param {string} defaultTagName\n * Default tag name.\n * @param {ReadonlyArray<string> | undefined} [caseSensitive]\n * Case-sensitive tag names (default: `undefined`).\n * @returns\n * `h`.\n */\nexport function createH(schema, defaultTagName, caseSensitive) {\n const adjust = caseSensitive ? createAdjustMap(caseSensitive) : undefined\n\n /**\n * Hyperscript compatible DSL for creating virtual hast trees.\n *\n * @overload\n * @param {null | undefined} [selector]\n * @param {...Child} children\n * @returns {Root}\n *\n * @overload\n * @param {string} selector\n * @param {Properties} properties\n * @param {...Child} children\n * @returns {Element}\n *\n * @overload\n * @param {string} selector\n * @param {...Child} children\n * @returns {Element}\n *\n * @param {string | null | undefined} [selector]\n * Selector.\n * @param {Child | Properties | null | undefined} [properties]\n * Properties (or first child) (default: `undefined`).\n * @param {...Child} children\n * Children.\n * @returns {Result}\n * Result.\n */\n function h(selector, properties, ...children) {\n /** @type {Result} */\n let node\n\n if (selector === null || selector === undefined) {\n node = {type: 'root', children: []}\n // Properties are not supported for roots.\n const child = /** @type {Child} */ (properties)\n children.unshift(child)\n } else {\n node = parseSelector(selector, defaultTagName)\n // Normalize the name.\n const lower = node.tagName.toLowerCase()\n const adjusted = adjust ? adjust.get(lower) : undefined\n node.tagName = adjusted || lower\n\n // Handle properties.\n if (isChild(properties)) {\n children.unshift(properties)\n } else {\n for (const [key, value] of Object.entries(properties)) {\n addProperty(schema, node.properties, key, value)\n }\n }\n }\n\n // Handle children.\n for (const child of children) {\n addChild(node.children, child)\n }\n\n if (node.type === 'element' && node.tagName === 'template') {\n node.content = {type: 'root', children: node.children}\n node.children = []\n }\n\n return node\n }\n\n return h\n}\n\n/**\n * Check if something is properties or a child.\n *\n * @param {Child | Properties} value\n * Value to check.\n * @returns {value is Child}\n * Whether `value` is definitely a child.\n */\nfunction isChild(value) {\n // Never properties if not an object.\n if (value === null || typeof value !== 'object' || Array.isArray(value)) {\n return true\n }\n\n // Never node without `type`; that’s the main discriminator.\n if (typeof value.type !== 'string') return false\n\n // Slower check: never property value if object or array with\n // non-number/strings.\n const record = /** @type {Record<string, unknown>} */ (value)\n const keys = Object.keys(value)\n\n for (const key of keys) {\n const value = record[key]\n\n if (value && typeof value === 'object') {\n if (!Array.isArray(value)) return true\n\n const list = /** @type {ReadonlyArray<unknown>} */ (value)\n\n for (const item of list) {\n if (typeof item !== 'number' && typeof item !== 'string') {\n return true\n }\n }\n }\n }\n\n // Also see empty `children` as a node.\n if ('children' in value && Array.isArray(value.children)) {\n return true\n }\n\n // Default to properties, someone can always pass an empty object,\n // put `data: {}` in a node,\n // or wrap it in an array.\n return false\n}\n\n/**\n * @param {Schema} schema\n * Schema.\n * @param {Properties} properties\n * Properties object.\n * @param {string} key\n * Property name.\n * @param {PropertyValue | Style} value\n * Property value.\n * @returns {undefined}\n * Nothing.\n */\nfunction addProperty(schema, properties, key, value) {\n const info = find(schema, key)\n /** @type {PropertyValue} */\n let result\n\n // Ignore nullish and NaN values.\n if (value === null || value === undefined) return\n\n if (typeof value === 'number') {\n // Ignore NaN.\n if (Number.isNaN(value)) return\n\n result = value\n }\n // Booleans.\n else if (typeof value === 'boolean') {\n result = value\n }\n // Handle list values.\n else if (typeof value === 'string') {\n if (info.spaceSeparated) {\n result = parseSpaces(value)\n } else if (info.commaSeparated) {\n result = parseCommas(value)\n } else if (info.commaOrSpaceSeparated) {\n result = parseSpaces(parseCommas(value).join(' '))\n } else {\n result = parsePrimitive(info, info.property, value)\n }\n } else if (Array.isArray(value)) {\n result = [...value]\n } else {\n result = info.property === 'style' ? style(value) : String(value)\n }\n\n if (Array.isArray(result)) {\n /** @type {Array<number | string>} */\n const finalResult = []\n\n for (const item of result) {\n // Assume no booleans in array.\n finalResult.push(\n /** @type {number | string} */ (\n parsePrimitive(info, info.property, item)\n )\n )\n }\n\n result = finalResult\n }\n\n // Class names (which can be added both on the `selector` and here).\n if (info.property === 'className' && Array.isArray(properties.className)) {\n // Assume no booleans in `className`.\n result = properties.className.concat(\n /** @type {Array<number | string> | number | string} */ (result)\n )\n }\n\n properties[info.property] = result\n}\n\n/**\n * @param {Array<RootContent>} nodes\n * Children.\n * @param {Child} value\n * Child.\n * @returns {undefined}\n * Nothing.\n */\nfunction addChild(nodes, value) {\n if (value === null || value === undefined) {\n // Empty.\n } else if (typeof value === 'number' || typeof value === 'string') {\n nodes.push({type: 'text', value: String(value)})\n } else if (Array.isArray(value)) {\n for (const child of value) {\n addChild(nodes, child)\n }\n } else if (typeof value === 'object' && 'type' in value) {\n if (value.type === 'root') {\n addChild(nodes, value.children)\n } else {\n nodes.push(value)\n }\n } else {\n throw new Error('Expected node, nodes, or string, got `' + value + '`')\n }\n}\n\n/**\n * Parse a single primitives.\n *\n * @param {Info} info\n * Property information.\n * @param {string} name\n * Property name.\n * @param {PrimitiveValue} value\n * Property value.\n * @returns {PrimitiveValue}\n * Property value.\n */\nfunction parsePrimitive(info, name, value) {\n if (typeof value === 'string') {\n if (info.number && value && !Number.isNaN(Number(value))) {\n return Number(value)\n }\n\n if (\n (info.boolean || info.overloadedBoolean) &&\n (value === '' || normalize(value) === normalize(name))\n ) {\n return true\n }\n }\n\n return value\n}\n\n/**\n * Serialize a `style` object as a string.\n *\n * @param {Style} styles\n * Style object.\n * @returns {string}\n * CSS string.\n */\nfunction style(styles) {\n /** @type {Array<string>} */\n const result = []\n\n for (const [key, value] of Object.entries(styles)) {\n result.push([key, value].join(': '))\n }\n\n return result.join('; ')\n}\n\n/**\n * Create a map to adjust casing.\n *\n * @param {ReadonlyArray<string>} values\n * List of properly cased keys.\n * @returns {Map<string, string>}\n * Map of lowercase keys to uppercase keys.\n */\nfunction createAdjustMap(values) {\n /** @type {Map<string, string>} */\n const result = new Map()\n\n for (const value of values) {\n result.set(value.toLowerCase(), value)\n }\n\n return result\n}\n"],"names":["createH","schema","defaultTagName","caseSensitive","adjust","createAdjustMap","h","selector","properties","children","node","child","parseSelector","lower","adjusted","isChild","key","value","addProperty","addChild","record","keys","list","item","info","find","result","parseSpaces","parseCommas","parsePrimitive","style","finalResult","nodes","name","normalize","styles","values"],"mappings":"kYA2EO,SAASA,EAAQC,EAAQC,EAAgBC,EAAe,CAC7D,MAAMC,EAASD,EAAgBE,EAAgBF,CAAa,EAAI,OA8BhE,SAASG,EAAEC,EAAUC,KAAeC,EAAU,CAE5C,IAAIC,EAEJ,GAAIH,GAAa,KAAgC,CAC/CG,EAAO,CAAC,KAAM,OAAQ,SAAU,CAAE,CAAA,EAElC,MAAMC,EAA8BH,EACpCC,EAAS,QAAQE,CAAK,CAC5B,KAAW,CACLD,EAAOE,EAAAA,cAAcL,EAAUL,CAAc,EAE7C,MAAMW,EAAQH,EAAK,QAAQ,YAAW,EAChCI,EAAWV,EAASA,EAAO,IAAIS,CAAK,EAAI,OAI9C,GAHAH,EAAK,QAAUI,GAAYD,EAGvBE,EAAQP,CAAU,EACpBC,EAAS,QAAQD,CAAU,MAE3B,UAAW,CAACQ,EAAKC,CAAK,IAAK,OAAO,QAAQT,CAAU,EAClDU,EAAYjB,EAAQS,EAAK,WAAYM,EAAKC,CAAK,CAGzD,CAGI,UAAWN,KAASF,EAClBU,EAAST,EAAK,SAAUC,CAAK,EAG/B,OAAID,EAAK,OAAS,WAAaA,EAAK,UAAY,aAC9CA,EAAK,QAAU,CAAC,KAAM,OAAQ,SAAUA,EAAK,QAAQ,EACrDA,EAAK,SAAW,CAAA,GAGXA,CACX,CAEE,OAAOJ,CACT,CAUA,SAASS,EAAQE,EAAO,CAEtB,GAAIA,IAAU,MAAQ,OAAOA,GAAU,UAAY,MAAM,QAAQA,CAAK,EACpE,MAAO,GAIT,GAAI,OAAOA,EAAM,MAAS,SAAU,MAAO,GAI3C,MAAMG,EAAiDH,EACjDI,EAAO,OAAO,KAAKJ,CAAK,EAE9B,UAAWD,KAAOK,EAAM,CACtB,MAAMJ,EAAQG,EAAOJ,CAAG,EAExB,GAAIC,GAAS,OAAOA,GAAU,SAAU,CACtC,GAAI,CAAC,MAAM,QAAQA,CAAK,EAAG,MAAO,GAElC,MAAMK,EAA8CL,EAEpD,UAAWM,KAAQD,EACjB,GAAI,OAAOC,GAAS,UAAY,OAAOA,GAAS,SAC9C,MAAO,EAGjB,CACA,CAGE,MAAI,gBAAcN,GAAS,MAAM,QAAQA,EAAM,QAAQ,EAQzD,CAcA,SAASC,EAAYjB,EAAQO,EAAYQ,EAAKC,EAAO,CACnD,MAAMO,EAAOC,OAAKxB,EAAQe,CAAG,EAE7B,IAAIU,EAGJ,GAAIT,GAAU,KAEd,IAAI,OAAOA,GAAU,SAAU,CAE7B,GAAI,OAAO,MAAMA,CAAK,EAAG,OAEzBS,EAAST,CACb,MAEW,OAAOA,GAAU,UACxBS,EAAST,EAGF,OAAOA,GAAU,SACpBO,EAAK,eACPE,EAASC,EAAW,MAACV,CAAK,EACjBO,EAAK,eACdE,EAASE,EAAW,MAACX,CAAK,EACjBO,EAAK,sBACdE,EAASC,EAAW,MAACC,EAAW,MAACX,CAAK,EAAE,KAAK,GAAG,CAAC,EAEjDS,EAASG,EAAeL,EAAMA,EAAK,SAAUP,CAAK,EAE3C,MAAM,QAAQA,CAAK,EAC5BS,EAAS,CAAC,GAAGT,CAAK,EAElBS,EAASF,EAAK,WAAa,QAAUM,EAAMb,CAAK,EAAI,OAAOA,CAAK,EAGlE,GAAI,MAAM,QAAQS,CAAM,EAAG,CAEzB,MAAMK,EAAc,CAAA,EAEpB,UAAWR,KAAQG,EAEjBK,EAAY,KAERF,EAAeL,EAAMA,EAAK,SAAUD,CAAI,CAElD,EAGIG,EAASK,CACb,CAGMP,EAAK,WAAa,aAAe,MAAM,QAAQhB,EAAW,SAAS,IAErEkB,EAASlB,EAAW,UAAU,OAC6BkB,CAC/D,GAGElB,EAAWgB,EAAK,QAAQ,EAAIE,EAC9B,CAUA,SAASP,EAASa,EAAOf,EAAO,CAC9B,GAAIA,GAAU,KAEP,GAAI,OAAOA,GAAU,UAAY,OAAOA,GAAU,SACvDe,EAAM,KAAK,CAAC,KAAM,OAAQ,MAAO,OAAOf,CAAK,CAAC,CAAC,UACtC,MAAM,QAAQA,CAAK,EAC5B,UAAWN,KAASM,EAClBE,EAASa,EAAOrB,CAAK,UAEd,OAAOM,GAAU,UAAY,SAAUA,EAC5CA,EAAM,OAAS,OACjBE,EAASa,EAAOf,EAAM,QAAQ,EAE9Be,EAAM,KAAKf,CAAK,MAGlB,OAAM,IAAI,MAAM,yCAA2CA,EAAQ,GAAG,CAE1E,CAcA,SAASY,EAAeL,EAAMS,EAAMhB,EAAO,CACzC,GAAI,OAAOA,GAAU,SAAU,CAC7B,GAAIO,EAAK,QAAUP,GAAS,CAAC,OAAO,MAAM,OAAOA,CAAK,CAAC,EACrD,OAAO,OAAOA,CAAK,EAGrB,IACGO,EAAK,SAAWA,EAAK,qBACrBP,IAAU,IAAMiB,EAAS,UAACjB,CAAK,IAAMiB,EAAAA,UAAUD,CAAI,GAEpD,MAAO,EAEb,CAEE,OAAOhB,CACT,CAUA,SAASa,EAAMK,EAAQ,CAErB,MAAMT,EAAS,CAAA,EAEf,SAAW,CAACV,EAAKC,CAAK,IAAK,OAAO,QAAQkB,CAAM,EAC9CT,EAAO,KAAK,CAACV,EAAKC,CAAK,EAAE,KAAK,IAAI,CAAC,EAGrC,OAAOS,EAAO,KAAK,IAAI,CACzB,CAUA,SAASrB,EAAgB+B,EAAQ,CAE/B,MAAMV,EAAS,IAAI,IAEnB,UAAWT,KAASmB,EAClBV,EAAO,IAAIT,EAAM,YAAa,EAAEA,CAAK,EAGvC,OAAOS,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,113 @@
1
+ import { parse as d } from "../../../../comma-separated-tokens/index.es.js";
2
+ import { parse as m } from "../../../../space-separated-tokens/index.es.js";
3
+ import { parseSelector as A } from "../../hast-util-parse-selector/lib/index.es.js";
4
+ import { find as N } from "../../property-information/lib/find.es.js";
5
+ import { normalize as a } from "../../property-information/lib/normalize.es.js";
6
+ function L(t, r, n) {
7
+ const e = n ? S(n) : void 0;
8
+ function i(o, s, ...p) {
9
+ let f;
10
+ if (o == null) {
11
+ f = { type: "root", children: [] };
12
+ const c = (
13
+ /** @type {Child} */
14
+ s
15
+ );
16
+ p.unshift(c);
17
+ } else {
18
+ f = A(o, r);
19
+ const c = f.tagName.toLowerCase(), l = e ? e.get(c) : void 0;
20
+ if (f.tagName = l || c, g(s))
21
+ p.unshift(s);
22
+ else
23
+ for (const [h, b] of Object.entries(s))
24
+ j(t, f.properties, h, b);
25
+ }
26
+ for (const c of p)
27
+ y(f.children, c);
28
+ return f.type === "element" && f.tagName === "template" && (f.content = { type: "root", children: f.children }, f.children = []), f;
29
+ }
30
+ return i;
31
+ }
32
+ function g(t) {
33
+ if (t === null || typeof t != "object" || Array.isArray(t))
34
+ return !0;
35
+ if (typeof t.type != "string") return !1;
36
+ const r = (
37
+ /** @type {Record<string, unknown>} */
38
+ t
39
+ ), n = Object.keys(t);
40
+ for (const e of n) {
41
+ const i = r[e];
42
+ if (i && typeof i == "object") {
43
+ if (!Array.isArray(i)) return !0;
44
+ const o = (
45
+ /** @type {ReadonlyArray<unknown>} */
46
+ i
47
+ );
48
+ for (const s of o)
49
+ if (typeof s != "number" && typeof s != "string")
50
+ return !0;
51
+ }
52
+ }
53
+ return !!("children" in t && Array.isArray(t.children));
54
+ }
55
+ function j(t, r, n, e) {
56
+ const i = N(t, n);
57
+ let o;
58
+ if (e != null) {
59
+ if (typeof e == "number") {
60
+ if (Number.isNaN(e)) return;
61
+ o = e;
62
+ } else typeof e == "boolean" ? o = e : typeof e == "string" ? i.spaceSeparated ? o = m(e) : i.commaSeparated ? o = d(e) : i.commaOrSpaceSeparated ? o = m(d(e).join(" ")) : o = u(i, i.property, e) : Array.isArray(e) ? o = [...e] : o = i.property === "style" ? w(e) : String(e);
63
+ if (Array.isArray(o)) {
64
+ const s = [];
65
+ for (const p of o)
66
+ s.push(
67
+ /** @type {number | string} */
68
+ u(i, i.property, p)
69
+ );
70
+ o = s;
71
+ }
72
+ i.property === "className" && Array.isArray(r.className) && (o = r.className.concat(
73
+ /** @type {Array<number | string> | number | string} */
74
+ o
75
+ )), r[i.property] = o;
76
+ }
77
+ }
78
+ function y(t, r) {
79
+ if (r != null) if (typeof r == "number" || typeof r == "string")
80
+ t.push({ type: "text", value: String(r) });
81
+ else if (Array.isArray(r))
82
+ for (const n of r)
83
+ y(t, n);
84
+ else if (typeof r == "object" && "type" in r)
85
+ r.type === "root" ? y(t, r.children) : t.push(r);
86
+ else
87
+ throw new Error("Expected node, nodes, or string, got `" + r + "`");
88
+ }
89
+ function u(t, r, n) {
90
+ if (typeof n == "string") {
91
+ if (t.number && n && !Number.isNaN(Number(n)))
92
+ return Number(n);
93
+ if ((t.boolean || t.overloadedBoolean) && (n === "" || a(n) === a(r)))
94
+ return !0;
95
+ }
96
+ return n;
97
+ }
98
+ function w(t) {
99
+ const r = [];
100
+ for (const [n, e] of Object.entries(t))
101
+ r.push([n, e].join(": "));
102
+ return r.join("; ");
103
+ }
104
+ function S(t) {
105
+ const r = /* @__PURE__ */ new Map();
106
+ for (const n of t)
107
+ r.set(n.toLowerCase(), n);
108
+ return r;
109
+ }
110
+ export {
111
+ L as createH
112
+ };
113
+ //# sourceMappingURL=create-h.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-h.es.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.js"],"sourcesContent":["/**\n * @import {Element, Nodes, RootContent, Root} from 'hast'\n * @import {Info, Schema} from 'property-information'\n */\n\n/**\n * @typedef {Array<Nodes | PrimitiveChild>} ArrayChildNested\n * List of children (deep).\n */\n\n/**\n * @typedef {Array<ArrayChildNested | Nodes | PrimitiveChild>} ArrayChild\n * List of children.\n */\n\n/**\n * @typedef {Array<number | string>} ArrayValue\n * List of property values for space- or comma separated values (such as `className`).\n */\n\n/**\n * @typedef {ArrayChild | Nodes | PrimitiveChild} Child\n * Acceptable child value.\n */\n\n/**\n * @typedef {number | string | null | undefined} PrimitiveChild\n * Primitive children, either ignored (nullish), or turned into text nodes.\n */\n\n/**\n * @typedef {boolean | number | string | null | undefined} PrimitiveValue\n * Primitive property value.\n */\n\n/**\n * @typedef {Record<string, PropertyValue | Style>} Properties\n * Acceptable value for element properties.\n */\n\n/**\n * @typedef {ArrayValue | PrimitiveValue} PropertyValue\n * Primitive value or list value.\n */\n\n/**\n * @typedef {Element | Root} Result\n * Result from a `h` (or `s`) call.\n */\n\n/**\n * @typedef {number | string} StyleValue\n * Value for a CSS style field.\n */\n\n/**\n * @typedef {Record<string, StyleValue>} Style\n * Supported value of a `style` prop.\n */\n\nimport {parse as parseCommas} from 'comma-separated-tokens'\nimport {parseSelector} from 'hast-util-parse-selector'\nimport {find, normalize} from 'property-information'\nimport {parse as parseSpaces} from 'space-separated-tokens'\n\n/**\n * @param {Schema} schema\n * Schema to use.\n * @param {string} defaultTagName\n * Default tag name.\n * @param {ReadonlyArray<string> | undefined} [caseSensitive]\n * Case-sensitive tag names (default: `undefined`).\n * @returns\n * `h`.\n */\nexport function createH(schema, defaultTagName, caseSensitive) {\n const adjust = caseSensitive ? createAdjustMap(caseSensitive) : undefined\n\n /**\n * Hyperscript compatible DSL for creating virtual hast trees.\n *\n * @overload\n * @param {null | undefined} [selector]\n * @param {...Child} children\n * @returns {Root}\n *\n * @overload\n * @param {string} selector\n * @param {Properties} properties\n * @param {...Child} children\n * @returns {Element}\n *\n * @overload\n * @param {string} selector\n * @param {...Child} children\n * @returns {Element}\n *\n * @param {string | null | undefined} [selector]\n * Selector.\n * @param {Child | Properties | null | undefined} [properties]\n * Properties (or first child) (default: `undefined`).\n * @param {...Child} children\n * Children.\n * @returns {Result}\n * Result.\n */\n function h(selector, properties, ...children) {\n /** @type {Result} */\n let node\n\n if (selector === null || selector === undefined) {\n node = {type: 'root', children: []}\n // Properties are not supported for roots.\n const child = /** @type {Child} */ (properties)\n children.unshift(child)\n } else {\n node = parseSelector(selector, defaultTagName)\n // Normalize the name.\n const lower = node.tagName.toLowerCase()\n const adjusted = adjust ? adjust.get(lower) : undefined\n node.tagName = adjusted || lower\n\n // Handle properties.\n if (isChild(properties)) {\n children.unshift(properties)\n } else {\n for (const [key, value] of Object.entries(properties)) {\n addProperty(schema, node.properties, key, value)\n }\n }\n }\n\n // Handle children.\n for (const child of children) {\n addChild(node.children, child)\n }\n\n if (node.type === 'element' && node.tagName === 'template') {\n node.content = {type: 'root', children: node.children}\n node.children = []\n }\n\n return node\n }\n\n return h\n}\n\n/**\n * Check if something is properties or a child.\n *\n * @param {Child | Properties} value\n * Value to check.\n * @returns {value is Child}\n * Whether `value` is definitely a child.\n */\nfunction isChild(value) {\n // Never properties if not an object.\n if (value === null || typeof value !== 'object' || Array.isArray(value)) {\n return true\n }\n\n // Never node without `type`; that’s the main discriminator.\n if (typeof value.type !== 'string') return false\n\n // Slower check: never property value if object or array with\n // non-number/strings.\n const record = /** @type {Record<string, unknown>} */ (value)\n const keys = Object.keys(value)\n\n for (const key of keys) {\n const value = record[key]\n\n if (value && typeof value === 'object') {\n if (!Array.isArray(value)) return true\n\n const list = /** @type {ReadonlyArray<unknown>} */ (value)\n\n for (const item of list) {\n if (typeof item !== 'number' && typeof item !== 'string') {\n return true\n }\n }\n }\n }\n\n // Also see empty `children` as a node.\n if ('children' in value && Array.isArray(value.children)) {\n return true\n }\n\n // Default to properties, someone can always pass an empty object,\n // put `data: {}` in a node,\n // or wrap it in an array.\n return false\n}\n\n/**\n * @param {Schema} schema\n * Schema.\n * @param {Properties} properties\n * Properties object.\n * @param {string} key\n * Property name.\n * @param {PropertyValue | Style} value\n * Property value.\n * @returns {undefined}\n * Nothing.\n */\nfunction addProperty(schema, properties, key, value) {\n const info = find(schema, key)\n /** @type {PropertyValue} */\n let result\n\n // Ignore nullish and NaN values.\n if (value === null || value === undefined) return\n\n if (typeof value === 'number') {\n // Ignore NaN.\n if (Number.isNaN(value)) return\n\n result = value\n }\n // Booleans.\n else if (typeof value === 'boolean') {\n result = value\n }\n // Handle list values.\n else if (typeof value === 'string') {\n if (info.spaceSeparated) {\n result = parseSpaces(value)\n } else if (info.commaSeparated) {\n result = parseCommas(value)\n } else if (info.commaOrSpaceSeparated) {\n result = parseSpaces(parseCommas(value).join(' '))\n } else {\n result = parsePrimitive(info, info.property, value)\n }\n } else if (Array.isArray(value)) {\n result = [...value]\n } else {\n result = info.property === 'style' ? style(value) : String(value)\n }\n\n if (Array.isArray(result)) {\n /** @type {Array<number | string>} */\n const finalResult = []\n\n for (const item of result) {\n // Assume no booleans in array.\n finalResult.push(\n /** @type {number | string} */ (\n parsePrimitive(info, info.property, item)\n )\n )\n }\n\n result = finalResult\n }\n\n // Class names (which can be added both on the `selector` and here).\n if (info.property === 'className' && Array.isArray(properties.className)) {\n // Assume no booleans in `className`.\n result = properties.className.concat(\n /** @type {Array<number | string> | number | string} */ (result)\n )\n }\n\n properties[info.property] = result\n}\n\n/**\n * @param {Array<RootContent>} nodes\n * Children.\n * @param {Child} value\n * Child.\n * @returns {undefined}\n * Nothing.\n */\nfunction addChild(nodes, value) {\n if (value === null || value === undefined) {\n // Empty.\n } else if (typeof value === 'number' || typeof value === 'string') {\n nodes.push({type: 'text', value: String(value)})\n } else if (Array.isArray(value)) {\n for (const child of value) {\n addChild(nodes, child)\n }\n } else if (typeof value === 'object' && 'type' in value) {\n if (value.type === 'root') {\n addChild(nodes, value.children)\n } else {\n nodes.push(value)\n }\n } else {\n throw new Error('Expected node, nodes, or string, got `' + value + '`')\n }\n}\n\n/**\n * Parse a single primitives.\n *\n * @param {Info} info\n * Property information.\n * @param {string} name\n * Property name.\n * @param {PrimitiveValue} value\n * Property value.\n * @returns {PrimitiveValue}\n * Property value.\n */\nfunction parsePrimitive(info, name, value) {\n if (typeof value === 'string') {\n if (info.number && value && !Number.isNaN(Number(value))) {\n return Number(value)\n }\n\n if (\n (info.boolean || info.overloadedBoolean) &&\n (value === '' || normalize(value) === normalize(name))\n ) {\n return true\n }\n }\n\n return value\n}\n\n/**\n * Serialize a `style` object as a string.\n *\n * @param {Style} styles\n * Style object.\n * @returns {string}\n * CSS string.\n */\nfunction style(styles) {\n /** @type {Array<string>} */\n const result = []\n\n for (const [key, value] of Object.entries(styles)) {\n result.push([key, value].join(': '))\n }\n\n return result.join('; ')\n}\n\n/**\n * Create a map to adjust casing.\n *\n * @param {ReadonlyArray<string>} values\n * List of properly cased keys.\n * @returns {Map<string, string>}\n * Map of lowercase keys to uppercase keys.\n */\nfunction createAdjustMap(values) {\n /** @type {Map<string, string>} */\n const result = new Map()\n\n for (const value of values) {\n result.set(value.toLowerCase(), value)\n }\n\n return result\n}\n"],"names":["createH","schema","defaultTagName","caseSensitive","adjust","createAdjustMap","h","selector","properties","children","node","child","parseSelector","lower","adjusted","isChild","key","value","addProperty","addChild","record","keys","list","item","info","find","result","parseSpaces","parseCommas","parsePrimitive","style","finalResult","nodes","name","normalize","styles","values"],"mappings":"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","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../property-information/index.cjs.js"),s=require("./create-h.cjs.js"),t=require("./svg-case-sensitive-tag-names.cjs.js"),r=s.createH(e.html,"div"),i=s.createH(e.svg,"g",t.svgCaseSensitiveTagNames);exports.h=r;exports.s=i;
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/index.js"],"sourcesContent":["// Register the JSX namespace on `h`.\n/**\n * @typedef {import('./jsx-classic.js').Element} h.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements\n */\n\n// Register the JSX namespace on `s`.\n/**\n * @typedef {import('./jsx-classic.js').Element} s.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements\n */\n\nimport {html, svg} from 'property-information'\nimport {createH} from './create-h.js'\nimport {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType<createH>} */\nexport const h = createH(html, 'div')\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType<createH>} */\nexport const s = createH(svg, 'g', svgCaseSensitiveTagNames)\n"],"names":["h","createH","html","s","svg","svgCaseSensitiveTagNames"],"mappings":"6NAsBaA,EAAIC,EAAAA,QAAQC,EAAAA,KAAM,KAAK,EAIvBC,EAAIF,EAAO,QAACG,MAAK,IAAKC,EAAwB,wBAAA","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { html as t, svg as m } from "../../property-information/index.es.js";
2
+ import { createH as o } from "./create-h.es.js";
3
+ import { svgCaseSensitiveTagNames as r } from "./svg-case-sensitive-tag-names.es.js";
4
+ const a = o(t, "div"), g = o(m, "g", r);
5
+ export {
6
+ a as h,
7
+ g as s
8
+ };
9
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/index.js"],"sourcesContent":["// Register the JSX namespace on `h`.\n/**\n * @typedef {import('./jsx-classic.js').Element} h.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements\n */\n\n// Register the JSX namespace on `s`.\n/**\n * @typedef {import('./jsx-classic.js').Element} s.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements\n */\n\nimport {html, svg} from 'property-information'\nimport {createH} from './create-h.js'\nimport {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType<createH>} */\nexport const h = createH(html, 'div')\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType<createH>} */\nexport const s = createH(svg, 'g', svgCaseSensitiveTagNames)\n"],"names":["h","createH","html","s","svg","svgCaseSensitiveTagNames"],"mappings":";;;AAsBY,MAACA,IAAIC,EAAQC,GAAM,KAAK,GAIvBC,IAAIF,EAAQG,GAAK,KAAKC,CAAwB;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];exports.svgCaseSensitiveTagNames=e;
2
+ //# sourceMappingURL=svg-case-sensitive-tag-names.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svg-case-sensitive-tag-names.cjs.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js"],"sourcesContent":["/**\n * List of case-sensitive SVG tag names.\n *\n * @type {ReadonlyArray<string>}\n */\nexport const svgCaseSensitiveTagNames = [\n 'altGlyph',\n 'altGlyphDef',\n 'altGlyphItem',\n 'animateColor',\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDistantLight',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'glyphRef',\n 'linearGradient',\n 'radialGradient',\n 'solidColor',\n 'textArea',\n 'textPath'\n]\n"],"names":["svgCaseSensitiveTagNames"],"mappings":"gFAKY,MAACA,EAA2B,CACtC,WACA,cACA,eACA,eACA,gBACA,mBACA,WACA,UACA,gBACA,sBACA,cACA,mBACA,oBACA,oBACA,iBACA,eACA,UACA,UACA,UACA,UACA,UACA,iBACA,UACA,UACA,cACA,eACA,WACA,eACA,qBACA,cACA,SACA,eACA,gBACA,WACA,iBACA,iBACA,aACA,WACA,UACF","x_google_ignoreList":[0]}
@@ -0,0 +1,45 @@
1
+ const e = [
2
+ "altGlyph",
3
+ "altGlyphDef",
4
+ "altGlyphItem",
5
+ "animateColor",
6
+ "animateMotion",
7
+ "animateTransform",
8
+ "clipPath",
9
+ "feBlend",
10
+ "feColorMatrix",
11
+ "feComponentTransfer",
12
+ "feComposite",
13
+ "feConvolveMatrix",
14
+ "feDiffuseLighting",
15
+ "feDisplacementMap",
16
+ "feDistantLight",
17
+ "feDropShadow",
18
+ "feFlood",
19
+ "feFuncA",
20
+ "feFuncB",
21
+ "feFuncG",
22
+ "feFuncR",
23
+ "feGaussianBlur",
24
+ "feImage",
25
+ "feMerge",
26
+ "feMergeNode",
27
+ "feMorphology",
28
+ "feOffset",
29
+ "fePointLight",
30
+ "feSpecularLighting",
31
+ "feSpotLight",
32
+ "feTile",
33
+ "feTurbulence",
34
+ "foreignObject",
35
+ "glyphRef",
36
+ "linearGradient",
37
+ "radialGradient",
38
+ "solidColor",
39
+ "textArea",
40
+ "textPath"
41
+ ];
42
+ export {
43
+ e as svgCaseSensitiveTagNames
44
+ };
45
+ //# sourceMappingURL=svg-case-sensitive-tag-names.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svg-case-sensitive-tag-names.es.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js"],"sourcesContent":["/**\n * List of case-sensitive SVG tag names.\n *\n * @type {ReadonlyArray<string>}\n */\nexport const svgCaseSensitiveTagNames = [\n 'altGlyph',\n 'altGlyphDef',\n 'altGlyphItem',\n 'animateColor',\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDistantLight',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'glyphRef',\n 'linearGradient',\n 'radialGradient',\n 'solidColor',\n 'textArea',\n 'textPath'\n]\n"],"names":["svgCaseSensitiveTagNames"],"mappings":"AAKY,MAACA,IAA2B;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];exports.htmlVoidElements=e;
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/html-void-elements/index.js"],"sourcesContent":["/**\n * List of HTML void tag names.\n *\n * @type {Array<string>}\n */\nexport const htmlVoidElements = [\n 'area',\n 'base',\n 'basefont',\n 'bgsound',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'image',\n 'img',\n 'input',\n 'keygen',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]\n"],"names":["htmlVoidElements"],"mappings":"gFAKY,MAACA,EAAmB,CAC9B,OACA,OACA,WACA,UACA,KACA,MACA,UACA,QACA,QACA,KACA,QACA,MACA,QACA,SACA,OACA,OACA,QACA,SACA,QACA,KACF","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ const e = [
2
+ "area",
3
+ "base",
4
+ "basefont",
5
+ "bgsound",
6
+ "br",
7
+ "col",
8
+ "command",
9
+ "embed",
10
+ "frame",
11
+ "hr",
12
+ "image",
13
+ "img",
14
+ "input",
15
+ "keygen",
16
+ "link",
17
+ "meta",
18
+ "param",
19
+ "source",
20
+ "track",
21
+ "wbr"
22
+ ];
23
+ export {
24
+ e as htmlVoidElements
25
+ };
26
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/html-void-elements/index.js"],"sourcesContent":["/**\n * List of HTML void tag names.\n *\n * @type {Array<string>}\n */\nexport const htmlVoidElements = [\n 'area',\n 'base',\n 'basefont',\n 'bgsound',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'image',\n 'img',\n 'input',\n 'keygen',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]\n"],"names":["htmlVoidElements"],"mappings":"AAKY,MAACA,IAAmB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./html.cjs.js"),s="html",n="about:legacy-compat",h="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",r=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],c=[...r,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],a=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),o=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],f=[...o,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function m(t,d){return d.some(e=>t.startsWith(e))}function I(t){return t.name===s&&t.publicId===null&&(t.systemId===null||t.systemId===n)}function _(t){if(t.name!==s)return l.DOCUMENT_MODE.QUIRKS;const{systemId:d}=t;if(d&&d.toLowerCase()===h)return l.DOCUMENT_MODE.QUIRKS;let{publicId:e}=t;if(e!==null){if(e=e.toLowerCase(),a.has(e))return l.DOCUMENT_MODE.QUIRKS;let i=d===null?c:r;if(m(e,i))return l.DOCUMENT_MODE.QUIRKS;if(i=d===null?o:f,m(e,i))return l.DOCUMENT_MODE.LIMITED_QUIRKS}return l.DOCUMENT_MODE.NO_QUIRKS}exports.getDocumentMode=_;exports.isConforming=I;
2
+ //# sourceMappingURL=doctype.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctype.cjs.js","sources":["../../../../../../../../node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js"],"sourcesContent":["import { DOCUMENT_MODE } from './html.js';\n//Const\nconst VALID_DOCTYPE_NAME = 'html';\nconst VALID_SYSTEM_ID = 'about:legacy-compat';\nconst QUIRKS_MODE_SYSTEM_ID = 'http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd';\nconst QUIRKS_MODE_PUBLIC_ID_PREFIXES = [\n '+//silmaril//dtd html pro v0r11 19970101//',\n '-//as//dtd html 3.0 aswedit + extensions//',\n '-//advasoft ltd//dtd html 3.0 aswedit + extensions//',\n '-//ietf//dtd html 2.0 level 1//',\n '-//ietf//dtd html 2.0 level 2//',\n '-//ietf//dtd html 2.0 strict level 1//',\n '-//ietf//dtd html 2.0 strict level 2//',\n '-//ietf//dtd html 2.0 strict//',\n '-//ietf//dtd html 2.0//',\n '-//ietf//dtd html 2.1e//',\n '-//ietf//dtd html 3.0//',\n '-//ietf//dtd html 3.2 final//',\n '-//ietf//dtd html 3.2//',\n '-//ietf//dtd html 3//',\n '-//ietf//dtd html level 0//',\n '-//ietf//dtd html level 1//',\n '-//ietf//dtd html level 2//',\n '-//ietf//dtd html level 3//',\n '-//ietf//dtd html strict level 0//',\n '-//ietf//dtd html strict level 1//',\n '-//ietf//dtd html strict level 2//',\n '-//ietf//dtd html strict level 3//',\n '-//ietf//dtd html strict//',\n '-//ietf//dtd html//',\n '-//metrius//dtd metrius presentational//',\n '-//microsoft//dtd internet explorer 2.0 html strict//',\n '-//microsoft//dtd internet explorer 2.0 html//',\n '-//microsoft//dtd internet explorer 2.0 tables//',\n '-//microsoft//dtd internet explorer 3.0 html strict//',\n '-//microsoft//dtd internet explorer 3.0 html//',\n '-//microsoft//dtd internet explorer 3.0 tables//',\n '-//netscape comm. corp.//dtd html//',\n '-//netscape comm. corp.//dtd strict html//',\n \"-//o'reilly and associates//dtd html 2.0//\",\n \"-//o'reilly and associates//dtd html extended 1.0//\",\n \"-//o'reilly and associates//dtd html extended relaxed 1.0//\",\n '-//sq//dtd html 2.0 hotmetal + extensions//',\n '-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//',\n '-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//',\n '-//spyglass//dtd html 2.0 extended//',\n '-//sun microsystems corp.//dtd hotjava html//',\n '-//sun microsystems corp.//dtd hotjava strict html//',\n '-//w3c//dtd html 3 1995-03-24//',\n '-//w3c//dtd html 3.2 draft//',\n '-//w3c//dtd html 3.2 final//',\n '-//w3c//dtd html 3.2//',\n '-//w3c//dtd html 3.2s draft//',\n '-//w3c//dtd html 4.0 frameset//',\n '-//w3c//dtd html 4.0 transitional//',\n '-//w3c//dtd html experimental 19960712//',\n '-//w3c//dtd html experimental 970421//',\n '-//w3c//dtd w3 html//',\n '-//w3o//dtd w3 html 3.0//',\n '-//webtechs//dtd mozilla html 2.0//',\n '-//webtechs//dtd mozilla html//',\n];\nconst QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = [\n ...QUIRKS_MODE_PUBLIC_ID_PREFIXES,\n '-//w3c//dtd html 4.01 frameset//',\n '-//w3c//dtd html 4.01 transitional//',\n];\nconst QUIRKS_MODE_PUBLIC_IDS = new Set([\n '-//w3o//dtd w3 html strict 3.0//en//',\n '-/w3c/dtd html 4.0 transitional/en',\n 'html',\n]);\nconst LIMITED_QUIRKS_PUBLIC_ID_PREFIXES = ['-//w3c//dtd xhtml 1.0 frameset//', '-//w3c//dtd xhtml 1.0 transitional//'];\nconst LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES = [\n ...LIMITED_QUIRKS_PUBLIC_ID_PREFIXES,\n '-//w3c//dtd html 4.01 frameset//',\n '-//w3c//dtd html 4.01 transitional//',\n];\n//Utils\nfunction hasPrefix(publicId, prefixes) {\n return prefixes.some((prefix) => publicId.startsWith(prefix));\n}\n//API\nexport function isConforming(token) {\n return (token.name === VALID_DOCTYPE_NAME &&\n token.publicId === null &&\n (token.systemId === null || token.systemId === VALID_SYSTEM_ID));\n}\nexport function getDocumentMode(token) {\n if (token.name !== VALID_DOCTYPE_NAME) {\n return DOCUMENT_MODE.QUIRKS;\n }\n const { systemId } = token;\n if (systemId && systemId.toLowerCase() === QUIRKS_MODE_SYSTEM_ID) {\n return DOCUMENT_MODE.QUIRKS;\n }\n let { publicId } = token;\n if (publicId !== null) {\n publicId = publicId.toLowerCase();\n if (QUIRKS_MODE_PUBLIC_IDS.has(publicId)) {\n return DOCUMENT_MODE.QUIRKS;\n }\n let prefixes = systemId === null ? QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES : QUIRKS_MODE_PUBLIC_ID_PREFIXES;\n if (hasPrefix(publicId, prefixes)) {\n return DOCUMENT_MODE.QUIRKS;\n }\n prefixes =\n systemId === null ? LIMITED_QUIRKS_PUBLIC_ID_PREFIXES : LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES;\n if (hasPrefix(publicId, prefixes)) {\n return DOCUMENT_MODE.LIMITED_QUIRKS;\n }\n }\n return DOCUMENT_MODE.NO_QUIRKS;\n}\n"],"names":["VALID_DOCTYPE_NAME","VALID_SYSTEM_ID","QUIRKS_MODE_SYSTEM_ID","QUIRKS_MODE_PUBLIC_ID_PREFIXES","QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES","QUIRKS_MODE_PUBLIC_IDS","LIMITED_QUIRKS_PUBLIC_ID_PREFIXES","LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES","hasPrefix","publicId","prefixes","prefix","isConforming","token","getDocumentMode","DOCUMENT_MODE","systemId"],"mappings":"iHAEMA,EAAqB,OACrBC,EAAkB,sBAClBC,EAAwB,6DACxBC,EAAiC,CACnC,6CACA,6CACA,uDACA,kCACA,kCACA,yCACA,yCACA,iCACA,0BACA,2BACA,0BACA,gCACA,0BACA,wBACA,8BACA,8BACA,8BACA,8BACA,qCACA,qCACA,qCACA,qCACA,6BACA,sBACA,2CACA,wDACA,iDACA,mDACA,wDACA,iDACA,mDACA,sCACA,6CACA,6CACA,sDACA,8DACA,8CACA,iFACA,wEACA,uCACA,gDACA,uDACA,kCACA,+BACA,+BACA,yBACA,gCACA,kCACA,sCACA,2CACA,yCACA,wBACA,4BACA,sCACA,iCACJ,EACMC,EAA8C,CAChD,GAAGD,EACH,mCACA,sCACJ,EACME,EAAyB,IAAI,IAAI,CACnC,uCACA,qCACA,MACJ,CAAC,EACKC,EAAoC,CAAC,mCAAoC,sCAAsC,EAC/GC,EAAmD,CACrD,GAAGD,EACH,mCACA,sCACJ,EAEA,SAASE,EAAUC,EAAUC,EAAU,CACnC,OAAOA,EAAS,KAAMC,GAAWF,EAAS,WAAWE,CAAM,CAAC,CAChE,CAEO,SAASC,EAAaC,EAAO,CAChC,OAAQA,EAAM,OAASb,GACnBa,EAAM,WAAa,OAClBA,EAAM,WAAa,MAAQA,EAAM,WAAaZ,EACvD,CACO,SAASa,EAAgBD,EAAO,CACnC,GAAIA,EAAM,OAASb,EACf,OAAOe,EAAa,cAAC,OAEzB,KAAM,CAAE,SAAAC,CAAQ,EAAKH,EACrB,GAAIG,GAAYA,EAAS,YAAW,IAAOd,EACvC,OAAOa,EAAa,cAAC,OAEzB,GAAI,CAAE,SAAAN,CAAQ,EAAKI,EACnB,GAAIJ,IAAa,KAAM,CAEnB,GADAA,EAAWA,EAAS,YAAa,EAC7BJ,EAAuB,IAAII,CAAQ,EACnC,OAAOM,EAAa,cAAC,OAEzB,IAAIL,EAAWM,IAAa,KAAOZ,EAA8CD,EACjF,GAAIK,EAAUC,EAAUC,CAAQ,EAC5B,OAAOK,EAAa,cAAC,OAIzB,GAFAL,EACIM,IAAa,KAAOV,EAAoCC,EACxDC,EAAUC,EAAUC,CAAQ,EAC5B,OAAOK,EAAa,cAAC,cAEjC,CACI,OAAOA,EAAa,cAAC,SACzB","x_google_ignoreList":[0]}