@dignite-ng/expand.cms 0.0.20 → 0.0.22

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 (385) 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 +8 -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 +8 -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 +2 -0
  12. package/esm2022/config/providers/index.mjs +2 -0
  13. package/esm2022/config/providers/route.provider.mjs +64 -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 +101 -0
  17. package/esm2022/lib/cms.module.mjs +156 -0
  18. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +285 -0
  19. package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +32 -0
  20. package/esm2022/lib/components/admin/entries/create.component.mjs +107 -0
  21. package/esm2022/lib/components/admin/entries/edit.component.mjs +110 -0
  22. package/esm2022/lib/components/admin/entries/entries.component.mjs +212 -0
  23. package/esm2022/lib/components/admin/entries/index.mjs +5 -0
  24. package/esm2022/lib/components/admin/fields/create-field.component.mjs +82 -0
  25. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +121 -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 +110 -0
  28. package/esm2022/lib/components/admin/fields/field-group.component.mjs +124 -0
  29. package/esm2022/lib/components/admin/fields/fields.component.mjs +119 -0
  30. package/esm2022/lib/components/admin/fields/index.mjs +7 -0
  31. package/esm2022/lib/components/admin/index.mjs +5 -0
  32. package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +27 -0
  33. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +71 -0
  34. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +418 -0
  35. package/esm2022/lib/components/admin/sections/entry-types/index.mjs +3 -0
  36. package/esm2022/lib/components/admin/sections/index.mjs +4 -0
  37. package/esm2022/lib/components/admin/sections/sections.component.mjs +334 -0
  38. package/esm2022/lib/components/admin/sites/create-or-update-sites-input-base.mjs +23 -0
  39. package/esm2022/lib/components/admin/sites/index.mjs +3 -0
  40. package/esm2022/lib/components/admin/sites/sites.component.mjs +285 -0
  41. package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +125 -0
  42. package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
  43. package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +115 -0
  44. package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
  45. package/esm2022/lib/components/dynamic-form/form-control-group.mjs +31 -0
  46. package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
  47. package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
  48. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +229 -0
  49. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
  50. package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +111 -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 +174 -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 +114 -0
  55. package/esm2022/lib/components/index.mjs +3 -0
  56. package/esm2022/lib/constants/index.mjs +2 -0
  57. package/esm2022/lib/constants/styles.mjs +32 -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/admin/dynamic-forms/form-admin.service.mjs +24 -0
  61. package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +3 -0
  62. package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +2 -0
  63. package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +67 -0
  64. package/esm2022/lib/proxy/admin/entries/index.mjs +3 -0
  65. package/esm2022/lib/proxy/admin/entries/models.mjs +2 -0
  66. package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +47 -0
  67. package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +43 -0
  68. package/esm2022/lib/proxy/admin/fields/index.mjs +4 -0
  69. package/esm2022/lib/proxy/admin/fields/models.mjs +2 -0
  70. package/esm2022/lib/proxy/admin/index.mjs +7 -0
  71. package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +43 -0
  72. package/esm2022/lib/proxy/admin/sections/index.mjs +4 -0
  73. package/esm2022/lib/proxy/admin/sections/models.mjs +2 -0
  74. package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +53 -0
  75. package/esm2022/lib/proxy/admin/sites/index.mjs +3 -0
  76. package/esm2022/lib/proxy/admin/sites/models.mjs +2 -0
  77. package/esm2022/lib/proxy/admin/sites/site-admin.service.mjs +51 -0
  78. package/esm2022/lib/proxy/dignite/abp/data/index.mjs +2 -0
  79. package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
  80. package/esm2022/lib/proxy/dignite/abp/index.mjs +3 -0
  81. package/esm2022/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.mjs +48 -0
  82. package/esm2022/lib/proxy/dignite/file-explorer/directories/index.mjs +3 -0
  83. package/esm2022/lib/proxy/dignite/file-explorer/directories/models.mjs +2 -0
  84. package/esm2022/lib/proxy/dignite/file-explorer/files/file-descriptor.service.mjs +60 -0
  85. package/esm2022/lib/proxy/dignite/file-explorer/files/index.mjs +3 -0
  86. package/esm2022/lib/proxy/dignite/file-explorer/files/models.mjs +2 -0
  87. package/esm2022/lib/proxy/dignite/file-explorer/index.mjs +4 -0
  88. package/esm2022/lib/proxy/dignite/index.mjs +4 -0
  89. package/esm2022/lib/proxy/entries/entry-status.enum.mjs +8 -0
  90. package/esm2022/lib/proxy/entries/index.mjs +2 -0
  91. package/esm2022/lib/proxy/fields/index.mjs +2 -0
  92. package/esm2022/lib/proxy/fields/models.mjs +2 -0
  93. package/esm2022/lib/proxy/index.mjs +10 -0
  94. package/esm2022/lib/proxy/microsoft/asp-net-core/index.mjs +3 -0
  95. package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/index.mjs +2 -0
  96. package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/models.mjs +2 -0
  97. package/esm2022/lib/proxy/microsoft/extensions/index.mjs +3 -0
  98. package/esm2022/lib/proxy/microsoft/extensions/primitives/index.mjs +2 -0
  99. package/esm2022/lib/proxy/microsoft/extensions/primitives/models.mjs +2 -0
  100. package/esm2022/lib/proxy/microsoft/index.mjs +5 -0
  101. package/esm2022/lib/proxy/microsoft/net/http/headers/index.mjs +2 -0
  102. package/esm2022/lib/proxy/microsoft/net/http/headers/models.mjs +2 -0
  103. package/esm2022/lib/proxy/microsoft/net/http/index.mjs +3 -0
  104. package/esm2022/lib/proxy/microsoft/net/index.mjs +3 -0
  105. package/esm2022/lib/proxy/sections/index.mjs +3 -0
  106. package/esm2022/lib/proxy/sections/models.mjs +2 -0
  107. package/esm2022/lib/proxy/sections/section-type.enum.mjs +9 -0
  108. package/esm2022/lib/proxy/sites/index.mjs +2 -0
  109. package/esm2022/lib/proxy/sites/models.mjs +2 -0
  110. package/esm2022/lib/proxy/volo/abp/content/index.mjs +2 -0
  111. package/esm2022/lib/proxy/volo/abp/content/models.mjs +2 -0
  112. package/esm2022/lib/proxy/volo/abp/index.mjs +3 -0
  113. package/esm2022/lib/proxy/volo/cms-kit/index.mjs +3 -0
  114. package/esm2022/lib/proxy/volo/cms-kit/users/index.mjs +2 -0
  115. package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
  116. package/esm2022/lib/proxy/volo/index.mjs +4 -0
  117. package/esm2022/lib/services/appent-content.mjs +15 -0
  118. package/esm2022/lib/services/cms-api.service.mjs +80 -0
  119. package/esm2022/lib/services/cms.service.mjs +23 -0
  120. package/esm2022/lib/services/field-abstracts.service.mjs +45 -0
  121. package/esm2022/lib/services/index.mjs +5 -0
  122. package/esm2022/lib/services/simple-reuse-strategy.mjs +43 -0
  123. package/esm2022/lib/services/update-list.service.mjs +19 -0
  124. package/esm2022/lib/toolbar/index.mjs +3 -0
  125. package/esm2022/lib/toolbar/toolbar-btn-default-action.mjs +160 -0
  126. package/esm2022/lib/toolbar/toolbar-config.mjs +81 -0
  127. package/esm2022/public-api.mjs +12 -0
  128. package/fesm2022/dignite-ng-expand.cms-config.mjs +87 -0
  129. package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
  130. package/fesm2022/dignite-ng-expand.cms.mjs +4516 -0
  131. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -0
  132. package/index.d.ts +5 -0
  133. package/lib/cms-routing.module.d.ts +7 -0
  134. package/lib/cms.module.d.ts +40 -0
  135. package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +91 -0
  136. package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +23 -0
  137. package/lib/components/admin/entries/create.component.d.ts +40 -0
  138. package/lib/components/admin/entries/edit.component.d.ts +42 -0
  139. package/lib/components/admin/entries/entries.component.d.ts +66 -0
  140. package/lib/components/admin/entries/index.d.ts +4 -0
  141. package/lib/components/admin/fields/create-field.component.d.ts +31 -0
  142. package/lib/components/admin/fields/create-or-edit-field.component.d.ts +37 -0
  143. package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +16 -0
  144. package/lib/components/admin/fields/edit-field.component.d.ts +40 -0
  145. package/lib/components/admin/fields/field-group.component.d.ts +51 -0
  146. package/lib/components/admin/fields/fields.component.d.ts +37 -0
  147. package/lib/components/admin/fields/index.d.ts +6 -0
  148. package/lib/components/admin/index.d.ts +4 -0
  149. package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +17 -0
  150. package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +38 -0
  151. package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +132 -0
  152. package/lib/components/admin/sections/entry-types/index.d.ts +2 -0
  153. package/lib/components/admin/sections/index.d.ts +3 -0
  154. package/lib/components/admin/sections/sections.component.d.ts +95 -0
  155. package/lib/components/admin/sites/create-or-update-sites-input-base.d.ts +12 -0
  156. package/lib/components/admin/sites/index.d.ts +2 -0
  157. package/lib/components/admin/sites/sites.component.d.ts +72 -0
  158. package/lib/components/dynamic-form/entry/entry-config.component.d.ts +42 -0
  159. package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
  160. package/lib/components/dynamic-form/entry/entry-control.component.d.ts +35 -0
  161. package/lib/components/dynamic-form/entry/index.d.ts +3 -0
  162. package/lib/components/dynamic-form/form-control-group.d.ts +4 -0
  163. package/lib/components/dynamic-form/index.d.ts +4 -0
  164. package/lib/components/dynamic-form/matrix/index.d.ts +3 -0
  165. package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +73 -0
  166. package/lib/components/dynamic-form/matrix/matrix-config.d.ts +24 -0
  167. package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +39 -0
  168. package/lib/components/dynamic-form/table/index.d.ts +3 -0
  169. package/lib/components/dynamic-form/table/table-config.component.d.ts +58 -0
  170. package/lib/components/dynamic-form/table/table-config.d.ts +18 -0
  171. package/lib/components/dynamic-form/table/table-control.component.d.ts +36 -0
  172. package/lib/components/index.d.ts +2 -0
  173. package/lib/constants/index.d.ts +1 -0
  174. package/lib/constants/styles.d.ts +2 -0
  175. package/lib/enums/ecms-component.d.ts +11 -0
  176. package/lib/enums/index.d.ts +1 -0
  177. package/lib/proxy/admin/dynamic-forms/form-admin.service.d.ts +12 -0
  178. package/lib/proxy/admin/dynamic-forms/models.d.ts +4 -0
  179. package/lib/proxy/admin/entries/entry-admin.service.d.ts +21 -0
  180. package/lib/proxy/admin/entries/models.d.ts +65 -0
  181. package/lib/proxy/admin/fields/field-admin.service.d.ts +17 -0
  182. package/lib/proxy/admin/fields/field-group-admin.service.d.ts +16 -0
  183. package/{src/lib/proxy/admin/fields/models.ts → lib/proxy/admin/fields/models.d.ts} +34 -42
  184. package/lib/proxy/admin/sections/entry-type-admin.service.d.ts +15 -0
  185. package/{src/lib/proxy/admin/sections/models.ts → lib/proxy/admin/sections/models.d.ts} +74 -88
  186. package/lib/proxy/admin/sections/section-admin.service.d.ts +18 -0
  187. package/{src/lib/proxy/admin/sites/models.ts → lib/proxy/admin/sites/models.d.ts} +30 -36
  188. package/lib/proxy/admin/sites/site-admin.service.d.ts +18 -0
  189. package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
  190. package/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.d.ts +17 -0
  191. package/{src/lib/proxy/dignite/file-explorer/directories/models.ts → lib/proxy/dignite/file-explorer/directories/models.d.ts} +29 -35
  192. package/lib/proxy/dignite/file-explorer/files/file-descriptor.service.d.ts +20 -0
  193. package/lib/proxy/dignite/file-explorer/files/models.d.ts +50 -0
  194. package/lib/proxy/entries/entry-status.enum.d.ts +5 -0
  195. package/lib/proxy/fields/models.d.ts +8 -0
  196. package/{src/lib/proxy/microsoft/asp-net-core/mvc/models.ts → lib/proxy/microsoft/asp-net-core/mvc/models.d.ts} +10 -12
  197. package/lib/proxy/microsoft/extensions/primitives/models.d.ts +8 -0
  198. package/{src/lib/proxy/microsoft/net/http/headers/models.ts → lib/proxy/microsoft/net/http/headers/models.d.ts} +6 -7
  199. package/lib/proxy/sections/models.d.ts +12 -0
  200. package/lib/proxy/sections/section-type.enum.d.ts +6 -0
  201. package/lib/proxy/sites/models.d.ts +4 -0
  202. package/lib/proxy/volo/abp/content/models.d.ts +5 -0
  203. package/{src/lib/proxy/volo/cms-kit/users/models.ts → lib/proxy/volo/cms-kit/users/models.d.ts} +7 -8
  204. package/lib/services/appent-content.d.ts +1 -0
  205. package/lib/services/cms-api.service.d.ts +20 -0
  206. package/lib/services/cms.service.d.ts +10 -0
  207. package/lib/services/field-abstracts.service.d.ts +20 -0
  208. package/lib/services/index.d.ts +4 -0
  209. package/lib/services/simple-reuse-strategy.d.ts +11 -0
  210. package/lib/services/update-list.service.d.ts +9 -0
  211. package/lib/toolbar/index.d.ts +2 -0
  212. package/lib/toolbar/toolbar-btn-default-action.d.ts +19 -0
  213. package/lib/toolbar/toolbar-config.d.ts +57 -0
  214. package/package.json +38 -19
  215. package/{src/public-api.ts → public-api.d.ts} +8 -12
  216. package/config/ng-package.json +0 -7
  217. package/config/src/cms-config.module.ts +0 -12
  218. package/config/src/enums/route-names.ts +0 -8
  219. package/config/src/providers/route.provider.ts +0 -66
  220. package/karma.conf.js +0 -44
  221. package/ng-package.json +0 -7
  222. package/src/lib/cms-routing.module.ts +0 -111
  223. package/src/lib/cms.module.ts +0 -119
  224. package/src/lib/components/admin/entries/create-or-edit-entries.component.html +0 -115
  225. package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +0 -25
  226. package/src/lib/components/admin/entries/create-or-edit-entries.component.spec.ts +0 -21
  227. package/src/lib/components/admin/entries/create-or-edit-entries.component.ts +0 -287
  228. package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -36
  229. package/src/lib/components/admin/entries/create.component.html +0 -13
  230. package/src/lib/components/admin/entries/create.component.scss +0 -21
  231. package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
  232. package/src/lib/components/admin/entries/create.component.ts +0 -103
  233. package/src/lib/components/admin/entries/edit.component.html +0 -9
  234. package/src/lib/components/admin/entries/edit.component.scss +0 -26
  235. package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
  236. package/src/lib/components/admin/entries/edit.component.ts +0 -103
  237. package/src/lib/components/admin/entries/entries.component.html +0 -106
  238. package/src/lib/components/admin/entries/entries.component.scss +0 -80
  239. package/src/lib/components/admin/entries/entries.component.spec.ts +0 -21
  240. package/src/lib/components/admin/entries/entries.component.ts +0 -216
  241. package/src/lib/components/admin/entries/index.ts +0 -4
  242. package/src/lib/components/admin/fields/create-field.component.html +0 -12
  243. package/src/lib/components/admin/fields/create-field.component.scss +0 -10
  244. package/src/lib/components/admin/fields/create-field.component.spec.ts +0 -21
  245. package/src/lib/components/admin/fields/create-field.component.ts +0 -68
  246. package/src/lib/components/admin/fields/create-or-edit-field.component.html +0 -39
  247. package/src/lib/components/admin/fields/create-or-edit-field.component.scss +0 -0
  248. package/src/lib/components/admin/fields/create-or-edit-field.component.spec.ts +0 -21
  249. package/src/lib/components/admin/fields/create-or-edit-field.component.ts +0 -119
  250. package/src/lib/components/admin/fields/create-or-update-field-input-base.ts +0 -33
  251. package/src/lib/components/admin/fields/edit-field.component.html +0 -13
  252. package/src/lib/components/admin/fields/edit-field.component.scss +0 -0
  253. package/src/lib/components/admin/fields/edit-field.component.spec.ts +0 -21
  254. package/src/lib/components/admin/fields/edit-field.component.ts +0 -100
  255. package/src/lib/components/admin/fields/field-group.component.html +0 -69
  256. package/src/lib/components/admin/fields/field-group.component.scss +0 -0
  257. package/src/lib/components/admin/fields/field-group.component.spec.ts +0 -21
  258. package/src/lib/components/admin/fields/field-group.component.ts +0 -132
  259. package/src/lib/components/admin/fields/fields.component.html +0 -73
  260. package/src/lib/components/admin/fields/fields.component.scss +0 -11
  261. package/src/lib/components/admin/fields/fields.component.spec.ts +0 -21
  262. package/src/lib/components/admin/fields/fields.component.ts +0 -111
  263. package/src/lib/components/admin/fields/index.ts +0 -6
  264. package/src/lib/components/admin/index.ts +0 -4
  265. package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +0 -36
  266. package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +0 -79
  267. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +0 -191
  268. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +0 -24
  269. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.spec.ts +0 -21
  270. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.ts +0 -412
  271. package/src/lib/components/admin/sections/entry-types/index.ts +0 -2
  272. package/src/lib/components/admin/sections/index.ts +0 -3
  273. package/src/lib/components/admin/sections/sections.component.html +0 -191
  274. package/src/lib/components/admin/sections/sections.component.scss +0 -26
  275. package/src/lib/components/admin/sections/sections.component.spec.ts +0 -21
  276. package/src/lib/components/admin/sections/sections.component.ts +0 -334
  277. package/src/lib/components/admin/sites/create-or-update-sites-input-base.ts +0 -31
  278. package/src/lib/components/admin/sites/index.ts +0 -2
  279. package/src/lib/components/admin/sites/sites.component.html +0 -154
  280. package/src/lib/components/admin/sites/sites.component.scss +0 -19
  281. package/src/lib/components/admin/sites/sites.component.spec.ts +0 -21
  282. package/src/lib/components/admin/sites/sites.component.ts +0 -293
  283. package/src/lib/components/dynamic-form/entry/entry-config.component.html +0 -36
  284. package/src/lib/components/dynamic-form/entry/entry-config.component.scss +0 -0
  285. package/src/lib/components/dynamic-form/entry/entry-config.component.spec.ts +0 -21
  286. package/src/lib/components/dynamic-form/entry/entry-config.component.ts +0 -115
  287. package/src/lib/components/dynamic-form/entry/entry-config.ts +0 -24
  288. package/src/lib/components/dynamic-form/entry/entry-control.component.html +0 -26
  289. package/src/lib/components/dynamic-form/entry/entry-control.component.scss +0 -20
  290. package/src/lib/components/dynamic-form/entry/entry-control.component.spec.ts +0 -21
  291. package/src/lib/components/dynamic-form/entry/entry-control.component.ts +0 -110
  292. package/src/lib/components/dynamic-form/entry/index.ts +0 -3
  293. package/src/lib/components/dynamic-form/form-control-group.ts +0 -31
  294. package/src/lib/components/dynamic-form/index.ts +0 -4
  295. package/src/lib/components/dynamic-form/matrix/index.ts +0 -3
  296. package/src/lib/components/dynamic-form/matrix/matrix-config.component.html +0 -147
  297. package/src/lib/components/dynamic-form/matrix/matrix-config.component.scss +0 -0
  298. package/src/lib/components/dynamic-form/matrix/matrix-config.component.spec.ts +0 -21
  299. package/src/lib/components/dynamic-form/matrix/matrix-config.component.ts +0 -238
  300. package/src/lib/components/dynamic-form/matrix/matrix-config.ts +0 -63
  301. package/src/lib/components/dynamic-form/matrix/matrix-control.component.html +0 -42
  302. package/src/lib/components/dynamic-form/matrix/matrix-control.component.scss +0 -0
  303. package/src/lib/components/dynamic-form/matrix/matrix-control.component.spec.ts +0 -21
  304. package/src/lib/components/dynamic-form/matrix/matrix-control.component.ts +0 -104
  305. package/src/lib/components/dynamic-form/table/index.ts +0 -3
  306. package/src/lib/components/dynamic-form/table/table-config.component.html +0 -85
  307. package/src/lib/components/dynamic-form/table/table-config.component.scss +0 -10
  308. package/src/lib/components/dynamic-form/table/table-config.component.spec.ts +0 -21
  309. package/src/lib/components/dynamic-form/table/table-config.component.ts +0 -170
  310. package/src/lib/components/dynamic-form/table/table-config.ts +0 -45
  311. package/src/lib/components/dynamic-form/table/table-control.component.html +0 -55
  312. package/src/lib/components/dynamic-form/table/table-control.component.scss +0 -10
  313. package/src/lib/components/dynamic-form/table/table-control.component.spec.ts +0 -21
  314. package/src/lib/components/dynamic-form/table/table-control.component.ts +0 -107
  315. package/src/lib/components/index.ts +0 -2
  316. package/src/lib/constants/index.ts +0 -1
  317. package/src/lib/constants/styles.ts +0 -31
  318. package/src/lib/enums/ecms-component.ts +0 -11
  319. package/src/lib/enums/index.ts +0 -1
  320. package/src/lib/proxy/README.md +0 -17
  321. package/src/lib/proxy/admin/dynamic-forms/form-admin.service.ts +0 -21
  322. package/src/lib/proxy/admin/dynamic-forms/models.ts +0 -5
  323. package/src/lib/proxy/admin/entries/entry-admin.service.ts +0 -100
  324. package/src/lib/proxy/admin/entries/models.ts +0 -73
  325. package/src/lib/proxy/admin/fields/field-admin.service.ts +0 -64
  326. package/src/lib/proxy/admin/fields/field-group-admin.service.ts +0 -56
  327. package/src/lib/proxy/admin/sections/entry-type-admin.service.ts +0 -55
  328. package/src/lib/proxy/admin/sections/section-admin.service.ts +0 -74
  329. package/src/lib/proxy/admin/sites/site-admin.service.ts +0 -72
  330. package/src/lib/proxy/dignite/abp/data/models.ts +0 -4
  331. package/src/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
  332. package/src/lib/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -86
  333. package/src/lib/proxy/dignite/file-explorer/files/models.ts +0 -57
  334. package/src/lib/proxy/entries/entry-status.enum.ts +0 -8
  335. package/src/lib/proxy/fields/models.ts +0 -9
  336. package/src/lib/proxy/generate-proxy.json +0 -11821
  337. package/src/lib/proxy/microsoft/extensions/primitives/models.ts +0 -9
  338. package/src/lib/proxy/sections/models.ts +0 -14
  339. package/src/lib/proxy/sections/section-type.enum.ts +0 -9
  340. package/src/lib/proxy/sites/models.ts +0 -5
  341. package/src/lib/proxy/volo/abp/content/models.ts +0 -6
  342. package/src/lib/services/appent-content.ts +0 -13
  343. package/src/lib/services/cms-api.service.ts +0 -71
  344. package/src/lib/services/cms.service.ts +0 -18
  345. package/src/lib/services/field-abstracts.service.ts +0 -41
  346. package/src/lib/services/index.ts +0 -4
  347. package/src/lib/services/simple-reuse-strategy.ts +0 -49
  348. package/src/lib/services/update-list.service.ts +0 -15
  349. package/src/lib/toolbar/index.ts +0 -2
  350. package/src/lib/toolbar/toolbar-btn-default-action.ts +0 -171
  351. package/src/lib/toolbar/toolbar-config.ts +0 -95
  352. package/src/test.ts +0 -26
  353. package/tsconfig.lib.json +0 -20
  354. package/tsconfig.lib.prod.json +0 -10
  355. package/tsconfig.spec.json +0 -17
  356. /package/{src/lib/proxy/admin/dynamic-forms/index.ts → lib/proxy/admin/dynamic-forms/index.d.ts} +0 -0
  357. /package/{src/lib/proxy/admin/entries/index.ts → lib/proxy/admin/entries/index.d.ts} +0 -0
  358. /package/{src/lib/proxy/admin/fields/index.ts → lib/proxy/admin/fields/index.d.ts} +0 -0
  359. /package/{src/lib/proxy/admin/index.ts → lib/proxy/admin/index.d.ts} +0 -0
  360. /package/{src/lib/proxy/admin/sections/index.ts → lib/proxy/admin/sections/index.d.ts} +0 -0
  361. /package/{src/lib/proxy/admin/sites/index.ts → lib/proxy/admin/sites/index.d.ts} +0 -0
  362. /package/{src/lib/proxy/dignite/abp/data/index.ts → lib/proxy/dignite/abp/data/index.d.ts} +0 -0
  363. /package/{src/lib/proxy/dignite/abp/index.ts → lib/proxy/dignite/abp/index.d.ts} +0 -0
  364. /package/{src/lib/proxy/dignite/file-explorer/directories/index.ts → lib/proxy/dignite/file-explorer/directories/index.d.ts} +0 -0
  365. /package/{src/lib/proxy/dignite/file-explorer/files/index.ts → lib/proxy/dignite/file-explorer/files/index.d.ts} +0 -0
  366. /package/{src/lib/proxy/dignite/file-explorer/index.ts → lib/proxy/dignite/file-explorer/index.d.ts} +0 -0
  367. /package/{src/lib/proxy/dignite/index.ts → lib/proxy/dignite/index.d.ts} +0 -0
  368. /package/{src/lib/proxy/entries/index.ts → lib/proxy/entries/index.d.ts} +0 -0
  369. /package/{src/lib/proxy/fields/index.ts → lib/proxy/fields/index.d.ts} +0 -0
  370. /package/{src/lib/proxy/index.ts → lib/proxy/index.d.ts} +0 -0
  371. /package/{src/lib/proxy/microsoft/asp-net-core/index.ts → lib/proxy/microsoft/asp-net-core/index.d.ts} +0 -0
  372. /package/{src/lib/proxy/microsoft/asp-net-core/mvc/index.ts → lib/proxy/microsoft/asp-net-core/mvc/index.d.ts} +0 -0
  373. /package/{src/lib/proxy/microsoft/extensions/index.ts → lib/proxy/microsoft/extensions/index.d.ts} +0 -0
  374. /package/{src/lib/proxy/microsoft/extensions/primitives/index.ts → lib/proxy/microsoft/extensions/primitives/index.d.ts} +0 -0
  375. /package/{src/lib/proxy/microsoft/index.ts → lib/proxy/microsoft/index.d.ts} +0 -0
  376. /package/{src/lib/proxy/microsoft/net/http/headers/index.ts → lib/proxy/microsoft/net/http/headers/index.d.ts} +0 -0
  377. /package/{src/lib/proxy/microsoft/net/http/index.ts → lib/proxy/microsoft/net/http/index.d.ts} +0 -0
  378. /package/{src/lib/proxy/microsoft/net/index.ts → lib/proxy/microsoft/net/index.d.ts} +0 -0
  379. /package/{src/lib/proxy/sections/index.ts → lib/proxy/sections/index.d.ts} +0 -0
  380. /package/{src/lib/proxy/sites/index.ts → lib/proxy/sites/index.d.ts} +0 -0
  381. /package/{src/lib/proxy/volo/abp/content/index.ts → lib/proxy/volo/abp/content/index.d.ts} +0 -0
  382. /package/{src/lib/proxy/volo/abp/index.ts → lib/proxy/volo/abp/index.d.ts} +0 -0
  383. /package/{src/lib/proxy/volo/cms-kit/index.ts → lib/proxy/volo/cms-kit/index.d.ts} +0 -0
  384. /package/{src/lib/proxy/volo/cms-kit/users/index.ts → lib/proxy/volo/cms-kit/users/index.d.ts} +0 -0
  385. /package/{src/lib/proxy/volo/index.ts → lib/proxy/volo/index.d.ts} +0 -0
