@dignite-ng/expand.cms 0.0.52 → 0.0.54

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 (448) hide show
  1. package/config/cms-config.module.d.ts +8 -0
  2. package/config/components/domains/domains.component.d.ts +29 -0
  3. package/config/components/site-language/site-language.component.d.ts +29 -0
  4. package/config/{src/enums/index.ts → enums/index.d.ts} +1 -1
  5. package/config/enums/route-names.d.ts +8 -0
  6. package/config/index.d.ts +5 -0
  7. package/config/{src/providers/index.ts → providers/index.d.ts} +1 -1
  8. package/config/providers/route.provider.d.ts +9 -0
  9. package/config/proxy/admin/domains/domain-admin.service.d.ts +13 -0
  10. package/config/{src/proxy/dignite/cms/admin/domains/models.ts → proxy/admin/domains/models.d.ts} +7 -9
  11. package/config/proxy/dignite/cms/admin/sites/models.d.ts +4 -0
  12. package/config/proxy/dignite/cms/admin/sites/site-admin.service.d.ts +13 -0
  13. package/config/proxy/dignite/cms/sites/models.d.ts +4 -0
  14. package/config/{src/public-api.ts → public-api.d.ts} +3 -3
  15. package/config/services/validators.service.d.ts +16 -0
  16. package/esm2022/config/cms-config.module.mjs +18 -0
  17. package/esm2022/config/components/domains/domains.component.mjs +102 -0
  18. package/esm2022/config/components/site-language/site-language.component.mjs +105 -0
  19. package/esm2022/config/dignite-ng-expand.cms-config.mjs +5 -0
  20. package/esm2022/config/enums/index.mjs +2 -0
  21. package/esm2022/config/enums/route-names.mjs +10 -0
  22. package/esm2022/config/providers/index.mjs +2 -0
  23. package/esm2022/config/providers/route.provider.mjs +74 -0
  24. package/esm2022/config/proxy/admin/domains/domain-admin.service.mjs +32 -0
  25. package/esm2022/config/proxy/admin/domains/index.mjs +3 -0
  26. package/esm2022/config/proxy/admin/domains/models.mjs +2 -0
  27. package/esm2022/config/proxy/dignite/cms/admin/sites/index.mjs +3 -0
  28. package/esm2022/config/proxy/dignite/cms/admin/sites/models.mjs +2 -0
  29. package/esm2022/config/proxy/dignite/cms/admin/sites/site-admin.service.mjs +27 -0
  30. package/esm2022/config/proxy/dignite/cms/sites/models.mjs +2 -0
  31. package/esm2022/config/public-api.mjs +4 -0
  32. package/esm2022/config/services/validators.service.mjs +83 -0
  33. package/esm2022/dignite-ng-expand.cms.mjs +5 -0
  34. package/esm2022/lib/cms-routing.module.mjs +94 -0
  35. package/esm2022/lib/cms.module.mjs +133 -0
  36. package/esm2022/lib/components/admin/entries/create-or-edit-entries.component.mjs +303 -0
  37. package/esm2022/lib/components/admin/entries/create-or-update-entry-input-base.mjs +32 -0
  38. package/esm2022/lib/components/admin/entries/create.component.mjs +110 -0
  39. package/esm2022/lib/components/admin/entries/edit.component.mjs +110 -0
  40. package/esm2022/lib/components/admin/entries/entries.component.mjs +199 -0
  41. package/esm2022/lib/components/admin/entries/index.mjs +5 -0
  42. package/esm2022/lib/components/admin/fields/create-field.component.mjs +80 -0
  43. package/esm2022/lib/components/admin/fields/create-or-edit-field.component.mjs +114 -0
  44. package/esm2022/lib/components/admin/fields/create-or-update-field-input-base.mjs +25 -0
  45. package/esm2022/lib/components/admin/fields/edit-field.component.mjs +103 -0
  46. package/esm2022/lib/components/admin/fields/field-group.component.mjs +131 -0
  47. package/esm2022/lib/components/admin/fields/fields.component.mjs +108 -0
  48. package/esm2022/lib/components/admin/fields/index.mjs +7 -0
  49. package/esm2022/lib/components/admin/index.mjs +4 -0
  50. package/esm2022/lib/components/admin/sections/create-or-update-sections-input-base.mjs +27 -0
  51. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.mjs +71 -0
  52. package/esm2022/lib/components/admin/sections/entry-types/create-or-edit.component.mjs +389 -0
  53. package/esm2022/lib/components/admin/sections/entry-types/index.mjs +3 -0
  54. package/esm2022/lib/components/admin/sections/index.mjs +4 -0
  55. package/esm2022/lib/components/admin/sections/sections.component.mjs +292 -0
  56. package/esm2022/lib/components/dynamic-form/entry/entry-config.component.mjs +112 -0
  57. package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +18 -0
  58. package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +105 -0
  59. package/esm2022/lib/components/dynamic-form/entry/index.mjs +4 -0
  60. package/esm2022/lib/components/dynamic-form/form-control-group.mjs +28 -0
  61. package/esm2022/lib/components/dynamic-form/index.mjs +5 -0
  62. package/esm2022/lib/components/dynamic-form/matrix/index.mjs +4 -0
  63. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.component.mjs +214 -0
  64. package/esm2022/lib/components/dynamic-form/matrix/matrix-config.mjs +50 -0
  65. package/esm2022/lib/components/dynamic-form/matrix/matrix-control.component.mjs +98 -0
  66. package/esm2022/lib/components/dynamic-form/table/index.mjs +4 -0
  67. package/esm2022/lib/components/dynamic-form/table/table-config.component.mjs +151 -0
  68. package/esm2022/lib/components/dynamic-form/table/table-config.mjs +38 -0
  69. package/esm2022/lib/components/dynamic-form/table/table-control.component.mjs +105 -0
  70. package/esm2022/lib/components/index.mjs +3 -0
  71. package/esm2022/lib/constants/styles.mjs +21 -0
  72. package/esm2022/lib/enums/ecms-component.mjs +13 -0
  73. package/esm2022/lib/enums/index.mjs +2 -0
  74. package/esm2022/lib/proxy/admin/dynamic-forms/form-admin.service.mjs +22 -0
  75. package/esm2022/lib/proxy/admin/dynamic-forms/index.mjs +3 -0
  76. package/esm2022/lib/proxy/admin/dynamic-forms/models.mjs +2 -0
  77. package/esm2022/lib/proxy/admin/entries/entry-admin.service.mjs +70 -0
  78. package/esm2022/lib/proxy/admin/entries/index.mjs +3 -0
  79. package/esm2022/lib/proxy/admin/entries/models.mjs +2 -0
  80. package/esm2022/lib/proxy/admin/fields/field-admin.service.mjs +45 -0
  81. package/esm2022/lib/proxy/admin/fields/field-group-admin.service.mjs +41 -0
  82. package/esm2022/lib/proxy/admin/fields/index.mjs +4 -0
  83. package/esm2022/lib/proxy/admin/fields/models.mjs +2 -0
  84. package/esm2022/lib/proxy/admin/sections/entry-type-admin.service.mjs +41 -0
  85. package/esm2022/lib/proxy/admin/sections/index.mjs +4 -0
  86. package/esm2022/lib/proxy/admin/sections/models.mjs +2 -0
  87. package/esm2022/lib/proxy/admin/sections/section-admin.service.mjs +51 -0
  88. package/esm2022/lib/proxy/admin/settings/index.mjs +2 -0
  89. package/esm2022/lib/proxy/admin/settings/site-settings-admin.service.mjs +31 -0
  90. package/esm2022/lib/proxy/dignite/abp/data/models.mjs +2 -0
  91. package/esm2022/lib/proxy/entries/entry-status.enum.mjs +8 -0
  92. package/esm2022/lib/proxy/entries/index.mjs +2 -0
  93. package/esm2022/lib/proxy/fields/models.mjs +2 -0
  94. package/esm2022/lib/proxy/sections/index.mjs +3 -0
  95. package/esm2022/lib/proxy/sections/models.mjs +2 -0
  96. package/esm2022/lib/proxy/sections/section-type.enum.mjs +9 -0
  97. package/esm2022/lib/proxy/settings/models.mjs +2 -0
  98. package/esm2022/lib/proxy/volo/cms-kit/users/models.mjs +2 -0
  99. package/esm2022/lib/resolvers/extensions-props-action-token.resolver.mjs +136 -0
  100. package/esm2022/lib/resolvers/page-default-toolbar-actions.mjs +160 -0
  101. package/esm2022/lib/resolvers/table-default-entity-actions.mjs +49 -0
  102. package/esm2022/lib/resolvers/table-default-entity-props.mjs +54 -0
  103. package/esm2022/lib/services/appent-content.mjs +15 -0
  104. package/esm2022/lib/services/cms-api.service.mjs +70 -0
  105. package/esm2022/lib/services/cms.service.mjs +21 -0
  106. package/esm2022/lib/services/field-abstracts.service.mjs +42 -0
  107. package/esm2022/lib/services/index.mjs +4 -0
  108. package/esm2022/lib/services/validators.service.mjs +83 -0
  109. package/esm2022/public-api.mjs +6 -0
  110. package/fesm2022/dignite-ng-expand.cms-config.mjs +426 -0
  111. package/fesm2022/dignite-ng-expand.cms-config.mjs.map +1 -0
  112. package/fesm2022/dignite-ng-expand.cms.mjs +3932 -0
  113. package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -0
  114. package/index.d.ts +5 -0
  115. package/lib/cms-routing.module.d.ts +7 -0
  116. package/lib/cms.module.d.ts +35 -0
  117. package/lib/components/admin/entries/create-or-edit-entries.component.d.ts +96 -0
  118. package/lib/components/admin/entries/create-or-update-entry-input-base.d.ts +23 -0
  119. package/lib/components/admin/entries/create.component.d.ts +47 -0
  120. package/lib/components/admin/entries/edit.component.d.ts +47 -0
  121. package/lib/components/admin/entries/entries.component.d.ts +66 -0
  122. package/lib/components/admin/entries/index.d.ts +4 -0
  123. package/lib/components/admin/fields/create-field.component.d.ts +37 -0
  124. package/lib/components/admin/fields/create-or-edit-field.component.d.ts +38 -0
  125. package/lib/components/admin/fields/create-or-update-field-input-base.d.ts +16 -0
  126. package/lib/components/admin/fields/edit-field.component.d.ts +46 -0
  127. package/lib/components/admin/fields/field-group.component.d.ts +58 -0
  128. package/lib/components/admin/fields/fields.component.d.ts +35 -0
  129. package/lib/components/admin/fields/index.d.ts +6 -0
  130. package/lib/components/admin/index.d.ts +3 -0
  131. package/lib/components/admin/sections/create-or-update-sections-input-base.d.ts +17 -0
  132. package/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.d.ts +38 -0
  133. package/lib/components/admin/sections/entry-types/create-or-edit.component.d.ts +138 -0
  134. package/lib/components/admin/sections/entry-types/index.d.ts +2 -0
  135. package/lib/components/admin/sections/index.d.ts +3 -0
  136. package/lib/components/admin/sections/sections.component.d.ts +64 -0
  137. package/lib/components/dynamic-form/entry/entry-config.component.d.ts +39 -0
  138. package/lib/components/dynamic-form/entry/entry-config.d.ts +9 -0
  139. package/lib/components/dynamic-form/entry/entry-control.component.d.ts +35 -0
  140. package/lib/components/dynamic-form/entry/index.d.ts +3 -0
  141. package/lib/components/dynamic-form/form-control-group.d.ts +4 -0
  142. package/lib/components/dynamic-form/index.d.ts +4 -0
  143. package/lib/components/dynamic-form/matrix/index.d.ts +3 -0
  144. package/lib/components/dynamic-form/matrix/matrix-config.component.d.ts +73 -0
  145. package/lib/components/dynamic-form/matrix/matrix-config.d.ts +24 -0
  146. package/lib/components/dynamic-form/matrix/matrix-control.component.d.ts +39 -0
  147. package/lib/components/dynamic-form/table/index.d.ts +3 -0
  148. package/lib/components/dynamic-form/table/table-config.component.d.ts +58 -0
  149. package/lib/components/dynamic-form/table/table-config.d.ts +18 -0
  150. package/lib/components/dynamic-form/table/table-control.component.d.ts +39 -0
  151. package/lib/components/index.d.ts +2 -0
  152. package/lib/constants/styles.d.ts +2 -0
  153. package/lib/enums/ecms-component.d.ts +11 -0
  154. package/lib/enums/index.d.ts +1 -0
  155. package/lib/proxy/admin/dynamic-forms/form-admin.service.d.ts +12 -0
  156. package/lib/proxy/admin/dynamic-forms/models.d.ts +4 -0
  157. package/lib/proxy/admin/entries/entry-admin.service.d.ts +22 -0
  158. package/lib/proxy/admin/entries/models.d.ts +60 -0
  159. package/lib/proxy/admin/fields/field-admin.service.d.ts +17 -0
  160. package/lib/proxy/admin/fields/field-group-admin.service.d.ts +16 -0
  161. package/{src/lib/proxy/admin/fields/models.ts → lib/proxy/admin/fields/models.d.ts} +34 -42
  162. package/lib/proxy/admin/sections/entry-type-admin.service.d.ts +15 -0
  163. package/{src/lib/proxy/admin/sections/models.ts → lib/proxy/admin/sections/models.d.ts} +67 -81
  164. package/lib/proxy/admin/sections/section-admin.service.d.ts +18 -0
  165. package/lib/proxy/admin/settings/site-settings-admin.service.d.ts +13 -0
  166. package/lib/proxy/dignite/abp/data/models.d.ts +3 -0
  167. package/lib/proxy/entries/entry-status.enum.d.ts +5 -0
  168. package/lib/proxy/fields/models.d.ts +8 -0
  169. package/lib/proxy/sections/models.d.ts +12 -0
  170. package/lib/proxy/sections/section-type.enum.d.ts +6 -0
  171. package/lib/proxy/settings/models.d.ts +5 -0
  172. package/{src/lib/proxy/volo/cms-kit/users/models.ts → lib/proxy/volo/cms-kit/users/models.d.ts} +7 -8
  173. package/lib/resolvers/extensions-props-action-token.resolver.d.ts +75 -0
  174. package/lib/resolvers/page-default-toolbar-actions.d.ts +18 -0
  175. package/lib/resolvers/table-default-entity-actions.d.ts +5 -0
  176. package/lib/resolvers/table-default-entity-props.d.ts +5 -0
  177. package/lib/services/appent-content.d.ts +1 -0
  178. package/lib/services/cms-api.service.d.ts +16 -0
  179. package/lib/services/cms.service.d.ts +10 -0
  180. package/lib/services/field-abstracts.service.d.ts +20 -0
  181. package/lib/services/index.d.ts +3 -0
  182. package/lib/services/validators.service.d.ts +15 -0
  183. package/package.json +22 -7
  184. package/{src/public-api.ts → public-api.d.ts} +2 -6
  185. package/config/ng-package.json +0 -6
  186. package/config/src/cms-config.module.ts +0 -12
  187. package/config/src/components/domains/domains.component.html +0 -17
  188. package/config/src/components/domains/domains.component.scss +0 -0
  189. package/config/src/components/domains/domains.component.spec.ts +0 -21
  190. package/config/src/components/domains/domains.component.ts +0 -109
  191. package/config/src/components/site-language/site-language.component.html +0 -31
  192. package/config/src/components/site-language/site-language.component.scss +0 -0
  193. package/config/src/components/site-language/site-language.component.spec.ts +0 -21
  194. package/config/src/components/site-language/site-language.component.ts +0 -117
  195. package/config/src/enums/route-names.ts +0 -8
  196. package/config/src/providers/route.provider.ts +0 -82
  197. package/config/src/proxy/admin/domains/domain-admin.service.ts +0 -38
  198. package/config/src/proxy/admin/domains/models.ts +0 -9
  199. package/config/src/proxy/dignite/abp/data/index.ts +0 -1
  200. package/config/src/proxy/dignite/abp/data/models.ts +0 -4
  201. package/config/src/proxy/dignite/abp/index.ts +0 -2
  202. package/config/src/proxy/dignite/cms/admin/domains/domain-admin.service.ts +0 -47
  203. package/config/src/proxy/dignite/cms/admin/domains/index.ts +0 -2
  204. package/config/src/proxy/dignite/cms/admin/dynamic-forms/form-admin.service.ts +0 -21
  205. package/config/src/proxy/dignite/cms/admin/dynamic-forms/models.ts +0 -5
  206. package/config/src/proxy/dignite/cms/admin/entries/entry-admin.service.ts +0 -109
  207. package/config/src/proxy/dignite/cms/admin/entries/models.ts +0 -68
  208. package/config/src/proxy/dignite/cms/admin/fields/field-admin.service.ts +0 -64
  209. package/config/src/proxy/dignite/cms/admin/fields/field-group-admin.service.ts +0 -56
  210. package/config/src/proxy/dignite/cms/admin/fields/models.ts +0 -42
  211. package/config/src/proxy/dignite/cms/admin/index.ts +0 -7
  212. package/config/src/proxy/dignite/cms/admin/sections/entry-type-admin.service.ts +0 -55
  213. package/config/src/proxy/dignite/cms/admin/sections/models.ts +0 -81
  214. package/config/src/proxy/dignite/cms/admin/sections/section-admin.service.ts +0 -74
  215. package/config/src/proxy/dignite/cms/admin/sites/models.ts +0 -5
  216. package/config/src/proxy/dignite/cms/admin/sites/site-admin.service.ts +0 -30
  217. package/config/src/proxy/dignite/cms/entries/entry-status.enum.ts +0 -8
  218. package/config/src/proxy/dignite/cms/fields/index.ts +0 -1
  219. package/config/src/proxy/dignite/cms/fields/models.ts +0 -9
  220. package/config/src/proxy/dignite/cms/index.ts +0 -6
  221. package/config/src/proxy/dignite/cms/sections/models.ts +0 -14
  222. package/config/src/proxy/dignite/cms/sections/section-type.enum.ts +0 -9
  223. package/config/src/proxy/dignite/cms/sites/index.ts +0 -1
  224. package/config/src/proxy/dignite/cms/sites/models.ts +0 -5
  225. package/config/src/proxy/dignite/cms-kit/admin/brand/brand-admin.service.ts +0 -21
  226. package/config/src/proxy/dignite/cms-kit/admin/brand/index.ts +0 -2
  227. package/config/src/proxy/dignite/cms-kit/admin/brand/models.ts +0 -7
  228. package/config/src/proxy/dignite/cms-kit/admin/index.ts +0 -2
  229. package/config/src/proxy/dignite/cms-kit/brand/brand.service.ts +0 -20
  230. package/config/src/proxy/dignite/cms-kit/brand/index.ts +0 -2
  231. package/config/src/proxy/dignite/cms-kit/brand/models.ts +0 -7
  232. package/config/src/proxy/dignite/cms-kit/index.ts +0 -3
  233. package/config/src/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
  234. package/config/src/proxy/dignite/file-explorer/directories/index.ts +0 -2
  235. package/config/src/proxy/dignite/file-explorer/directories/models.ts +0 -35
  236. package/config/src/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -101
  237. package/config/src/proxy/dignite/file-explorer/files/index.ts +0 -2
  238. package/config/src/proxy/dignite/file-explorer/files/models.ts +0 -61
  239. package/config/src/proxy/dignite/file-explorer/index.ts +0 -3
  240. package/config/src/proxy/dignite/index.ts +0 -6
  241. package/config/src/proxy/dignite/travely/areas/index.ts +0 -1
  242. package/config/src/proxy/dignite/travely/areas/models.ts +0 -5
  243. package/config/src/proxy/dignite/travely/common/index.ts +0 -1
  244. package/config/src/proxy/dignite/travely/common/models.ts +0 -5
  245. package/config/src/proxy/dignite/travely/entity-snapshots/index.ts +0 -1
  246. package/config/src/proxy/dignite/travely/entity-snapshots/models.ts +0 -7
  247. package/config/src/proxy/dignite/travely/guides/index.ts +0 -1
  248. package/config/src/proxy/dignite/travely/guides/models.ts +0 -26
  249. package/config/src/proxy/dignite/travely/index.ts +0 -9
  250. package/config/src/proxy/dignite/travely/merchants/index.ts +0 -1
  251. package/config/src/proxy/dignite/travely/merchants/models.ts +0 -9
  252. package/config/src/proxy/dignite/travely/orders/index.ts +0 -1
  253. package/config/src/proxy/dignite/travely/orders/models.ts +0 -52
  254. package/config/src/proxy/dignite/travely/payment/index.ts +0 -1
  255. package/config/src/proxy/dignite/travely/payment/models.ts +0 -9
  256. package/config/src/proxy/dignite/travely/tours/booking-time-type.enum.ts +0 -9
  257. package/config/src/proxy/dignite/travely/tours/index.ts +0 -5
  258. package/config/src/proxy/dignite/travely/tours/models.ts +0 -77
  259. package/config/src/proxy/dignite/travely/tours/period-type.enum.ts +0 -9
  260. package/config/src/proxy/dignite/travely/tours/tour-recommendation-rank.enum.ts +0 -12
  261. package/config/src/proxy/dignite/travely/tours/tourist-type.enum.ts +0 -8
  262. package/config/src/proxy/microsoft/asp-net-core/index.ts +0 -2
  263. package/config/src/proxy/microsoft/asp-net-core/mvc/index.ts +0 -1
  264. package/config/src/proxy/microsoft/asp-net-core/mvc/models.ts +0 -12
  265. package/config/src/proxy/microsoft/extensions/index.ts +0 -2
  266. package/config/src/proxy/microsoft/extensions/primitives/index.ts +0 -1
  267. package/config/src/proxy/microsoft/extensions/primitives/models.ts +0 -9
  268. package/config/src/proxy/microsoft/index.ts +0 -4
  269. package/config/src/proxy/microsoft/net/http/headers/index.ts +0 -1
  270. package/config/src/proxy/microsoft/net/http/headers/models.ts +0 -7
  271. package/config/src/proxy/microsoft/net/http/index.ts +0 -2
  272. package/config/src/proxy/microsoft/net/index.ts +0 -2
  273. package/config/src/services/validators.service.ts +0 -80
  274. package/ng-package.json +0 -10
  275. package/src/lib/cms-routing.module.ts +0 -102
  276. package/src/lib/cms.module.ts +0 -109
  277. package/src/lib/components/admin/entries/create-or-edit-entries.component.html +0 -137
  278. package/src/lib/components/admin/entries/create-or-edit-entries.component.scss +0 -1
  279. package/src/lib/components/admin/entries/create-or-edit-entries.component.spec.ts +0 -21
  280. package/src/lib/components/admin/entries/create-or-edit-entries.component.ts +0 -318
  281. package/src/lib/components/admin/entries/create-or-update-entry-input-base.ts +0 -33
  282. package/src/lib/components/admin/entries/create.component.html +0 -13
  283. package/src/lib/components/admin/entries/create.component.scss +0 -1
  284. package/src/lib/components/admin/entries/create.component.spec.ts +0 -21
  285. package/src/lib/components/admin/entries/create.component.ts +0 -110
  286. package/src/lib/components/admin/entries/edit.component.html +0 -9
  287. package/src/lib/components/admin/entries/edit.component.scss +0 -1
  288. package/src/lib/components/admin/entries/edit.component.spec.ts +0 -21
  289. package/src/lib/components/admin/entries/edit.component.ts +0 -111
  290. package/src/lib/components/admin/entries/entries.component.html +0 -112
  291. package/src/lib/components/admin/entries/entries.component.scss +0 -1
  292. package/src/lib/components/admin/entries/entries.component.spec.ts +0 -21
  293. package/src/lib/components/admin/entries/entries.component.ts +0 -216
  294. package/src/lib/components/admin/entries/index.ts +0 -4
  295. package/src/lib/components/admin/fields/create-field.component.html +0 -12
  296. package/src/lib/components/admin/fields/create-field.component.scss +0 -1
  297. package/src/lib/components/admin/fields/create-field.component.spec.ts +0 -21
  298. package/src/lib/components/admin/fields/create-field.component.ts +0 -82
  299. package/src/lib/components/admin/fields/create-or-edit-field.component.html +0 -40
  300. package/src/lib/components/admin/fields/create-or-edit-field.component.scss +0 -0
  301. package/src/lib/components/admin/fields/create-or-edit-field.component.spec.ts +0 -21
  302. package/src/lib/components/admin/fields/create-or-edit-field.component.ts +0 -121
  303. package/src/lib/components/admin/fields/create-or-update-field-input-base.ts +0 -33
  304. package/src/lib/components/admin/fields/edit-field.component.html +0 -16
  305. package/src/lib/components/admin/fields/edit-field.component.scss +0 -0
  306. package/src/lib/components/admin/fields/edit-field.component.spec.ts +0 -21
  307. package/src/lib/components/admin/fields/edit-field.component.ts +0 -101
  308. package/src/lib/components/admin/fields/field-group.component.html +0 -69
  309. package/src/lib/components/admin/fields/field-group.component.scss +0 -0
  310. package/src/lib/components/admin/fields/field-group.component.spec.ts +0 -21
  311. package/src/lib/components/admin/fields/field-group.component.ts +0 -151
  312. package/src/lib/components/admin/fields/fields.component.html +0 -74
  313. package/src/lib/components/admin/fields/fields.component.scss +0 -1
  314. package/src/lib/components/admin/fields/fields.component.spec.ts +0 -21
  315. package/src/lib/components/admin/fields/fields.component.ts +0 -109
  316. package/src/lib/components/admin/fields/index.ts +0 -6
  317. package/src/lib/components/admin/index.ts +0 -3
  318. package/src/lib/components/admin/sections/create-or-update-sections-input-base.ts +0 -32
  319. package/src/lib/components/admin/sections/entry-types/create-or-edit.-entry-type-input-base.ts +0 -79
  320. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.html +0 -187
  321. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.scss +0 -1
  322. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.spec.ts +0 -21
  323. package/src/lib/components/admin/sections/entry-types/create-or-edit.component.ts +0 -424
  324. package/src/lib/components/admin/sections/entry-types/index.ts +0 -2
  325. package/src/lib/components/admin/sections/index.ts +0 -3
  326. package/src/lib/components/admin/sections/sections.component.html +0 -188
  327. package/src/lib/components/admin/sections/sections.component.scss +0 -1
  328. package/src/lib/components/admin/sections/sections.component.spec.ts +0 -21
  329. package/src/lib/components/admin/sections/sections.component.ts +0 -302
  330. package/src/lib/components/dynamic-form/entry/entry-config.component.html +0 -36
  331. package/src/lib/components/dynamic-form/entry/entry-config.component.scss +0 -27
  332. package/src/lib/components/dynamic-form/entry/entry-config.component.spec.ts +0 -21
  333. package/src/lib/components/dynamic-form/entry/entry-config.component.ts +0 -114
  334. package/src/lib/components/dynamic-form/entry/entry-config.ts +0 -24
  335. package/src/lib/components/dynamic-form/entry/entry-control.component.html +0 -26
  336. package/src/lib/components/dynamic-form/entry/entry-control.component.scss +0 -1
  337. package/src/lib/components/dynamic-form/entry/entry-control.component.spec.ts +0 -21
  338. package/src/lib/components/dynamic-form/entry/entry-control.component.ts +0 -111
  339. package/src/lib/components/dynamic-form/entry/index.ts +0 -3
  340. package/src/lib/components/dynamic-form/form-control-group.ts +0 -27
  341. package/src/lib/components/dynamic-form/index.ts +0 -4
  342. package/src/lib/components/dynamic-form/matrix/index.ts +0 -3
  343. package/src/lib/components/dynamic-form/matrix/matrix-config.component.html +0 -148
  344. package/src/lib/components/dynamic-form/matrix/matrix-config.component.scss +0 -0
  345. package/src/lib/components/dynamic-form/matrix/matrix-config.component.spec.ts +0 -21
  346. package/src/lib/components/dynamic-form/matrix/matrix-config.component.ts +0 -239
  347. package/src/lib/components/dynamic-form/matrix/matrix-config.ts +0 -63
  348. package/src/lib/components/dynamic-form/matrix/matrix-control.component.html +0 -42
  349. package/src/lib/components/dynamic-form/matrix/matrix-control.component.scss +0 -0
  350. package/src/lib/components/dynamic-form/matrix/matrix-control.component.spec.ts +0 -21
  351. package/src/lib/components/dynamic-form/matrix/matrix-control.component.ts +0 -106
  352. package/src/lib/components/dynamic-form/table/index.ts +0 -3
  353. package/src/lib/components/dynamic-form/table/table-config.component.html +0 -85
  354. package/src/lib/components/dynamic-form/table/table-config.component.scss +0 -10
  355. package/src/lib/components/dynamic-form/table/table-config.component.spec.ts +0 -21
  356. package/src/lib/components/dynamic-form/table/table-config.component.ts +0 -170
  357. package/src/lib/components/dynamic-form/table/table-config.ts +0 -45
  358. package/src/lib/components/dynamic-form/table/table-control.component.html +0 -54
  359. package/src/lib/components/dynamic-form/table/table-control.component.scss +0 -1
  360. package/src/lib/components/dynamic-form/table/table-control.component.spec.ts +0 -21
  361. package/src/lib/components/dynamic-form/table/table-control.component.ts +0 -114
  362. package/src/lib/components/index.ts +0 -2
  363. package/src/lib/constants/index.ts +0 -1
  364. package/src/lib/constants/styles.ts +0 -20
  365. package/src/lib/enums/ecms-component.ts +0 -11
  366. package/src/lib/enums/index.ts +0 -1
  367. package/src/lib/proxy/README.md +0 -17
  368. package/src/lib/proxy/admin/domains/domain-admin.service.ts +0 -38
  369. package/src/lib/proxy/admin/domains/index.ts +0 -2
  370. package/src/lib/proxy/admin/domains/models.ts +0 -9
  371. package/src/lib/proxy/admin/dynamic-forms/form-admin.service.ts +0 -21
  372. package/src/lib/proxy/admin/dynamic-forms/index.ts +0 -2
  373. package/src/lib/proxy/admin/dynamic-forms/models.ts +0 -5
  374. package/src/lib/proxy/admin/entries/entry-admin.service.ts +0 -109
  375. package/src/lib/proxy/admin/entries/index.ts +0 -2
  376. package/src/lib/proxy/admin/entries/models.ts +0 -68
  377. package/src/lib/proxy/admin/fields/field-admin.service.ts +0 -64
  378. package/src/lib/proxy/admin/fields/field-group-admin.service.ts +0 -56
  379. package/src/lib/proxy/admin/fields/index.ts +0 -3
  380. package/src/lib/proxy/admin/index.ts +0 -7
  381. package/src/lib/proxy/admin/sections/entry-type-admin.service.ts +0 -55
  382. package/src/lib/proxy/admin/sections/index.ts +0 -3
  383. package/src/lib/proxy/admin/sections/section-admin.service.ts +0 -74
  384. package/src/lib/proxy/admin/settings/site-settings-admin.service.ts +0 -37
  385. package/src/lib/proxy/dignite/abp/data/index.ts +0 -1
  386. package/src/lib/proxy/dignite/abp/data/models.ts +0 -4
  387. package/src/lib/proxy/dignite/abp/index.ts +0 -2
  388. package/src/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.ts +0 -65
  389. package/src/lib/proxy/dignite/file-explorer/directories/index.ts +0 -2
  390. package/src/lib/proxy/dignite/file-explorer/directories/models.ts +0 -35
  391. package/src/lib/proxy/dignite/file-explorer/files/file-descriptor.service.ts +0 -86
  392. package/src/lib/proxy/dignite/file-explorer/files/index.ts +0 -2
  393. package/src/lib/proxy/dignite/file-explorer/files/models.ts +0 -58
  394. package/src/lib/proxy/dignite/file-explorer/index.ts +0 -3
  395. package/src/lib/proxy/dignite/index.ts +0 -3
  396. package/src/lib/proxy/entries/entry-status.enum.ts +0 -8
  397. package/src/lib/proxy/entries/index.ts +0 -1
  398. package/src/lib/proxy/fields/index.ts +0 -1
  399. package/src/lib/proxy/fields/models.ts +0 -9
  400. package/src/lib/proxy/generate-proxy.json +0 -11425
  401. package/src/lib/proxy/index.ts +0 -9
  402. package/src/lib/proxy/microsoft/asp-net-core/index.ts +0 -2
  403. package/src/lib/proxy/microsoft/asp-net-core/mvc/index.ts +0 -1
  404. package/src/lib/proxy/microsoft/asp-net-core/mvc/models.ts +0 -12
  405. package/src/lib/proxy/microsoft/extensions/index.ts +0 -2
  406. package/src/lib/proxy/microsoft/extensions/primitives/index.ts +0 -1
  407. package/src/lib/proxy/microsoft/extensions/primitives/models.ts +0 -9
  408. package/src/lib/proxy/microsoft/index.ts +0 -4
  409. package/src/lib/proxy/microsoft/net/http/headers/index.ts +0 -1
  410. package/src/lib/proxy/microsoft/net/http/headers/models.ts +0 -7
  411. package/src/lib/proxy/microsoft/net/http/index.ts +0 -2
  412. package/src/lib/proxy/microsoft/net/index.ts +0 -2
  413. package/src/lib/proxy/sections/index.ts +0 -2
  414. package/src/lib/proxy/sections/models.ts +0 -14
  415. package/src/lib/proxy/sections/section-type.enum.ts +0 -9
  416. package/src/lib/proxy/settings/index.ts +0 -1
  417. package/src/lib/proxy/settings/models.ts +0 -6
  418. package/src/lib/proxy/volo/abp/content/index.ts +0 -1
  419. package/src/lib/proxy/volo/abp/content/models.ts +0 -6
  420. package/src/lib/proxy/volo/abp/index.ts +0 -2
  421. package/src/lib/proxy/volo/cms-kit/index.ts +0 -2
  422. package/src/lib/proxy/volo/cms-kit/users/index.ts +0 -1
  423. package/src/lib/proxy/volo/index.ts +0 -3
  424. package/src/lib/resolvers/extensions-props-action-token.resolver.ts +0 -178
  425. package/src/lib/resolvers/page-default-toolbar-actions.ts +0 -170
  426. package/src/lib/resolvers/table-default-entity-actions.ts +0 -24
  427. package/src/lib/resolvers/table-default-entity-props.ts +0 -36
  428. package/src/lib/services/appent-content.ts +0 -13
  429. package/src/lib/services/cms-api.service.ts +0 -71
  430. package/src/lib/services/cms.service.ts +0 -18
  431. package/src/lib/services/field-abstracts.service.ts +0 -40
  432. package/src/lib/services/index.ts +0 -4
  433. package/src/lib/services/simple-reuse-strategy.ts +0 -74
  434. package/src/lib/services/update-list.service.ts +0 -15
  435. package/src/lib/services/validators.service.ts +0 -82
  436. package/src/test.ts +0 -26
  437. package/tsconfig.lib.json +0 -16
  438. package/tsconfig.lib.prod.json +0 -10
  439. package/tsconfig.spec.json +0 -17
  440. /package/config/{src/proxy/admin/domains/index.ts → proxy/admin/domains/index.d.ts} +0 -0
  441. /package/config/{src/proxy/dignite/cms/admin/sites/index.ts → proxy/dignite/cms/admin/sites/index.d.ts} +0 -0
  442. /package/{config/src/proxy/dignite/cms/admin/dynamic-forms/index.ts → lib/proxy/admin/dynamic-forms/index.d.ts} +0 -0
  443. /package/{config/src/proxy/dignite/cms/admin/entries/index.ts → lib/proxy/admin/entries/index.d.ts} +0 -0
  444. /package/{config/src/proxy/dignite/cms/admin/fields/index.ts → lib/proxy/admin/fields/index.d.ts} +0 -0
  445. /package/{config/src/proxy/dignite/cms/admin/sections/index.ts → lib/proxy/admin/sections/index.d.ts} +0 -0
  446. /package/{src/lib/proxy/admin/settings/index.ts → lib/proxy/admin/settings/index.d.ts} +0 -0
  447. /package/{config/src/proxy/dignite/cms/entries/index.ts → lib/proxy/entries/index.d.ts} +0 -0
  448. /package/{config/src/proxy/dignite/cms/sections/index.ts → lib/proxy/sections/index.d.ts} +0 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dignite-ng/expand.cms" />
