@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
package/dist/util.es.js CHANGED
@@ -1,47 +1,55 @@
1
1
  import { default as o } from "./shared/src/util/productTypes.es.js";
2
- import { KeyMode as a, getCurrentPlatform as i, getPlatformShortcutKey as n } from "./shared/src/util/platform.es.js";
2
+ import { KeyMode as a, getCurrentPlatform as m, getPlatformShortcutKey as i } from "./shared/src/util/platform.es.js";
3
3
  import { confirmDelete as p } from "./shared/src/util/confirmDelete.es.js";
4
- import { entityTypesWithIcons as d, getEntityTypeIcon as c } from "./shared/src/util/getEntityTypeIcon.es.js";
5
- import { groupResult as u } from "./shared/src/util/groupResult.es.js";
6
- import { getPriorityOptions as s } from "./shared/src/util/getPriorityOptions.es.js";
4
+ import { entityTypesWithIcons as c, getEntityTypeIcon as l } from "./shared/src/util/getEntityTypeIcon.es.js";
5
+ import { groupResult as x } from "./shared/src/util/groupResult.es.js";
6
+ import { getPriorityOptions as u } from "./shared/src/util/getPriorityOptions.es.js";
7
7
  import { copyToClipboard as y } from "./shared/src/util/copyToClipboard.es.js";
8
- import { getMixedState as T } from "./shared/src/util/getMixedState.es.js";
9
- import { getAttributeIcon as C } from "./shared/src/util/getAttributeIcon.es.js";
10
- import { getEntityId as I, validateEntityId as S } from "./shared/src/util/getEntityId.es.js";
11
- import { extractVersionFromFilename as E } from "./shared/src/util/extractVersionFromFilename.es.js";
12
- import { createProductAndVersion as h, createProductHelper as D, createVersionHelper as F, getNextVersionNumber as k, handleUploadError as A, sanitizeProductName as H, validateFormData as K, validateProductName as M, validateProductType as z, validateVersion as O } from "./shared/src/util/versionUploadHelpers.es.js";
13
- import { convertColumnConfigToTanstackStates as U, convertTanstackStatesToColumnConfig as W } from "./shared/src/util/columnConfigConverter.es.js";
14
- import { default as q } from "./shared/src/util/pubsub.es.js";
15
- import { ConfirmDialog as B } from "./shared/node_modules/primereact/confirmdialog/confirmdialog.esm.es.js";
8
+ import { getMixedState as P } from "./shared/src/util/getMixedState.es.js";
9
+ import { getAttributeIcon as v } from "./shared/src/util/getAttributeIcon.es.js";
10
+ import { getEntityId as b, validateEntityId as N } from "./shared/src/util/getEntityId.es.js";
11
+ import { extractVersionFromFilename as F } from "./shared/src/util/extractVersionFromFilename.es.js";
12
+ import { createProductAndVersion as S, createProductHelper as V, createVersionHelper as E, getNextVersionNumber as A, handleUploadError as D, sanitizeProductName as H, validateFormData as z, validateProductName as K, validateProductType as L, validateVersion as M } from "./shared/src/util/versionUploadHelpers.es.js";
13
+ import { convertColumnConfigToTanstackStates as O, convertTanstackStatesToColumnConfig as R } from "./shared/src/util/columnConfigConverter.es.js";
14
+ import { checkLabel as j, checkName as q, parseAndFormatName as w } from "./shared/src/util/checkName.es.js";
15
+ import { humanizeField as G } from "./shared/src/util/humanizeFieldName.es.js";
16
+ import { parseHtmlToPlainTextWithLinks as Q } from "./shared/src/util/parseHtmlToPlainTextWithLinks.es.js";
17
+ import { default as Y } from "./shared/src/util/pubsub.es.js";
18
+ import { ConfirmDialog as _ } from "./shared/node_modules/primereact/confirmdialog/confirmdialog.esm.es.js";
16
19
  export {
17
- B as ConfirmDialog,
20
+ _ as ConfirmDialog,
18
21
  a as KeyMode,
19
- q as PubSub,
22
+ Y as PubSub,
23
+ j as checkLabel,
24
+ q as checkName,
20
25
  p as confirmDelete,
21
- U as convertColumnConfigToTanstackStates,
22
- W as convertTanstackStatesToColumnConfig,
26
+ O as convertColumnConfigToTanstackStates,
27
+ R as convertTanstackStatesToColumnConfig,
23
28
  y as copyToClipboard,
24
- h as createProductAndVersion,
25
- D as createProductHelper,
26
- F as createVersionHelper,
27
- d as entityTypesWithIcons,
28
- E as extractVersionFromFilename,
29
- C as getAttributeIcon,
30
- i as getCurrentPlatform,
31
- I as getEntityId,
32
- c as getEntityTypeIcon,
33
- T as getMixedState,
34
- k as getNextVersionNumber,
35
- n as getPlatformShortcutKey,
36
- s as getPriorityOptions,
37
- u as groupResult,
38
- A as handleUploadError,
29
+ S as createProductAndVersion,
30
+ V as createProductHelper,
31
+ E as createVersionHelper,
32
+ c as entityTypesWithIcons,
33
+ F as extractVersionFromFilename,
34
+ v as getAttributeIcon,
35
+ m as getCurrentPlatform,
36
+ b as getEntityId,
37
+ l as getEntityTypeIcon,
38
+ P as getMixedState,
39
+ A as getNextVersionNumber,
40
+ i as getPlatformShortcutKey,
41
+ u as getPriorityOptions,
42
+ x as groupResult,
43
+ D as handleUploadError,
44
+ G as humanizeField,
45
+ w as parseAndFormatName,
46
+ Q as parseHtmlToPlainTextWithLinks,
39
47
  o as productTypes,
40
48
  H as sanitizeProductName,
41
- S as validateEntityId,
42
- K as validateFormData,
43
- M as validateProductName,
44
- z as validateProductType,
45
- O as validateVersion
49
+ N as validateEntityId,
50
+ z as validateFormData,
51
+ K as validateProductName,
52
+ L as validateProductType,
53
+ M as validateVersion
46
54
  };
47
55
  //# sourceMappingURL=util.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"util.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynput/ayon-frontend-shared",
