@gravitee/ui-components 3.25.3-typescript-bfd8f67 → 3.25.3-typescript-e7256ca

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 (183) hide show
  1. package/package.json +2 -1
  2. package/src/atoms/gv-autocomplete.d.ts +104 -0
  3. package/src/atoms/gv-button.d.ts +109 -0
  4. package/src/atoms/gv-checkbox.d.ts +114 -0
  5. package/src/atoms/gv-date-picker-calendar.d.ts +190 -0
  6. package/src/atoms/gv-date-picker-cell.d.ts +80 -0
  7. package/src/atoms/gv-date-picker.d.ts +194 -0
  8. package/src/atoms/gv-file-upload.d.ts +64 -0
  9. package/src/atoms/gv-icon.d.ts +26 -0
  10. package/src/atoms/gv-image.d.ts +45 -0
  11. package/src/atoms/gv-input-message.d.ts +20 -0
  12. package/src/atoms/gv-input.d.ts +246 -0
  13. package/src/atoms/gv-link.d.ts +67 -0
  14. package/src/atoms/gv-message.d.ts +23 -0
  15. package/src/atoms/gv-metric.d.ts +32 -0
  16. package/src/atoms/gv-relative-time.d.ts +45 -0
  17. package/src/atoms/gv-select-native.d.ts +174 -0
  18. package/src/atoms/gv-select.d.ts +71 -0
  19. package/src/atoms/gv-spinner.d.ts +10 -0
  20. package/src/atoms/gv-state.d.ts +50 -0
  21. package/src/atoms/gv-switch.d.ts +60 -0
  22. package/src/atoms/gv-tag.d.ts +69 -0
  23. package/src/atoms/gv-text.d.ts +110 -0
  24. package/src/charts/gv-chart-bar.d.ts +50 -0
  25. package/src/charts/gv-chart-gauge.d.ts +58 -0
  26. package/src/charts/gv-chart-histogram.d.ts +48 -0
  27. package/src/charts/gv-chart-line.d.ts +52 -0
  28. package/src/charts/gv-chart-map.d.ts +50 -0
  29. package/src/charts/gv-chart-pie.d.ts +50 -0
  30. package/src/index.d.ts +77 -0
  31. package/src/lib/cron-expression.d.ts +1 -0
  32. package/src/lib/date.d.ts +1 -0
  33. package/src/lib/events.d.ts +1 -0
  34. package/src/lib/http-client-schema-form.d.ts +68 -0
  35. package/src/lib/http.d.ts +222 -0
  36. package/src/lib/i18n.d.ts +30 -0
  37. package/src/lib/item.d.ts +12 -0
  38. package/src/lib/properties.d.ts +42 -0
  39. package/src/lib/schema-form.d.ts +5 -0
  40. package/src/lib/studio.d.ts +2 -0
  41. package/src/lib/style.d.ts +6 -0
  42. package/src/lib/text-format.d.ts +6 -0
  43. package/src/lib/theme.d.ts +4 -0
  44. package/src/lib/utils.d.ts +9 -0
  45. package/src/mixins/chart-element.d.ts +39 -0
  46. package/src/mixins/input-element.d.ts +64 -0
  47. package/src/mixins/item-resource.d.ts +56 -0
  48. package/src/mixins/keyboard-element.d.ts +25 -0
  49. package/src/mixins/update-after-browser.d.ts +11 -0
  50. package/src/mixins/with-resize-observer.d.ts +12 -0
  51. package/src/mixins/with-skeleton-attribute.d.ts +35 -0
  52. package/src/molecules/gv-card-full.d.ts +78 -0
  53. package/src/molecules/gv-card-list.d.ts +33 -0
  54. package/src/molecules/gv-card.d.ts +65 -0
  55. package/src/molecules/gv-category-list.d.ts +17 -0
  56. package/src/molecules/gv-category.d.ts +64 -0
  57. package/src/molecules/gv-code.d.ts +192 -0
  58. package/src/molecules/gv-confirm.d.ts +60 -0
  59. package/src/molecules/gv-cron-editor.d.ts +115 -0
  60. package/src/molecules/gv-dropdown-menu.d.ts +28 -0
  61. package/src/molecules/gv-expandable.d.ts +37 -0
  62. package/src/molecules/gv-expression-language.d.ts +150 -0
  63. package/src/molecules/gv-identity-picture.d.ts +44 -0
  64. package/src/molecules/gv-list.d.ts +123 -0
  65. package/src/molecules/gv-metrics.d.ts +65 -0
  66. package/src/molecules/gv-modal.d.ts +64 -0
  67. package/src/molecules/gv-nav.d.ts +41 -0
  68. package/src/molecules/gv-option.d.ts +65 -0
  69. package/src/molecules/gv-plans.d.ts +73 -0
  70. package/src/molecules/gv-popover.d.ts +91 -0
  71. package/src/molecules/gv-promote.d.ts +108 -0
  72. package/src/molecules/gv-rating-list.d.ts +77 -0
  73. package/src/molecules/gv-rating.d.ts +55 -0
  74. package/src/molecules/gv-row-expandable.d.ts +8 -0
  75. package/src/molecules/gv-row.d.ts +37 -0
  76. package/src/molecules/gv-stats.d.ts +53 -0
  77. package/src/molecules/gv-stepper.d.ts +46 -0
  78. package/src/molecules/gv-table.d.ts +159 -0
  79. package/src/molecules/gv-tree.d.ts +44 -0
  80. package/src/organisms/gv-documentation.d.ts +52 -0
  81. package/src/organisms/gv-header.d.ts +60 -0
  82. package/src/organisms/gv-http-client.d.ts +57 -0
  83. package/src/organisms/gv-menu.d.ts +74 -0
  84. package/src/organisms/gv-newsletter-subscription.d.ts +82 -0
  85. package/src/organisms/gv-pagination.d.ts +63 -0
  86. package/src/organisms/gv-properties.d.ts +229 -0
  87. package/src/organisms/gv-resizable-views.d.ts +33 -0
  88. package/src/organisms/gv-resources.d.ts +125 -0
  89. package/src/organisms/gv-schema-form-array.d.ts +55 -0
  90. package/src/organisms/gv-schema-form-control-object.d.ts +64 -0
  91. package/src/organisms/gv-schema-form-control.d.ts +90 -0
  92. package/src/organisms/gv-schema-form.d.ts +156 -0
  93. package/src/organisms/gv-tabs.d.ts +56 -0
  94. package/src/organisms/gv-user-menu.d.ts +56 -0
  95. package/src/organisms/gv-vertical-menu.d.ts +28 -0
  96. package/src/policy-studio/gv-flow-step.d.ts +142 -0
  97. package/src/policy-studio/gv-flow.d.ts +89 -0
  98. package/src/policy-studio/gv-policy-studio-menu.d.ts +94 -0
  99. package/src/policy-studio/gv-policy-studio.d.ts +464 -0
  100. package/src/styles/empty.d.ts +1 -0
  101. package/src/styles/input.d.ts +1 -0
  102. package/src/styles/link.d.ts +1 -0
  103. package/src/styles/shapes.d.ts +2 -0
  104. package/src/styles/skeleton.d.ts +1 -0
  105. package/src/styles/zoom.d.ts +1 -0
  106. package/src/theme/gv-theme.d.ts +81 -0
  107. package/wc/gv-autocomplete.d.ts +1 -0
  108. package/wc/gv-button.d.ts +1 -0
  109. package/wc/gv-card-full.d.ts +1 -0
  110. package/wc/gv-card-list.d.ts +1 -0
  111. package/wc/gv-card.d.ts +1 -0
  112. package/wc/gv-category-list.d.ts +1 -0
  113. package/wc/gv-category.d.ts +1 -0
  114. package/wc/gv-chart-bar.d.ts +1 -0
  115. package/wc/gv-chart-gauge.d.ts +1 -0
  116. package/wc/gv-chart-histogram.d.ts +1 -0
  117. package/wc/gv-chart-line.d.ts +1 -0
  118. package/wc/gv-chart-map.d.ts +1 -0
  119. package/wc/gv-chart-pie.d.ts +1 -0
  120. package/wc/gv-checkbox.d.ts +1 -0
  121. package/wc/gv-code.d.ts +1 -0
  122. package/wc/gv-confirm.d.ts +1 -0
  123. package/wc/gv-cron-editor.d.ts +1 -0
  124. package/wc/gv-date-picker-calendar.d.ts +1 -0
  125. package/wc/gv-date-picker-cell.d.ts +1 -0
  126. package/wc/gv-date-picker.d.ts +1 -0
  127. package/wc/gv-documentation.d.ts +1 -0
  128. package/wc/gv-dropdown-menu.d.ts +1 -0
  129. package/wc/gv-expandable.d.ts +1 -0
  130. package/wc/gv-expression-language.d.ts +1 -0
  131. package/wc/gv-file-upload.d.ts +1 -0
  132. package/wc/gv-flow-step.d.ts +1 -0
  133. package/wc/gv-flow.d.ts +1 -0
  134. package/wc/gv-header.d.ts +1 -0
  135. package/wc/gv-http-client.d.ts +1 -0
  136. package/wc/gv-icon.d.ts +1 -0
  137. package/wc/gv-identity-picture.d.ts +1 -0
  138. package/wc/gv-image.d.ts +1 -0
  139. package/wc/gv-input-message.d.ts +1 -0
  140. package/wc/gv-input.d.ts +1 -0
  141. package/wc/gv-link.d.ts +1 -0
  142. package/wc/gv-list.d.ts +1 -0
  143. package/wc/gv-menu.d.ts +1 -0
  144. package/wc/gv-message.d.ts +1 -0
  145. package/wc/gv-metric.d.ts +1 -0
  146. package/wc/gv-metrics.d.ts +1 -0
  147. package/wc/gv-modal.d.ts +1 -0
  148. package/wc/gv-nav.d.ts +1 -0
  149. package/wc/gv-newsletter-subscription.d.ts +1 -0
  150. package/wc/gv-option.d.ts +1 -0
  151. package/wc/gv-pagination.d.ts +1 -0
  152. package/wc/gv-plans.d.ts +1 -0
  153. package/wc/gv-policy-studio-menu.d.ts +1 -0
  154. package/wc/gv-policy-studio.d.ts +1 -0
  155. package/wc/gv-popover.d.ts +1 -0
  156. package/wc/gv-promote.d.ts +1 -0
  157. package/wc/gv-properties.d.ts +1 -0
  158. package/wc/gv-rating-list.d.ts +1 -0
  159. package/wc/gv-rating.d.ts +1 -0
  160. package/wc/gv-relative-time.d.ts +1 -0
  161. package/wc/gv-resizable-views.d.ts +1 -0
  162. package/wc/gv-resources.d.ts +1 -0
  163. package/wc/gv-row-expandable.d.ts +1 -0
  164. package/wc/gv-row.d.ts +1 -0
  165. package/wc/gv-schema-form-array.d.ts +1 -0
  166. package/wc/gv-schema-form-control-object.d.ts +1 -0
  167. package/wc/gv-schema-form-control.d.ts +1 -0
  168. package/wc/gv-schema-form.d.ts +1 -0
  169. package/wc/gv-select-native.d.ts +1 -0
  170. package/wc/gv-select.d.ts +1 -0
  171. package/wc/gv-spinner.d.ts +1 -0
  172. package/wc/gv-state.d.ts +1 -0
  173. package/wc/gv-stats.d.ts +1 -0
  174. package/wc/gv-stepper.d.ts +1 -0
  175. package/wc/gv-switch.d.ts +1 -0
  176. package/wc/gv-table.d.ts +1 -0
  177. package/wc/gv-tabs.d.ts +1 -0
  178. package/wc/gv-tag.d.ts +1 -0
  179. package/wc/gv-text.d.ts +1 -0
  180. package/wc/gv-theme.d.ts +1 -0
  181. package/wc/gv-tree.d.ts +1 -0
  182. package/wc/gv-user-menu.d.ts +1 -0
  183. package/wc/gv-vertical-menu.d.ts +1 -0
