@gravitee/ui-particles-angular 15.13.0-angular-20-f024970 → 15.13.0-test-npm-publish-aaef706

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 (375) hide show
  1. package/esm2022/gio-asciidoctor/gio-asciidoctor.component.mjs +104 -0
  2. package/esm2022/gio-asciidoctor/gio-asciidoctor.module.mjs +33 -0
  3. package/esm2022/gio-asciidoctor/gio-asciidoctor.service.mjs +48 -0
  4. package/esm2022/gio-asciidoctor/gravitee-ui-particles-angular-gio-asciidoctor.mjs +5 -0
  5. package/esm2022/gio-asciidoctor/public-api.mjs +19 -0
  6. package/esm2022/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.mjs +127 -0
  7. package/esm2022/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.harness.mjs +158 -0
  8. package/esm2022/gio-el/gio-el-editor/gio-el-editor.component.mjs +131 -0
  9. package/esm2022/gio-el/gio-el-editor/gio-el-editor.harness.mjs +28 -0
  10. package/esm2022/gio-el/gio-el-editor/gio-el-field/gio-el-field.component.mjs +271 -0
  11. package/esm2022/gio-el/gio-el-editor/gio-el-field/gio-el-field.harness.mjs +53 -0
  12. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.mjs +57 -0
  13. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness.mjs +31 -0
  14. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.mjs +74 -0
  15. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness.mjs +29 -0
  16. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.mjs +70 -0
  17. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness.mjs +29 -0
  18. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.mjs +73 -0
  19. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness.mjs +29 -0
  20. package/esm2022/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type.harness.mjs +38 -0
  21. package/esm2022/gio-el/gravitee-ui-particles-angular-gio-el.mjs +5 -0
  22. package/esm2022/gio-el/models/Condition.mjs +9 -0
  23. package/esm2022/gio-el/models/ConditionGroup.mjs +7 -0
  24. package/esm2022/gio-el/models/ConditionModel.mjs +17 -0
  25. package/esm2022/gio-el/models/ConditionsModel.mjs +4 -0
  26. package/esm2022/gio-el/models/ExpressionLanguageBuilder.mjs +97 -0
  27. package/esm2022/gio-el/models/Operator.mjs +2 -0
  28. package/esm2022/gio-el/models/public-api.mjs +21 -0
  29. package/esm2022/gio-el/public-api.mjs +19 -0
  30. package/esm2022/gravitee-ui-particles-angular.mjs +5 -0
  31. package/esm2022/lib/gio-avatar/gio-avatar.component.mjs +74 -0
  32. package/esm2022/lib/gio-avatar/gio-avatar.module.mjs +33 -0
  33. package/esm2022/lib/gio-avatar/index.mjs +18 -0
  34. package/esm2022/lib/gio-banner/gio-banner.component.mjs +120 -0
  35. package/esm2022/lib/gio-banner/gio-banner.module.mjs +64 -0
  36. package/esm2022/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +32 -0
  37. package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +32 -0
  38. package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +35 -0
  39. package/esm2022/lib/gio-breadcrumb/index.mjs +19 -0
  40. package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.component.mjs +35 -0
  41. package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.module.mjs +36 -0
  42. package/esm2022/lib/gio-card-empty-state/index.mjs +18 -0
  43. package/esm2022/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +67 -0
  44. package/esm2022/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +71 -0
  45. package/esm2022/lib/gio-clipboard/gio-clipboard.base.component.mjs +64 -0
  46. package/esm2022/lib/gio-clipboard/gio-clipboard.module.mjs +39 -0
  47. package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +61 -0
  48. package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.harness.mjs +40 -0
  49. package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +40 -0
  50. package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +54 -0
  51. package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.harness.mjs +34 -0
  52. package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +36 -0
  53. package/esm2022/lib/gio-dialog/gio-dialog.constant.mjs +21 -0
  54. package/esm2022/lib/gio-el/gio-el-assistant/gio-el-assistant.component.mjs +62 -0
  55. package/esm2022/lib/gio-el/gio-el-prompt/gio-el-prompt.component.mjs +112 -0
  56. package/esm2022/lib/gio-el/gio-el.service.mjs +60 -0
  57. package/esm2022/lib/gio-el/index.mjs +20 -0
  58. package/esm2022/lib/gio-el/models/ElAiPromptState.mjs +23 -0
  59. package/esm2022/lib/gio-el/public-api.mjs +20 -0
  60. package/esm2022/lib/gio-form-cron/gio-form-cron-hint.component.mjs +30 -0
  61. package/esm2022/lib/gio-form-cron/gio-form-cron-label.component.mjs +30 -0
  62. package/esm2022/lib/gio-form-cron/gio-form-cron.adapter.mjs +218 -0
  63. package/esm2022/lib/gio-form-cron/gio-form-cron.component.mjs +211 -0
  64. package/esm2022/lib/gio-form-cron/gio-form-cron.harness.mjs +77 -0
  65. package/esm2022/lib/gio-form-cron/gio-form-cron.module.mjs +69 -0
  66. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +29 -0
  67. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +27 -0
  68. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +26 -0
  69. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.component.harness.mjs +95 -0
  70. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +167 -0
  71. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.model.mjs +23 -0
  72. package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +57 -0
  73. package/esm2022/lib/gio-form-file-picker/index.mjs +23 -0
  74. package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +31 -0
  75. package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +96 -0
  76. package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +32 -0
  77. package/esm2022/lib/gio-form-headers/gio-form-headers-label.component.mjs +30 -0
  78. package/esm2022/lib/gio-form-headers/gio-form-headers.component.mjs +284 -0
  79. package/esm2022/lib/gio-form-headers/gio-form-headers.harness.mjs +73 -0
  80. package/esm2022/lib/gio-form-headers/gio-form-headers.module.mjs +77 -0
  81. package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +209 -0
  82. package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +244 -0
  83. package/esm2022/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +261 -0
  84. package/esm2022/lib/gio-form-json-schema/model/GioJsonSchema.mjs +17 -0
  85. package/esm2022/lib/gio-form-json-schema/model/GioJsonSchemaContext.mjs +2 -0
  86. package/esm2022/lib/gio-form-json-schema/type-component/array-type.component.mjs +109 -0
  87. package/esm2022/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +47 -0
  88. package/esm2022/lib/gio-form-json-schema/type-component/cron-type.component.mjs +42 -0
  89. package/esm2022/lib/gio-form-json-schema/type-component/headers-type.component.mjs +108 -0
  90. package/esm2022/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +66 -0
  91. package/esm2022/lib/gio-form-json-schema/type-component/null-type.component.mjs +31 -0
  92. package/esm2022/lib/gio-form-json-schema/type-component/object-type.component.mjs +62 -0
  93. package/esm2022/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +60 -0
  94. package/esm2022/lib/gio-form-json-schema/util/validation-message.util.mjs +38 -0
  95. package/esm2022/lib/gio-form-json-schema/wrappers/gio-banner-extension.mjs +10 -0
  96. package/esm2022/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +28 -0
  97. package/esm2022/lib/gio-form-json-schema/wrappers/gio-el-helper-wrapper.component.mjs +61 -0
  98. package/esm2022/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +74 -0
  99. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card-content/gio-form-selection-inline-card-content.component.mjs +79 -0
  100. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card.component.mjs +86 -0
  101. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card.harness.mjs +44 -0
  102. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.component.mjs +103 -0
  103. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.harness.mjs +65 -0
  104. package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.module.mjs +59 -0
  105. package/esm2022/lib/gio-form-selection-inline/public-api.mjs +22 -0
  106. package/esm2022/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +52 -0
  107. package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +69 -0
  108. package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +34 -0
  109. package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +316 -0
  110. package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.harness.mjs +82 -0
  111. package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +67 -0
  112. package/esm2022/lib/gio-icons/gio-icons.module.mjs +37 -0
  113. package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +43 -0
  114. package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +37 -0
  115. package/esm2022/lib/gio-license/gio-license.directive.mjs +92 -0
  116. package/esm2022/lib/gio-license/gio-license.module.mjs +35 -0
  117. package/esm2022/lib/gio-license/gio-license.service.mjs +101 -0
  118. package/esm2022/lib/gio-license/gio-license.testing.module.mjs +107 -0
  119. package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +77 -0
  120. package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.mjs +44 -0
  121. package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +36 -0
  122. package/esm2022/lib/gio-loader/gio-loader.component.mjs +27 -0
  123. package/esm2022/lib/gio-loader/gio-loader.module.mjs +34 -0
  124. package/esm2022/lib/gio-mat-config/gio-mat-config.module.mjs +30 -0
  125. package/esm2022/lib/gio-mat-config/index.mjs +17 -0
  126. package/esm2022/lib/gio-monaco-editor/gio-monaco-clipboard-copy.component.mjs +44 -0
  127. package/esm2022/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +150 -0
  128. package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +314 -0
  129. package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.harness.mjs +70 -0
  130. package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +60 -0
  131. package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +42 -0
  132. package/esm2022/lib/gio-monaco-editor/models/GioMonacoEditorConfig.mjs +18 -0
  133. package/esm2022/lib/gio-monaco-editor/models/JSONSchemaAutoComplete.mjs +115 -0
  134. package/esm2022/lib/gio-monaco-editor/models/MonacoEditorTheme.mjs +2 -0
  135. package/esm2022/lib/gio-monaco-editor/services/gio-language-el.service.mjs +226 -0
  136. package/esm2022/lib/gio-monaco-editor/services/gio-language-json.service.mjs +72 -0
  137. package/esm2022/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +72 -0
  138. package/esm2022/lib/gio-pipe/gio.pipe.module.mjs +32 -0
  139. package/esm2022/lib/gio-pipe/safe.pipe.mjs +53 -0
  140. package/esm2022/lib/gio-popover/gio-popover-trigger.directive.mjs +46 -0
  141. package/esm2022/lib/gio-popover/gio-popover.component.mjs +83 -0
  142. package/esm2022/lib/gio-popover/index.mjs +18 -0
  143. package/esm2022/lib/gio-popover/public-api.mjs +18 -0
  144. package/esm2022/lib/gio-prismjs/gio-prismjs.service.mjs +80 -0
  145. package/esm2022/lib/gio-save-bar/gio-save-bar.component.mjs +142 -0
  146. package/esm2022/lib/gio-save-bar/gio-save-bar.harness.mjs +54 -0
  147. package/esm2022/lib/gio-save-bar/gio-save-bar.module.mjs +35 -0
  148. package/esm2022/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +26 -0
  149. package/esm2022/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +26 -0
  150. package/esm2022/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +85 -0
  151. package/esm2022/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +26 -0
  152. package/esm2022/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +26 -0
  153. package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.component.mjs +62 -0
  154. package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.harness.mjs +41 -0
  155. package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.service.mjs +41 -0
  156. package/esm2022/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +49 -0
  157. package/esm2022/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.harness.mjs +41 -0
  158. package/esm2022/lib/oem-theme/gio-menu/gio-menu.component.mjs +50 -0
  159. package/esm2022/lib/oem-theme/gio-menu/gio-menu.module.mjs +78 -0
  160. package/esm2022/lib/oem-theme/gio-menu/gio-menu.service.mjs +45 -0
  161. package/esm2022/lib/oem-theme/gio-menu/index.mjs +29 -0
  162. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +34 -0
  163. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +46 -0
  164. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +112 -0
  165. package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +37 -0
  166. package/esm2022/lib/oem-theme/gio-submenu/index.mjs +20 -0
  167. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +35 -0
  168. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +35 -0
  169. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +35 -0
  170. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +26 -0
  171. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +33 -0
  172. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +34 -0
  173. package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +36 -0
  174. package/esm2022/lib/oem-theme/gio-top-bar/index.mjs +23 -0
  175. package/esm2022/lib/oem-theme/oem-theme.service.mjs +83 -0
  176. package/esm2022/lib/oem-theme/public-api.mjs +20 -0
  177. package/esm2022/lib/public-api.mjs +85 -0
  178. package/esm2022/public-api.mjs +20 -0
  179. package/esm2022/testing/gravitee-ui-particles-angular-testing.mjs +5 -0
  180. package/esm2022/testing/harnesses/div.harness.mjs +42 -0
  181. package/esm2022/testing/harnesses/index.mjs +18 -0
  182. package/esm2022/testing/harnesses/span.harness.mjs +42 -0
  183. package/esm2022/testing/public-api.mjs +17 -0
  184. package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs +11 -11
  185. package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs.map +1 -1
  186. package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs +80 -74
  187. package/fesm2022/gravitee-ui-particles-angular-gio-el.mjs.map +1 -1
  188. package/fesm2022/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  189. package/fesm2022/gravitee-ui-particles-angular.mjs +536 -636
  190. package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
  191. package/gio-asciidoctor/gio-asciidoctor.component.d.ts +26 -0
  192. package/gio-asciidoctor/gio-asciidoctor.module.d.ts +8 -0
  193. package/gio-asciidoctor/gio-asciidoctor.service.d.ts +14 -0
  194. package/gio-asciidoctor/index.d.ts +5 -49
  195. package/gio-asciidoctor/public-api.d.ts +3 -0
  196. package/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.component.d.ts +25 -0
  197. package/gio-el/gio-el-editor/gio-el-editor-condition-group/gio-el-editor-condition-group.harness.d.ts +36 -0
  198. package/gio-el/gio-el-editor/gio-el-editor.component.d.ts +25 -0
  199. package/gio-el/gio-el-editor/gio-el-editor.harness.d.ts +7 -0
  200. package/gio-el/gio-el-editor/gio-el-field/gio-el-field.component.d.ts +70 -0
  201. package/gio-el/gio-el-editor/gio-el-field/gio-el-field.harness.d.ts +14 -0
  202. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.component.d.ts +15 -0
  203. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-boolean/gio-el-editor-type-boolean.harness.d.ts +6 -0
  204. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.component.d.ts +17 -0
  205. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-date/gio-el-editor-type-date.harness.d.ts +6 -0
  206. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.component.d.ts +17 -0
  207. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-number/gio-el-editor-type-number.harness.d.ts +6 -0
  208. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.component.d.ts +23 -0
  209. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type-string/gio-el-editor-type-string.harness.d.ts +6 -0
  210. package/gio-el/gio-el-editor/gio-el-type/gio-el-editor-type.harness.d.ts +10 -0
  211. package/gio-el/index.d.ts +5 -146
  212. package/gio-el/models/Condition.d.ts +19 -0
  213. package/gio-el/models/ConditionGroup.d.ts +7 -0
  214. package/gio-el/models/ConditionModel.d.ts +32 -0
  215. package/gio-el/models/ConditionsModel.d.ts +8 -0
  216. package/gio-el/models/ExpressionLanguageBuilder.d.ts +12 -0
  217. package/gio-el/models/Operator.d.ts +1 -0
  218. package/gio-el/models/public-api.d.ts +5 -0
  219. package/gio-el/public-api.d.ts +3 -0
  220. package/index.d.ts +3 -1822
  221. package/lib/gio-avatar/gio-avatar.component.d.ts +21 -0
  222. package/lib/gio-avatar/gio-avatar.module.d.ts +8 -0
  223. package/lib/gio-avatar/index.d.ts +2 -0
  224. package/lib/gio-banner/gio-banner.component.d.ts +43 -0
  225. package/lib/gio-banner/gio-banner.module.d.ts +11 -0
  226. package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +8 -0
  227. package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +8 -0
  228. package/lib/gio-breadcrumb/gio-breadcrumb.module.d.ts +10 -0
  229. package/lib/gio-breadcrumb/index.d.ts +3 -0
  230. package/lib/gio-card-empty-state/gio-card-empty-state.component.d.ts +8 -0
  231. package/lib/gio-card-empty-state/gio-card-empty-state.module.d.ts +11 -0
  232. package/lib/gio-card-empty-state/index.d.ts +2 -0
  233. package/lib/gio-clipboard/gio-clipboard-copy-icon.component.d.ts +6 -0
  234. package/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.d.ts +6 -0
  235. package/lib/gio-clipboard/gio-clipboard.base.component.d.ts +18 -0
  236. package/lib/gio-clipboard/gio-clipboard.module.d.ts +14 -0
  237. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.d.ts +33 -0
  238. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.harness.d.ts +9 -0
  239. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.d.ts +15 -0
  240. package/lib/gio-confirm-dialog/gio-confirm-dialog.component.d.ts +29 -0
  241. package/lib/gio-confirm-dialog/gio-confirm-dialog.harness.d.ts +8 -0
  242. package/lib/gio-confirm-dialog/gio-confirm-dialog.module.d.ts +11 -0
  243. package/lib/gio-dialog/gio-dialog.constant.d.ts +5 -0
  244. package/lib/gio-el/gio-el-assistant/gio-el-assistant.component.d.ts +7 -0
  245. package/lib/gio-el/gio-el-prompt/gio-el-prompt.component.d.ts +28 -0
  246. package/lib/gio-el/gio-el.service.d.ts +19 -0
  247. package/lib/gio-el/index.d.ts +4 -0
  248. package/lib/gio-el/models/ElAiPromptState.d.ts +15 -0
  249. package/lib/gio-el/public-api.d.ts +4 -0
  250. package/lib/gio-form-cron/gio-form-cron-hint.component.d.ts +5 -0
  251. package/lib/gio-form-cron/gio-form-cron-label.component.d.ts +5 -0
  252. package/lib/gio-form-cron/gio-form-cron.adapter.d.ts +18 -0
  253. package/lib/gio-form-cron/gio-form-cron.component.d.ts +42 -0
  254. package/lib/gio-form-cron/gio-form-cron.harness.d.ts +23 -0
  255. package/lib/gio-form-cron/gio-form-cron.module.d.ts +18 -0
  256. package/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.d.ts +5 -0
  257. package/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.d.ts +5 -0
  258. package/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.d.ts +5 -0
  259. package/lib/gio-form-file-picker/gio-form-file-picker.component.d.ts +43 -0
  260. package/lib/gio-form-file-picker/gio-form-file-picker.component.harness.d.ts +30 -0
  261. package/lib/gio-form-file-picker/gio-form-file-picker.model.d.ts +6 -0
  262. package/lib/gio-form-file-picker/gio-form-file-picker.module.d.ts +16 -0
  263. package/lib/gio-form-file-picker/index.d.ts +7 -0
  264. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.d.ts +6 -0
  265. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.d.ts +22 -0
  266. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.d.ts +8 -0
  267. package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +5 -0
  268. package/lib/gio-form-headers/gio-form-headers.component.d.ts +46 -0
  269. package/lib/gio-form-headers/gio-form-headers.harness.d.ts +39 -0
  270. package/lib/gio-form-headers/gio-form-headers.module.d.ts +20 -0
  271. package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +43 -0
  272. package/lib/gio-form-json-schema/gio-form-json-schema.module.d.ts +35 -0
  273. package/lib/gio-form-json-schema/gio-formly-json-schema.service.d.ts +26 -0
  274. package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +47 -0
  275. package/lib/gio-form-json-schema/model/GioJsonSchemaContext.d.ts +1 -0
  276. package/lib/gio-form-json-schema/type-component/array-type.component.d.ts +10 -0
  277. package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +16 -0
  278. package/lib/gio-form-json-schema/type-component/cron-type.component.d.ts +9 -0
  279. package/lib/gio-form-json-schema/type-component/headers-type.component.d.ts +18 -0
  280. package/lib/gio-form-json-schema/type-component/multischema-type.component.d.ts +13 -0
  281. package/lib/gio-form-json-schema/type-component/null-type.component.d.ts +6 -0
  282. package/lib/gio-form-json-schema/type-component/object-type.component.d.ts +9 -0
  283. package/lib/gio-form-json-schema/type-component/toggle-type.component.d.ts +8 -0
  284. package/lib/gio-form-json-schema/util/validation-message.util.d.ts +15 -0
  285. package/lib/gio-form-json-schema/wrappers/gio-banner-extension.d.ts +2 -0
  286. package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +6 -0
  287. package/lib/gio-form-json-schema/wrappers/gio-el-helper-wrapper.component.d.ts +11 -0
  288. package/lib/gio-form-json-schema/wrappers/gio-password-eye.component.d.ts +12 -0
  289. package/lib/gio-form-selection-inline/gio-form-selection-inline-card-content/gio-form-selection-inline-card-content.component.d.ts +15 -0
  290. package/lib/gio-form-selection-inline/gio-form-selection-inline-card.component.d.ts +17 -0
  291. package/lib/gio-form-selection-inline/gio-form-selection-inline-card.harness.d.ts +19 -0
  292. package/lib/gio-form-selection-inline/gio-form-selection-inline.component.d.ts +20 -0
  293. package/lib/gio-form-selection-inline/gio-form-selection-inline.harness.d.ts +26 -0
  294. package/lib/gio-form-selection-inline/gio-form-selection-inline.module.d.ts +14 -0
  295. package/lib/gio-form-selection-inline/public-api.d.ts +6 -0
  296. package/lib/gio-form-slide-toggle/gio-form-label.directive.d.ts +13 -0
  297. package/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.d.ts +15 -0
  298. package/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.d.ts +9 -0
  299. package/lib/gio-form-tags-input/gio-form-tags-input.component.d.ts +95 -0
  300. package/lib/gio-form-tags-input/gio-form-tags-input.harness.d.ts +23 -0
  301. package/lib/gio-form-tags-input/gio-form-tags-input.module.d.ts +16 -0
  302. package/lib/gio-icons/gio-icons.module.d.ts +11 -0
  303. package/lib/gio-license/gio-license-dialog/gio-license-dialog.component.d.ts +16 -0
  304. package/lib/gio-license/gio-license-dialog/gio-license-dialog.module.d.ts +12 -0
  305. package/lib/gio-license/gio-license.directive.d.ts +24 -0
  306. package/lib/gio-license/gio-license.module.d.ts +10 -0
  307. package/lib/gio-license/gio-license.service.d.ts +58 -0
  308. package/lib/gio-license/gio-license.testing.module.d.ts +24 -0
  309. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +17 -0
  310. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.d.ts +13 -0
  311. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.d.ts +11 -0
  312. package/lib/gio-loader/gio-loader.component.d.ts +5 -0
  313. package/lib/gio-loader/gio-loader.module.d.ts +9 -0
  314. package/lib/gio-mat-config/gio-mat-config.module.d.ts +6 -0
  315. package/lib/gio-mat-config/index.d.ts +1 -0
  316. package/lib/gio-monaco-editor/gio-monaco-clipboard-copy.component.d.ts +7 -0
  317. package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +45 -0
  318. package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +67 -0
  319. package/lib/gio-monaco-editor/gio-monaco-editor.harness.d.ts +19 -0
  320. package/lib/gio-monaco-editor/gio-monaco-editor.module.d.ts +20 -0
  321. package/lib/gio-monaco-editor/gio-monaco-editor.testing.component.d.ts +12 -0
  322. package/lib/gio-monaco-editor/models/GioMonacoEditorConfig.d.ts +7 -0
  323. package/lib/gio-monaco-editor/models/JSONSchemaAutoComplete.d.ts +39 -0
  324. package/lib/gio-monaco-editor/models/MonacoEditorTheme.d.ts +1 -0
  325. package/lib/gio-monaco-editor/services/gio-language-el.service.d.ts +18 -0
  326. package/lib/gio-monaco-editor/services/gio-language-json.service.d.ts +18 -0
  327. package/lib/gio-monaco-editor/services/gio-monaco-editor.service.d.ts +19 -0
  328. package/lib/gio-pipe/gio.pipe.module.d.ts +7 -0
  329. package/lib/gio-pipe/safe.pipe.d.ts +10 -0
  330. package/lib/gio-popover/gio-popover-trigger.directive.d.ts +12 -0
  331. package/lib/gio-popover/gio-popover.component.d.ts +15 -0
  332. package/lib/gio-popover/index.d.ts +2 -0
  333. package/lib/gio-popover/public-api.d.ts +2 -0
  334. package/lib/gio-prismjs/gio-prismjs.service.d.ts +14 -0
  335. package/lib/gio-save-bar/gio-save-bar.component.d.ts +30 -0
  336. package/lib/gio-save-bar/gio-save-bar.harness.d.ts +15 -0
  337. package/lib/gio-save-bar/gio-save-bar.module.d.ts +10 -0
  338. package/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.d.ts +5 -0
  339. package/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.d.ts +5 -0
  340. package/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +19 -0
  341. package/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.d.ts +5 -0
  342. package/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.d.ts +5 -0
  343. package/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.component.d.ts +25 -0
  344. package/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.harness.d.ts +10 -0
  345. package/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.service.d.ts +9 -0
  346. package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.d.ts +17 -0
  347. package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.harness.d.ts +8 -0
  348. package/lib/oem-theme/gio-menu/gio-menu.component.d.ts +14 -0
  349. package/lib/oem-theme/gio-menu/gio-menu.module.d.ts +21 -0
  350. package/lib/oem-theme/gio-menu/gio-menu.service.d.ts +18 -0
  351. package/lib/oem-theme/gio-menu/index.d.ts +13 -0
  352. package/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.d.ts +8 -0
  353. package/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.d.ts +9 -0
  354. package/lib/oem-theme/gio-submenu/gio-submenu.component.d.ts +28 -0
  355. package/lib/oem-theme/gio-submenu/gio-submenu.module.d.ts +12 -0
  356. package/lib/oem-theme/gio-submenu/index.d.ts +4 -0
  357. package/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.d.ts +8 -0
  358. package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.d.ts +7 -0
  359. package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.d.ts +10 -0
  360. package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.d.ts +5 -0
  361. package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.d.ts +8 -0
  362. package/lib/oem-theme/gio-top-bar/gio-top-bar.component.d.ts +8 -0
  363. package/lib/oem-theme/gio-top-bar/gio-top-bar.module.d.ts +11 -0
  364. package/lib/oem-theme/gio-top-bar/index.d.ts +7 -0
  365. package/lib/oem-theme/oem-theme.service.d.ts +22 -0
  366. package/lib/oem-theme/public-api.d.ts +4 -0
  367. package/lib/public-api.d.ts +66 -0
  368. package/package.json +19 -11
  369. package/public-api.d.ts +1 -0
  370. package/src/scss/gio-mat-theme.scss +1 -2
  371. package/testing/harnesses/div.harness.d.ts +21 -0
  372. package/testing/harnesses/index.d.ts +2 -0
  373. package/testing/harnesses/span.harness.d.ts +21 -0
  374. package/testing/index.d.ts +5 -47
  375. package/testing/public-api.d.ts +1 -0
