@alauda-fe/common 1.0.0 → 1.0.1-beta.0

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 (570) hide show
  1. package/a-chart/chart.component.d.ts +1 -1
  2. package/a-chart/components/{index.d.ts → public-api.d.ts} +1 -1
  3. package/a-chart/public-api.d.ts +1 -1
  4. package/a-metric-chart/public-api.d.ts +1 -0
  5. package/a-metric-chart/types.d.ts +4 -2
  6. package/a-metric-chart/utils/util.d.ts +6 -4
  7. package/api/api-compatible.interceptor.d.ts +46 -0
  8. package/api/helpers.d.ts +1 -1
  9. package/api/k8s-api-resource.service.d.ts +1 -1
  10. package/api/k8s-api.service.d.ts +1 -1
  11. package/api/monitor-api.service.d.ts +2 -1
  12. package/api/platform-ui.service.d.ts +1 -1
  13. package/api/product.service.d.ts +1 -1
  14. package/api/project-api.service.d.ts +1 -1
  15. package/api/public-api.d.ts +1 -0
  16. package/api/resource-update.service.d.ts +1 -1
  17. package/api/types.d.ts +1 -1
  18. package/array-form-table/base-string-map-form.component.d.ts +1 -1
  19. package/array-form-table/form/component.d.ts +12 -1
  20. package/array-form-table/form/module.d.ts +1 -1
  21. package/array-form-table/key-value-form/component.d.ts +1 -1
  22. package/array-form-table/public-api.d.ts +1 -0
  23. package/array-form-table/string-array-form/component.d.ts +39 -0
  24. package/assets/icons/prod-icons.js +1 -1
  25. package/async-data/async-data-loader.d.ts +1 -1
  26. package/async-data/types.d.ts +1 -1
  27. package/authorization/guard.service.d.ts +1 -1
  28. package/authorization/state.service.d.ts +1 -1
  29. package/business/module-info/api.service.d.ts +2 -2
  30. package/business/notification-disabled-container/component.d.ts +14 -0
  31. package/business/notification-disabled-container/public-api.d.ts +1 -0
  32. package/business/public-api.d.ts +1 -0
  33. package/business/resource-select/base-list.d.ts +2 -2
  34. package/business/resource-select/context.service.d.ts +2 -2
  35. package/business/resource-select/exports/namespace-page/component.d.ts +1 -1
  36. package/business/resource-select/exports/namespace-selector/component.d.ts +1 -1
  37. package/business/resource-select/internals/cluster-list/component.d.ts +1 -2
  38. package/business/resource-select/internals/namespace-list/component.d.ts +2 -3
  39. package/business/resource-select/internals/project-list/component.d.ts +1 -1
  40. package/business/resource-select/project.service.d.ts +3 -2
  41. package/business/resource-select/types.d.ts +1 -1
  42. package/business/resource-select/utils.d.ts +1 -1
  43. package/chart/common/chart/chart.component.d.ts +2 -3
  44. package/chart/common/{index.d.ts → public-api.d.ts} +0 -1
  45. package/chart/public-api.d.ts +2 -1
  46. package/chart/utils.d.ts +1 -1
  47. package/code/code-editor-configs.d.ts +2 -1
  48. package/code/code.module.d.ts +8 -8
  49. package/code/k8s-yaml-display-dialog/component.d.ts +1 -1
  50. package/code/resource-yaml-display/component.d.ts +2 -4
  51. package/core/abstract/base-form-container.d.ts +1 -1
  52. package/core/components/public-api.d.ts +6 -0
  53. package/core/constants/constants.d.ts +1 -0
  54. package/core/constants/patterns.d.ts +83 -1
  55. package/core/constants/status-icons.d.ts +3 -0
  56. package/core/guards/leave-edit-page.guard.d.ts +1 -1
  57. package/core/module.d.ts +19 -19
  58. package/core/pipes/duration.pipe.d.ts +10 -0
  59. package/core/pipes/img-theme.pipe.d.ts +1 -1
  60. package/core/pipes/k8s-util.pipe.d.ts +2 -2
  61. package/core/pipes/page-env.pipe.d.ts +1 -1
  62. package/core/pipes/{index.d.ts → public-api.d.ts} +2 -1
  63. package/core/pipes/sanitize.pipe.d.ts +10 -0
  64. package/core/pipes/time.pipe.d.ts +2 -2
  65. package/core/public-api.d.ts +9 -9
  66. package/core/services/aui-paginator-intl.service.d.ts +1 -1
  67. package/core/services/aui-tooltip-copy-intl.service.d.ts +1 -1
  68. package/core/services/custom-code-editor-intl.service.d.ts +1 -1
  69. package/core/services/intercept-deactivate.service.d.ts +1 -1
  70. package/core/services/k8s-util.service.d.ts +2 -2
  71. package/core/services/workspace-helper.service.d.ts +1 -1
  72. package/core/services/yaml-util.service.d.ts +1 -1
  73. package/core/types/k8s/core.d.ts +11 -1
  74. package/core/types/k8s/crd.d.ts +98 -3
  75. package/core/types/k8s/raw.d.ts +9 -12
  76. package/core/types/{index.d.ts → public-api.d.ts} +1 -1
  77. package/core/types/resource-definitions.d.ts +27 -2
  78. package/core/utils/browser.d.ts +1 -0
  79. package/core/utils/common.d.ts +12 -1
  80. package/core/utils/decorators.d.ts +3 -1
  81. package/core/utils/k8s-util.d.ts +3 -1
  82. package/core/utils/node.d.ts +1 -1
  83. package/core/utils/observable.d.ts +1 -0
  84. package/core/utils/{index.d.ts → public-api.d.ts} +1 -1
  85. package/core/utils/sort-fn.d.ts +2 -0
  86. package/core/utils/unit.d.ts +0 -3
  87. package/core/utils/version.d.ts +1 -1
  88. package/core/utils/workspace.d.ts +1 -1
  89. package/core/utils/yaml.d.ts +2 -1
  90. package/custom-columns-setting/component.d.ts +1 -1
  91. package/esm2022/a-chart/a-chart.module.mjs +2 -2
  92. package/esm2022/a-chart/chart-status.component.mjs +2 -2
  93. package/esm2022/a-chart/chart.component.mjs +5 -4
  94. package/esm2022/a-chart/components/base-component.mjs +2 -2
  95. package/esm2022/a-chart/components/legend/public-api.mjs +4 -0
  96. package/esm2022/a-chart/components/public-api.mjs +4 -0
  97. package/esm2022/a-chart/components/title.component.mjs +4 -4
  98. package/esm2022/a-chart/public-api.mjs +2 -2
  99. package/esm2022/a-chart/utils.mjs +2 -2
  100. package/esm2022/a-metric-chart/a-metric-chart.component.mjs +57 -32
  101. package/esm2022/a-metric-chart/a-metric-chart.module.mjs +4 -4
  102. package/esm2022/a-metric-chart/bar-gauge/bar-gauge.component.mjs +2 -2
  103. package/esm2022/a-metric-chart/base-chart.component.mjs +2 -2
  104. package/esm2022/a-metric-chart/public-api.mjs +2 -1
  105. package/esm2022/a-metric-chart/table-chart/table-chart.component.mjs +2 -2
  106. package/esm2022/a-metric-chart/types.mjs +2 -1
  107. package/esm2022/a-metric-chart/utils/public-api.mjs +4 -0
  108. package/esm2022/a-metric-chart/utils/unit.mjs +2 -2
  109. package/esm2022/a-metric-chart/utils/util.mjs +28 -23
  110. package/esm2022/api/api-compatible.interceptor.mjs +101 -0
  111. package/esm2022/api/cluster-version.service.mjs +2 -2
  112. package/esm2022/api/crypto.interceptor.mjs +2 -2
  113. package/esm2022/api/helpers.mjs +2 -2
  114. package/esm2022/api/k8s-api-resource.service.mjs +2 -2
  115. package/esm2022/api/k8s-api.service.mjs +4 -4
  116. package/esm2022/api/monitor-api.service.mjs +2 -2
  117. package/esm2022/api/platform-ui.service.mjs +2 -2
  118. package/esm2022/api/product.service.mjs +2 -2
  119. package/esm2022/api/project-api.service.mjs +2 -2
  120. package/esm2022/api/public-api.mjs +2 -1
  121. package/esm2022/api/resource-update.service.mjs +1 -1
  122. package/esm2022/api/types.mjs +1 -1
  123. package/esm2022/array-form-table/base-string-map-form.component.mjs +1 -1
  124. package/esm2022/array-form-table/form/component.mjs +93 -50
  125. package/esm2022/array-form-table/form/module.mjs +7 -4
  126. package/esm2022/array-form-table/key-value-form/component.mjs +4 -4
  127. package/esm2022/array-form-table/key-value-table/component.mjs +3 -3
  128. package/esm2022/array-form-table/public-api.mjs +2 -1
  129. package/esm2022/array-form-table/string-array-form/component.mjs +267 -0
  130. package/esm2022/async-data/async-data-loader.mjs +1 -1
  131. package/esm2022/async-data/error-page/component.mjs +2 -2
  132. package/esm2022/async-data/types.mjs +1 -1
  133. package/esm2022/authorization/guard.service.mjs +3 -3
  134. package/esm2022/authorization/interceptor.service.mjs +2 -2
  135. package/esm2022/authorization/state.service.mjs +3 -3
  136. package/esm2022/business/module-info/api.service.mjs +5 -5
  137. package/esm2022/business/notification-disabled-container/component.mjs +87 -0
  138. package/esm2022/business/notification-disabled-container/public-api.mjs +2 -0
  139. package/esm2022/business/public-api.mjs +2 -1
  140. package/esm2022/business/resource-select/base-list.mjs +4 -4
  141. package/esm2022/business/resource-select/context.service.mjs +3 -3
  142. package/esm2022/business/resource-select/exports/namespace-page/component.mjs +3 -3
  143. package/esm2022/business/resource-select/exports/namespace-selector/component.mjs +3 -3
  144. package/esm2022/business/resource-select/internals/cluster-list/component.mjs +1 -1
  145. package/esm2022/business/resource-select/internals/data-grid/component.mjs +2 -2
  146. package/esm2022/business/resource-select/internals/meshgroup-list/component.mjs +2 -3
  147. package/esm2022/business/resource-select/internals/namespace-list/component.mjs +7 -7
  148. package/esm2022/business/resource-select/internals/no-data/component.mjs +3 -3
  149. package/esm2022/business/resource-select/internals/project-list/component.mjs +3 -3
  150. package/esm2022/business/resource-select/internals/resource-dashboard/component.mjs +3 -3
  151. package/esm2022/business/resource-select/internals/selector-popup/component.mjs +2 -2
  152. package/esm2022/business/resource-select/module.mjs +3 -3
  153. package/esm2022/business/resource-select/project.service.mjs +4 -4
  154. package/esm2022/business/resource-select/types.mjs +1 -1
  155. package/esm2022/business/resource-select/utils.mjs +1 -1
  156. package/esm2022/chart/chart.module.mjs +2 -2
  157. package/esm2022/chart/chart.service.mjs +2 -2
  158. package/esm2022/chart/common/chart/chart.component.mjs +2 -2
  159. package/esm2022/chart/common/{index.mjs → public-api.mjs} +1 -2
  160. package/esm2022/chart/common/tooltip/tooltip.component.mjs +2 -2
  161. package/esm2022/chart/public-api.mjs +3 -2
  162. package/esm2022/chart/utils.mjs +1 -1
  163. package/esm2022/code/code-editor-configs.mjs +5 -1
  164. package/esm2022/code/code.module.mjs +12 -11
  165. package/esm2022/code/k8s-yaml-display-dialog/component.mjs +1 -1
  166. package/esm2022/code/resource-yaml-display/component.mjs +26 -7
  167. package/esm2022/core/abstract/base-form-container.mjs +3 -3
  168. package/esm2022/core/abstract/public-api.mjs +3 -0
  169. package/esm2022/core/components/public-api.mjs +7 -0
  170. package/esm2022/core/constants/constants.mjs +2 -1
  171. package/esm2022/core/constants/patterns.mjs +102 -4
  172. package/esm2022/core/constants/public-api.mjs +6 -0
  173. package/esm2022/core/constants/status-icons.mjs +30 -1
  174. package/esm2022/core/constants/tokens.mjs +2 -2
  175. package/esm2022/core/directives/public-api.mjs +11 -0
  176. package/esm2022/core/guards/leave-edit-page.guard.mjs +5 -5
  177. package/esm2022/core/guards/public-api.mjs +5 -0
  178. package/esm2022/core/module.mjs +11 -11
  179. package/esm2022/core/pipes/duration.pipe.mjs +51 -0
  180. package/esm2022/core/pipes/img-header.pipe.mjs +2 -2
  181. package/esm2022/core/pipes/img-theme.pipe.mjs +3 -2
  182. package/esm2022/core/pipes/k8s-util.pipe.mjs +4 -4
  183. package/esm2022/core/pipes/page-env.pipe.mjs +3 -3
  184. package/esm2022/core/pipes/public-api.mjs +19 -0
  185. package/esm2022/core/pipes/safe.pipe.mjs +7 -2
  186. package/esm2022/core/pipes/sanitize.pipe.mjs +31 -0
  187. package/esm2022/core/pipes/time.pipe.mjs +8 -8
  188. package/esm2022/core/public-api.mjs +10 -10
  189. package/esm2022/core/services/aui-paginator-intl.service.mjs +3 -3
  190. package/esm2022/core/services/aui-tooltip-copy-intl.service.mjs +3 -3
  191. package/esm2022/core/services/context.service.mjs +2 -2
  192. package/esm2022/core/services/custom-code-editor-intl.service.mjs +4 -4
  193. package/esm2022/core/services/feature-gate.service.mjs +3 -3
  194. package/esm2022/core/services/intercept-deactivate.service.mjs +3 -3
  195. package/esm2022/core/services/k8s-util.service.mjs +4 -6
  196. package/esm2022/core/services/public-api.mjs +15 -0
  197. package/esm2022/core/services/time.service.mjs +2 -2
  198. package/esm2022/core/services/workspace-helper.service.mjs +1 -1
  199. package/esm2022/core/services/yaml-util.service.mjs +5 -4
  200. package/esm2022/core/types/k8s/core.mjs +1 -1
  201. package/esm2022/core/types/k8s/crd.mjs +16 -1
  202. package/esm2022/core/types/k8s/public-api.mjs +4 -0
  203. package/esm2022/core/types/k8s/raw.mjs +3 -2
  204. package/esm2022/core/types/public-api.mjs +11 -0
  205. package/esm2022/core/types/resource-definitions.mjs +19 -4
  206. package/esm2022/core/utils/browser.mjs +5 -1
  207. package/esm2022/core/utils/cache-store.mjs +2 -2
  208. package/esm2022/core/utils/common.mjs +55 -3
  209. package/esm2022/core/utils/decorators.mjs +22 -1
  210. package/esm2022/core/utils/k8s-util.mjs +5 -3
  211. package/esm2022/core/utils/node.mjs +2 -2
  212. package/esm2022/core/utils/observable.mjs +11 -2
  213. package/esm2022/core/utils/public-api.mjs +23 -0
  214. package/esm2022/core/utils/sort-fn.mjs +7 -0
  215. package/esm2022/core/utils/unit.mjs +1 -13
  216. package/esm2022/core/utils/workspace.mjs +1 -1
  217. package/esm2022/core/utils/yaml.mjs +9 -1
  218. package/esm2022/custom-columns-setting/component.mjs +1 -1
  219. package/esm2022/editable-text/public-api.mjs +3 -0
  220. package/esm2022/effect-directive/event.directive.mjs +2 -2
  221. package/esm2022/exec/public-api.mjs +8 -0
  222. package/esm2022/exec/service.mjs +2 -3
  223. package/esm2022/exec/terminal/component.mjs +13 -17
  224. package/esm2022/exec/terminal-group/component.mjs +2 -2
  225. package/esm2022/feature-gate-forbidden/public-api.mjs +3 -0
  226. package/esm2022/form/errors-mapper/base-errors-mapper.mjs +42 -0
  227. package/esm2022/form/errors-mapper/default-errors-mapper.service.mjs +65 -0
  228. package/esm2022/form/errors-mapper/errors-mapper-component/component.mjs +71 -0
  229. package/esm2022/form/errors-mapper/errors-mapper.directive.mjs +115 -0
  230. package/esm2022/{errors-mapper → form/errors-mapper}/errors-mapper.module.mjs +1 -1
  231. package/esm2022/form/errors-mapper/public-api.mjs +5 -0
  232. package/esm2022/form/errors-mapper/types.mjs +2 -0
  233. package/esm2022/form/labels-editor/component.mjs +5 -6
  234. package/esm2022/form/public-api.mjs +7 -0
  235. package/esm2022/form/taints-editor/component.mjs +5 -5
  236. package/esm2022/form/upload-file/component.mjs +114 -0
  237. package/esm2022/form/validators/module.mjs +2 -2
  238. package/esm2022/form/validators/public-api.mjs +2 -2
  239. package/esm2022/form/validators/resource-limit.mjs +2 -2
  240. package/esm2022/form/validators/strong-password/public-api.mjs +4 -0
  241. package/esm2022/form/validators/strong-password/strong-password-tooltip/component.mjs +2 -2
  242. package/esm2022/form/validators/utils.mjs +3 -3
  243. package/esm2022/graph-canvas/components/graph-canvas.component.mjs +6 -3
  244. package/esm2022/graph-canvas/components/graph-link.component.mjs +8 -2
  245. package/esm2022/graph-canvas/components/graph-node.directive.mjs +2 -2
  246. package/esm2022/graph-canvas/graph-store.service.mjs +13 -2
  247. package/esm2022/graph-canvas/types.mjs +1 -1
  248. package/esm2022/grid-layout/grid-layout.service.mjs +1 -1
  249. package/esm2022/grid-layout/grid-placeholder.service.mjs +1 -1
  250. package/esm2022/grid-layout/public-api.mjs +11 -0
  251. package/esm2022/grid-layout/utils/client-rect.utils.mjs +1 -1
  252. package/esm2022/grid-layout/utils/scroll.utils.mjs +1 -1
  253. package/esm2022/help-document/component.mjs +14 -16
  254. package/esm2022/help-document/directive.mjs +17 -4
  255. package/esm2022/help-document/module.mjs +5 -6
  256. package/esm2022/help-document/service.mjs +7 -4
  257. package/esm2022/k8s-resource-list/footer/component.mjs +2 -2
  258. package/esm2022/k8s-resource-list/k8s-resource-list.mjs +2 -2
  259. package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +2 -3
  260. package/esm2022/k8s-resource-list/types.mjs +1 -1
  261. package/esm2022/k8s-resource-list/utils.mjs +1 -1
  262. package/esm2022/k8s-shared/k8s-shared-util.service.mjs +152 -0
  263. package/esm2022/k8s-shared/public-api.mjs +10 -0
  264. package/esm2022/k8s-shared/update-description-dialog/component.mjs +112 -0
  265. package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +133 -0
  266. package/esm2022/k8s-shared/update-key-value-dialog/component.mjs +111 -0
  267. package/esm2022/license/license-api.mjs +1 -1
  268. package/esm2022/license/license-error/module.mjs +2 -2
  269. package/esm2022/license/license.guard.mjs +3 -3
  270. package/esm2022/license/license.service.mjs +1 -1
  271. package/esm2022/metric-chart/helpers.mjs +3 -3
  272. package/esm2022/metric-chart/metric-chart.component.mjs +6 -4
  273. package/esm2022/metric-chart/public-api.mjs +1 -2
  274. package/esm2022/metric-chart/types.mjs +1 -1
  275. package/esm2022/metric-chart/utils.mjs +2 -2
  276. package/esm2022/multi-search/action-input/component.mjs +4 -4
  277. package/esm2022/multi-search/form/component.mjs +3 -3
  278. package/esm2022/multi-search/multi-search-tags/component.mjs +2 -2
  279. package/esm2022/multi-search/public-api.mjs +5 -0
  280. package/esm2022/mutable/mosaic/mosaic.component.mjs +2 -2
  281. package/esm2022/notification/errors-mapper.mjs +1 -1
  282. package/esm2022/notification/helpers.mjs +1 -1
  283. package/esm2022/notification/notification-util.service.mjs +4 -4
  284. package/esm2022/notification/resource-error.interceptor.mjs +2 -2
  285. package/esm2022/page-guard/component/component.mjs +3 -3
  286. package/esm2022/page-guard/module.mjs +4 -4
  287. package/esm2022/page-scaffold/module.mjs +5 -5
  288. package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb.component.mjs +1 -1
  289. package/esm2022/page-scaffold/navigation/breadcrumb/module.mjs +2 -2
  290. package/esm2022/page-scaffold/navigation/breadcrumb/public-api.mjs +5 -0
  291. package/esm2022/page-scaffold/navigation/lottie-icons/public-api.mjs +3 -0
  292. package/esm2022/page-scaffold/navigation/module.mjs +2 -2
  293. package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.component.mjs +5 -5
  294. package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.module.mjs +2 -2
  295. package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.types.mjs +1 -1
  296. package/esm2022/page-scaffold/navigation/nav-menu/public-api.mjs +4 -0
  297. package/esm2022/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.mjs +2 -2
  298. package/esm2022/page-scaffold/navigation/navconfig-loader/public-api.mjs +8 -0
  299. package/esm2022/page-scaffold/navigation/public-api.mjs +7 -0
  300. package/esm2022/page-scaffold/page/notices/maintenance.component.mjs +32 -26
  301. package/esm2022/page-scaffold/page/page.component.mjs +20 -12
  302. package/esm2022/page-scaffold/page/page.module.mjs +2 -2
  303. package/esm2022/page-scaffold/page/public-api.mjs +5 -0
  304. package/esm2022/page-scaffold/page-header/account-menu/component/component.mjs +2 -2
  305. package/esm2022/page-scaffold/page-header/common-layout/common-layout.module.mjs +3 -3
  306. package/esm2022/page-scaffold/page-header/common-layout/context.service.mjs +2 -2
  307. package/esm2022/page-scaffold/page-header/common-layout/namespace-select/component.mjs +3 -4
  308. package/esm2022/page-scaffold/page-header/common-layout/product-select/component.mjs +7 -7
  309. package/esm2022/page-scaffold/page-header/common-layout/project-select/base-selection.mjs +2 -2
  310. package/esm2022/page-scaffold/page-header/common-layout/store.service.mjs +3 -3
  311. package/esm2022/page-scaffold/page-header/enterprise-support-status/component.mjs +2 -2
  312. package/esm2022/page-scaffold/page-header/header-notify/notify.service.mjs +3 -3
  313. package/esm2022/page-scaffold/page-header/header-notify/utils.mjs +1 -1
  314. package/esm2022/page-scaffold/page-header/help-menu/component/component.mjs +3 -3
  315. package/esm2022/page-scaffold/page-header/public-api.mjs +14 -0
  316. package/esm2022/page-scaffold/public-api.mjs +5 -0
  317. package/esm2022/permission/helpers.mjs +2 -5
  318. package/esm2022/permission/k8s-permission.service.mjs +2 -3
  319. package/esm2022/permission/permission.guard.mjs +3 -3
  320. package/esm2022/permission/public-api.mjs +1 -2
  321. package/esm2022/permission/types.mjs +2 -2
  322. package/esm2022/pie-derivative-chart/donut-status/component.mjs +1 -1
  323. package/esm2022/public-api.mjs +11 -11
  324. package/esm2022/scm/declare.directive.mjs +27 -0
  325. package/esm2022/scm/password-input/component.mjs +104 -67
  326. package/esm2022/scm/password-input/module.mjs +16 -13
  327. package/esm2022/scm/password-input/public-api.mjs +3 -0
  328. package/esm2022/scm/public-api.mjs +10 -0
  329. package/esm2022/scm/pure-pipe/calc.pipe.mjs +3 -2
  330. package/esm2022/scm/pure-pipe/module.mjs +3 -4
  331. package/esm2022/scm/pure-pipe/public-api.mjs +4 -0
  332. package/esm2022/scm/pure-pipe/pure.pipe.mjs +1 -1
  333. package/esm2022/scm/resource-multi-select/component.mjs +7 -9
  334. package/esm2022/scm/resource-multi-select/util.mjs +1 -1
  335. package/esm2022/scm/search-panel/component.mjs +2 -2
  336. package/esm2022/searchable-selector/component.mjs +4 -2
  337. package/esm2022/skeleton/item/component.mjs +1 -1
  338. package/esm2022/skeleton/module.mjs +2 -2
  339. package/esm2022/table/component.mjs +4 -4
  340. package/esm2022/table/helper.mjs +2 -2
  341. package/esm2022/table/module.mjs +1 -1
  342. package/esm2022/table/types.mjs +1 -1
  343. package/esm2022/table/util.service.mjs +3 -3
  344. package/esm2022/translate/constants.mjs +1 -1
  345. package/esm2022/translate/en.json +30 -4
  346. package/esm2022/translate/helpers.mjs +15 -1
  347. package/esm2022/translate/public-api.mjs +1 -2
  348. package/esm2022/translate/translate.module.mjs +3 -7
  349. package/esm2022/translate/types.mjs +1 -1
  350. package/esm2022/translate/zh.json +28 -2
  351. package/esm2022/view-chart/custom-template/dropdown-legend.mjs +1 -1
  352. package/esm2022/view-chart/legend/legend.component.mjs +1 -1
  353. package/esm2022/view-chart/view-chart.module.mjs +2 -2
  354. package/esm2022/view-zchart/custom-template/dropdown-legend.mjs +1 -1
  355. package/esm2022/view-zchart/legend/legend.component.mjs +1 -1
  356. package/esm2022/view-zchart/types.mjs +2 -0
  357. package/esm2022/view-zchart/units.mjs +2 -2
  358. package/esm2022/view-zchart/view-zchart.component.mjs +10 -5
  359. package/esm2022/widget/confirm-delete/confirm-delete.component.mjs +2 -2
  360. package/esm2022/widget/confirm-delete/utils.mjs +1 -1
  361. package/esm2022/widget/current-time/component.mjs +4 -4
  362. package/esm2022/widget/date-range-picker/component.mjs +10 -11
  363. package/esm2022/widget/field-set/index.mjs +14 -0
  364. package/esm2022/widget/field-set/item/component.mjs +2 -2
  365. package/esm2022/widget/foldable-block/component.mjs +2 -2
  366. package/esm2022/widget/foldable-item-in-table/component.mjs +3 -3
  367. package/esm2022/widget/loading-mask/loading-mask.component.mjs +2 -2
  368. package/esm2022/widget/public-api.mjs +3 -4
  369. package/esm2022/widget/relative-time/component.mjs +4 -4
  370. package/esm2022/widget/status-icon/status-icon.component.mjs +102 -0
  371. package/esm2022/widget/tags-label/component.mjs +3 -3
  372. package/esm2022/widget/terminating-tag/component.mjs +1 -1
  373. package/esm2022/widget/zero-state/zero-state.component.mjs +3 -3
  374. package/esm2022/window-channel/base-window-channel.mjs +1 -1
  375. package/esm2022/window-channel/host-window-channel.service.mjs +15 -15
  376. package/esm2022/window-channel/public-api.mjs +5 -0
  377. package/esm2022/window-channel/utils.mjs +1 -1
  378. package/esm2022/xterm/xterm-terminal/xterm-terminal.component.mjs +4 -4
  379. package/esm2022/xterm/xterm.component.mjs +5 -2
  380. package/exec/service.d.ts +1 -1
  381. package/exec/terminal/component.d.ts +1 -1
  382. package/{errors-mapper → form/errors-mapper}/base-errors-mapper.d.ts +2 -2
  383. package/{errors-mapper → form/errors-mapper}/default-errors-mapper.service.d.ts +1 -1
  384. package/{errors-mapper → form/errors-mapper}/errors-mapper-component/component.d.ts +1 -1
  385. package/{errors-mapper → form/errors-mapper}/errors-mapper.directive.d.ts +1 -1
  386. package/{errors-mapper → form/errors-mapper}/types.d.ts +1 -1
  387. package/form/labels-editor/component.d.ts +1 -1
  388. package/form/{index.d.ts → public-api.d.ts} +2 -0
  389. package/form/taints-editor/component.d.ts +2 -2
  390. package/form/upload-file/component.d.ts +32 -0
  391. package/form/validators/public-api.d.ts +1 -1
  392. package/form/validators/resource-limit.d.ts +1 -1
  393. package/form/validators/strong-password/{index.d.ts → public-api.d.ts} +1 -1
  394. package/form/validators/utils.d.ts +1 -1
  395. package/graph-canvas/components/graph-canvas.component.d.ts +3 -2
  396. package/graph-canvas/graph-store.service.d.ts +3 -1
  397. package/graph-canvas/types.d.ts +2 -0
  398. package/grid-layout/grid-layout.service.d.ts +2 -2
  399. package/grid-layout/grid-placeholder.service.d.ts +1 -1
  400. package/grid-layout/utils/client-rect.utils.d.ts +1 -1
  401. package/help-document/component.d.ts +0 -1
  402. package/help-document/directive.d.ts +10 -1
  403. package/k8s-resource-list/footer/component.d.ts +1 -1
  404. package/k8s-resource-list/k8s-resource-list.d.ts +1 -1
  405. package/k8s-resource-list/k8s-resource-paged-list.d.ts +1 -1
  406. package/k8s-resource-list/types.d.ts +1 -1
  407. package/k8s-resource-list/utils.d.ts +1 -1
  408. package/k8s-shared/k8s-shared-util.service.d.ts +40 -0
  409. package/k8s-shared/public-api.d.ts +9 -0
  410. package/k8s-shared/update-description-dialog/component.d.ts +25 -0
  411. package/k8s-shared/update-display-name-dialog/component.d.ts +27 -0
  412. package/k8s-shared/update-key-value-dialog/component.d.ts +39 -0
  413. package/license/license-api.d.ts +1 -1
  414. package/license/license.guard.d.ts +1 -1
  415. package/metric-chart/metric-chart.component.d.ts +3 -2
  416. package/metric-chart/public-api.d.ts +0 -1
  417. package/metric-chart/types.d.ts +1 -1
  418. package/metric-chart/utils.d.ts +1 -1
  419. package/notification/errors-mapper.d.ts +1 -1
  420. package/notification/helpers.d.ts +1 -1
  421. package/notification/notification-util.service.d.ts +2 -2
  422. package/notification/resource-error.interceptor.d.ts +1 -1
  423. package/package.json +1 -1
  424. package/page-guard/module.d.ts +3 -0
  425. package/page-scaffold/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
  426. package/page-scaffold/navigation/nav-menu/nav-menu.component.d.ts +1 -1
  427. package/page-scaffold/navigation/nav-menu/nav-menu.types.d.ts +1 -1
  428. package/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.d.ts +2 -2
  429. package/page-scaffold/navigation/public-api.d.ts +6 -0
  430. package/page-scaffold/page/notices/maintenance.component.d.ts +7 -7
  431. package/page-scaffold/page/page.component.d.ts +2 -1
  432. package/page-scaffold/page-header/common-layout/context.service.d.ts +1 -1
  433. package/page-scaffold/page-header/common-layout/namespace-select/component.d.ts +1 -1
  434. package/page-scaffold/page-header/common-layout/product-select/component.d.ts +2 -2
  435. package/page-scaffold/page-header/common-layout/store.service.d.ts +1 -1
  436. package/page-scaffold/page-header/header-notify/notify.service.d.ts +1 -1
  437. package/page-scaffold/page-header/header-notify/utils.d.ts +1 -1
  438. package/page-scaffold/page-header/help-menu/component/component.d.ts +1 -1
  439. package/page-scaffold/public-api.d.ts +4 -0
  440. package/permission/helpers.d.ts +1 -10
  441. package/permission/k8s-permission.service.d.ts +1 -1
  442. package/permission/permission.guard.d.ts +1 -1
  443. package/permission/public-api.d.ts +0 -1
  444. package/permission/types.d.ts +1 -1
  445. package/pie-derivative-chart/donut-status/component.d.ts +1 -1
  446. package/public-api.d.ts +10 -10
  447. package/scm/declare.directive.d.ts +8 -0
  448. package/scm/password-input/component.d.ts +5 -1
  449. package/scm/password-input/module.d.ts +2 -2
  450. package/scm/{index.d.ts → public-api.d.ts} +3 -2
  451. package/scm/pure-pipe/calc.pipe.d.ts +1 -1
  452. package/scm/pure-pipe/module.d.ts +3 -3
  453. package/scm/pure-pipe/pure.pipe.d.ts +1 -1
  454. package/scm/resource-multi-select/component.d.ts +4 -3
  455. package/scm/resource-multi-select/util.d.ts +1 -1
  456. package/skeleton/item/component.d.ts +1 -1
  457. package/styles/global.scss +1 -2
  458. package/styles/mixins.scss +39 -0
  459. package/styles/tailwind-preset.scss +1 -1
  460. package/table/component.d.ts +1 -1
  461. package/table/helper.d.ts +1 -1
  462. package/table/types.d.ts +1 -1
  463. package/table/util.service.d.ts +1 -1
  464. package/translate/constants.d.ts +1 -1
  465. package/translate/helpers.d.ts +3 -0
  466. package/translate/public-api.d.ts +0 -1
  467. package/translate/translate.module.d.ts +54 -3
  468. package/translate/types.d.ts +1 -1
  469. package/view-chart/custom-template/dropdown-legend.d.ts +1 -1
  470. package/view-chart/legend/legend.component.d.ts +1 -1
  471. package/view-zchart/custom-template/dropdown-legend.d.ts +1 -1
  472. package/view-zchart/legend/legend.component.d.ts +1 -1
  473. package/view-zchart/types.d.ts +22 -0
  474. package/view-zchart/units.d.ts +1 -1
  475. package/view-zchart/view-zchart.component.d.ts +7 -2
  476. package/widget/confirm-delete/utils.d.ts +1 -1
  477. package/widget/current-time/component.d.ts +1 -1
  478. package/widget/date-range-picker/component.d.ts +1 -1
  479. package/widget/field-set/index.d.ts +7 -0
  480. package/widget/foldable-item-in-table/component.d.ts +1 -1
  481. package/widget/public-api.d.ts +2 -3
  482. package/widget/relative-time/component.d.ts +1 -1
  483. package/widget/status-icon/status-icon.component.d.ts +16 -0
  484. package/widget/tags-label/component.d.ts +1 -1
  485. package/widget/terminating-tag/component.d.ts +1 -1
  486. package/window-channel/base-window-channel.d.ts +1 -1
  487. package/window-channel/utils.d.ts +0 -1
  488. package/core/components/index.d.ts +0 -1
  489. package/core/components/tree/index.d.ts +0 -1
  490. package/core/components/tree/public-api.d.ts +0 -6
  491. package/core/index.d.ts +0 -1
  492. package/core/pipes/trust-url.pipe.d.ts +0 -19
  493. package/core/utils/k8s-pattern.d.ts +0 -12
  494. package/esm2022/a-chart/components/index.mjs +0 -4
  495. package/esm2022/a-chart/components/legend/index.mjs +0 -4
  496. package/esm2022/a-metric-chart/utils/index.mjs +0 -4
  497. package/esm2022/core/abstract/index.mjs +0 -3
  498. package/esm2022/core/components/index.mjs +0 -2
  499. package/esm2022/core/components/tree/index.mjs +0 -2
  500. package/esm2022/core/components/tree/public-api.mjs +0 -7
  501. package/esm2022/core/constants/index.mjs +0 -6
  502. package/esm2022/core/directives/index.mjs +0 -11
  503. package/esm2022/core/guards/index.mjs +0 -5
  504. package/esm2022/core/index.mjs +0 -2
  505. package/esm2022/core/pipes/index.mjs +0 -18
  506. package/esm2022/core/pipes/trust-url.pipe.mjs +0 -28
  507. package/esm2022/core/services/index.mjs +0 -15
  508. package/esm2022/core/types/index.mjs +0 -11
  509. package/esm2022/core/types/k8s/index.mjs +0 -4
  510. package/esm2022/core/utils/index.mjs +0 -23
  511. package/esm2022/core/utils/k8s-pattern.mjs +0 -13
  512. package/esm2022/editable-text/index.mjs +0 -3
  513. package/esm2022/errors-mapper/base-errors-mapper.mjs +0 -42
  514. package/esm2022/errors-mapper/default-errors-mapper.service.mjs +0 -65
  515. package/esm2022/errors-mapper/errors-mapper-component/component.mjs +0 -71
  516. package/esm2022/errors-mapper/errors-mapper.directive.mjs +0 -115
  517. package/esm2022/errors-mapper/public-api.mjs +0 -5
  518. package/esm2022/errors-mapper/types.mjs +0 -2
  519. package/esm2022/exec/index.mjs +0 -8
  520. package/esm2022/feature-gate-forbidden/index.mjs +0 -3
  521. package/esm2022/form/index.mjs +0 -5
  522. package/esm2022/form/validators/strong-password/index.mjs +0 -4
  523. package/esm2022/form/validators/strong-password/strong-password-tooltip/index.mjs +0 -2
  524. package/esm2022/grid-layout/index.mjs +0 -11
  525. package/esm2022/metric-chart/range-util.mjs +0 -35
  526. package/esm2022/multi-search/index.mjs +0 -5
  527. package/esm2022/page-scaffold/index.mjs +0 -5
  528. package/esm2022/page-scaffold/navigation/breadcrumb/index.mjs +0 -5
  529. package/esm2022/page-scaffold/navigation/index.mjs +0 -7
  530. package/esm2022/page-scaffold/navigation/lottie-icons/index.mjs +0 -3
  531. package/esm2022/page-scaffold/navigation/nav-menu/index.mjs +0 -4
  532. package/esm2022/page-scaffold/navigation/navconfig-loader/index.mjs +0 -8
  533. package/esm2022/page-scaffold/page/index.mjs +0 -5
  534. package/esm2022/page-scaffold/page-header/index.mjs +0 -14
  535. package/esm2022/permission/admin.guard.mjs +0 -43
  536. package/esm2022/scm/index.mjs +0 -9
  537. package/esm2022/scm/password-input/index.mjs +0 -3
  538. package/esm2022/scm/pure-pipe/index.mjs +0 -4
  539. package/esm2022/translate/pick-locale.pipe.mjs +0 -34
  540. package/esm2022/window-channel/index.mjs +0 -5
  541. package/form/validators/strong-password/strong-password-tooltip/index.d.ts +0 -1
  542. package/metric-chart/range-util.d.ts +0 -1
  543. package/page-scaffold/index.d.ts +0 -4
  544. package/page-scaffold/navigation/index.d.ts +0 -6
  545. package/permission/admin.guard.d.ts +0 -14
  546. package/translate/pick-locale.pipe.d.ts +0 -12
  547. /package/a-chart/components/legend/{index.d.ts → public-api.d.ts} +0 -0
  548. /package/a-metric-chart/utils/{index.d.ts → public-api.d.ts} +0 -0
  549. /package/core/abstract/{index.d.ts → public-api.d.ts} +0 -0
  550. /package/core/constants/{index.d.ts → public-api.d.ts} +0 -0
  551. /package/core/directives/{index.d.ts → public-api.d.ts} +0 -0
  552. /package/core/guards/{index.d.ts → public-api.d.ts} +0 -0
  553. /package/core/services/{index.d.ts → public-api.d.ts} +0 -0
  554. /package/core/types/k8s/{index.d.ts → public-api.d.ts} +0 -0
  555. /package/editable-text/{index.d.ts → public-api.d.ts} +0 -0
  556. /package/exec/{index.d.ts → public-api.d.ts} +0 -0
  557. /package/feature-gate-forbidden/{index.d.ts → public-api.d.ts} +0 -0
  558. /package/{errors-mapper → form/errors-mapper}/errors-mapper.module.d.ts +0 -0
  559. /package/{errors-mapper → form/errors-mapper}/public-api.d.ts +0 -0
  560. /package/grid-layout/{index.d.ts → public-api.d.ts} +0 -0
  561. /package/multi-search/{index.d.ts → public-api.d.ts} +0 -0
  562. /package/page-scaffold/navigation/breadcrumb/{index.d.ts → public-api.d.ts} +0 -0
  563. /package/page-scaffold/navigation/lottie-icons/{index.d.ts → public-api.d.ts} +0 -0
  564. /package/page-scaffold/navigation/nav-menu/{index.d.ts → public-api.d.ts} +0 -0
  565. /package/page-scaffold/navigation/navconfig-loader/{index.d.ts → public-api.d.ts} +0 -0
  566. /package/page-scaffold/page/{index.d.ts → public-api.d.ts} +0 -0
  567. /package/page-scaffold/page-header/{index.d.ts → public-api.d.ts} +0 -0
  568. /package/scm/password-input/{index.d.ts → public-api.d.ts} +0 -0
  569. /package/scm/pure-pipe/{index.d.ts → public-api.d.ts} +0 -0
  570. /package/window-channel/{index.d.ts → public-api.d.ts} +0 -0
