@acorex/platform 19.1.6 → 19.1.7

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 (250) hide show
  1. package/auth/lib/permission/index.d.ts +4 -3
  2. package/auth/lib/permission/permission.service.d.ts +18 -0
  3. package/auth/lib/permission/permission.types.d.ts +5 -0
  4. package/common/index.d.ts +3 -2
  5. package/common/lib/app/application.types.d.ts +16 -4
  6. package/common/lib/layout/menu/index.d.ts +4 -2
  7. package/common/lib/layout/menu/search-definition.provider.d.ts +4 -0
  8. package/common/lib/layout/menu/search.provider.d.ts +20 -0
  9. package/common/lib/search/index.d.ts +5 -0
  10. package/common/lib/search/search-definition.builder.d.ts +23 -0
  11. package/common/lib/search/search-definition.provider.d.ts +18 -0
  12. package/common/lib/search/search.provider.d.ts +4 -0
  13. package/common/lib/search/search.service.d.ts +12 -0
  14. package/common/lib/search/search.types.d.ts +42 -0
  15. package/common/lib/settings/search-definition.provider.d.ts +4 -0
  16. package/common/lib/settings/search.provider.d.ts +10 -0
  17. package/fesm2022/acorex-platform-auth.mjs +78 -43
  18. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-common.mjs +1439 -2234
  20. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-layout-entity.mjs +14 -5
  22. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-layout-search.mjs +183 -0
  24. package/fesm2022/acorex-platform-layout-search.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-layout-setting.mjs +21 -20
  26. package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
  27. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-K9B_-q_K.mjs → acorex-platform-themes-default-entity-master-create-view.component-DpWOMxW9.mjs} +5 -5
  28. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-K9B_-q_K.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-DpWOMxW9.mjs.map} +1 -1
  29. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CtpkzjOm.mjs → acorex-platform-themes-default-entity-master-list-view.component-BUL6ti4U.mjs} +12 -12
  30. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CtpkzjOm.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-BUL6ti4U.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Cd2gxLZt.mjs → acorex-platform-themes-default-entity-master-modify-view.component-C1kGZwYp.mjs} +3 -3
  32. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Cd2gxLZt.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-C1kGZwYp.mjs.map} +1 -1
  33. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-6sZdw013.mjs → acorex-platform-themes-default-entity-master-single-view.component-CAgt5S3B.mjs} +4 -4
  34. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-6sZdw013.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-CAgt5S3B.mjs.map} +1 -1
  35. package/fesm2022/acorex-platform-themes-default-search-popup.component-Blpan821.mjs +62 -0
  36. package/fesm2022/acorex-platform-themes-default-search-popup.component-Blpan821.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-themes-default-setting-page.component-BYpCgHZb.mjs → acorex-platform-themes-default-setting-page.component-BXwdFLy4.mjs} +3 -3
  38. package/fesm2022/{acorex-platform-themes-default-setting-page.component-BYpCgHZb.mjs.map → acorex-platform-themes-default-setting-page.component-BXwdFLy4.mjs.map} +1 -1
  39. package/fesm2022/{acorex-platform-themes-default-setting-view.component-CdmIphX1.mjs → acorex-platform-themes-default-setting-view.component-BXsmvaIi.mjs} +5 -5
  40. package/fesm2022/{acorex-platform-themes-default-setting-view.component-CdmIphX1.mjs.map → acorex-platform-themes-default-setting-view.component-BXsmvaIi.mjs.map} +1 -1
  41. package/fesm2022/acorex-platform-themes-default.mjs +28 -15
  42. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  43. package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
  44. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  45. package/fesm2022/acorex-platform-widgets.mjs +74 -85
  46. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  47. package/layout/search/README.md +3 -0
  48. package/layout/search/index.d.ts +1 -0
  49. package/layout/search/lib/index.d.ts +3 -0
  50. package/layout/search/lib/search-slot.component.d.ts +9 -0
  51. package/layout/search/lib/search.config.d.ts +5 -0
  52. package/layout/search/lib/search.module.d.ts +11 -0
  53. package/layout/search/lib/search.viewmodel.d.ts +13 -0
  54. package/layout/search/lib/workflows/search.workflow.d.ts +10 -0
  55. package/layout/setting/lib/setting.viewmodel.d.ts +1 -1
  56. package/package.json +12 -8
  57. package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +11 -0
  58. package/themes/shared/index.d.ts +1 -1
  59. package/themes/shared/lib/components/layout-elements/layout-list.component.d.ts +1 -1
  60. package/themes/shared/lib/components/{theme-slot.component.d.ts → slots/theme-slot.component.d.ts} +7 -7
  61. package/widgets/lib/widgets/layout/block/block-widget-designer.component.d.ts +0 -1
  62. package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts +6 -4
  63. package/widgets/lib/widgets/property-editors/property-editor-helper.d.ts +6 -5
  64. package/common/lib/schema/component-loader.d.ts +0 -24
  65. package/common/lib/schema/entity/entity-registery.service.d.ts +0 -34
  66. package/common/lib/schema/entity/entity.class.d.ts +0 -161
  67. package/common/lib/schema/entity/entity.loader.d.ts +0 -9
  68. package/common/lib/schema/entity/index.d.ts +0 -3
  69. package/common/lib/schema/formats.d.ts +0 -8
  70. package/common/lib/schema/index.d.ts +0 -8
  71. package/common/lib/schema/schema-registery.service.d.ts +0 -20
  72. package/common/lib/schema/schema.module.d.ts +0 -12
  73. package/common/lib/schema/schema.types.d.ts +0 -16
  74. package/common/lib/schema/widget/index.d.ts +0 -5
  75. package/common/lib/schema/widget/widget-base.d.ts +0 -45
  76. package/common/lib/schema/widget/widget-column-renderer.d.ts +0 -34
  77. package/common/lib/schema/widget/widget-filter-renderer.d.ts +0 -30
  78. package/common/lib/schema/widget/widget-renderer.d.ts +0 -27
  79. package/common/lib/schema/widget/widget-token.d.ts +0 -16
  80. package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
  81. package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
  82. package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
  83. package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
  84. package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
  85. package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -18
  86. package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -12
  87. package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -12
  88. package/common/lib/schema/widgets/common-widgets.module.d.ts +0 -32
  89. package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
  90. package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -24
  91. package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -19
  92. package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
  93. package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +0 -16
  94. package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +0 -26
  95. package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +0 -16
  96. package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +0 -8
  97. package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +0 -17
  98. package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +0 -6
  99. package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +0 -17
  100. package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
  101. package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
  102. package/common/lib/schema/widgets/gallery/gallery-widget-types.d.ts +0 -10
  103. package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
  104. package/common/lib/schema/widgets/index.d.ts +0 -1
  105. package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +0 -17
  106. package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +0 -18
  107. package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +0 -17
  108. package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +0 -18
  109. package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +0 -15
  110. package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +0 -17
  111. package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
  112. package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
  113. package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
  114. package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +0 -7
  115. package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +0 -8
  116. package/common/lib/schema/widgets/password/change-password.component.d.ts +0 -16
  117. package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +0 -14
  118. package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +0 -6
  119. package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +0 -18
  120. package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +0 -15
  121. package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +0 -29
  122. package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +0 -18
  123. package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
  124. package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
  125. package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
  126. package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
  127. package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
  128. package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
  129. package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
  130. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
  131. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
  132. package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +0 -6
  133. package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +0 -12
  134. package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +0 -21
  135. package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +0 -11
  136. package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
  137. package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
  138. package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
  139. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs +0 -166
  140. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs.map +0 -1
  141. package/fesm2022/acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs +0 -64
  142. package/fesm2022/acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs.map +0 -1
  143. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs +0 -155
  144. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs.map +0 -1
  145. package/fesm2022/acorex-platform-common-change-password.component-DFoC5nP2.mjs +0 -176
  146. package/fesm2022/acorex-platform-common-change-password.component-DFoC5nP2.mjs.map +0 -1
  147. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs +0 -55
  148. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs.map +0 -1
  149. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs +0 -24
  150. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs.map +0 -1
  151. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs +0 -49
  152. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs.map +0 -1
  153. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs +0 -46
  154. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs.map +0 -1
  155. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs +0 -178
  156. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs.map +0 -1
  157. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs +0 -286
  158. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs.map +0 -1
  159. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs +0 -73
  160. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs.map +0 -1
  161. package/fesm2022/acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs +0 -75
  162. package/fesm2022/acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs.map +0 -1
  163. package/fesm2022/acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs +0 -249
  164. package/fesm2022/acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs.map +0 -1
  165. package/fesm2022/acorex-platform-common-email-widget-view.component-dMByK5bc.mjs +0 -109
  166. package/fesm2022/acorex-platform-common-email-widget-view.component-dMByK5bc.mjs.map +0 -1
  167. package/fesm2022/acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs +0 -29
  168. package/fesm2022/acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs.map +0 -1
  169. package/fesm2022/acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs +0 -202
  170. package/fesm2022/acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs.map +0 -1
  171. package/fesm2022/acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs +0 -29
  172. package/fesm2022/acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs.map +0 -1
  173. package/fesm2022/acorex-platform-common-file-widget-view.component-T3r6musY.mjs +0 -155
  174. package/fesm2022/acorex-platform-common-file-widget-view.component-T3r6musY.mjs.map +0 -1
  175. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs +0 -191
  176. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs.map +0 -1
  177. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs +0 -29
  178. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs.map +0 -1
  179. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs +0 -175
  180. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs.map +0 -1
  181. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs +0 -38
  182. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs.map +0 -1
  183. package/fesm2022/acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs +0 -45
  184. package/fesm2022/acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs.map +0 -1
  185. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs +0 -96
  186. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs.map +0 -1
  187. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs +0 -161
  188. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs.map +0 -1
  189. package/fesm2022/acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs +0 -56
  190. package/fesm2022/acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs.map +0 -1
  191. package/fesm2022/acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs +0 -94
  192. package/fesm2022/acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs.map +0 -1
  193. package/fesm2022/acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs +0 -66
  194. package/fesm2022/acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs.map +0 -1
  195. package/fesm2022/acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs +0 -73
  196. package/fesm2022/acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs.map +0 -1
  197. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs +0 -138
  198. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs.map +0 -1
  199. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs +0 -133
  200. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs.map +0 -1
  201. package/fesm2022/acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs +0 -48
  202. package/fesm2022/acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs.map +0 -1
  203. package/fesm2022/acorex-platform-common-number-widget-filter.component-womVAhSr.mjs +0 -137
  204. package/fesm2022/acorex-platform-common-number-widget-filter.component-womVAhSr.mjs.map +0 -1
  205. package/fesm2022/acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs +0 -33
  206. package/fesm2022/acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs.map +0 -1
  207. package/fesm2022/acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs +0 -68
  208. package/fesm2022/acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs.map +0 -1
  209. package/fesm2022/acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs +0 -43
  210. package/fesm2022/acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs.map +0 -1
  211. package/fesm2022/acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs +0 -110
  212. package/fesm2022/acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs.map +0 -1
  213. package/fesm2022/acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs +0 -93
  214. package/fesm2022/acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs.map +0 -1
  215. package/fesm2022/acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs +0 -249
  216. package/fesm2022/acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs.map +0 -1
  217. package/fesm2022/acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs +0 -124
  218. package/fesm2022/acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs.map +0 -1
  219. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs +0 -63
  220. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs.map +0 -1
  221. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CJZJzh1K.mjs +0 -69
  222. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CJZJzh1K.mjs.map +0 -1
  223. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs +0 -37
  224. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs.map +0 -1
  225. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs +0 -47
  226. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs.map +0 -1
  227. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs +0 -55
  228. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs.map +0 -1
  229. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs +0 -47
  230. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs.map +0 -1
  231. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs +0 -47
  232. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs.map +0 -1
  233. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs +0 -130
  234. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs.map +0 -1
  235. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs +0 -43
  236. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs.map +0 -1
  237. package/fesm2022/acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs +0 -127
  238. package/fesm2022/acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs.map +0 -1
  239. package/fesm2022/acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs +0 -49
  240. package/fesm2022/acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs.map +0 -1
  241. package/fesm2022/acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs +0 -162
  242. package/fesm2022/acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs.map +0 -1
  243. package/fesm2022/acorex-platform-common-text-widget-view.component-BH0LTD80.mjs +0 -69
  244. package/fesm2022/acorex-platform-common-text-widget-view.component-BH0LTD80.mjs.map +0 -1
  245. package/fesm2022/acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs +0 -59
  246. package/fesm2022/acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs.map +0 -1
  247. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs +0 -27
  248. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs.map +0 -1
  249. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs +0 -51
  250. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ # @acorex/platform/layout/global-search
