|
8 | 8 |
|
9 | 9 | /* eslint-disable */ |
10 | 10 |
|
11 | | -import { |
12 | | - ColorHighlight as ColorHighlightElement, |
13 | | -} from '@kit-data-manager/pid-component/dist/components/color-highlight.js'; |
14 | | -import { CopyButton as CopyButtonElement } from '@kit-data-manager/pid-component/dist/components/copy-button.js'; |
15 | | -import { JsonViewer as JsonViewerElement } from '@kit-data-manager/pid-component/dist/components/json-viewer.js'; |
16 | | -import { |
17 | | - LocaleVisualization as LocaleVisualizationElement, |
18 | | -} from '@kit-data-manager/pid-component/dist/components/locale-visualization.js'; |
19 | | -import { PidActions as PidActionsElement } from '@kit-data-manager/pid-component/dist/components/pid-actions.js'; |
20 | | -import { |
21 | | - PidCollapsible as PidCollapsibleElement, |
22 | | -} from '@kit-data-manager/pid-component/dist/components/pid-collapsible.js'; |
23 | | -import { PidComponent as PidComponentElement } from '@kit-data-manager/pid-component/dist/components/pid-component.js'; |
24 | | -import { PidDataTable as PidDataTableElement } from '@kit-data-manager/pid-component/dist/components/pid-data-table.js'; |
25 | | -import { |
26 | | - PidPagination as PidPaginationElement, |
27 | | -} from '@kit-data-manager/pid-component/dist/components/pid-pagination.js'; |
28 | | -import { PidTooltip as PidTooltipElement } from '@kit-data-manager/pid-component/dist/components/pid-tooltip.js'; |
| 11 | +import { ColorHighlight as ColorHighlightElement } from "@kit-data-manager/pid-component/dist/components/color-highlight.js"; |
| 12 | +import { CopyButton as CopyButtonElement } from "@kit-data-manager/pid-component/dist/components/copy-button.js"; |
| 13 | +import { JsonViewer as JsonViewerElement } from "@kit-data-manager/pid-component/dist/components/json-viewer.js"; |
| 14 | +import { LocaleVisualization as LocaleVisualizationElement } from "@kit-data-manager/pid-component/dist/components/locale-visualization.js"; |
| 15 | +import { PidActions as PidActionsElement } from "@kit-data-manager/pid-component/dist/components/pid-actions.js"; |
| 16 | +import { PidCollapsible as PidCollapsibleElement } from "@kit-data-manager/pid-component/dist/components/pid-collapsible.js"; |
| 17 | +import { PidComponent as PidComponentElement } from "@kit-data-manager/pid-component/dist/components/pid-component.js"; |
| 18 | +import { PidDataTable as PidDataTableElement } from "@kit-data-manager/pid-component/dist/components/pid-data-table.js"; |
| 19 | +import { PidPagination as PidPaginationElement } from "@kit-data-manager/pid-component/dist/components/pid-pagination.js"; |
| 20 | +import { PidTooltip as PidTooltipElement } from "@kit-data-manager/pid-component/dist/components/pid-tooltip.js"; |
29 | 21 | import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime'; |
30 | 22 | import { createComponent, type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr'; |
31 | 23 |
|
32 | | -export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative'declarative-shadow-dom'type ColorHighlightEvents = NonNullable<unknown>; |
| 24 | +export const serializeShadowRoot: SerializeShadowRootOptions = { default: "declarative-shadow-dom" }; |
| 25 | + |
| 26 | +export type ColorHighlightEvents = NonNullable<unknown>; |
33 | 27 |
|
34 | 28 | export const ColorHighlight: StencilReactComponent<ColorHighlightElement, ColorHighlightEvents> = /*@__PURE__*/ createComponent<ColorHighlightElement, ColorHighlightEvents>({ |
35 | | - tagName: 'color-highlight', |
36 | | - properties: { text: 'text' }, |
37 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
38 | | - serializeShadowRoot, |
| 29 | + tagName: 'color-highlight', |
| 30 | + properties: { text: 'text' }, |
| 31 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 32 | + serializeShadowRoot |
39 | 33 | }); |
40 | 34 |
|
41 | 35 | export type CopyButtonEvents = NonNullable<unknown>; |
42 | 36 |
|
43 | 37 | export const CopyButton: StencilReactComponent<CopyButtonElement, CopyButtonEvents> = /*@__PURE__*/ createComponent<CopyButtonElement, CopyButtonEvents>({ |
44 | | - tagName: 'copy-button', |
45 | | - properties: { |
46 | | - value: 'value', |
47 | | - label: 'label', |
48 | | - }, |
49 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
50 | | - serializeShadowRoot, |
| 38 | + tagName: 'copy-button', |
| 39 | + properties: { |
| 40 | + value: 'value', |
| 41 | + label: 'label' |
| 42 | + }, |
| 43 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 44 | + serializeShadowRoot |
51 | 45 | }); |
52 | 46 |
|
53 | 47 | export type JsonViewerEvents = NonNullable<unknown>; |
54 | 48 |
|
55 | 49 | export const JsonViewer: StencilReactComponent<JsonViewerElement, JsonViewerEvents> = /*@__PURE__*/ createComponent<JsonViewerElement, JsonViewerEvents>({ |
56 | | - tagName: 'json-viewer', |
57 | | - properties: { |
58 | | - data: 'data', |
59 | | - viewMode: 'view-mode', |
60 | | - maxHeight: 'max-height', |
61 | | - showLineNumbers: 'show-line-numbers', |
62 | | - expandAll: 'expand-all', |
63 | | - theme: 'theme', |
64 | | - }, |
65 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
66 | | - serializeShadowRoot, |
| 50 | + tagName: 'json-viewer', |
| 51 | + properties: { |
| 52 | + data: 'data', |
| 53 | + viewMode: 'view-mode', |
| 54 | + maxHeight: 'max-height', |
| 55 | + showLineNumbers: 'show-line-numbers', |
| 56 | + expandAll: 'expand-all', |
| 57 | + theme: 'theme' |
| 58 | + }, |
| 59 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 60 | + serializeShadowRoot |
67 | 61 | }); |
68 | 62 |
|
69 | 63 | export type LocaleVisualizationEvents = NonNullable<unknown>; |
70 | 64 |
|
71 | 65 | export const LocaleVisualization: StencilReactComponent<LocaleVisualizationElement, LocaleVisualizationEvents> = /*@__PURE__*/ createComponent<LocaleVisualizationElement, LocaleVisualizationEvents>({ |
72 | | - tagName: 'locale-visualization', |
73 | | - properties: { |
74 | | - locale: 'locale', |
75 | | - showFlag: 'show-flag', |
76 | | - }, |
77 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
78 | | - serializeShadowRoot, |
| 66 | + tagName: 'locale-visualization', |
| 67 | + properties: { |
| 68 | + locale: 'locale', |
| 69 | + showFlag: 'show-flag' |
| 70 | + }, |
| 71 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 72 | + serializeShadowRoot |
79 | 73 | }); |
80 | 74 |
|
81 | 75 | export type PidActionsEvents = NonNullable<unknown>; |
82 | 76 |
|
83 | 77 | export const PidActions: StencilReactComponent<PidActionsElement, PidActionsEvents> = /*@__PURE__*/ createComponent<PidActionsElement, PidActionsEvents>({ |
84 | | - tagName: 'pid-actions', |
85 | | - properties: { |
86 | | - actions: 'actions', |
87 | | - actionsId: 'actions-id', |
88 | | - }, |
89 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
90 | | - serializeShadowRoot, |
| 78 | + tagName: 'pid-actions', |
| 79 | + properties: { |
| 80 | + actions: 'actions', |
| 81 | + actionsId: 'actions-id' |
| 82 | + }, |
| 83 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 84 | + serializeShadowRoot |
91 | 85 | }); |
92 | 86 |
|
93 | 87 | export type PidCollapsibleEvents = { onCollapsibleToggle: EventName<CustomEvent<boolean>> }; |
94 | 88 |
|
95 | 89 | export const PidCollapsible: StencilReactComponent<PidCollapsibleElement, PidCollapsibleEvents> = /*@__PURE__*/ createComponent<PidCollapsibleElement, PidCollapsibleEvents>({ |
96 | | - tagName: 'pid-collapsible', |
97 | | - properties: { |
98 | | - open: 'open', |
99 | | - emphasize: 'emphasize', |
100 | | - expanded: 'expanded', |
101 | | - initialWidth: 'initial-width', |
102 | | - initialHeight: 'initial-height', |
103 | | - lineHeight: 'line-height', |
104 | | - showFooter: 'show-footer', |
105 | | - }, |
106 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
107 | | - serializeShadowRoot, |
| 90 | + tagName: 'pid-collapsible', |
| 91 | + properties: { |
| 92 | + open: 'open', |
| 93 | + emphasize: 'emphasize', |
| 94 | + expanded: 'expanded', |
| 95 | + initialWidth: 'initial-width', |
| 96 | + initialHeight: 'initial-height', |
| 97 | + lineHeight: 'line-height', |
| 98 | + showFooter: 'show-footer' |
| 99 | + }, |
| 100 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 101 | + serializeShadowRoot |
108 | 102 | }); |
109 | 103 |
|
110 | 104 | export type PidComponentEvents = NonNullable<unknown>; |
111 | 105 |
|
112 | 106 | export const PidComponent: StencilReactComponent<PidComponentElement, PidComponentEvents> = /*@__PURE__*/ createComponent<PidComponentElement, PidComponentEvents>({ |
113 | | - tagName: 'pid-component', |
114 | | - properties: { |
115 | | - value: 'value', |
116 | | - settings: 'settings', |
117 | | - openByDefault: 'open-by-default', |
118 | | - amountOfItems: 'amount-of-items', |
119 | | - levelOfSubcomponents: 'level-of-subcomponents', |
120 | | - currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
121 | | - hideSubcomponents: 'hide-subcomponents', |
122 | | - emphasizeComponent: 'emphasize-component', |
123 | | - showTopLevelCopy: 'show-top-level-copy', |
124 | | - defaultTTL: 'default-t-t-l', |
125 | | - width: 'width', |
126 | | - height: 'height', |
127 | | - }, |
128 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
129 | | - serializeShadowRoot, |
| 107 | + tagName: 'pid-component', |
| 108 | + properties: { |
| 109 | + value: 'value', |
| 110 | + settings: 'settings', |
| 111 | + openByDefault: 'open-by-default', |
| 112 | + amountOfItems: 'amount-of-items', |
| 113 | + levelOfSubcomponents: 'level-of-subcomponents', |
| 114 | + currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
| 115 | + hideSubcomponents: 'hide-subcomponents', |
| 116 | + emphasizeComponent: 'emphasize-component', |
| 117 | + showTopLevelCopy: 'show-top-level-copy', |
| 118 | + defaultTTL: 'default-t-t-l', |
| 119 | + width: 'width', |
| 120 | + height: 'height' |
| 121 | + }, |
| 122 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 123 | + serializeShadowRoot |
130 | 124 | }); |
131 | 125 |
|
132 | 126 | export type PidDataTableEvents = { |
133 | | - onPageChange: EventName<CustomEvent<number>>, |
134 | | - onItemsPerPageChange: EventName<CustomEvent<number>> |
| 127 | + onPageChange: EventName<CustomEvent<number>>, |
| 128 | + onItemsPerPageChange: EventName<CustomEvent<number>> |
135 | 129 | }; |
136 | 130 |
|
137 | 131 | export const PidDataTable: StencilReactComponent<PidDataTableElement, PidDataTableEvents> = /*@__PURE__*/ createComponent<PidDataTableElement, PidDataTableEvents>({ |
138 | | - tagName: 'pid-data-table', |
139 | | - properties: { |
140 | | - items: 'items', |
141 | | - itemsPerPage: 'items-per-page', |
142 | | - currentPage: 'current-page', |
143 | | - pageSizes: 'page-sizes', |
144 | | - loadSubcomponents: 'load-subcomponents', |
145 | | - hideSubcomponents: 'hide-subcomponents', |
146 | | - currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
147 | | - levelOfSubcomponents: 'level-of-subcomponents', |
148 | | - settings: 'settings', |
149 | | - }, |
150 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
151 | | - serializeShadowRoot, |
| 132 | + tagName: 'pid-data-table', |
| 133 | + properties: { |
| 134 | + items: 'items', |
| 135 | + itemsPerPage: 'items-per-page', |
| 136 | + currentPage: 'current-page', |
| 137 | + pageSizes: 'page-sizes', |
| 138 | + loadSubcomponents: 'load-subcomponents', |
| 139 | + hideSubcomponents: 'hide-subcomponents', |
| 140 | + currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
| 141 | + levelOfSubcomponents: 'level-of-subcomponents', |
| 142 | + settings: 'settings' |
| 143 | + }, |
| 144 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 145 | + serializeShadowRoot |
152 | 146 | }); |
153 | 147 |
|
154 | 148 | export type PidPaginationEvents = { |
155 | | - onPageChange: EventName<CustomEvent<number>>, |
156 | | - onItemsPerPageChange: EventName<CustomEvent<number>> |
| 149 | + onPageChange: EventName<CustomEvent<number>>, |
| 150 | + onItemsPerPageChange: EventName<CustomEvent<number>> |
157 | 151 | }; |
158 | 152 |
|
159 | 153 | export const PidPagination: StencilReactComponent<PidPaginationElement, PidPaginationEvents> = /*@__PURE__*/ createComponent<PidPaginationElement, PidPaginationEvents>({ |
160 | | - tagName: 'pid-pagination', |
161 | | - properties: { |
162 | | - currentPage: 'current-page', |
163 | | - totalItems: 'total-items', |
164 | | - itemsPerPage: 'items-per-page', |
165 | | - pageSizes: 'page-sizes', |
166 | | - adaptivePagination: 'adaptive-pagination', |
167 | | - showItemsPerPageControl: 'show-items-per-page-control', |
168 | | - }, |
169 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
170 | | - serializeShadowRoot, |
| 154 | + tagName: 'pid-pagination', |
| 155 | + properties: { |
| 156 | + currentPage: 'current-page', |
| 157 | + totalItems: 'total-items', |
| 158 | + itemsPerPage: 'items-per-page', |
| 159 | + pageSizes: 'page-sizes', |
| 160 | + adaptivePagination: 'adaptive-pagination', |
| 161 | + showItemsPerPageControl: 'show-items-per-page-control' |
| 162 | + }, |
| 163 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 164 | + serializeShadowRoot |
171 | 165 | }); |
172 | 166 |
|
173 | | -export type PidTooltipEvents = { |
174 | | - onTooltipExpansionChange: EventName<CustomEvent<{ expand: boolean; requiredHeight: number }>> |
175 | | -}; |
| 167 | +export type PidTooltipEvents = { onTooltipExpansionChange: EventName<CustomEvent<{ expand: boolean; requiredHeight: number }>> }; |
176 | 168 |
|
177 | 169 | export const PidTooltip: StencilReactComponent<PidTooltipElement, PidTooltipEvents> = /*@__PURE__*/ createComponent<PidTooltipElement, PidTooltipEvents>({ |
178 | | - tagName: 'pid-tooltip', |
179 | | - properties: { |
180 | | - text: 'text', |
181 | | - position: 'position', |
182 | | - maxWidth: 'max-width', |
183 | | - maxHeight: 'max-height', |
184 | | - fitContent: 'fit-content', |
185 | | - }, |
186 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
187 | | - serializeShadowRoot, |
| 170 | + tagName: 'pid-tooltip', |
| 171 | + properties: { |
| 172 | + text: 'text', |
| 173 | + position: 'position', |
| 174 | + maxWidth: 'max-width', |
| 175 | + maxHeight: 'max-height', |
| 176 | + fitContent: 'fit-content' |
| 177 | + }, |
| 178 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 179 | + serializeShadowRoot |
188 | 180 | }); |
0 commit comments