@@ -0,0 +1,26 @@
1
+ import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import { GioPrismJsService } from '@gravitee/ui-particles-angular';
5
+ import { GioAsciidoctorService } from './gio-asciidoctor.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class GioAsciidoctorComponent implements OnChanges, OnDestroy {
8
+ private readonly gioAsciidoctorService;
9
+ private readonly gioPrismJsService;
10
+ private readonly sanitizer;
11
+ private readonly elementRef;
12
+ private readonly httpClient;
13
+ private readonly appId;
14
+ content?: string;
15
+ src?: string;
16
+ private options;
17
+ private asciidoctor$;
18
+ private unsubscribe$;
19
+ private _uniqueId;
20
+ constructor(gioAsciidoctorService: GioAsciidoctorService, gioPrismJsService: GioPrismJsService, sanitizer: DomSanitizer, elementRef: ElementRef, httpClient: HttpClient, appId: string);
21
+ ngOnChanges(changes: SimpleChanges): void;
22
+ ngOnDestroy(): void;
23
+ private render;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioAsciidoctorComponent, "gio-asciidoctor", never, { "content": { "alias": "content"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, false, never>;
26
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./gio-asciidoctor.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class GioAsciidoctorModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GioAsciidoctorModule, [typeof i1.GioAsciidoctorComponent], [typeof i2.CommonModule], [typeof i1.GioAsciidoctorComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<GioAsciidoctorModule>;
8
+ }
@@ -0,0 +1,14 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Asciidoctor } from '@asciidoctor/core';
3
+ import * as i0 from "@angular/core";
4
+ declare global {
5
+ interface Window {
6
+ _gioAsciidoctor: Asciidoctor;
7
+ }
8
+ }
9
+ export declare class GioAsciidoctorService {
10
+ load(): Observable<Asciidoctor>;
11
+ private loadAsciidoctor;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<GioAsciidoctorService>;
14
+ }
@@ -1,49 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import { OnChanges, OnDestroy, ElementRef, SimpleChanges } from '@angular/core';
3
- import { HttpClient } from '@angular/common/http';
4
- import { DomSanitizer } from '@angular/platform-browser';
5
- import { GioPrismJsService } from '@gravitee/ui-particles-angular';
6
- import { Observable } from 'rxjs';
7
- import { Asciidoctor } from '@asciidoctor/core';
8
- import * as i2 from '@angular/common';
9
-
10
- declare global {
11
- interface Window {
12
- _gioAsciidoctor: Asciidoctor;
13
- }
14
- }
15
- declare class GioAsciidoctorService {
16
- load(): Observable<Asciidoctor>;
17
- private loadAsciidoctor;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<GioAsciidoctorService>;
20
- }
21
-
22
- declare class GioAsciidoctorComponent implements OnChanges, OnDestroy {
23
- private readonly gioAsciidoctorService;
24
- private readonly gioPrismJsService;
25
- private readonly sanitizer;
26
- private readonly elementRef;
27
- private readonly httpClient;
28
- private readonly appId;
29
- content?: string;
30
- src?: string;
31
- private options;
32
- private asciidoctor$;
33
- private unsubscribe$;
34
- private _uniqueId;
35
- constructor(gioAsciidoctorService: GioAsciidoctorService, gioPrismJsService: GioPrismJsService, sanitizer: DomSanitizer, elementRef: ElementRef, httpClient: HttpClient, appId: string);
36
- ngOnChanges(changes: SimpleChanges): void;
37
- ngOnDestroy(): void;
38
- private render;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<GioAsciidoctorComponent, "gio-asciidoctor", never, { "content": { "alias": "content"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, false, never>;
41
- }
42
-
43
- declare class GioAsciidoctorModule {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<GioAsciidoctorModule, [typeof GioAsciidoctorComponent], [typeof i2.CommonModule], [typeof GioAsciidoctorComponent]>;
46
- static ɵinj: i0.ɵɵInjectorDeclaration<GioAsciidoctorModule>;
47
- }
48
-
49
- export { GioAsciidoctorComponent, GioAsciidoctorModule, GioAsciidoctorService };
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@gravitee/ui-particles-angular/gio-asciidoctor" />
5
+ export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export * from './gio-asciidoctor.module';
2
+ export * from './gio-asciidoctor.component';
3
+ export * from './gio-asciidoctor.service';
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ConditionForm, ConditionGroupForm } from '../gio-el-editor.component';
4
+ import { ConditionsModel } from '../../models/ConditionsModel';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GioElEditorConditionGroupComponent {
7
+ conditionGroupFormGroup: FormGroup<ConditionGroupForm>;
8
+ /**
9
+ * Conditions model to generate the fields for the conditions.
10
+ */
11
+ conditionsModel: ConditionsModel;
12
+ /**
13
+ * Level of the node in the tree. Useful for testing with Harness to limit the scope of the query.
14
+ */
15
+ nodeLvl: number;
16
+ remove: EventEmitter<void>;
17
+ protected addConditionGroup(): void;
18
+ protected addCondition(): void;
19
+ protected removeCondition(conditionIndex: number): void;
20
+ protected removeConditionGroup(): void;
21
+ protected isConditionGroupForm(formGroup: FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>): formGroup is FormGroup<ConditionGroupForm>;
22
+ private checkMultipleCondition;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorConditionGroupComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorConditionGroupComponent, "gio-el-editor-condition-group", never, { "conditionGroupFormGroup": { "alias": "conditionGroupFormGroup"; "required": true; }; "conditionsModel": { "alias": "conditionsModel"; "required": true; }; "nodeLvl": { "alias": "nodeLvl"; "required": false; }; }, { "remove": "remove"; }, never, never, true, never>;
25
+ }
@@ -0,0 +1,36 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
+ type ConditionGroupHarnessValues = {
3
+ condition: 'AND' | 'OR';
4
+ conditions: (ConditionGroupHarnessValues | ConditionHarnessValues)[];
5
+ };
6
+ type ConditionHarnessValues = {
7
+ field: {
8
+ field: string;
9
+ key1?: string;
10
+ key2?: string;
11
+ };
12
+ operator?: string;
13
+ value?: string | boolean | number;
14
+ };
15
+ export declare class GioElEditorConditionGroupHarness extends ComponentHarness {
16
+ static hostSelector: string;
17
+ static with(options?: BaseHarnessFilters): HarnessPredicate<GioElEditorConditionGroupHarness>;
18
+ getNodeLvl: () => Promise<string | null>;
19
+ private getAddMenuButton;
20
+ private getConditionButtonToggleGroup;
21
+ private getConditionsHarness;
22
+ private getConditionHarness;
23
+ private getConditionTypeHarness;
24
+ private getConditionField;
25
+ clickAddNewConditionButton(): Promise<void>;
26
+ clickAddNewGroupButton(): Promise<void>;
27
+ getConditionValue(): Promise<'AND' | 'OR'>;
28
+ selectConditionValue(operator: 'AND' | 'OR'): Promise<void>;
29
+ selectConditionField(index: number, field: string, key1?: string, key2?: string): Promise<void>;
30
+ selectConditionOperator(index: number, operator: string): Promise<void>;
31
+ getConditionAvailableOperators(index: number): Promise<string[]>;
32
+ setConditionValue(index: number, value: string | boolean | number | Date): Promise<void>;
33
+ getConditionGroup(index: number): Promise<GioElEditorConditionGroupHarness>;
34
+ getConditions(): Promise<ConditionGroupHarnessValues>;
35
+ }
36
+ export {};
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormArray, FormControl, FormGroup } from '@angular/forms';
3
+ import { ConditionModel } from '../models/ConditionModel';
4
+ import { ConditionsModel } from '../models/ConditionsModel';
5
+ import { Operator } from '../models/Operator';
6
+ import * as i0 from "@angular/core";
7
+ export type ConditionForm = {
8
+ field: FormControl<ConditionModel | null>;
9
+ operator: FormControl<Operator | null>;
10
+ value: FormControl<string | boolean | Date | number | null>;
11
+ };
12
+ export type ConditionGroupForm = {
13
+ condition: FormControl<'AND' | 'OR'>;
14
+ conditions: FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>;
15
+ };
16
+ export declare class GioElEditorComponent implements OnInit {
17
+ private readonly destroyRef;
18
+ conditionsModel: ConditionsModel;
19
+ elChange: EventEmitter<string>;
20
+ protected conditionGroupFormGroup: FormGroup<ConditionGroupForm>;
21
+ protected elOutput?: string;
22
+ ngOnInit(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorComponent, "gio-el-editor", never, { "conditionsModel": { "alias": "conditionsModel"; "required": true; }; }, { "elChange": "elChange"; }, never, never, true, never>;
25
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
+ import { GioElEditorConditionGroupHarness } from './gio-el-editor-condition-group/gio-el-editor-condition-group.harness';
3
+ export declare class GioElEditorHarness extends ComponentHarness {
4
+ static hostSelector: string;
5
+ getMainConditionGroup: import("@angular/cdk/harness-environment.d-4d615248").A<GioElEditorConditionGroupHarness>;
6
+ static with(options?: BaseHarnessFilters): HarnessPredicate<GioElEditorHarness>;
7
+ }
@@ -0,0 +1,70 @@
1
+ import { SimpleChanges, OnChanges, ElementRef, OnDestroy } from '@angular/core';
2
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
3
+ import { MatFormFieldControl } from '@angular/material/form-field';
4
+ import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
5
+ import { Observable, Subject } from 'rxjs';
6
+ import { BooleanInput } from '@angular/cdk/coercion';
7
+ import { FocusMonitor } from '@angular/cdk/a11y';
8
+ import { ConditionModel } from '../../models/ConditionModel';
9
+ import { ConditionsModel } from '../../models/ConditionsModel';
10
+ import * as i0 from "@angular/core";
11
+ type FieldAutocompleteOption = ConditionModel;
12
+ type FieldAutocompleteGroup = {
13
+ field: string;
14
+ label: string;
15
+ options: FieldAutocompleteOption[];
16
+ };
17
+ type FieldAutocompleteModel = (FieldAutocompleteOption | FieldAutocompleteGroup)[];
18
+ type Key1AutocompleteValue = {
19
+ value: string;
20
+ label: string;
21
+ };
22
+ export declare class GioElFieldComponent implements OnChanges, MatFormFieldControl<ConditionModel>, ControlValueAccessor, OnDestroy {
23
+ readonly ngControl: NgControl;
24
+ private elementRef;
25
+ private focusMonitor;
26
+ private readonly destroyRef;
27
+ conditionsModel: ConditionsModel;
28
+ protected fieldFilteredOptions$: Observable<FieldAutocompleteModel>;
29
+ protected key1FilteredOptions$: Observable<Key1AutocompleteValue[]>;
30
+ protected selectedConditionModel: ConditionModel | null;
31
+ protected fieldFormControl: FormControl<ConditionModel | null>;
32
+ protected key1FormControl: FormControl<string | null>;
33
+ protected key2FormControl: FormControl<string | null>;
34
+ set value(_value: ConditionModel | null);
35
+ stateChanges: Subject<void>;
36
+ static nextId: number;
37
+ id: string;
38
+ get placeholder(): string;
39
+ set placeholder(plh: string);
40
+ private _placeholder;
41
+ focused: boolean;
42
+ get empty(): boolean;
43
+ get shouldLabelFloat(): boolean;
44
+ get required(): boolean;
45
+ set required(req: boolean);
46
+ private _required;
47
+ get disabled(): boolean;
48
+ set disabled(value: BooleanInput);
49
+ private _disabled;
50
+ touched: boolean;
51
+ get errorState(): boolean;
52
+ controlType: string;
53
+ userAriaDescribedBy?: string | undefined;
54
+ setDescribedByIds(ids: string[]): void;
55
+ protected _onChange: (_value: ConditionModel | null) => void;
56
+ protected _onTouched: () => void;
57
+ constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>, focusMonitor: FocusMonitor);
58
+ ngOnChanges(changes: SimpleChanges): void;
59
+ displayFn(option: FieldAutocompleteOption | FieldAutocompleteGroup): string;
60
+ onFieldSelected($event: MatAutocompleteSelectedEvent): void;
61
+ writeValue(): void;
62
+ registerOnChange(fn: (value: ConditionModel | null) => void): void;
63
+ registerOnTouched(fn: () => void): void;
64
+ setDisabledState(isDisabled: boolean): void;
65
+ onContainerClick(event: MouseEvent): void;
66
+ ngOnDestroy(): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElFieldComponent, [{ optional: true; self: true; }, null, null]>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElFieldComponent, "gio-el-field", never, { "conditionsModel": { "alias": "conditionsModel"; "required": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
69
+ }
70
+ export {};
@@ -0,0 +1,14 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
+ export declare class GioElFieldHarness extends ComponentHarness {
3
+ static hostSelector: string;
4
+ static with(options?: BaseHarnessFilters): HarnessPredicate<GioElFieldHarness>;
5
+ private getAutocomplete;
6
+ private getKey1Input;
7
+ private getKey2Input;
8
+ setValue(field: string, key1?: string, key2?: string): Promise<void>;
9
+ getValue(): Promise<{
10
+ field: string;
11
+ key1?: string;
12
+ key2?: string;
13
+ }>;
14
+ }
@@ -0,0 +1,15 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { Operator } from '../../../models/Operator';
4
+ import { ConditionForm } from '../../gio-el-editor.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GioElEditorTypeBooleanComponent implements OnChanges {
7
+ conditionFormGroup: FormGroup<ConditionForm>;
8
+ protected operators: {
9
+ label: string;
10
+ value: Operator;
11
+ }[];
12
+ ngOnChanges(changes: SimpleChanges): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorTypeBooleanComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorTypeBooleanComponent, "gio-el-editor-type-boolean", never, { "conditionFormGroup": { "alias": "conditionFormGroup"; "required": true; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,6 @@
1
+ import { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';
2
+ export declare class GioElEditorTypeBooleanHarness extends GioElEditorTypeComponentHarness {
3
+ static hostSelector: string;
4
+ getValue(): Promise<boolean>;
5
+ setValue(value: boolean): Promise<void>;
6
+ }
@@ -0,0 +1,17 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { Operator } from '../../../models/Operator';
4
+ import { ConditionForm } from '../../gio-el-editor.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GioElEditorTypeDateComponent implements OnChanges {
7
+ private readonly destroyRef;
8
+ conditionFormGroup: FormGroup<ConditionForm>;
9
+ protected operators: {
10
+ label: string;
11
+ value: Operator;
12
+ }[];
13
+ protected datepickerControl: FormControl<any>;
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorTypeDateComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorTypeDateComponent, "gio-el-editor-type-date", never, { "conditionFormGroup": { "alias": "conditionFormGroup"; "required": true; }; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,6 @@
1
+ import { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';
2
+ export declare class GioElEditorTypeDateHarness extends GioElEditorTypeComponentHarness {
3
+ static hostSelector: string;
4
+ getValue(): Promise<string>;
5
+ setValue(value: Date): Promise<void>;
6
+ }
@@ -0,0 +1,17 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ConditionForm } from '../../gio-el-editor.component';
4
+ import { Operator } from '../../../models/Operator';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GioElEditorTypeNumberComponent implements OnChanges {
7
+ conditionFormGroup: FormGroup<ConditionForm>;
8
+ protected operators: {
9
+ label: string;
10
+ value: Operator;
11
+ }[];
12
+ protected min: number | null;
13
+ protected max: number | null;
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorTypeNumberComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorTypeNumberComponent, "gio-el-editor-type-number", never, { "conditionFormGroup": { "alias": "conditionFormGroup"; "required": true; }; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,6 @@
1
+ import { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';
2
+ export declare class GioElEditorTypeNumberHarness extends GioElEditorTypeComponentHarness {
3
+ static hostSelector: string;
4
+ getValue(): Promise<number>;
5
+ setValue(value: number): Promise<void>;
6
+ }
@@ -0,0 +1,23 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { ConditionForm } from '../../gio-el-editor.component';
5
+ import { Operator } from '../../../models/Operator';
6
+ import * as i0 from "@angular/core";
7
+ type AutocompleteValue = {
8
+ value: string;
9
+ label: string;
10
+ };
11
+ export declare class GioElEditorTypeStringComponent implements OnChanges {
12
+ private readonly destroyRef;
13
+ conditionFormGroup: FormGroup<ConditionForm>;
14
+ protected operators: {
15
+ label: string;
16
+ value: Operator;
17
+ }[];
18
+ protected filteredOptions$: Observable<AutocompleteValue[]>;
19
+ ngOnChanges(changes: SimpleChanges): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorTypeStringComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorTypeStringComponent, "gio-el-editor-type-string", never, { "conditionFormGroup": { "alias": "conditionFormGroup"; "required": true; }; }, {}, never, never, true, never>;
22
+ }
23
+ export {};
@@ -0,0 +1,6 @@
1
+ import { GioElEditorTypeComponentHarness } from '../gio-el-editor-type.harness';
2
+ export declare class GioElEditorTypeStringHarness extends GioElEditorTypeComponentHarness {
3
+ static hostSelector: string;
4
+ getValue(): Promise<string>;
5
+ setValue(value: string): Promise<void>;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { ComponentHarness } from '@angular/cdk/testing';
2
+ import { MatSelectHarness } from '@angular/material/select/testing';
3
+ export declare abstract class GioElEditorTypeComponentHarness extends ComponentHarness {
4
+ getOperatorSelector: import("@angular/cdk/harness-environment.d-4d615248").A<MatSelectHarness>;
5
+ getAvailableOperators(): Promise<string[]>;
6
+ selectOperator(operator: string): Promise<void>;
7
+ getOperatorValue(): Promise<string>;
8
+ abstract getValue(): Promise<string | boolean | number>;
9
+ abstract setValue(value: string | boolean | number | Date): Promise<void>;
10
+ }
package/gio-el/index.d.ts CHANGED
@@ -1,146 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter } from '@angular/core';
3
- import { FormGroup, FormControl, FormArray } from '@angular/forms';
4
- import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing';
5
-
6
- type ConditionType = 'string' | 'number' | 'date' | 'boolean';
7
- type ConditionModelBase<T extends ConditionType> = {
8
- field: string;
9
- label: string;
10
- type: T;
11
- map?: {
12
- type: 'Map';
13
- key1Values?: string[] | {
14
- value: string;
15
- label: string;
16
- }[];
17
- key1Value?: string | null;
18
- } | {
19
- type: 'MultiMap';
20
- key1Value?: string | null;
21
- key1Values?: string[];
22
- key2Value?: string | null;
23
- };
24
- };
25
- type StringConditionModel = ConditionModelBase<'string'> & {
26
- values?: string[] | {
27
- value: string;
28
- label: string;
29
- }[];
30
- };
31
- type NumberConditionModel = ConditionModelBase<'number'> & {
32
- min?: number;
33
- max?: number;
34
- };
35
- type DateConditionModel = ConditionModelBase<'date'>;
36
- type BooleanConditionModel = ConditionModelBase<'boolean'>;
37
- type ConditionModel = StringConditionModel | NumberConditionModel | DateConditionModel | BooleanConditionModel;
38
-
39
- type ParentConditionModel = {
40
- field: string;
41
- label: string;
42
- conditions: (ParentConditionModel | ConditionModel)[];
43
- };
44
- type ConditionsModel = (ParentConditionModel | ConditionModel)[];
45
- declare const isConditionModel: (conditions: ParentConditionModel | ConditionModel) => conditions is ConditionModel;
46
-
47
- type Operator = 'EQUALS' | 'NOT_EQUALS' | 'LESS_THAN' | 'LESS_THAN_OR_EQUALS' | 'GREATER_THAN' | 'GREATER_THAN_OR_EQUALS' | 'CONTAINS' | 'NOT_CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH';
48
-
49
- type ConditionForm = {
50
- field: FormControl<ConditionModel | null>;
51
- operator: FormControl<Operator | null>;
52
- value: FormControl<string | boolean | Date | number | null>;
53
- };
54
- type ConditionGroupForm = {
55
- condition: FormControl<'AND' | 'OR'>;
56
- conditions: FormArray<FormGroup<ConditionForm> | FormGroup<ConditionGroupForm>>;
57
- };
58
- declare class GioElEditorComponent implements OnInit {
59
- private readonly destroyRef;
60
- conditionsModel: ConditionsModel;
61
- elChange: EventEmitter<string>;
62
- protected conditionGroupFormGroup: FormGroup<ConditionGroupForm>;
63
- protected elOutput?: string;
64
- ngOnInit(): void;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<GioElEditorComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<GioElEditorComponent, "gio-el-editor", never, { "conditionsModel": { "alias": "conditionsModel"; "required": true; }; }, { "elChange": "elChange"; }, never, never, true, never>;
67
- }
68
-
69
- type ConditionGroupHarnessValues = {
70
- condition: 'AND' | 'OR';
71
- conditions: (ConditionGroupHarnessValues | ConditionHarnessValues)[];
72
- };
73
- type ConditionHarnessValues = {
74
- field: {
75
- field: string;
76
- key1?: string;
77
- key2?: string;
78
- };
79
- operator?: string;
80
- value?: string | boolean | number;
81
- };
82
- declare class GioElEditorConditionGroupHarness extends ComponentHarness {
83
- static hostSelector: string;
84
- static with(options?: BaseHarnessFilters): HarnessPredicate<GioElEditorConditionGroupHarness>;
85
- getNodeLvl: () => Promise<string | null>;
86
- private getAddMenuButton;
87
- private getConditionButtonToggleGroup;
88
- private getConditionsHarness;
89
- private getConditionHarness;
90
- private getConditionTypeHarness;
91
- private getConditionField;
92
- clickAddNewConditionButton(): Promise<void>;
93
- clickAddNewGroupButton(): Promise<void>;
94
- getConditionValue(): Promise<'AND' | 'OR'>;
95
- selectConditionValue(operator: 'AND' | 'OR'): Promise<void>;
96
- selectConditionField(index: number, field: string, key1?: string, key2?: string): Promise<void>;
97
- selectConditionOperator(index: number, operator: string): Promise<void>;
98
- getConditionAvailableOperators(index: number): Promise<string[]>;
99
- setConditionValue(index: number, value: string | boolean | number | Date): Promise<void>;
100
- getConditionGroup(index: number): Promise<GioElEditorConditionGroupHarness>;
101
- getConditions(): Promise<ConditionGroupHarnessValues>;
102
- }
103
-
104
- declare class GioElEditorHarness extends ComponentHarness {
105
- static hostSelector: string;
106
- getMainConditionGroup: () => Promise<GioElEditorConditionGroupHarness>;
107
- static with(options?: BaseHarnessFilters): HarnessPredicate<GioElEditorHarness>;
108
- }
109
-
110
- type ConditionValue<T> = T extends 'string' ? string : T extends 'number' ? number : T extends 'date' ? Date : T extends 'boolean' ? boolean : unknown;
111
- declare class Condition<T extends ConditionType> {
112
- field: string | {
113
- field: string;
114
- key1Value?: string;
115
- key2Value?: string;
116
- };
117
- type: T;
118
- operator: Operator;
119
- value?: ConditionValue<T> | undefined;
120
- constructor(field: string | {
121
- field: string;
122
- key1Value?: string;
123
- key2Value?: string;
124
- }, type: T, operator: Operator, value?: ConditionValue<T> | undefined);
125
- }
126
-
127
- declare class ConditionGroup {
128
- condition: 'AND' | 'OR';
129
- conditions: (Condition<ConditionType> | ConditionGroup)[];
130
- constructor(condition: 'AND' | 'OR', conditions: (Condition<ConditionType> | ConditionGroup)[]);
131
- }
132
-
133
- declare class ExpressionLanguageBuilder {
134
- private conditionGroup;
135
- private static CONDITION_MAP;
136
- private static OPERATOR_MAP;
137
- private static buildConditionGroup;
138
- private static buildCondition;
139
- private static valueToString;
140
- private static toFieldString;
141
- constructor(conditionGroup: ConditionGroup);
142
- build(): string;
143
- }
144
-
145
- export { Condition, ExpressionLanguageBuilder, GioElEditorComponent, GioElEditorHarness, isConditionModel };
146
- export type { BooleanConditionModel, ConditionModel, ConditionModelBase, ConditionType, ConditionsModel, DateConditionModel, NumberConditionModel, Operator, ParentConditionModel, StringConditionModel };
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@gravitee/ui-particles-angular/gio-el" />
5
+ export * from './public-api';
@@ -0,0 +1,19 @@
1
+ import { Operator } from './Operator';
2
+ import { ConditionType } from './ConditionModel';
3
+ type ConditionValue<T> = T extends 'string' ? string : T extends 'number' ? number : T extends 'date' ? Date : T extends 'boolean' ? boolean : unknown;
4
+ export declare class Condition<T extends ConditionType> {
5
+ field: string | {
6
+ field: string;
7
+ key1Value?: string;
8
+ key2Value?: string;
9
+ };
10
+ type: T;
11
+ operator: Operator;
12
+ value?: ConditionValue<T> | undefined;
13
+ constructor(field: string | {
14
+ field: string;
15
+ key1Value?: string;
16
+ key2Value?: string;
17
+ }, type: T, operator: Operator, value?: ConditionValue<T> | undefined);
18
+ }
19
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Condition } from './Condition';
2
+ import { ConditionType } from './ConditionModel';
3
+ export declare class ConditionGroup {
4
+ condition: 'AND' | 'OR';
5
+ conditions: (Condition<ConditionType> | ConditionGroup)[];
6
+ constructor(condition: 'AND' | 'OR', conditions: (Condition<ConditionType> | ConditionGroup)[]);
7
+ }
@@ -0,0 +1,32 @@
1
+ export type ConditionType = 'string' | 'number' | 'date' | 'boolean';
2
+ export type ConditionModelBase<T extends ConditionType> = {
3
+ field: string;
4
+ label: string;
5
+ type: T;
6
+ map?: {
7
+ type: 'Map';
8
+ key1Values?: string[] | {
9
+ value: string;
10
+ label: string;
11
+ }[];
12
+ key1Value?: string | null;
13
+ } | {
14
+ type: 'MultiMap';
15
+ key1Value?: string | null;
16
+ key1Values?: string[];
17
+ key2Value?: string | null;
18
+ };
19
+ };
20
+ export type StringConditionModel = ConditionModelBase<'string'> & {
21
+ values?: string[] | {
22
+ value: string;
23
+ label: string;
24
+ }[];
25
+ };
26
+ export type NumberConditionModel = ConditionModelBase<'number'> & {
27
+ min?: number;
28
+ max?: number;
29
+ };
30
+ export type DateConditionModel = ConditionModelBase<'date'>;
31
+ export type BooleanConditionModel = ConditionModelBase<'boolean'>;
32
+ export type ConditionModel = StringConditionModel | NumberConditionModel | DateConditionModel | BooleanConditionModel;
@@ -0,0 +1,8 @@
1
+ import { ConditionModel } from './ConditionModel';
2
+ export type ParentConditionModel = {
3
+ field: string;
4
+ label: string;
5
+ conditions: (ParentConditionModel | ConditionModel)[];
6
+ };
7
+ export type ConditionsModel = (ParentConditionModel | ConditionModel)[];
8
+ export declare const isConditionModel: (conditions: ParentConditionModel | ConditionModel) => conditions is ConditionModel;