@dignite-ng/expand.cms 2.0.0-rc.10 → 2.0.0-rc.12

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 (323) hide show
  1. package/config/cms-config.module.d.ts +8 -0
  2. package/config/{src/enums/index.ts → enums/index.d.ts} +1 -1
  3. package/config/enums/route-names.d.ts +7 -0
  4. package/config/index.d.ts +5 -0
  5. package/config/{src/providers/index.ts → providers/index.d.ts} +1 -1
  6. package/config/providers/route.provider.d.ts +9 -0
  7. package/config/{src/public-api.ts → public-api.d.ts} +3 -3
  8. package/esm2022/config/cms-config.module.mjs +19 -0
  9. package/esm2022/config/dignite-ng-expand.cms-config.mjs +5 -0
  10. package/esm2022/config/enums/index.mjs +2 -0
  11. package/esm2022/config/enums/route-names.mjs +9 -0
  12. package/esm2022/config/providers/index.mjs +2 -0
  13. package/esm2022/config/providers/route.provider.mjs +60 -0
  14. package/esm2022/config/public-api.mjs +4 -0
  15. package/esm2022/dignite-ng-expand.cms.mjs +5 -0
  16. package/esm2022/lib/cms-routing.module.mjs +94 -0
  17. package/esm2022/lib/cms.module.mjs +146 -0
  18. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +226 -0
  19. package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +25 -0
  20. package/esm2022/lib/components/admin/entries/create.component.mjs +136 -0
  21. package/esm2022/lib/components/admin/entries/edit.component.mjs +138 -0
  22. package/esm2022/lib/components/admin/entries/entries.component.mjs +367 -0
  23. package/esm2022/lib/components/admin/entries/index.mjs +5 -0
  24. package/esm2022/lib/components/admin/fields/create-field.component.mjs +87 -0
  25. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +116 -0
  26. package/esm2022/lib/components/admin/fields/create-or-update-field-input-base.mjs +25 -0
  27. package/esm2022/lib/components/admin/fields/edit-field.component.mjs +109 -0
  28. package/esm2022/lib/components/admin/fields/field-group.component.mjs +131 -0
  29. package/esm2022/lib/components/admin/fields/fields.component.mjs +107 -0
  30. package/esm2022/lib/components/admin/fields/index.mjs +7 -0
  31. package/esm2022/lib/components/admin/index.mjs +4 -0
  32. package/esm2022/lib/components/admin/sections/create-or-edit-sections-modal.component.mjs +210 -0
  33. package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +22 -0
  34. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +47 -0
  35. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +423 -0
  36. package/esm2022/lib/components/admin/sections/entry-types/index.mjs +3 -0
  37. package/esm2022/lib/components/admin/sections/index.mjs +4 -0
  38. package/esm2022/lib/components/admin/sections/sections.component.mjs +138 -0
  39. package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +117 -0
  40. package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
  41. package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +105 -0
  42. package/esm2022/lib/components/dynamic-form/entry/entry-view.component.mjs +60 -0
  43. package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
  44. package/esm2022/lib/components/dynamic-form/form-control-group.mjs +34 -0
  45. package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
  46. package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
  47. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +219 -0
  48. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
  49. package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +108 -0
  50. package/esm2022/lib/components/dynamic-form/matrix/matrix-view.component.mjs +40 -0
  51. package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
  52. package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +158 -0
  53. package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
  54. package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +118 -0
  55. package/esm2022/lib/components/dynamic-form/table/table-view.component.mjs +40 -0
  56. package/esm2022/lib/components/index.mjs +3 -0
  57. package/esm2022/lib/constants/styles.mjs +19 -0
  58. package/esm2022/lib/enums/ecms-component.mjs +13 -0
  59. package/esm2022/lib/enums/index.mjs +2 -0
  60. package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
  61. package/esm2022/lib/proxy/dignite/abp/regionalization-management/index.mjs +3 -0
  62. package/esm2022/lib/proxy/dignite/abp/regionalization-management/models.mjs +2 -0
  63. package/esm2022/lib/proxy/dignite/abp/regionalization-management/regionalization.service.mjs +27 -0
  64. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.mjs +22 -0
  65. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/index.mjs +3 -0
  66. package/esm2022/lib/proxy/dignite/cms/admin/dynamic-forms/models.mjs +2 -0
  67. package/esm2022/lib/proxy/dignite/cms/admin/entries/entry-admin.service.mjs +70 -0
  68. package/esm2022/lib/proxy/dignite/cms/admin/entries/index.mjs +3 -0
  69. package/esm2022/lib/proxy/dignite/cms/admin/entries/models.mjs +2 -0
  70. package/esm2022/lib/proxy/dignite/cms/admin/fields/field-admin.service.mjs +45 -0
  71. package/esm2022/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.mjs +41 -0
  72. package/esm2022/lib/proxy/dignite/cms/admin/fields/index.mjs +4 -0
  73. package/esm2022/lib/proxy/dignite/cms/admin/fields/models.mjs +2 -0
  74. package/esm2022/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.mjs +41 -0
  75. package/esm2022/lib/proxy/dignite/cms/admin/sections/index.mjs +4 -0
  76. package/esm2022/lib/proxy/dignite/cms/admin/sections/models.mjs +2 -0
  77. package/esm2022/lib/proxy/dignite/cms/admin/sections/section-admin.service.mjs +51 -0
  78. package/esm2022/lib/proxy/dignite/cms/entries/entry-status.enum.mjs +8 -0
  79. package/esm2022/lib/proxy/dignite/cms/entries/index.mjs +2 -0
  80. package/esm2022/lib/proxy/dignite/cms/fields/models.mjs +2 -0
  81. package/esm2022/lib/proxy/dignite/cms/sections/index.mjs +3 -0
  82. package/esm2022/lib/proxy/dignite/cms/sections/models.mjs +2 -0
  83. package/esm2022/lib/proxy/dignite/cms/sections/section-type.enum.mjs +9 -0
  84. package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
  85. package/esm2022/lib/resolvers/extensions-props-action-token.resolver.mjs +136 -0
  86. package/esm2022/lib/resolvers/page-default-toolbar-actions.mjs +160 -0
  87. package/esm2022/lib/resolvers/table-default-entity-actions.mjs +28 -0
  88. package/esm2022/lib/resolvers/table-default-entity-props.mjs +53 -0
  89. package/esm2022/lib/services/appent-content.mjs +15 -0
  90. package/esm2022/lib/services/cms-api.service.mjs +93 -0
  91. package/esm2022/lib/services/cms.service.mjs +21 -0
  92. package/esm2022/lib/services/field-abstracts.service.mjs +42 -0
  93. package/esm2022/lib/services/form-controls.service.mjs +40 -0
  94. package/esm2022/lib/services/index.mjs +4 -0
  95. package/esm2022/public-api.mjs +7 -0
  96. package/fesm2022/dignite-ng-expand.cms-config.mjs +92 -0
  97. package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
  98. package/fesm2022/dignite-ng-expand.cms.mjs +4250 -0
  99. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -0
  100. package/index.d.ts +5 -0
  101. package/lib/cms-routing.module.d.ts +7 -0
  102. package/lib/cms.module.d.ts +40 -0
  103. package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +63 -0
  104. package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +23 -0
  105. package/lib/components/admin/entries/create.component.d.ts +50 -0
  106. package/lib/components/admin/entries/edit.component.d.ts +53 -0
  107. package/lib/components/admin/entries/entries.component.d.ts +101 -0
  108. package/lib/components/admin/entries/index.d.ts +4 -0
  109. package/lib/components/admin/fields/create-field.component.d.ts +37 -0
  110. package/lib/components/admin/fields/create-or-edit-field.component.d.ts +37 -0
  111. package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +16 -0
  112. package/lib/components/admin/fields/edit-field.component.d.ts +46 -0
  113. package/lib/components/admin/fields/field-group.component.d.ts +58 -0
  114. package/lib/components/admin/fields/fields.component.d.ts +35 -0
  115. package/lib/components/admin/fields/index.d.ts +6 -0
  116. package/lib/components/admin/index.d.ts +3 -0
  117. package/lib/components/admin/sections/create-or-edit-sections-modal.component.d.ts +49 -0
  118. package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +20 -0
  119. package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +28 -0
  120. package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +147 -0
  121. package/lib/components/admin/sections/entry-types/index.d.ts +2 -0
  122. package/lib/components/admin/sections/index.d.ts +3 -0
  123. package/lib/components/admin/sections/sections.component.d.ts +46 -0
  124. package/lib/components/dynamic-form/entry/entry-config.component.d.ts +40 -0
  125. package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
  126. package/lib/components/dynamic-form/entry/entry-control.component.d.ts +36 -0
  127. package/lib/components/dynamic-form/entry/entry-view.component.d.ts +22 -0
  128. package/lib/components/dynamic-form/entry/index.d.ts +3 -0
  129. package/lib/components/dynamic-form/form-control-group.d.ts +4 -0
  130. package/lib/components/dynamic-form/index.d.ts +4 -0
  131. package/lib/components/dynamic-form/matrix/index.d.ts +3 -0
  132. package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +74 -0
  133. package/lib/components/dynamic-form/matrix/matrix-config.d.ts +24 -0
  134. package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +42 -0
  135. package/lib/components/dynamic-form/matrix/matrix-view.component.d.ts +17 -0
  136. package/lib/components/dynamic-form/table/index.d.ts +3 -0
  137. package/lib/components/dynamic-form/table/table-config.component.d.ts +59 -0
  138. package/lib/components/dynamic-form/table/table-config.d.ts +18 -0
  139. package/lib/components/dynamic-form/table/table-control.component.d.ts +42 -0
  140. package/lib/components/dynamic-form/table/table-view.component.d.ts +17 -0
  141. package/lib/components/index.d.ts +2 -0
  142. package/lib/constants/styles.d.ts +2 -0
  143. package/lib/enums/ecms-component.d.ts +11 -0
  144. package/lib/enums/index.d.ts +1 -0
  145. package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
  146. package/lib/proxy/dignite/abp/regionalization-management/models.d.ts +8 -0
  147. package/lib/proxy/dignite/abp/regionalization-management/regionalization.service.d.ts +12 -0
  148. package/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.d.ts +12 -0
  149. package/lib/proxy/dignite/cms/admin/dynamic-forms/models.d.ts +5 -0
  150. package/lib/proxy/dignite/cms/admin/entries/entry-admin.service.d.ts +22 -0
  151. package/lib/proxy/dignite/cms/admin/entries/models.d.ts +61 -0
  152. package/lib/proxy/dignite/cms/admin/fields/field-admin.service.d.ts +17 -0
  153. package/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.d.ts +16 -0
  154. package/{src/lib/proxy/dignite/cms/admin/fields/models.ts → lib/proxy/dignite/cms/admin/fields/models.d.ts} +34 -42
  155. package/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.d.ts +15 -0
  156. package/{src/lib/proxy/dignite/cms/admin/sections/models.ts → lib/proxy/dignite/cms/admin/sections/models.d.ts} +68 -82
  157. package/lib/proxy/dignite/cms/admin/sections/section-admin.service.d.ts +18 -0
  158. package/lib/proxy/dignite/cms/entries/entry-status.enum.d.ts +5 -0
  159. package/lib/proxy/dignite/cms/fields/models.d.ts +8 -0
  160. package/lib/proxy/dignite/cms/sections/models.d.ts +13 -0
  161. package/lib/proxy/dignite/cms/sections/section-type.enum.d.ts +6 -0
  162. package/{src/lib/proxy/volo/cms-kit/users/models.ts → lib/proxy/volo/cms-kit/users/models.d.ts} +7 -8
  163. package/lib/resolvers/extensions-props-action-token.resolver.d.ts +75 -0
  164. package/lib/resolvers/page-default-toolbar-actions.d.ts +18 -0
  165. package/lib/resolvers/table-default-entity-actions.d.ts +5 -0
  166. package/lib/resolvers/table-default-entity-props.d.ts +5 -0
  167. package/lib/services/appent-content.d.ts +1 -0
  168. package/lib/services/cms-api.service.d.ts +23 -0
  169. package/lib/services/cms.service.d.ts +10 -0
  170. package/lib/services/field-abstracts.service.d.ts +19 -0
  171. package/lib/services/form-controls.service.d.ts +16 -0
  172. package/lib/services/index.d.ts +3 -0
  173. package/package.json +22 -7
  174. package/{src/public-api.ts → public-api.d.ts} +3 -7
  175. package/config/ng-package.json +0 -6
  176. package/config/src/cms-config.module.ts +0 -13
  177. package/config/src/enums/route-names.ts +0 -7
  178. package/config/src/providers/route.provider.ts +0 -68
  179. package/ng-package.json +0 -10
  180. package/src/lib/cms-routing.module.ts +0 -102
  181. package/src/lib/cms.module.ts +0 -113
  182. package/src/lib/components/admin/entries/create-or-edit-entries.component.html +0 -137
  183. package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +0 -0
  184. package/src/lib/components/admin/entries/create-or-edit-entries.component.spec.ts +0 -21
  185. package/src/lib/components/admin/entries/create-or-edit-entries.component.ts +0 -216
  186. package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -26
  187. package/src/lib/components/admin/entries/create.component.html +0 -16
  188. package/src/lib/components/admin/entries/create.component.scss +0 -0
  189. package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
  190. package/src/lib/components/admin/entries/create.component.ts +0 -130
  191. package/src/lib/components/admin/entries/edit.component.html +0 -9
  192. package/src/lib/components/admin/entries/edit.component.scss +0 -0
  193. package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
  194. package/src/lib/components/admin/entries/edit.component.ts +0 -134
  195. package/src/lib/components/admin/entries/entries.component.html +0 -225
  196. package/src/lib/components/admin/entries/entries.component.scss +0 -109
  197. package/src/lib/components/admin/entries/entries.component.spec.ts +0 -21
  198. package/src/lib/components/admin/entries/entries.component.ts +0 -394
  199. package/src/lib/components/admin/entries/index.ts +0 -4
  200. package/src/lib/components/admin/fields/create-field.component.html +0 -12
  201. package/src/lib/components/admin/fields/create-field.component.scss +0 -1
  202. package/src/lib/components/admin/fields/create-field.component.spec.ts +0 -21
  203. package/src/lib/components/admin/fields/create-field.component.ts +0 -85
  204. package/src/lib/components/admin/fields/create-or-edit-field.component.html +0 -39
  205. package/src/lib/components/admin/fields/create-or-edit-field.component.scss +0 -0
  206. package/src/lib/components/admin/fields/create-or-edit-field.component.spec.ts +0 -21
  207. package/src/lib/components/admin/fields/create-or-edit-field.component.ts +0 -140
  208. package/src/lib/components/admin/fields/create-or-update-field-input-base.ts +0 -33
  209. package/src/lib/components/admin/fields/edit-field.component.html +0 -14
  210. package/src/lib/components/admin/fields/edit-field.component.scss +0 -0
  211. package/src/lib/components/admin/fields/edit-field.component.spec.ts +0 -21
  212. package/src/lib/components/admin/fields/edit-field.component.ts +0 -112
  213. package/src/lib/components/admin/fields/field-group.component.html +0 -69
  214. package/src/lib/components/admin/fields/field-group.component.scss +0 -0
  215. package/src/lib/components/admin/fields/field-group.component.spec.ts +0 -21
  216. package/src/lib/components/admin/fields/field-group.component.ts +0 -151
  217. package/src/lib/components/admin/fields/fields.component.html +0 -25
  218. package/src/lib/components/admin/fields/fields.component.scss +0 -1
  219. package/src/lib/components/admin/fields/fields.component.spec.ts +0 -21
  220. package/src/lib/components/admin/fields/fields.component.ts +0 -109
  221. package/src/lib/components/admin/fields/index.ts +0 -6
  222. package/src/lib/components/admin/index.ts +0 -3
  223. package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.html +0 -81
  224. package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.scss +0 -0
  225. package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.spec.ts +0 -23
  226. package/src/lib/components/admin/sections/create-or-edit-sections-modal.component.ts +0 -239
  227. package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +0 -23
  228. package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +0 -52
  229. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +0 -195
  230. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +0 -1
  231. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.spec.ts +0 -21
  232. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.ts +0 -442
  233. package/src/lib/components/admin/sections/entry-types/index.ts +0 -2
  234. package/src/lib/components/admin/sections/index.ts +0 -3
  235. package/src/lib/components/admin/sections/sections.component.html +0 -189
  236. package/src/lib/components/admin/sections/sections.component.scss +0 -1
  237. package/src/lib/components/admin/sections/sections.component.spec.ts +0 -21
  238. package/src/lib/components/admin/sections/sections.component.ts +0 -136
  239. package/src/lib/components/dynamic-form/entry/entry-config.component.html +0 -26
  240. package/src/lib/components/dynamic-form/entry/entry-config.component.scss +0 -27
  241. package/src/lib/components/dynamic-form/entry/entry-config.component.spec.ts +0 -21
  242. package/src/lib/components/dynamic-form/entry/entry-config.component.ts +0 -119
  243. package/src/lib/components/dynamic-form/entry/entry-config.ts +0 -22
  244. package/src/lib/components/dynamic-form/entry/entry-control.component.html +0 -25
  245. package/src/lib/components/dynamic-form/entry/entry-control.component.scss +0 -35
  246. package/src/lib/components/dynamic-form/entry/entry-control.component.spec.ts +0 -21
  247. package/src/lib/components/dynamic-form/entry/entry-control.component.ts +0 -111
  248. package/src/lib/components/dynamic-form/entry/index.ts +0 -3
  249. package/src/lib/components/dynamic-form/form-control-group.ts +0 -27
  250. package/src/lib/components/dynamic-form/index.ts +0 -4
  251. package/src/lib/components/dynamic-form/matrix/index.ts +0 -3
  252. package/src/lib/components/dynamic-form/matrix/matrix-config.component.html +0 -148
  253. package/src/lib/components/dynamic-form/matrix/matrix-config.component.scss +0 -0
  254. package/src/lib/components/dynamic-form/matrix/matrix-config.component.spec.ts +0 -21
  255. package/src/lib/components/dynamic-form/matrix/matrix-config.component.ts +0 -244
  256. package/src/lib/components/dynamic-form/matrix/matrix-config.ts +0 -63
  257. package/src/lib/components/dynamic-form/matrix/matrix-control.component.html +0 -42
  258. package/src/lib/components/dynamic-form/matrix/matrix-control.component.scss +0 -0
  259. package/src/lib/components/dynamic-form/matrix/matrix-control.component.spec.ts +0 -21
  260. package/src/lib/components/dynamic-form/matrix/matrix-control.component.ts +0 -118
  261. package/src/lib/components/dynamic-form/table/index.ts +0 -3
  262. package/src/lib/components/dynamic-form/table/table-config.component.html +0 -85
  263. package/src/lib/components/dynamic-form/table/table-config.component.scss +0 -10
  264. package/src/lib/components/dynamic-form/table/table-config.component.spec.ts +0 -21
  265. package/src/lib/components/dynamic-form/table/table-config.component.ts +0 -177
  266. package/src/lib/components/dynamic-form/table/table-config.ts +0 -45
  267. package/src/lib/components/dynamic-form/table/table-control.component.html +0 -54
  268. package/src/lib/components/dynamic-form/table/table-control.component.scss +0 -1
  269. package/src/lib/components/dynamic-form/table/table-control.component.spec.ts +0 -21
  270. package/src/lib/components/dynamic-form/table/table-control.component.ts +0 -127
  271. package/src/lib/components/index.ts +0 -2
  272. package/src/lib/constants/index.ts +0 -1
  273. package/src/lib/constants/styles.ts +0 -18
  274. package/src/lib/enums/ecms-component.ts +0 -11
  275. package/src/lib/enums/index.ts +0 -1
  276. package/src/lib/proxy/README.md +0 -17
  277. package/src/lib/proxy/dignite/abp/data/index.ts +0 -1
  278. package/src/lib/proxy/dignite/abp/data/models.ts +0 -4
  279. package/src/lib/proxy/dignite/abp/index.ts +0 -3
  280. package/src/lib/proxy/dignite/abp/regionalization-management/models.ts +0 -10
  281. package/src/lib/proxy/dignite/abp/regionalization-management/regionalization.service.ts +0 -29
  282. package/src/lib/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.ts +0 -20
  283. package/src/lib/proxy/dignite/cms/admin/dynamic-forms/models.ts +0 -6
  284. package/src/lib/proxy/dignite/cms/admin/entries/entry-admin.service.ts +0 -109
  285. package/src/lib/proxy/dignite/cms/admin/entries/models.ts +0 -69
  286. package/src/lib/proxy/dignite/cms/admin/fields/field-admin.service.ts +0 -64
  287. package/src/lib/proxy/dignite/cms/admin/fields/field-group-admin.service.ts +0 -56
  288. package/src/lib/proxy/dignite/cms/admin/index.ts +0 -5
  289. package/src/lib/proxy/dignite/cms/admin/sections/entry-type-admin.service.ts +0 -55
  290. package/src/lib/proxy/dignite/cms/admin/sections/section-admin.service.ts +0 -74
  291. package/src/lib/proxy/dignite/cms/entries/entry-status.enum.ts +0 -8
  292. package/src/lib/proxy/dignite/cms/fields/index.ts +0 -1
  293. package/src/lib/proxy/dignite/cms/fields/models.ts +0 -9
  294. package/src/lib/proxy/dignite/cms/index.ts +0 -5
  295. package/src/lib/proxy/dignite/cms/sections/models.ts +0 -15
  296. package/src/lib/proxy/dignite/cms/sections/section-type.enum.ts +0 -9
  297. package/src/lib/proxy/dignite/index.ts +0 -3
  298. package/src/lib/proxy/generate-proxy.json +0 -54593
  299. package/src/lib/proxy/index.ts +0 -3
  300. package/src/lib/proxy/volo/cms-kit/index.ts +0 -2
  301. package/src/lib/proxy/volo/cms-kit/users/index.ts +0 -1
  302. package/src/lib/proxy/volo/index.ts +0 -2
  303. package/src/lib/resolvers/extensions-props-action-token.resolver.ts +0 -182
  304. package/src/lib/resolvers/page-default-toolbar-actions.ts +0 -173
  305. package/src/lib/resolvers/table-default-entity-actions.ts +0 -29
  306. package/src/lib/resolvers/table-default-entity-props.ts +0 -62
  307. package/src/lib/services/appent-content.ts +0 -13
  308. package/src/lib/services/cms-api.service.ts +0 -90
  309. package/src/lib/services/cms.service.ts +0 -18
  310. package/src/lib/services/field-abstracts.service.ts +0 -39
  311. package/src/lib/services/index.ts +0 -3
  312. package/src/lib/services/validator.ts +0 -10
  313. package/src/test.ts +0 -26
  314. package/tsconfig.lib.json +0 -16
  315. package/tsconfig.lib.prod.json +0 -10
  316. package/tsconfig.spec.json +0 -17
  317. /package/{src/lib/proxy/dignite/abp/regionalization-management/index.ts → lib/proxy/dignite/abp/regionalization-management/index.d.ts} +0 -0
  318. /package/{src/lib/proxy/dignite/cms/admin/dynamic-forms/index.ts → lib/proxy/dignite/cms/admin/dynamic-forms/index.d.ts} +0 -0
  319. /package/{src/lib/proxy/dignite/cms/admin/entries/index.ts → lib/proxy/dignite/cms/admin/entries/index.d.ts} +0 -0
  320. /package/{src/lib/proxy/dignite/cms/admin/fields/index.ts → lib/proxy/dignite/cms/admin/fields/index.d.ts} +0 -0
  321. /package/{src/lib/proxy/dignite/cms/admin/sections/index.ts → lib/proxy/dignite/cms/admin/sections/index.d.ts} +0 -0
  322. /package/{src/lib/proxy/dignite/cms/entries/index.ts → lib/proxy/dignite/cms/entries/index.d.ts} +0 -0
  323. /package/{src/lib/proxy/dignite/cms/sections/index.ts → lib/proxy/dignite/cms/sections/index.d.ts} +0 -0