5
+ export * from './public-api';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class CmsRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmsRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CmsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CmsRoutingModule>;
7
+ }
@@ -0,0 +1,35 @@
1
+ import { NgModuleFactory, ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/admin/entries/entries.component";
4
+ import * as i2 from "./components/admin/fields/fields.component";
5
+ import * as i3 from "./components/admin/sections/sections.component";
6
+ import * as i4 from "./components/admin/fields/field-group.component";
7
+ import * as i5 from "./components/admin/fields/create-field.component";
8
+ import * as i6 from "./components/admin/fields/edit-field.component";
9
+ import * as i7 from "./components/admin/fields/create-or-edit-field.component";
10
+ import * as i8 from "./components/admin/sections/entry-types/create-or-edit.component";
11
+ import * as i9 from "./components/admin/entries/create.component";
12
+ import * as i10 from "./components/admin/entries/edit.component";
13
+ import * as i11 from "./components/admin/entries/create-or-edit-entries.component";
14
+ import * as i12 from "./components/dynamic-form/table/table-config.component";
15
+ import * as i13 from "./components/dynamic-form/table/table-control.component";
16
+ import * as i14 from "./components/dynamic-form/matrix/matrix-config.component";
17
+ import * as i15 from "./components/dynamic-form/matrix/matrix-control.component";
18
+ import * as i16 from "./components/dynamic-form/entry/entry-config.component";
19
+ import * as i17 from "./components/dynamic-form/entry/entry-control.component";
20
+ import * as i18 from "@abp/ng.core";
21
+ import * as i19 from "@abp/ng.theme.shared";
22
+ import * as i20 from "@angular/forms";
23
+ import * as i21 from "./cms-routing.module";
24
+ import * as i22 from "@ng-bootstrap/ng-bootstrap";
25
+ import * as i23 from "@abp/ng.components/page";
26
+ import * as i24 from "ng-zorro-antd/select";
27
+ import * as i25 from "@dignite-ng/expand.dynamic-form";
28
+ import * as i26 from "@abp/ng.components/extensible";
29
+ export declare class CmsModule {
30
+ static forChild(options?: any): ModuleWithProviders<CmsModule>;
31
+ static forLazy(options?: any): NgModuleFactory<CmsModule>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmsModule, never>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CmsModule, [typeof i1.EntriesComponent, typeof i2.FieldsComponent, typeof i3.SectionsComponent, typeof i4.FieldGroupComponent, typeof i5.CreateFieldComponent, typeof i6.EditFieldComponent, typeof i7.CreateOrEditFieldComponent, typeof i8.CreateOrEditComponent, typeof i9.CreateComponent, typeof i10.EditComponent, typeof i11.CreateOrEditEntriesComponent, typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent], [typeof i18.CoreModule, typeof i19.ThemeSharedModule, typeof i20.FormsModule, typeof i21.CmsRoutingModule, typeof i22.NgbNavModule, typeof i22.NgbAccordionModule, typeof i22.NgbDropdownModule, typeof i23.PageModule, typeof i24.NzSelectModule, typeof i25.DynamicFormModule, typeof i26.ExtensibleModule], [typeof i12.TableConfigComponent, typeof i13.TableControlComponent, typeof i14.MatrixConfigComponent, typeof i15.MatrixControlComponent, typeof i16.EntryConfigComponent, typeof i17.EntryControlComponent]>;
34
+ static ɵinj: i0.ɵɵInjectorDeclaration<CmsModule>;
35
+ }
@@ -0,0 +1,96 @@
1
+ import { ConfigStateService, LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { AfterContentInit, QueryList, ViewContainerRef } from '@angular/core';
4
+ import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
5
+ import { Router } from '@angular/router';
6
+ import { EntryAdminService } from '../../../proxy/admin/entries';
7
+ import { SectionAdminService } from '../../../proxy/admin/sections';
8
+ import { Observable } from 'rxjs';
9
+ import { DatePipe, Location } from '@angular/common';
10
+ import { CmsApiService } from '../../../services';
11
+ import * as i0 from "@angular/core";
12
+ export declare class CreateOrEditEntriesComponent implements AfterContentInit {
13
+ private toaster;
14
+ _location: Location;
15
+ private configState;
16
+ private _SectionAdminService;
17
+ private _EntryAdminService;
18
+ private datePipe;
19
+ private _LocalizationService;
20
+ private router;
21
+ private _CmsApiService;
22
+ constructor(toaster: ToasterService, _location: Location, configState: ConfigStateService, _SectionAdminService: SectionAdminService, _EntryAdminService: EntryAdminService, datePipe: DatePipe, _LocalizationService: LocalizationService, router: Router, _CmsApiService: CmsApiService);
23
+ /**语言 */
24
+ cultureName: string;
25
+ /**条目类型id */
26
+ entryTypeId: string;
27
+ /**新建版本的版本id,同条目id */
28
+ RevisionEntryId: any;
29
+ /**选择的条目项 */
30
+ entryTypesItem: any;
31
+ /**版块id */
32
+ sectionId: string;
33
+ /**版块详情 */
34
+ SectionSelect: any;
35
+ /**语言列表 */
36
+ languagesList: any[];
37
+ /**条目类型列表-用于选择上级条目 */
38
+ entryTypesList: any[];
39
+ /**版本列表 */
40
+ AllVersionsList: any[];
41
+ /**是否是编辑 */
42
+ isEdit: boolean;
43
+ /**来自父组件的传值 */
44
+ FromParentQueryParams: any;
45
+ set ParentQueryParams(v: any);
46
+ /**表单实体 */
47
+ _entity: FormGroup | undefined;
48
+ set entity(v: any);
49
+ /**指定id的条目信息 */
50
+ entrySelect: any;
51
+ set parentEntrySelect(v: any);
52
+ /**将对象中的ExtraProperties赋值到extraProperties */
53
+ convertExtraProperties(obj: any): any;
54
+ /**别名表单实体 */
55
+ get sluginput(): AbstractControl<any, any>;
56
+ /**语言表单实体 */
57
+ get cultureinput(): AbstractControl<any, any>;
58
+ /**语言表单实体影子 */
59
+ get culture_shadowInput(): AbstractControl<any, any>;
60
+ /**extraProperties配置表单实体 */
61
+ get extraProperties(): FormGroup;
62
+ ngAfterContentInit(): Promise<void>;
63
+ /**表单控件模板-动态表单配置组件 */
64
+ FormDynamicontrolRef: QueryList<ViewContainerRef>;
65
+ /**定义自定义异步验证 */
66
+ cultureAsyncValidator_test(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
67
+ /**
68
+ * 设置条目详情
69
+ * @param {object} source - 数据源对象
70
+ */
71
+ setEntryconfig(source: any): void;
72
+ time: number;
73
+ /**定义自定义异步验证 */
74
+ repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
75
+ private config;
76
+ /**获取版块详情 */
77
+ getSectionSelect(): Promise<unknown>;
78
+ /**获取条目类型下所有条目列表 */
79
+ getTypeEntryList(): Promise<unknown>;
80
+ /**对数组按照父子关系进行分组 */
81
+ groupByParentId(arr: any, id: string, layer: any): any[];
82
+ /**获取条目版本列表 */
83
+ getAllVersionsList(): Promise<unknown>;
84
+ /**标题转化别名 */
85
+ setTitleToSlugBlur(event: any): void;
86
+ /**使用Unicode编码范围判断是否是中文字符 */
87
+ isChinese(str: any): boolean;
88
+ /**激活 */
89
+ ActivatedVersion(VersionId: any): void;
90
+ /**编辑版本 */
91
+ toEditUrl(id: any): void;
92
+ /**删除版本 */
93
+ delectVersion(vid: any): void;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditEntriesComponent, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditEntriesComponent, "cms-create-or-edit-entries", never, { "isEdit": { "alias": "isEdit"; "required": false; }; "ParentQueryParams": { "alias": "ParentQueryParams"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "parentEntrySelect": { "alias": "parentEntrySelect"; "required": false; }; }, {}, never, never, false, never>;
96
+ }
@@ -0,0 +1,23 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ export declare class CreateOrUpdateEntryInputBase {
3
+ /**语言 */
4
+ culture: any;
5
+ /**条目id */
6
+ entryTypeId: any;
7
+ /**标题 */
8
+ title: any;
9
+ /**别名 */
10
+ slug: any;
11
+ /**是否是草稿 */
12
+ draft: any;
13
+ /**发布时间 */
14
+ publishTime: any;
15
+ /**上级目录 */
16
+ parentId: any;
17
+ /**修订说明 */
18
+ versionNotes: any;
19
+ /**版本 */
20
+ initialVersionId: any;
21
+ extraProperties: FormGroup | undefined;
22
+ constructor(data?: CreateOrUpdateEntryInputBase);
23
+ }
@@ -0,0 +1,47 @@
1
+ import { LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { Location } from '@angular/common';
4
+ import { OnInit, ElementRef } from '@angular/core';
5
+ import { FormGroup } from '@angular/forms';
6
+ import { ActivatedRoute } from '@angular/router';
7
+ import { EntryAdminService } from '../../../proxy/admin/entries';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CreateComponent implements OnInit {
10
+ private toaster;
11
+ _location: Location;
12
+ private route;
13
+ private _EntryAdminService;
14
+ private _LocalizationService;
15
+ constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService);
16
+ private fb;
17
+ private _updateListService;
18
+ /**表单实体 */
19
+ newEntity: FormGroup | undefined;
20
+ /**是否是草稿 */
21
+ draftType: boolean;
22
+ /**页面传值用于传递到子组件 */
23
+ queryParams: any;
24
+ /**指定id的条目信息 */
25
+ entrySelect: any;
26
+ /**获取提交按钮替身,用于真实触发表单提交 */
27
+ submitclick: ElementRef;
28
+ ngOnInit(): Promise<void>;
29
+ /**获取条目信息 */
30
+ getEntrySelect(): Promise<unknown>;
31
+ private _ValidatorsService;
32
+ /**表单验证状态
33
+ * {
34
+ * title:true,
35
+ * }
36
+ */
37
+ formValidation: any;
38
+ /**保存 */
39
+ save(draft: any): void;
40
+ isSubmit: boolean;
41
+ /**触发点击按钮替身 */
42
+ clickSubmit(type: any): void;
43
+ /**返回上一页 */
44
+ backTo(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateComponent, "cms-create", never, {}, {}, never, never, false, never>;
47
+ }
@@ -0,0 +1,47 @@
1
+ import { LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { Location } from '@angular/common';
4
+ import { OnInit, ElementRef } from '@angular/core';
5
+ import { FormGroup } from '@angular/forms';
6
+ import { ActivatedRoute } from '@angular/router';
7
+ import { EntryAdminService } from '../../../proxy/admin/entries';
8
+ import * as i0 from "@angular/core";
9
+ export declare class EditComponent implements OnInit {
10
+ private toaster;
11
+ _location: Location;
12
+ private route;
13
+ private _EntryAdminService;
14
+ private _LocalizationService;
15
+ constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _EntryAdminService: EntryAdminService, _LocalizationService: LocalizationService);
16
+ private fb;
17
+ private _updateListService;
18
+ /**表单实体 */
19
+ newEntity: FormGroup | undefined;
20
+ /**是否是草稿 */
21
+ draftType: boolean;
22
+ /**页面传值用于传递到子组件 */
23
+ queryParams: any;
24
+ /**指定id的条目信息 */
25
+ entrySelect: any;
26
+ /**获取提交按钮替身,用于真实触发表单提交 */
27
+ submitclick: ElementRef;
28
+ ngOnInit(): Promise<void>;
29
+ /**获取条目信息 */
30
+ getEntrySelect(): Promise<unknown>;
31
+ private _ValidatorsService;
32
+ /**表单验证状态
33
+ * {
34
+ * title:true,
35
+ * }
36
+ */
37
+ formValidation: any;
38
+ /**保存 */
39
+ save(draft: any): void;
40
+ isSubmit: boolean;
41
+ /**触发点击按钮替身 */
42
+ clickSubmit(type: any): void;
43
+ /**返回上一页 */
44
+ backTo(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditComponent, "cms-edit", never, {}, {}, never, never, false, never>;
47
+ }
@@ -0,0 +1,66 @@
1
+ import { ListService, ConfigStateService, LocalizationService, PagedResultDto, ABP } from "@abp/ng.core";
2
+ import { ToasterService, ConfirmationService } from "@abp/ng.theme.shared";
3
+ import { OnInit } from "@angular/core";
4
+ import { FormGroup } from "@angular/forms";
5
+ import { Router } from "@angular/router";
6
+ import { ColumnMode } from "@swimlane/ngx-datatable";
7
+ import { EntryAdminService, EntryDto, GetEntriesInput } from "../../../proxy/admin/entries";
8
+ import { SectionAdminService } from "../../../proxy/admin/sections";
9
+ import * as i0 from "@angular/core";
10
+ export declare class EntriesComponent implements OnInit {
11
+ private _EntryAdminService;
12
+ private _SectionAdminService;
13
+ private toaster;
14
+ private confirmation;
15
+ private configState;
16
+ private router;
17
+ private _LocalizationService;
18
+ constructor(_EntryAdminService: EntryAdminService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, configState: ConfigStateService, router: Router, _LocalizationService: LocalizationService);
19
+ private fb;
20
+ private _UpdateListService;
21
+ readonly list: ListService<any>;
22
+ ngOnInit(): void;
23
+ /**站点列表 */
24
+ /**选择的站点id */
25
+ /**站点下的版块 */
26
+ SiteOfSectionList: any[any];
27
+ /**版块下的语言列表 */
28
+ sectionLanguagesList: any[any];
29
+ /**版块下的条目类型列表 */
30
+ entryTypeList: any[any];
31
+ /**状态编码 */
32
+ _entryStatusOptions: ABP.Option<typeof import("../../../proxy/entries").EntryStatus>[];
33
+ /**获取页面数据 */
34
+ getPageDate(): Promise<void>;
35
+ /**切换板块 */
36
+ sectionIdChange(): Promise<void>;
37
+ /**切换语言 */
38
+ cultureChange(): Promise<void>;
39
+ /**获取站点下的版块 */
40
+ getSiteOfSectionList(): Promise<unknown>;
41
+ /**获取版块下的条目类型 */
42
+ getSectionOfEntryType(): void;
43
+ private config;
44
+ private _SiteSettingsAdminService;
45
+ /**获取版块下的语言列表 */
46
+ getSectionLanguagesList(): Promise<unknown>;
47
+ /**站点设置语言 */
48
+ SiteSettingsAdminLanguages: any[];
49
+ /**
50
+ * 获取站点设置语言
51
+ */
52
+ getSiteSettingsLanguages(): Promise<unknown>;
53
+ resetData(): void;
54
+ /**新增-单个 */
55
+ createEntriesBtn(): void;
56
+ /**列表相关 */
57
+ ColumnMode: typeof ColumnMode;
58
+ data: PagedResultDto<EntryDto>;
59
+ filters: GetEntriesInput;
60
+ filtersForm: FormGroup;
61
+ hookToQuery(): void;
62
+ /**删除条目 */
63
+ deletefield(row: any): void;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntriesComponent, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntriesComponent, "cms-entries", never, {}, {}, never, never, false, never>;
66
+ }
@@ -0,0 +1,4 @@
1
+ export * from './entries.component';
2
+ export * from './create.component';
3
+ export * from './edit.component';
4
+ export * from './create-or-edit-entries.component';
@@ -0,0 +1,37 @@
1
+ import { LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { Location } from '@angular/common';
4
+ import { ElementRef } from '@angular/core';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import { FieldAdminService } from '../../../proxy/admin/fields';
7
+ import { CmsApiService } from '../../../services';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CreateFieldComponent {
10
+ private fb;
11
+ _FieldAdminService: FieldAdminService;
12
+ private toaster;
13
+ _location: Location;
14
+ _LocalizationService: LocalizationService;
15
+ _CmsApiService: CmsApiService;
16
+ constructor(fb: FormBuilder, _FieldAdminService: FieldAdminService, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
17
+ private _UpdateListService;
18
+ /**表单实体 */
19
+ newEntity: FormGroup | undefined;
20
+ /**获取提交按钮替身,用于真实触发表单提交 */
21
+ submitclick: ElementRef;
22
+ ngOnInit(): void;
23
+ /**触发提交按钮 */
24
+ submitclickBtn(): void;
25
+ isSubmit: boolean;
26
+ private _ValidatorsService;
27
+ /**表单验证状态
28
+ * {
29
+ * title:true,
30
+ * }
31
+ */
32
+ formValidation: any;
33
+ /**保存表单 */
34
+ save(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateFieldComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateFieldComponent, "cms-create-field", never, {}, {}, never, never, false, never>;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { ElementRef, ViewContainerRef } from '@angular/core';
2
+ import { FieldAbstractsService } from '../../../services/field-abstracts.service';
3
+ import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
4
+ import { CmsApiService } from '../../../services/cms-api.service';
5
+ import { Observable } from 'rxjs';
6
+ import { FieldAdminService } from '../../../proxy/admin/fields';
7
+ import { LocalizationService } from '@abp/ng.core';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CreateOrEditFieldComponent {
10
+ _FieldAbstractsService: FieldAbstractsService;
11
+ private _CmsApiService;
12
+ private _FieldAdminService;
13
+ private _LocalizationService;
14
+ /**表单控件模板-动态表单配置组件 */
15
+ FormDynamicRef: ViewContainerRef;
16
+ /**获取提交按钮替身,用于真实触发表单提交 */
17
+ submitclick: ElementRef;
18
+ constructor(_FieldAbstractsService: FieldAbstractsService, _CmsApiService: CmsApiService, _FieldAdminService: FieldAdminService, _LocalizationService: LocalizationService);
19
+ /**表单实体 */
20
+ _Entity: FormGroup | undefined;
21
+ set Entity(v: FormGroup | undefined);
22
+ get formControlName(): AbstractControl<any, any>;
23
+ /**选择的表单信息 */
24
+ _selected_copy: any;
25
+ _selected: any;
26
+ set selected(v: any);
27
+ dataLoaded(): Promise<void>;
28
+ /**name表单控件 */
29
+ get nameInput(): AbstractControl<any, any>;
30
+ nameInputBlur(event: any): void;
31
+ /**字段标签input失去标点生成字段名字 */
32
+ disPlayNameInputBlur(event: any): void;
33
+ /**定义异步验证方法 */
34
+ repetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
35
+ formControlNameChange(event: any): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditFieldComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditFieldComponent, "cms-create-or-edit-field", never, { "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
38
+ }
@@ -0,0 +1,16 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ export declare class CreateOrUpdateFieldInputBase {
3
+ /**分组id */
4
+ groupId: any;
5
+ /**字段名称 Display name of this field */
6
+ displayName: any;
7
+ /**字段唯一名称 Unique Name*/
8
+ name: any;
9
+ /**描述 说明 */
10
+ description: any;
11
+ /**FieldType字段类型 表单控件名称 */
12
+ formControlName: any;
13
+ /**动态表单配置 */
14
+ formConfiguration: FormGroup | undefined;
15
+ constructor(data?: CreateOrUpdateFieldInputBase);
16
+ }
@@ -0,0 +1,46 @@
1
+ import { LocalizationService } from '@abp/ng.core';
2
+ import { ToasterService } from '@abp/ng.theme.shared';
3
+ import { Location } from '@angular/common';
4
+ import { OnInit, ElementRef } from '@angular/core';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import { ActivatedRoute } from '@angular/router';
7
+ import { FieldAdminService } from '../../../proxy/admin/fields';
8
+ import { FieldAbstractsService, CmsApiService } from '../../../services';
9
+ import * as i0 from "@angular/core";
10
+ export declare class EditFieldComponent implements OnInit {
11
+ private fb;
12
+ _FieldAbstractsService: FieldAbstractsService;
13
+ _FieldAdminService: FieldAdminService;
14
+ private route;
15
+ private toaster;
16
+ _location: Location;
17
+ _LocalizationService: LocalizationService;
18
+ _CmsApiService: CmsApiService;
19
+ constructor(fb: FormBuilder, _FieldAbstractsService: FieldAbstractsService, _FieldAdminService: FieldAdminService, route: ActivatedRoute, toaster: ToasterService, _location: Location, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
20
+ private _UpdateListService;
21
+ private _ValidatorsService;
22
+ /**表单实体 */
23
+ newEntity: FormGroup | undefined;
24
+ /**字段id */
25
+ fieldId: string;
26
+ /**字段详情 */
27
+ fieldDetails: any;
28
+ isSubmit: boolean;
29
+ /**表单验证状态
30
+ * {
31
+ * title:true,
32
+ * }
33
+ */
34
+ formValidation: any;
35
+ /**获取提交按钮替身,用于真实触发表单提交 */
36
+ submitclick: ElementRef;
37
+ ngOnInit(): Promise<void>;
38
+ /**获取字段详情 */
39
+ getFieldEdit(): Promise<unknown>;
40
+ /**触发提交按钮 */
41
+ submitclickBtn(): void;
42
+ /**保存表单 */
43
+ save(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditFieldComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditFieldComponent, "cms-edit-field", never, {}, {}, never, never, false, never>;
46
+ }
@@ -0,0 +1,58 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { FieldGroupAdminService } from '../../../proxy/admin/fields';
4
+ import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
5
+ import { FieldAbstractsService } from '../../../services/field-abstracts.service';
6
+ import { LocalizationService } from '@abp/ng.core';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FieldGroupComponent implements OnInit {
9
+ private fb;
10
+ private _FieldGroupAdminService;
11
+ private toaster;
12
+ private confirmation;
13
+ _FieldAbstractsService: FieldAbstractsService;
14
+ _LocalizationService: LocalizationService;
15
+ constructor(fb: FormBuilder, _FieldGroupAdminService: FieldGroupAdminService, toaster: ToasterService, confirmation: ConfirmationService, _FieldAbstractsService: FieldAbstractsService, _LocalizationService: LocalizationService);
16
+ /**创建分组表单 */
17
+ createForm: FormGroup | undefined;
18
+ /** 编辑分组表单*/
19
+ editGroupForm: FormGroup | undefined;
20
+ /**表单已存在的值 */
21
+ selected: any;
22
+ /**选择的字段分组id */
23
+ fieldGroupId: string | undefined;
24
+ /**创建分组模态框状态 */
25
+ createGroupOpen: boolean;
26
+ /**用于确定模态的繁忙状态是否为真 */
27
+ modalBusy: boolean;
28
+ /**编辑分组模态框状态 */
29
+ editGroupOpen: boolean;
30
+ /**点击分组回调 */
31
+ OnGroupClickBack: EventEmitter<any>;
32
+ ngOnInit(): void;
33
+ /**创建字段分组 */
34
+ createGroupBtn(): void;
35
+ /**创建分组模态框状态改变 */
36
+ createGroupVisibleChange(event: any): void;
37
+ /**编辑字段分组 */
38
+ editGroupBtn(itemName: string): void;
39
+ /**编辑分组模态框状态改变 */
40
+ editGroupVisibleChange(event: any): void;
41
+ private _ValidatorsService;
42
+ /**表单验证状态
43
+ * {
44
+ * title:true,
45
+ * }
46
+ */
47
+ formValidation: any;
48
+ /**创建字段分组保存 */
49
+ createSave(): void;
50
+ /**编辑字段分组保存 */
51
+ editSave(): void;
52
+ /**删除字段分组1 */
53
+ deleteGroupbtn(fieldGroupitem: any): void;
54
+ /**字段分组改变 */
55
+ fieldGroupChange(event: any): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldGroupComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldGroupComponent, "cms-field-group", never, {}, { "OnGroupClickBack": "OnGroupClickBack"; }, never, never, false, never>;
58
+ }
@@ -0,0 +1,35 @@
1
+ import { ListService, LocalizationService, PagedResultDto } from "@abp/ng.core";
2
+ import { ToasterService, ConfirmationService } from "@abp/ng.theme.shared";
3
+ import { OnInit } from "@angular/core";
4
+ import { Router } from "@angular/router";
5
+ import { ColumnMode } from "@swimlane/ngx-datatable";
6
+ import { FieldAdminService, FieldDto, GetFieldsInput } from "../../../proxy/admin/fields";
7
+ import * as i0 from "@angular/core";
8
+ export declare class FieldsComponent implements OnInit {
9
+ readonly list: ListService;
10
+ private _FieldAdminService;
11
+ private toaster;
12
+ private confirmation;
13
+ private _LocalizationService;
14
+ private router;
15
+ constructor(list: ListService, _FieldAdminService: FieldAdminService, toaster: ToasterService, confirmation: ConfirmationService, _LocalizationService: LocalizationService, router: Router);
16
+ private _UpdateListService;
17
+ /**表格单元格布局类型 */
18
+ ColumnMode: typeof ColumnMode;
19
+ /**表格数据 */
20
+ data: PagedResultDto<FieldDto>;
21
+ /**过滤器 */
22
+ filters: GetFieldsInput;
23
+ ngOnInit(): void;
24
+ getData(): void;
25
+ /**字段分组选择回调 */
26
+ fieldGroupChange(event: any): void;
27
+ /**使用abp的list获取表格的字段数据列表 */
28
+ hookToQuery(): void;
29
+ /**新建字段按钮 */
30
+ toFieldsCreateBtn(): void;
31
+ /**删除字段 */
32
+ deletefield(row: any): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldsComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldsComponent, "cms-fields", never, {}, {}, never, never, false, never>;
35
+ }
@@ -0,0 +1,6 @@
1
+ export * from './fields.component';
2
+ export * from './field-group.component';
3
+ export * from './create-field.component';
4
+ export * from './create-or-edit-field.component';
5
+ export * from './edit-field.component';
6
+ export * from './create-or-update-field-input-base';
@@ -0,0 +1,3 @@
1
+ export * from './entries';
2
+ export * from './fields';
3
+ export * from './sections';
@@ -0,0 +1,17 @@
1
+ export declare class CreateOrUpdateSectionsInputBase {
2
+ /**版块类型 */
3
+ type: any;
4
+ /**字段名称 Display name of this field */
5
+ displayName: any;
6
+ /**字段唯一名称 Unique Name*/
7
+ name: any;
8
+ /**条目路由 */
9
+ route: any;
10
+ /**页面模板 */
11
+ template: any;
12
+ /**是否默认 */
13
+ isDefault: any;
14
+ /**是否激活 */
15
+ isActive: any;
16
+ constructor(data?: CreateOrUpdateSectionsInputBase);
17
+ }
@@ -0,0 +1,38 @@
1
+ import { Validators } from "@angular/forms";
2
+ export declare class CreateOrEditEntryTypeInputBase {
3
+ /**显示名称 Display name of this field */
4
+ displayName: any;
5
+ /**名称 Unique Name*/
6
+ name: any;
7
+ /**条目路由 */
8
+ fieldTabs: any;
9
+ constructor(data?: CreateOrEditEntryTypeInputBase);
10
+ }
11
+ export declare class fieldTabsBase {
12
+ /**名称 Unique Name*/
13
+ name: any;
14
+ fields?: any;
15
+ constructor(data?: fieldTabsBase);
16
+ }
17
+ export declare class fieldsBase {
18
+ /**字段id Unique Name*/
19
+ fieldId: any;
20
+ /**显示名称 Unique Name*/
21
+ displayName: any;
22
+ /**必填 Unique Name*/
23
+ required: any;
24
+ /**是否在列表中显示 Unique Name*/
25
+ showOnList: any;
26
+ constructor(data?: fieldsBase);
27
+ }
28
+ export declare class fieldsInputBase {
29
+ /**字段id */
30
+ fieldId: (string | (typeof Validators.required)[])[];
31
+ /**显示名称 Display name of this field */
32
+ displayName: any;
33
+ /**是否必填 Unique Name*/
34
+ required: any;
35
+ /**在列表中展示 Unique Name*/
36
+ showOnList: any;
37
+ constructor(data?: fieldsInputBase);
38
+ }