3
- "version": "0.2.28",
3
+ "version": "0.2.30",
4
4
  "description": "Shared React components for AYON frontend",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../_virtual/index.cjs9.js"),i=require("./minpath.browser.cjs.js"),d=require("./minproc.browser.cjs.js"),c=require("./minurl.browser.cjs.js"),m=require("./minurl.shared.cjs.js"),l=require("../node_modules/vfile-message/lib/index.cjs.js"),a=["history","path","basename","stem","extname","dirname"];class g{constructor(t){let e;t?typeof t=="string"||w(t)?e={value:t}:m.isUrl(t)?e={path:t}:e=t:e={},this.data={},this.messages=[],this.history=[],this.cwd=d.proc.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<a.length;){const h=a[r];h in e&&e[h]!==void 0&&e[h]!==null&&(this[h]=h==="history"?[...e[h]]:e[h])}let s;for(s in e)a.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(t){m.isUrl(t)&&(t=c.urlToPath(t)),p(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?i.path.dirname(this.path):void 0}set dirname(t){u(this.basename,"dirname"),this.path=i.path.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?i.path.basename(this.path):void 0}set basename(t){p(t,"basename"),o(t,"basename"),this.path=i.path.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?i.path.extname(this.path):void 0}set extname(t){if(o(t,"extname"),u(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=i.path.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?i.path.basename(this.path,this.extname):void 0}set stem(t){p(t,"stem"),o(t,"stem"),this.path=i.path.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,e,r){const s=new l.VFileMessage(t,e,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(t,e,r){const s=this.message(t,e,r);return s.fatal=null,s}fail(t,e,r){const s=this.message(t,e,r);throw s.fatal=!0,s}}function o(n,t){if(n&&n.includes(i.path.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+i.path.sep+"`")}function p(n,t){if(!n)throw new Error("`"+t+"` cannot be empty")}function u(n,t){if(!n)throw new Error("Setting `"+t+"` requires `path` to be set too")}function w(n){return f(n)}exports.VFile=g;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../../../../../node_modules/vfile/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Position} Position\n * @typedef {import('unist').Point} Point\n * @typedef {import('./minurl.shared.js').URL} URL\n * @typedef {import('../index.js').Data} Data\n * @typedef {import('../index.js').Value} Value\n */\n\n/**\n * @typedef {Record<string, unknown> & {type: string, position?: Position | undefined}} NodeLike\n *\n * @typedef {'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex'} BufferEncoding\n * Encodings supported by the buffer class.\n *\n * This is a copy of the types from Node, copied to prevent Node globals from\n * being needed.\n * Copied from: <https://github.com/DefinitelyTyped/DefinitelyTyped/blob/90a4ec8/types/node/buffer.d.ts#L170>\n *\n * @typedef {Options | URL | Value | VFile} Compatible\n * Things that can be passed to the constructor.\n *\n * @typedef VFileCoreOptions\n * Set multiple values.\n * @property {Value | null | undefined} [value]\n * Set `value`.\n * @property {string | null | undefined} [cwd]\n * Set `cwd`.\n * @property {Array<string> | null | undefined} [history]\n * Set `history`.\n * @property {URL | string | null | undefined} [path]\n * Set `path`.\n * @property {string | null | undefined} [basename]\n * Set `basename`.\n * @property {string | null | undefined} [stem]\n * Set `stem`.\n * @property {string | null | undefined} [extname]\n * Set `extname`.\n * @property {string | null | undefined} [dirname]\n * Set `dirname`.\n * @property {Data | null | undefined} [data]\n * Set `data`.\n *\n * @typedef Map\n * Raw source map.\n *\n * See:\n * <https://github.com/mozilla/source-map/blob/58819f0/source-map.d.ts#L15-L23>.\n * @property {number} version\n * Which version of the source map spec this map is following.\n * @property {Array<string>} sources\n * An array of URLs to the original source files.\n * @property {Array<string>} names\n * An array of identifiers which can be referenced by individual mappings.\n * @property {string | undefined} [sourceRoot]\n * The URL root from which all sources are relative.\n * @property {Array<string> | undefined} [sourcesContent]\n * An array of contents of the original source files.\n * @property {string} mappings\n * A string of base64 VLQs which contain the actual mappings.\n * @property {string} file\n * The generated file this source map is associated with.\n *\n * @typedef {{[key: string]: unknown} & VFileCoreOptions} Options\n * Configuration.\n *\n * A bunch of keys that will be shallow copied over to the new file.\n *\n * @typedef {Record<string, unknown>} ReporterSettings\n * Configuration for reporters.\n */\n\n/**\n * @template {ReporterSettings} Settings\n * Options type.\n * @callback Reporter\n * Type for a reporter.\n * @param {Array<VFile>} files\n * Files to report.\n * @param {Settings} options\n * Configuration.\n * @returns {string}\n * Report.\n */\n\nimport bufferLike from 'is-buffer'\nimport {VFileMessage} from 'vfile-message'\nimport {path} from './minpath.js'\nimport {proc} from './minproc.js'\nimport {urlToPath, isUrl} from './minurl.js'\n\n/**\n * Order of setting (least specific to most), we need this because otherwise\n * `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a\n * stem can be set.\n *\n * @type {Array<'basename' | 'dirname' | 'extname' | 'history' | 'path' | 'stem'>}\n */\nconst order = ['history', 'path', 'basename', 'stem', 'extname', 'dirname']\n\nexport class VFile {\n /**\n * Create a new virtual file.\n *\n * `options` is treated as:\n *\n * * `string` or `Buffer` — `{value: options}`\n * * `URL` — `{path: options}`\n * * `VFile` — shallow copies its data over to the new file\n * * `object` — all fields are shallow copied over to the new file\n *\n * Path related fields are set in the following order (least specific to\n * most specific): `history`, `path`, `basename`, `stem`, `extname`,\n * `dirname`.\n *\n * You cannot set `dirname` or `extname` without setting either `history`,\n * `path`, `basename`, or `stem` too.\n *\n * @param {Compatible | null | undefined} [value]\n * File value.\n * @returns\n * New instance.\n */\n constructor(value) {\n /** @type {Options | VFile} */\n let options\n\n if (!value) {\n options = {}\n } else if (typeof value === 'string' || buffer(value)) {\n options = {value}\n } else if (isUrl(value)) {\n options = {path: value}\n } else {\n options = value\n }\n\n /**\n * Place to store custom information (default: `{}`).\n *\n * It’s OK to store custom data directly on the file but moving it to\n * `data` is recommended.\n *\n * @type {Data}\n */\n this.data = {}\n\n /**\n * List of messages associated with the file.\n *\n * @type {Array<VFileMessage>}\n */\n this.messages = []\n\n /**\n * List of filepaths the file moved between.\n *\n * The first is the original path and the last is the current path.\n *\n * @type {Array<string>}\n */\n this.history = []\n\n /**\n * Base of `path` (default: `process.cwd()` or `'/'` in browsers).\n *\n * @type {string}\n */\n this.cwd = proc.cwd()\n\n /* eslint-disable no-unused-expressions */\n /**\n * Raw value.\n *\n * @type {Value}\n */\n this.value\n\n // The below are non-standard, they are “well-known”.\n // As in, used in several tools.\n\n /**\n * Whether a file was saved to disk.\n *\n * This is used by vfile reporters.\n *\n * @type {boolean}\n */\n this.stored\n\n /**\n * Custom, non-string, compiled, representation.\n *\n * This is used by unified to store non-string results.\n * One example is when turning markdown into React nodes.\n *\n * @type {unknown}\n */\n this.result\n\n /**\n * Source map.\n *\n * This type is equivalent to the `RawSourceMap` type from the `source-map`\n * module.\n *\n * @type {Map | null | undefined}\n */\n this.map\n /* eslint-enable no-unused-expressions */\n\n // Set path related properties in the correct order.\n let index = -1\n\n while (++index < order.length) {\n const prop = order[index]\n\n // Note: we specifically use `in` instead of `hasOwnProperty` to accept\n // `vfile`s too.\n if (\n prop in options &&\n options[prop] !== undefined &&\n options[prop] !== null\n ) {\n // @ts-expect-error: TS doesn’t understand basic reality.\n this[prop] = prop === 'history' ? [...options[prop]] : options[prop]\n }\n }\n\n /** @type {string} */\n let prop\n\n // Set non-path related properties.\n for (prop in options) {\n // @ts-expect-error: fine to set other things.\n if (!order.includes(prop)) {\n // @ts-expect-error: fine to set other things.\n this[prop] = options[prop]\n }\n }\n }\n\n /**\n * Get the full path (example: `'~/index.min.js'`).\n *\n * @returns {string}\n */\n get path() {\n return this.history[this.history.length - 1]\n }\n\n /**\n * Set the full path (example: `'~/index.min.js'`).\n *\n * Cannot be nullified.\n * You can set a file URL (a `URL` object with a `file:` protocol) which will\n * be turned into a path with `url.fileURLToPath`.\n *\n * @param {string | URL} path\n */\n set path(path) {\n if (isUrl(path)) {\n path = urlToPath(path)\n }\n\n assertNonEmpty(path, 'path')\n\n if (this.path !== path) {\n this.history.push(path)\n }\n }\n\n /**\n * Get the parent path (example: `'~'`).\n */\n get dirname() {\n return typeof this.path === 'string' ? path.dirname(this.path) : undefined\n }\n\n /**\n * Set the parent path (example: `'~'`).\n *\n * Cannot be set if there’s no `path` yet.\n */\n set dirname(dirname) {\n assertPath(this.basename, 'dirname')\n this.path = path.join(dirname || '', this.basename)\n }\n\n /**\n * Get the basename (including extname) (example: `'index.min.js'`).\n */\n get basename() {\n return typeof this.path === 'string' ? path.basename(this.path) : undefined\n }\n\n /**\n * Set basename (including extname) (`'index.min.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n */\n set basename(basename) {\n assertNonEmpty(basename, 'basename')\n assertPart(basename, 'basename')\n this.path = path.join(this.dirname || '', basename)\n }\n\n /**\n * Get the extname (including dot) (example: `'.js'`).\n */\n get extname() {\n return typeof this.path === 'string' ? path.extname(this.path) : undefined\n }\n\n /**\n * Set the extname (including dot) (example: `'.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be set if there’s no `path` yet.\n */\n set extname(extname) {\n assertPart(extname, 'extname')\n assertPath(this.dirname, 'extname')\n\n if (extname) {\n if (extname.charCodeAt(0) !== 46 /* `.` */) {\n throw new Error('`extname` must start with `.`')\n }\n\n if (extname.includes('.', 1)) {\n throw new Error('`extname` cannot contain multiple dots')\n }\n }\n\n this.path = path.join(this.dirname, this.stem + (extname || ''))\n }\n\n /**\n * Get the stem (basename w/o extname) (example: `'index.min'`).\n */\n get stem() {\n return typeof this.path === 'string'\n ? path.basename(this.path, this.extname)\n : undefined\n }\n\n /**\n * Set the stem (basename w/o extname) (example: `'index.min'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n */\n set stem(stem) {\n assertNonEmpty(stem, 'stem')\n assertPart(stem, 'stem')\n this.path = path.join(this.dirname || '', stem + (this.extname || ''))\n }\n\n /**\n * Serialize the file.\n *\n * @param {BufferEncoding | null | undefined} [encoding='utf8']\n * Character encoding to understand `value` as when it’s a `Buffer`\n * (default: `'utf8'`).\n * @returns {string}\n * Serialized file.\n */\n toString(encoding) {\n return (this.value || '').toString(encoding || undefined)\n }\n\n /**\n * Create a warning message associated with the file.\n *\n * Its `fatal` is set to `false` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n message(reason, place, origin) {\n const message = new VFileMessage(reason, place, origin)\n\n if (this.path) {\n message.name = this.path + ':' + message.name\n message.file = this.path\n }\n\n message.fatal = false\n\n this.messages.push(message)\n\n return message\n }\n\n /**\n * Create an info message associated with the file.\n *\n * Its `fatal` is set to `null` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n info(reason, place, origin) {\n const message = this.message(reason, place, origin)\n\n message.fatal = null\n\n return message\n }\n\n /**\n * Create a fatal error associated with the file.\n *\n * Its `fatal` is set to `true` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * > 👉 **Note**: a fatal error means that a file is no longer processable.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {never}\n * Message.\n * @throws {VFileMessage}\n * Message.\n */\n fail(reason, place, origin) {\n const message = this.message(reason, place, origin)\n\n message.fatal = true\n\n throw message\n }\n}\n\n/**\n * Assert that `part` is not a path (as in, does not contain `path.sep`).\n *\n * @param {string | null | undefined} part\n * File path part.\n * @param {string} name\n * Part name.\n * @returns {void}\n * Nothing.\n */\nfunction assertPart(part, name) {\n if (part && part.includes(path.sep)) {\n throw new Error(\n '`' + name + '` cannot be a path: did not expect `' + path.sep + '`'\n )\n }\n}\n\n/**\n * Assert that `part` is not empty.\n *\n * @param {string | undefined} part\n * Thing.\n * @param {string} name\n * Part name.\n * @returns {asserts part is string}\n * Nothing.\n */\nfunction assertNonEmpty(part, name) {\n if (!part) {\n throw new Error('`' + name + '` cannot be empty')\n }\n}\n\n/**\n * Assert `path` exists.\n *\n * @param {string | undefined} path\n * Path.\n * @param {string} name\n * Dependency name.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path, name) {\n if (!path) {\n throw new Error('Setting `' + name + '` requires `path` to be set too')\n }\n}\n\n/**\n * Assert `value` is a buffer.\n *\n * @param {unknown} value\n * thing.\n * @returns {value is Buffer}\n * Whether `value` is a Node.js buffer.\n */\nfunction buffer(value) {\n return bufferLike(value)\n}\n"],"names":["order","VFile","value","options","buffer","isUrl","proc","index","prop","path","urlToPath","assertNonEmpty","dirname","assertPath","basename","assertPart","extname","stem","encoding","reason","place","origin","message","VFileMessage","part","name","bufferLike"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../../node_modules/vfile/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Position} Position\n * @typedef {import('unist').Point} Point\n * @typedef {import('./minurl.shared.js').URL} URL\n * @typedef {import('../index.js').Data} Data\n * @typedef {import('../index.js').Value} Value\n */\n\n/**\n * @typedef {Record<string, unknown> & {type: string, position?: Position | undefined}} NodeLike\n *\n * @typedef {'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex'} BufferEncoding\n * Encodings supported by the buffer class.\n *\n * This is a copy of the types from Node, copied to prevent Node globals from\n * being needed.\n * Copied from: <https://github.com/DefinitelyTyped/DefinitelyTyped/blob/90a4ec8/types/node/buffer.d.ts#L170>\n *\n * @typedef {Options | URL | Value | VFile} Compatible\n * Things that can be passed to the constructor.\n *\n * @typedef VFileCoreOptions\n * Set multiple values.\n * @property {Value | null | undefined} [value]\n * Set `value`.\n * @property {string | null | undefined} [cwd]\n * Set `cwd`.\n * @property {Array<string> | null | undefined} [history]\n * Set `history`.\n * @property {URL | string | null | undefined} [path]\n * Set `path`.\n * @property {string | null | undefined} [basename]\n * Set `basename`.\n * @property {string | null | undefined} [stem]\n * Set `stem`.\n * @property {string | null | undefined} [extname]\n * Set `extname`.\n * @property {string | null | undefined} [dirname]\n * Set `dirname`.\n * @property {Data | null | undefined} [data]\n * Set `data`.\n *\n * @typedef Map\n * Raw source map.\n *\n * See:\n * <https://github.com/mozilla/source-map/blob/58819f0/source-map.d.ts#L15-L23>.\n * @property {number} version\n * Which version of the source map spec this map is following.\n * @property {Array<string>} sources\n * An array of URLs to the original source files.\n * @property {Array<string>} names\n * An array of identifiers which can be referenced by individual mappings.\n * @property {string | undefined} [sourceRoot]\n * The URL root from which all sources are relative.\n * @property {Array<string> | undefined} [sourcesContent]\n * An array of contents of the original source files.\n * @property {string} mappings\n * A string of base64 VLQs which contain the actual mappings.\n * @property {string} file\n * The generated file this source map is associated with.\n *\n * @typedef {{[key: string]: unknown} & VFileCoreOptions} Options\n * Configuration.\n *\n * A bunch of keys that will be shallow copied over to the new file.\n *\n * @typedef {Record<string, unknown>} ReporterSettings\n * Configuration for reporters.\n */\n\n/**\n * @template {ReporterSettings} Settings\n * Options type.\n * @callback Reporter\n * Type for a reporter.\n * @param {Array<VFile>} files\n * Files to report.\n * @param {Settings} options\n * Configuration.\n * @returns {string}\n * Report.\n */\n\nimport bufferLike from 'is-buffer'\nimport {VFileMessage} from 'vfile-message'\nimport {path} from './minpath.js'\nimport {proc} from './minproc.js'\nimport {urlToPath, isUrl} from './minurl.js'\n\n/**\n * Order of setting (least specific to most), we need this because otherwise\n * `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a\n * stem can be set.\n *\n * @type {Array<'basename' | 'dirname' | 'extname' | 'history' | 'path' | 'stem'>}\n */\nconst order = ['history', 'path', 'basename', 'stem', 'extname', 'dirname']\n\nexport class VFile {\n /**\n * Create a new virtual file.\n *\n * `options` is treated as:\n *\n * * `string` or `Buffer` — `{value: options}`\n * * `URL` — `{path: options}`\n * * `VFile` — shallow copies its data over to the new file\n * * `object` — all fields are shallow copied over to the new file\n *\n * Path related fields are set in the following order (least specific to\n * most specific): `history`, `path`, `basename`, `stem`, `extname`,\n * `dirname`.\n *\n * You cannot set `dirname` or `extname` without setting either `history`,\n * `path`, `basename`, or `stem` too.\n *\n * @param {Compatible | null | undefined} [value]\n * File value.\n * @returns\n * New instance.\n */\n constructor(value) {\n /** @type {Options | VFile} */\n let options\n\n if (!value) {\n options = {}\n } else if (typeof value === 'string' || buffer(value)) {\n options = {value}\n } else if (isUrl(value)) {\n options = {path: value}\n } else {\n options = value\n }\n\n /**\n * Place to store custom information (default: `{}`).\n *\n * It’s OK to store custom data directly on the file but moving it to\n * `data` is recommended.\n *\n * @type {Data}\n */\n this.data = {}\n\n /**\n * List of messages associated with the file.\n *\n * @type {Array<VFileMessage>}\n */\n this.messages = []\n\n /**\n * List of filepaths the file moved between.\n *\n * The first is the original path and the last is the current path.\n *\n * @type {Array<string>}\n */\n this.history = []\n\n /**\n * Base of `path` (default: `process.cwd()` or `'/'` in browsers).\n *\n * @type {string}\n */\n this.cwd = proc.cwd()\n\n /* eslint-disable no-unused-expressions */\n /**\n * Raw value.\n *\n * @type {Value}\n */\n this.value\n\n // The below are non-standard, they are “well-known”.\n // As in, used in several tools.\n\n /**\n * Whether a file was saved to disk.\n *\n * This is used by vfile reporters.\n *\n * @type {boolean}\n */\n this.stored\n\n /**\n * Custom, non-string, compiled, representation.\n *\n * This is used by unified to store non-string results.\n * One example is when turning markdown into React nodes.\n *\n * @type {unknown}\n */\n this.result\n\n /**\n * Source map.\n *\n * This type is equivalent to the `RawSourceMap` type from the `source-map`\n * module.\n *\n * @type {Map | null | undefined}\n */\n this.map\n /* eslint-enable no-unused-expressions */\n\n // Set path related properties in the correct order.\n let index = -1\n\n while (++index < order.length) {\n const prop = order[index]\n\n // Note: we specifically use `in` instead of `hasOwnProperty` to accept\n // `vfile`s too.\n if (\n prop in options &&\n options[prop] !== undefined &&\n options[prop] !== null\n ) {\n // @ts-expect-error: TS doesn’t understand basic reality.\n this[prop] = prop === 'history' ? [...options[prop]] : options[prop]\n }\n }\n\n /** @type {string} */\n let prop\n\n // Set non-path related properties.\n for (prop in options) {\n // @ts-expect-error: fine to set other things.\n if (!order.includes(prop)) {\n // @ts-expect-error: fine to set other things.\n this[prop] = options[prop]\n }\n }\n }\n\n /**\n * Get the full path (example: `'~/index.min.js'`).\n *\n * @returns {string}\n */\n get path() {\n return this.history[this.history.length - 1]\n }\n\n /**\n * Set the full path (example: `'~/index.min.js'`).\n *\n * Cannot be nullified.\n * You can set a file URL (a `URL` object with a `file:` protocol) which will\n * be turned into a path with `url.fileURLToPath`.\n *\n * @param {string | URL} path\n */\n set path(path) {\n if (isUrl(path)) {\n path = urlToPath(path)\n }\n\n assertNonEmpty(path, 'path')\n\n if (this.path !== path) {\n this.history.push(path)\n }\n }\n\n /**\n * Get the parent path (example: `'~'`).\n */\n get dirname() {\n return typeof this.path === 'string' ? path.dirname(this.path) : undefined\n }\n\n /**\n * Set the parent path (example: `'~'`).\n *\n * Cannot be set if there’s no `path` yet.\n */\n set dirname(dirname) {\n assertPath(this.basename, 'dirname')\n this.path = path.join(dirname || '', this.basename)\n }\n\n /**\n * Get the basename (including extname) (example: `'index.min.js'`).\n */\n get basename() {\n return typeof this.path === 'string' ? path.basename(this.path) : undefined\n }\n\n /**\n * Set basename (including extname) (`'index.min.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n */\n set basename(basename) {\n assertNonEmpty(basename, 'basename')\n assertPart(basename, 'basename')\n this.path = path.join(this.dirname || '', basename)\n }\n\n /**\n * Get the extname (including dot) (example: `'.js'`).\n */\n get extname() {\n return typeof this.path === 'string' ? path.extname(this.path) : undefined\n }\n\n /**\n * Set the extname (including dot) (example: `'.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be set if there’s no `path` yet.\n */\n set extname(extname) {\n assertPart(extname, 'extname')\n assertPath(this.dirname, 'extname')\n\n if (extname) {\n if (extname.charCodeAt(0) !== 46 /* `.` */) {\n throw new Error('`extname` must start with `.`')\n }\n\n if (extname.includes('.', 1)) {\n throw new Error('`extname` cannot contain multiple dots')\n }\n }\n\n this.path = path.join(this.dirname, this.stem + (extname || ''))\n }\n\n /**\n * Get the stem (basename w/o extname) (example: `'index.min'`).\n */\n get stem() {\n return typeof this.path === 'string'\n ? path.basename(this.path, this.extname)\n : undefined\n }\n\n /**\n * Set the stem (basename w/o extname) (example: `'index.min'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n */\n set stem(stem) {\n assertNonEmpty(stem, 'stem')\n assertPart(stem, 'stem')\n this.path = path.join(this.dirname || '', stem + (this.extname || ''))\n }\n\n /**\n * Serialize the file.\n *\n * @param {BufferEncoding | null | undefined} [encoding='utf8']\n * Character encoding to understand `value` as when it’s a `Buffer`\n * (default: `'utf8'`).\n * @returns {string}\n * Serialized file.\n */\n toString(encoding) {\n return (this.value || '').toString(encoding || undefined)\n }\n\n /**\n * Create a warning message associated with the file.\n *\n * Its `fatal` is set to `false` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n message(reason, place, origin) {\n const message = new VFileMessage(reason, place, origin)\n\n if (this.path) {\n message.name = this.path + ':' + message.name\n message.file = this.path\n }\n\n message.fatal = false\n\n this.messages.push(message)\n\n return message\n }\n\n /**\n * Create an info message associated with the file.\n *\n * Its `fatal` is set to `null` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n info(reason, place, origin) {\n const message = this.message(reason, place, origin)\n\n message.fatal = null\n\n return message\n }\n\n /**\n * Create a fatal error associated with the file.\n *\n * Its `fatal` is set to `true` and `file` is set to the current file path.\n * Its added to `file.messages`.\n *\n * > 👉 **Note**: a fatal error means that a file is no longer processable.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {never}\n * Message.\n * @throws {VFileMessage}\n * Message.\n */\n fail(reason, place, origin) {\n const message = this.message(reason, place, origin)\n\n message.fatal = true\n\n throw message\n }\n}\n\n/**\n * Assert that `part` is not a path (as in, does not contain `path.sep`).\n *\n * @param {string | null | undefined} part\n * File path part.\n * @param {string} name\n * Part name.\n * @returns {void}\n * Nothing.\n */\nfunction assertPart(part, name) {\n if (part && part.includes(path.sep)) {\n throw new Error(\n '`' + name + '` cannot be a path: did not expect `' + path.sep + '`'\n )\n }\n}\n\n/**\n * Assert that `part` is not empty.\n *\n * @param {string | undefined} part\n * Thing.\n * @param {string} name\n * Part name.\n * @returns {asserts part is string}\n * Nothing.\n */\nfunction assertNonEmpty(part, name) {\n if (!part) {\n throw new Error('`' + name + '` cannot be empty')\n }\n}\n\n/**\n * Assert `path` exists.\n *\n * @param {string | undefined} path\n * Path.\n * @param {string} name\n * Dependency name.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path, name) {\n if (!path) {\n throw new Error('Setting `' + name + '` requires `path` to be set too')\n }\n}\n\n/**\n * Assert `value` is a buffer.\n *\n * @param {unknown} value\n * thing.\n * @returns {value is Buffer}\n * Whether `value` is a Node.js buffer.\n */\nfunction buffer(value) {\n return bufferLike(value)\n}\n"],"names":["order","VFile","value","options","buffer","isUrl","proc","index","prop","path","urlToPath","assertNonEmpty","dirname","assertPath","basename","assertPart","extname","stem","encoding","reason","place","origin","message","VFileMessage","part","name","bufferLike"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minpath.browser.cjs.js","sources":["../../../../../node_modules/vfile/lib/minpath.browser.js"],"sourcesContent":["// A derivative work based on:\n// <https://github.com/browserify/path-browserify>.\n// Which is licensed:\n//\n// MIT License\n//\n// Copyright (c) 2013 James Halliday\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy of\n// this software and associated documentation files (the \"Software\"), to deal in\n// the Software without restriction, including without limitation the rights to\n// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n// the Software, and to permit persons to whom the Software is furnished to do so,\n// subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A derivative work based on:\n//\n// Parts of that are extracted from Node’s internal `path` module:\n// <https://github.com/nodejs/node/blob/master/lib/path.js>.\n// Which is licensed:\n//\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nexport const path = {basename, dirname, extname, join, sep: '/'}\n\n/* eslint-disable max-depth, complexity */\n\n/**\n * Get the basename from a path.\n *\n * @param {string} path\n * File path.\n * @param {string | undefined} [ext]\n * Extension to strip.\n * @returns {string}\n * Stem or basename.\n */\nfunction basename(path, ext) {\n if (ext !== undefined && typeof ext !== 'string') {\n throw new TypeError('\"ext\" argument must be a string')\n }\n\n assertPath(path)\n let start = 0\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let seenNonSlash\n\n if (ext === undefined || ext.length === 0 || ext.length > path.length) {\n while (index--) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // path component.\n seenNonSlash = true\n end = index + 1\n }\n }\n\n return end < 0 ? '' : path.slice(start, end)\n }\n\n if (ext === path) {\n return ''\n }\n\n let firstNonSlashEnd = -1\n let extIndex = ext.length - 1\n\n while (index--) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else {\n if (firstNonSlashEnd < 0) {\n // We saw the first non-path separator, remember this index in case\n // we need it if the extension ends up not matching.\n seenNonSlash = true\n firstNonSlashEnd = index + 1\n }\n\n if (extIndex > -1) {\n // Try to match the explicit extension.\n if (path.charCodeAt(index) === ext.charCodeAt(extIndex--)) {\n if (extIndex < 0) {\n // We matched the extension, so mark this as the end of our path\n // component\n end = index\n }\n } else {\n // Extension does not match, so our result is the entire path\n // component\n extIndex = -1\n end = firstNonSlashEnd\n }\n }\n }\n }\n\n if (start === end) {\n end = firstNonSlashEnd\n } else if (end < 0) {\n end = path.length\n }\n\n return path.slice(start, end)\n}\n\n/**\n * Get the dirname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\nfunction dirname(path) {\n assertPath(path)\n\n if (path.length === 0) {\n return '.'\n }\n\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n // Prefix `--` is important to not run on `0`.\n while (--index) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n if (unmatchedSlash) {\n end = index\n break\n }\n } else if (!unmatchedSlash) {\n // We saw the first non-path separator\n unmatchedSlash = true\n }\n }\n\n return end < 0\n ? path.charCodeAt(0) === 47 /* `/` */\n ? '/'\n : '.'\n : end === 1 && path.charCodeAt(0) === 47 /* `/` */\n ? '//'\n : path.slice(0, end)\n}\n\n/**\n * Get an extname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * Extname.\n */\nfunction extname(path) {\n assertPath(path)\n\n let index = path.length\n\n let end = -1\n let startPart = 0\n let startDot = -1\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find.\n let preDotState = 0\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n while (index--) {\n const code = path.charCodeAt(index)\n\n if (code === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (unmatchedSlash) {\n startPart = index + 1\n break\n }\n\n continue\n }\n\n if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // extension.\n unmatchedSlash = true\n end = index + 1\n }\n\n if (code === 46 /* `.` */) {\n // If this is our first dot, mark it as the start of our extension.\n if (startDot < 0) {\n startDot = index\n } else if (preDotState !== 1) {\n preDotState = 1\n }\n } else if (startDot > -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension.\n preDotState = -1\n }\n }\n\n if (\n startDot < 0 ||\n end < 0 ||\n // We saw a non-dot character immediately before the dot.\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly `..`.\n (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)\n ) {\n return ''\n }\n\n return path.slice(startDot, end)\n}\n\n/**\n * Join segments from a path.\n *\n * @param {Array<string>} segments\n * Path segments.\n * @returns {string}\n * File path.\n */\nfunction join(...segments) {\n let index = -1\n /** @type {string | undefined} */\n let joined\n\n while (++index < segments.length) {\n assertPath(segments[index])\n\n if (segments[index]) {\n joined =\n joined === undefined ? segments[index] : joined + '/' + segments[index]\n }\n }\n\n return joined === undefined ? '.' : normalize(joined)\n}\n\n/**\n * Normalize a basic file path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\n// Note: `normalize` is not exposed as `path.normalize`, so some code is\n// manually removed from it.\nfunction normalize(path) {\n assertPath(path)\n\n const absolute = path.charCodeAt(0) === 47 /* `/` */\n\n // Normalize the path according to POSIX rules.\n let value = normalizeString(path, !absolute)\n\n if (value.length === 0 && !absolute) {\n value = '.'\n }\n\n if (value.length > 0 && path.charCodeAt(path.length - 1) === 47 /* / */) {\n value += '/'\n }\n\n return absolute ? '/' + value : value\n}\n\n/**\n * Resolve `.` and `..` elements in a path with directory names.\n *\n * @param {string} path\n * File path.\n * @param {boolean} allowAboveRoot\n * Whether `..` can move above root.\n * @returns {string}\n * File path.\n */\nfunction normalizeString(path, allowAboveRoot) {\n let result = ''\n let lastSegmentLength = 0\n let lastSlash = -1\n let dots = 0\n let index = -1\n /** @type {number | undefined} */\n let code\n /** @type {number} */\n let lastSlashIndex\n\n while (++index <= path.length) {\n if (index < path.length) {\n code = path.charCodeAt(index)\n } else if (code === 47 /* `/` */) {\n break\n } else {\n code = 47 /* `/` */\n }\n\n if (code === 47 /* `/` */) {\n if (lastSlash === index - 1 || dots === 1) {\n // Empty.\n } else if (lastSlash !== index - 1 && dots === 2) {\n if (\n result.length < 2 ||\n lastSegmentLength !== 2 ||\n result.charCodeAt(result.length - 1) !== 46 /* `.` */ ||\n result.charCodeAt(result.length - 2) !== 46 /* `.` */\n ) {\n if (result.length > 2) {\n lastSlashIndex = result.lastIndexOf('/')\n\n if (lastSlashIndex !== result.length - 1) {\n if (lastSlashIndex < 0) {\n result = ''\n lastSegmentLength = 0\n } else {\n result = result.slice(0, lastSlashIndex)\n lastSegmentLength = result.length - 1 - result.lastIndexOf('/')\n }\n\n lastSlash = index\n dots = 0\n continue\n }\n } else if (result.length > 0) {\n result = ''\n lastSegmentLength = 0\n lastSlash = index\n dots = 0\n continue\n }\n }\n\n if (allowAboveRoot) {\n result = result.length > 0 ? result + '/..' : '..'\n lastSegmentLength = 2\n }\n } else {\n if (result.length > 0) {\n result += '/' + path.slice(lastSlash + 1, index)\n } else {\n result = path.slice(lastSlash + 1, index)\n }\n\n lastSegmentLength = index - lastSlash - 1\n }\n\n lastSlash = index\n dots = 0\n } else if (code === 46 /* `.` */ && dots > -1) {\n dots++\n } else {\n dots = -1\n }\n }\n\n return result\n}\n\n/**\n * Make sure `path` is a string.\n *\n * @param {string} path\n * File path.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path) {\n if (typeof path !== 'string') {\n throw new TypeError(\n 'Path must be a string. Received ' + JSON.stringify(path)\n )\n }\n}\n\n/* eslint-enable max-depth, complexity */\n"],"names":["path","basename","dirname","extname","join","ext","assertPath","start","end","index","seenNonSlash","firstNonSlashEnd","extIndex","unmatchedSlash","startPart","startDot","preDotState","code","segments","joined","normalize","absolute","value","normalizeString","allowAboveRoot","result","lastSegmentLength","lastSlash","dots","lastSlashIndex"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minpath.browser.es.js","sources":["../../../../../node_modules/vfile/lib/minpath.browser.js"],"sourcesContent":["// A derivative work based on:\n// <https://github.com/browserify/path-browserify>.\n// Which is licensed:\n//\n// MIT License\n//\n// Copyright (c) 2013 James Halliday\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy of\n// this software and associated documentation files (the \"Software\"), to deal in\n// the Software without restriction, including without limitation the rights to\n// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n// the Software, and to permit persons to whom the Software is furnished to do so,\n// subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A derivative work based on:\n//\n// Parts of that are extracted from Node’s internal `path` module:\n// <https://github.com/nodejs/node/blob/master/lib/path.js>.\n// Which is licensed:\n//\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nexport const path = {basename, dirname, extname, join, sep: '/'}\n\n/* eslint-disable max-depth, complexity */\n\n/**\n * Get the basename from a path.\n *\n * @param {string} path\n * File path.\n * @param {string | undefined} [ext]\n * Extension to strip.\n * @returns {string}\n * Stem or basename.\n */\nfunction basename(path, ext) {\n if (ext !== undefined && typeof ext !== 'string') {\n throw new TypeError('\"ext\" argument must be a string')\n }\n\n assertPath(path)\n let start = 0\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let seenNonSlash\n\n if (ext === undefined || ext.length === 0 || ext.length > path.length) {\n while (index--) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // path component.\n seenNonSlash = true\n end = index + 1\n }\n }\n\n return end < 0 ? '' : path.slice(start, end)\n }\n\n if (ext === path) {\n return ''\n }\n\n let firstNonSlashEnd = -1\n let extIndex = ext.length - 1\n\n while (index--) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else {\n if (firstNonSlashEnd < 0) {\n // We saw the first non-path separator, remember this index in case\n // we need it if the extension ends up not matching.\n seenNonSlash = true\n firstNonSlashEnd = index + 1\n }\n\n if (extIndex > -1) {\n // Try to match the explicit extension.\n if (path.charCodeAt(index) === ext.charCodeAt(extIndex--)) {\n if (extIndex < 0) {\n // We matched the extension, so mark this as the end of our path\n // component\n end = index\n }\n } else {\n // Extension does not match, so our result is the entire path\n // component\n extIndex = -1\n end = firstNonSlashEnd\n }\n }\n }\n }\n\n if (start === end) {\n end = firstNonSlashEnd\n } else if (end < 0) {\n end = path.length\n }\n\n return path.slice(start, end)\n}\n\n/**\n * Get the dirname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\nfunction dirname(path) {\n assertPath(path)\n\n if (path.length === 0) {\n return '.'\n }\n\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n // Prefix `--` is important to not run on `0`.\n while (--index) {\n if (path.charCodeAt(index) === 47 /* `/` */) {\n if (unmatchedSlash) {\n end = index\n break\n }\n } else if (!unmatchedSlash) {\n // We saw the first non-path separator\n unmatchedSlash = true\n }\n }\n\n return end < 0\n ? path.charCodeAt(0) === 47 /* `/` */\n ? '/'\n : '.'\n : end === 1 && path.charCodeAt(0) === 47 /* `/` */\n ? '//'\n : path.slice(0, end)\n}\n\n/**\n * Get an extname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * Extname.\n */\nfunction extname(path) {\n assertPath(path)\n\n let index = path.length\n\n let end = -1\n let startPart = 0\n let startDot = -1\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find.\n let preDotState = 0\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n while (index--) {\n const code = path.charCodeAt(index)\n\n if (code === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (unmatchedSlash) {\n startPart = index + 1\n break\n }\n\n continue\n }\n\n if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // extension.\n unmatchedSlash = true\n end = index + 1\n }\n\n if (code === 46 /* `.` */) {\n // If this is our first dot, mark it as the start of our extension.\n if (startDot < 0) {\n startDot = index\n } else if (preDotState !== 1) {\n preDotState = 1\n }\n } else if (startDot > -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension.\n preDotState = -1\n }\n }\n\n if (\n startDot < 0 ||\n end < 0 ||\n // We saw a non-dot character immediately before the dot.\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly `..`.\n (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)\n ) {\n return ''\n }\n\n return path.slice(startDot, end)\n}\n\n/**\n * Join segments from a path.\n *\n * @param {Array<string>} segments\n * Path segments.\n * @returns {string}\n * File path.\n */\nfunction join(...segments) {\n let index = -1\n /** @type {string | undefined} */\n let joined\n\n while (++index < segments.length) {\n assertPath(segments[index])\n\n if (segments[index]) {\n joined =\n joined === undefined ? segments[index] : joined + '/' + segments[index]\n }\n }\n\n return joined === undefined ? '.' : normalize(joined)\n}\n\n/**\n * Normalize a basic file path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\n// Note: `normalize` is not exposed as `path.normalize`, so some code is\n// manually removed from it.\nfunction normalize(path) {\n assertPath(path)\n\n const absolute = path.charCodeAt(0) === 47 /* `/` */\n\n // Normalize the path according to POSIX rules.\n let value = normalizeString(path, !absolute)\n\n if (value.length === 0 && !absolute) {\n value = '.'\n }\n\n if (value.length > 0 && path.charCodeAt(path.length - 1) === 47 /* / */) {\n value += '/'\n }\n\n return absolute ? '/' + value : value\n}\n\n/**\n * Resolve `.` and `..` elements in a path with directory names.\n *\n * @param {string} path\n * File path.\n * @param {boolean} allowAboveRoot\n * Whether `..` can move above root.\n * @returns {string}\n * File path.\n */\nfunction normalizeString(path, allowAboveRoot) {\n let result = ''\n let lastSegmentLength = 0\n let lastSlash = -1\n let dots = 0\n let index = -1\n /** @type {number | undefined} */\n let code\n /** @type {number} */\n let lastSlashIndex\n\n while (++index <= path.length) {\n if (index < path.length) {\n code = path.charCodeAt(index)\n } else if (code === 47 /* `/` */) {\n break\n } else {\n code = 47 /* `/` */\n }\n\n if (code === 47 /* `/` */) {\n if (lastSlash === index - 1 || dots === 1) {\n // Empty.\n } else if (lastSlash !== index - 1 && dots === 2) {\n if (\n result.length < 2 ||\n lastSegmentLength !== 2 ||\n result.charCodeAt(result.length - 1) !== 46 /* `.` */ ||\n result.charCodeAt(result.length - 2) !== 46 /* `.` */\n ) {\n if (result.length > 2) {\n lastSlashIndex = result.lastIndexOf('/')\n\n if (lastSlashIndex !== result.length - 1) {\n if (lastSlashIndex < 0) {\n result = ''\n lastSegmentLength = 0\n } else {\n result = result.slice(0, lastSlashIndex)\n lastSegmentLength = result.length - 1 - result.lastIndexOf('/')\n }\n\n lastSlash = index\n dots = 0\n continue\n }\n } else if (result.length > 0) {\n result = ''\n lastSegmentLength = 0\n lastSlash = index\n dots = 0\n continue\n }\n }\n\n if (allowAboveRoot) {\n result = result.length > 0 ? result + '/..' : '..'\n lastSegmentLength = 2\n }\n } else {\n if (result.length > 0) {\n result += '/' + path.slice(lastSlash + 1, index)\n } else {\n result = path.slice(lastSlash + 1, index)\n }\n\n lastSegmentLength = index - lastSlash - 1\n }\n\n lastSlash = index\n dots = 0\n } else if (code === 46 /* `.` */ && dots > -1) {\n dots++\n } else {\n dots = -1\n }\n }\n\n return result\n}\n\n/**\n * Make sure `path` is a string.\n *\n * @param {string} path\n * File path.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path) {\n if (typeof path !== 'string') {\n throw new TypeError(\n 'Path must be a string. Received ' + JSON.stringify(path)\n )\n }\n}\n\n/* eslint-enable max-depth, complexity */\n"],"names":["path","basename","dirname","extname","join","ext","assertPath","start","end","index","seenNonSlash","firstNonSlashEnd","extIndex","unmatchedSlash","startPart","startDot","preDotState","code","segments","joined","normalize","absolute","value","normalizeString","allowAboveRoot","result","lastSegmentLength","lastSlash","dots","lastSlashIndex"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minproc.browser.cjs.js","sources":["../../../../../node_modules/vfile/lib/minproc.browser.js"],"sourcesContent":["// Somewhat based on:\n// <https://github.com/defunctzombie/node-process/blob/master/browser.js>.\n// But I don’t think one tiny line of code can be copyrighted. 😅\nexport const proc = {cwd}\n\nfunction cwd() {\n return '/'\n}\n"],"names":["proc","cwd"],"mappings":"gFAGY,MAACA,EAAO,CAAC,IAAAC,CAAG,EAExB,SAASA,GAAM,CACb,MAAO,GACT","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minproc.browser.es.js","sources":["../../../../../node_modules/vfile/lib/minproc.browser.js"],"sourcesContent":["// Somewhat based on:\n// <https://github.com/defunctzombie/node-process/blob/master/browser.js>.\n// But I don’t think one tiny line of code can be copyrighted. 😅\nexport const proc = {cwd}\n\nfunction cwd() {\n return '/'\n}\n"],"names":["proc","cwd"],"mappings":"AAGY,MAACA,IAAO,EAAC,KAAAC,EAAG;AAExB,SAASA,IAAM;AACb,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minurl.browser.cjs.js","sources":["../../../../../node_modules/vfile/lib/minurl.browser.js"],"sourcesContent":["/// <reference lib=\"dom\" />\n\nimport {isUrl} from './minurl.shared.js'\n\n// See: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js>\n\n/**\n * @param {string | URL} path\n * File URL.\n * @returns {string}\n * File URL.\n */\nexport function urlToPath(path) {\n if (typeof path === 'string') {\n path = new URL(path)\n } else if (!isUrl(path)) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'The \"path\" argument must be of type string or an instance of URL. Received `' +\n path +\n '`'\n )\n error.code = 'ERR_INVALID_ARG_TYPE'\n throw error\n }\n\n if (path.protocol !== 'file:') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError('The URL must be of scheme file')\n error.code = 'ERR_INVALID_URL_SCHEME'\n throw error\n }\n\n return getPathFromURLPosix(path)\n}\n\n/**\n * Get a path from a POSIX URL.\n *\n * @param {URL} url\n * URL.\n * @returns {string}\n * File path.\n */\nfunction getPathFromURLPosix(url) {\n if (url.hostname !== '') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL host must be \"localhost\" or empty on darwin'\n )\n error.code = 'ERR_INVALID_FILE_URL_HOST'\n throw error\n }\n\n const pathname = url.pathname\n let index = -1\n\n while (++index < pathname.length) {\n if (\n pathname.charCodeAt(index) === 37 /* `%` */ &&\n pathname.charCodeAt(index + 1) === 50 /* `2` */\n ) {\n const third = pathname.charCodeAt(index + 2)\n if (third === 70 /* `F` */ || third === 102 /* `f` */) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL path must not include encoded / characters'\n )\n error.code = 'ERR_INVALID_FILE_URL_PATH'\n throw error\n }\n }\n }\n\n return decodeURIComponent(pathname)\n}\n\nexport {isUrl} from './minurl.shared.js'\n"],"names":["urlToPath","path","isUrl","error","getPathFromURLPosix","url","pathname","index","third"],"mappings":"0HAYO,SAASA,EAAUC,EAAM,CAC9B,GAAI,OAAOA,GAAS,SAClBA,EAAO,IAAI,IAAIA,CAAI,UACV,CAACC,QAAMD,CAAI,EAAG,CAEvB,MAAME,EAAQ,IAAI,UAChB,+EACEF,EACA,GACR,EACI,MAAAE,EAAM,KAAO,uBACPA,CACV,CAEE,GAAIF,EAAK,WAAa,QAAS,CAE7B,MAAME,EAAQ,IAAI,UAAU,gCAAgC,EAC5D,MAAAA,EAAM,KAAO,yBACPA,CACV,CAEE,OAAOC,EAAoBH,CAAI,CACjC,CAUA,SAASG,EAAoBC,EAAK,CAChC,GAAIA,EAAI,WAAa,GAAI,CAEvB,MAAMF,EAAQ,IAAI,UAChB,sDACN,EACI,MAAAA,EAAM,KAAO,4BACPA,CACV,CAEE,MAAMG,EAAWD,EAAI,SACrB,IAAIE,EAAQ,GAEZ,KAAO,EAAEA,EAAQD,EAAS,QACxB,GACEA,EAAS,WAAWC,CAAK,IAAM,IAC/BD,EAAS,WAAWC,EAAQ,CAAC,IAAM,GACnC,CACA,MAAMC,EAAQF,EAAS,WAAWC,EAAQ,CAAC,EAC3C,GAAIC,IAAU,IAAgBA,IAAU,IAAe,CAErD,MAAML,EAAQ,IAAI,UAChB,qDACV,EACQ,MAAAA,EAAM,KAAO,4BACPA,CACd,CACA,CAGE,OAAO,mBAAmBG,CAAQ,CACpC","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minurl.browser.es.js","sources":["../../../../../node_modules/vfile/lib/minurl.browser.js"],"sourcesContent":["/// <reference lib=\"dom\" />\n\nimport {isUrl} from './minurl.shared.js'\n\n// See: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js>\n\n/**\n * @param {string | URL} path\n * File URL.\n * @returns {string}\n * File URL.\n */\nexport function urlToPath(path) {\n if (typeof path === 'string') {\n path = new URL(path)\n } else if (!isUrl(path)) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'The \"path\" argument must be of type string or an instance of URL. Received `' +\n path +\n '`'\n )\n error.code = 'ERR_INVALID_ARG_TYPE'\n throw error\n }\n\n if (path.protocol !== 'file:') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError('The URL must be of scheme file')\n error.code = 'ERR_INVALID_URL_SCHEME'\n throw error\n }\n\n return getPathFromURLPosix(path)\n}\n\n/**\n * Get a path from a POSIX URL.\n *\n * @param {URL} url\n * URL.\n * @returns {string}\n * File path.\n */\nfunction getPathFromURLPosix(url) {\n if (url.hostname !== '') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL host must be \"localhost\" or empty on darwin'\n )\n error.code = 'ERR_INVALID_FILE_URL_HOST'\n throw error\n }\n\n const pathname = url.pathname\n let index = -1\n\n while (++index < pathname.length) {\n if (\n pathname.charCodeAt(index) === 37 /* `%` */ &&\n pathname.charCodeAt(index + 1) === 50 /* `2` */\n ) {\n const third = pathname.charCodeAt(index + 2)\n if (third === 70 /* `F` */ || third === 102 /* `f` */) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL path must not include encoded / characters'\n )\n error.code = 'ERR_INVALID_FILE_URL_PATH'\n throw error\n }\n }\n }\n\n return decodeURIComponent(pathname)\n}\n\nexport {isUrl} from './minurl.shared.js'\n"],"names":["urlToPath","path","isUrl","error","getPathFromURLPosix","url","pathname","index","third"],"mappings":";AAYO,SAASA,EAAUC,GAAM;AAC9B,MAAI,OAAOA,KAAS;AAClB,IAAAA,IAAO,IAAI,IAAIA,CAAI;AAAA,WACV,CAACC,EAAMD,CAAI,GAAG;AAEvB,UAAME,IAAQ,IAAI;AAAA,MAChB,iFACEF,IACA;AAAA,IACR;AACI,UAAAE,EAAM,OAAO,wBACPA;AAAA,EACV;AAEE,MAAIF,EAAK,aAAa,SAAS;AAE7B,UAAME,IAAQ,IAAI,UAAU,gCAAgC;AAC5D,UAAAA,EAAM,OAAO,0BACPA;AAAA,EACV;AAEE,SAAOC,EAAoBH,CAAI;AACjC;AAUA,SAASG,EAAoBC,GAAK;AAChC,MAAIA,EAAI,aAAa,IAAI;AAEvB,UAAMF,IAAQ,IAAI;AAAA,MAChB;AAAA,IACN;AACI,UAAAA,EAAM,OAAO,6BACPA;AAAA,EACV;AAEE,QAAMG,IAAWD,EAAI;AACrB,MAAIE,IAAQ;AAEZ,SAAO,EAAEA,IAAQD,EAAS;AACxB,QACEA,EAAS,WAAWC,CAAK,MAAM,MAC/BD,EAAS,WAAWC,IAAQ,CAAC,MAAM,IACnC;AACA,YAAMC,IAAQF,EAAS,WAAWC,IAAQ,CAAC;AAC3C,UAAIC,MAAU,MAAgBA,MAAU,KAAe;AAErD,cAAML,IAAQ,IAAI;AAAA,UAChB;AAAA,QACV;AACQ,cAAAA,EAAM,OAAO,6BACPA;AAAA,MACd;AAAA,IACA;AAGE,SAAO,mBAAmBG,CAAQ;AACpC;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minurl.shared.cjs.js","sources":["../../../../../node_modules/vfile/lib/minurl.shared.js"],"sourcesContent":["/**\n * @typedef URL\n * @property {string} hash\n * @property {string} host\n * @property {string} hostname\n * @property {string} href\n * @property {string} origin\n * @property {string} password\n * @property {string} pathname\n * @property {string} port\n * @property {string} protocol\n * @property {string} search\n * @property {any} searchParams\n * @property {string} username\n * @property {() => string} toString\n * @property {() => string} toJSON\n */\n\n/**\n * Check if `fileUrlOrPath` looks like a URL.\n *\n * @param {unknown} fileUrlOrPath\n * File path or URL.\n * @returns {fileUrlOrPath is URL}\n * Whether it’s a URL.\n */\n// From: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js#L1501>\nexport function isUrl(fileUrlOrPath) {\n return (\n fileUrlOrPath !== null &&\n typeof fileUrlOrPath === 'object' &&\n // @ts-expect-error: indexable.\n fileUrlOrPath.href &&\n // @ts-expect-error: indexable.\n fileUrlOrPath.origin\n )\n}\n"],"names":["isUrl","fileUrlOrPath"],"mappings":"gFA2BO,SAASA,EAAMC,EAAe,CACnC,OACEA,IAAkB,MAClB,OAAOA,GAAkB,UAEzBA,EAAc,MAEdA,EAAc,MAElB","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"minurl.shared.es.js","sources":["../../../../../node_modules/vfile/lib/minurl.shared.js"],"sourcesContent":["/**\n * @typedef URL\n * @property {string} hash\n * @property {string} host\n * @property {string} hostname\n * @property {string} href\n * @property {string} origin\n * @property {string} password\n * @property {string} pathname\n * @property {string} port\n * @property {string} protocol\n * @property {string} search\n * @property {any} searchParams\n * @property {string} username\n * @property {() => string} toString\n * @property {() => string} toJSON\n */\n\n/**\n * Check if `fileUrlOrPath` looks like a URL.\n *\n * @param {unknown} fileUrlOrPath\n * File path or URL.\n * @returns {fileUrlOrPath is URL}\n * Whether it’s a URL.\n */\n// From: <https://github.com/nodejs/node/blob/fcf8ba4/lib/internal/url.js#L1501>\nexport function isUrl(fileUrlOrPath) {\n return (\n fileUrlOrPath !== null &&\n typeof fileUrlOrPath === 'object' &&\n // @ts-expect-error: indexable.\n fileUrlOrPath.href &&\n // @ts-expect-error: indexable.\n fileUrlOrPath.origin\n )\n}\n"],"names":["isUrl","fileUrlOrPath"],"mappings":"AA2BO,SAASA,EAAMC,GAAe;AACnC,SACEA,MAAkB,QAClB,OAAOA,KAAkB;AAAA,EAEzBA,EAAc;AAAA,EAEdA,EAAc;AAElB;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/vfile/node_modules/unist-util-stringify-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Serialize the positional info of a point, position (start and end points),\n * or node.\n *\n * @param {Node | NodeLike | Position | PositionLike | Point | PointLike | null | undefined} [value]\n * Node, position, or point.\n * @returns {string}\n * Pretty printed positional info of a node (`string`).\n *\n * In the format of a range `ls:cs-le:ce` (when given `node` or `position`)\n * or a point `l:c` (when given `point`), where `l` stands for line, `c` for\n * column, `s` for `start`, and `e` for end.\n * An empty string (`''`) is returned if the given value is neither `node`,\n * `position`, nor `point`.\n */\nexport function stringifyPosition(value) {\n // Nothing.\n if (!value || typeof value !== 'object') {\n return ''\n }\n\n // Node.\n if ('position' in value || 'type' in value) {\n return position(value.position)\n }\n\n // Position.\n if ('start' in value || 'end' in value) {\n return position(value)\n }\n\n // Point.\n if ('line' in value || 'column' in value) {\n return point(value)\n }\n\n // ?\n return ''\n}\n\n/**\n * @param {Point | PointLike | null | undefined} point\n * @returns {string}\n */\nfunction point(point) {\n return index(point && point.line) + ':' + index(point && point.column)\n}\n\n/**\n * @param {Position | PositionLike | null | undefined} pos\n * @returns {string}\n */\nfunction position(pos) {\n return point(pos && pos.start) + '-' + point(pos && pos.end)\n}\n\n/**\n * @param {number | null | undefined} value\n * @returns {number}\n */\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n"],"names":["stringifyPosition","value","position","point","index","pos"],"mappings":"AAoCO,SAASA,EAAkBC,GAAO;AAEvC,SAAI,CAACA,KAAS,OAAOA,KAAU,WACtB,KAIL,cAAcA,KAAS,UAAUA,IAC5BC,EAASD,EAAM,QAAQ,IAI5B,WAAWA,KAAS,SAASA,IACxBC,EAASD,CAAK,IAInB,UAAUA,KAAS,YAAYA,IAC1BE,EAAMF,CAAK,IAIb;AACT;AAMA,SAASE,EAAMA,GAAO;AACpB,SAAOC,EAAMD,KAASA,EAAM,IAAI,IAAI,MAAMC,EAAMD,KAASA,EAAM,MAAM;AACvE;AAMA,SAASD,EAASG,GAAK;AACrB,SAAOF,EAAME,KAAOA,EAAI,KAAK,IAAI,MAAMF,EAAME,KAAOA,EAAI,GAAG;AAC7D;AAMA,SAASD,EAAMH,GAAO;AACpB,SAAOA,KAAS,OAAOA,KAAU,WAAWA,IAAQ;AACtD;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/vfile/node_modules/vfile-message/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Position} Position\n * @typedef {import('unist').Point} Point\n * @typedef {object & {type: string, position?: Position | undefined}} NodeLike\n */\n\nimport {stringifyPosition} from 'unist-util-stringify-position'\n\n/**\n * Message.\n */\nexport class VFileMessage extends Error {\n /**\n * Create a message for `reason` at `place` from `origin`.\n *\n * When an error is passed in as `reason`, the `stack` is copied.\n *\n * @param {string | Error | VFileMessage} reason\n * Reason for message, uses the stack and message of the error if given.\n *\n * > 👉 **Note**: you should use markdown.\n * @param {Node | NodeLike | Position | Point | null | undefined} [place]\n * Place in file where the message occurred.\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns\n * Instance of `VFileMessage`.\n */\n // To do: next major: expose `undefined` everywhere instead of `null`.\n constructor(reason, place, origin) {\n /** @type {[string | null, string | null]} */\n const parts = [null, null]\n /** @type {Position} */\n let position = {\n // @ts-expect-error: we always follows the structure of `position`.\n start: {line: null, column: null},\n // @ts-expect-error: \"\n end: {line: null, column: null}\n }\n\n super()\n\n if (typeof place === 'string') {\n origin = place\n place = undefined\n }\n\n if (typeof origin === 'string') {\n const index = origin.indexOf(':')\n\n if (index === -1) {\n parts[1] = origin\n } else {\n parts[0] = origin.slice(0, index)\n parts[1] = origin.slice(index + 1)\n }\n }\n\n if (place) {\n // Node.\n if ('type' in place || 'position' in place) {\n if (place.position) {\n // To do: next major: deep clone.\n // @ts-expect-error: looks like a position.\n position = place.position\n }\n }\n // Position.\n else if ('start' in place || 'end' in place) {\n // @ts-expect-error: looks like a position.\n // To do: next major: deep clone.\n position = place\n }\n // Point.\n else if ('line' in place || 'column' in place) {\n // To do: next major: deep clone.\n position.start = place\n }\n }\n\n // Fields from `Error`.\n /**\n * Serialized positional info of error.\n *\n * On normal errors, this would be something like `ParseError`, buit in\n * `VFile` messages we use this space to show where an error happened.\n */\n this.name = stringifyPosition(place) || '1:1'\n\n /**\n * Reason for message.\n *\n * @type {string}\n */\n this.message = typeof reason === 'object' ? reason.message : reason\n\n /**\n * Stack of message.\n *\n * This is used by normal errors to show where something happened in\n * programming code, irrelevant for `VFile` messages,\n *\n * @type {string}\n */\n this.stack = ''\n\n if (typeof reason === 'object' && reason.stack) {\n this.stack = reason.stack\n }\n\n /**\n * Reason for message.\n *\n * > 👉 **Note**: you should use markdown.\n *\n * @type {string}\n */\n this.reason = this.message\n\n /* eslint-disable no-unused-expressions */\n /**\n * State of problem.\n *\n * * `true` — marks associated file as no longer processable (error)\n * * `false` — necessitates a (potential) change (warning)\n * * `null | undefined` — for things that might not need changing (info)\n *\n * @type {boolean | null | undefined}\n */\n this.fatal\n\n /**\n * Starting line of error.\n *\n * @type {number | null}\n */\n this.line = position.start.line\n\n /**\n * Starting column of error.\n *\n * @type {number | null}\n */\n this.column = position.start.column\n\n /**\n * Full unist position.\n *\n * @type {Position | null}\n */\n this.position = position\n\n /**\n * Namespace of message (example: `'my-package'`).\n *\n * @type {string | null}\n */\n this.source = parts[0]\n\n /**\n * Category of message (example: `'my-rule'`).\n *\n * @type {string | null}\n */\n this.ruleId = parts[1]\n\n /**\n * Path of a file (used throughout the `VFile` ecosystem).\n *\n * @type {string | null}\n */\n this.file\n\n // The following fields are “well known”.\n // Not standard.\n // Feel free to add other non-standard fields to your messages.\n\n /**\n * Specify the source value that’s being reported, which is deemed\n * incorrect.\n *\n * @type {string | null}\n */\n this.actual\n\n /**\n * Suggest acceptable values that can be used instead of `actual`.\n *\n * @type {Array<string> | null}\n */\n this.expected\n\n /**\n * Link to docs for the message.\n *\n * > 👉 **Note**: this must be an absolute URL that can be passed as `x`\n * > to `new URL(x)`.\n *\n * @type {string | null}\n */\n this.url\n\n /**\n * Long form description of the message (you should use markdown).\n *\n * @type {string | null}\n */\n this.note\n /* eslint-enable no-unused-expressions */\n }\n}\n\nVFileMessage.prototype.file = ''\nVFileMessage.prototype.name = ''\nVFileMessage.prototype.reason = ''\nVFileMessage.prototype.message = ''\nVFileMessage.prototype.stack = ''\nVFileMessage.prototype.fatal = null\nVFileMessage.prototype.column = null\nVFileMessage.prototype.line = null\nVFileMessage.prototype.source = null\nVFileMessage.prototype.ruleId = null\nVFileMessage.prototype.position = null\n"],"names":["VFileMessage","reason","place","origin","parts","position","index","stringifyPosition"],"mappings":";AAYO,MAAMA,UAAqB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBtC,YAAYC,GAAQC,GAAOC,GAAQ;AAEjC,UAAMC,IAAQ,CAAC,MAAM,IAAI;AAEzB,QAAIC,IAAW;AAAA;AAAA,MAEb,OAAO,EAAC,MAAM,MAAM,QAAQ,KAAI;AAAA;AAAA,MAEhC,KAAK,EAAC,MAAM,MAAM,QAAQ,KAAI;AAAA,IACpC;AASI,QAPA,MAAK,GAED,OAAOH,KAAU,aACnBC,IAASD,GACTA,IAAQ,SAGN,OAAOC,KAAW,UAAU;AAC9B,YAAMG,IAAQH,EAAO,QAAQ,GAAG;AAEhC,MAAIG,MAAU,KACZF,EAAM,CAAC,IAAID,KAEXC,EAAM,CAAC,IAAID,EAAO,MAAM,GAAGG,CAAK,GAChCF,EAAM,CAAC,IAAID,EAAO,MAAMG,IAAQ,CAAC;AAAA,IAEzC;AAEI,IAAIJ,MAEE,UAAUA,KAAS,cAAcA,IAC/BA,EAAM,aAGRG,IAAWH,EAAM,YAIZ,WAAWA,KAAS,SAASA,IAGpCG,IAAWH,KAGJ,UAAUA,KAAS,YAAYA,OAEtCG,EAAS,QAAQH,KAWrB,KAAK,OAAOK,EAAkBL,CAAK,KAAK,OAOxC,KAAK,UAAU,OAAOD,KAAW,WAAWA,EAAO,UAAUA,GAU7D,KAAK,QAAQ,IAET,OAAOA,KAAW,YAAYA,EAAO,UACvC,KAAK,QAAQA,EAAO,QAUtB,KAAK,SAAS,KAAK,SAYnB,KAAK,OAOL,KAAK,OAAOI,EAAS,MAAM,MAO3B,KAAK,SAASA,EAAS,MAAM,QAO7B,KAAK,WAAWA,GAOhB,KAAK,SAASD,EAAM,CAAC,GAOrB,KAAK,SAASA,EAAM,CAAC,GAOrB,KAAK,MAYL,KAAK,QAOL,KAAK,UAUL,KAAK,KAOL,KAAK;AAAA,EAET;AACA;AAEAJ,EAAa,UAAU,OAAO;AAC9BA,EAAa,UAAU,OAAO;AAC9BA,EAAa,UAAU,SAAS;AAChCA,EAAa,UAAU,UAAU;AACjCA,EAAa,UAAU,QAAQ;AAC/BA,EAAa,UAAU,QAAQ;AAC/BA,EAAa,UAAU,SAAS;AAChCA,EAAa,UAAU,OAAO;AAC9BA,EAAa,UAAU,SAAS;AAChCA,EAAa,UAAU,SAAS;AAChCA,EAAa,UAAU,WAAW;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../_virtual/jsx-runtime.cjs.js"),p=require("react"),m=require("./AccessUser.styled.cjs.js"),d=require("../ShareOptionIcon/ShareOptionIcon.cjs.js"),l=require("clsx"),h={0:"No access",10:"Viewer",20:"Editor",30:"Admin"},S=p.forwardRef(({name:s,label:r,icon:t,shareType:c,isMe:n,isOwner:o,isCompact:i,children:x,className:a,...u},E)=>{const j=r&&r!==s&&!s.startsWith("__")&&!s.endsWith("__");return e.jsxRuntimeExports.jsxs(m.User,{...u,ref:E,className:l(a,{compact:i}),children:[e.jsxRuntimeExports.jsx(d.ShareOptionIcon,{shareType:c,name:s,label:r,icon:t}),e.jsxRuntimeExports.jsxs("span",{className:"label",children:[r||s,n?e.jsxRuntimeExports.jsx("span",{className:"name",children:"(you)"}):j&&e.jsxRuntimeExports.jsxs("span",{className:"name",children:["(",s,")"]})]}),o&&e.jsxRuntimeExports.jsx("span",{className:"owner",children:"Owner"}),x]})});exports.ACCESS_LEVEL_LABELS=h;exports.AccessUser=S;
2
- //# sourceMappingURL=AccessUser.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessUser.cjs.js","sources":["../../../../../src/components/AccessUser/AccessUser.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport * as Styled from './AccessUser.styled'\nimport { ShareOptionIcon } from '../ShareOptionIcon'\nimport clsx from 'clsx'\n\nexport const ACCESS_LEVEL_LABELS = {\n 0: 'No access',\n 10: 'Viewer',\n 20: 'Editor',\n 30: 'Admin',\n}\n\nexport type AccessLevel = 0 | 10 | 20 | 30\n\nexport interface AccessUser {\n value: string // unique identifier for the user or group\n name: string\n label?: string\n shareType?: string\n icon?: string // optional icon for the user\n accessLevel?: AccessLevel // access level (optional for display-only usage)\n isOwner?: boolean // if this user is the owner\n isMe?: boolean // if this user is the current user\n}\n\nexport interface AccessUserProps\n extends React.HTMLAttributes<HTMLDivElement>,\n Pick<AccessUser, 'icon' | 'name' | 'label' | 'shareType' | 'isMe' | 'isOwner'> {\n children?: React.ReactNode // Allow children for controls like dropdown/buttons\n isCompact?: boolean // if true, use compact styling\n}\n\nexport const AccessUser = forwardRef<HTMLDivElement, AccessUserProps>(\n (\n { name, label, icon, shareType, isMe, isOwner, isCompact, children, className, ...props },\n ref,\n ) => {\n const showUsername = label && label !== name && !name.startsWith('__') && !name.endsWith('__')\n\n return (\n <Styled.User {...props} ref={ref} className={clsx(className, { compact: isCompact })}>\n <ShareOptionIcon shareType={shareType} name={name} label={label} icon={icon} />\n <span className=\"label\">\n {label || name}\n {isMe ? (\n <span className=\"name\">(you)</span>\n ) : (\n showUsername && <span className=\"name\">({name})</span>\n )}\n </span>\n {isOwner && <span className=\"owner\">Owner</span>}\n {children}\n </Styled.User>\n )\n },\n)\n"],"names":["ACCESS_LEVEL_LABELS","AccessUser","forwardRef","name","label","icon","shareType","isMe","isOwner","isCompact","children","className","props","ref","showUsername","jsxs","Styled.User","clsx","jsx","ShareOptionIcon"],"mappings":"+QAKaA,EAAsB,CACjC,EAAG,YACH,GAAI,SACJ,GAAI,SACJ,GAAI,OACN,EAsBaC,EAAaC,EAAA,WACxB,CACE,CAAE,KAAAC,EAAM,MAAAC,EAAO,KAAAC,EAAM,UAAAC,EAAW,KAAAC,EAAM,QAAAC,EAAS,UAAAC,EAAW,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAA,EAClFC,IACG,CACH,MAAMC,EAAeV,GAASA,IAAUD,GAAQ,CAACA,EAAK,WAAW,IAAI,GAAK,CAACA,EAAK,SAAS,IAAI,EAE7F,OACGY,EAAA,kBAAA,KAAAC,EAAA,KAAA,CAAa,GAAGJ,EAAO,IAAAC,EAAU,UAAWI,EAAKN,EAAW,CAAE,QAASF,CAAW,CAAA,EACjF,SAAA,CAAAS,EAAA,kBAAA,IAACC,EAAgB,gBAAA,CAAA,UAAAb,EAAsB,KAAAH,EAAY,MAAAC,EAAc,KAAAC,EAAY,EAC7EU,EAAAA,kBAAAA,KAAC,OAAK,CAAA,UAAU,QACb,SAAA,CAASX,GAAAD,EACTI,EACEW,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,OAAO,SAAK,OAAA,CAAA,EAE5BJ,GAAgBC,EAAAA,kBAAAA,KAAC,OAAK,CAAA,UAAU,OAAO,SAAA,CAAA,IAAEZ,EAAK,GAAA,CAAC,CAAA,CAAA,EAEnD,EACCK,GAAWU,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,QAAQ,SAAK,QAAA,EACxCR,CAAA,EACH,CAAA,CAGN"}
@@ -1,33 +0,0 @@
1
- import { j as r } from "../../../../_virtual/jsx-runtime.es.js";
2
- import { forwardRef as h } from "react";
3
- import { User as j } from "./AccessUser.styled.es.js";
4
- import { ShareOptionIcon as f } from "../ShareOptionIcon/ShareOptionIcon.es.js";
5
- import l from "clsx";
6
- const L = {
7
- 0: "No access",
8
- 10: "Viewer",
9
- 20: "Editor",
10
- 30: "Admin"
11
- }, S = h(
12
- ({ name: s, label: o, icon: c, shareType: e, isMe: t, isOwner: n, isCompact: i, children: a, className: m, ...p }, x) => {
13
- const d = o && o !== s && !s.startsWith("__") && !s.endsWith("__");
14
- return /* @__PURE__ */ r.jsxs(j, { ...p, ref: x, className: l(m, { compact: i }), children: [
15
- /* @__PURE__ */ r.jsx(f, { shareType: e, name: s, label: o, icon: c }),
16
- /* @__PURE__ */ r.jsxs("span", { className: "label", children: [
17
- o || s,
18
- t ? /* @__PURE__ */ r.jsx("span", { className: "name", children: "(you)" }) : d && /* @__PURE__ */ r.jsxs("span", { className: "name", children: [
19
- "(",
20
- s,
21
- ")"
22
- ] })
23
- ] }),
24
- n && /* @__PURE__ */ r.jsx("span", { className: "owner", children: "Owner" }),
25
- a
26
- ] });
27
- }
28
- );
29
- export {
30
- L as ACCESS_LEVEL_LABELS,
31
- S as AccessUser
32
- };
33
- //# sourceMappingURL=AccessUser.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessUser.es.js","sources":["../../../../../src/components/AccessUser/AccessUser.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport * as Styled from './AccessUser.styled'\nimport { ShareOptionIcon } from '../ShareOptionIcon'\nimport clsx from 'clsx'\n\nexport const ACCESS_LEVEL_LABELS = {\n 0: 'No access',\n 10: 'Viewer',\n 20: 'Editor',\n 30: 'Admin',\n}\n\nexport type AccessLevel = 0 | 10 | 20 | 30\n\nexport interface AccessUser {\n value: string // unique identifier for the user or group\n name: string\n label?: string\n shareType?: string\n icon?: string // optional icon for the user\n accessLevel?: AccessLevel // access level (optional for display-only usage)\n isOwner?: boolean // if this user is the owner\n isMe?: boolean // if this user is the current user\n}\n\nexport interface AccessUserProps\n extends React.HTMLAttributes<HTMLDivElement>,\n Pick<AccessUser, 'icon' | 'name' | 'label' | 'shareType' | 'isMe' | 'isOwner'> {\n children?: React.ReactNode // Allow children for controls like dropdown/buttons\n isCompact?: boolean // if true, use compact styling\n}\n\nexport const AccessUser = forwardRef<HTMLDivElement, AccessUserProps>(\n (\n { name, label, icon, shareType, isMe, isOwner, isCompact, children, className, ...props },\n ref,\n ) => {\n const showUsername = label && label !== name && !name.startsWith('__') && !name.endsWith('__')\n\n return (\n <Styled.User {...props} ref={ref} className={clsx(className, { compact: isCompact })}>\n <ShareOptionIcon shareType={shareType} name={name} label={label} icon={icon} />\n <span className=\"label\">\n {label || name}\n {isMe ? (\n <span className=\"name\">(you)</span>\n ) : (\n showUsername && <span className=\"name\">({name})</span>\n )}\n </span>\n {isOwner && <span className=\"owner\">Owner</span>}\n {children}\n </Styled.User>\n )\n },\n)\n"],"names":["ACCESS_LEVEL_LABELS","AccessUser","forwardRef","name","label","icon","shareType","isMe","isOwner","isCompact","children","className","props","ref","showUsername","jsxs","Styled.User","clsx","jsx","ShareOptionIcon"],"mappings":";;;;;AAKO,MAAMA,IAAsB;AAAA,EACjC,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAsBaC,IAAaC;AAAA,EACxB,CACE,EAAE,MAAAC,GAAM,OAAAC,GAAO,MAAAC,GAAM,WAAAC,GAAW,MAAAC,GAAM,SAAAC,GAAS,WAAAC,GAAW,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAClFC,MACG;AACH,UAAMC,IAAeV,KAASA,MAAUD,KAAQ,CAACA,EAAK,WAAW,IAAI,KAAK,CAACA,EAAK,SAAS,IAAI;AAE7F,WACGY,gBAAAA,EAAA,KAAAC,GAAA,EAAa,GAAGJ,GAAO,KAAAC,GAAU,WAAWI,EAAKN,GAAW,EAAE,SAASF,EAAW,CAAA,GACjF,UAAA;AAAA,MAAAS,gBAAAA,EAAA,IAACC,GAAgB,EAAA,WAAAb,GAAsB,MAAAH,GAAY,OAAAC,GAAc,MAAAC,GAAY;AAAA,MAC7EU,gBAAAA,EAAAA,KAAC,QAAK,EAAA,WAAU,SACb,UAAA;AAAA,QAASX,KAAAD;AAAA,QACTI,IACEW,gBAAAA,EAAA,IAAA,QAAA,EAAK,WAAU,QAAO,UAAK,QAAA,CAAA,IAE5BJ,KAAgBC,gBAAAA,EAAAA,KAAC,QAAK,EAAA,WAAU,QAAO,UAAA;AAAA,UAAA;AAAA,UAAEZ;AAAA,UAAK;AAAA,QAAA,EAAC,CAAA;AAAA,MAAA,GAEnD;AAAA,MACCK,KAAWU,gBAAAA,EAAA,IAAC,QAAK,EAAA,WAAU,SAAQ,UAAK,SAAA;AAAA,MACxCR;AAAA,IAAA,GACH;AAAA,EAAA;AAGN;"}
@@ -1,42 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("styled-components"),r=e.div`
2
- display: flex;
3
- align-items: center;
4
- gap: var(--base-gap-medium);
5
- padding: var(--padding-s) var(--padding-m);
6
- border-radius: var(--border-radius-m);
7
- min-height: 40px;
8
-
9
- &.compact {
10
- min-height: 32px;
11
- padding: var(--padding-s);
12
- }
13
-
14
- &:hover {
15
- background-color: var(--md-sys-color-surface-container-high-hover);
16
- }
17
-
18
- .label {
19
- flex: 1;
20
- }
21
-
22
- .name {
23
- color: var(--md-sys-color-outline);
24
- padding-left: var(--base-gap-small);
25
- }
26
-
27
- .owner,
28
- .suffix {
29
- color: var(--md-sys-color-outline);
30
- }
31
-
32
- .icon {
33
- font-size: 24px;
34
- user-select: none;
35
- }
36
-
37
- .remove.hasIcon {
38
- padding: 2px;
39
- font-size: 20px;
40
- }
41
- `;exports.User=r;
42
- //# sourceMappingURL=AccessUser.styled.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessUser.styled.cjs.js","sources":["../../../../../src/components/AccessUser/AccessUser.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const User = styled.div`\n display: flex;\n align-items: center;\n gap: var(--base-gap-medium);\n padding: var(--padding-s) var(--padding-m);\n border-radius: var(--border-radius-m);\n min-height: 40px;\n\n &.compact {\n min-height: 32px;\n padding: var(--padding-s);\n }\n\n &:hover {\n background-color: var(--md-sys-color-surface-container-high-hover);\n }\n\n .label {\n flex: 1;\n }\n\n .name {\n color: var(--md-sys-color-outline);\n padding-left: var(--base-gap-small);\n }\n\n .owner,\n .suffix {\n color: var(--md-sys-color-outline);\n }\n\n .icon {\n font-size: 24px;\n user-select: none;\n }\n\n .remove.hasIcon {\n padding: 2px;\n font-size: 20px;\n }\n`\n"],"names":["User","styled"],"mappings":"qHAEaA,EAAOC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
@@ -1,46 +0,0 @@
1
- import r from "styled-components";
2
- const e = r.div`
3
- display: flex;
4
- align-items: center;
5
- gap: var(--base-gap-medium);
6
- padding: var(--padding-s) var(--padding-m);
7
- border-radius: var(--border-radius-m);
8
- min-height: 40px;
9
-
10
- &.compact {
11
- min-height: 32px;
12
- padding: var(--padding-s);
13
- }
14
-
15
- &:hover {
16
- background-color: var(--md-sys-color-surface-container-high-hover);
17
- }
18
-
19
- .label {
20
- flex: 1;
21
- }
22
-
23
- .name {
24
- color: var(--md-sys-color-outline);
25
- padding-left: var(--base-gap-small);
26
- }
27
-
28
- .owner,
29
- .suffix {
30
- color: var(--md-sys-color-outline);
31
- }
32
-
33
- .icon {
34
- font-size: 24px;
35
- user-select: none;
36
- }
37
-
38
- .remove.hasIcon {
39
- padding: 2px;
40
- font-size: 20px;
41
- }
42
- `;
43
- export {
44
- e as User
45
- };
46
- //# sourceMappingURL=AccessUser.styled.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccessUser.styled.es.js","sources":["../../../../../src/components/AccessUser/AccessUser.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const User = styled.div`\n display: flex;\n align-items: center;\n gap: var(--base-gap-medium);\n padding: var(--padding-s) var(--padding-m);\n border-radius: var(--border-radius-m);\n min-height: 40px;\n\n &.compact {\n min-height: 32px;\n padding: var(--padding-s);\n }\n\n &:hover {\n background-color: var(--md-sys-color-surface-container-high-hover);\n }\n\n .label {\n flex: 1;\n }\n\n .name {\n color: var(--md-sys-color-outline);\n padding-left: var(--base-gap-small);\n }\n\n .owner,\n .suffix {\n color: var(--md-sys-color-outline);\n }\n\n .icon {\n font-size: 24px;\n user-select: none;\n }\n\n .remove.hasIcon {\n padding: 2px;\n font-size: 20px;\n }\n`\n"],"names":["User","styled"],"mappings":";AAEO,MAAMA,IAAOC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,34 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../_virtual/jsx-runtime.cjs.js"),o=require("clsx"),r=require("styled-components"),n=r.div`
2
- padding: var(--padding-l);
3
- border-radius: var(--border-radius-xxl);
4
- border: 1px solid var(--md-sys-color-outline-variant);
5
-
6
- width: 100%;
7
- display: flex;
8
- flex-direction: column;
9
- gap: 16px;
10
-
11
- h3 {
12
- margin: 0;
13
- padding: 4px 0;
14
- }
15
- `,d=r.div`
16
- display: flex;
17
-
18
- .label {
19
- width: 130px;
20
- overflow: hidden;
21
- text-overflow: ellipsis;
22
- white-space: nowrap;
23
- color: var(--md-sys-color-outline);
24
- display: block;
25
- }
26
-
27
- .value {
28
- flex: 1;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- white-space: nowrap;
32
- }
33
- `,x=({data:l,title:s,isLoading:a})=>e.jsxRuntimeExports.jsxs(n,{children:[s&&e.jsxRuntimeExports.jsx("h3",{children:s}),Object.entries(l).map(([i,t])=>e.jsxRuntimeExports.jsxs(d,{className:o({loading:a}),children:[e.jsxRuntimeExports.jsx("label",{className:"label",children:i}),e.jsxRuntimeExports.jsx("span",{className:"value",children:String(t)})]},i))]});exports.DetailsMetaData=x;
34
- //# sourceMappingURL=DetailsMetaData.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DetailsMetaData.cjs.js","sources":["../../../../../src/components/DetailsMetaData/DetailsMetaData.tsx"],"sourcesContent":["import clsx from 'clsx'\nimport { FC } from 'react'\nimport styled from 'styled-components'\n\nconst Container = styled.div`\n padding: var(--padding-l);\n border-radius: var(--border-radius-xxl);\n border: 1px solid var(--md-sys-color-outline-variant);\n\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n h3 {\n margin: 0;\n padding: 4px 0;\n }\n`\n\nconst Row = styled.div`\n display: flex;\n\n .label {\n width: 130px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--md-sys-color-outline);\n display: block;\n }\n\n .value {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`\n\ninterface DetailsMetaDataProps {\n data: Record<string, any>\n title?: string\n isLoading?: boolean\n}\n\nexport const DetailsMetaData: FC<DetailsMetaDataProps> = ({ data, title, isLoading }) => {\n return (\n <Container>\n {title && <h3>{title}</h3>}\n {Object.entries(data).map(([key, value]) => (\n <Row key={key} className={clsx({ loading: isLoading })}>\n <label className=\"label\">{key}</label>\n <span className={'value'}>{String(value)}</span>\n </Row>\n ))}\n </Container>\n )\n}\n"],"names":["Container","styled","Row","DetailsMetaData","data","title","isLoading","jsx","key","value","jsxs","clsx"],"mappings":"4LAIMA,EAAYC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBnBC,EAAMD,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA0BNE,EAA4C,CAAC,CAAE,KAAAC,EAAM,MAAAC,EAAO,UAAAC,8BAEpEN,EACE,CAAA,SAAA,CAASK,GAAAE,EAAAA,kBAAAA,IAAC,MAAI,SAAMF,CAAA,CAAA,EACpB,OAAO,QAAQD,CAAI,EAAE,IAAI,CAAC,CAACI,EAAKC,CAAK,IACpCC,EAAA,kBAAA,KAACR,GAAc,UAAWS,EAAK,CAAE,QAASL,CAAA,CAAW,EACnD,SAAA,CAACC,EAAA,kBAAA,IAAA,QAAA,CAAM,UAAU,QAAS,SAAIC,EAAA,0BAC7B,OAAK,CAAA,UAAW,QAAU,SAAA,OAAOC,CAAK,CAAE,CAAA,CAAA,CAAA,EAFjCD,CAGV,CACD,CAAA,EACH"}