@@ -1,107 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild, ViewContainerRef, inject } from '@angular/core';
2
- import { FormArray, FormBuilder, FormGroup, Validators } from '@angular/forms';
3
-
4
- @Component({
5
- selector: 'df-table-control',
6
- templateUrl: './table-control.component.html',
7
- styleUrls: ['./table-control.component.scss']
8
- })
9
- export class TableControlComponent {
10
-
11
- constructor(
12
- // private fb: FormBuilder,
13
- ) {
14
- }
15
- private fb=inject(FormBuilder)
16
-
17
- /**表单实体 */
18
- _entity: FormGroup | undefined
19
- @Input()
20
- public set entity(v: any) {
21
- this._entity = v;
22
- this.dataLoaded()
23
- }
24
-
25
- /**字段配置列表 */
26
- _fields: any = ''
27
- @Input()
28
- public set fields(v: any) {
29
- this._fields = v;
30
- this.dataLoaded()
31
- }
32
-
33
- /**父级字段名称,用于为表单设置控件赋值 */
34
- _parentFiledName: any
35
- @Input()
36
- public set parentFiledName(v: any) {
37
- this._parentFiledName = v;
38
- this.dataLoaded()
39
- }
40
- /**父级字段名称,用于为表单设置控件赋值 */
41
- _selected: any
42
- @Input()
43
- public set selected(v: any) {
44
- this._selected = v ;
45
- if (v) { this.dataLoaded() }
46
-
47
- }
48
- @ViewChild('submitclick', { static: true }) submitclick: ElementRef;
49
-
50
- /** 获取父级字段代表的表单组*/
51
- extraProperties: FormGroup | undefined
52
-
53
- /**数据加载完成 */
54
- async dataLoaded() {
55
- if (this._fields && this._entity && this._parentFiledName) {
56
- this.extraProperties = this._entity.get(this._parentFiledName) as FormGroup
57
- await this.AfterInit()
58
- this.submitclick.nativeElement.click();
59
- }
60
- }
61
-
62
- formConfiguration: any
63
- /**获取表格字段代表的控件 */
64
- fieldNameControl: FormArray | undefined
65
-
66
- AfterInit() {
67
- return new Promise((resolve, rejects) => {
68
- let ValidatorsArray = []
69
- if (this._fields.required) {
70
- ValidatorsArray.push(Validators.required)
71
- }
72
- let formConfiguration = this._fields.field.formConfiguration
73
- this.formConfiguration = formConfiguration
74
- let newArrayGroup = this.fb.array([])
75
- this.extraProperties.setControl(this._fields.field.name, newArrayGroup)
76
- this.fieldNameControl = this.extraProperties.get(this._fields.field.name) as FormArray
77
- if (this._selected) {
78
- this._selected.forEach(el => {
79
- this.addTableControlItem()
80
- });
81
- this.fieldNameControl.patchValue(this._selected)
82
- } else {
83
- this.addTableControlItem()
84
- }
85
- resolve(true)
86
- })
87
- }
88
- /**增加表格项 */
89
- addTableControlItem(){
90
- this.fieldNameControl.push(this.fb.group({
91
- 'extraProperties':this.fb.group({})
92
- }))
93
- }
94
- /**删除表格项 */
95
- minusTableControlItem(index){
96
- this.fieldNameControl.removeAt(index)
97
- }
98
- /**调整表格位置 */
99
- TableArrowUpOrDown(type, index) {
100
- let controlAt = this.fieldNameControl.at(index)
101
- this.fieldNameControl.removeAt(index)
102
- let lastindex = type == 'up' ? index - 1 : index + 1
103
- this.fieldNameControl.insert(lastindex, controlAt)
104
- this._selected=this.fieldNameControl.value
105
- }
106
-
107
- }
@@ -1,2 +0,0 @@
1
- export * from './admin'
2
- export * from './dynamic-form'
@@ -1 +0,0 @@
1
- export * from './styles'
@@ -1,31 +0,0 @@
1
- export default `
2
- // /* 垂直滚动条样式 */
3
- // /* 宽度 */
4
- // ::-webkit-scrollbar {
5
- // width: 8px;
6
- // height: 8px;
7
- // }
8
- // /* 背景色 */
9
- // ::-webkit-scrollbar-track {
10
- // background-color: #f5f5f5;
11
- // }
12
- // /* 滑块颜色 */
13
- // ::-webkit-scrollbar-thumb {
14
- // background-color: #c1c1c1;
15
-
16
- // border-radius: 50px;
17
- // }
18
-
19
- .lpx-content-container .lpx-content {
20
- min-height: calc(100vh - 34px);
21
- padding: 1.25em 2em 1.25em;
22
- }
23
-
24
- h1,h2,h3,h4,h5,h6{
25
- color: inherit;
26
- }
27
- .lpx-settings .lpx-context-menu {
28
- overflow: auto;
29
- }
30
-
31
- `;
@@ -1,11 +0,0 @@
1
- export 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
- }
@@ -1 +0,0 @@
1
- export * from './ecms-component'
@@ -1,17 +0,0 @@
1
- # Proxy Generation Output
2
-
3
- This directory includes the output of the latest proxy generation.
4
- The files and folders in it will be overwritten when proxy generation is run again.
5
- Therefore, please do not place your own content in this folder.
6
-
7
- In addition, `generate-proxy.json` works like a lock file.
8
- It includes information used by the proxy generator, so please do not delete or modify it.
9
-
10
- Finally, the name of the files and folders should not be changed for two reasons:
11
- - Proxy generator will keep creating them at those paths and you will have multiple copies of the same content.
12
- - ABP Suite generates files which include imports from this folder.
13
-
14
- > **Important Notice:** If you are building a module and are planning to publish to npm,
15
- > some of the generated proxies are likely to be exported from public-api.ts file. In such a case,
16
- > please make sure you export files directly and not from barrel exports. In other words,
17
- > do not include index.ts exports in your public-api.ts exports.
@@ -1,21 +0,0 @@
1
- import type { FormControlDto } from './models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import type { ListResultDto } from '@abp/ng.core';
4
- import { Injectable } from '@angular/core';
5
-
6
- @Injectable({
7
- providedIn: 'root',
8
- })
9
- export class FormAdminService {
10
- apiName = 'CmsAdmin';
11
-
12
-
13
- getFormControls = (config?: Partial<Rest.Config>) =>
14
- this.restService.request<any, ListResultDto<FormControlDto>>({
15
- method: 'GET',
16
- url: '/api/cms-admin/dynamic-forms/forms',
17
- },
18
- { apiName: this.apiName,...config });
19
-
20
- constructor(private restService: RestService) {}
21
- }
@@ -1,5 +0,0 @@
1
-
2
- export interface FormControlDto {
3
- name?: string;
4
- displayName?: string;
5
- }
@@ -1,100 +0,0 @@
1
- import type { CreateEntryInput, CultureExistWithSingleSectionInput, EntryDto, EntryTypeExistsInput, 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 { Injectable } from '@angular/core';
5
-
6
- @Injectable({
7
- providedIn: 'root',
8
- })
9
- export class EntryAdminService {
10
- apiName = 'CmsAdmin';
11
-
12
-
13
- activate = (id: string, config?: Partial<Rest.Config>) =>
14
- this.restService.request<any, void>({
15
- method: 'POST',
16
- url: `/api/cms-admin/entries/activate/${id}`,
17
- },
18
- { apiName: this.apiName,...config });
19
-
20
-
21
- create = (input: CreateEntryInput, config?: Partial<Rest.Config>) =>
22
- this.restService.request<any, EntryDto>({
23
- method: 'POST',
24
- url: '/api/cms-admin/entries?api-version=1.0',
25
- body: input,
26
- },
27
- { apiName: this.apiName,...config });
28
-
29
-
30
- delete = (id: string, config?: Partial<Rest.Config>) =>
31
- this.restService.request<any, void>({
32
- method: 'DELETE',
33
- url: `/api/cms-admin/entries/${id}`,
34
- },
35
- { apiName: this.apiName,...config });
36
-
37
-
38
- cultureExistWithSingleSection = (input: CultureExistWithSingleSectionInput, config?: Partial<Rest.Config>) =>
39
- this.restService.request<any, boolean>({
40
- method: 'GET',
41
- url: '/api/cms-admin/entries/culture-exists-with-single-section',
42
- params: { culture: input.culture, sectionId: input.sectionId, entryTypeId: input.entryTypeId },
43
- },
44
- { apiName: this.apiName,...config });
45
-
46
-
47
- get = (id: string, config?: Partial<Rest.Config>) =>
48
- this.restService.request<any, EntryDto>({
49
- method: 'GET',
50
- url: `/api/cms-admin/entries/${id}`,
51
- },
52
- { apiName: this.apiName,...config });
53
-
54
-
55
- getAllVersions = (id: string, config?: Partial<Rest.Config>) =>
56
- this.restService.request<any, ListResultDto<EntryDto>>({
57
- method: 'GET',
58
- url: `/api/cms-admin/entries/${id}/all-versions`,
59
- },
60
- { apiName: this.apiName,...config });
61
-
62
-
63
- getList = (input: GetEntriesInput, config?: Partial<Rest.Config>) =>
64
- this.restService.request<any, PagedResultDto<EntryDto>>({
65
- method: 'GET',
66
- url: '/api/cms-admin/entries',
67
- params: { culture: input.culture, sectionId: input.sectionId, entryTypeId: input.entryTypeId, startPublishDate: input.startPublishDate, expiryPublishDate: input.expiryPublishDate, filter: input.filter, status: input.status, creatorId: input.creatorId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
68
- },
69
- { apiName: this.apiName,...config });
70
-
71
-
72
- move = (id: string, input: MoveEntryInput, config?: Partial<Rest.Config>) =>
73
- this.restService.request<any, void>({
74
- method: 'POST',
75
- url: `/api/cms-admin/entries/move/${id}`,
76
- body: input,
77
- },
78
- { apiName: this.apiName,...config });
79
-
80
-
81
- slugExists = (input: SlugExistsInput, config?: Partial<Rest.Config>) =>
82
- this.restService.request<any, boolean>({
83
- method: 'GET',
84
- url: '/api/cms-admin/entries/slug-exists',
85
- params: { culture: input.culture, sectionId: input.sectionId, slug: input.slug },
86
- },
87
- { apiName: this.apiName,...config });
88
-
89
-
90
- update = (id: string, input: UpdateEntryInput, config?: Partial<Rest.Config>) =>
91
- this.restService.request<any, EntryDto>({
92
- method: 'PUT',
93
- url: '/api/cms-admin/entries',
94
- params: { id },
95
- body: input,
96
- },
97
- { apiName: this.apiName,...config });
98
-
99
- constructor(private restService: RestService) {}
100
- }
@@ -1,73 +0,0 @@
1
- import type { ExtensibleAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
- import type { CmsUserDto } from '../../volo/cms-kit/users/models';
3
- import { CustomizableObject } from '../../dignite/abp/data';
4
- import { EntryStatus } from '../../entries';
5
-
6
- export interface CreateEntryInput extends CreateOrUpdateEntryInputBase {
7
- initialVersionId?: string;
8
- }
9
-
10
- export interface CreateOrUpdateEntryInputBase extends CustomizableObject {
11
- entryTypeId: string;
12
- culture: string;
13
- title: string;
14
- slug: string;
15
- parentId?: string;
16
- draft: boolean;
17
- publishTime: string;
18
- versionNotes?: string;
19
- }
20
-
21
- export interface EntryDto extends ExtensibleAuditedEntityDto<string> {
22
- sectionId?: string;
23
- entryTypeId?: string;
24
- culture?: string;
25
- title?: string;
26
- slug?: string;
27
- publishTime?: string;
28
- status: EntryStatus;
29
- parentId?: string;
30
- order: number;
31
- initialVersionId?: string;
32
- isActivatedVersion: boolean;
33
- versionNotes?: string;
34
- author: CmsUserDto;
35
- concurrencyStamp?: string;
36
- }
37
-
38
- export interface EntryTypeExistsInput {
39
- culture: string;
40
- sectionId: string;
41
- entryTypeId: string;
42
- }
43
- export interface CultureExistWithSingleSectionInput {
44
- culture: string;
45
- sectionId: string;
46
- entryTypeId: string;
47
- }
48
-
49
- export interface GetEntriesInput extends PagedAndSortedResultRequestDto {
50
- culture: string;
51
- sectionId: string;
52
- entryTypeId?: string;
53
- startPublishDate?: string;
54
- expiryPublishDate?: string;
55
- filter?: string;
56
- status?: EntryStatus;
57
- creatorId?: string;
58
- }
59
-
60
- export interface MoveEntryInput {
61
- parentId?: string;
62
- order: number;
63
- }
64
-
65
- export interface SlugExistsInput {
66
- culture: string;
67
- sectionId: string;
68
- slug?: string;
69
- }
70
-
71
- export interface UpdateEntryInput extends CreateOrUpdateEntryInputBase {
72
- concurrencyStamp?: string;
73
- }
@@ -1,64 +0,0 @@
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 { Injectable } from '@angular/core';
5
-
6
- @Injectable({
7
- providedIn: 'root',
8
- })
9
- export class FieldAdminService {
10
- apiName = 'CmsAdmin';
11
-
12
-
13
- create = (input: CreateFieldInput, config?: Partial<Rest.Config>) =>
14
- this.restService.request<any, FieldDto>({
15
- method: 'POST',
16
- url: '/api/cms-admin/fields',
17
- body: input,
18
- },
19
- { apiName: this.apiName,...config });
20
-
21
-
22
- delete = (id: string, config?: Partial<Rest.Config>) =>
23
- this.restService.request<any, void>({
24
- method: 'DELETE',
25
- url: `/api/cms-admin/fields/${id}`,
26
- },
27
- { apiName: this.apiName,...config });
28
-
29
-
30
- get = (id: string, config?: Partial<Rest.Config>) =>
31
- this.restService.request<any, FieldDto>({
32
- method: 'GET',
33
- url: `/api/cms-admin/fields/${id}`,
34
- },
35
- { apiName: this.apiName,...config });
36
-
37
-
38
- getList = (input: GetFieldsInput, config?: Partial<Rest.Config>) =>
39
- this.restService.request<any, PagedResultDto<FieldDto>>({
40
- method: 'GET',
41
- url: '/api/cms-admin/fields',
42
- params: { filter: input.filter, groupId: input.groupId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
43
- },
44
- { apiName: this.apiName,...config });
45
-
46
-
47
- nameExists = (name: string, config?: Partial<Rest.Config>) =>
48
- this.restService.request<any, boolean>({
49
- method: 'GET',
50
- url: `/api/cms-admin/fields/name-exists/${name}`,
51
- },
52
- { apiName: this.apiName,...config });
53
-
54
-
55
- update = (id: string, input: UpdateFieldInput, config?: Partial<Rest.Config>) =>
56
- this.restService.request<any, FieldDto>({
57
- method: 'PUT',
58
- url: `/api/cms-admin/fields/${id}`,
59
- body: input,
60
- },
61
- { apiName: this.apiName,...config });
62
-
63
- constructor(private restService: RestService) {}
64
- }
@@ -1,56 +0,0 @@
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 { Injectable } from '@angular/core';
5
-
6
- @Injectable({
7
- providedIn: 'root',
8
- })
9
- export class FieldGroupAdminService {
10
- apiName = 'CmsAdmin';
11
-
12
-
13
- create = (input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) =>
14
- this.restService.request<any, FieldGroupDto>({
15
- method: 'POST',
16
- url: '/api/cms-admin/field-groups',
17
- body: input,
18
- },
19
- { apiName: this.apiName,...config });
20
-
21
-
22
- delete = (id: string, config?: Partial<Rest.Config>) =>
23
- this.restService.request<any, void>({
24
- method: 'DELETE',
25
- url: `/api/cms-admin/field-groups/${id}`,
26
- },
27
- { apiName: this.apiName,...config });
28
-
29
-
30
- get = (id: string, config?: Partial<Rest.Config>) =>
31
- this.restService.request<any, FieldGroupDto>({
32
- method: 'GET',
33
- url: `/api/cms-admin/field-groups/${id}`,
34
- },
35
- { apiName: this.apiName,...config });
36
-
37
-
38
- getList = (input: GetFieldGroupsInput, config?: Partial<Rest.Config>) =>
39
- this.restService.request<any, PagedResultDto<FieldGroupDto>>({
40
- method: 'GET',
41
- url: '/api/cms-admin/field-groups',
42
- params: { input },
43
- },
44
- { apiName: this.apiName,...config });
45
-
46
-
47
- update = (id: string, input: CreateOrUpdateFieldGroupInput, config?: Partial<Rest.Config>) =>
48
- this.restService.request<any, FieldGroupDto>({
49
- method: 'PUT',
50
- url: `/api/cms-admin/field-groups/${id}`,
51
- body: input,
52
- },
53
- { apiName: this.apiName,...config });
54
-
55
- constructor(private restService: RestService) {}
56
- }
@@ -1,55 +0,0 @@
1
- import type { CreateEntryTypeInput, EntryTypeDto, EntryTypeNameExistsInput, UpdateEntryTypeInput } from './models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import { Injectable } from '@angular/core';
4
-
5
- @Injectable({
6
- providedIn: 'root',
7
- })
8
- export class EntryTypeAdminService {
9
- apiName = 'CmsAdmin';
10
-
11
-
12
- create = (input: CreateEntryTypeInput, config?: Partial<Rest.Config>) =>
13
- this.restService.request<any, EntryTypeDto>({
14
- method: 'POST',
15
- url: '/api/cms-admin/entry-types',
16
- body: input,
17
- },
18
- { apiName: this.apiName,...config });
19
-
20
-
21
- delete = (id: string, config?: Partial<Rest.Config>) =>
22
- this.restService.request<any, void>({
23
- method: 'DELETE',
24
- url: `/api/cms-admin/entry-types/${id}`,
25
- },
26
- { apiName: this.apiName,...config });
27
-
28
-
29
- get = (id: string, config?: Partial<Rest.Config>) =>
30
- this.restService.request<any, EntryTypeDto>({
31
- method: 'GET',
32
- url: `/api/cms-admin/entry-types/${id}`,
33
- },
34
- { apiName: this.apiName,...config });
35
-
36
-
37
- nameExists = (input: EntryTypeNameExistsInput, config?: Partial<Rest.Config>) =>
38
- this.restService.request<any, boolean>({
39
- method: 'GET',
40
- url: '/api/cms-admin/entry-types/name-exists',
41
- params: { sectionId: input.sectionId, name: input.name },
42
- },
43
- { apiName: this.apiName,...config });
44
-
45
-
46
- update = (id: string, input: UpdateEntryTypeInput, config?: Partial<Rest.Config>) =>
47
- this.restService.request<any, EntryTypeDto>({
48
- method: 'PUT',
49
- url: `/api/cms-admin/entry-types/${id}`,
50
- body: input,
51
- },
52
- { apiName: this.apiName,...config });
53
-
54
- constructor(private restService: RestService) {}
55
- }
@@ -1,74 +0,0 @@
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 { Injectable } from '@angular/core';
5
-
6
- @Injectable({
7
- providedIn: 'root',
8
- })
9
- export class SectionAdminService {
10
- apiName = 'CmsAdmin';
11
-
12
-
13
- create = (input: CreateSectionInput, config?: Partial<Rest.Config>) =>
14
- this.restService.request<any, SectionDto>({
15
- method: 'POST',
16
- url: '/api/cms-admin/sections',
17
- body: input,
18
- },
19
- { apiName: this.apiName,...config });
20
-
21
-
22
- delete = (id: string, config?: Partial<Rest.Config>) =>
23
- this.restService.request<any, void>({
24
- method: 'DELETE',
25
- url: `/api/cms-admin/sections/${id}`,
26
- },
27
- { apiName: this.apiName,...config });
28
-
29
-
30
- get = (id: string, config?: Partial<Rest.Config>) =>
31
- this.restService.request<any, SectionDto>({
32
- method: 'GET',
33
- url: `/api/cms-admin/sections/${id}`,
34
- },
35
- { apiName: this.apiName,...config });
36
-
37
-
38
- getList = (input: GetSectionsInput, config?: Partial<Rest.Config>) =>
39
- this.restService.request<any, PagedResultDto<SectionDto>>({
40
- method: 'GET',
41
- url: '/api/cms-admin/sections',
42
- params: { siteId: input.siteId, filter: input.filter, isActive: input.isActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
43
- },
44
- { apiName: this.apiName,...config });
45
-
46
-
47
- nameExists = (input: SectionNameExistsInput, config?: Partial<Rest.Config>) =>
48
- this.restService.request<any, boolean>({
49
- method: 'GET',
50
- url: '/api/cms-admin/sections/name-exists',
51
- params: { siteId: input.siteId, name: input.name },
52
- },
53
- { apiName: this.apiName,...config });
54
-
55
-
56
- routeExists = (input: SectionRouteExistsInput, config?: Partial<Rest.Config>) =>
57
- this.restService.request<any, boolean>({
58
- method: 'GET',
59
- url: '/api/cms-admin/sections/route-exists',
60
- params: { siteId: input.siteId, route: input.route },
61
- },
62
- { apiName: this.apiName,...config });
63
-
64
-
65
- update = (id: string, input: UpdateSectionInput, config?: Partial<Rest.Config>) =>
66
- this.restService.request<any, SectionDto>({
67
- method: 'PUT',
68
- url: `/api/cms-admin/sections/${id}`,
69
- body: input,
70
- },
71
- { apiName: this.apiName,...config });
72
-
73
- constructor(private restService: RestService) {}
74
- }