@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
@@ -0,0 +1,138 @@
1
+ import { LocalizationService } from "@abp/ng.core";
2
+ import { ToasterService } from "@abp/ng.theme.shared";
3
+ import { ElementRef, OnInit } from "@angular/core";
4
+ import { FormGroup, FormArray } from "@angular/forms";
5
+ import { ActivatedRoute } from "@angular/router";
6
+ import { FieldGroupAdminService, FieldAdminService } from "../../../../proxy/admin/fields";
7
+ import { EntryTypeAdminService } from "../../../../proxy/admin/sections";
8
+ import { CmsApiService } from "../../../../services";
9
+ import { Location } from '@angular/common';
10
+ import * as i0 from "@angular/core";
11
+ export declare class CreateOrEditComponent implements OnInit {
12
+ private toaster;
13
+ _location: Location;
14
+ private route;
15
+ _FieldGroupAdminService: FieldGroupAdminService;
16
+ _FieldAdminService: FieldAdminService;
17
+ _EntryTypeAdminService: EntryTypeAdminService;
18
+ _LocalizationService: LocalizationService;
19
+ _CmsApiService: CmsApiService;
20
+ constructor(toaster: ToasterService, _location: Location, route: ActivatedRoute, _FieldGroupAdminService: FieldGroupAdminService, _FieldAdminService: FieldAdminService, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
21
+ private fb;
22
+ private _UpdateListService;
23
+ /**表单实体 */
24
+ newEntity: FormGroup | undefined;
25
+ /**版块id */
26
+ sectionId: string;
27
+ /**条目类型id */
28
+ entryTypesId: string;
29
+ /**条目类型详情 */
30
+ entryTypesSelect: any;
31
+ get fieldTabs(): FormArray;
32
+ /**获取提交按钮替身,用于真实触发表单提交 */
33
+ submitclick: ElementRef;
34
+ /**触发提交按钮 */
35
+ submitclickBtn(): void;
36
+ ngOnInit(): void;
37
+ /**给fieldTabs添加新控件 */
38
+ addControlToFieldTabs(nameValue?: string): void;
39
+ /**获取字段分组 */
40
+ getFieldGroup(): void;
41
+ /**获取条目类型详情 */
42
+ getEntryTypes(): void;
43
+ /**
44
+ * 深拷贝--方法
45
+ * $api.deepClone() */
46
+ deepClone(obj: any): any;
47
+ /**
48
+ *
49
+ * @param nameValue 获取所有字段
50
+ */
51
+ getFieldList(): Promise<unknown>;
52
+ /**
53
+ * 拖拽 功能*/
54
+ /**数据源 */
55
+ /**数据源-字段分组数据-包含字段数据 fields */
56
+ fieldGroupList: any[];
57
+ /**数据源-所有字段列表 */
58
+ fieldList: any[];
59
+ /**数据源拖拽的分组下标 */
60
+ DataSourceGroupIndex: number;
61
+ /**数据源拖拽的字段下标 */
62
+ DataSourceFieldIndex: number;
63
+ /**目标源 结果*/
64
+ resultSource: any[];
65
+ /**从数据源拖拽的元素 */
66
+ fromDataSourceDragEl: any;
67
+ /**从目标源拖拽的元素 */
68
+ fromResultSourceDragEl: any;
69
+ /**来自数据源的集合,用于从目标源拖回数据源时的判断,与取值 */
70
+ formRightGroup: any[];
71
+ /**从数据源开始拖拽 */
72
+ fromDataSourceDragStart(element: any, fieldIndex: any, groupIndex: any): void;
73
+ /**从目标源开始拖拽 */
74
+ fromResultSourceDragStart(element: any): void;
75
+ /**拖拽到数据源时触发 */
76
+ dragToDataSourceDropped(): void;
77
+ /**拖拽到目标源时触发
78
+ *
79
+ */
80
+ dragToResultSourceDropped(fieldTabstem: any, fieldTabsIndex: any): void;
81
+ /** 从目标源拖拽到目标源*/
82
+ dragToResultSourceItemDropped(fieldsIndex: any): void;
83
+ /**设置formA表单 */
84
+ setfieldTabsFrom(): void;
85
+ private _ValidatorsService;
86
+ /**表单验证状态
87
+ * {
88
+ * title:true,
89
+ * }
90
+ */
91
+ formValidation: any;
92
+ /**保存表单 */
93
+ save(): void;
94
+ /**编辑Tabs表单 */
95
+ editFieldTabsFrom: FormGroup | undefined;
96
+ /**模态框状态 */
97
+ visibleTabsOpen: boolean;
98
+ /**是否是忙碌状态 */
99
+ modalBusy: boolean;
100
+ /**正在编辑的tabs */
101
+ editFieldTabsSelect: any;
102
+ /**正在选中的nav */
103
+ navActive: any;
104
+ /**表单控件模板-动态赋值表单控件 */
105
+ editFieldTabsModalSubmitBtn: ElementRef;
106
+ /**模态框状态改变回调 */
107
+ VisibleTabsChange(event: any): void;
108
+ /**新建增加FieldTabs */
109
+ addFieldTabs(): void;
110
+ /**正在编辑的tab下标 */
111
+ newEditFieldTabsIndex: number;
112
+ /**编辑FieldTabs */
113
+ editFieldTabs(item: any, i: any): void;
114
+ /**保存编辑tabs表单 */
115
+ editFieldTabsSave(): void;
116
+ /**删除某个tabs表单 */
117
+ deleteFieldTabs(index: any): void;
118
+ /**编辑字段模态框状态 */
119
+ visibleEditFieldOpen: boolean;
120
+ /**编辑字段模态框表单 */
121
+ editFieldFrom: FormGroup | undefined;
122
+ /**表单控件模板-动态赋值表单控件-编辑字段 */
123
+ editFieldModalSubmitBtn: ElementRef;
124
+ /**正在编辑的字段下标 */
125
+ EditFieldIndex: number;
126
+ /**编辑字段模态框状态状态改变回调 */
127
+ VisibleEditFieldChange(event: any): void;
128
+ /**打开编辑字段模态框 */
129
+ EditFieldModalOpen(items: any, elIndex: any): void;
130
+ /**保存编辑字段 */
131
+ editFieldSave(): void;
132
+ /**name表单控件 */
133
+ get nameInput(): import("@angular/forms").AbstractControl<any, any>;
134
+ /**字段标签input失去标点生成字段名字 */
135
+ disPlayNameInputBlur(event: any): void;
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateOrEditComponent, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateOrEditComponent, "cms-create-or-edit", never, {}, {}, never, never, false, never>;
138
+ }
@@ -0,0 +1,2 @@
1
+ export * from './create-or-edit.-entry-type-input-base';
2
+ export * from './create-or-edit.component';
@@ -0,0 +1,3 @@
1
+ export * from './sections.component';
2
+ export * from './entry-types';
3
+ export * from './create-or-update-sections-input-base';
@@ -0,0 +1,64 @@
1
+ import { ABP, ListService, LocalizationService, PagedResultDto } from '@abp/ng.core';
2
+ import { ElementRef, OnInit } from '@angular/core';
3
+ import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared';
4
+ import { AbstractControl, FormBuilder, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
5
+ import { SectionAdminService, EntryTypeAdminService, GetSectionsInput, SectionDto } from '../../../proxy/admin/sections';
6
+ import { CmsApiService } from '../../../services';
7
+ import { ColumnMode } from '@swimlane/ngx-datatable';
8
+ import { SectionType } from '../../../proxy/sections';
9
+ import { Observable } from 'rxjs';
10
+ import * as i0 from "@angular/core";
11
+ export declare class SectionsComponent implements OnInit {
12
+ readonly list: ListService;
13
+ private _SectionAdminService;
14
+ private toaster;
15
+ private confirmation;
16
+ private fb;
17
+ _EntryTypeAdminService: EntryTypeAdminService;
18
+ _LocalizationService: LocalizationService;
19
+ _CmsApiService: CmsApiService;
20
+ constructor(list: ListService, _SectionAdminService: SectionAdminService, toaster: ToasterService, confirmation: ConfirmationService, fb: FormBuilder, _EntryTypeAdminService: EntryTypeAdminService, _LocalizationService: LocalizationService, _CmsApiService: CmsApiService);
21
+ private _UpdateListService;
22
+ siteList: any[];
23
+ ColumnMode: typeof ColumnMode;
24
+ data: PagedResultDto<SectionDto>;
25
+ filters: GetSectionsInput;
26
+ hookToQuery(): void;
27
+ ngOnInit(): Promise<void>;
28
+ siteIdChange(): void;
29
+ visibleOpen: boolean;
30
+ modalBusy: boolean;
31
+ createOrEditForm: FormGroup | undefined;
32
+ selected: any;
33
+ _SectionType: typeof SectionType;
34
+ _sectionTypeOptions: ABP.Option<typeof SectionType>[];
35
+ createOrEditModalSubmitBtn: ElementRef;
36
+ VisibleChange(event: any): void;
37
+ createSectionBtn(): void;
38
+ editSectionBtn(row: any): void;
39
+ deleteEntryType(row: any): void;
40
+ createOrEditSave(): void;
41
+ private _ValidatorsService;
42
+ /**表单验证状态
43
+ * {
44
+ * title:true,
45
+ * }
46
+ */
47
+ formValidation: any;
48
+ createSave(): void;
49
+ EditSave(): void;
50
+ deletefield(row: any): void;
51
+ get displayNameInput(): AbstractControl<any, any>;
52
+ get nameInput(): AbstractControl<any, any>;
53
+ get routeInput(): AbstractControl<any, any>;
54
+ get templateInput(): AbstractControl<any, any>;
55
+ get typeInput(): AbstractControl<any, any>;
56
+ radiochange(): void;
57
+ disPlayNameInputBlur(event: any): void;
58
+ setAsyncValidatorsFn(): void;
59
+ forbiddenNameValidator(): ValidatorFn;
60
+ nameRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
61
+ routeRepetitionAsyncValidator(): (ctrl: AbstractControl) => Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionsComponent, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionsComponent, "cms-sections", never, {}, {}, never, never, false, never>;
64
+ }
@@ -0,0 +1,39 @@
1
+ import { AfterContentInit, ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { SectionAdminService } from '../../../proxy/admin/sections';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EntryConfigComponent implements AfterContentInit {
6
+ private fb;
7
+ private _SectionAdminService;
8
+ constructor(fb: FormBuilder, _SectionAdminService: SectionAdminService);
9
+ /**表单控件类型 */
10
+ _type: any;
11
+ set type(v: any);
12
+ /**表单实体 */
13
+ _Entity: FormGroup | undefined;
14
+ set Entity(v: FormGroup);
15
+ /**选择的表单信息 */
16
+ _selected: any;
17
+ set selected(v: any);
18
+ /**语言 */
19
+ _culture: any;
20
+ set culture(v: any);
21
+ get formConfiguration(): FormGroup;
22
+ submitclick: ElementRef;
23
+ /**站点列表 */
24
+ siteList: any[any];
25
+ /**选择的站点id */
26
+ siteId: any;
27
+ /**站点下的版块 */
28
+ SiteOfSectionList: any[any];
29
+ ngAfterContentInit(): void;
30
+ dataLoaded(val: any): Promise<void>;
31
+ AfterInit(): Promise<unknown>;
32
+ /**获取站点列表 */
33
+ /**获取站点下的版块 */
34
+ getSiteOfSectionList(): Promise<unknown>;
35
+ /**切换站点 */
36
+ siteIdChange(): Promise<void>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfigComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfigComponent, "cms-entry-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,9 @@
1
+ export declare class EntryConfig {
2
+ /**多选 */
3
+ 'Entry.Multiple': any;
4
+ /**占位符 */
5
+ 'Entry.Placeholder': any;
6
+ /**版块id */
7
+ 'Entry.SectionId': any;
8
+ constructor(data?: EntryConfig);
9
+ }
@@ -0,0 +1,35 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EntryControlComponent {
5
+ constructor();
6
+ private fb;
7
+ private _EntryAdminService;
8
+ /**表单实体 */
9
+ _entity: FormGroup | undefined;
10
+ set entity(v: any);
11
+ /**字段配置列表 */
12
+ _fields: any;
13
+ set fields(v: any);
14
+ /**父级字段名称,用于为表单设置控件赋值 */
15
+ _parentFiledName: any;
16
+ set parentFiledName(v: any);
17
+ /**父级字段名称,用于为表单设置控件赋值 */
18
+ _selected: any;
19
+ set selected(v: any);
20
+ /**语言 */
21
+ _culture: any;
22
+ set culture(v: any);
23
+ submitclick: ElementRef;
24
+ extraProperties: FormGroup | undefined;
25
+ /** */
26
+ listOfOption: any[];
27
+ dataLoaded(): Promise<void>;
28
+ AfterInit(): Promise<unknown>;
29
+ /**获取对应的条目 */
30
+ getEntryAssignList(filter?: string): Promise<unknown>;
31
+ /** */
32
+ SelectChange(event: any): Promise<void>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryControlComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryControlComponent, "cms-entry-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
35
+ }
@@ -0,0 +1,3 @@
1
+ export * from './entry-config';
2
+ export * from './entry-config.component';
3
+ export * from './entry-control.component';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 表单控件分组-包含配置,控件,显示的数组
3
+ */
4
+ export declare const FieldControlGroup: any[];
@@ -0,0 +1,4 @@
1
+ export * from './form-control-group';
2
+ export * from './entry';
3
+ export * from './matrix';
4
+ export * from './table';
@@ -0,0 +1,3 @@
1
+ export * from './matrix-config';
2
+ export * from './matrix-control.component';
3
+ export * from './matrix-config.component';
@@ -0,0 +1,73 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { CmsApiService, FieldAbstractsService } from '../../../services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MatrixConfigComponent {
6
+ private fb;
7
+ private _CmsApiService;
8
+ private _FieldAbstractsService;
9
+ constructor(fb: FormBuilder, _CmsApiService: CmsApiService, _FieldAbstractsService: FieldAbstractsService);
10
+ /**表单控件组 */
11
+ _FieldControlGroup: any[];
12
+ /**表单控件类型 */
13
+ _type: any;
14
+ set type(v: any);
15
+ /**表单实体 */
16
+ _Entity: FormGroup | undefined;
17
+ set Entity(v: FormGroup);
18
+ /**选择的表单信息 */
19
+ _selected: any;
20
+ set selected(v: any);
21
+ submitclick: ElementRef;
22
+ dataLoaded(): Promise<void>;
23
+ AfterInit(): Promise<unknown>;
24
+ setSelectValue(): Promise<unknown>;
25
+ /**获取表单配置 */
26
+ get formConfiguration(): FormGroup;
27
+ /**获取表单配置下的矩阵块表单数组 */
28
+ get MatrixBlockTypes(): FormArray;
29
+ /**模态框-状态 */
30
+ matrixModalOpen: boolean;
31
+ /**模态框-是否正在编辑 */
32
+ isMatrixModalEdit: any;
33
+ /**模态框-用于确定模态的繁忙状态是否为真 */
34
+ modalBusy: boolean;
35
+ /**模态框-表单 */
36
+ matrixModalForm: FormGroup | undefined;
37
+ /**表单控件模板-用于在form外提交submit */
38
+ matrixModalModalSubmit: ElementRef;
39
+ /**矩阵块-选择的下标 */
40
+ selectMatrixBlockIndex: any;
41
+ /**矩阵块-选择的矩阵下字段的下标 */
42
+ selectMatrixFieldIndex: any;
43
+ /**模态框-状态改变 */
44
+ matrixModalVisibleChange(event: any): void;
45
+ /**矩阵块--新增-打开模态框 */
46
+ addMatrixBlockType(): void;
47
+ /**模态框--矩阵表单保存提交 */
48
+ createOrEditSave(): void;
49
+ /**新增矩阵块-向数组表单中增加项 */
50
+ addMatrixBlockTypeItem(input: any): void;
51
+ /**编辑矩阵块 */
52
+ EditMatrixBlock(input: any): void;
53
+ /**删除矩阵块 */
54
+ DeleteMatrixBlock(index: any): void;
55
+ /**矩阵块-选择 */
56
+ selectMatrixBlockChange(index: any): void;
57
+ /**矩阵字段-新增 */
58
+ addMatrixField(): void;
59
+ /**矩阵字段-新增矩阵字段项 */
60
+ addMatrixFieldItem(input: any, selectMatrixBlockIndex: any): void;
61
+ /**删除矩阵字段项 */
62
+ deleteMatrixField(MatrixFieldForm: any, index: any): void;
63
+ /**矩阵字段-选择 */
64
+ selectMatrixFieldChange(MatrixBlockIndex: any, MatrixFieldIndex: any): void;
65
+ get nameInput(): import("@angular/forms").AbstractControl<any, any>;
66
+ get FieldnameInput(): import("@angular/forms").AbstractControl<any, any>;
67
+ /**矩阵displayNameInput字段失去焦点 */
68
+ displayNameInputBlur(event: any): void;
69
+ /**矩阵displayNameInput字段失去焦点 */
70
+ MatrixFieldDisplayNameInputBlur(event: any): void;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixConfigComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixConfigComponent, "df-matrix-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
73
+ }
@@ -0,0 +1,24 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ export declare class MatrixConfig {
3
+ 'MatrixBlockTypes': any;
4
+ constructor(data?: MatrixConfig);
5
+ }
6
+ export declare class MatrixItemConfig {
7
+ displayName: any;
8
+ /**字段名字 */
9
+ name: any;
10
+ constructor(data?: MatrixConfig);
11
+ }
12
+ export declare class matrixFieldInputBase {
13
+ /**字段名称 Display name of this field */
14
+ displayName: any;
15
+ /**字段唯一名称 Unique Name*/
16
+ name: any;
17
+ /**描述 说明 */
18
+ description: any;
19
+ /**FieldType字段类型 表单控件名称 */
20
+ formControlName: any;
21
+ /**动态表单配置 */
22
+ formConfiguration: FormGroup | undefined;
23
+ constructor(data?: matrixFieldInputBase);
24
+ }
@@ -0,0 +1,39 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatrixControlComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单实体 */
8
+ _entity: FormGroup | undefined;
9
+ set entity(v: any);
10
+ /**字段配置列表 */
11
+ _fields: any;
12
+ set fields(v: any);
13
+ /**父级字段名称,用于为表单设置控件赋值 */
14
+ _parentFiledName: any;
15
+ set parentFiledName(v: any);
16
+ /**父级字段名称,用于为表单设置控件赋值 */
17
+ _selected: any;
18
+ set selected(v: any);
19
+ /**语言 */
20
+ _culture: any;
21
+ set culture(v: any);
22
+ submitclick: ElementRef;
23
+ /** 获取父级字段代表的表单组*/
24
+ extraProperties: FormGroup | undefined;
25
+ /**数据加载完成 */
26
+ dataLoaded(): Promise<void>;
27
+ formConfiguration: any;
28
+ /**获取表格字段代表的控件 */
29
+ fieldNameControl: FormArray | undefined;
30
+ AfterInit(): Promise<unknown>;
31
+ /**矩阵列表 */
32
+ MatrixBlockTypesList: any[];
33
+ /**增加指定矩阵控件项 */
34
+ addMatrixControl(item: any): void;
35
+ /**删除矩阵控件 */
36
+ deleteMatrixControl(index: any): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixControlComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixControlComponent, "df-matrix-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,3 @@
1
+ export * from './table-config';
2
+ export * from './table-config.component';
3
+ export * from './table-control.component';
@@ -0,0 +1,58 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { CmsApiService, FieldAbstractsService } from '../../../services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TableConfigComponent {
6
+ private fb;
7
+ private _CmsApiService;
8
+ private _FieldAbstractsService;
9
+ constructor(fb: FormBuilder, _CmsApiService: CmsApiService, _FieldAbstractsService: FieldAbstractsService);
10
+ /**表单实体 */
11
+ _Entity: FormGroup | undefined;
12
+ set Entity(v: FormGroup);
13
+ /**选择的表单信息 */
14
+ _selected: any;
15
+ set selected(v: any);
16
+ /**表单控件组 */
17
+ _fieldControlGroup: any[];
18
+ /**表单控件类型 */
19
+ _type: any;
20
+ set type(v: any);
21
+ get formConfiguration(): FormGroup;
22
+ get TableColumns(): FormArray;
23
+ submitclick: ElementRef;
24
+ dataLoaded(): Promise<void>;
25
+ /**增加选项 */
26
+ addTableColumns(): void;
27
+ /**删除某个选项 */
28
+ deleteTableColumns(index: any): void;
29
+ AfterInit(): Promise<unknown>;
30
+ itemForm: any;
31
+ /**选择表格的表单控件 */
32
+ selectTableControl(event: any, i: any, item: any): void;
33
+ CurrentSelectionTableControlName: any;
34
+ /**正在创建或编辑的表格项下标 */
35
+ TableColumnsIndex: any;
36
+ /**创建站点模态框状态 */
37
+ tableSelectOpen: boolean;
38
+ /**用于确定模态的繁忙状态是否为真 */
39
+ modalBusy: boolean;
40
+ /**创建站点表单 */
41
+ tableSelectForm: FormGroup | undefined;
42
+ /**表格已选择数据 */
43
+ _tableSelected: any;
44
+ /**表单控件模板-动态赋值表单控件 */
45
+ tableSelectModalSubmit: ElementRef;
46
+ /**创建站点模态框状态改变 */
47
+ tableSelectVisibleChange(event: any): void;
48
+ /**表单保存提交 */
49
+ createOrEditSave(): void;
50
+ /**编辑站点按钮 */
51
+ EditSitesBtn(rows: any, i: any): void;
52
+ /**调整表格位置 */
53
+ TableArrowUpOrDown(type: any, index: any): void;
54
+ /**字段标签input失去标点生成字段名字 */
55
+ disPlayNameInputBlur(event: any, item: any): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableConfigComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableConfigComponent, "df-table-config", never, { "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
58
+ }
@@ -0,0 +1,18 @@
1
+ export declare class TableConfig {
2
+ TableColumns: any;
3
+ constructor(data?: TableConfig);
4
+ }
5
+ export declare class TableFormControl {
6
+ /**列标题 */
7
+ displayName: any;
8
+ /**空间配置 */
9
+ formConfiguration: any;
10
+ /**列名 */
11
+ name: any;
12
+ formControlName: any;
13
+ /**是否必填 */
14
+ required: any;
15
+ /**描述 */
16
+ description: any;
17
+ constructor(data?: TableConfig);
18
+ }
@@ -0,0 +1,39 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TableControlComponent {
5
+ constructor();
6
+ private fb;
7
+ /**表单实体 */
8
+ _entity: FormGroup | undefined;
9
+ set entity(v: any);
10
+ /**字段配置列表 */
11
+ _fields: any;
12
+ set fields(v: any);
13
+ /**父级字段名称,用于为表单设置控件赋值 */
14
+ _parentFiledName: any;
15
+ set parentFiledName(v: any);
16
+ /**父级字段名称,用于为表单设置控件赋值 */
17
+ _selected: any;
18
+ set selected(v: any);
19
+ /**语言 */
20
+ _culture: any;
21
+ set culture(v: any);
22
+ submitclick: ElementRef;
23
+ /** 获取父级字段代表的表单组*/
24
+ extraProperties: FormGroup | undefined;
25
+ /**数据加载完成 */
26
+ dataLoaded(): Promise<void>;
27
+ formConfiguration: any;
28
+ /**获取表格字段代表的控件 */
29
+ fieldNameControl: FormArray | undefined;
30
+ AfterInit(): Promise<unknown>;
31
+ /**增加表格项 */
32
+ addTableControlItem(): void;
33
+ /**删除表格项 */
34
+ minusTableControlItem(index: any): void;
35
+ /**调整表格位置 */
36
+ TableArrowUpOrDown(type: any, index: any): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableControlComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableControlComponent, "df-table-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "culture": { "alias": "culture"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,2 @@
1
+ export * from './admin';
2
+ export * from './dynamic-form';
@@ -0,0 +1,2 @@
1
+ declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n.form-label{\n font-size: 12px;\n}\n:root select{\n cursor: pointer; /* this will show the pointer when hovering */\n} \n.cdk-global-overlay-wrapper, .cdk-overlay-container {pointer-events: none;top: 0;left: 0;height: 100%;width: 100% }.cdk-overlay-container {position: fixed;z-index: 1000 }.cdk-overlay-container:empty {display: none }.cdk-global-overlay-wrapper, .cdk-overlay-connected-position-bounding-box, .cdk-overlay-pane {position: absolute;z-index: 1000;display: flex }.cdk-overlay-pane {pointer-events: auto;box-sizing: border-box;max-width: 100%;max-height: 100% }.cdk-overlay-backdrop {position: absolute;top: 0;bottom: 0;left: 0;right: 0;z-index: 1000;pointer-events: auto;transition: opacity .4s cubic-bezier(.25, .8, .25, 1);opacity: 0 }.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: 1 }.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: .6 }.cdk-overlay-dark-backdrop {background: rgba(0, 0, 0, .32) }.cdk-overlay-transparent-backdrop {transition: visibility 1ms linear, opacity 1ms linear;visibility: hidden;opacity: 1 }.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0;visibility: visible }.cdk-overlay-backdrop-noop-animation {transition: none }.cdk-overlay-connected-position-bounding-box {flex-direction: column;min-width: 1px;min-height: 1px }.cdk-global-scrollblock {position: fixed;width: 100%;overflow-y: scroll }.cdk-visually-hidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;outline: 0;-webkit-appearance: none;-moz-appearance: none }.nz-overlay-transparent-backdrop, .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0 }.ant-select, .ant-select-dropdown {margin: 0;line-height: 1.5715;box-sizing: border-box;font-feature-settings: 'tnum';list-style: none }.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpIn }.ant-select-dropdown.ant-select-tree-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;overflow: auto }.ant-select-dropdown-hidden, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before {display: none }.ant-select-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;display: block }.ant-select-dropdown .cdk-virtual-scroll-content-wrapper {right: 0 }.ant-select-dropdown .full-width {contain: initial }.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper {position: static }.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer {position: absolute;top: 0;width: 1px }.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownIn }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpOut }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownOut }\n\n/*** 表单验证样式 start */\n.was-validated .form-control:invalid, .form-control.is-invalid{\n border-color: #c00d49 !important;\n}\n/*** 表单验证样式 end */\n";
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export declare enum ECmsComponent {
2
+ Entries = "Cms.Entries",
3
+ Entries_Create = "Cms.Entries.Create",
4
+ Entries_Edit = "Cms.Entries.Edit",
5
+ Fields = "Cms.Fields",
6
+ FieldsCreate = "Cms.Fields.Create",
7
+ FieldsEdit = "Cms.Fields.Edit",
8
+ Sites = "Cms.Sites",
9
+ Sections = "Cms.Sections",
10
+ SectionsCreateOrEdit = "Cms.Sections.Create.Or.Edit"
11
+ }
@@ -0,0 +1 @@
1
+ export * from './ecms-component';
@@ -0,0 +1,12 @@
1
+ import type { FormControlDto } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { ListResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FormAdminService {
6
+ private restService;
7
+ apiName: string;
8
+ getFormControls: (config?: Partial<Rest.Config>) => import("rxjs").Observable<ListResultDto<FormControlDto>>;
9
+ constructor(restService: RestService);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormAdminService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormAdminService>;
12
+ }
@@ -0,0 +1,4 @@
1
+ export interface FormControlDto {
2
+ name?: string;
3
+ displayName?: string;
4
+ }