ngx-register-base 1.3.1 → 1.3.2

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 (479) hide show
  1. package/esm2022/lib/components/checkbox-selector/checkbox-selector.component.mjs +129 -0
  2. package/esm2022/lib/components/checkbox-selector/checkbox-selector.types.mjs +8 -0
  3. package/esm2022/lib/components/column-settings/column-settings.component.mjs +249 -0
  4. package/esm2022/lib/components/column-settings/components/column-settings-template/column-settings-template.component.mjs +80 -0
  5. package/esm2022/lib/components/column-settings/consts/column-settings.consts.mjs +10 -0
  6. package/esm2022/lib/components/column-settings/index.mjs +3 -0
  7. package/esm2022/lib/components/column-settings/types/column-settings.types.mjs +7 -0
  8. package/esm2022/lib/components/divider/divider.component.mjs +16 -0
  9. package/esm2022/lib/components/filter-button/filter-button.component.mjs +19 -0
  10. package/esm2022/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.mjs +31 -0
  11. package/esm2022/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.mjs +57 -0
  12. package/esm2022/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.mjs +110 -0
  13. package/esm2022/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.mjs +130 -0
  14. package/esm2022/lib/components/filters/components/filter-list/filter-list.service.mjs +89 -0
  15. package/esm2022/lib/components/filters/components/filter-list/filters-section/filters-section.component.mjs +41 -0
  16. package/esm2022/lib/components/filters/components/filter-list.module.mjs +45 -0
  17. package/esm2022/lib/components/filters/index.mjs +3 -0
  18. package/esm2022/lib/components/filters/register-table-filter.component.mjs +155 -0
  19. package/esm2022/lib/components/filters/register-table-filter.module.mjs +39 -0
  20. package/esm2022/lib/components/index.mjs +11 -0
  21. package/esm2022/lib/components/inputs/index.mjs +20 -0
  22. package/esm2022/lib/components/inputs/inputs.module.mjs +166 -0
  23. package/esm2022/lib/components/inputs/param-calendar-year/param-calendar-year.component.mjs +45 -0
  24. package/esm2022/lib/components/inputs/param-custom/param-custom.component.mjs +12 -0
  25. package/esm2022/lib/components/inputs/param-date/param-date.component.mjs +76 -0
  26. package/esm2022/lib/components/inputs/param-date-range/param-date-range.component.mjs +60 -0
  27. package/esm2022/lib/components/inputs/param-date-time/param-date-time.component.mjs +86 -0
  28. package/esm2022/lib/components/inputs/param-date-time-range/param-date-time-range.component.mjs +95 -0
  29. package/esm2022/lib/components/inputs/param-month/param-month.component.mjs +50 -0
  30. package/esm2022/lib/components/inputs/param-month-range/param-month-range.component.mjs +62 -0
  31. package/esm2022/lib/components/inputs/param-multi-select/param-multi-select.component.mjs +309 -0
  32. package/esm2022/lib/components/inputs/param-select/param-select.component.mjs +225 -0
  33. package/esm2022/lib/components/inputs/param-switcher/param-switcher.component.mjs +21 -0
  34. package/esm2022/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.mjs +28 -0
  35. package/esm2022/lib/components/inputs/param-switcher-date-time-range/index.mjs +3 -0
  36. package/esm2022/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.mjs +105 -0
  37. package/esm2022/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.mjs +10 -0
  38. package/esm2022/lib/components/inputs/param-text/param-text.component.mjs +40 -0
  39. package/esm2022/lib/components/inputs/param-textarea/param-textarea.component.mjs +38 -0
  40. package/esm2022/lib/components/inputs/param-toggle/param-toggle.component.mjs +20 -0
  41. package/esm2022/lib/components/inputs/param-tree/consts/param-tree.consts.mjs +37 -0
  42. package/esm2022/lib/components/inputs/param-tree/index.mjs +8 -0
  43. package/esm2022/lib/components/inputs/param-tree/param-tree.component.mjs +207 -0
  44. package/esm2022/lib/components/inputs/param-tree/services/param-tree.service.mjs +116 -0
  45. package/esm2022/lib/components/inputs/param-tree/services/sync-tree-loader.service.mjs +20 -0
  46. package/esm2022/lib/components/inputs/param-tree/tokens/param-tree.tokens.mjs +3 -0
  47. package/esm2022/lib/components/inputs/param-tree/types/param-tree.types.mjs +2 -0
  48. package/esm2022/lib/components/inputs/param-tree/utils/param-tree.utils.mjs +9 -0
  49. package/esm2022/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.mjs +80 -0
  50. package/esm2022/lib/components/inputs/param-tree-select/param-tree-select.component.mjs +85 -0
  51. package/esm2022/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.mjs +15 -0
  52. package/esm2022/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.mjs +12 -0
  53. package/esm2022/lib/components/menu-constructor/index.mjs +5 -0
  54. package/esm2022/lib/components/menu-constructor/sproc-menu-constructor.component.mjs +559 -0
  55. package/esm2022/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.mjs +3 -0
  56. package/esm2022/lib/components/menu-constructor/store/sproc-menu-constructor.consts.mjs +5 -0
  57. package/esm2022/lib/components/menu-constructor/store/sproc-menu.tokens.mjs +3 -0
  58. package/esm2022/lib/components/page-menu/index.mjs +6 -0
  59. package/esm2022/lib/components/page-menu/schema/sproc-page-menu.consts.mjs +9 -0
  60. package/esm2022/lib/components/page-menu/schema/sproc-page-menu.schema.mjs +2 -0
  61. package/esm2022/lib/components/page-menu/schema/sproc-page-menu.tokens.mjs +4 -0
  62. package/esm2022/lib/components/page-menu/schema/sproc-page-menu.types.mjs +3 -0
  63. package/esm2022/lib/components/page-menu/sproc-page-menu.component.mjs +275 -0
  64. package/esm2022/lib/components/paginator/paginator.component.mjs +159 -0
  65. package/esm2022/lib/components/paginator/types/paginator.types.mjs +2 -0
  66. package/esm2022/lib/components/register-table/consts/register-table.consts.mjs +4 -0
  67. package/esm2022/lib/components/register-table/directives/cell-template.directive.mjs +19 -0
  68. package/esm2022/lib/components/register-table/directives/header-template.directive.mjs +18 -0
  69. package/esm2022/lib/components/register-table/index.mjs +4 -0
  70. package/esm2022/lib/components/register-table/model/schema.mjs +10 -0
  71. package/esm2022/lib/components/register-table/pipes/class-by-type.pipe.mjs +33 -0
  72. package/esm2022/lib/components/register-table/pipes/sticky-column.pipe.mjs +17 -0
  73. package/esm2022/lib/components/register-table/register-table.component.mjs +544 -0
  74. package/esm2022/lib/components/reset-settings-form/reset-settings-form.component.mjs +18 -0
  75. package/esm2022/lib/components/search-input/search-input.component.mjs +28 -0
  76. package/esm2022/lib/components/sliding-panel/sliding-panel.component.mjs +48 -0
  77. package/esm2022/lib/components/sliding-panel/sliding-panel.module.mjs +19 -0
  78. package/esm2022/lib/consts/date-time.consts.mjs +2 -0
  79. package/esm2022/lib/consts/index.mjs +4 -0
  80. package/esm2022/lib/consts/inputs.consts.mjs +4 -0
  81. package/esm2022/lib/consts/month.consts.mjs +77 -0
  82. package/esm2022/lib/consts/params.consts.mjs +2 -0
  83. package/esm2022/lib/consts/register-base.consts.mjs +26 -0
  84. package/esm2022/lib/core/form-group-wrapper/errors-consts.mjs +8 -0
  85. package/esm2022/lib/core/form-group-wrapper/form-group-wrapper.mjs +81 -0
  86. package/esm2022/lib/core/form-group-wrapper/index.mjs +2 -0
  87. package/esm2022/lib/core/index.mjs +5 -0
  88. package/esm2022/lib/core/input-control/index.mjs +2 -0
  89. package/esm2022/lib/core/input-control/input-control.mjs +11 -0
  90. package/esm2022/lib/core/param/index.mjs +6 -0
  91. package/esm2022/lib/core/param/param-base.mjs +215 -0
  92. package/esm2022/lib/core/param/param-date-base.mjs +26 -0
  93. package/esm2022/lib/core/param/param-select-base.mjs +114 -0
  94. package/esm2022/lib/core/param/param-text-base.mjs +25 -0
  95. package/esm2022/lib/core/param/param.tokens.mjs +4 -0
  96. package/esm2022/lib/core/register-base/index.mjs +3 -0
  97. package/esm2022/lib/core/register-base/register-base.mjs +575 -0
  98. package/esm2022/lib/core/register-base/register-base.store.mjs +43 -0
  99. package/esm2022/lib/directives/date/date-time.types.mjs +34 -0
  100. package/esm2022/lib/directives/date/format-date.pipe.mjs +33 -0
  101. package/esm2022/lib/directives/index.mjs +3 -0
  102. package/esm2022/lib/directives/number/number-only.directive.mjs +41 -0
  103. package/esm2022/lib/directives/sticky/index.mjs +3 -0
  104. package/esm2022/lib/directives/sticky/sticky-relative.directive.mjs +32 -0
  105. package/esm2022/lib/directives/sticky/sticky-relative.service.mjs +32 -0
  106. package/esm2022/lib/directives/sticky/sticky.directive.mjs +169 -0
  107. package/esm2022/lib/services/date-time.service.mjs +314 -0
  108. package/esm2022/lib/services/dialog/dialog.service.mjs +53 -0
  109. package/esm2022/lib/services/dialog/dialog.types.mjs +2 -0
  110. package/esm2022/lib/services/dialog/index.mjs +3 -0
  111. package/esm2022/lib/services/dom-intersection.service.mjs +22 -0
  112. package/esm2022/lib/services/filter/filters-state.service.mjs +65 -0
  113. package/esm2022/lib/services/filter/filters-transmit.service.mjs +82 -0
  114. package/esm2022/lib/services/filter/filters.service.mjs +23 -0
  115. package/esm2022/lib/services/index.mjs +8 -0
  116. package/esm2022/lib/services/inputs-state.service.mjs +130 -0
  117. package/esm2022/lib/services/inputs.service.mjs +88 -0
  118. package/esm2022/lib/services/key-pressed.service.mjs +37 -0
  119. package/esm2022/lib/services/resize-window-observer.service.mjs +33 -0
  120. package/esm2022/lib/services/selected-objects-state.service.mjs +123 -0
  121. package/esm2022/lib/store/fast-query-store.service.mjs +110 -0
  122. package/esm2022/lib/store/index.mjs +2 -0
  123. package/esm2022/lib/types/event.types.mjs +2 -0
  124. package/esm2022/lib/types/hasura.types.mjs +2 -0
  125. package/esm2022/lib/types/index.mjs +7 -0
  126. package/esm2022/lib/types/inputs.types.mjs +19 -0
  127. package/esm2022/lib/types/params.types.mjs +2 -0
  128. package/esm2022/lib/types/register-base.types.mjs +6 -0
  129. package/esm2022/lib/types/sub-types.mjs +2 -0
  130. package/esm2022/lib/types/user-profile.types.mjs +2 -0
  131. package/esm2022/lib/utils/functions.mjs +10 -0
  132. package/esm2022/lib/utils/get-url-segment.mjs +35 -0
  133. package/esm2022/lib/utils/index.mjs +5 -0
  134. package/esm2022/lib/utils/prizm.shared.module.mjs +284 -0
  135. package/esm2022/lib/utils/rxjs.mjs +28 -0
  136. package/esm2022/lib/utils/select-all-utils.mjs +11 -0
  137. package/esm2022/ngx-register-base.mjs +5 -0
  138. package/esm2022/public-api.mjs +9 -0
  139. package/fesm2022/ngx-register-base.mjs +7479 -0
  140. package/fesm2022/ngx-register-base.mjs.map +1 -0
  141. package/index.d.ts +5 -0
  142. package/lib/components/checkbox-selector/checkbox-selector.component.d.ts +33 -0
  143. package/lib/components/checkbox-selector/checkbox-selector.types.d.ts +7 -0
  144. package/lib/components/column-settings/column-settings.component.d.ts +80 -0
  145. package/lib/components/column-settings/components/column-settings-template/column-settings-template.component.d.ts +24 -0
  146. package/lib/components/column-settings/consts/column-settings.consts.d.ts +8 -0
  147. package/lib/components/column-settings/types/column-settings.types.d.ts +22 -0
  148. package/lib/components/divider/divider.component.d.ts +6 -0
  149. package/lib/components/filter-button/filter-button.component.d.ts +8 -0
  150. package/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.d.ts +14 -0
  151. package/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.d.ts +25 -0
  152. package/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.d.ts +39 -0
  153. package/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.d.ts +41 -0
  154. package/lib/components/filters/components/filter-list/filter-list.service.d.ts +20 -0
  155. package/lib/components/filters/components/filter-list/filters-section/filters-section.component.d.ts +15 -0
  156. package/lib/components/filters/components/filter-list.module.d.ts +15 -0
  157. package/lib/components/filters/register-table-filter.component.d.ts +40 -0
  158. package/lib/components/filters/register-table-filter.module.d.ts +13 -0
  159. package/lib/components/inputs/inputs.module.d.ts +31 -0
  160. package/lib/components/inputs/param-calendar-year/param-calendar-year.component.d.ts +19 -0
  161. package/lib/components/inputs/param-custom/param-custom.component.d.ts +6 -0
  162. package/lib/components/inputs/param-date/param-date.component.d.ts +20 -0
  163. package/lib/components/inputs/param-date-range/param-date-range.component.d.ts +26 -0
  164. package/lib/components/inputs/param-date-time/param-date-time.component.d.ts +25 -0
  165. package/lib/components/inputs/param-date-time-range/param-date-time-range.component.d.ts +28 -0
  166. package/lib/components/inputs/param-month/param-month.component.d.ts +18 -0
  167. package/lib/components/inputs/param-month-range/param-month-range.component.d.ts +21 -0
  168. package/lib/components/inputs/param-multi-select/param-multi-select.component.d.ts +46 -0
  169. package/lib/components/inputs/param-select/param-select.component.d.ts +34 -0
  170. package/lib/components/inputs/param-switcher/param-switcher.component.d.ts +8 -0
  171. package/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.d.ts +2 -0
  172. package/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.d.ts +19 -0
  173. package/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.d.ts +8 -0
  174. package/lib/components/inputs/param-text/param-text.component.d.ts +10 -0
  175. package/lib/components/inputs/param-textarea/param-textarea.component.d.ts +10 -0
  176. package/lib/components/inputs/param-toggle/param-toggle.component.d.ts +9 -0
  177. package/lib/components/inputs/param-tree/consts/param-tree.consts.d.ts +7 -0
  178. package/lib/components/inputs/param-tree/param-tree.component.d.ts +41 -0
  179. package/lib/components/inputs/param-tree/services/param-tree.service.d.ts +37 -0
  180. package/lib/components/inputs/param-tree/services/sync-tree-loader.service.d.ts +10 -0
  181. package/{src/lib/components/inputs/param-tree/tokens/param-tree.tokens.ts → lib/components/inputs/param-tree/tokens/param-tree.tokens.d.ts} +1 -2
  182. package/lib/components/inputs/param-tree/types/param-tree.types.d.ts +32 -0
  183. package/lib/components/inputs/param-tree/utils/param-tree.utils.d.ts +7 -0
  184. package/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.d.ts +31 -0
  185. package/lib/components/inputs/param-tree-select/param-tree-select.component.d.ts +30 -0
  186. package/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.d.ts +6 -0
  187. package/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.d.ts +5 -0
  188. package/lib/components/menu-constructor/sproc-menu-constructor.component.d.ts +113 -0
  189. package/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.d.ts +24 -0
  190. package/lib/components/menu-constructor/store/sproc-menu-constructor.consts.d.ts +36 -0
  191. package/{src/lib/components/menu-constructor/store/sproc-menu.tokens.ts → lib/components/menu-constructor/store/sproc-menu.tokens.d.ts} +1 -4
  192. package/lib/components/page-menu/schema/sproc-page-menu.consts.d.ts +7 -0
  193. package/lib/components/page-menu/schema/sproc-page-menu.schema.d.ts +30 -0
  194. package/lib/components/page-menu/schema/sproc-page-menu.tokens.d.ts +3 -0
  195. package/lib/components/page-menu/schema/sproc-page-menu.types.d.ts +36 -0
  196. package/lib/components/page-menu/sproc-page-menu.component.d.ts +48 -0
  197. package/lib/components/paginator/paginator.component.d.ts +52 -0
  198. package/lib/components/paginator/types/paginator.types.d.ts +15 -0
  199. package/lib/components/register-table/consts/register-table.consts.d.ts +3 -0
  200. package/lib/components/register-table/directives/cell-template.directive.d.ts +9 -0
  201. package/lib/components/register-table/directives/header-template.directive.d.ts +9 -0
  202. package/lib/components/register-table/model/schema.d.ts +52 -0
  203. package/lib/components/register-table/pipes/class-by-type.pipe.d.ts +8 -0
  204. package/lib/components/register-table/pipes/sticky-column.pipe.d.ts +7 -0
  205. package/lib/components/register-table/register-table.component.d.ts +165 -0
  206. package/lib/components/reset-settings-form/reset-settings-form.component.d.ts +9 -0
  207. package/lib/components/search-input/search-input.component.d.ts +11 -0
  208. package/lib/components/sliding-panel/sliding-panel.component.d.ts +14 -0
  209. package/lib/components/sliding-panel/sliding-panel.module.d.ts +9 -0
  210. package/lib/consts/date-time.consts.d.ts +1 -0
  211. package/lib/consts/index.d.ts +3 -0
  212. package/lib/consts/inputs.consts.d.ts +4 -0
  213. package/lib/consts/month.consts.d.ts +49 -0
  214. package/lib/consts/params.consts.d.ts +1 -0
  215. package/lib/consts/register-base.consts.d.ts +19 -0
  216. package/lib/core/form-group-wrapper/errors-consts.d.ts +5 -0
  217. package/lib/core/form-group-wrapper/form-group-wrapper.d.ts +15 -0
  218. package/lib/core/input-control/input-control.d.ts +11 -0
  219. package/lib/core/param/param-base.d.ts +68 -0
  220. package/lib/core/param/param-date-base.d.ts +18 -0
  221. package/lib/core/param/param-select-base.d.ts +42 -0
  222. package/lib/core/param/param-text-base.d.ts +15 -0
  223. package/{src/lib/core/param/param.tokens.ts → lib/core/param/param.tokens.d.ts} +1 -2
  224. package/lib/core/register-base/register-base.d.ts +168 -0
  225. package/lib/core/register-base/register-base.store.d.ts +35 -0
  226. package/lib/directives/date/date-time.types.d.ts +32 -0
  227. package/lib/directives/date/format-date.pipe.d.ts +10 -0
  228. package/lib/directives/number/number-only.directive.d.ts +10 -0
  229. package/lib/directives/sticky/sticky-relative.directive.d.ts +13 -0
  230. package/lib/directives/sticky/sticky-relative.service.d.ts +15 -0
  231. package/lib/directives/sticky/sticky.directive.d.ts +27 -0
  232. package/lib/services/date-time.service.d.ts +80 -0
  233. package/lib/services/dialog/dialog.service.d.ts +22 -0
  234. package/{src/lib/services/dialog/dialog.types.ts → lib/services/dialog/dialog.types.d.ts} +4 -8
  235. package/lib/services/dom-intersection.service.d.ts +8 -0
  236. package/lib/services/filter/filters-state.service.d.ts +21 -0
  237. package/lib/services/filter/filters-transmit.service.d.ts +28 -0
  238. package/lib/services/filter/filters.service.d.ts +12 -0
  239. package/lib/services/inputs-state.service.d.ts +57 -0
  240. package/lib/services/inputs.service.d.ts +28 -0
  241. package/lib/services/key-pressed.service.d.ts +15 -0
  242. package/lib/services/resize-window-observer.service.d.ts +11 -0
  243. package/lib/services/selected-objects-state.service.d.ts +47 -0
  244. package/lib/store/fast-query-store.service.d.ts +19 -0
  245. package/{src/lib/types/event.types.ts → lib/types/event.types.d.ts} +1 -1
  246. package/lib/types/hasura.types.d.ts +35 -0
  247. package/lib/types/inputs.types.d.ts +41 -0
  248. package/lib/types/params.types.d.ts +27 -0
  249. package/lib/types/register-base.types.d.ts +123 -0
  250. package/lib/types/sub-types.d.ts +8 -0
  251. package/lib/types/user-profile.types.d.ts +17 -0
  252. package/lib/utils/functions.d.ts +3 -0
  253. package/lib/utils/get-url-segment.d.ts +7 -0
  254. package/lib/utils/prizm.shared.module.d.ts +14 -0
  255. package/lib/utils/rxjs.d.ts +10 -0
  256. package/lib/utils/select-all-utils.d.ts +8 -0
  257. package/package.json +15 -12
  258. package/schematics/ng-update/replace-menu-state-token/index.d.ts +2 -0
  259. package/schematics/ng-update/replace-menu-state-token/index.js +29 -0
  260. package/schematics/ng-update/replace-menu-state-token/index.js.map +1 -0
  261. package/schematics/ng-update/update-prefix/index.d.ts +2 -0
  262. package/schematics/ng-update/update-prefix/index.js +33 -0
  263. package/schematics/ng-update/update-prefix/index.js.map +1 -0
  264. package/schematics/utils/{utils.ts → utils.d.ts} +2 -9
  265. package/schematics/utils/utils.js +25 -0
  266. package/schematics/utils/utils.js.map +1 -0
  267. package/ng-package.json +0 -15
  268. package/schematics/ng-update/replace-menu-state-token/index.ts +0 -33
  269. package/schematics/ng-update/update-prefix/index.ts +0 -38
  270. package/src/lib/components/checkbox-selector/checkbox-selector.component.html +0 -91
  271. package/src/lib/components/checkbox-selector/checkbox-selector.component.less +0 -67
  272. package/src/lib/components/checkbox-selector/checkbox-selector.component.ts +0 -176
  273. package/src/lib/components/checkbox-selector/checkbox-selector.types.ts +0 -8
  274. package/src/lib/components/column-settings/column-settings.component.html +0 -160
  275. package/src/lib/components/column-settings/column-settings.component.less +0 -131
  276. package/src/lib/components/column-settings/column-settings.component.ts +0 -352
  277. package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.html +0 -65
  278. package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.less +0 -79
  279. package/src/lib/components/column-settings/components/column-settings-template/column-settings-template.component.ts +0 -114
  280. package/src/lib/components/column-settings/consts/column-settings.consts.ts +0 -9
  281. package/src/lib/components/column-settings/types/column-settings.types.ts +0 -26
  282. package/src/lib/components/divider/divider.component.html +0 -4
  283. package/src/lib/components/divider/divider.component.less +0 -10
  284. package/src/lib/components/divider/divider.component.ts +0 -12
  285. package/src/lib/components/filter-button/filter-button.component.html +0 -20
  286. package/src/lib/components/filter-button/filter-button.component.less +0 -41
  287. package/src/lib/components/filter-button/filter-button.component.ts +0 -18
  288. package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.html +0 -22
  289. package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.less +0 -23
  290. package/src/lib/components/filters/components/filter-list/filter-edit/filter-edit.component.ts +0 -31
  291. package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.html +0 -49
  292. package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.less +0 -37
  293. package/src/lib/components/filters/components/filter-list/filter-list-footer/filter-list-footer.component.ts +0 -66
  294. package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.html +0 -147
  295. package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.less +0 -45
  296. package/src/lib/components/filters/components/filter-list/filter-list-header/filter-list-header.component.ts +0 -114
  297. package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.html +0 -44
  298. package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.less +0 -49
  299. package/src/lib/components/filters/components/filter-list/filter-list-saved/filter-list-saved.component.ts +0 -167
  300. package/src/lib/components/filters/components/filter-list/filter-list.service.ts +0 -97
  301. package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.html +0 -18
  302. package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.less +0 -55
  303. package/src/lib/components/filters/components/filter-list/filters-section/filters-section.component.ts +0 -69
  304. package/src/lib/components/filters/components/filter-list.module.ts +0 -29
  305. package/src/lib/components/filters/register-table-filter.component.html +0 -53
  306. package/src/lib/components/filters/register-table-filter.component.less +0 -17
  307. package/src/lib/components/filters/register-table-filter.component.ts +0 -167
  308. package/src/lib/components/filters/register-table-filter.module.ts +0 -22
  309. package/src/lib/components/inputs/inputs.module.ts +0 -104
  310. package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.html +0 -49
  311. package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.less +0 -70
  312. package/src/lib/components/inputs/param-calendar-year/param-calendar-year.component.ts +0 -52
  313. package/src/lib/components/inputs/param-custom/param-custom.component.html +0 -1
  314. package/src/lib/components/inputs/param-custom/param-custom.component.ts +0 -9
  315. package/src/lib/components/inputs/param-date/param-date.component.html +0 -55
  316. package/src/lib/components/inputs/param-date/param-date.component.less +0 -67
  317. package/src/lib/components/inputs/param-date/param-date.component.ts +0 -77
  318. package/src/lib/components/inputs/param-date-range/param-date-range.component.html +0 -45
  319. package/src/lib/components/inputs/param-date-range/param-date-range.component.less +0 -75
  320. package/src/lib/components/inputs/param-date-range/param-date-range.component.ts +0 -67
  321. package/src/lib/components/inputs/param-date-time/param-date-time.component.html +0 -70
  322. package/src/lib/components/inputs/param-date-time/param-date-time.component.less +0 -72
  323. package/src/lib/components/inputs/param-date-time/param-date-time.component.ts +0 -101
  324. package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.html +0 -67
  325. package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.less +0 -103
  326. package/src/lib/components/inputs/param-date-time-range/param-date-time-range.component.ts +0 -128
  327. package/src/lib/components/inputs/param-month/param-month.component.html +0 -46
  328. package/src/lib/components/inputs/param-month/param-month.component.less +0 -72
  329. package/src/lib/components/inputs/param-month/param-month.component.ts +0 -55
  330. package/src/lib/components/inputs/param-month-range/param-month-range.component.html +0 -39
  331. package/src/lib/components/inputs/param-month-range/param-month-range.component.less +0 -71
  332. package/src/lib/components/inputs/param-month-range/param-month-range.component.ts +0 -76
  333. package/src/lib/components/inputs/param-multi-select/param-multi-select.component.html +0 -84
  334. package/src/lib/components/inputs/param-multi-select/param-multi-select.component.less +0 -108
  335. package/src/lib/components/inputs/param-multi-select/param-multi-select.component.ts +0 -448
  336. package/src/lib/components/inputs/param-select/param-select.component.html +0 -106
  337. package/src/lib/components/inputs/param-select/param-select.component.less +0 -26
  338. package/src/lib/components/inputs/param-select/param-select.component.ts +0 -318
  339. package/src/lib/components/inputs/param-switcher/param-switcher.component.html +0 -8
  340. package/src/lib/components/inputs/param-switcher/param-switcher.component.less +0 -53
  341. package/src/lib/components/inputs/param-switcher/param-switcher.component.ts +0 -13
  342. package/src/lib/components/inputs/param-switcher-date-time-range/consts/param-switcher-date-time-range.consts.ts +0 -29
  343. package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.html +0 -19
  344. package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.less +0 -76
  345. package/src/lib/components/inputs/param-switcher-date-time-range/param-switcher-date-time-range.component.ts +0 -134
  346. package/src/lib/components/inputs/param-switcher-date-time-range/types/param-switcher-date-time-range.types.ts +0 -8
  347. package/src/lib/components/inputs/param-text/param-text.component.html +0 -59
  348. package/src/lib/components/inputs/param-text/param-text.component.less +0 -33
  349. package/src/lib/components/inputs/param-text/param-text.component.ts +0 -36
  350. package/src/lib/components/inputs/param-textarea/param-textarea.component.html +0 -61
  351. package/src/lib/components/inputs/param-textarea/param-textarea.component.less +0 -21
  352. package/src/lib/components/inputs/param-textarea/param-textarea.component.ts +0 -33
  353. package/src/lib/components/inputs/param-toggle/param-toggle.component.html +0 -40
  354. package/src/lib/components/inputs/param-toggle/param-toggle.component.less +0 -69
  355. package/src/lib/components/inputs/param-toggle/param-toggle.component.ts +0 -14
  356. package/src/lib/components/inputs/param-tree/consts/param-tree.consts.ts +0 -59
  357. package/src/lib/components/inputs/param-tree/param-tree.component.html +0 -51
  358. package/src/lib/components/inputs/param-tree/param-tree.component.less +0 -3
  359. package/src/lib/components/inputs/param-tree/param-tree.component.ts +0 -282
  360. package/src/lib/components/inputs/param-tree/services/param-tree.service.ts +0 -176
  361. package/src/lib/components/inputs/param-tree/services/sync-tree-loader.service.ts +0 -18
  362. package/src/lib/components/inputs/param-tree/types/param-tree.types.ts +0 -39
  363. package/src/lib/components/inputs/param-tree/utils/param-tree.utils.ts +0 -18
  364. package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.html +0 -78
  365. package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.less +0 -109
  366. package/src/lib/components/inputs/param-tree-multi-select/param-tree-multi-select.component.ts +0 -89
  367. package/src/lib/components/inputs/param-tree-select/param-tree-select.component.html +0 -54
  368. package/src/lib/components/inputs/param-tree-select/param-tree-select.component.less +0 -56
  369. package/src/lib/components/inputs/param-tree-select/param-tree-select.component.ts +0 -91
  370. package/src/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.html +0 -5
  371. package/src/lib/components/inputs/sub-components/param-delete-content-icon/param-delete-content-btn.component.ts +0 -13
  372. package/src/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.html +0 -4
  373. package/src/lib/components/inputs/sub-components/param-invalid-icon/param-invalid-icon.component.ts +0 -11
  374. package/src/lib/components/menu-constructor/sproc-menu-constructor.component.html +0 -95
  375. package/src/lib/components/menu-constructor/sproc-menu-constructor.component.less +0 -183
  376. package/src/lib/components/menu-constructor/sproc-menu-constructor.component.ts +0 -687
  377. package/src/lib/components/menu-constructor/store/sproc-abstract-menu-constructor.store.ts +0 -32
  378. package/src/lib/components/menu-constructor/store/sproc-menu-constructor.consts.ts +0 -46
  379. package/src/lib/components/page-menu/README.md +0 -60
  380. package/src/lib/components/page-menu/schema/sproc-page-menu.consts.ts +0 -8
  381. package/src/lib/components/page-menu/schema/sproc-page-menu.schema.ts +0 -35
  382. package/src/lib/components/page-menu/schema/sproc-page-menu.tokens.ts +0 -5
  383. package/src/lib/components/page-menu/schema/sproc-page-menu.types.ts +0 -42
  384. package/src/lib/components/page-menu/sproc-page-menu.component.html +0 -166
  385. package/src/lib/components/page-menu/sproc-page-menu.component.less +0 -228
  386. package/src/lib/components/page-menu/sproc-page-menu.component.ts +0 -337
  387. package/src/lib/components/paginator/paginator.component.html +0 -97
  388. package/src/lib/components/paginator/paginator.component.less +0 -101
  389. package/src/lib/components/paginator/paginator.component.ts +0 -192
  390. package/src/lib/components/paginator/types/paginator.types.ts +0 -16
  391. package/src/lib/components/register-table/consts/register-table.consts.ts +0 -3
  392. package/src/lib/components/register-table/directives/cell-template.directive.ts +0 -11
  393. package/src/lib/components/register-table/directives/header-template.directive.ts +0 -11
  394. package/src/lib/components/register-table/model/schema.ts +0 -62
  395. package/src/lib/components/register-table/pipes/class-by-type.pipe.ts +0 -28
  396. package/src/lib/components/register-table/pipes/sticky-column.pipe.ts +0 -11
  397. package/src/lib/components/register-table/register-table.component.html +0 -257
  398. package/src/lib/components/register-table/register-table.component.less +0 -151
  399. package/src/lib/components/register-table/register-table.component.ts +0 -743
  400. package/src/lib/components/reset-settings-form/reset-settings-form.component.html +0 -14
  401. package/src/lib/components/reset-settings-form/reset-settings-form.component.less +0 -26
  402. package/src/lib/components/reset-settings-form/reset-settings-form.component.ts +0 -15
  403. package/src/lib/components/search-input/search-input.component.html +0 -6
  404. package/src/lib/components/search-input/search-input.component.less +0 -17
  405. package/src/lib/components/search-input/search-input.component.ts +0 -31
  406. package/src/lib/components/sliding-panel/sliding-panel.component.html +0 -13
  407. package/src/lib/components/sliding-panel/sliding-panel.component.less +0 -112
  408. package/src/lib/components/sliding-panel/sliding-panel.component.ts +0 -36
  409. package/src/lib/components/sliding-panel/sliding-panel.module.ts +0 -11
  410. package/src/lib/consts/date-time.consts.ts +0 -1
  411. package/src/lib/consts/index.ts +0 -8
  412. package/src/lib/consts/inputs.consts.ts +0 -9
  413. package/src/lib/consts/month.consts.ts +0 -82
  414. package/src/lib/consts/params.consts.ts +0 -1
  415. package/src/lib/consts/register-base.consts.ts +0 -40
  416. package/src/lib/core/form-group-wrapper/errors-consts.ts +0 -6
  417. package/src/lib/core/form-group-wrapper/form-group-wrapper.ts +0 -109
  418. package/src/lib/core/input-control/input-control.ts +0 -30
  419. package/src/lib/core/param/param-base.ts +0 -262
  420. package/src/lib/core/param/param-date-base.ts +0 -30
  421. package/src/lib/core/param/param-select-base.ts +0 -118
  422. package/src/lib/core/param/param-text-base.ts +0 -23
  423. package/src/lib/core/register-base/register-base.store.ts +0 -84
  424. package/src/lib/core/register-base/register-base.ts +0 -854
  425. package/src/lib/directives/date/date-time.types.ts +0 -36
  426. package/src/lib/directives/date/format-date.pipe.ts +0 -28
  427. package/src/lib/directives/number/number-only.directive.ts +0 -36
  428. package/src/lib/directives/sticky/sticky-relative.directive.ts +0 -30
  429. package/src/lib/directives/sticky/sticky-relative.service.ts +0 -34
  430. package/src/lib/directives/sticky/sticky.directive.ts +0 -189
  431. package/src/lib/services/date-time.service.ts +0 -399
  432. package/src/lib/services/dialog/dialog.service.ts +0 -62
  433. package/src/lib/services/dom-intersection.service.ts +0 -23
  434. package/src/lib/services/filter/filters-state.service.ts +0 -83
  435. package/src/lib/services/filter/filters-transmit.service.ts +0 -105
  436. package/src/lib/services/filter/filters.service.ts +0 -21
  437. package/src/lib/services/inputs-state.service.ts +0 -157
  438. package/src/lib/services/inputs.service.ts +0 -114
  439. package/src/lib/services/key-pressed.service.ts +0 -40
  440. package/src/lib/services/resize-window-observer.service.ts +0 -37
  441. package/src/lib/services/selected-objects-state.service.ts +0 -159
  442. package/src/lib/store/fast-query-store.service.ts +0 -132
  443. package/src/lib/types/hasura.types.ts +0 -41
  444. package/src/lib/types/inputs.types.ts +0 -63
  445. package/src/lib/types/params.types.ts +0 -42
  446. package/src/lib/types/register-base.types.ts +0 -161
  447. package/src/lib/types/sub-types.ts +0 -15
  448. package/src/lib/types/user-profile.types.ts +0 -18
  449. package/src/lib/utils/functions.ts +0 -11
  450. package/src/lib/utils/get-url-segment.ts +0 -46
  451. package/src/lib/utils/prizm.shared.module.ts +0 -176
  452. package/src/lib/utils/rxjs.ts +0 -33
  453. package/src/lib/utils/select-all-utils.ts +0 -16
  454. package/tsconfig.lib.json +0 -16
  455. package/tsconfig.lib.prod.json +0 -11
  456. package/tsconfig.schematics.json +0 -26
  457. package/tsconfig.spec.json +0 -15
  458. /package/{src/lib/components/column-settings/index.ts → lib/components/column-settings/index.d.ts} +0 -0
  459. /package/{src/lib/components/filters/index.ts → lib/components/filters/index.d.ts} +0 -0
  460. /package/{src/lib/components/index.ts → lib/components/index.d.ts} +0 -0
  461. /package/{src/lib/components/inputs/index.ts → lib/components/inputs/index.d.ts} +0 -0
  462. /package/{src/lib/components/inputs/param-switcher-date-time-range/index.ts → lib/components/inputs/param-switcher-date-time-range/index.d.ts} +0 -0
  463. /package/{src/lib/components/inputs/param-tree/index.ts → lib/components/inputs/param-tree/index.d.ts} +0 -0
  464. /package/{src/lib/components/menu-constructor/index.ts → lib/components/menu-constructor/index.d.ts} +0 -0
  465. /package/{src/lib/components/page-menu/index.ts → lib/components/page-menu/index.d.ts} +0 -0
  466. /package/{src/lib/components/register-table/index.ts → lib/components/register-table/index.d.ts} +0 -0
  467. /package/{src/lib/core/form-group-wrapper/index.ts → lib/core/form-group-wrapper/index.d.ts} +0 -0
  468. /package/{src/lib/core/index.ts → lib/core/index.d.ts} +0 -0
  469. /package/{src/lib/core/input-control/index.ts → lib/core/input-control/index.d.ts} +0 -0
  470. /package/{src/lib/core/param/index.ts → lib/core/param/index.d.ts} +0 -0
  471. /package/{src/lib/core/register-base/index.ts → lib/core/register-base/index.d.ts} +0 -0
  472. /package/{src/lib/directives/index.ts → lib/directives/index.d.ts} +0 -0
  473. /package/{src/lib/directives/sticky/index.ts → lib/directives/sticky/index.d.ts} +0 -0
  474. /package/{src/lib/services/dialog/index.ts → lib/services/dialog/index.d.ts} +0 -0
  475. /package/{src/lib/services/index.ts → lib/services/index.d.ts} +0 -0
  476. /package/{src/lib/store/index.ts → lib/store/index.d.ts} +0 -0
  477. /package/{src/lib/types/index.ts → lib/types/index.d.ts} +0 -0
  478. /package/{src/lib/utils/index.ts → lib/utils/index.d.ts} +0 -0
  479. /package/{src/public-api.ts → public-api.d.ts} +0 -0