@@ -1,43 +0,0 @@
1
- /**
2
- * @packageDocumentation
3
- * @module permission
4
- */
5
- import { Inject, Injectable } from '@angular/core';
6
- import { Router } from '@angular/router';
7
- import { tap } from 'rxjs';
8
- import { AuthorizationStateService } from '../authorization/public-api';
9
- import { TOKEN_NON_ADMIN_REDIRECT_PATH } from '../core';
10
- import { isAdmin } from './helpers';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@angular/router";
13
- import * as i2 from "../authorization/public-api";
14
- export class AdminGuardService {
15
- constructor(router, auth, nonAdminRedirectPath) {
16
- this.router = router;
17
- this.auth = auth;
18
- this.nonAdminRedirectPath = nonAdminRedirectPath;
19
- this.isAdmin$ = isAdmin(this.auth.getTokenPayload());
20
- }
21
- canActivate() {
22
- return this.isAdmin$.pipe(tap(admin => {
23
- if (!admin && this.nonAdminRedirectPath) {
24
- this.router.navigateByUrl(this.nonAdminRedirectPath, {
25
- replaceUrl: true,
26
- });
27
- }
28
- }));
29
- }
30
- canActivateChild() {
31
- return this.canActivate();
32
- }
33
- static { this.ɵfac = function AdminGuardService_Factory(t) { return new (t || AdminGuardService)(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.AuthorizationStateService), i0.ɵɵinject(TOKEN_NON_ADMIN_REDIRECT_PATH)); }; }
34
- static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AdminGuardService, factory: AdminGuardService.ɵfac, providedIn: 'root' }); }
35
- }
36
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdminGuardService, [{
37
- type: Injectable,
38
- args: [{ providedIn: 'root' }]
39
- }], function () { return [{ type: i1.Router }, { type: i2.AuthorizationStateService }, { type: undefined, decorators: [{
40
- type: Inject,
41
- args: [TOKEN_NON_ADMIN_REDIRECT_PATH]
42
- }] }]; }, null); })();
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4uZ3VhcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvcGVybWlzc2lvbi9hZG1pbi5ndWFyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU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AgQEluamVjdChUT0tFTl9OT05fQURNSU5fUkVESVJFQ1RfUEFUSClcbiAgICBwcml2YXRlIHJlYWRvbmx5IG5vbkFkbWluUmVkaXJlY3RQYXRoOiBzdHJpbmcsXG4gICkge31cblxuICBjYW5BY3RpdmF0ZSgpIHtcbiAgICByZXR1cm4gdGhpcy5pc0FkbWluJC5waXBlKFxuICAgICAgdGFwKGFkbWluID0+IHtcbiAgICAgICAgaWYgKCFhZG1pbiAmJiB0aGlzLm5vbkFkbWluUmVkaXJlY3RQYXRoKSB7XG4gICAgICAgICAgdGhpcy5yb3V0ZXIubmF2aWdhdGVCeVVybCh0aGlzLm5vbkFkbWluUmVkaXJlY3RQYXRoLCB7XG4gICAgICAgICAgICByZXBsYWNlVXJsOiB0cnVlLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9KSxcbiAgICApO1xuICB9XG5cbiAgY2FuQWN0aXZhdGVDaGlsZCgpIHtcbiAgICByZXR1cm4gdGhpcy5jYW5BY3RpdmF0ZSgpO1xuICB9XG59XG4iXX0=
@@ -1,9 +0,0 @@
1
- export * from './password-input';
2
- export * from './pure-pipe';
3
- export * from './text-ellipsis/component';
4
- export { ResourceMultiSelectComponent } from './resource-multi-select/component';
5
- export { isSelectAll, ALL_VALUE, checkValueExit, } from './resource-multi-select/util';
6
- export { SearchItemComponent } from './search-panel/search-item/component';
7
- export { SearchPanelComponent } from './search-panel/component';
8
- export { SearchItemLabelDirective } from './search-panel/helper.directive';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvc2NtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYywyQkFB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Q==
@@ -1,3 +0,0 @@
1
- export * from './component';
2
- export * from './module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvc2NtL3Bhc3N3b3JkLWlucHV0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2R1bGUnO1xuIl19
@@ -1,4 +0,0 @@
1
- export * from './module';
2
- export * from './pure.pipe';
3
- export * from './calc.pipe';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvc2NtL3B1cmUtcGlwZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcHVyZS5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vY2FsYy5waXBlJztcbiJdfQ==
@@ -1,34 +0,0 @@
1
- import { ChangeDetectorRef, Pipe, inject, } from '@angular/core';
2
- import { Subject, takeUntil } from 'rxjs';
3
- import { TranslateService } from './translate.service';
4
- import * as i0 from "@angular/core";
5
- export class PickLocalePipe {
6
- constructor() {
7
- this.translate = inject(TranslateService);
8
- this.cdr = inject(ChangeDetectorRef);
9
- this.destroy$$ = new Subject();
10
- this.translate.locale$
11
- .pipe(takeUntil(this.destroy$$))
12
- .subscribe(() => this.cdr.markForCheck());
13
- }
14
- transform(value) {
15
- if (!value) {
16
- return '';
17
- }
18
- return (Object.entries(value).find(([key]) => key.toLowerCase() === this.translate.locale.toLowerCase())?.[1] || '');
19
- }
20
- ngOnDestroy() {
21
- this.destroy$$.next();
22
- this.destroy$$.complete();
23
- }
24
- static { this.ɵfac = function PickLocalePipe_Factory(t) { return new (t || PickLocalePipe)(); }; }
25
- static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "pickLocale", type: PickLocalePipe, pure: false }); }
26
- }
27
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickLocalePipe, [{
28
- type: Pipe,
29
- args: [{
30
- name: 'pickLocale',
31
- pure: false,
32
- }]
33
- }], function () { return []; }, null); })();
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGljay1sb2NhbGUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tbW9uL3NyYy90cmFuc2xhdGUvcGljay1sb2NhbGUucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsaUJBQWlCLEVBRWpCLElBQUksRUFFSixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFFMUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBTXZELE1BQU0sT0FBTyxjQUFjO0lBS3pCO1FBSmlCLGNBQVMsR0FBRyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztRQ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PT09ICh0aGlzLnRyYW5zbGF0ZS5sb2NhbGUgYXMgc3RyaW5nKS50b0xvd2VyQ2FzZSgpLFxuICAgICAgKT8uWzFdIHx8ICcnXG4gICAgKTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuZGVzdHJveSQkLm5leHQoKTtcbiAgICB0aGlzLmRlc3Ryb3kkJC5jb21wbGV0ZSgpO1xuICB9XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- export * from './host-window-channel.service';
2
- export * from './plugin-window-channel.service';
3
- export * from './utils';
4
- export * from './directives/host-link.directive';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvd2luZG93LWNoYW5uZWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2hvc3Qtd2luZG93LWNoYW5uZWwuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3BsdWdpbi13aW5kb3ctY2hhbm5lbC5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vdXRpbHMnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL2hvc3QtbGluay5kaXJlY3RpdmUnO1xuIl19
@@ -1 +0,0 @@
1
- export * from './component';
@@ -1 +0,0 @@
1
- export declare function roundInterval(start: number, end: number): number;
@@ -1,4 +0,0 @@
1
- export * from './navigation';
2
- export * from './page';
3
- export * from './page-header';
4
- export * from './module';
@@ -1,6 +0,0 @@
1
- export * from './breadcrumb';
2
- export * from './lottie-icons';
3
- export * from './nav-menu';
4
- export * from './navconfig-loader';
5
- export * from './module';
6
- export * from './utils';
@@ -1,14 +0,0 @@
1
- import { CanActivate, CanActivateChild, Router } from '@angular/router';
2
- import { AuthorizationStateService } from '../authorization/public-api';
3
- import * as i0 from "@angular/core";
4
- export declare class AdminGuardService implements CanActivate, CanActivateChild {
5
- private readonly router;
6
- private readonly auth;
7
- private readonly nonAdminRedirectPath;
8
- isAdmin$: import("rxjs").Observable<boolean>;
9
- constructor(router: Router, auth: AuthorizationStateService, nonAdminRedirectPath: string);
10
- canActivate(): import("rxjs").Observable<boolean>;
11
- canActivateChild(): import("rxjs").Observable<boolean>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AdminGuardService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<AdminGuardService>;
14
- }
@@ -1,12 +0,0 @@
1
- import { OnDestroy, PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PickLocalePipe implements PipeTransform, OnDestroy {
4
- private readonly translate;
5
- private readonly cdr;
6
- private readonly destroy$$;
7
- constructor();
8
- transform(value: Record<string, string>): string;
9
- ngOnDestroy(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<PickLocalePipe, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<PickLocalePipe, "pickLocale", false>;
12
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes