@ynput/ayon-frontend-shared 0.2.28 → 0.2.29

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 (781) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +6 -6
  3. package/dist/Views.cjs.js.map +1 -1
  4. package/dist/Views.es.js.map +1 -1
  5. package/dist/api.cjs.js +1 -1
  6. package/dist/api.es.js +151 -153
  7. package/dist/components.cjs.js +1 -1
  8. package/dist/components.es.js +79 -86
  9. package/dist/components.es.js.map +1 -1
  10. package/dist/hooks.cjs.js +1 -1
  11. package/dist/hooks.es.js +8 -6
  12. package/dist/hooks.es.js.map +1 -1
  13. package/dist/index.cjs.js +1 -1
  14. package/dist/index.es.js +6 -6
  15. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.js +2 -0
  16. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.js.map +1 -0
  17. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +63 -0
  18. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -0
  19. package/dist/node_modules/@ungap/structured-clone/esm/index.cjs.js +2 -0
  20. package/dist/node_modules/@ungap/structured-clone/esm/index.cjs.js.map +1 -0
  21. package/dist/node_modules/@ungap/structured-clone/esm/index.es.js +12 -0
  22. package/dist/node_modules/@ungap/structured-clone/esm/index.es.js.map +1 -0
  23. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.js +2 -0
  24. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.js.map +1 -0
  25. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +107 -0
  26. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -0
  27. package/dist/node_modules/@ungap/structured-clone/esm/types.cjs.js +2 -0
  28. package/dist/node_modules/@ungap/structured-clone/esm/types.cjs.js.map +1 -0
  29. package/dist/node_modules/@ungap/structured-clone/esm/types.es.js +14 -0
  30. package/dist/node_modules/@ungap/structured-clone/esm/types.es.js.map +1 -0
  31. package/dist/node_modules/devlop/lib/default.cjs.js +2 -0
  32. package/dist/node_modules/devlop/lib/default.cjs.js.map +1 -0
  33. package/dist/node_modules/devlop/lib/default.es.js +6 -0
  34. package/dist/node_modules/devlop/lib/default.es.js.map +1 -0
  35. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.js +2 -0
  36. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.js.map +1 -0
  37. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js +39 -0
  38. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
  39. package/dist/node_modules/entities/dist/esm/decode.cjs.js +2 -0
  40. package/dist/node_modules/entities/dist/esm/decode.cjs.js.map +1 -0
  41. package/dist/node_modules/entities/dist/esm/decode.es.js +246 -0
  42. package/dist/node_modules/entities/dist/esm/decode.es.js.map +1 -0
  43. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.js +2 -0
  44. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.js.map +1 -0
  45. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js +8 -0
  46. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
  47. package/dist/node_modules/hast-util-raw/lib/index.cjs.js +2 -0
  48. package/dist/node_modules/hast-util-raw/lib/index.cjs.js.map +1 -0
  49. package/dist/node_modules/hast-util-raw/lib/index.es.js +218 -0
  50. package/dist/node_modules/hast-util-raw/lib/index.es.js.map +1 -0
  51. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.cjs.js +2 -0
  52. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.cjs.js.map +1 -0
  53. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.es.js +146 -0
  54. package/dist/node_modules/hast-util-raw/node_modules/hast-util-from-parse5/lib/index.es.js.map +1 -0
  55. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.cjs.js +2 -0
  56. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.cjs.js.map +1 -0
  57. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.es.js +21 -0
  58. package/dist/node_modules/hast-util-raw/node_modules/hast-util-parse-selector/lib/index.es.js.map +1 -0
  59. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.cjs.js +2 -0
  60. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.cjs.js.map +1 -0
  61. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.es.js +113 -0
  62. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/create-h.es.js.map +1 -0
  63. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.cjs.js +2 -0
  64. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.cjs.js.map +1 -0
  65. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.es.js +9 -0
  66. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/index.es.js.map +1 -0
  67. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.js +2 -0
  68. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.js.map +1 -0
  69. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.es.js +45 -0
  70. package/dist/node_modules/hast-util-raw/node_modules/hastscript/lib/svg-case-sensitive-tag-names.es.js.map +1 -0
  71. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.cjs.js +2 -0
  72. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.cjs.js.map +1 -0
  73. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.es.js +26 -0
  74. package/dist/node_modules/hast-util-raw/node_modules/html-void-elements/index.es.js.map +1 -0
  75. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.cjs.js +2 -0
  76. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.cjs.js.map +1 -0
  77. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.es.js +99 -0
  78. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.es.js.map +1 -0
  79. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.cjs.js +2 -0
  80. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.cjs.js.map +1 -0
  81. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.es.js +8 -0
  82. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.es.js.map +1 -0
  83. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.cjs.js +2 -0
  84. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.cjs.js.map +1 -0
  85. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.es.js +211 -0
  86. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.es.js.map +1 -0
  87. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.cjs.js +2 -0
  88. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.cjs.js.map +1 -0
  89. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.es.js +251 -0
  90. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.es.js.map +1 -0
  91. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.cjs.js +2 -0
  92. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.cjs.js.map +1 -0
  93. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.es.js +15 -0
  94. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.es.js.map +1 -0
  95. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.cjs.js +2 -0
  96. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.cjs.js.map +1 -0
  97. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.es.js +74 -0
  98. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.es.js.map +1 -0
  99. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.cjs.js +2 -0
  100. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.cjs.js.map +1 -0
  101. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.es.js +85 -0
  102. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.es.js.map +1 -0
  103. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.cjs.js +2 -0
  104. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.cjs.js.map +1 -0
  105. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.es.js +2272 -0
  106. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.es.js.map +1 -0
  107. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.cjs.js +2 -0
  108. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.cjs.js.map +1 -0
  109. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.es.js +241 -0
  110. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.es.js.map +1 -0
  111. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.cjs.js +2 -0
  112. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.cjs.js.map +1 -0
  113. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.es.js +3 -0
  114. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.es.js.map +1 -0
  115. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.cjs.js +2 -0
  116. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.cjs.js.map +1 -0
  117. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.es.js +1941 -0
  118. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.es.js.map +1 -0
  119. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.cjs.js +2 -0
  120. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.cjs.js.map +1 -0
  121. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.es.js +89 -0
  122. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.es.js.map +1 -0
  123. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.cjs.js +2 -0
  124. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.cjs.js.map +1 -0
  125. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.es.js +163 -0
  126. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.es.js.map +1 -0
  127. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.cjs.js +2 -0
  128. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.cjs.js.map +1 -0
  129. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.es.js +13 -0
  130. package/dist/node_modules/hast-util-raw/node_modules/property-information/index.es.js.map +1 -0
  131. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.cjs.js +2 -0
  132. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.cjs.js.map +1 -0
  133. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.es.js +62 -0
  134. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/aria.es.js.map +1 -0
  135. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.cjs.js +2 -0
  136. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.cjs.js.map +1 -0
  137. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.es.js +34 -0
  138. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/find.es.js.map +1 -0
  139. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.cjs.js +2 -0
  140. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.cjs.js.map +1 -0
  141. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.es.js +369 -0
  142. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/html.es.js.map +1 -0
  143. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.cjs.js +2 -0
  144. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.cjs.js.map +1 -0
  145. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.es.js +7 -0
  146. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/normalize.es.js.map +1 -0
  147. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.cjs.js +2 -0
  148. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.cjs.js.map +1 -0
  149. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.es.js +567 -0
  150. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/svg.es.js.map +1 -0
  151. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.cjs.js +2 -0
  152. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.cjs.js.map +1 -0
  153. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.es.js +8 -0
  154. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +1 -0
  155. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.cjs.js +2 -0
  156. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.cjs.js.map +1 -0
  157. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.es.js +7 -0
  158. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +1 -0
  159. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.cjs.js +2 -0
  160. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.cjs.js.map +1 -0
  161. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.es.js +20 -0
  162. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/create.es.js.map +1 -0
  163. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.cjs.js +2 -0
  164. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.cjs.js.map +1 -0
  165. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.es.js +37 -0
  166. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/defined-info.es.js.map +1 -0
  167. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.cjs.js +2 -0
  168. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.cjs.js.map +1 -0
  169. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.es.js +29 -0
  170. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/info.es.js.map +1 -0
  171. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.cjs.js +2 -0
  172. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.cjs.js.map +1 -0
  173. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.es.js +11 -0
  174. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/merge.es.js.map +1 -0
  175. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.cjs.js +2 -0
  176. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.cjs.js.map +1 -0
  177. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.es.js +22 -0
  178. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/schema.es.js.map +1 -0
  179. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.cjs.js +2 -0
  180. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.cjs.js.map +1 -0
  181. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.es.js +15 -0
  182. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/util/types.es.js.map +1 -0
  183. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.cjs.js +2 -0
  184. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.cjs.js.map +1 -0
  185. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.es.js +20 -0
  186. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xlink.es.js.map +1 -0
  187. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.cjs.js +2 -0
  188. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.cjs.js.map +1 -0
  189. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.es.js +12 -0
  190. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xml.es.js.map +1 -0
  191. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.cjs.js +2 -0
  192. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.cjs.js.map +1 -0
  193. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.es.js +12 -0
  194. package/dist/node_modules/hast-util-raw/node_modules/property-information/lib/xmlns.es.js.map +1 -0
  195. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.cjs.js +3 -0
  196. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.cjs.js.map +1 -0
  197. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.es.js +43 -0
  198. package/dist/node_modules/hast-util-raw/node_modules/vfile-location/lib/index.es.js.map +1 -0
  199. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.js +2 -0
  200. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.js.map +1 -0
  201. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +119 -0
  202. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -0
  203. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
  204. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js.map +1 -1
  205. package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +1 -1
  206. package/dist/node_modules/rehype/node_modules/unist-util-stringify-position/lib/index.cjs.js.map +1 -0
  207. 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
  208. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +2 -0
  209. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js.map +1 -0
  210. package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/index.es.js +2 -2
  211. package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js.map +1 -0
  212. package/dist/node_modules/rehype/node_modules/vfile/lib/minpath.browser.cjs.js.map +1 -0
  213. package/dist/node_modules/rehype/node_modules/vfile/lib/minpath.browser.es.js.map +1 -0
  214. package/dist/node_modules/rehype/node_modules/vfile/lib/minproc.browser.cjs.js.map +1 -0
  215. package/dist/node_modules/rehype/node_modules/vfile/lib/minproc.browser.es.js.map +1 -0
  216. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.browser.cjs.js.map +1 -0
  217. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.browser.es.js.map +1 -0
  218. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.shared.cjs.js.map +1 -0
  219. package/dist/node_modules/rehype/node_modules/vfile/lib/minurl.shared.es.js.map +1 -0
  220. package/dist/node_modules/rehype/node_modules/vfile-message/lib/index.cjs.js.map +1 -0
  221. 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
  222. package/dist/node_modules/rehype-raw/lib/index.cjs.js +2 -0
  223. package/dist/node_modules/rehype-raw/lib/index.cjs.js.map +1 -0
  224. package/dist/node_modules/rehype-raw/lib/index.es.js +13 -0
  225. package/dist/node_modules/rehype-raw/lib/index.es.js.map +1 -0
  226. package/dist/node_modules/unist-util-is/lib/index.cjs.js +2 -0
  227. package/dist/node_modules/unist-util-is/lib/index.cjs.js.map +1 -0
  228. package/dist/node_modules/unist-util-is/lib/index.es.js +85 -0
  229. package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -0
  230. package/dist/node_modules/unist-util-position/lib/index.cjs.js +2 -0
  231. package/dist/node_modules/unist-util-position/lib/index.cjs.js.map +1 -0
  232. package/dist/node_modules/unist-util-position/lib/index.es.js +18 -0
  233. package/dist/node_modules/unist-util-position/lib/index.es.js.map +1 -0
  234. package/dist/node_modules/unist-util-visit/lib/index.cjs.js +2 -0
  235. package/dist/node_modules/unist-util-visit/lib/index.cjs.js.map +1 -0
  236. package/dist/node_modules/unist-util-visit/lib/index.es.js +17 -0
  237. package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -0
  238. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.js +2 -0
  239. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.js.map +1 -0
  240. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js +7 -0
  241. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -0
  242. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.js +2 -0
  243. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.js.map +1 -0
  244. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +57 -0
  245. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -0
  246. package/dist/node_modules/web-namespaces/index.cjs.js +1 -1
  247. package/dist/node_modules/web-namespaces/index.cjs.js.map +1 -1
  248. package/dist/node_modules/web-namespaces/index.es.js +8 -3
  249. package/dist/node_modules/web-namespaces/index.es.js.map +1 -1
  250. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  251. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  252. package/dist/shared/src/api/generated/folders.cjs.js.map +1 -1
  253. package/dist/shared/src/api/generated/folders.es.js.map +1 -1
  254. package/dist/shared/src/api/generated/graphql.cjs.js +5 -3
  255. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  256. package/dist/shared/src/api/generated/graphql.es.js +14 -12
  257. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  258. package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
  259. package/dist/shared/src/api/generated/views.es.js.map +1 -1
  260. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -1
  261. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
  262. package/dist/shared/src/api/queries/entityLists/getLists.es.js +117 -142
  263. package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
  264. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -1
  265. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
  266. package/dist/shared/src/api/queries/entityLists/updateLists.es.js +95 -110
  267. package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
  268. package/dist/shared/src/api/queries/links/getEntityLinks.cjs.js +1 -1
  269. package/dist/shared/src/api/queries/links/getEntityLinks.cjs.js.map +1 -1
  270. package/dist/shared/src/api/queries/links/getEntityLinks.es.js +41 -40
  271. package/dist/shared/src/api/queries/links/getEntityLinks.es.js.map +1 -1
  272. package/dist/shared/src/api/queries/links/updateLinks.cjs.js +1 -1
  273. package/dist/shared/src/api/queries/links/updateLinks.cjs.js.map +1 -1
  274. package/dist/shared/src/api/queries/links/updateLinks.es.js +164 -143
  275. package/dist/shared/src/api/queries/links/updateLinks.es.js.map +1 -1
  276. package/dist/shared/src/api/queries/users/getUsers.cjs.js +1 -1
  277. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  278. package/dist/shared/src/api/queries/users/getUsers.es.js +17 -21
  279. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  280. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js +26 -37
  281. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js.map +1 -1
  282. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js +100 -97
  283. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js.map +1 -1
  284. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +6 -5
  285. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
  286. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +169 -62
  287. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
  288. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js +48 -0
  289. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js.map +1 -0
  290. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js +87 -0
  291. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js.map +1 -0
  292. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +2 -0
  293. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -0
  294. package/dist/shared/src/components/{ListAttributeForm/ListAttributeForm.es.js → DetailsPanelDetails/DescriptionSection.es.js} +117 -105
  295. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -0
  296. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +385 -0
  297. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -0
  298. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +401 -0
  299. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -0
  300. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +12 -0
  301. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -0
  302. package/dist/shared/src/components/{LinksManager/LinksManagerDialog.es.js → DetailsPanelDetails/DetailsPanelDetails.es.js} +92 -91
  303. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -0
  304. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js +51 -0
  305. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js.map +1 -0
  306. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js +113 -0
  307. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js.map +1 -0
  308. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js +8 -0
  309. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js.map +1 -0
  310. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js +25 -0
  311. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js.map +1 -0
  312. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.cjs.js +2 -0
  313. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.cjs.js.map +1 -0
  314. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.es.js +61 -0
  315. package/dist/shared/src/components/DetailsPanelDetails/hooks/useDescriptionEditor.es.js.map +1 -0
  316. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +2 -0
  317. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -0
  318. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +95 -0
  319. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -0
  320. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +2 -0
  321. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -0
  322. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +109 -0
  323. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -0
  324. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.cjs.js +2 -0
  325. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.cjs.js.map +1 -0
  326. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.es.js +131 -0
  327. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFields.es.js.map +1 -0
  328. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.cjs.js +2 -0
  329. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.cjs.js.map +1 -0
  330. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.es.js +64 -0
  331. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityFormData.es.js.map +1 -0
  332. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.cjs.js +2 -0
  333. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.cjs.js.map +1 -0
  334. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.es.js +28 -0
  335. package/dist/shared/src/components/DetailsPanelDetails/hooks/useMentionSystem.es.js.map +1 -0
  336. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.cjs.js +2 -0
  337. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.cjs.js.map +1 -0
  338. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.es.js +6 -0
  339. package/dist/shared/src/components/DetailsPanelDetails/hooks/useQuillFormats.es.js.map +1 -0
  340. package/dist/shared/src/components/DetailsPanelDetails/types.cjs.js +2 -0
  341. package/dist/shared/src/components/DetailsPanelDetails/types.cjs.js.map +1 -0
  342. package/dist/shared/src/components/DetailsPanelDetails/types.es.js +37 -0
  343. package/dist/shared/src/components/DetailsPanelDetails/types.es.js.map +1 -0
  344. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  345. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  346. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +9 -9
  347. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  348. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  349. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +5 -5
  350. package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js +8 -0
  351. package/dist/shared/src/components/LinksManager/CellEditingDialog.cjs.js.map +1 -0
  352. package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js +86 -0
  353. package/dist/shared/src/components/LinksManager/CellEditingDialog.es.js.map +1 -0
  354. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
  355. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
  356. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +29 -20
  357. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
  358. package/dist/shared/src/components/LinksManager/LinksManager.cjs.js +1 -1
  359. package/dist/shared/src/components/LinksManager/LinksManager.cjs.js.map +1 -1
  360. package/dist/shared/src/components/LinksManager/LinksManager.es.js +55 -43
  361. package/dist/shared/src/components/LinksManager/LinksManager.es.js.map +1 -1
  362. package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js +42 -9
  363. package/dist/shared/src/components/LinksManager/LinksManager.styled.cjs.js.map +1 -1
  364. package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js +49 -16
  365. package/dist/shared/src/components/LinksManager/LinksManager.styled.es.js.map +1 -1
  366. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  367. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  368. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +9 -9
  369. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +3 -3
  370. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
  371. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +5 -5
  372. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -1
  373. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  374. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  375. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +6 -6
  376. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +2 -2
  377. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  378. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +26 -18
  379. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  380. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  381. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  382. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +27 -21
  383. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  384. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js +59 -0
  385. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js.map +1 -0
  386. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js +63 -0
  387. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js.map +1 -0
  388. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +31 -0
  389. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -0
  390. package/dist/shared/src/components/RenameForm/RenameForm.es.js +396 -0
  391. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -0
  392. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  393. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  394. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +6 -6
  395. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  396. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  397. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +6 -6
  398. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  399. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  400. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +6 -6
  401. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  402. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  403. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +6 -6
  404. package/dist/shared/src/components/StyledLink/StyledLink.cjs.js +14 -0
  405. package/dist/shared/src/components/StyledLink/StyledLink.cjs.js.map +1 -0
  406. package/dist/shared/src/components/StyledLink/StyledLink.es.js +19 -0
  407. package/dist/shared/src/components/StyledLink/StyledLink.es.js.map +1 -0
  408. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
  409. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  410. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +6 -6
  411. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  412. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  413. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +6 -6
  414. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  415. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  416. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +6 -6
  417. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  418. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  419. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +193 -162
  420. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  421. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js +1 -7
  422. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js.map +1 -1
  423. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.es.js +6 -13
  424. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.es.js.map +1 -1
  425. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  426. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  427. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +6 -6
  428. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  429. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  430. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +6 -6
  431. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  432. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  433. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +124 -114
  434. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  435. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.cjs.js +4 -3
  436. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.cjs.js.map +1 -1
  437. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.es.js +1 -0
  438. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.es.js.map +1 -1
  439. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +2 -0
  440. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -0
  441. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +85 -0
  442. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -0
  443. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.cjs.js +1 -1
  444. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.cjs.js.map +1 -1
  445. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.es.js +18 -18
  446. package/dist/shared/src/containers/DetailsPanel/FeedFilters/FeedFilters.es.js.map +1 -1
  447. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  448. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  449. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +6 -6
  450. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  451. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  452. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +6 -6
  453. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  454. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  455. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +6 -6
  456. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  457. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  458. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +6 -6
  459. package/dist/shared/src/containers/Feed/components/ActivityDate.cjs.js +8 -3
  460. package/dist/shared/src/containers/Feed/components/ActivityDate.cjs.js.map +1 -1
  461. package/dist/shared/src/containers/Feed/components/ActivityDate.es.js +21 -16
  462. package/dist/shared/src/containers/Feed/components/ActivityDate.es.js.map +1 -1
  463. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -1
  464. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
  465. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +21 -21
  466. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
  467. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.cjs.js +37 -8
  468. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.cjs.js.map +1 -1
  469. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.es.js +44 -14
  470. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.styled.es.js.map +1 -1
  471. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
  472. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
  473. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +58 -57
  474. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
  475. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js +7 -58
  476. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js.map +1 -1
  477. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js +14 -65
  478. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js.map +1 -1
  479. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.cjs.js +1 -1
  480. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.cjs.js.map +1 -1
  481. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.es.js +17 -15
  482. package/dist/shared/src/containers/Feed/components/CommentInput/modules/index.es.js.map +1 -1
  483. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js +7 -6
  484. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.cjs.js.map +1 -1
  485. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js +27 -18
  486. package/dist/shared/src/containers/Feed/components/CommentInput/quillToMarkdown.es.js.map +1 -1
  487. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  488. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  489. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +53 -51
  490. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  491. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  492. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  493. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +280 -207
  494. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  495. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  496. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  497. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +6 -6
  498. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  499. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  500. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +5 -5
  501. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +3 -3
  502. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
  503. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +212 -206
  504. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
  505. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
  506. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
  507. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +41 -34
  508. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
  509. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  510. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  511. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +5 -5
  512. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js +1 -1
  513. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js.map +1 -1
  514. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js +130 -33
  515. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js.map +1 -1
  516. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
  517. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  518. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +10 -13
  519. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  520. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  521. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +1 -1
  522. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  523. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  524. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +48 -45
  525. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  526. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  527. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  528. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +104 -93
  529. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  530. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  531. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  532. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +5 -5
  533. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  534. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  535. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +5 -5
  536. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  537. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  538. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +111 -87
  539. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  540. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  541. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  542. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +9 -9
  543. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  544. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  545. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +9 -9
  546. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  547. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  548. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +5 -5
  549. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  550. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  551. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +5 -5
  552. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +1 -1
  553. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
  554. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +7 -7
  555. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js.map +1 -1
  556. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
  557. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  558. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +88 -74
  559. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  560. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js +2 -2
  561. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js.map +1 -1
  562. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js +66 -66
  563. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js.map +1 -1
  564. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  565. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  566. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +58 -61
  567. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  568. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +2 -0
  569. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -0
  570. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +241 -0
  571. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -0
  572. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js +8 -3
  573. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js.map +1 -1
  574. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js +82 -32
  575. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js.map +1 -1
  576. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js +2 -2
  577. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.cjs.js.map +1 -1
  578. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js +79 -24
  579. package/dist/shared/src/containers/ProjectTreeTable/widgets/TextWidgetInput.es.js.map +1 -1
  580. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  581. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  582. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +6 -6
  583. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  584. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  585. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +109 -121
  586. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  587. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js +4 -16
  588. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js.map +1 -1
  589. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js +1 -13
  590. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js.map +1 -1
  591. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js +1 -1
  592. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js.map +1 -1
  593. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js +50 -62
  594. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js.map +1 -1
  595. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  596. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  597. package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
  598. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  599. package/dist/shared/src/context/PowerpackContext.es.js +15 -20
  600. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  601. package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
  602. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  603. package/dist/shared/src/hooks/useActionTriggers.es.js +27 -32
  604. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  605. package/dist/shared/src/hooks/useTagStyling.cjs.js +2 -0
  606. package/dist/shared/src/hooks/useTagStyling.cjs.js.map +1 -0
  607. package/dist/shared/src/hooks/useTagStyling.es.js +33 -0
  608. package/dist/shared/src/hooks/useTagStyling.es.js.map +1 -0
  609. package/dist/shared/src/util/checkName.cjs.js +2 -0
  610. package/dist/shared/src/util/checkName.cjs.js.map +1 -0
  611. package/dist/shared/src/util/checkName.es.js +9 -0
  612. package/dist/shared/src/util/checkName.es.js.map +1 -0
  613. package/dist/shared/src/util/clipboardUtils.cjs.js +2 -0
  614. package/dist/shared/src/util/clipboardUtils.cjs.js.map +1 -0
  615. package/dist/shared/src/util/clipboardUtils.es.js +13 -0
  616. package/dist/shared/src/util/clipboardUtils.es.js.map +1 -0
  617. package/dist/shared/src/util/copyToClipboard.cjs.js +1 -1
  618. package/dist/shared/src/util/copyToClipboard.cjs.js.map +1 -1
  619. package/dist/shared/src/util/copyToClipboard.es.js +21 -21
  620. package/dist/shared/src/util/copyToClipboard.es.js.map +1 -1
  621. package/dist/shared/src/util/humanizeFieldName.cjs.js +2 -0
  622. package/dist/shared/src/util/humanizeFieldName.cjs.js.map +1 -0
  623. package/dist/shared/src/util/humanizeFieldName.es.js +15 -0
  624. package/dist/shared/src/util/humanizeFieldName.es.js.map +1 -0
  625. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.cjs.js +7 -0
  626. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.cjs.js.map +1 -0
  627. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.es.js +64 -0
  628. package/dist/shared/src/util/parseHtmlToPlainTextWithLinks.es.js.map +1 -0
  629. package/dist/types/api/generated/entityLists.d.ts +8 -8
  630. package/dist/types/api/generated/folders.d.ts +2 -0
  631. package/dist/types/api/generated/graphql.d.ts +20 -5
  632. package/dist/types/api/generated/index.d.ts +1 -0
  633. package/dist/types/api/generated/views.d.ts +9 -47
  634. package/dist/types/api/queries/entityLists/getLists.d.ts +0 -133
  635. package/dist/types/api/queries/entityLists/types.d.ts +1 -2
  636. package/dist/types/api/queries/permissions/getPermissions.d.ts +22 -22
  637. package/dist/types/api/queries/share/share.d.ts +1 -1
  638. package/dist/types/api/queries/users/getUsers.d.ts +0 -132
  639. package/dist/types/api/queries/users/updateUsers.d.ts +3 -3
  640. package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.d.ts +2 -4
  641. package/dist/types/components/DetailsPanelAttributes/components/RenderFieldWidget.d.ts +3 -0
  642. package/dist/types/components/DetailsPanelAttributes/index.d.ts +0 -1
  643. package/dist/types/components/DetailsPanelDetails/BorderedSection.d.ts +14 -0
  644. package/dist/types/components/DetailsPanelDetails/DescriptionSection.d.ts +10 -0
  645. package/dist/types/components/DetailsPanelDetails/DescriptionSection.styles.d.ts +10 -0
  646. package/dist/types/components/DetailsPanelDetails/DetailsPanelDetails.d.ts +6 -0
  647. package/dist/types/components/DetailsPanelDetails/DetailsSection.d.ts +1 -1
  648. package/dist/types/components/DetailsPanelDetails/FieldLabel.d.ts +11 -0
  649. package/dist/types/components/DetailsPanelDetails/hooks/index.d.ts +7 -0
  650. package/dist/types/components/DetailsPanelDetails/hooks/useDescriptionEditor.d.ts +17 -0
  651. package/dist/types/components/DetailsPanelDetails/hooks/useEntityData.d.ts +12 -0
  652. package/dist/types/components/DetailsPanelDetails/hooks/useEntityEditing.d.ts +10 -0
  653. package/dist/types/components/DetailsPanelDetails/hooks/useEntityFields.d.ts +16 -0
  654. package/dist/types/components/DetailsPanelDetails/hooks/useEntityFormData.d.ts +8 -0
  655. package/dist/types/components/DetailsPanelDetails/hooks/useQuillFormats.d.ts +1 -0
  656. package/dist/types/components/DetailsPanelDetails/index.d.ts +2 -0
  657. package/dist/types/components/DetailsPanelDetails/types.d.ts +20 -0
  658. package/dist/types/components/EnumEditor/EnumEditor.styled.d.ts +1 -1
  659. package/dist/types/components/LinksManager/CellEditingDialog.d.ts +8 -0
  660. package/dist/types/components/Powerpack/index.d.ts +0 -1
  661. package/dist/types/components/QuillListStyles/QuillListStyles.d.ts +5 -0
  662. package/dist/types/components/QuillListStyles/index.d.ts +1 -0
  663. package/dist/types/components/RenameForm/RenameForm.d.ts +21 -0
  664. package/dist/types/components/RenameForm/index.d.ts +1 -0
  665. package/dist/types/components/StyledLink/StyledLink.d.ts +2 -0
  666. package/dist/types/components/StyledLink/index.d.ts +1 -0
  667. package/dist/types/components/index.d.ts +2 -4
  668. package/dist/types/containers/Actions/ActionsDropdown/ActionsDropdown.styled.d.ts +1 -1
  669. package/dist/types/containers/DetailsPanel/DetailsPanel.styled.d.ts +0 -7
  670. package/dist/types/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.styled.d.ts +4 -4
  671. package/dist/types/containers/DetailsPanel/FeedContextWrapper.d.ts +19 -0
  672. package/dist/types/containers/Feed/components/ActivityVersions/ActivityVersions.styled.d.ts +1 -0
  673. package/dist/types/containers/Feed/components/CommentInput/modules/index.d.ts +2 -1
  674. package/dist/types/containers/ProjectTreeTable/buildTreeTableColumns.d.ts +1 -1
  675. package/dist/types/containers/ProjectTreeTable/context/ProjectDataContext.d.ts +2 -0
  676. package/dist/types/containers/ProjectTreeTable/context/clipboard/clipboardValidation.d.ts +10 -0
  677. package/dist/types/containers/ProjectTreeTable/hooks/useAttributesList.d.ts +5 -4
  678. package/dist/types/containers/ProjectTreeTable/hooks/useCellContextMenu.d.ts +1 -1
  679. package/dist/types/containers/ProjectTreeTable/types/table.d.ts +6 -0
  680. package/dist/types/containers/ProjectTreeTable/widgets/BooleanWidget.d.ts +0 -1
  681. package/dist/types/containers/ProjectTreeTable/widgets/CellWidget.d.ts +2 -1
  682. package/dist/types/containers/ProjectTreeTable/widgets/LinksWidget.d.ts +1 -0
  683. package/dist/types/containers/ProjectTreeTable/widgets/NameWidget.d.ts +10 -0
  684. package/dist/types/containers/ProjectTreeTable/widgets/TextWidget.d.ts +2 -0
  685. package/dist/types/containers/ProjectTreeTable/widgets/TextWidgetInput.d.ts +2 -0
  686. package/dist/types/containers/SimpleTable/SimpleTable.d.ts +0 -3
  687. package/dist/types/containers/SimpleTable/SimpleTableRowTemplate.d.ts +1 -5
  688. package/dist/types/containers/Views/index.d.ts +1 -4
  689. package/dist/types/context/DetailsPanelContext.d.ts +1 -1
  690. package/dist/types/context/PowerpackContext.d.ts +1 -1
  691. package/dist/types/hooks/index.d.ts +1 -0
  692. package/dist/types/hooks/useActionTriggers.d.ts +1 -1
  693. package/dist/types/hooks/useTagStyling.d.ts +17 -0
  694. package/dist/types/util/checkName.d.ts +1 -0
  695. package/dist/types/util/clipboardUtils.d.ts +18 -0
  696. package/dist/types/util/copyToClipboard.d.ts +1 -1
  697. package/dist/types/util/humanizeFieldName.d.ts +1 -0
  698. package/dist/types/util/index.d.ts +3 -0
  699. package/dist/types/util/parseHtmlToPlainTextWithLinks.d.ts +6 -0
  700. package/dist/util.cjs.js +1 -1
  701. package/dist/util.es.js +38 -32
  702. package/dist/util.es.js.map +1 -1
  703. package/package.json +1 -1
  704. package/dist/node_modules/vfile/lib/index.cjs.js +0 -2
  705. package/dist/node_modules/vfile/lib/index.cjs.js.map +0 -1
  706. package/dist/node_modules/vfile/lib/index.es.js.map +0 -1
  707. package/dist/node_modules/vfile/lib/minpath.browser.cjs.js.map +0 -1
  708. package/dist/node_modules/vfile/lib/minpath.browser.es.js.map +0 -1
  709. package/dist/node_modules/vfile/lib/minproc.browser.cjs.js.map +0 -1
  710. package/dist/node_modules/vfile/lib/minproc.browser.es.js.map +0 -1
  711. package/dist/node_modules/vfile/lib/minurl.browser.cjs.js.map +0 -1
  712. package/dist/node_modules/vfile/lib/minurl.browser.es.js.map +0 -1
  713. package/dist/node_modules/vfile/lib/minurl.shared.cjs.js.map +0 -1
  714. package/dist/node_modules/vfile/lib/minurl.shared.es.js.map +0 -1
  715. package/dist/node_modules/vfile/node_modules/unist-util-stringify-position/lib/index.es.js.map +0 -1
  716. package/dist/node_modules/vfile/node_modules/vfile-message/lib/index.es.js.map +0 -1
  717. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js +0 -2
  718. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js.map +0 -1
  719. package/dist/shared/src/components/AccessUser/AccessUser.es.js +0 -33
  720. package/dist/shared/src/components/AccessUser/AccessUser.es.js.map +0 -1
  721. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js +0 -42
  722. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js.map +0 -1
  723. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js +0 -46
  724. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js.map +0 -1
  725. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js +0 -34
  726. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.cjs.js.map +0 -1
  727. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js +0 -46
  728. package/dist/shared/src/components/DetailsMetaData/DetailsMetaData.es.js.map +0 -1
  729. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js +0 -2
  730. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js.map +0 -1
  731. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js +0 -287
  732. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js.map +0 -1
  733. package/dist/shared/src/components/LinksManager/LinksManagerDialog.cjs.js +0 -8
  734. package/dist/shared/src/components/LinksManager/LinksManagerDialog.cjs.js.map +0 -1
  735. package/dist/shared/src/components/LinksManager/LinksManagerDialog.es.js.map +0 -1
  736. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +0 -2
  737. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +0 -1
  738. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +0 -1
  739. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js +0 -2
  740. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js.map +0 -1
  741. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js +0 -25
  742. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js.map +0 -1
  743. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js +0 -9
  744. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js.map +0 -1
  745. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js +0 -25
  746. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js.map +0 -1
  747. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js +0 -2
  748. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js.map +0 -1
  749. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js +0 -17
  750. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js.map +0 -1
  751. package/dist/shared/src/hooks/useCustomProtocolCheck.cjs.js +0 -2
  752. package/dist/shared/src/hooks/useCustomProtocolCheck.cjs.js.map +0 -1
  753. package/dist/shared/src/hooks/useCustomProtocolCheck.es.js +0 -43
  754. package/dist/shared/src/hooks/useCustomProtocolCheck.es.js.map +0 -1
  755. package/dist/types/components/AccessUser/AccessUser.d.ts +0 -22
  756. package/dist/types/components/AccessUser/AccessUser.styled.d.ts +0 -1
  757. package/dist/types/components/AccessUser/index.d.ts +0 -1
  758. package/dist/types/components/DetailsMetaData/DetailsMetaData.d.ts +0 -8
  759. package/dist/types/components/DetailsMetaData/index.d.ts +0 -1
  760. package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributes.d.ts +0 -6
  761. package/dist/types/components/LinksManager/LinksManagerDialog.d.ts +0 -9
  762. package/dist/types/components/ListAttributeForm/ListAttributeForm.d.ts +0 -13
  763. package/dist/types/components/ListAttributeForm/index.d.ts +0 -1
  764. package/dist/types/components/ListMetaData/ListMetaData.d.ts +0 -8
  765. package/dist/types/components/ListMetaData/index.d.ts +0 -1
  766. package/dist/types/components/Powerpack/RequiredPowerpackVersion.d.ts +0 -5
  767. package/dist/types/components/ShareOptionIcon/ShareOptionIcon.d.ts +0 -10
  768. package/dist/types/components/ShareOptionIcon/index.d.ts +0 -2
  769. package/dist/types/hooks/useCustomProtocolCheck.d.ts +0 -10
  770. /package/dist/node_modules/{vfile → rehype}/node_modules/unist-util-stringify-position/lib/index.cjs.js +0 -0
  771. /package/dist/node_modules/{vfile → rehype}/node_modules/unist-util-stringify-position/lib/index.es.js +0 -0
  772. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minpath.browser.cjs.js +0 -0
  773. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minpath.browser.es.js +0 -0
  774. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minproc.browser.cjs.js +0 -0
  775. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minproc.browser.es.js +0 -0
  776. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.browser.cjs.js +0 -0
  777. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.browser.es.js +0 -0
  778. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.shared.cjs.js +0 -0
  779. /package/dist/node_modules/{vfile → rehype/node_modules/vfile}/lib/minurl.shared.es.js +0 -0
  780. /package/dist/node_modules/{vfile → rehype}/node_modules/vfile-message/lib/index.cjs.js +0 -0
  781. /package/dist/node_modules/{vfile → rehype}/node_modules/vfile-message/lib/index.es.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"views.cjs.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,OACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,OACR,KAAMA,EAAS,2BACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,QAASD,EAAM,MAAyC,CACtD,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,SACR,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,QACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"views.cjs.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload: OverviewViewPostModel | TaskProgressViewPostModel | ListsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload: OverviewViewPatchModel | TaskProgressViewPatchModel | ListsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n viewType?: 'lists'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,OACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,OACR,KAAMA,EAAS,2BACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,QAASD,EAAM,MAAyC,CACtD,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,SACR,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,QACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"views.es.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,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;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"views.es.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload: OverviewViewPostModel | TaskProgressViewPostModel | ListsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload: OverviewViewPatchModel | TaskProgressViewPatchModel | ListsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n access: object\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n viewType?: 'lists'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,SAA0D;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,SAASD,EAAM,MAAyC;AAAA,MACtD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../base/client.cjs.js");const v=require("../../generated/graphql.cjs.js");require("../../generated/graphqlLinks.cjs.js");require("../../generated/access.cjs.js");require("../../generated/actions.cjs.js");require("../../generated/activityFeed.cjs.js");require("../../generated/addons.cjs.js");require("../../generated/anatomy.cjs.js");require("../../generated/attributes.cjs.js");require("../../generated/authentication.cjs.js");require("../../generated/bundles.cjs.js");require("../../generated/configuration.cjs.js");require("../../generated/desktop.cjs.js");const b=require("../../generated/entityLists.cjs.js");require("../../generated/events.cjs.js");require("../../generated/files.cjs.js");require("../../generated/folders.cjs.js");require("../../generated/inbox.cjs.js");require("../../generated/links.cjs.js");require("../../generated/market.cjs.js");require("../../generated/onboarding.cjs.js");require("../../generated/operations.cjs.js");require("../../generated/products.cjs.js");require("../../generated/projectDashboard.cjs.js");require("../../generated/projects.cjs.js");require("../../generated/reviewables.cjs.js");require("../../generated/services.cjs.js");require("../../generated/system.cjs.js");require("../../generated/tasks.cjs.js");require("../../generated/teams.cjs.js");require("../../generated/thumbnails.cjs.js");require("../../generated/uRIs.cjs.js");require("../../generated/users.cjs.js");require("../../generated/versions.cjs.js");require("../../generated/workfiles.cjs.js");require("../../generated/ynputCloud.cjs.js");require("../../generated/grouping.cjs.js");require("../../generated/views.cjs.js");const S=require("../overview/getOverview.cjs.js");require("../overview/updateOverview.cjs.js");require("../links/getEntityLinks.cjs.js");require("lodash");require("react-toastify");require("uuid");const f=require("../../../util/pubsub.cjs.js"),T=i=>{if(!i)return{};try{return typeof i!="string"?i??{}:JSON.parse(i)}catch(e){return console.warn("Failed to parse entity list data field:",e),{}}},E=500,h=100,q=v.api.enhanceEndpoints({endpoints:{GetLists:{transformResponse:i=>({lists:i.project.entityLists.edges.map(e=>({...e.node,data:T(e.node.data)})),pageInfo:i.project.entityLists.pageInfo})},GetListItems:{transformResponse:i=>({items:i.project.entityLists.edges.flatMap(e=>e.node.items.edges.map(({node:t,...n})=>({...t,...n,attrib:S.parseAllAttribs(n.allAttrib)}))),pageInfo:i.project.entityLists.edges[0].node.items.pageInfo})},GetListsItemsForReviewSession:{transformResponse:i=>({lists:i.project.entityLists.edges.map(e=>e.node),pageInfo:i.project.entityLists.pageInfo})}}}),R=q.injectEndpoints({endpoints:i=>({getListsInfinite:i.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:e=>{const{pageInfo:t}=e;if(!(!t.hasNextPage||!t.endCursor))return{cursor:t.endCursor}}},queryFn:async({queryArg:e,pageParam:t},n)=>{try{const{cursor:r}=t,s={...e,first:E,after:r||void 0},a=await n.dispatch(q.endpoints.GetLists.initiate(s,{forceRefetch:!0}));if(a.error)throw a.error;return{data:a.data||{lists:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(r){return console.error("Error in getListsInfinite queryFn:",r),{error:{status:"FETCH_ERROR",error:r.message}}}},providesTags:e=>[{type:"entityList",id:"LIST"},...((e==null?void 0:e.pages.flatMap(t=>t.lists))||[]).map(t=>({type:"entityList",id:t.id})),...((e==null?void 0:e.pages.flatMap(t=>t.lists))||[]).map(t=>({type:"entityList",id:t.entityListType}))],async onCacheEntryAdded(e,{cacheDataLoaded:t,cacheEntryRemoved:n,dispatch:r,updateCachedData:s}){let a;try{await t;const u=(o,c)=>{if(o!=="entity_list.changed")return;const d=c.summary,g=d.id;g&&(s(l=>{const p=l.pages.flatMap(L=>L.lists).find(L=>L.id===g);if(!p)return;const I={...p,label:d.label,entityType:d.entity_type,entityListType:d.entity_list_type,count:d.count};Object.assign(p,I)}),r(v.api.util.invalidateTags([{type:"entityList",id:"LIST"}])))};a=f.subscribe("entity_list.changed",u)}catch{}await n,f.unsubscribe(a)}}),getListItemsInfinite:i.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:e=>{const{pageInfo:t}=e;if(!(!t.hasNextPage||!t.endCursor))return{cursor:t.endCursor}}},queryFn:async({queryArg:e,pageParam:t},n)=>{try{const{sortBy:r,desc:s,...a}=e,{cursor:u}=t,o={...a,first:h,after:u||void 0};o.after=u||void 0,o.first=h,r&&(o.sortBy=r,s&&(o.before=u||void 0,o.after=void 0,o.last=h,o.first=void 0));const c=await n.dispatch(q.endpoints.GetListItems.initiate(o,{forceRefetch:!0}));if(c.error)throw c.error;return{data:c.data||{items:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(r){return console.error("Error in getListsInfinite queryFn:",r),{error:{status:"FETCH_ERROR",error:r.message}}}},providesTags:(e,t,{listId:n,projectName:r})=>[{type:"entityListItem",id:"LIST"},{type:"entityListItem",id:n},{type:"entityListItem",id:r},...((e==null?void 0:e.pages.flatMap(s=>s.items))||[]).filter(s=>!!s).flatMap(s=>[{type:"entityListItem",id:s.id},{type:"entityListItem",id:s.entityId}])],async onCacheEntryAdded(e,{cacheDataLoaded:t,cacheEntryRemoved:n,dispatch:r}){var u;let s,a;try{const g=(u=(await t).data.pages.flatMap(y=>y.items)[0])==null?void 0:u.entityType,l="entity_list.changed",p=`entity.${g}`,I=y=>{r(v.api.util.invalidateTags([{type:"entityListItem",id:y}]))},L=(y,P)=>{if(y!==l)return;const m=P.summary.id;m&&I(m)},G=(y,P)=>{if(!y.startsWith(p))return;const m=P.summary.entityId;m&&I(m)};s=f.subscribe(l,L),g&&(a=f.subscribe(p,G))}catch{}await n,f.unsubscribe(s),f.unsubscribe(a)}}),getListsItemsForReviewSession:i.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:e=>{const{pageInfo:t}=e;if(!(!t.hasNextPage||!t.endCursor))return{cursor:t.endCursor}}},queryFn:async({queryArg:e,pageParam:t},n)=>{try{const{cursor:r}=t,s={...e,first:E,after:r||void 0},a=await n.dispatch(q.endpoints.GetListsItemsForReviewSession.initiate(s,{forceRefetch:!0}));if(a.error)throw a.error;return{data:a.data||{lists:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(r){return console.error("Error in getListsInfinite queryFn:",r),{error:{status:"FETCH_ERROR",error:r.message}}}},providesTags:e=>[{type:"entityList",id:"LIST"},...((e==null?void 0:e.pages.flatMap(t=>t.lists))||[]).map(t=>({type:"entityList",id:t.id}))]})})}),w=b.api.enhanceEndpoints({endpoints:{getEntityList:{transformResponse:i=>({...i,data:T(i.data)}),providesTags:(i,e,{listId:t,projectName:n})=>[{type:"entityList",id:t},{type:"entityList",id:n},...i?[{type:"entityList",id:i.entityListType}]:[]]}}}),{useGetListsInfiniteInfiniteQuery:Q,useGetListItemsInfiniteInfiniteQuery:C,useGetListsItemsForReviewSessionInfiniteQuery:F,useLazyGetListsQuery:M,useLazyGetListsItemsForReviewSessionQuery:A,useLazyGetListItemsQuery:j}=R,{useGetEntityListQuery:N}=w;exports.LISTS_PER_PAGE=E;exports.LIST_ITEMS_PER_PAGE=h;exports.default=R;exports.useGetEntityListQuery=N;exports.useGetListItemsInfiniteInfiniteQuery=C;exports.useGetListsInfiniteInfiniteQuery=Q;exports.useGetListsItemsForReviewSessionInfiniteQuery=F;exports.useLazyGetListItemsQuery=j;exports.useLazyGetListsItemsForReviewSessionQuery=A;exports.useLazyGetListsQuery=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../base/client.cjs.js");const v=require("../../generated/graphql.cjs.js");require("../../generated/graphqlLinks.cjs.js");require("../../generated/access.cjs.js");require("../../generated/actions.cjs.js");require("../../generated/activityFeed.cjs.js");require("../../generated/addons.cjs.js");require("../../generated/anatomy.cjs.js");require("../../generated/attributes.cjs.js");require("../../generated/authentication.cjs.js");require("../../generated/bundles.cjs.js");require("../../generated/configuration.cjs.js");require("../../generated/desktop.cjs.js");require("../../generated/entityLists.cjs.js");require("../../generated/events.cjs.js");require("../../generated/files.cjs.js");require("../../generated/folders.cjs.js");require("../../generated/inbox.cjs.js");require("../../generated/links.cjs.js");require("../../generated/market.cjs.js");require("../../generated/onboarding.cjs.js");require("../../generated/operations.cjs.js");require("../../generated/products.cjs.js");require("../../generated/projectDashboard.cjs.js");require("../../generated/projects.cjs.js");require("../../generated/reviewables.cjs.js");require("../../generated/services.cjs.js");require("../../generated/system.cjs.js");require("../../generated/tasks.cjs.js");require("../../generated/teams.cjs.js");require("../../generated/thumbnails.cjs.js");require("../../generated/uRIs.cjs.js");require("../../generated/users.cjs.js");require("../../generated/versions.cjs.js");require("../../generated/workfiles.cjs.js");require("../../generated/ynputCloud.cjs.js");require("../../generated/grouping.cjs.js");require("../../generated/views.cjs.js");const _=require("../overview/getOverview.cjs.js");require("../overview/updateOverview.cjs.js");require("../links/getEntityLinks.cjs.js");require("lodash");require("react-toastify");require("uuid");const p=require("../../../util/pubsub.cjs.js"),T=500,h=100,q=v.api.enhanceEndpoints({endpoints:{GetLists:{transformResponse:a=>({lists:a.project.entityLists.edges.map(t=>t.node),pageInfo:a.project.entityLists.pageInfo})},GetListItems:{transformResponse:a=>({items:a.project.entityLists.edges.flatMap(t=>t.node.items.edges.map(({node:e,...n})=>({...e,...n,attrib:_.parseAllAttribs(n.allAttrib)}))),pageInfo:a.project.entityLists.edges[0].node.items.pageInfo})},GetListsItemsForReviewSession:{transformResponse:a=>({lists:a.project.entityLists.edges.map(t=>t.node),pageInfo:a.project.entityLists.pageInfo})}}}),R=q.injectEndpoints({endpoints:a=>({getListsInfinite:a.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:t=>{const{pageInfo:e}=t;if(!(!e.hasNextPage||!e.endCursor))return{cursor:e.endCursor}}},queryFn:async({queryArg:t,pageParam:e},n)=>{try{const{cursor:i}=e,r={...t,first:T,after:i||void 0},s=await n.dispatch(q.endpoints.GetLists.initiate(r,{forceRefetch:!0}));if(s.error)throw s.error;return{data:s.data||{lists:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(i){return console.error("Error in getListsInfinite queryFn:",i),{error:{status:"FETCH_ERROR",error:i.message}}}},providesTags:t=>[{type:"entityList",id:"LIST"},...((t==null?void 0:t.pages.flatMap(e=>e.lists))||[]).map(e=>({type:"entityList",id:e.id})),...((t==null?void 0:t.pages.flatMap(e=>e.lists))||[]).map(e=>({type:"entityList",id:e.entityListType}))],async onCacheEntryAdded(t,{cacheDataLoaded:e,cacheEntryRemoved:n,dispatch:i,updateCachedData:r}){let s;try{await e;const u=(o,c)=>{if(o!=="entity_list.changed")return;const d=c.summary,g=d.id;g&&(r(I=>{const f=I.pages.flatMap(m=>m.lists).find(m=>m.id===g);if(!f)return;const l={...f,label:d.label,entityType:d.entity_type,entityListType:d.entity_list_type,count:d.count};Object.assign(f,l)}),i(v.api.util.invalidateTags([{type:"entityList",id:"LIST"}])))};s=p.subscribe("entity_list.changed",u)}catch{}await n,p.unsubscribe(s)}}),getListItemsInfinite:a.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:t=>{const{pageInfo:e}=t;if(!(!e.hasNextPage||!e.endCursor))return{cursor:e.endCursor}}},queryFn:async({queryArg:t,pageParam:e},n)=>{try{const{sortBy:i,desc:r,...s}=t,{cursor:u}=e,o={...s,first:h,after:u||void 0};o.after=u||void 0,o.first=h,i&&(o.sortBy=i,r&&(o.before=u||void 0,o.after=void 0,o.last=h,o.first=void 0));const c=await n.dispatch(q.endpoints.GetListItems.initiate(o,{forceRefetch:!0}));if(c.error)throw c.error;return{data:c.data||{items:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(i){return console.error("Error in getListsInfinite queryFn:",i),{error:{status:"FETCH_ERROR",error:i.message}}}},providesTags:(t,e,{listId:n,projectName:i})=>[{type:"entityListItem",id:"LIST"},{type:"entityListItem",id:n},{type:"entityListItem",id:i},...((t==null?void 0:t.pages.flatMap(r=>r.items))||[]).filter(r=>!!r).flatMap(r=>[{type:"entityListItem",id:r.id},{type:"entityListItem",id:r.entityId}])],async onCacheEntryAdded(t,{cacheDataLoaded:e,cacheEntryRemoved:n,dispatch:i}){var u;let r,s;try{const g=(u=(await e).data.pages.flatMap(y=>y.items)[0])==null?void 0:u.entityType,I="entity_list.changed",f=`entity.${g}`,l=y=>{i(v.api.util.invalidateTags([{type:"entityListItem",id:y}]))},m=(y,P)=>{if(y!==I)return;const L=P.summary.id;L&&l(L)},E=(y,P)=>{if(!y.startsWith(f))return;const L=P.summary.entityId;L&&l(L)};r=p.subscribe(I,m),g&&(s=p.subscribe(f,E))}catch{}await n,p.unsubscribe(r),p.unsubscribe(s)}}),getListsItemsForReviewSession:a.infiniteQuery({infiniteQueryOptions:{initialPageParam:{cursor:""},getNextPageParam:t=>{const{pageInfo:e}=t;if(!(!e.hasNextPage||!e.endCursor))return{cursor:e.endCursor}}},queryFn:async({queryArg:t,pageParam:e},n)=>{try{const{cursor:i}=e,r={...t,first:T,after:i||void 0},s=await n.dispatch(q.endpoints.GetListsItemsForReviewSession.initiate(r,{forceRefetch:!0}));if(s.error)throw s.error;return{data:s.data||{lists:[],pageInfo:{hasNextPage:!1,endCursor:null,startCursor:null,hasPreviousPage:!1}}}}catch(i){return console.error("Error in getListsInfinite queryFn:",i),{error:{status:"FETCH_ERROR",error:i.message}}}},providesTags:t=>[{type:"entityList",id:"LIST"},...((t==null?void 0:t.pages.flatMap(e=>e.lists))||[]).map(e=>({type:"entityList",id:e.id}))]})})}),{useGetListsInfiniteInfiniteQuery:b,useGetListItemsInfiniteInfiniteQuery:S,useGetListsItemsForReviewSessionInfiniteQuery:w,useLazyGetListsQuery:Q,useLazyGetListsItemsForReviewSessionQuery:C,useLazyGetListItemsQuery:F}=R;exports.LISTS_PER_PAGE=T;exports.LIST_ITEMS_PER_PAGE=h;exports.default=R;exports.useGetListItemsInfiniteInfiniteQuery=S;exports.useGetListsInfiniteInfiniteQuery=b;exports.useGetListsItemsForReviewSessionInfiniteQuery=w;exports.useLazyGetListItemsQuery=F;exports.useLazyGetListsItemsForReviewSessionQuery=C;exports.useLazyGetListsQuery=Q;