@@ -1,15 +1,11 @@
1
1
  import { PrizmDialogOptions } from '@prizm-ui/components';
2
2
  import { TuiDialogSize } from '@taiga-ui/core';
3
-
4
3
  export { PrizmOverlayInsidePlacement as DialogOverlayInsidePlacement } from '@prizm-ui/components';
5
-
6
4
  export type DialogOptions<O, DATA> = PrizmDialogOptions<O, DATA>;
7
-
8
5
  export type DialogSize = TuiDialogSize;
9
-
10
6
  export interface DialogContext {
11
- closeable?: boolean;
12
- dismissible?: boolean;
13
- width?: number;
14
- size?: DialogSize;
7
+ closeable?: boolean;
8
+ dismissible?: boolean;
9
+ width?: number;
10
+ size?: DialogSize;
15
11
  }
@@ -0,0 +1,8 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DomIntersectionService {
5
+ createAndObserve(element: ElementRef): Observable<boolean>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomIntersectionService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<DomIntersectionService>;
8
+ }
@@ -0,0 +1,21 @@
1
+ import { InputsStateService } from '../inputs-state.service';
2
+ import { ITpUserSettings } from '../../types/register-base.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FiltersStateService<T> extends InputsStateService<T> {
5
+ private readonly _transmitter;
6
+ private readonly _selectedSavedFilter;
7
+ private readonly _isFilterNameChanged$;
8
+ private readonly _searchFilterValue$;
9
+ readonly selectedSavedFilter: import("rxjs").Observable<ITpUserSettings | null>;
10
+ readonly searchFilterValue$: import("rxjs").Observable<string>;
11
+ readonly pageStorageKey: string;
12
+ constructor();
13
+ private _cachePage;
14
+ private _subscribeOnNavigateToOtherModules;
15
+ setSelectedSavedFilter(value: ITpUserSettings | null): void;
16
+ setSearchFilterValue(value: string): void;
17
+ getSelectedSavedFilter(): ITpUserSettings | null;
18
+ onDestroy(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersStateService<any>, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<FiltersStateService<any>>;
21
+ }
@@ -0,0 +1,28 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Observable, Subject } from 'rxjs';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { IInputControl } from '../../types/inputs.types';
5
+ import { FormGroupWrapper } from '../../core/form-group-wrapper/form-group-wrapper';
6
+ import { ITpUserSettingsSettingsFilter } from '../../types/register-base.types';
7
+ import * as i0 from "@angular/core";
8
+ export declare const FILTERS_QUERY_PARAMS_KEY = "filters";
9
+ export declare const FILTERS_QUERY_PARAMS_VALUE_EMPTY = "empty";
10
+ export declare const SEARCH_QUERY_PARAMS_KEY = "search";
11
+ export declare class FiltersTransmitService implements OnDestroy {
12
+ private readonly _router;
13
+ private readonly _route;
14
+ protected readonly _unsubscribe$: Subject<void>;
15
+ protected formGroup?: FormGroupWrapper<any>;
16
+ protected searchInput?: IInputControl<string | null>;
17
+ constructor(_router: Router, _route: ActivatedRoute);
18
+ setForm(formGroup: FormGroupWrapper<any>): void;
19
+ setSearchInput(searchInput: IInputControl<string | null> | undefined): void;
20
+ subscribeOnApplyFormValues(observable: Observable<unknown>): void;
21
+ get stringifyValues(): string | undefined;
22
+ get filters(): ITpUserSettingsSettingsFilter[] | undefined;
23
+ get search(): string | undefined;
24
+ private _setQueryParams;
25
+ ngOnDestroy(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersTransmitService, never>;
27
+ static ɵprov: i0.ɵɵInjectableDeclaration<FiltersTransmitService>;
28
+ }
@@ -0,0 +1,12 @@
1
+ import { Injector } from '@angular/core';
2
+ import { InputsService } from '../inputs.service';
3
+ import { FiltersTransmitService } from './filters-transmit.service';
4
+ import { FormGroupWrapper } from '../../core/form-group-wrapper/form-group-wrapper';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FiltersService<FormType> extends InputsService<FormType> {
7
+ private readonly _transmitter;
8
+ constructor(injector: Injector, _transmitter: FiltersTransmitService);
9
+ init(group: FormGroupWrapper<FormType>): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersService<any>, [null, { optional: true; }]>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<FiltersService<any>>;
12
+ }
@@ -0,0 +1,57 @@
1
+ import { DestroyRef, OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject, Subject } from 'rxjs';
3
+ import { GqlFields, IInputsState } from '../types';
4
+ import { Router } from '@angular/router';
5
+ import { RegisterTableCellSorter } from '../components/register-table/model/schema';
6
+ import * as i0 from "@angular/core";
7
+ export declare const DEFAULT_LIMIT = 30;
8
+ export declare class InputsStateService<T = any> implements OnDestroy {
9
+ protected readonly unsubscribe$: Subject<void>;
10
+ protected readonly _page$: BehaviorSubject<number>;
11
+ protected readonly _limit$: BehaviorSubject<number | null>;
12
+ protected readonly _offset$: BehaviorSubject<number>;
13
+ protected readonly _count$: BehaviorSubject<number>;
14
+ protected readonly _sorter$: BehaviorSubject<RegisterTableCellSorter<T>[]>;
15
+ protected readonly _name$: BehaviorSubject<string>;
16
+ protected readonly _state$: BehaviorSubject<IInputsState>;
17
+ protected readonly _gqlValues$: BehaviorSubject<GqlFields>;
18
+ protected readonly _pinned$: BehaviorSubject<boolean>;
19
+ readonly page$: import("rxjs").Observable<number>;
20
+ readonly limit$: import("rxjs").Observable<number | null>;
21
+ readonly offset$: import("rxjs").Observable<number>;
22
+ readonly count$: import("rxjs").Observable<number>;
23
+ readonly sorter$: import("rxjs").Observable<RegisterTableCellSorter<T>[]>;
24
+ readonly name$: import("rxjs").Observable<string>;
25
+ readonly state$: import("rxjs").Observable<IInputsState>;
26
+ readonly gqlValues$: import("rxjs").Observable<GqlFields>;
27
+ readonly pinned$: import("rxjs").Observable<boolean>;
28
+ protected readonly destroyRef: DestroyRef;
29
+ protected readonly router: Router;
30
+ protected readonly modulePath: string;
31
+ readonly pinStorageKey: string;
32
+ readonly pinnedInputsStorageKey: string;
33
+ toggle(): void;
34
+ togglePin(): void;
35
+ ngOnDestroy(): void;
36
+ protected onDestroy(): void;
37
+ setPage(page: number): void;
38
+ setLimit(limit: number): void;
39
+ setOffset(offset: number): void;
40
+ setSorter(sort: RegisterTableCellSorter<T>[]): void;
41
+ setName(name: string): void;
42
+ setCount(count: number): void;
43
+ setState(state: IInputsState): void;
44
+ setGqlValues(values: GqlFields): void;
45
+ setPin(isPin: boolean): void;
46
+ get page(): number;
47
+ get limit(): number;
48
+ get offset(): number;
49
+ get state(): IInputsState;
50
+ get count(): number;
51
+ get sorter(): RegisterTableCellSorter<T>[];
52
+ get name(): string;
53
+ get gqlValues(): GqlFields;
54
+ get isPin(): boolean;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputsStateService<any>, never>;
56
+ static ɵprov: i0.ɵɵInjectableDeclaration<InputsStateService<any>>;
57
+ }
@@ -0,0 +1,28 @@
1
+ import { Injector, OnDestroy } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { FormGroupWrapper } from '../core/form-group-wrapper/form-group-wrapper';
4
+ import { ITpUserSettingsSettingsFilter } from '../types/register-base.types';
5
+ import { ExtractForm } from '../types/sub-types';
6
+ import { IInputControl, IInputsStateConfig } from '../types/inputs.types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class InputsService<FormType> implements OnDestroy {
9
+ private readonly injector;
10
+ protected readonly config: IInputsStateConfig;
11
+ protected readonly unsubscribe$: Subject<void>;
12
+ private readonly _searchInput;
13
+ inputs: FormGroupWrapper<FormType>;
14
+ constructor(injector: Injector);
15
+ get searchInput(): IInputControl<string | null> | undefined;
16
+ get searchValue(): string | null | undefined;
17
+ init(group: FormGroupWrapper<FormType>): void;
18
+ get values(): ExtractForm<FormType>;
19
+ get dirtyValues(): Partial<ExtractForm<FormType>>;
20
+ clear(): void;
21
+ setUserSettingsFilterValues(values: ITpUserSettingsSettingsFilter[]): void;
22
+ private _control;
23
+ get userSettingsFilter(): ITpUserSettingsSettingsFilter[];
24
+ get gqlFilter(): Record<string, any>[];
25
+ ngOnDestroy(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputsService<any>, never>;
27
+ static ɵprov: i0.ɵɵInjectableDeclaration<InputsService<any>>;
28
+ }
@@ -0,0 +1,15 @@
1
+ import { InjectionToken, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare const KEY_PRESSED: InjectionToken<string>;
4
+ export declare class KeyPressedService implements OnDestroy {
5
+ private _keyName;
6
+ private readonly _isPressed$;
7
+ readonly isPressed$: import("rxjs").Observable<boolean>;
8
+ constructor();
9
+ isPressed(): boolean;
10
+ ngOnDestroy(): void;
11
+ private readonly _keydownListener;
12
+ private readonly _keyupListener;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyPressedService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<KeyPressedService>;
15
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ResizeWindowObserverService {
3
+ private readonly _zone;
4
+ private readonly _destroyRef;
5
+ readonly innerHeight: import("@angular/core").WritableSignal<number>;
6
+ readonly innerWidth: import("@angular/core").WritableSignal<number>;
7
+ readonly innerHeight$: import("rxjs").Observable<number>;
8
+ constructor();
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeWindowObserverService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeWindowObserverService>;
11
+ }
@@ -0,0 +1,47 @@
1
+ import { ScalarUUID } from 'hasura';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { ERegisterObjectState, IRegisterObject } from '../types/register-base.types';
4
+ import { ApplySelectionTypes } from '../components/checkbox-selector/checkbox-selector.types';
5
+ import * as i0 from "@angular/core";
6
+ /** Сервис хранения состояния выбранных в реестре объектов */
7
+ export declare class SelectedObjectsStateService<T extends {
8
+ id: ScalarUUID;
9
+ } = any> {
10
+ /** Состояние всех загруженных объектов реестра */
11
+ readonly state: import("@angular/core").WritableSignal<Map<ScalarUUID, IRegisterObject<T>>>;
12
+ /** Ключи всех выбранных объектов реестра */
13
+ readonly selectedKeys: import("@angular/core").Signal<Set<ScalarUUID>>;
14
+ /** Ключи всех выбранных или не выбранных объектов реестра (зависит от stateUnfetchedObjects) */
15
+ readonly keys: import("@angular/core").Signal<Set<ScalarUUID>>;
16
+ /** Значения всех выбранных объектов реестра */
17
+ readonly selectedValues: import("@angular/core").Signal<Set<T>>;
18
+ /** Значения всех не выбранных объектов реестра */
19
+ readonly unselectedValues: import("@angular/core").Signal<Set<T>>;
20
+ /** Значения всех выбранных или не выбранных объектов реестра (зависит от stateUnfetchedObjects) */
21
+ readonly values: import("@angular/core").Signal<Set<T>>;
22
+ readonly selectionType$: BehaviorSubject<ApplySelectionTypes>;
23
+ readonly stateUnfetchedObjects$: BehaviorSubject<ERegisterObjectState>;
24
+ readonly stateUnfetchedObjects: import("@angular/core").Signal<ERegisterObjectState>;
25
+ private readonly _dr;
26
+ constructor();
27
+ /**
28
+ * Установить состояние всем загруженным объектам
29
+ *
30
+ * @param nextState - устанавливаемое состояние
31
+ * */
32
+ setAllStateObjectsByState(nextState: ERegisterObjectState): void;
33
+ /**
34
+ * Обновить свойства загруженного объекта по ключу
35
+ *
36
+ * @param key - ключ загруженного объекта
37
+ * @param updates - обновление, содержащее свойства которые нужно обновить
38
+ * */
39
+ setStateObjectByKey(key: ScalarUUID, updates: Partial<IRegisterObject<T>>): void;
40
+ loadStateObjects(data: T[]): void;
41
+ private _refresh;
42
+ resetState(data?: T[]): void;
43
+ private _filterStateObjectsByState;
44
+ private _subscribeOnSelectionType;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectedObjectsStateService<any>, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<SelectedObjectsStateService<any>>;
47
+ }
@@ -0,0 +1,19 @@
1
+ import { DocumentNode } from 'graphql/language';
2
+ import { Observable } from 'rxjs';
3
+ import { MetaQuery } from '../types/params.types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FastQueryStore {
6
+ private cachedTime;
7
+ private cachedVariables;
8
+ private cachedData;
9
+ private readonly _apollo;
10
+ getResults(meta: MetaQuery, withoutAggregate?: boolean, selectedIdsWhere?: object): Observable<{
11
+ data: Record<string, any>[];
12
+ totalElements: number;
13
+ selectedIdsQuery?: any[];
14
+ }>;
15
+ generateGqlQuery(meta: MetaQuery, withoutAggregate?: boolean, withPickedSearch?: boolean): DocumentNode;
16
+ private _buildDeepDataFromValue;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FastQueryStore, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<FastQueryStore>;
19
+ }
@@ -1,3 +1,3 @@
1
1
  export interface InputElementEvent extends InputEvent {
2
- target: HTMLInputElement;
2
+ target: HTMLInputElement;
3
3
  }
@@ -0,0 +1,35 @@
1
+ export interface HasuraGqlError {
2
+ extensions: {
3
+ code: string;
4
+ path: string;
5
+ };
6
+ message: string;
7
+ }
8
+ export interface HbGqlErrors {
9
+ errors: HasuraGqlError[];
10
+ graphQLErrors?: HasuraGqlError[];
11
+ }
12
+ export type HasuraError = HbGqlErrors | string;
13
+ export interface HasuraErrorInternal {
14
+ error: {
15
+ description: string | null;
16
+ exec_status: string;
17
+ hint: string | null;
18
+ message: string;
19
+ };
20
+ }
21
+ export interface HasuraErrorExtensions {
22
+ code: string;
23
+ internal: HasuraErrorInternal;
24
+ }
25
+ export interface GraphQLError {
26
+ message: string;
27
+ extensions: HasuraErrorExtensions;
28
+ }
29
+ export interface ApolloError {
30
+ message: string;
31
+ graphQLErrors: GraphQLError[];
32
+ clientErrors: any[];
33
+ extraInfo?: any;
34
+ cause?: Error;
35
+ }
@@ -0,0 +1,41 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { WhereBoolExp } from 'hasura';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { JsonValue } from 'type-fest';
5
+ import { WritableSignal } from '@angular/core';
6
+ export declare enum EInputsState {
7
+ HIDDEN = 0,
8
+ FILTER_LIST = 1,
9
+ SAVED_LIST = 2,
10
+ ON_EDIT_FILTER = 3,
11
+ ON_SAVE_FILTER = 4
12
+ }
13
+ export declare enum EInputsAction {
14
+ CANCEL = 0,
15
+ APPLY_FILTERS = 1,
16
+ APPLY_SAVED_FILTER = 2,
17
+ AFTER_SAVE_FILTER = 3,
18
+ EDIT_FILTER_NAME = 4,
19
+ EDIT_FILTER = 5,
20
+ OPEN = 6
21
+ }
22
+ export interface IInputsState {
23
+ state: EInputsState;
24
+ action: EInputsAction;
25
+ }
26
+ export interface IInputsStateConfig {
27
+ defaultPin?: boolean;
28
+ searchInput?: boolean;
29
+ }
30
+ export interface IInputControl<ValueType = any, SavedValueType = any> extends FormControl<ValueType> {
31
+ saved_value$: BehaviorSubject<SavedValueType | null>;
32
+ gql_value: InputControlGqlValue;
33
+ /** По полю применена фильтрация */
34
+ applied?: WritableSignal<boolean>;
35
+ }
36
+ export type InputControlSaveValue = JsonValue | null;
37
+ export type InputControlGqlValue = WhereBoolExp<Record<string, any>> | any | undefined;
38
+ export type GqlFields = (string | GqlField)[] | GqlField;
39
+ export interface GqlField {
40
+ [key: string]: string | string[] | number | number[] | boolean | boolean[] | GqlField | GqlField[];
41
+ }
@@ -0,0 +1,27 @@
1
+ import { Injector } from '@angular/core';
2
+ import { InputControlGqlValue } from './inputs.types';
3
+ import { OrderBy, WhereBoolExp } from 'hasura';
4
+ export interface MetaQuery<T extends Record<string, any> = any> {
5
+ table: {
6
+ name: string;
7
+ idField: string;
8
+ valueField: string;
9
+ };
10
+ where?: WhereBoolExp<T>;
11
+ distinct_on?: (keyof T)[];
12
+ limit?: number;
13
+ offset?: number;
14
+ order_by?: OrderBy<T>;
15
+ subquery?: string;
16
+ }
17
+ export interface IFilterSelectValue {
18
+ id: number | string;
19
+ name: string;
20
+ [key: string]: any;
21
+ }
22
+ export type FormatterSavedValueType<ValueType, SavedValueType> = (value: ValueType, injector?: Injector) => SavedValueType;
23
+ export type ParserSavedValueType<SavedValueType, ValueType> = (value: SavedValueType, injector?: Injector) => ValueType;
24
+ export type FormatterGqlValueType<ValueType> = (value: ValueType, injector?: Injector) => InputControlGqlValue;
25
+ export type FilterSelectKeys<T> = {
26
+ [K in keyof T]: T[K] extends IFilterSelectValue[] | null ? K : never;
27
+ }[keyof T];
@@ -0,0 +1,123 @@
1
+ import { Observable, Subscription } from 'rxjs';
2
+ import { WhereBoolExp } from 'hasura';
3
+ import { SETTINGS_TYPE } from '../consts/register-base.consts';
4
+ import { IUserProfile } from './user-profile.types';
5
+ import { IHasuraQueryFilter, ThWidthEntry } from '../components/register-table/model/schema';
6
+ import { MutationResult } from 'apollo-angular';
7
+ import { ITableColumnSettings } from '../components/column-settings/types/column-settings.types';
8
+ export interface IRegisterBase {
9
+ /** @deprecated плохая практика, используйте событие visibleRowsChanges из RegisterTableComponent */
10
+ is_visible?: boolean;
11
+ id: any;
12
+ }
13
+ export interface ITpUserSettings {
14
+ id: string;
15
+ id_user: string;
16
+ name: string;
17
+ module_name: string;
18
+ settings: ITpUserSettingsSettings;
19
+ settings_type: SETTINGS_TYPE;
20
+ }
21
+ export interface ITpUserSettingsSettings {
22
+ name?: string;
23
+ favorite?: boolean;
24
+ filter?: ITpUserSettingsSettingsFilter[];
25
+ tableFields?: ITableColumnSettings;
26
+ expandType?: string;
27
+ switchValue?: 0 | 1;
28
+ menuState?: boolean;
29
+ tableColumnsWidth?: ThWidthEntry[];
30
+ pageRowsLimit?: number;
31
+ referer?: string;
32
+ pinned?: boolean;
33
+ }
34
+ export interface ITpUserSettingsSettingsFilter {
35
+ id: string;
36
+ value: unknown;
37
+ }
38
+ export declare enum ERegisterObjectState {
39
+ SELECTED = "SELECTED",
40
+ UNSELECTED = "UNSELECTED"
41
+ }
42
+ export interface IRegisterObject<T = any> {
43
+ object?: T;
44
+ state: ERegisterObjectState;
45
+ }
46
+ export type ObjectsSubscriptionConfig<DataType, FilterType = Record<string, any>> = {
47
+ filter: FilterType;
48
+ callback?: (data: DataType[]) => void;
49
+ noSet?: boolean;
50
+ };
51
+ /** Интерфейс сервиса управления пользовательскими настройками */
52
+ export interface IUserSettingsLoader<T extends ITpUserSettings = any> {
53
+ /** Пользовательские настройки */
54
+ settings$: Observable<T[]>;
55
+ /** Запрос пользовательских настроек по фильтру */
56
+ fetchUserSettings$(where: WhereBoolExp<T>, hidden?: boolean): Observable<T[]>;
57
+ /** Запрос пользовательских настроек по фильтру (Эффект для фильтров) */
58
+ fetchUserSettingsByUserId: (observableOrValue: {
59
+ userId: string;
60
+ settingsType: SETTINGS_TYPE;
61
+ moduleName: string;
62
+ } | Observable<{
63
+ userId: string;
64
+ settingsType: SETTINGS_TYPE;
65
+ moduleName: string;
66
+ }>) => Subscription;
67
+ /** Состояние загрузки пользовательских настроек */
68
+ loading$: Observable<boolean>;
69
+ /** Мутация на создание или обновление пользовательской настройки */
70
+ upsertUserSettingsByUserId: (observableOrValue: {
71
+ settings: Partial<T>;
72
+ hidden?: boolean;
73
+ updateSettings?: boolean;
74
+ } | Observable<{
75
+ settings: Partial<T>;
76
+ hidden?: boolean;
77
+ updateSettings?: boolean;
78
+ }>) => Subscription;
79
+ /** Мутация на обновление пользовательской настройки (Эффект для фильтров) */
80
+ updateUserSettingsSettingsById: (observableOrValue: {
81
+ id: string;
82
+ settings: ITpUserSettingsSettings;
83
+ } | Observable<{
84
+ id: string;
85
+ settings: ITpUserSettingsSettings;
86
+ }>) => Subscription;
87
+ /** Удаление пользовательской настройки (Эффект для фильтров) */
88
+ deleteUserSettingsById: (observableOrValue: {
89
+ id: string;
90
+ updateSettings?: boolean;
91
+ } | Observable<{
92
+ id: string;
93
+ updateSettings?: boolean;
94
+ }>) => Subscription;
95
+ /** Результат выполнения мутации */
96
+ upsertReturningOne$(type: SETTINGS_TYPE): Observable<ITpUserSettings | null>;
97
+ /** Завершение создания или обновления пользовательской настройки */
98
+ upsertEnded$: Observable<void>;
99
+ }
100
+ /** Интерфейс сервиса управления аутентификацией пользователя */
101
+ export interface IUserProfileLoader<T extends IUserProfile, PermissionType = unknown> {
102
+ /** Аутентифицированный пользователь */
103
+ getUserProfile(): T;
104
+ /** Метод проверки привилегий пользователя */
105
+ checkPermissions(permissions: PermissionType[], every?: boolean): boolean;
106
+ }
107
+ export interface IBaseRegisterStoreState<T> {
108
+ loading: boolean;
109
+ count: number;
110
+ total: number;
111
+ objects: T[];
112
+ }
113
+ export interface IBaseRegisterStore<Type extends Record<string, any>> {
114
+ readonly deleteByIds: (ids: string[], date: Date, ...args: unknown[]) => Observable<MutationResult<Type[]> | null>;
115
+ readonly fetchTotal: (observableOrValue: Record<string, any> | Observable<Record<string, any>>) => Subscription;
116
+ readonly fetchObjects: (observableOrValue: {
117
+ filter: IHasuraQueryFilter<Type>;
118
+ callback?: (data: Type[]) => void;
119
+ } | Observable<{
120
+ filter: IHasuraQueryFilter<Type>;
121
+ callback?: (data: Type[]) => void;
122
+ }>) => Subscription;
123
+ }
@@ -0,0 +1,8 @@
1
+ import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
2
+ export type ExtractForm<T> = {
3
+ [K in keyof T]: T[K] extends FormGroup<infer U>[] ? (U extends ControlsWrapper<infer V> ? V : never)[] : T[K];
4
+ };
5
+ export type ControlsWrapper<T> = {
6
+ [K in keyof T]: T[K] extends (infer U extends AbstractControl<any, any>)[] ? FormArray<U> : FormControl<T[K]>;
7
+ };
8
+ export type InferArrayType<T> = T extends (infer U)[] ? U : T;
@@ -0,0 +1,17 @@
1
+ export interface IUserProfile<PermissionType = any> {
2
+ id: string;
3
+ username?: string;
4
+ firstName?: string;
5
+ lastName?: string;
6
+ roles?: string[];
7
+ photo?: string;
8
+ groups?: string[];
9
+ groups_name?: string[];
10
+ token?: string;
11
+ permissions?: PermissionType[];
12
+ attributes?: IUserAttributes[];
13
+ }
14
+ export interface IUserAttributes {
15
+ name: string;
16
+ value: string;
17
+ }
@@ -0,0 +1,3 @@
1
+ export declare function isNonNull<T>(value: T): value is NonNullable<T>;
2
+ export declare function isDefined<T>(value: T | null | undefined): value is T;
3
+ export declare function toPx(n: number): string;
@@ -0,0 +1,7 @@
1
+ export declare const CARD = "card";
2
+ export declare const getFirstSegmentOfPathName: (pathname: string) => string;
3
+ /**
4
+ * Функция возвращает первый сегмент ссылки
5
+ * Если первого сегмента нет, возвращается корневой сегмент - '/'
6
+ * */
7
+ export declare const getLastSegmentOfPathName: (pathname: string) => string;
@@ -0,0 +1,14 @@
1
+ import { PrizmDateTimeRange, PrizmDay, PrizmDayRange, PrizmMonth, PrizmMonthRange } from '@prizm-ui/components';
2
+ import { TuiDay } from '@taiga-ui/cdk';
3
+ import { SmaPrizmDateTime } from '../directives/date/date-time.types';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/forms";
6
+ import * as i2 from "@prizm-ui/components";
7
+ import * as i3 from "@prizm-ui/icons";
8
+ import * as i4 from "@prizm-ui/flag-icons";
9
+ export type PrizmDateTypes = TuiDay | PrizmDay | PrizmDayRange | SmaPrizmDateTime | PrizmDateTimeRange | PrizmMonth | PrizmMonthRange;
10
+ export declare class PrizmSharedModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrizmSharedModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrizmSharedModule, never, [typeof i1.FormsModule, typeof i1.ReactiveFormsModule, typeof i2.PrizmTableModule, typeof i2.PrizmScrollbarModule, typeof i2.PrizmCheckboxComponent, typeof i2.PrizmStickyModule, typeof i2.PrizmButtonComponent, typeof i2.PrizmInputTextModule, typeof i3.PrizmIconsComponent, typeof i2.PrizmPaginatorComponent, typeof i2.PrizmInputSelectModule, typeof i2.PrizmPanelComponent, typeof i2.PrizmToggleComponent, typeof i2.PrizmTabsModule, typeof i2.PrizmDropdownHostModule, typeof i2.PrizmLoaderComponent, typeof i2.PrizmSelectInputComponent, typeof i2.PrizmInputMultiSelectModule, typeof i2.PrizmInputLayoutDateModule, typeof i4.PrizmFlagIconsComponent, typeof i2.PrizmInputLayoutDateRangeModule, typeof i2.PrizmDialogComponent, typeof i2.PrizmInputLayoutDateComponent, typeof i2.PrizmColumnSettingsComponent, typeof i2.PrizmSwitcherComponent, typeof i2.PrizmTooltipModule, typeof i2.PrizmInputMultiSelectComponent, typeof i2.PrizmInputLayoutDateRangeComponent, typeof i2.PrizmSidebarComponent, typeof i2.PrizmToastModule, typeof i2.PrizmInputLayoutDateTimeModule, typeof i2.PrizmInputCommonModule, typeof i2.PrizmInputIconButtonComponent, typeof i2.PrizmInputLayoutMonthModule, typeof i2.PrizmHintDirective, typeof i2.PrizmTreeModule, typeof i2.PrizmInputNumberModule, typeof i2.PrizmInputLayoutDateTimeRangeModule, typeof i2.PrizmProgressModule, typeof i2.PrizmInputLayoutMonthRangeComponent, typeof i2.PrizmInputLayoutDateTimeRangeComponent, typeof i2.PrizmCardComponent, typeof i2.PrizmDropdownControllerDirective, typeof i2.PrizmRadioButtonComponent, typeof i2.PrizmBreadcrumbDirective, typeof i2.PrizmBreadcrumbsComponent, typeof i2.PrizmStepperModule, typeof i2.PrizmIndicatorComponent], [typeof i1.FormsModule, typeof i1.ReactiveFormsModule, typeof i2.PrizmTableModule, typeof i2.PrizmScrollbarModule, typeof i2.PrizmCheckboxComponent, typeof i2.PrizmStickyModule, typeof i2.PrizmButtonComponent, typeof i2.PrizmInputTextModule, typeof i3.PrizmIconsComponent, typeof i2.PrizmPaginatorComponent, typeof i2.PrizmInputSelectModule, typeof i2.PrizmPanelComponent, typeof i2.PrizmToggleComponent, typeof i2.PrizmTabsModule, typeof i2.PrizmDropdownHostModule, typeof i2.PrizmLoaderComponent, typeof i2.PrizmSelectInputComponent, typeof i2.PrizmInputMultiSelectModule, typeof i2.PrizmInputLayoutDateModule, typeof i4.PrizmFlagIconsComponent, typeof i2.PrizmInputLayoutDateRangeModule, typeof i2.PrizmDialogComponent, typeof i2.PrizmInputLayoutDateComponent, typeof i2.PrizmColumnSettingsComponent, typeof i2.PrizmSwitcherComponent, typeof i2.PrizmTooltipModule, typeof i2.PrizmInputMultiSelectComponent, typeof i2.PrizmInputLayoutDateRangeComponent, typeof i2.PrizmSidebarComponent, typeof i2.PrizmToastModule, typeof i2.PrizmInputLayoutDateTimeModule, typeof i2.PrizmInputCommonModule, typeof i2.PrizmInputIconButtonComponent, typeof i2.PrizmInputLayoutMonthModule, typeof i2.PrizmHintDirective, typeof i2.PrizmTreeModule, typeof i2.PrizmInputNumberModule, typeof i2.PrizmInputLayoutDateTimeRangeModule, typeof i2.PrizmProgressModule, typeof i2.PrizmInputLayoutTimeModule, typeof i2.PrizmInputLayoutMonthRangeComponent, typeof i2.PrizmInputLayoutDateTimeRangeComponent, typeof i2.PrizmSplitterModule, typeof i2.PrizmCardComponent, typeof i2.PrizmDropdownControllerDirective, typeof i2.PrizmRadioButtonComponent, typeof i2.PrizmBreadcrumbDirective, typeof i2.PrizmBreadcrumbsComponent, typeof i2.PrizmStepperModule, typeof i2.PrizmIndicatorComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<PrizmSharedModule>;
14
+ }
@@ -0,0 +1,10 @@
1
+ import { MonoTypeOperatorFunction, Observable } from 'rxjs';
2
+ export declare function distinctUntilChangedJSONs<T>(): MonoTypeOperatorFunction<T>;
3
+ /**
4
+ * Перемещает выполнение функции на указанное количество итераций в цикле событий.
5
+ *
6
+ * @param count - Количество итераций цикла событий для перемещения.
7
+ * @returns Оператор, который можно использовать с Observable для продолжения цепочки.
8
+ */
9
+ export declare function moveInEventLoopIteration<T>(count: number): MonoTypeOperatorFunction<T>;
10
+ export declare function just(): Observable<null>;
@@ -0,0 +1,8 @@
1
+ import { IFilterSelectValue } from '../types';
2
+ export declare const SELECT_ALL_ID = "-1";
3
+ export declare const SELECT_ALL_NAME = "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435";
4
+ export declare function removeSelectAll(arr: IFilterSelectValue[] | null): IFilterSelectValue[] | null;
5
+ export declare const selectAllItem: {
6
+ id: string;
7
+ name: string;
8
+ };
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "ngx-register-base",
3
- "version": "1.3.1",
4
- "scripts": {
5
- "build": "tsc -p tsconfig.schematics.json",
6
- "postbuild": "copyfiles schematics/*/schema.json schematics/*/files/** schematics/collection.json schematics/migration-collection.json ../../dist/ngx-register-base/"
7
- },
3
+ "version": "1.3.2",
8
4
  "schematics": "./schematics/collection.json",
9
5
  "ng-update": {
10
6
  "migrations": "./schematics/migration-collection.json"
11
7
  },
12
8
  "exports": {
13
9
  "./icons/*": "./icons/*",
14
- "./styles/*": "./styles/*"
10
+ "./styles/*": "./styles/*",
11
+ "./package.json": {
12
+ "default": "./package.json"
13
+ },
14
+ ".": {
15
+ "types": "./index.d.ts",
16
+ "esm2022": "./esm2022/ngx-register-base.mjs",
17
+ "esm": "./esm2022/ngx-register-base.mjs",
18
+ "default": "./fesm2022/ngx-register-base.mjs"
19
+ }
15
20
  },
16
21
  "peerDependencies": {
17
22
  "@angular/cdk": "^18.2.0",
@@ -40,9 +45,7 @@
40
45
  "dependencies": {
41
46
  "tslib": "^2.3.0"
42
47
  },
43
- "devDependencies": {
44
- "copyfiles": "file:../../node_modules/copyfiles",
45
- "typescript": "file:../../node_modules/typescript"
46
- },
47
- "sideEffects": false
48
- }
48
+ "sideEffects": false,
49
+ "module": "fesm2022/ngx-register-base.mjs",
50
+ "typings": "index.d.ts"
51
+ }
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function replaceMenuStateToken(): Rule;