@gravitee/ui-components 3.25.3-typescript-bfd8f67 → 3.25.3-yarn-784d7a8

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 +15 -15
  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 +124 -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,42 @@
1
+ export function validateName(name: any): boolean;
2
+ export function parseRaw(rawInput?: string): {
3
+ variables: {
4
+ key: string;
5
+ value: any;
6
+ }[];
7
+ errors: ({
8
+ type: number;
9
+ pos: {
10
+ line: any;
11
+ column: any;
12
+ };
13
+ key?: undefined;
14
+ } | {
15
+ type: number;
16
+ key: string;
17
+ pos: {
18
+ line: any;
19
+ column: any;
20
+ };
21
+ })[];
22
+ };
23
+ export function toNameEqualsValueString(variables: any, options?: {}): any;
24
+ export function toNameValueObject(variables: any): {};
25
+ /**
26
+ * Thanks to https://github.com/CleverCloud/clever-client.js
27
+ *
28
+ * https://stackoverflow.com/questions/2821043/allowed-characters-in-linux-environment-variable-names
29
+ * Default bash/Linux rules are:
30
+ * letters (upper case only)
31
+ * digits (but not for first char)
32
+ * underscores
33
+ * nothing else
34
+ * /^[a-zA-Z_][a-zA-Z0-9_]*$/
35
+ */
36
+ export const ENV_VAR_NAME_REGEX: RegExp;
37
+ export namespace ERROR_TYPES {
38
+ const INVALID_NAME: number;
39
+ const DUPLICATED_NAME: number;
40
+ const INVALID_LINE: number;
41
+ const INVALID_VALUE: number;
42
+ }
@@ -0,0 +1,5 @@
1
+ export function isCodemirror(control: any): any;
2
+ export function isObject(control: any): boolean;
3
+ export function isComplexArray(control: any): boolean;
4
+ export function canInline(schema: any): boolean;
5
+ export function canGrid(schema: any): boolean;
@@ -0,0 +1,2 @@
1
+ export function getFlowName(flow: any, collectionName: any, withMethods?: boolean, draggable?: boolean, compact?: boolean): any[];
2
+ export const methods: import("lit").CSSResult;
@@ -0,0 +1,6 @@
1
+ export function hexToRGB(hex: any): {
2
+ r: number;
3
+ g: number;
4
+ b: number;
5
+ } | null;
6
+ export function getCssVar(element: any, variableName: any, defaultValue: any): any;
@@ -0,0 +1,6 @@
1
+ export function loadAsciiDoctor(): Promise<any>;
2
+ export function setAsciiDoctorAsGlobal(asciidoctor: any, highlightJsExt: any): any;
3
+ export function toDom(text: any, type?: string, small?: boolean): Promise<{
4
+ title: string;
5
+ element: HTMLDivElement;
6
+ } | undefined>;
@@ -0,0 +1,4 @@
1
+ export function applyTheme(theme: any): void;
2
+ export function updateImage(name: any, value: any, defaultValue: any): void;
3
+ export function updateFavicon(value: any, defaultValue: any): void;
4
+ export function getApplicationTypeIcon(type: any): "devices:laptop" | "devices:android" | "devices:server" | "layout:layout-top-panel-2";
@@ -0,0 +1,9 @@
1
+ export function truncate(text: any, limit?: number, suffix?: string): any;
2
+ export function isSameRoutes(routes: any, futureRoutes: any): boolean;
3
+ export function appendDraggableImage(src: any, size?: number, defaultIcon?: string): HTMLDivElement;
4
+ export function flatDeep(arr: any): any;
5
+ export function flatObject(obj: any, prefix?: string): {};
6
+ export function deepClone(obj: any): any;
7
+ export function uuid(): string;
8
+ export function deepEqual(a: any, b: any, withoutOrder?: boolean): boolean;
9
+ export function isObject(object: any): boolean;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This is a mixin for ChartElement
3
+ * @mixinFunction
4
+ */
5
+ export function ChartElement(ParentClass: any): {
6
+ new (): {
7
+ [x: string]: any;
8
+ _skeletonAttribute: string;
9
+ _eventListener: () => void;
10
+ connectedCallback(): void;
11
+ disconnectedCallback(): void;
12
+ getOptions(): Promise<void>;
13
+ updated(changedProperties: any): void;
14
+ _additionalOptions: void | undefined;
15
+ render(): import("lit-html").TemplateResult<1>;
16
+ _invisible: boolean;
17
+ _skeleton: boolean;
18
+ _error: boolean;
19
+ _empty: boolean;
20
+ };
21
+ readonly properties: {
22
+ /** @required */
23
+ series: {
24
+ type: ArrayConstructor;
25
+ };
26
+ options: {
27
+ type: ArrayConstructor;
28
+ };
29
+ _additionalOptions: {
30
+ type: ObjectConstructor;
31
+ attribute: boolean;
32
+ };
33
+ _series: {
34
+ type: ArrayConstructor;
35
+ attribute: boolean;
36
+ };
37
+ };
38
+ readonly styles: import("lit").CSSResult[];
39
+ };
@@ -0,0 +1,64 @@
1
+ export function InputElement(ParentClass: any): {
2
+ new (): {
3
+ [x: string]: any;
4
+ _id: string;
5
+ valid: boolean;
6
+ invalid: boolean;
7
+ updateState(value: any): void;
8
+ setValidity(isInvalid?: boolean, violation?: string): void;
9
+ firstUpdated(): void;
10
+ updated(changedProperties: any): void;
11
+ getInputElement(): any;
12
+ readonly offsetHeight: any;
13
+ renderLabel(): "" | import("lit-html").TemplateResult<1>;
14
+ };
15
+ [x: string]: any;
16
+ readonly properties: {
17
+ disabled: {
18
+ type: BooleanConstructor;
19
+ reflect: boolean;
20
+ };
21
+ required: {
22
+ type: BooleanConstructor;
23
+ reflect: boolean;
24
+ };
25
+ readonly: {
26
+ type: BooleanConstructor;
27
+ reflect: boolean;
28
+ };
29
+ skeleton: {
30
+ type: BooleanConstructor;
31
+ };
32
+ value: {
33
+ type: StringConstructor;
34
+ reflect: boolean;
35
+ };
36
+ label: {
37
+ type: StringConstructor;
38
+ };
39
+ title: {
40
+ type: StringConstructor;
41
+ };
42
+ name: {
43
+ type: StringConstructor;
44
+ };
45
+ placeholder: {
46
+ type: StringConstructor;
47
+ };
48
+ description: {
49
+ type: StringConstructor;
50
+ };
51
+ autofocus: {
52
+ type: BooleanConstructor;
53
+ };
54
+ invalid: {
55
+ type: BooleanConstructor;
56
+ reflect: boolean;
57
+ };
58
+ valid: {
59
+ type: BooleanConstructor;
60
+ reflect: boolean;
61
+ };
62
+ };
63
+ readonly styles: import("lit").CSSResult[];
64
+ };
@@ -0,0 +1,56 @@
1
+ /**
2
+ * This is a mixin for ItemResource
3
+ * @mixinFunction
4
+ */
5
+ export function ItemResource(ParentClass: any): {
6
+ new (): {
7
+ [x: string]: any;
8
+ _skeletonAttribute: string;
9
+ _onImageLoaded(): void;
10
+ _skeleton: boolean;
11
+ _renderImage(): "" | import("lit-html").TemplateResult<1>;
12
+ _onTagClick(tagValue: any, event: any): void;
13
+ _renderLabels(clickable: any): unknown;
14
+ _renderStates(): unknown;
15
+ _onClickToMetrics(event: any): void;
16
+ _renderMetricsWithRating(): "" | import("lit-html").TemplateResult<1>;
17
+ _renderInfoRating(): "" | import("lit-html").TemplateResult<1>;
18
+ _invisible: boolean;
19
+ _error: boolean;
20
+ _empty: boolean;
21
+ updated(changedProperties: any): void;
22
+ };
23
+ readonly properties: {
24
+ /** @required */
25
+ item: {
26
+ type: ObjectConstructor;
27
+ };
28
+ href: {
29
+ type: StringConstructor;
30
+ };
31
+ metrics: {
32
+ type: ObjectConstructor;
33
+ };
34
+ _item: {
35
+ type: ObjectConstructor;
36
+ attribute: boolean;
37
+ };
38
+ _invisible: {
39
+ type: BooleanConstructor;
40
+ reflect: boolean;
41
+ };
42
+ _skeleton: {
43
+ type: BooleanConstructor;
44
+ attribute: boolean;
45
+ };
46
+ _error: {
47
+ type: BooleanConstructor;
48
+ attribute: boolean;
49
+ };
50
+ _empty: {
51
+ type: BooleanConstructor;
52
+ attribute: boolean;
53
+ };
54
+ };
55
+ readonly styles: import("lit").CSSResult[];
56
+ };
@@ -0,0 +1,25 @@
1
+ export function KeyboardElement(ParentClass: any): {
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 namespace KEYS {
17
+ const ArrowDown: string;
18
+ const ArrowLeft: string;
19
+ const ArrowRight: string;
20
+ const ArrowUp: string;
21
+ const Ctrl: string;
22
+ const Esc: string;
23
+ const Shift: string;
24
+ const Space: string;
25
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This is a mixin for update component after browser
3
+ * @mixinFunction
4
+ */
5
+ export function UpdateAfterBrowser(ParentClass: any): {
6
+ new (): {
7
+ [x: string]: any;
8
+ performUpdate(): Promise<void>;
9
+ };
10
+ [x: string]: any;
11
+ };
@@ -0,0 +1,12 @@
1
+ export function withResizeObserver(ParentClass: any): {
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
+ };
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This is a mixin for withSkeletonStates
3
+ * @mixinFunction
4
+ */
5
+ export function withSkeletonAttribute(ParentClass: any): {
6
+ new (): {
7
+ [x: string]: any;
8
+ _invisible: boolean;
9
+ _skeleton: boolean;
10
+ _error: boolean;
11
+ _empty: boolean;
12
+ updated(changedProperties: any): void;
13
+ };
14
+ [x: string]: any;
15
+ readonly properties: {
16
+ /** @required */
17
+ _invisible: {
18
+ type: BooleanConstructor;
19
+ reflect: boolean;
20
+ };
21
+ _skeleton: {
22
+ type: BooleanConstructor;
23
+ attribute: boolean;
24
+ };
25
+ _error: {
26
+ type: BooleanConstructor;
27
+ attribute: boolean;
28
+ };
29
+ _empty: {
30
+ type: BooleanConstructor;
31
+ attribute: boolean;
32
+ };
33
+ };
34
+ readonly styles: import("lit").CSSResult[];
35
+ };
@@ -0,0 +1,78 @@
1
+ declare const GvCardFull_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _skeletonAttribute: string;
5
+ _onImageLoaded(): void;
6
+ _skeleton: boolean;
7
+ _renderImage(): "" | import("lit-html").TemplateResult<1>;
8
+ _onTagClick(tagValue: any, event: any): void;
9
+ _renderLabels(clickable: any): unknown;
10
+ _renderStates(): unknown;
11
+ _onClickToMetrics(event: any): void;
12
+ _renderMetricsWithRating(): "" | import("lit-html").TemplateResult<1>;
13
+ _renderInfoRating(): "" | import("lit-html").TemplateResult<1>;
14
+ _invisible: boolean;
15
+ _error: boolean;
16
+ _empty: boolean;
17
+ updated(changedProperties: any): void;
18
+ };
19
+ readonly properties: {
20
+ item: {
21
+ type: ObjectConstructor;
22
+ };
23
+ href: {
24
+ type: StringConstructor;
25
+ };
26
+ metrics: {
27
+ type: ObjectConstructor;
28
+ };
29
+ _item: {
30
+ type: ObjectConstructor;
31
+ attribute: boolean;
32
+ };
33
+ _invisible: {
34
+ type: BooleanConstructor;
35
+ reflect: boolean;
36
+ };
37
+ _skeleton: {
38
+ type: BooleanConstructor;
39
+ attribute: boolean;
40
+ };
41
+ _error: {
42
+ type: BooleanConstructor;
43
+ attribute: boolean;
44
+ };
45
+ _empty: {
46
+ type: BooleanConstructor;
47
+ attribute: boolean;
48
+ };
49
+ };
50
+ readonly styles: import("lit").CSSResult[];
51
+ };
52
+ /**
53
+ * Full Card component
54
+ *
55
+ * ## Details
56
+ * * has @theme facet
57
+ *
58
+ * @fires gv-card-full:click - Custom click event
59
+ * @fires gv-tag:click - Custom click event on card labels
60
+ *
61
+ * @attr {Promise<Object>} item - An item.
62
+ * @attr {Promise<Metrics>} metrics - A Metrics.
63
+ *
64
+ * @cssprop {Color} [--gv-card-full--bgc=var(--gv-theme-neutral-color-lightest, #ffffff)] - Background color
65
+ * @cssprop {Length} [--gv-card-full-image--h=65px] - Image height
66
+ * @cssprop {Length} [--gv-card-full-image--w=110px] - Image width
67
+ */
68
+ export class GvCardFull extends GvCardFull_base {
69
+ static get properties(): {
70
+ metrics: {
71
+ type: ObjectConstructor;
72
+ };
73
+ };
74
+ limit: number;
75
+ _onClick(e: any): void;
76
+ render(): import("lit-html").TemplateResult<1>;
77
+ }
78
+ export {};
@@ -0,0 +1,33 @@
1
+ declare const GvCardList_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
+ * List of cards
15
+ *
16
+ * ## Details
17
+ * * has @theme facet
18
+ */
19
+ export class GvCardList extends GvCardList_base {
20
+ static get properties(): {
21
+ items: {
22
+ type: ArrayConstructor;
23
+ };
24
+ };
25
+ static get styles(): import("lit").CSSResult[];
26
+ breakpoints: {
27
+ width: number[];
28
+ };
29
+ renderItem(item: any, index: any): import("lit-html").TemplateResult<1>;
30
+ render(): "" | import("lit-html").TemplateResult<1>;
31
+ updated(changedProperties: any): void;
32
+ }
33
+ export {};
@@ -0,0 +1,65 @@
1
+ declare const GvCard_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _skeletonAttribute: string;
5
+ _onImageLoaded(): void;
6
+ _skeleton: boolean;
7
+ _renderImage(): "" | import("lit-html").TemplateResult<1>;
8
+ _onTagClick(tagValue: any, event: any): void;
9
+ _renderLabels(clickable: any): unknown;
10
+ _renderStates(): unknown;
11
+ _onClickToMetrics(event: any): void;
12
+ _renderMetricsWithRating(): "" | import("lit-html").TemplateResult<1>;
13
+ _renderInfoRating(): "" | import("lit-html").TemplateResult<1>;
14
+ _invisible: boolean;
15
+ _error: boolean;
16
+ _empty: boolean;
17
+ updated(changedProperties: any): void;
18
+ };
19
+ readonly properties: {
20
+ item: {
21
+ type: ObjectConstructor;
22
+ };
23
+ href: {
24
+ type: StringConstructor;
25
+ };
26
+ metrics: {
27
+ type: ObjectConstructor;
28
+ };
29
+ _item: {
30
+ type: ObjectConstructor;
31
+ attribute: boolean;
32
+ };
33
+ _invisible: {
34
+ type: BooleanConstructor;
35
+ reflect: boolean;
36
+ };
37
+ _skeleton: {
38
+ type: BooleanConstructor;
39
+ attribute: boolean;
40
+ };
41
+ _error: {
42
+ type: BooleanConstructor;
43
+ attribute: boolean;
44
+ };
45
+ _empty: {
46
+ type: BooleanConstructor;
47
+ attribute: boolean;
48
+ };
49
+ };
50
+ readonly styles: import("lit").CSSResult[];
51
+ };
52
+ /**
53
+ * Card component
54
+ *
55
+ * ## Details
56
+ * * has @theme facet
57
+ *
58
+ * @attr {Promise<any>} item - An item.
59
+ *
60
+ * @cssprop {Color} [--gv-card--bgc=var(--gv-theme-neutral-color-lightest, #ffffff)] - Background color
61
+ */
62
+ export class GvCard extends GvCard_base {
63
+ render(): import("lit-html").TemplateResult<1>;
64
+ }
65
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * List of categories
3
+ *
4
+ * ## Details
5
+ * * has @theme facet
6
+ *
7
+ * @cssprop {Color} [--gv-category-list--bgc-1=#cce6eb] - Category background color 1
8
+ * @cssprop {Color} [--gv-category-list--bgc-2=#fcf1a8] - Category background color 2
9
+ * @cssprop {Color} [--gv-category-list--bgc-3=#d9d4f1] - Category background color 3
10
+ * @cssprop {Color} [--gv-category-list--bgc-4=#f9c15e] - Category background color 4
11
+ * @cssprop {Color} [--gv-category-list--bgc-5=#d4fccd] - Category background color 5
12
+ * @cssprop {Color} [--gv-category-list--bgc-6=#e0c8b2] - Category background color 6
13
+ */
14
+ export class GvCategoryList extends GvCardList {
15
+ _getCategoryBackgroundColor(index: any): string;
16
+ }
17
+ import { GvCardList } from "./gv-card-list";
@@ -0,0 +1,64 @@
1
+ declare const GvCategory_base: {
2
+ new (): {
3
+ [x: string]: any;
4
+ _invisible: boolean;
5
+ _skeleton: boolean;
6
+ _error: boolean;
7
+ _empty: boolean;
8
+ updated(changedProperties: any): void;
9
+ };
10
+ [x: string]: any;
11
+ readonly properties: {
12
+ _invisible: {
13
+ type: BooleanConstructor;
14
+ reflect: boolean;
15
+ };
16
+ _skeleton: {
17
+ type: BooleanConstructor;
18
+ attribute: boolean;
19
+ };
20
+ _error: {
21
+ type: BooleanConstructor;
22
+ attribute: boolean;
23
+ };
24
+ _empty: {
25
+ type: BooleanConstructor;
26
+ attribute: boolean;
27
+ };
28
+ };
29
+ readonly styles: import("lit").CSSResult[];
30
+ };
31
+ /**
32
+ * A card used to display a category
33
+ *
34
+ * ## Details
35
+ * * has @theme facet
36
+ *
37
+ * @fires gv-category:click - Custom click event
38
+ *
39
+ * @attr {Promise<{name, description, _links: { picture }, total_apis}>} category - A category object
40
+ * @attr {Length} limit - number of characters that can be display in the description. If _description_ is greater, it will be truncated.
41
+ *
42
+ * @cssprop {Color} [--gv-category--bgc=var(--gv-theme-neutral-color-lightest, #ffffff)] - Background color
43
+ * @cssprop {Color} [--gv-category--c=var(--gv-theme-font-color-dark, #262626)] - Color
44
+ * @cssprop {Length} [--gv-category--h=200px] - Height
45
+ */
46
+ export class GvCategory extends GvCategory_base {
47
+ static get properties(): {
48
+ category: {
49
+ type: ObjectConstructor;
50
+ };
51
+ limit: {
52
+ type: NumberConstructor;
53
+ };
54
+ _category: {
55
+ type: ObjectConstructor;
56
+ attribute: boolean;
57
+ };
58
+ };
59
+ _skeletonAttribute: string;
60
+ _get(property: any): any;
61
+ _onClick(): void;
62
+ render(): import("lit-html").TemplateResult<1>;
63
+ }
64
+ export {};