2
2
  //# sourceMappingURL=getLists.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLists.cjs.js","sources":["../../../../../../src/api/queries/entityLists/getLists.ts"],"sourcesContent":["import { entityListsApi, gqlApi } from '@shared/api/generated'\nimport {\n FetchBaseQueryError,\n DefinitionsFromApi,\n OverrideResultType,\n TagTypesFromApi,\n} from '@reduxjs/toolkit/query'\nimport type {\n GetListItemsQuery,\n GetListItemsQueryVariables,\n GetListsItemsForReviewSessionQuery,\n GetListsItemsForReviewSessionResult,\n GetListsQuery,\n GetListsQueryVariables,\n} from '@shared/api'\nimport { parseAllAttribs } from '../overview'\nimport { PubSub } from '@shared/util'\nimport {\n GetListItemsResult,\n GetListsResult,\n ListItemMessage,\n ListItemsPageParam,\n ListsPageParam,\n} from './types'\n\n// Helper function to safely parse entity list data field from JSON string to object\nconst parseEntityListData = (data: string | null | undefined): Record<string, any> => {\n if (!data) return {}\n\n try {\n if (typeof data !== 'string') {\n return (data as unknown as Record<string, any>) ?? {}\n }\n return JSON.parse(data)\n } catch (e) {\n console.warn('Failed to parse entity list data field:', e)\n return {}\n }\n}\n\n// GRAPHQL API (getLists and getListItems)\n// Define the LISTS_PER_PAGE constant for pagination\nexport const LISTS_PER_PAGE = 500\nexport const LIST_ITEMS_PER_PAGE = 100\n\ntype Definitions = DefinitionsFromApi<typeof gqlApi>\ntype TagTypes = TagTypesFromApi<typeof gqlApi>\n// update the definitions to include the new types\ntype UpdatedDefinitions = Omit<Definitions, 'GetLists' | 'GetListItems'> & {\n GetLists: OverrideResultType<Definitions['GetLists'], GetListsResult>\n GetListItems: OverrideResultType<Definitions['GetListItems'], GetListItemsResult>\n GetListsItemsForReviewSession: OverrideResultType<\n Definitions['GetListsItemsForReviewSession'],\n GetListsItemsForReviewSessionResult\n >\n}\n\nconst getListsGqlApiEnhanced = gqlApi.enhanceEndpoints<TagTypes, UpdatedDefinitions>({\n endpoints: {\n GetLists: {\n transformResponse: (response: GetListsQuery): GetListsResult => {\n return {\n // @ts-expect-error - entityType is string\n lists: response.project.entityLists.edges.map((edge) => ({\n ...edge.node,\n data: parseEntityListData(edge.node.data),\n })),\n pageInfo: response.project.entityLists.pageInfo,\n }\n },\n },\n GetListItems: {\n transformResponse: (response: GetListItemsQuery): GetListItemsResult => {\n return {\n items: response.project.entityLists.edges.flatMap((listEdge) =>\n listEdge.node.items.edges.map(({ node, ...edge }) => {\n return {\n ...node,\n ...edge,\n attrib: parseAllAttribs(edge.allAttrib),\n } as GetListItemsResult['items'][number]\n }),\n ),\n pageInfo: response.project.entityLists.edges[0].node.items.pageInfo,\n }\n },\n },\n GetListsItemsForReviewSession: {\n transformResponse: (\n response: GetListsItemsForReviewSessionQuery,\n ): GetListsItemsForReviewSessionResult => {\n return {\n lists: response.project.entityLists.edges.map((edge) => edge.node),\n pageInfo: response.project.entityLists.pageInfo,\n }\n },\n },\n },\n})\n\nconst getListsGqlApiInjected = getListsGqlApiEnhanced.injectEndpoints({\n endpoints: (build) => ({\n getListsInfinite: build.infiniteQuery<\n GetListsResult,\n Omit<GetListsQueryVariables, 'first' | 'after' | 'before'>,\n ListsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams = {\n ...queryArg,\n first: LISTS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetLists.initiate(queryParams, { forceRefetch: true }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n lists: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result) => [\n { type: 'entityList', id: 'LIST' },\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.id,\n })),\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.entityListType,\n })),\n ],\n async onCacheEntryAdded(\n _args,\n { cacheDataLoaded, cacheEntryRemoved, dispatch, updateCachedData },\n ) {\n let token\n try {\n // wait for the initial query to resolve before proceeding\n await cacheDataLoaded\n\n const handlePubSub = (topic: string, message: ListItemMessage) => {\n if (topic !== 'entity_list.changed') return\n const summary = message.summary\n const id = summary.id\n if (!id) return\n\n // We have all the data we need to update the cache\n updateCachedData((draft) => {\n const list = draft.pages.flatMap((page) => page.lists).find((l) => l.id === id)\n if (!list) return\n const newList = {\n ...list,\n label: summary.label,\n entityType: summary.entity_type,\n entityListType: summary.entity_list_type,\n count: summary.count,\n }\n\n Object.assign(list, newList)\n })\n // NOTE: We have to invalidate here as we don't know if other fields are updated not included in the updateCachedData\n // invalidates lists list cache\n dispatch(gqlApi.util.invalidateTags([{ type: 'entityList', id: `LIST` }]))\n }\n\n // sub to websocket topic\n token = PubSub.subscribe('entity_list.changed', handlePubSub)\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n PubSub.unsubscribe(token)\n },\n }),\n getListItemsInfinite: build.infiniteQuery<\n GetListItemsResult,\n Omit<GetListItemsQueryVariables, 'first' | 'after' | 'before' | 'last'> & { desc?: boolean },\n ListItemsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { sortBy, desc, ...rest } = queryArg\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams: GetListItemsQueryVariables = {\n ...rest,\n first: LIST_ITEMS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Add cursor-based pagination\n queryParams.after = cursor || undefined\n queryParams.first = LIST_ITEMS_PER_PAGE\n\n if (sortBy) {\n queryParams.sortBy = sortBy\n if (desc) {\n queryParams.before = cursor || undefined\n queryParams.after = undefined\n queryParams.last = LIST_ITEMS_PER_PAGE\n queryParams.first = undefined\n }\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetListItems.initiate(queryParams, {\n forceRefetch: true,\n }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n items: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result, _e, { listId, projectName }) => [\n { type: 'entityListItem', id: 'LIST' },\n { type: 'entityListItem', id: listId },\n { type: 'entityListItem', id: projectName },\n ...(result?.pages.flatMap((page) => page.items) || [])\n .filter((i) => !!i)\n .flatMap((item) => [\n {\n type: 'entityListItem',\n id: item.id,\n },\n {\n type: 'entityListItem',\n id: item.entityId,\n },\n ]),\n ],\n async onCacheEntryAdded(_args, { cacheDataLoaded, cacheEntryRemoved, dispatch }) {\n let token, token2\n try {\n // wait for the initial query to resolve before proceeding\n const cache = await cacheDataLoaded\n const pages = cache.data.pages\n const items = pages.flatMap((page) => page.items)\n // get entityType of first item\n const entityType = items[0]?.entityType\n\n const listTopic = `entity_list.changed`\n const entityTypeTopic = `entity.${entityType}`\n\n const invalidateListItems = (id: string) => {\n dispatch(gqlApi.util.invalidateTags([{ type: 'entityListItem', id: id }]))\n }\n\n const handleListMessage = (topic: string, message: ListItemMessage) => {\n if (topic !== listTopic) return\n const summary = message.summary\n const id = summary.id\n if (!id) return\n invalidateListItems(id)\n }\n\n const handleEntityMessage = (topic: string, message: ListItemMessage) => {\n if (!topic.startsWith(entityTypeTopic)) return\n const summary = message.summary\n const id = summary.entityId\n // check for id\n if (!id) return\n invalidateListItems(id)\n }\n\n // sub to websocket topic\n token = PubSub.subscribe(listTopic, handleListMessage)\n if (entityType) token2 = PubSub.subscribe(entityTypeTopic, handleEntityMessage)\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n PubSub.unsubscribe(token)\n PubSub.unsubscribe(token2)\n },\n }),\n getListsItemsForReviewSession: build.infiniteQuery<\n GetListsItemsForReviewSessionResult,\n Omit<GetListsQueryVariables, 'first' | 'after' | 'before' | 'filter'>,\n ListsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams = {\n ...queryArg,\n first: LISTS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetListsItemsForReviewSession.initiate(queryParams, {\n forceRefetch: true,\n }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n lists: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result) => [\n { type: 'entityList', id: 'LIST' },\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.id,\n })),\n ],\n }),\n }),\n})\n\nconst getListsApiEnhanced = entityListsApi.enhanceEndpoints({\n endpoints: {\n getEntityList: {\n transformResponse: (response: any) => {\n return {\n ...response,\n data: parseEntityListData(response.data),\n }\n },\n providesTags: (result, _e, { listId, projectName }) => [\n { type: 'entityList', id: listId },\n { type: 'entityList', id: projectName },\n ...(result ? [{ type: 'entityList', id: result.entityListType }] : []),\n ],\n },\n },\n})\n\nexport default getListsGqlApiInjected\n\nexport const {\n useGetListsInfiniteInfiniteQuery,\n useGetListItemsInfiniteInfiniteQuery,\n useGetListsItemsForReviewSessionInfiniteQuery,\n useLazyGetListsQuery,\n useLazyGetListsItemsForReviewSessionQuery,\n useLazyGetListItemsQuery,\n} = getListsGqlApiInjected\n\nexport const { useGetEntityListQuery } = getListsApiEnhanced\n"],"names":["parseEntityListData","data","LISTS_PER_PAGE","LIST_ITEMS_PER_PAGE","getListsGqlApiEnhanced","gqlApi","response","edge","listEdge","node","parseAllAttribs","getListsGqlApiInjected","build","lastPage","pageInfo","queryArg","pageParam","api","cursor","queryParams","result","e","page","list","_args","cacheDataLoaded","cacheEntryRemoved","dispatch","updateCachedData","token","handlePubSub","topic","message","summary","id","draft","l","newList","PubSub","sortBy","desc","rest","_e","listId","projectName","i","item","token2","entityType","_a","listTopic","entityTypeTopic","invalidateListItems","handleListMessage","handleEntityMessage","getListsApiEnhanced","entityListsApi","useGetListsInfiniteInfiniteQuery","useGetListItemsInfiniteInfiniteQuery","useGetListsItemsForReviewSessionInfiniteQuery","useLazyGetListsQuery","useLazyGetListsItemsForReviewSessionQuery","useLazyGetListItemsQuery","useGetEntityListQuery"],"mappings":"88DA0BMA,EAAuBC,GAAyD,CAChF,GAAA,CAACA,EAAM,MAAO,CAAC,EAEf,GAAA,CACE,OAAA,OAAOA,GAAS,SACVA,GAA2C,CAAC,EAE/C,KAAK,MAAMA,CAAI,QACf,EAAG,CACF,eAAA,KAAK,0CAA2C,CAAC,EAClD,CAAC,CAAA,CAEZ,EAIaC,EAA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c,GAAID,CAAO,EACjC,CAAE,KAAM,aAAc,GAAIC,CAAY,EACtC,GAAIxB,EAAS,CAAC,CAAE,KAAM,aAAc,GAAIA,EAAO,cAAA,CAAgB,EAAI,CAAA,CAAC,CACtE,CACF,CAEJ,CAAC,EAIY,CACX,iCAAAqC,EACA,qCAAAC,EACA,8CAAAC,EACA,qBAAAC,EACA,0CAAAC,EACA,yBAAAC,CACF,EAAInD,EAES,CAAE,sBAAAoD,GAA0BR"}
1
+ {"version":3,"file":"getLists.cjs.js","sources":["../../../../../../src/api/queries/entityLists/getLists.ts"],"sourcesContent":["import { gqlApi } from '@shared/api/generated'\nimport {\n FetchBaseQueryError,\n DefinitionsFromApi,\n OverrideResultType,\n TagTypesFromApi,\n} from '@reduxjs/toolkit/query'\nimport type {\n GetListItemsQuery,\n GetListItemsQueryVariables,\n GetListsItemsForReviewSessionQuery,\n GetListsItemsForReviewSessionResult,\n GetListsQuery,\n GetListsQueryVariables,\n} from '@shared/api'\nimport { parseAllAttribs } from '../overview'\nimport { PubSub } from '@shared/util'\nimport {\n GetListItemsResult,\n GetListsResult,\n ListItemMessage,\n ListItemsPageParam,\n ListsPageParam,\n} from './types'\n\n// GRAPHQL API (getLists and getListItems)\n// Define the LISTS_PER_PAGE constant for pagination\nexport const LISTS_PER_PAGE = 500\nexport const LIST_ITEMS_PER_PAGE = 100\n\ntype Definitions = DefinitionsFromApi<typeof gqlApi>\ntype TagTypes = TagTypesFromApi<typeof gqlApi>\n// update the definitions to include the new types\ntype UpdatedDefinitions = Omit<Definitions, 'GetLists' | 'GetListItems'> & {\n GetLists: OverrideResultType<Definitions['GetLists'], GetListsResult>\n GetListItems: OverrideResultType<Definitions['GetListItems'], GetListItemsResult>\n GetListsItemsForReviewSession: OverrideResultType<\n Definitions['GetListsItemsForReviewSession'],\n GetListsItemsForReviewSessionResult\n >\n}\n\nconst getListsGqlApiEnhanced = gqlApi.enhanceEndpoints<TagTypes, UpdatedDefinitions>({\n endpoints: {\n GetLists: {\n transformResponse: (response: GetListsQuery): GetListsResult => {\n return {\n // @ts-expect-error - entityType is string\n lists: response.project.entityLists.edges.map((edge) => edge.node),\n pageInfo: response.project.entityLists.pageInfo,\n }\n },\n },\n GetListItems: {\n transformResponse: (response: GetListItemsQuery): GetListItemsResult => {\n return {\n items: response.project.entityLists.edges.flatMap((listEdge) =>\n listEdge.node.items.edges.map(({ node, ...edge }) => {\n return {\n ...node,\n ...edge,\n attrib: parseAllAttribs(edge.allAttrib),\n } as GetListItemsResult['items'][number]\n }),\n ),\n pageInfo: response.project.entityLists.edges[0].node.items.pageInfo,\n }\n },\n },\n GetListsItemsForReviewSession: {\n transformResponse: (\n response: GetListsItemsForReviewSessionQuery,\n ): GetListsItemsForReviewSessionResult => {\n return {\n lists: response.project.entityLists.edges.map((edge) => edge.node),\n pageInfo: response.project.entityLists.pageInfo,\n }\n },\n },\n },\n})\n\nconst getListsGqlApiInjected = getListsGqlApiEnhanced.injectEndpoints({\n endpoints: (build) => ({\n getListsInfinite: build.infiniteQuery<\n GetListsResult,\n Omit<GetListsQueryVariables, 'first' | 'after' | 'before'>,\n ListsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams = {\n ...queryArg,\n first: LISTS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetLists.initiate(queryParams, { forceRefetch: true }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n lists: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result) => [\n { type: 'entityList', id: 'LIST' },\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.id,\n })),\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.entityListType,\n })),\n ],\n async onCacheEntryAdded(\n _args,\n { cacheDataLoaded, cacheEntryRemoved, dispatch, updateCachedData },\n ) {\n let token\n try {\n // wait for the initial query to resolve before proceeding\n await cacheDataLoaded\n\n const handlePubSub = (topic: string, message: ListItemMessage) => {\n if (topic !== 'entity_list.changed') return\n const summary = message.summary\n const id = summary.id\n if (!id) return\n\n // We have all the data we need to update the cache\n updateCachedData((draft) => {\n const list = draft.pages.flatMap((page) => page.lists).find((l) => l.id === id)\n if (!list) return\n const newList = {\n ...list,\n label: summary.label,\n entityType: summary.entity_type,\n entityListType: summary.entity_list_type,\n count: summary.count,\n }\n\n Object.assign(list, newList)\n })\n // NOTE: We have to invalidate here as we don't know if other fields are updated not included in the updateCachedData\n // invalidates lists list cache\n dispatch(gqlApi.util.invalidateTags([{ type: 'entityList', id: `LIST` }]))\n }\n\n // sub to websocket topic\n token = PubSub.subscribe('entity_list.changed', handlePubSub)\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n PubSub.unsubscribe(token)\n },\n }),\n getListItemsInfinite: build.infiniteQuery<\n GetListItemsResult,\n Omit<GetListItemsQueryVariables, 'first' | 'after' | 'before' | 'last'> & { desc?: boolean },\n ListItemsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { sortBy, desc, ...rest } = queryArg\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams: GetListItemsQueryVariables = {\n ...rest,\n first: LIST_ITEMS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Add cursor-based pagination\n queryParams.after = cursor || undefined\n queryParams.first = LIST_ITEMS_PER_PAGE\n\n if (sortBy) {\n queryParams.sortBy = sortBy\n if (desc) {\n queryParams.before = cursor || undefined\n queryParams.after = undefined\n queryParams.last = LIST_ITEMS_PER_PAGE\n queryParams.first = undefined\n }\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetListItems.initiate(queryParams, {\n forceRefetch: true,\n }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n items: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result, _e, { listId, projectName }) => [\n { type: 'entityListItem', id: 'LIST' },\n { type: 'entityListItem', id: listId },\n { type: 'entityListItem', id: projectName },\n ...(result?.pages.flatMap((page) => page.items) || [])\n .filter((i) => !!i)\n .flatMap((item) => [\n {\n type: 'entityListItem',\n id: item.id,\n },\n {\n type: 'entityListItem',\n id: item.entityId,\n },\n ]),\n ],\n async onCacheEntryAdded(_args, { cacheDataLoaded, cacheEntryRemoved, dispatch }) {\n let token, token2\n try {\n // wait for the initial query to resolve before proceeding\n const cache = await cacheDataLoaded\n const pages = cache.data.pages\n const items = pages.flatMap((page) => page.items)\n // get entityType of first item\n const entityType = items[0]?.entityType\n\n const listTopic = `entity_list.changed`\n const entityTypeTopic = `entity.${entityType}`\n\n const invalidateListItems = (id: string) => {\n dispatch(gqlApi.util.invalidateTags([{ type: 'entityListItem', id: id }]))\n }\n\n const handleListMessage = (topic: string, message: ListItemMessage) => {\n if (topic !== listTopic) return\n const summary = message.summary\n const id = summary.id\n if (!id) return\n invalidateListItems(id)\n }\n\n const handleEntityMessage = (topic: string, message: ListItemMessage) => {\n if (!topic.startsWith(entityTypeTopic)) return\n const summary = message.summary\n const id = summary.entityId\n // check for id\n if (!id) return\n invalidateListItems(id)\n }\n\n // sub to websocket topic\n token = PubSub.subscribe(listTopic, handleListMessage)\n if (entityType) token2 = PubSub.subscribe(entityTypeTopic, handleEntityMessage)\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n PubSub.unsubscribe(token)\n PubSub.unsubscribe(token2)\n },\n }),\n getListsItemsForReviewSession: build.infiniteQuery<\n GetListsItemsForReviewSessionResult,\n Omit<GetListsQueryVariables, 'first' | 'after' | 'before' | 'filter'>,\n ListsPageParam\n >({\n infiniteQueryOptions: {\n initialPageParam: { cursor: '' },\n getNextPageParam: (lastPage) => {\n const { pageInfo } = lastPage\n if (!pageInfo.hasNextPage || !pageInfo.endCursor) return undefined\n\n return {\n cursor: pageInfo.endCursor,\n }\n },\n },\n queryFn: async ({ queryArg, pageParam }, api) => {\n try {\n const { cursor } = pageParam\n\n // Build the query parameters for GetLists\n const queryParams = {\n ...queryArg,\n first: LISTS_PER_PAGE,\n after: cursor || undefined,\n }\n\n // Call the existing GetLists endpoint\n const result = await api.dispatch(\n getListsGqlApiEnhanced.endpoints.GetListsItemsForReviewSession.initiate(queryParams, {\n forceRefetch: true,\n }),\n )\n\n if (result.error) throw result.error\n\n return {\n data: result.data || {\n lists: [],\n pageInfo: {\n hasNextPage: false,\n endCursor: null,\n startCursor: null,\n hasPreviousPage: false,\n },\n },\n }\n } catch (e: any) {\n console.error('Error in getListsInfinite queryFn:', e)\n return { error: { status: 'FETCH_ERROR', error: e.message } as FetchBaseQueryError }\n }\n },\n providesTags: (result) => [\n { type: 'entityList', id: 'LIST' },\n ...(result?.pages.flatMap((page) => page.lists) || []).map((list) => ({\n type: 'entityList' as const,\n id: list.id,\n })),\n ],\n }),\n }),\n})\n\nexport default getListsGqlApiInjected\n\nexport const {\n useGetListsInfiniteInfiniteQuery,\n useGetListItemsInfiniteInfiniteQuery,\n useGetListsItemsForReviewSessionInfiniteQuery,\n useLazyGetListsQuery,\n useLazyGetListsItemsForReviewSessionQuery,\n useLazyGetListItemsQuery,\n} = getListsGqlApiInjected\n"],"names":["LISTS_PER_PAGE","LIST_ITEMS_PER_PAGE","getListsGqlApiEnhanced","gqlApi","response","edge","listEdge","node","parseAllAttribs","getListsGqlApiInjected","build","lastPage","pageInfo","queryArg","pageParam","api","cursor","queryParams","result","e","page","list","_args","cacheDataLoaded","cacheEntryRemoved","dispatch","updateCachedData","token","handlePubSub","topic","message","summary","id","draft","l","newList","PubSub","sortBy","desc","rest","_e","listId","projectName","i","item","token2","entityType","_a","listTopic","entityTypeTopic","invalidateListItems","handleListMessage","handleEntityMessage","useGetListsInfiniteInfiniteQuery","useGetListItemsInfiniteInfiniteQuery","useGetListsItemsForReviewSessionInfiniteQuery","useLazyGetListsQuery","useLazyGetListsItemsForReviewSessionQuery","useLazyGetListItemsQuery"],"mappings":"s8DA2BaA,EAAiB,IACjBC,EAAsB,IAc7BC,EAAyBC,MAAO,iBAA+C,CACnF,UAAW,CACT,SAAU,CACR,kBAAoBC,IACX,CAEL,MAAOA,EAAS,QAAQ,YAAY,MAAM,IAAKC,GAASA,EAAK,IAAI,EACjE,SAAUD,EAAS,QAAQ,YAAY,QACzC,EAEJ,EACA,aAAc,CACZ,kBAAoBA,IACX,CACL,MAAOA,EAAS,QAAQ,YAAY,MAAM,QAASE,GACjDA,EAAS,KAAK,MAAM,MAAM,IAAI,CAAC,C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