@@ -0,0 +1,42 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormGroup } from '@angular/forms';
3
+ import { CmsApiService } from '../../../services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TableControlComponent {
6
+ private _CmsApiService;
7
+ constructor(_CmsApiService: CmsApiService);
8
+ private fb;
9
+ /**表单实体 */
10
+ _entity: FormGroup | undefined;
11
+ set entity(v: any);
12
+ /**字段配置列表 */
13
+ _fields: any;
14
+ set fields(v: any);
15
+ /**父级字段名称,用于为表单设置控件赋值 */
16
+ _parentFiledName: any;
17
+ set parentFiledName(v: any);
18
+ /**父级字段名称,用于为表单设置控件赋值 */
19
+ _selected: any;
20
+ set selected(v: any);
21
+ /**语言 */
22
+ _culture: any;
23
+ set culture(v: any);
24
+ submitclick: ElementRef;
25
+ /** 获取父级字段代表的表单组*/
26
+ extraProperties: FormGroup | undefined;
27
+ private cdr;
28
+ /**数据加载完成 */
29
+ dataLoaded(): Promise<void>;
30
+ formConfiguration: any;
31
+ /**获取表格字段代表的控件 */
32
+ fieldNameControl: FormArray | undefined;
33
+ AfterInit(): Promise<unknown>;
34
+ /**增加表格项 */
35
+ addTableControlItem(): void;
36
+ /**删除表格项 */
37
+ minusTableControlItem(index: any): void;
38
+ /**调整表格位置 */
39
+ TableArrowUpOrDown(type: any, index: any): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableControlComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableControlComponent, "df-table-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
42
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableViewComponent {
3
+ /**展示则内容 */
4
+ showValue: any;
5
+ /**是否显示再列表 */
6
+ showInList: boolean;
7
+ /**表单字段数据 */
8
+ fields: any;
9
+ /**表单控件类型 */
10
+ type: any;
11
+ /**表单控件Value */
12
+ _value: any;
13
+ set value(v: any);
14
+ ngAfterContentInit(): Promise<void>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableViewComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableViewComponent, "cms-table-view", never, { "showInList": { "alias": "showInList"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,2 @@
1
+ export * from './admin';
2
+ export * from './dynamic-form';
@@ -0,0 +1,2 @@
1
+ declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n\n:root select{\n cursor: pointer; /* this will show the pointer when hovering */\n} \n.cdk-global-overlay-wrapper, .cdk-overlay-container {pointer-events: none;top: 0;left: 0;height: 100%;width: 100% }.cdk-overlay-container {position: fixed;z-index: 1000 }.cdk-overlay-container:empty {display: none }.cdk-global-overlay-wrapper, .cdk-overlay-connected-position-bounding-box, .cdk-overlay-pane {position: absolute;z-index: 1000;display: flex }.cdk-overlay-pane {pointer-events: auto;box-sizing: border-box;max-width: 100%;max-height: 100% }.cdk-overlay-backdrop {position: absolute;top: 0;bottom: 0;left: 0;right: 0;z-index: 1000;pointer-events: auto;transition: opacity .4s cubic-bezier(.25, .8, .25, 1);opacity: 0 }.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: 1 }.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: .6 }.cdk-overlay-dark-backdrop {background: rgba(0, 0, 0, .32) }.cdk-overlay-transparent-backdrop {transition: visibility 1ms linear, opacity 1ms linear;visibility: hidden;opacity: 1 }.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0;visibility: visible }.cdk-overlay-backdrop-noop-animation {transition: none }.cdk-overlay-connected-position-bounding-box {flex-direction: column;min-width: 1px;min-height: 1px }.cdk-global-scrollblock {position: fixed;width: 100%;overflow-y: scroll }.cdk-visually-hidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;outline: 0;-webkit-appearance: none;-moz-appearance: none }.nz-overlay-transparent-backdrop, .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0 }.ant-select, .ant-select-dropdown {margin: 0;line-height: 1.5715;box-sizing: border-box;font-feature-settings: 'tnum';list-style: none }.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpIn }.ant-select-dropdown.ant-select-tree-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;overflow: auto }.ant-select-dropdown-hidden, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before {display: none }.ant-select-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;display: block }.ant-select-dropdown .cdk-virtual-scroll-content-wrapper {right: 0 }.ant-select-dropdown .full-width {contain: initial }.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper {position: static }.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer {position: absolute;top: 0;width: 1px }.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownIn }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpOut }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownOut }\n\n/*** 表单验证样式 start */\n.was-validated .form-control:invalid, .form-control.is-invalid{\n border-color: #c00d49 !important;\n}\n/*** 表单验证样式 end */\n";
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export declare enum ECmsComponent {
2
+ Entries = "Cms.Entries",
3
+ Entries_Create = "Cms.Entries.Create",
4
+ Entries_Edit = "Cms.Entries.Edit",
5
+ Fields = "Cms.Fields",
6
+ FieldsCreate = "Cms.Fields.Create",
7
+ FieldsEdit = "Cms.Fields.Edit",
8
+ Sites = "Cms.Sites",
9
+ Sections = "Cms.Sections",
10
+ SectionsCreateOrEdit = "Cms.Sections.Create.Or.Edit"
11
+ }
@@ -0,0 +1 @@
1
+ export * from './ecms-component';
@@ -0,0 +1,3 @@
1
+ export interface CustomizableObject {
2
+ extraProperties: Record<string, object>;
3
+ }
@@ -0,0 +1,8 @@
1
+ export interface RegionalizationDto {
2
+ defaultCultureName?: string;
3
+ availableCultureNames: string[];
4
+ }
5
+ export interface UpdateRegionalizationInput {
6
+ defaultCultureName: string;
7
+ availableCultureNames: string[];
8
+ }
@@ -0,0 +1,12 @@
1
+ import type { RegionalizationDto, UpdateRegionalizationInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RegionalizationService {
5
+ private restService;
6
+ apiName: string;
7
+ get: (config?: Partial<Rest.Config>) => import("rxjs").Observable<RegionalizationDto>;
8
+ update: (input: UpdateRegionalizationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<RegionalizationDto>;
9
+ constructor(restService: RestService);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegionalizationService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<RegionalizationService>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { FormControlDto } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { ListResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FormAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ getFormControls: (config?: Partial<Rest.Config>) => import("rxjs").Observable<ListResultDto<FormControlDto>>;
9
+ constructor(restService: RestService);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormAdminService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormAdminService>;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface FormControlDto {
2
+ name?: string;
3
+ displayName?: string;
4
+ enableSearch: boolean;
5
+ }
@@ -0,0 +1,22 @@
1
+ import type { CreateEntryInput, CultureExistWithSingleSectionInput, EntryDto, GetEntriesInput, MoveEntryInput, SlugExistsInput, UpdateEntryInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { ListResultDto, PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EntryAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ activate: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
9
+ create: (input: CreateEntryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryDto>;
10
+ cultureExistWithSingleSection: (input: CultureExistWithSingleSectionInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
11
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
12
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryDto>;
13
+ getAllVersions: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ListResultDto<EntryDto>>;
14
+ getList: (input: GetEntriesInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<EntryDto>>;
15
+ getListByIds: (sectionId: string, ids: string[], config?: Partial<Rest.Config>) => import("rxjs").Observable<ListResultDto<EntryDto>>;
16
+ move: (id: string, input: MoveEntryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
17
+ slugExists: (input: SlugExistsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
18
+ update: (id: string, input: UpdateEntryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryDto>;
19
+ constructor(restService: RestService);
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryAdminService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<EntryAdminService>;
22
+ }
@@ -0,0 +1,61 @@
1
+ import type { CustomizableObject } from '../../../abp/data/models';
2
+ import type { ExtensibleAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
3
+ import type { EntryStatus } from '../../entries/entry-status.enum';
4
+ import type { CmsUserDto } from '../../../../volo/cms-kit/users/models';
5
+ export interface CreateEntryInput extends CreateOrUpdateEntryInputBase {
6
+ initialVersionId?: string;
7
+ }
8
+ export interface CreateOrUpdateEntryInputBase extends CustomizableObject {
9
+ entryTypeId: string;
10
+ culture: string;
11
+ title: string;
12
+ slug: string;
13
+ parentId?: string;
14
+ draft: boolean;
15
+ publishTime: string;
16
+ versionNotes?: string;
17
+ }
18
+ export interface CultureExistWithSingleSectionInput {
19
+ culture: string;
20
+ sectionId: string;
21
+ entryTypeId: string;
22
+ }
23
+ export interface EntryDto extends ExtensibleAuditedEntityDto<string> {
24
+ sectionId?: string;
25
+ entryTypeId?: string;
26
+ culture?: string;
27
+ title?: string;
28
+ slug?: string;
29
+ publishTime?: string;
30
+ status: EntryStatus;
31
+ parentId?: string;
32
+ order: number;
33
+ initialVersionId?: string;
34
+ isActivatedVersion: boolean;
35
+ versionNotes?: string;
36
+ author: CmsUserDto;
37
+ concurrencyStamp?: string;
38
+ }
39
+ export interface GetEntriesInput extends PagedAndSortedResultRequestDto {
40
+ culture: string;
41
+ sectionId: string;
42
+ entryTypeId?: string;
43
+ startPublishDate?: string;
44
+ expiryPublishDate?: string;
45
+ filter?: string;
46
+ status?: EntryStatus;
47
+ creatorId?: string;
48
+ queryingByFieldsJson?: string;
49
+ }
50
+ export interface MoveEntryInput {
51
+ parentId?: string;
52
+ order: number;
53
+ }
54
+ export interface SlugExistsInput {
55
+ culture: string;
56
+ sectionId: string;
57
+ slug?: string;
58
+ }
59
+ export interface UpdateEntryInput extends CreateOrUpdateEntryInputBase {
60
+ concurrencyStamp?: string;
61
+ }
@@ -0,0 +1,17 @@
1
+ import type { CreateFieldInput, FieldDto, GetFieldsInput, UpdateFieldInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FieldAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateFieldInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldDto>;
9
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldDto>;
11
+ getList: (input: GetFieldsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<FieldDto>>;
12
+ nameExists: (name: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
13
+ update: (id: string, input: UpdateFieldInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldDto>;
14
+ constructor(restService: RestService);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldAdminService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<FieldAdminService>;
17
+ }
@@ -0,0 +1,16 @@
1
+ import type { CreateOrUpdateFieldGroupInput, FieldGroupDto, GetFieldGroupsInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FieldGroupAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldGroupDto>;
9
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldGroupDto>;
11
+ getList: (input: GetFieldGroupsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<FieldGroupDto>>;
12
+ update: (id: string, input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FieldGroupDto>;
13
+ constructor(restService: RestService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldGroupAdminService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<FieldGroupAdminService>;
16
+ }
@@ -1,42 +1,34 @@
1
- import type * as FieldDtoall from '../../fields/models';
2
- import type { EntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
3
-
4
- export interface CreateFieldInput extends CreateOrUpdateFieldInputBase {
5
- }
6
-
7
- export interface CreateOrUpdateFieldGroupInput {
8
- name: string;
9
- }
10
-
11
- export interface CreateOrUpdateFieldInputBase {
12
- groupId?: string;
13
- displayName: string;
14
- name: string;
15
- description?: string;
16
- formControlName: string;
17
- formConfiguration: Record<string, object>;
18
- }
19
-
20
- export interface FieldDto extends FieldDtoall.FieldDto {
21
- groupId?: string;
22
- groupName?: string;
23
- creationTime?: string;
24
- creatorId?: string;
25
- lastModifierId?: string;
26
- lastModificationTime?: string;
27
- }
28
-
29
- export interface FieldGroupDto extends EntityDto<string> {
30
- name?: string;
31
- }
32
-
33
- export interface GetFieldGroupsInput {
34
- }
35
-
36
- export interface GetFieldsInput extends PagedAndSortedResultRequestDto {
37
- filter?: string;
38
- groupId?: string;
39
- }
40
-
41
- export interface UpdateFieldInput extends CreateOrUpdateFieldInputBase {
42
- }
1
+ import type * as FieldDtoall from '../../fields/models';
2
+ import type { EntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
3
+ export interface CreateFieldInput extends CreateOrUpdateFieldInputBase {
4
+ }
5
+ export interface CreateOrUpdateFieldGroupInput {
6
+ name: string;
7
+ }
8
+ export interface CreateOrUpdateFieldInputBase {
9
+ groupId?: string;
10
+ displayName: string;
11
+ name: string;
12
+ description?: string;
13
+ formControlName: string;
14
+ formConfiguration: Record<string, object>;
15
+ }
16
+ export interface FieldDto extends FieldDtoall.FieldDto {
17
+ groupId?: string;
18
+ groupName?: string;
19
+ creationTime?: string;
20
+ creatorId?: string;
21
+ lastModifierId?: string;
22
+ lastModificationTime?: string;
23
+ }
24
+ export interface FieldGroupDto extends EntityDto<string> {
25
+ name?: string;
26
+ }
27
+ export interface GetFieldGroupsInput {
28
+ }
29
+ export interface GetFieldsInput extends PagedAndSortedResultRequestDto {
30
+ filter?: string;
31
+ groupId?: string;
32
+ }
33
+ export interface UpdateFieldInput extends CreateOrUpdateFieldInputBase {
34
+ }
@@ -0,0 +1,15 @@
1
+ import type { CreateEntryTypeInput, EntryTypeDto, EntryTypeNameExistsInput, UpdateEntryTypeInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EntryTypeAdminService {
5
+ private restService;
6
+ apiName: string;
7
+ create: (input: CreateEntryTypeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryTypeDto>;
8
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
9
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryTypeDto>;
10
+ nameExists: (input: EntryTypeNameExistsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
11
+ update: (id: string, input: UpdateEntryTypeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<EntryTypeDto>;
12
+ constructor(restService: RestService);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryTypeAdminService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<EntryTypeAdminService>;
15
+ }
@@ -1,82 +1,68 @@
1
- import type { AuditedEntityDto, ExtensibleAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
- import type { SectionType } from '../../sections/section-type.enum';
3
- import type { EntryFieldTabDto } from '../../sections/models';
4
-
5
- export interface CreateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
6
- sectionId: string;
7
- }
8
-
9
- export interface CreateOrUpdateEntryTypeInputBase {
10
- displayName: string;
11
- name: string;
12
- fieldTabs: EntryFieldTabInput[];
13
- }
14
-
15
- export interface CreateOrUpdateSectionInputBase extends ExtensibleObject {
16
- type: SectionType;
17
- displayName: string;
18
- name: string;
19
- isDefault: boolean;
20
- isActive: boolean;
21
- route?: string;
22
- template?: string;
23
- }
24
-
25
- export interface CreateSectionInput extends CreateOrUpdateSectionInputBase {
26
- }
27
-
28
- export interface EntryFieldInput {
29
- fieldId: string;
30
- displayName: string;
31
- required: boolean;
32
- showInList: boolean;
33
- enableSearch: boolean;
34
- }
35
-
36
- export interface EntryFieldTabInput {
37
- name: string;
38
- fields: EntryFieldInput[];
39
- }
40
-
41
- export interface EntryTypeDto extends AuditedEntityDto<string> {
42
- displayName?: string;
43
- name?: string;
44
- fieldTabs: EntryFieldTabDto[];
45
- }
46
-
47
- export interface EntryTypeNameExistsInput {
48
- sectionId: string;
49
- name: string;
50
- }
51
-
52
- export interface GetSectionsInput extends PagedAndSortedResultRequestDto {
53
- filter?: string;
54
- isActive?: boolean;
55
- }
56
-
57
- export interface SectionDto extends ExtensibleAuditedEntityDto<string> {
58
- type: SectionType;
59
- displayName?: string;
60
- name?: string;
61
- isDefault: boolean;
62
- isActive: boolean;
63
- route?: string;
64
- template?: string;
65
- concurrencyStamp?: string;
66
- entryTypes: EntryTypeDto[];
67
- }
68
-
69
- export interface SectionNameExistsInput {
70
- name: string;
71
- }
72
-
73
- export interface SectionRouteExistsInput {
74
- route: string;
75
- }
76
-
77
- export interface UpdateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
78
- }
79
-
80
- export interface UpdateSectionInput extends CreateOrUpdateSectionInputBase {
81
- concurrencyStamp?: string;
82
- }
1
+ import type { AuditedEntityDto, ExtensibleAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
+ import type { SectionType } from '../../sections/section-type.enum';
3
+ import type { EntryFieldTabDto } from '../../sections/models';
4
+ export interface CreateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
5
+ sectionId: string;
6
+ }
7
+ export interface CreateOrUpdateEntryTypeInputBase {
8
+ displayName: string;
9
+ name: string;
10
+ fieldTabs: EntryFieldTabInput[];
11
+ }
12
+ export interface CreateOrUpdateSectionInputBase extends ExtensibleObject {
13
+ type: SectionType;
14
+ displayName: string;
15
+ name: string;
16
+ isDefault: boolean;
17
+ isActive: boolean;
18
+ route?: string;
19
+ template?: string;
20
+ }
21
+ export interface CreateSectionInput extends CreateOrUpdateSectionInputBase {
22
+ }
23
+ export interface EntryFieldInput {
24
+ fieldId: string;
25
+ displayName: string;
26
+ required: boolean;
27
+ showInList: boolean;
28
+ enableSearch: boolean;
29
+ }
30
+ export interface EntryFieldTabInput {
31
+ name: string;
32
+ fields: EntryFieldInput[];
33
+ }
34
+ export interface EntryTypeDto extends AuditedEntityDto<string> {
35
+ displayName?: string;
36
+ name?: string;
37
+ fieldTabs: EntryFieldTabDto[];
38
+ }
39
+ export interface EntryTypeNameExistsInput {
40
+ sectionId: string;
41
+ name: string;
42
+ }
43
+ export interface GetSectionsInput extends PagedAndSortedResultRequestDto {
44
+ filter?: string;
45
+ isActive?: boolean;
46
+ }
47
+ export interface SectionDto extends ExtensibleAuditedEntityDto<string> {
48
+ type: SectionType;
49
+ displayName?: string;
50
+ name?: string;
51
+ isDefault: boolean;
52
+ isActive: boolean;
53
+ route?: string;
54
+ template?: string;
55
+ concurrencyStamp?: string;
56
+ entryTypes: EntryTypeDto[];
57
+ }
58
+ export interface SectionNameExistsInput {
59
+ name: string;
60
+ }
61
+ export interface SectionRouteExistsInput {
62
+ route: string;
63
+ }
64
+ export interface UpdateEntryTypeInput extends CreateOrUpdateEntryTypeInputBase {
65
+ }
66
+ export interface UpdateSectionInput extends CreateOrUpdateSectionInputBase {
67
+ concurrencyStamp?: string;
68
+ }
@@ -0,0 +1,18 @@
1
+ import type { CreateSectionInput, GetSectionsInput, SectionDto, SectionNameExistsInput, SectionRouteExistsInput, UpdateSectionInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SectionAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateSectionInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<SectionDto>;
9
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<SectionDto>;
11
+ getList: (input: GetSectionsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<SectionDto>>;
12
+ nameExists: (input: SectionNameExistsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
13
+ routeExists: (input: SectionRouteExistsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<boolean>;
14
+ update: (id: string, input: UpdateSectionInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<SectionDto>;
15
+ constructor(restService: RestService);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionAdminService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<SectionAdminService>;
18
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum EntryStatus {
2
+ Draft = 0,
3
+ Published = 1
4
+ }
5
+ export declare const entryStatusOptions: import("@abp/ng.core").ABP.Option<typeof EntryStatus>[];
@@ -0,0 +1,8 @@
1
+ import type { EntityDto } from '@abp/ng.core';
2
+ export interface FieldDto extends EntityDto<string> {
3
+ name?: string;
4
+ displayName?: string;
5
+ description?: string;
6
+ formControlName?: string;
7
+ formConfiguration: Record<string, object>;
8
+ }
@@ -0,0 +1,13 @@
1
+ import type { FieldDto } from '../fields/models';
2
+ export interface EntryFieldDto {
3
+ fieldId?: string;
4
+ field: FieldDto;
5
+ displayName?: string;
6
+ required: boolean;
7
+ showInList: boolean;
8
+ enableSearch: boolean;
9
+ }
10
+ export interface EntryFieldTabDto {
11
+ name?: string;
12
+ fields: EntryFieldDto[];
13
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum SectionType {
2
+ Single = 0,
3
+ Structure = 1,
4
+ Channel = 2
5
+ }
6
+ export declare const sectionTypeOptions: import("@abp/ng.core").ABP.Option<typeof SectionType>[];
@@ -1,8 +1,7 @@
1
- import type { ExtensibleEntityDto } from '@abp/ng.core';
2
-
3
- export interface CmsUserDto extends ExtensibleEntityDto<string> {
4
- tenantId?: string;
5
- userName?: string;
6
- name?: string;
7
- surname?: string;
8
- }
1
+ import type { ExtensibleEntityDto } from '@abp/ng.core';
2
+ export interface CmsUserDto extends ExtensibleEntityDto<string> {
3
+ tenantId?: string;
4
+ userName?: string;
5
+ name?: string;
6
+ surname?: string;
7
+ }