@@ -0,0 +1,74 @@
1
+ declare const GvMenu_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _onResize({ width }: {
5
+ width: any;
6
+ }): void;
7
+ connectedCallback(): Promise<void>;
8
+ _unobserveResize: (() => any) | undefined;
9
+ disconnectedCallback(): void;
10
+ };
11
+ [x: string]: any;
12
+ };
13
+ /**
14
+ * A menu
15
+ *
16
+ * ## Details
17
+ * * has @theme facet
18
+ *
19
+ * @fires gv-link:click - Custom event when link click
20
+ *
21
+ * @slot top - The content on top of menu
22
+ * @slot right - The content at right
23
+ * @slot right-transition - The content at right with transition
24
+ *
25
+ * @attr {Array} routes - definition of routes [{active: Boolean, icon: String, path: String, title: Promise<String>]
26
+ * @cssprop {Color} [--gv-menu--c=var(--gv-theme-font-color-light, #ffffff)] - Color
27
+ * @cssprop {Color} [--gv-menu--bgc=var(--gv-theme-color-dark, #28444f)] - Background color.
28
+ * @cssprop {Color} [--gv-menu-link-active--bdc=var(--gv-theme-color-light, #86c3d0)] - Border bottom color of active link.
29
+ * @cssprop {String} [--gv-menu-link-active--bds=solid] - Border bottom style of active link.
30
+ * @cssprop {Length} [--gv-menu-link-active--bdw=0 0 3px 0] - Border bottom width of active link.
31
+ * @cssprop {Color} [--gv-menu-link-active--bgc=transparent] - Active background color
32
+ * @cssprop {Color} [--gv-menu-link--bgc=transparent] - Background color
33
+ * @cssprop {Length} [--gv-menu-link-a--pv=0px] - Link vertical padding
34
+ */
35
+ export class GvMenu extends GvMenu_base {
36
+ static get properties(): {
37
+ /** @required **/
38
+ routes: {
39
+ type: ArrayConstructor;
40
+ };
41
+ sticky: {
42
+ type: BooleanConstructor;
43
+ reflect: boolean;
44
+ };
45
+ _small: {
46
+ type: BooleanConstructor;
47
+ attribute: boolean;
48
+ };
49
+ _routes: {
50
+ type: ArrayConstructor;
51
+ attribute: boolean;
52
+ };
53
+ _hasHeader: {
54
+ type: BooleanConstructor;
55
+ attribute: boolean;
56
+ };
57
+ };
58
+ static get styles(): import("lit").CSSResult[];
59
+ /** @protected */
60
+ protected _routes: any[];
61
+ sticky: boolean;
62
+ breakpoints: {
63
+ width: number[];
64
+ };
65
+ set routes(arg: any);
66
+ onResize({ width }: {
67
+ width: any;
68
+ }): void;
69
+ _small: boolean | undefined;
70
+ render(): import("lit-html").TemplateResult<1>;
71
+ updated(changedProperties: any): void;
72
+ _hasHeader: boolean | undefined;
73
+ }
74
+ export {};
@@ -0,0 +1,82 @@
1
+ /**
2
+ * The newsletter subscription page
3
+ *
4
+ * @fires gv-newsletter-subscription:subscribe - Custom event when link click
5
+ * @fires gv-newsletter-subscription:skip - Custom event when link click
6
+ *
7
+ * @attr {String} title - The title of newsletter subscription container
8
+ * @attr {String} header - The header of newsletter subscription container
9
+ * @attr {String} placeholder - The placeholder used for the email input
10
+ * @attr {String} subscribeLabel - The text of the subscribe button
11
+ * @attr {String} skipLabel - The text of the skip button
12
+ * @attr {Array} taglines - The taglines to promote the newsletter subscription
13
+ * @attr {String} email - The email value
14
+ * @attr {Boolean} disabled - The disabled state of email input
15
+ * @attr {String} githubUrl - The url to github page
16
+ * @attr {String} twitterUrl - The url to twitter page
17
+ * @attr {String} linkedinUrl - The url to linkedin page
18
+ *
19
+ */
20
+ export class GvNewsletterSubscription extends LitElement {
21
+ static get properties(): {
22
+ title: {
23
+ type: StringConstructor;
24
+ };
25
+ header: {
26
+ type: StringConstructor;
27
+ };
28
+ placeholder: {
29
+ type: StringConstructor;
30
+ };
31
+ subscribeLabel: {
32
+ type: StringConstructor;
33
+ attribute: string;
34
+ };
35
+ skipLabel: {
36
+ type: StringConstructor;
37
+ attribute: string;
38
+ };
39
+ taglines: {
40
+ type: ArrayConstructor;
41
+ };
42
+ email: {
43
+ type: StringConstructor;
44
+ };
45
+ disabled: {
46
+ type: BooleanConstructor;
47
+ };
48
+ githubUrl: {
49
+ type: StringConstructor;
50
+ attribute: string;
51
+ };
52
+ twitterUrl: {
53
+ type: StringConstructor;
54
+ attribute: string;
55
+ };
56
+ linkedinUrl: {
57
+ type: StringConstructor;
58
+ attribute: string;
59
+ };
60
+ _invalid: {
61
+ type: BooleanConstructor;
62
+ attribute: boolean;
63
+ };
64
+ };
65
+ static get styles(): import("lit").CSSResult[];
66
+ header: string;
67
+ placeholder: string;
68
+ subscribeLabel: string;
69
+ taglines: string[];
70
+ skipLabel: string;
71
+ email: string;
72
+ disabled: boolean;
73
+ _invalid: boolean;
74
+ githubUrl: string;
75
+ twitterUrl: string;
76
+ linkedinUrl: string;
77
+ _onSubscribe(): void;
78
+ _onSkip(): void;
79
+ _navigateSocial(url: any): void;
80
+ _onInputChange(e: any): void;
81
+ }
82
+ import { LitElement } from "lit-element/lit-element";
@@ -0,0 +1,63 @@
1
+ /**
2
+ * A pagination
3
+ *
4
+ * ## Details
5
+ * * has @theme facet
6
+ *
7
+ * @fires gv-pagination:paginate - Custom event with pagination link
8
+ *
9
+ * @attr {Object} data - Pagination information {first, last, total, current_page}
10
+ * @attr {Boolean} hide-empty - hide component if no page or no data.
11
+ * @attr {Boolean} widget - display widget pagination (with arrows).
12
+ * @attr {Boolean} disabled - same as native button element `disabled` attribute
13
+ *
14
+ * @cssprop {Length} [--gv-pagination--fz=var(--gv-theme-font-size-s, 12px)] - Font size
15
+ * @cssprop {Length} [--gv-pagination-icon--s=18px] - Height and icon width
16
+ */
17
+ export class GvPagination extends LitElement {
18
+ static get properties(): {
19
+ data: {
20
+ type: ObjectConstructor;
21
+ };
22
+ hideEmpty: {
23
+ type: BooleanConstructor;
24
+ attribute: string;
25
+ };
26
+ widget: {
27
+ type: BooleanConstructor;
28
+ };
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ };
32
+ _first: {
33
+ type: NumberConstructor;
34
+ };
35
+ _last: {
36
+ type: NumberConstructor;
37
+ };
38
+ _current: {
39
+ type: NumberConstructor;
40
+ };
41
+ _total: {
42
+ type: NumberConstructor;
43
+ };
44
+ };
45
+ static get styles(): import("lit").CSSResult[];
46
+ hideEmpty: boolean;
47
+ hasInput: boolean;
48
+ max: number;
49
+ center: number;
50
+ sizes: any[];
51
+ links: {};
52
+ set data(arg: any);
53
+ _last: any;
54
+ _current: number | undefined;
55
+ _pages: any;
56
+ _goToPage(page: any): void;
57
+ _onSubmit(e: any): void;
58
+ _onClickToSearch(): void;
59
+ _renderPagination(): import("lit-html").TemplateResult<1>;
60
+ _hasData(): any;
61
+ _hideEmpty(): any;
62
+ }
63
+ import { LitElement } from "lit-element/lit-element";
@@ -0,0 +1,229 @@
1
+ declare const GvProperties_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _controller: {};
5
+ _handleKeyDown: (e: any) => void;
6
+ _handleKeyUp: (e: any) => void;
7
+ connectedCallback(): void;
8
+ disconnectedCallback(): void;
9
+ _onKeyDown(e: any): void;
10
+ _onKeyUp(e: any): void;
11
+ isPressed(...keys: any[]): boolean;
12
+ onKeyboard(controller: any): void;
13
+ };
14
+ [x: string]: any;
15
+ };
16
+ /**
17
+ * A component to manage properties
18
+ *
19
+ * @fires gv-properties:change - When list of properties change
20
+ * @fires gv-properties:save-provider - When user validates provider configuration
21
+ * @fires gv-properties:switch-encrypted - When user switches encryption toggle
22
+ *
23
+ * @attr {Array} properties - Array of Properties {key, value, dynamic?}
24
+ * @attr {Object} provider - Configuration of provider
25
+ * @attr {Array} providers - List of available providers (only http for the moment)
26
+ * @attr {Boolean} expert - For display expert mode by default
27
+ * @attr {Boolean} encryptable - To display the 'encrypted' toggle on each property
28
+ *
29
+ * @cssprop {Length} [--gv-properties-table--colmg=0.2rem] - Table cells margin
30
+ */
31
+ export class GvProperties extends GvProperties_base {
32
+ static get properties(): {
33
+ dynamicPropertySchema: {
34
+ type: ObjectConstructor;
35
+ };
36
+ properties: {
37
+ type: ArrayConstructor;
38
+ };
39
+ _properties: {
40
+ type: ArrayConstructor;
41
+ attribute: boolean;
42
+ };
43
+ provider: {
44
+ type: ObjectConstructor;
45
+ };
46
+ providers: {
47
+ type: ArrayConstructor;
48
+ };
49
+ _propertySchemaForm: {
50
+ type: ObjectConstructor;
51
+ attribute: boolean;
52
+ };
53
+ expert: {
54
+ type: BooleanConstructor;
55
+ };
56
+ _formattedErrors: {
57
+ type: ArrayConstructor;
58
+ attributes: boolean;
59
+ };
60
+ _filter: {
61
+ type: StringConstructor;
62
+ };
63
+ _paginationData: {
64
+ type: ObjectConstructor;
65
+ attribute: boolean;
66
+ };
67
+ _pageSize: {
68
+ type: NumberConstructor;
69
+ attribute: boolean;
70
+ };
71
+ _newItem: {
72
+ type: ObjectConstructor;
73
+ attribute: boolean;
74
+ };
75
+ _providerDocumentation: {
76
+ type: BooleanConstructor;
77
+ attribute: boolean;
78
+ };
79
+ _showDocumentation: {
80
+ type: BooleanConstructor;
81
+ attribute: boolean;
82
+ };
83
+ _textRows: {
84
+ type: NumberConstructor;
85
+ attribute: boolean;
86
+ };
87
+ readonly: {
88
+ type: BooleanConstructor;
89
+ reflect: boolean;
90
+ };
91
+ encryptable: {
92
+ type: BooleanConstructor;
93
+ reflect: boolean;
94
+ };
95
+ };
96
+ static get styles(): import("lit").CSSResult[];
97
+ set properties(arg: any);
98
+ get properties(): any;
99
+ types: any[];
100
+ provider: {};
101
+ _currentResource: any;
102
+ _formattedErrors: any[];
103
+ _showDocumentation: boolean;
104
+ _newItem: {
105
+ key: string;
106
+ value: string;
107
+ _new: boolean;
108
+ };
109
+ _pageSize: number;
110
+ _textRows: number;
111
+ _pageSizes: number[];
112
+ set _errors(arg: any[]);
113
+ get _errors(): any[];
114
+ _properties: any;
115
+ _getResizableViews(): any;
116
+ _maximizeTopView(): void;
117
+ _maximizeBottomView(): void;
118
+ _splitMainViews(): void;
119
+ _isNewLineTable(line: any): boolean;
120
+ _onInputNew(name: any, event: any): void;
121
+ _onInput(): void;
122
+ _onSwitchEncrypted(item: any): void;
123
+ _addProperty(item: any): void;
124
+ _removeProperty(item: any): void;
125
+ _disabledNewLine(item: any): boolean;
126
+ _submitExpertMode(): void;
127
+ _onExpertModeTextInput({ detail }: {
128
+ detail: any;
129
+ }): void;
130
+ _handleExpertModeInput(expertModeInputString: any): any;
131
+ _onSubmitPropertyForm({ detail }: {
132
+ detail: any;
133
+ }): void;
134
+ submit(): void;
135
+ _onSubmit(): void;
136
+ _onConfigureDynamicProperties(): void;
137
+ dynamicPropertySchema: {
138
+ properties: {
139
+ enabled: {
140
+ type: string;
141
+ title: string;
142
+ description: string;
143
+ };
144
+ schedule: {
145
+ type: string;
146
+ title: string;
147
+ 'x-schema-form': {
148
+ 'cron-expression': boolean;
149
+ };
150
+ };
151
+ provider: {
152
+ type: string;
153
+ title: string;
154
+ enum: string[];
155
+ default: string;
156
+ 'x-schema-form': {
157
+ titleMap: any;
158
+ };
159
+ };
160
+ };
161
+ required: string[];
162
+ } | undefined;
163
+ _propertySchemaForm: {
164
+ properties: {
165
+ configuration: any;
166
+ enabled: {
167
+ type: string;
168
+ title: string;
169
+ description: string;
170
+ };
171
+ schedule: {
172
+ type: string;
173
+ title: string;
174
+ 'x-schema-form': {
175
+ 'cron-expression': boolean;
176
+ };
177
+ };
178
+ provider: {
179
+ type: string;
180
+ title: string;
181
+ enum: string[];
182
+ default: string;
183
+ 'x-schema-form': {
184
+ titleMap: any;
185
+ };
186
+ };
187
+ };
188
+ required: string[];
189
+ } | null | undefined;
190
+ _providerDocumentation: any;
191
+ _onClosePropertySchemaForm(): void;
192
+ _onSearchProperty({ detail }: {
193
+ detail: any;
194
+ }): void;
195
+ _filter: any;
196
+ _onClearProperty(): void;
197
+ _renderErrors(withLine?: boolean): import("lit-html").TemplateResult<1>;
198
+ _renderTable(): import("lit-html").TemplateResult<1>;
199
+ _onChangeMode({ detail }: {
200
+ detail: any;
201
+ }): void;
202
+ expert: any;
203
+ _onPaginate({ detail }: {
204
+ detail: any;
205
+ }): void;
206
+ updated(props: any): void;
207
+ _paginationData: {
208
+ first: number;
209
+ last: number;
210
+ total: any;
211
+ current_page: number;
212
+ total_pages: number;
213
+ } | undefined;
214
+ _onChangePageSize({ detail }: {
215
+ detail: any;
216
+ }): void;
217
+ _renderTableForm(): import("lit-html").TemplateResult<1>;
218
+ _fetchDocumentation(): void;
219
+ _hideDocumentation(): void;
220
+ get dirty(): any;
221
+ confirm(): any;
222
+ _renderForm(): import("lit-html").TemplateResult<1>;
223
+ _renderBottom(): import("lit-html").TemplateResult<1>;
224
+ _renderDynamicConfiguration(): string | import("lit-html").TemplateResult<1>;
225
+ _onMove(): void;
226
+ _computeTextRows(): void;
227
+ render(): import("lit-html").TemplateResult<1>;
228
+ }
229
+ export {};
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Resizable views component
3
+ *
4
+ * @fires gv-resizable-views:resize - when user click to resize action
5
+ * @fires gv-resizable-views:move - when user move the resize cursor
6
+ *
7
+ * @slot top - The top content
8
+ * @slot bottom - The bottom content
9
+ *
10
+ * @attr {String} direction - the direction [vertical|horizonal]
11
+ * @attr {Boolean} no-overflow - true if slot containers should have `overflow: hidden`
12
+ */
13
+ export class GvResizableViews extends LitElement {
14
+ static get properties(): {
15
+ direction: {
16
+ type: StringConstructor;
17
+ reflect: boolean;
18
+ };
19
+ noOverflow: {
20
+ type: BooleanConstructor;
21
+ attribute: string;
22
+ };
23
+ };
24
+ static get styles(): import("lit").CSSResult[];
25
+ direction: string;
26
+ split(): void;
27
+ maximizeTop(): void;
28
+ maximizeBottom(): void;
29
+ resize(top?: number, bottom?: number): void;
30
+ resizable(resizer: any): void;
31
+ get shape(): "design:vertical" | "design:horizontal";
32
+ }
33
+ import { LitElement } from "lit-element/lit-element";
@@ -0,0 +1,125 @@
1
+ declare const GvResources_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _controller: {};
5
+ _handleKeyDown: (e: any) => void;
6
+ _handleKeyUp: (e: any) => void;
7
+ connectedCallback(): void;
8
+ disconnectedCallback(): void;
9
+ _onKeyDown(e: any): void;
10
+ _onKeyUp(e: any): void;
11
+ isPressed(...keys: any[]): boolean;
12
+ onKeyboard(controller: any): void;
13
+ };
14
+ [x: string]: any;
15
+ };
16
+ export class GvResources extends GvResources_base {
17
+ static get properties(): {
18
+ resources: {
19
+ type: ArrayConstructor;
20
+ };
21
+ _resources: {
22
+ type: ArrayConstructor;
23
+ attribute: boolean;
24
+ };
25
+ types: {
26
+ type: ArrayConstructor;
27
+ };
28
+ documentation: {
29
+ type: ObjectConstructor;
30
+ };
31
+ _currentResource: {
32
+ type: ObjectConstructor;
33
+ attribute: boolean;
34
+ };
35
+ _currentResourceLoading: {
36
+ type: BooleanConstructor;
37
+ attribute: boolean;
38
+ };
39
+ _filter: {
40
+ type: StringConstructor;
41
+ };
42
+ readonly: {
43
+ type: BooleanConstructor;
44
+ reflect: boolean;
45
+ };
46
+ };
47
+ static get styles(): import("lit").CSSResult[];
48
+ set resources(arg: any);
49
+ get resources(): any;
50
+ types: any[];
51
+ _currentResource: {
52
+ type: any;
53
+ title: string;
54
+ icon: string;
55
+ schema: {
56
+ properties: any;
57
+ required: any[];
58
+ };
59
+ values: {};
60
+ submitLabel: string;
61
+ dirty: boolean;
62
+ _id?: undefined;
63
+ } | {
64
+ _id: any;
65
+ title: string;
66
+ type: any;
67
+ icon: string;
68
+ schema: {
69
+ properties: any;
70
+ required: any[];
71
+ };
72
+ values: any;
73
+ submitLabel: string;
74
+ dirty?: undefined;
75
+ } | null;
76
+ _emptymessage: string;
77
+ firstUpdated(): void;
78
+ _resources: any;
79
+ _generateId(list: any): any;
80
+ _getResizableViews(): any;
81
+ _maximizeTopView(): void;
82
+ _maximizeBottomView(): void;
83
+ _splitMainViews(): void;
84
+ _onCancelResourceForm(): void;
85
+ documentation: any;
86
+ _removeResource(item: any): void;
87
+ _buildResourceSchema(resourceType: any): {
88
+ properties: any;
89
+ required: any[];
90
+ };
91
+ _onCreateResource({ detail }: {
92
+ detail: any;
93
+ }): void;
94
+ _currentResourceLoading: boolean | undefined;
95
+ _onSubmitResourceForm({ detail }: {
96
+ detail: any;
97
+ }): void;
98
+ _onChangeResourceForm({ detail }: {
99
+ detail: any;
100
+ }): void;
101
+ _onResetResourceForm(): void;
102
+ _findResourceById(id: any): any;
103
+ _onSelectResource({ detail: { items } }: {
104
+ detail: {
105
+ items: any;
106
+ };
107
+ }): void;
108
+ _onEditResource(resource: any): void;
109
+ _onCloseDocumentation(): void;
110
+ _getCurrentResourceType(): any;
111
+ _onFetchDocumentation(): void;
112
+ get dirty(): any;
113
+ confirm(): any;
114
+ _onChangeResourceState(item: any, event: any): void;
115
+ _renderForm(): import("lit-html").TemplateResult<1>;
116
+ _renderDoc(): import("lit-html").TemplateResult<1>;
117
+ _renderBottom(): import("lit-html").TemplateResult<1> | undefined;
118
+ _onSearchResource({ detail }: {
119
+ detail: any;
120
+ }): void;
121
+ _filter: any;
122
+ _onClearResource(): void;
123
+ render(): import("lit-html").TemplateResult<1>;
124
+ }
125
+ export {};
@@ -0,0 +1,55 @@
1
+ declare const GvSchemaFormArray_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ performUpdate(): Promise<void>;
5
+ };
6
+ [x: string]: any;
7
+ };
8
+ /**
9
+ * Schema form array component
10
+ *
11
+ */
12
+ export class GvSchemaFormArray extends GvSchemaFormArray_base {
13
+ static get properties(): {
14
+ schema: {
15
+ type: ObjectConstructor;
16
+ };
17
+ value: {
18
+ type: ArrayConstructor;
19
+ };
20
+ id: {
21
+ type: StringConstructor;
22
+ reflect: boolean;
23
+ };
24
+ title: {
25
+ type: StringConstructor;
26
+ reflect: boolean;
27
+ };
28
+ description: {
29
+ type: StringConstructor;
30
+ };
31
+ skeleton: {
32
+ type: BooleanConstructor;
33
+ reflect: boolean;
34
+ };
35
+ errors: {
36
+ type: ArrayConstructor;
37
+ };
38
+ readonly: {
39
+ type: BooleanConstructor;
40
+ reflect: boolean;
41
+ };
42
+ };
43
+ static get styles(): import("lit").CSSResult[];
44
+ value: any[];
45
+ _onNew(): void;
46
+ _onRemove(index: any): void;
47
+ _renderValue(value: any, index: any): import("lit-html").TemplateResult<1>;
48
+ _onMouseLeave(): void;
49
+ getControls(): any[];
50
+ getControl(id: any): any;
51
+ getUpdateComplete(): Promise<void>;
52
+ shouldUpdate(changedProperties: any): any;
53
+ render(): import("lit-html").TemplateResult<1>;
54
+ }
55
+ export {};