2
+
3
+ Secondary entry point of `@acorex/platform`. It can be used by importing from `@acorex/platform/layout/global-search`.
@@ -0,0 +1 @@
1
+ export * from './lib/index';
@@ -0,0 +1,3 @@
1
+ export * from './search.config';
2
+ export * from './search.module';
3
+ export * from './search.viewmodel';
@@ -0,0 +1,9 @@
1
+ import { AXPWorkflowService } from '@acorex/platform/workflow';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGlobalSearchSlotComponent {
4
+ protected workflow: AXPWorkflowService;
5
+ protected startSearch(): Promise<void>;
6
+ private handleKeyboardEvent;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGlobalSearchSlotComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGlobalSearchSlotComponent, "ng-component", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { InjectionToken, Type } from "@angular/core";
2
+ export interface AXPGlobalSearchConfigs {
3
+ window: () => Type<any>;
4
+ }
5
+ export declare const AXP_GLOBAL_SEARCH_CONFIG_TOKEN: InjectionToken<AXPGlobalSearchConfigs>;
@@ -0,0 +1,11 @@
1
+ import { AXPAppStartUpService } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@acorex/platform/common";
5
+ import * as i2 from "@acorex/platform/workflow";
6
+ export declare class AXPGlobalSearchModule {
7
+ constructor(appInitService: AXPAppStartUpService, injector: Injector);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGlobalSearchModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPGlobalSearchModule, never, [typeof i1.AXPComponentSlotModule, typeof i2.AXPWorkflowModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPGlobalSearchModule>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { AXPSearchDisplayGroupResult } from "@acorex/platform/common";
2
+ export declare class AXPGlobalSearchViewModel {
3
+ private searchService;
4
+ private _text;
5
+ text: import("@angular/core").Signal<string | null>;
6
+ private _results;
7
+ results: import("@angular/core").Signal<AXPSearchDisplayGroupResult[]>;
8
+ private _isBusy;
9
+ isBusy: import("@angular/core").Signal<boolean>;
10
+ isEmpty: import("@angular/core").Signal<boolean | "" | null>;
11
+ isStart: import("@angular/core").Signal<boolean>;
12
+ search(text: string): Promise<void>;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { AXPWorkflow, AXPWorkflowAction, AXPWorkflowContext } from "@acorex/platform/workflow";
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGlobalSearchStartAction extends AXPWorkflowAction {
4
+ private popupService;
5
+ private config;
6
+ execute(context: AXPWorkflowContext): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGlobalSearchStartAction, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPGlobalSearchStartAction>;
9
+ }
10
+ export declare const AXPGlobalSearchWorkflow: AXPWorkflow;
@@ -1,6 +1,6 @@
1
+ import { AXFormComponent } from '@acorex/components/form';
1
2
  import { AXPGroupSearchResult, AXPSettingDefinitionGroup, AXPSettingDefinitionSection } from '@acorex/platform/common';
2
3
  import { AXPLayoutBuilderService, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
3
- import { AXFormComponent } from '@acorex/components/form';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXPSettingsViewModel {
6
6
  #private;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "19.1.6",
3
+ "version": "19.1.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.0.0",
6
6
  "@angular/core": ">=19.0.0",
@@ -73,21 +73,25 @@
73
73
  "types": "./layout/entity/index.d.ts",
74
74
  "default": "./fesm2022/acorex-platform-layout-entity.mjs"
75
75
  },
76
- "./layout/setting": {
77
- "types": "./layout/setting/index.d.ts",
78
- "default": "./fesm2022/acorex-platform-layout-setting.mjs"
79
- },
80
76
  "./layout/filters": {
81
77
  "types": "./layout/filters/index.d.ts",
82
78
  "default": "./fesm2022/acorex-platform-layout-filters.mjs"
83
79
  },
84
- "./themes/shared": {
85
- "types": "./themes/shared/index.d.ts",
86
- "default": "./fesm2022/acorex-platform-themes-shared.mjs"
80
+ "./layout/search": {
81
+ "types": "./layout/search/index.d.ts",
82
+ "default": "./fesm2022/acorex-platform-layout-search.mjs"
83
+ },
84
+ "./layout/setting": {
85
+ "types": "./layout/setting/index.d.ts",
86
+ "default": "./fesm2022/acorex-platform-layout-setting.mjs"
87
87
  },
88
88
  "./themes/default": {
89
89
  "types": "./themes/default/index.d.ts",
90
90
  "default": "./fesm2022/acorex-platform-themes-default.mjs"
91
+ },
92
+ "./themes/shared": {
93
+ "types": "./themes/shared/index.d.ts",
94
+ "default": "./fesm2022/acorex-platform-themes-shared.mjs"
91
95
  }
92
96
  }
93
97
  }
@@ -0,0 +1,11 @@
1
+ import { AXValueChangedEvent } from '@acorex/components/common';
2
+ import { AXBasePageComponent } from '@acorex/components/page';
3
+ import { AXPGlobalSearchViewModel } from '@acorex/platform/layout/search';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXPGlobalSearchPopupComponent extends AXBasePageComponent {
6
+ protected vm: AXPGlobalSearchViewModel;
7
+ protected text: string | null;
8
+ handleTextChanged(e: AXValueChangedEvent<string>): Promise<void>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGlobalSearchPopupComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGlobalSearchPopupComponent, "ng-component", never, {}, {}, never, never, true, never>;
11
+ }
@@ -1,5 +1,5 @@
1
1
  export * from './lib/components/layout-elements';
2
- export * from './lib/components/theme-slot.component';
2
+ export * from './lib/components/slots/theme-slot.component';
3
3
  export * from './lib/palette.provider';
4
4
  export * from './lib/theme.service';
5
5
  export * from './lib/theme.types';
@@ -5,7 +5,7 @@ export declare class AXPThemeLayoutListComponent {
5
5
  }
6
6
  export declare class AXPThemeLayoutListItemsGroupComponent {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutListItemsGroupComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutListItemsGroupComponent, "axp-layout-list-group", never, {}, {}, never, ["axp-layout-list-item"], true, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutListItemsGroupComponent, "axp-layout-list-group", never, {}, {}, never, ["axp-layout-list-item,axp-layout-title"], true, never>;
9
9
  }
10
10
  export declare class AXPThemeLayoutListItemComponent {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutListItemComponent, never>;
@@ -1,4 +1,4 @@
1
- import { AXPThemeMode } from '../theme.types';
1
+ import { AXPThemeMode } from '../../theme.types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AXPThemeSlotComponent {
4
4
  protected store: {
@@ -9,14 +9,14 @@ export declare class AXPThemeSlotComponent {
9
9
  family: string;
10
10
  size: string;
11
11
  }>;
12
- screenSize: import("@angular/core").Signal<import("../theme.types").AXPScreenSize>;
13
- deviceType: import("@angular/core").Signal<import("../theme.types").AXPDeviceType>;
12
+ screenSize: import("@angular/core").Signal<import("../../theme.types").AXPScreenSize>;
13
+ deviceType: import("@angular/core").Signal<import("../../theme.types").AXPDeviceType>;
14
14
  isTouchDevice: import("@angular/core").Signal<boolean>;
15
15
  overlayLoading: import("@angular/core").Signal<boolean>;
16
16
  navigationLoading: import("@angular/core").Signal<boolean>;
17
17
  overlayLoadingTaskCount: import("@angular/core").Signal<number>;
18
18
  navigationLoadingTaskCount: import("@angular/core").Signal<number>;
19
- sideMenuState: import("@angular/core").Signal<import("../theme.types").AXPSideMenuState>;
19
+ sideMenuState: import("@angular/core").Signal<import("../../theme.types").AXPSideMenuState>;
20
20
  isDarkMode: import("@angular/core").Signal<boolean>;
21
21
  isLightMode: import("@angular/core").Signal<boolean>;
22
22
  isSystemMode: import("@angular/core").Signal<boolean>;
@@ -45,14 +45,14 @@ export declare class AXPThemeSlotComponent {
45
45
  family: string;
46
46
  size: string;
47
47
  };
48
- screenSize: import("../theme.types").AXPScreenSize;
49
- deviceType: import("../theme.types").AXPDeviceType;
48
+ screenSize: import("../../theme.types").AXPScreenSize;
49
+ deviceType: import("../../theme.types").AXPDeviceType;
50
50
  isTouchDevice: boolean;
51
51
  overlayLoading: boolean;
52
52
  navigationLoading: boolean;
53
53
  overlayLoadingTaskCount: number;
54
54
  navigationLoadingTaskCount: number;
55
- sideMenuState: import("../theme.types").AXPSideMenuState;
55
+ sideMenuState: import("../../theme.types").AXPSideMenuState;
56
56
  }>;
57
57
  protected variants: typeof AXPThemeMode;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeSlotComponent, never>;
@@ -9,7 +9,6 @@ export declare class AXPBlockWidgetDesignerComponent extends AXPWidgetComponent<
9
9
  protected flexDirection: import("@angular/core").Signal<string>;
10
10
  protected gap: import("@angular/core").Signal<number>;
11
11
  private get __class();
12
- eff: import("@angular/core").EffectRef;
13
12
  private get __style();
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPBlockWidgetDesignerComponent, never>;
15
14
  static ɵcmp: i0.ɵɵComponentDeclaration<AXPBlockWidgetDesignerComponent, "axp-block-widget", never, {}, {}, never, never, true, never>;
@@ -4,14 +4,16 @@ import { AXPFlexBoxAlignmentOption, AXPFlexBoxOption, AXPFlexBoxValues } from '.
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXPFlexOptionsWidgetEditComponent extends AXPWidgetComponent<AXPFlexBoxValues> {
6
6
  #private;
7
+ private rendered;
7
8
  protected flexSides: AXPFlexBoxAlignmentOption[];
8
9
  protected flexDirection: import("@angular/core").WritableSignal<"row" | "row-reverse" | "column" | "column-reverse">;
9
10
  protected flexWrap: import("@angular/core").WritableSignal<"nowrap" | "wrap" | "wrap-reverse">;
10
11
  protected flexDirectionIsColumn: import("@angular/core").Signal<boolean>;
12
+ protected flexDirectionIsReverse: import("@angular/core").Signal<boolean>;
11
13
  protected flexDirectionWithoutReverse: import("@angular/core").Signal<string>;
12
14
  protected gapMode: import("@angular/core").WritableSignal<"single" | "both">;
13
- protected gapUnit: import("@angular/core").WritableSignal<Record<"both" | "x" | "y", string>>;
14
- protected gap: import("@angular/core").WritableSignal<Record<"both" | "x" | "y", number>>;
15
+ protected gapUnit: import("@angular/core").WritableSignal<Record<"x" | "y" | "both", string>>;
16
+ protected gap: import("@angular/core").WritableSignal<Record<"x" | "y" | "both", number>>;
15
17
  protected lastGap: import("@angular/core").WritableSignal<number>;
16
18
  protected selectedJustify: import("@angular/core").WritableSignal<AXPFlexBoxOption>;
17
19
  protected selectedAlign: import("@angular/core").WritableSignal<AXPFlexBoxOption>;
@@ -19,6 +21,7 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPWidgetComponen
19
21
  protected hoveredJustify: import("@angular/core").WritableSignal<"flex-start" | "flex-end" | "center" | "space-between" | "space-around" | null>;
20
22
  protected clickedAlign: import("@angular/core").WritableSignal<"flex-start" | "flex-end" | "center" | "stretch" | "baseline">;
21
23
  protected clickedJustify: import("@angular/core").WritableSignal<"flex-start" | "flex-end" | "center" | "space-between" | "space-around">;
24
+ protected setWrapMode(type: AXPFlexBoxValues['flexWrap']): void;
22
25
  protected setGapMode(): void;
23
26
  protected setFlexDirection(type: AXPFlexBoxValues['flexDirection']): void;
24
27
  protected setGap(size: number, side: 'both' | 'x' | 'y'): void;
@@ -31,8 +34,7 @@ export declare class AXPFlexOptionsWidgetEditComponent extends AXPWidgetComponen
31
34
  protected alignDataSource: AXDataSource<AXPFlexBoxOption>;
32
35
  private findAlignNameById;
33
36
  private findJustifyNameById;
34
- protected shouldRenderPoint(side: AXPFlexBoxAlignmentOption): boolean;
35
- private calculateAlign;
37
+ protected calculateAlign(value: AXPFlexBoxValues['alignItems']): AXPFlexBoxValues['alignItems'];
36
38
  private calculateJustify;
37
39
  private saveValue;
38
40
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPFlexOptionsWidgetEditComponent, never>;
@@ -70,13 +70,14 @@ export declare class AXPPropertyEditorHelper {
70
70
  */
71
71
  static getValueFromUnit(value: number, unit: string): string;
72
72
  /**
73
- * Parses a flex gap string and returns an object with values and units.
73
+ * Parses a gap string into x and y values and units.
74
74
  *
75
- * @param gapString - The gap string to parse (e.g., "10px", "10px 20%").
76
- * @returns An object containing the gap values and their respective units.
75
+ * @param gapString The gap string to parse (e.g., "10px", "10px 20px").
76
+ * @returns An object containing the x and y values and units.
77
+ * @throws Error If the gap string is invalid.
77
78
  */
78
79
  static parseGap(gapString: string): {
79
- units: Record<'both' | 'x' | 'y', string>;
80
- values: Record<'both' | 'x' | 'y', number>;
80
+ units: Record<'x' | 'y', string>;
81
+ values: Record<'x' | 'y', number>;
81
82
  };
82
83
  }
@@ -1,24 +0,0 @@
1
- export type AXPComponentOptions = {
2
- [key: string]: any;
3
- };
4
- export interface AXPComponentLoader {
5
- common?: {
6
- options?: AXPComponentOptions;
7
- };
8
- view: {
9
- component: () => Promise<any>;
10
- options?: AXPComponentOptions;
11
- };
12
- filter?: {
13
- component: () => Promise<any>;
14
- options?: AXPComponentOptions;
15
- };
16
- edit?: {
17
- component: () => Promise<any>;
18
- options?: AXPComponentOptions;
19
- };
20
- column?: {
21
- component: () => Promise<any>;
22
- options?: AXPComponentOptions;
23
- };
24
- }
@@ -1,34 +0,0 @@
1
- import { AXPEntityConfig } from "./entity.class";
2
- import * as i0 from "@angular/core";
3
- export declare class AXPEntityRegistryService {
4
- private entities;
5
- private loader;
6
- /**
7
- * Registers a new entity configuration. Entities are identified uniquely by a combination
8
- * of their module and name.
9
- *
10
- * @param config The configuration object of the entity to be registered.
11
- */
12
- register(config: AXPEntityConfig): void;
13
- /**
14
- * Resolves an entity configuration based on module and entity name. If the configuration
15
- * is not already registered, attempts to load it dynamically. Throws an error if the
16
- * entity cannot be found or loaded.
17
- *
18
- * @param moduleName The module name of the entity.
19
- * @param entityName The name of the entity.
20
- * @returns A promise resolving to the entity configuration.
21
- * @throws Error if the entity configuration cannot be resolved.
22
- */
23
- resolve(moduleName: string, entityName: string): Promise<AXPEntityConfig>;
24
- /**
25
- * Creates a unique key for an entity based on its module and name.
26
- *
27
- * @param moduleName The module name of the entity.
28
- * @param entityName The name of the entity.
29
- * @returns The unique key for the entity.
30
- */
31
- private createEntityKey;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityRegistryService, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityRegistryService>;
34
- }
@@ -1,161 +0,0 @@
1
- import { AXDataSourceConfig } from '@acorex/components/common';
2
- import { AXPValidationRules } from '@acorex/platform/core';
3
- import { AXPEntity } from '../../app';
4
- import { AXPComponentOptions } from '../component-loader';
5
- import { AXPDisplayFormat } from '../formats';
6
- export interface AXPLayoutGridPositions {
7
- start?: number;
8
- span?: number;
9
- }
10
- export interface AXPEntityPropertyLayoutOptions {
11
- positions: {
12
- default?: AXPLayoutGridPositions;
13
- sm?: AXPLayoutGridPositions;
14
- md?: AXPLayoutGridPositions;
15
- lg?: AXPLayoutGridPositions;
16
- xl?: AXPLayoutGridPositions;
17
- xxl?: AXPLayoutGridPositions;
18
- };
19
- }
20
- export interface AXPEntityPropertyConfig {
21
- name: string;
22
- title: string;
23
- description?: string;
24
- schema: string;
25
- layout?: AXPEntityPropertyLayoutOptions;
26
- canEdit: boolean;
27
- canInsert: boolean;
28
- canFilter?: boolean;
29
- canInlineFilter?: boolean;
30
- canSort?: boolean;
31
- visible?: boolean | string;
32
- formats?: AXPDisplayFormat;
33
- validationRules?: AXPValidationRules;
34
- component?: {
35
- common?: {
36
- options: AXPComponentOptions;
37
- };
38
- view?: {
39
- options: AXPComponentOptions;
40
- };
41
- edit?: {
42
- options: AXPComponentOptions;
43
- };
44
- filter?: {
45
- options: AXPComponentOptions;
46
- };
47
- column?: {
48
- options: AXPComponentOptions;
49
- };
50
- };
51
- }
52
- export interface AXPEntityConfig {
53
- newStruct?: AXPEntity;
54
- area?: string;
55
- module: string;
56
- name: string;
57
- title: string;
58
- formats?: AXPDisplayFormat;
59
- properties: AXPEntityPropertyConfig[];
60
- dataSource: AXDataSourceConfig;
61
- editOptions?: {
62
- create?: boolean;
63
- update?: boolean;
64
- delete?: boolean;
65
- import?: boolean;
66
- };
67
- views: {
68
- list?: AXPEntityListConfig;
69
- lookup?: any;
70
- quickView?: AXPEntityViewConfig;
71
- detailView?: AXPEntityViewConfig;
72
- createView?: AXPEntityViewConfig;
73
- };
74
- commands?: {
75
- create?: (values: {
76
- [key: string]: any;
77
- }) => Promise<any>;
78
- delete?: (id: string) => Promise<any>;
79
- update?: (id: string, values: {
80
- [key: string]: any;
81
- }) => Promise<any>;
82
- };
83
- actions?: {
84
- [key: string]: {
85
- title: string;
86
- execute: (...args: any[]) => Promise<any> | string;
87
- permissions?: string[];
88
- target: 'selected' | 'single' | 'entity';
89
- priority: 'primary' | 'secondary';
90
- type: 'create' | 'update' | 'delete' | 'redirect';
91
- options?: any;
92
- };
93
- };
94
- }
95
- export interface AXPEntityViewRootSectionConfig {
96
- properties: string[];
97
- sections?: AXPEntityViewChildSectionConfig[];
98
- }
99
- export interface AXPEntityViewChildSectionConfig extends AXPEntityViewRootSectionConfig {
100
- title: string;
101
- name: string;
102
- description?: string;
103
- options?: {
104
- showPropTitle: boolean;
105
- };
106
- }
107
- export interface AXPEntityViewConfig {
108
- root: AXPEntityViewRootSectionConfig;
109
- action?: (e: AXPEntityConfig) => void;
110
- }
111
- export interface AXPEntityListConfig {
112
- title: string;
113
- views: AXPEntityListViewConfig[];
114
- }
115
- export interface AXPEntityListViewConfig {
116
- fixed: boolean;
117
- title: string;
118
- name: string;
119
- columns: AXPEntityListDisplayColumnConfig[];
120
- conditions: AXPEntityListConditionConfig[];
121
- inlineConditions?: AXPEntityListConditionConfig[];
122
- sorts: AXPEntityListSortConfig[];
123
- }
124
- export declare const AXPEntityListViewConfigEmpty: AXPEntityListViewConfig;
125
- export interface AXPEntityListColumnConfig {
126
- name: string;
127
- title: string;
128
- schema: string;
129
- }
130
- export interface AXPEntityListDisplayColumnConfig {
131
- name: string;
132
- visible: boolean;
133
- schema: string;
134
- title: string;
135
- displayFormat?: string;
136
- sortOptions: {
137
- enabled?: boolean;
138
- property: string;
139
- };
140
- filterOptions: {
141
- enabled?: boolean;
142
- property: string;
143
- };
144
- tooltipOptions?: {
145
- template: any;
146
- };
147
- options?: {
148
- [key: string]: any;
149
- };
150
- }
151
- export interface AXPEntityListConditionConfig {
152
- name: string;
153
- operator: string;
154
- value: any;
155
- }
156
- export interface AXPEntityListSortConfig {
157
- name: string;
158
- dir: 'asc' | 'desc';
159
- }
160
- export declare function convertPropertyToColumn(property: AXPEntityPropertyConfig): AXPEntityListDisplayColumnConfig;
161
- export declare function convertPropertiesToColumns(...propertis: AXPEntityPropertyConfig[]): AXPEntityListDisplayColumnConfig[];
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from "@angular/core";
2
- import { AXPEntityConfig } from "./entity.class";
3
- export interface AXPEntityLoader {
4
- get(moduleName: string, entityName: string): Promise<AXPEntityConfig | null>;
5
- }
6
- export declare class AXEntityLoaderDefault implements AXPEntityLoader {
7
- get(moduleName: string, entityName: string): Promise<AXPEntityConfig | null>;
8
- }
9
- export declare const AXP_ENTITY_LOADER: InjectionToken<AXPEntityLoader>;
@@ -1,3 +0,0 @@
1
- export * from './entity.class';
2
- export * from './entity.loader';
3
- export * from './entity-registery.service';
@@ -1,8 +0,0 @@
1
- export interface AXPDisplayFormat {
2
- default?: string;
3
- header?: string;
4
- short?: string;
5
- full?: string;
6
- search?: string;
7
- list?: string;
8
- }
@@ -1,8 +0,0 @@
1
- export * from './component-loader';
2
- export * from './formats';
3
- export * from './schema-registery.service';
4
- export * from './schema.module';
5
- export * from './schema.types';
6
- export * from './entity';
7
- export * from './widget';
8
- export * from './widgets';
@@ -1,20 +0,0 @@
1
- import { AXPSchemaConfig } from './schema.types';
2
- import * as i0 from "@angular/core";
3
- type DeepPartial<Thing> = Thing extends Function ? Thing : Thing extends Array<infer InferredArrayMember> ? DeepPartialArray<InferredArrayMember> : Thing extends object ? DeepPartialObject<Thing> : Thing | undefined;
4
- interface DeepPartialArray<Thing> extends Array<DeepPartial<Thing>> {
5
- }
6
- type DeepPartialObject<Thing> = {
7
- [Key in keyof Thing]?: DeepPartial<Thing[Key]>;
8
- };
9
- type AXPSchemaOverride = Omit<DeepPartialObject<AXPSchemaConfig>, 'name'> & {
10
- name: string;
11
- };
12
- export declare class AXPSchemaRegistryService {
13
- private types;
14
- register(schema: AXPSchemaConfig): void;
15
- extend(parentName: string, schema: AXPSchemaOverride): void;
16
- resolve(name: string): AXPSchemaConfig | undefined;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSchemaRegistryService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSchemaRegistryService>;
19
- }
20
- export {};
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./widget/widget-renderer";
3
- import * as i2 from "./widget/widget-column-renderer";
4
- import * as i3 from "./widget/widget-filter-renderer";
5
- import * as i4 from "@angular/cdk/portal";
6
- import * as i5 from "@acorex/components/skeleton";
7
- import * as i6 from "@angular/common";
8
- export declare class AXPSchemaModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSchemaModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPSchemaModule, [typeof i1.AXPWidgetRendererComponent, typeof i2.AXPWidgetColumnRendererComponent, typeof i3.AXPWidgetFilterRendererComponent], [typeof i4.PortalModule, typeof i5.AXSkeletonModule, typeof i6.CommonModule], [typeof i1.AXPWidgetRendererComponent, typeof i3.AXPWidgetFilterRendererComponent, typeof i2.AXPWidgetColumnRendererComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<AXPSchemaModule>;
12
- }
@@ -1,16 +0,0 @@
1
- import { AXPValidationRules } from '@acorex/platform/core';
2
- import { AXPFilterOperator } from '../app';
3
- import { AXPComponentLoader } from './component-loader';
4
- import { AXPDisplayFormat } from './formats';
5
- export interface AXPSchemaConfig {
6
- name: string;
7
- dataType: string;
8
- component: AXPComponentLoader;
9
- formats?: AXPDisplayFormat;
10
- validationRules?: AXPValidationRules;
11
- filterOptions: {
12
- disabled?: boolean;
13
- operators: AXPFilterOperator[];
14
- default: AXPFilterOperator;
15
- };
16
- }
@@ -1,5 +0,0 @@
1
- export * from './widget-base';
2
- export * from './widget-column-renderer';
3
- export * from './widget-filter-renderer';
4
- export * from './widget-renderer';
5
- export * from './widget-token';
@@ -1,45 +0,0 @@
1
- import { AXFormatService } from '@acorex/core/format';
2
- import { ChangeDetectorRef, EventEmitter } from '@angular/core';
3
- import { AXPDisplayFormat } from '../formats';
4
- import { AXPSchemaConfig } from '../schema.types';
5
- import { AXPWidgetProperty } from './widget-token';
6
- import { AXPValidationRules } from '@acorex/platform/core';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class AXPWidgetBase<T = any> {
9
- protected cdr: ChangeDetectorRef;
10
- protected token: import("./widget-token").AXPWidgetTokenType;
11
- protected formatService: AXFormatService;
12
- markForCheck: () => void;
13
- protected get schema(): AXPSchemaConfig;
14
- protected get prop(): AXPWidgetProperty;
15
- protected get rawValue(): any;
16
- protected get formats(): AXPDisplayFormat;
17
- private _context;
18
- get context(): T;
19
- set context(v: T);
20
- protected render(): void;
21
- protected setOption(name: string, value: any): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetBase<any>, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetBase<any>>;
24
- }
25
- export declare abstract class AXPWidgetEditBase<T = any> extends AXPWidgetBase<T> {
26
- valueChange: EventEmitter<T>;
27
- private _value;
28
- get value(): T;
29
- set value(v: T);
30
- protected get validations(): AXPValidationRules;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetEditBase<any>, never>;
32
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetEditBase<any>>;
33
- }
34
- export declare abstract class AXPWidgetFilterBase<T = any> extends AXPWidgetBase<T> {
35
- operatorChange: EventEmitter<string>;
36
- private _operator;
37
- get operator(): string;
38
- set operator(op: string);
39
- valueChange: EventEmitter<T>;
40
- private _value;
41
- get value(): T;
42
- set value(v: T);
43
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetFilterBase<any>, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetFilterBase<any>>;
45
- }