|
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 | | - darkMode: 'dark-mode', |
89 | | - }, |
90 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
91 | | - serializeShadowRoot, |
| 78 | + tagName: 'pid-actions', |
| 79 | + properties: { |
| 80 | + actions: 'actions', |
| 81 | + actionsId: 'actions-id', |
| 82 | + darkMode: 'dark-mode' |
| 83 | + }, |
| 84 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 85 | + serializeShadowRoot |
92 | 86 | }); |
93 | 87 |
|
94 | 88 | export type PidCollapsibleEvents = { |
95 | | - onCollapsibleToggle: EventName<CustomEvent<boolean>>, |
96 | | - onContentHeightChange: EventName<CustomEvent<{ maxHeight: number }>> |
| 89 | + onCollapsibleToggle: EventName<CustomEvent<boolean>>, |
| 90 | + onContentHeightChange: EventName<CustomEvent<{ maxHeight: number }>> |
97 | 91 | }; |
98 | 92 |
|
99 | 93 | export const PidCollapsible: StencilReactComponent<PidCollapsibleElement, PidCollapsibleEvents> = /*@__PURE__*/ createComponent<PidCollapsibleElement, PidCollapsibleEvents>({ |
100 | | - tagName: 'pid-collapsible', |
101 | | - properties: { |
102 | | - open: 'open', |
103 | | - emphasize: 'emphasize', |
104 | | - darkMode: 'dark-mode', |
105 | | - expanded: 'expanded', |
106 | | - initialWidth: 'initial-width', |
107 | | - initialHeight: 'initial-height', |
108 | | - lineHeight: 'line-height', |
109 | | - showFooter: 'show-footer', |
110 | | - }, |
111 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
112 | | - serializeShadowRoot, |
| 94 | + tagName: 'pid-collapsible', |
| 95 | + properties: { |
| 96 | + open: 'open', |
| 97 | + emphasize: 'emphasize', |
| 98 | + darkMode: 'dark-mode', |
| 99 | + expanded: 'expanded', |
| 100 | + initialWidth: 'initial-width', |
| 101 | + initialHeight: 'initial-height', |
| 102 | + lineHeight: 'line-height', |
| 103 | + showFooter: 'show-footer' |
| 104 | + }, |
| 105 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 106 | + serializeShadowRoot |
113 | 107 | }); |
114 | 108 |
|
115 | 109 | export type PidComponentEvents = NonNullable<unknown>; |
116 | 110 |
|
117 | 111 | export const PidComponent: StencilReactComponent<PidComponentElement, PidComponentEvents> = /*@__PURE__*/ createComponent<PidComponentElement, PidComponentEvents>({ |
118 | | - tagName: 'pid-component', |
119 | | - properties: { |
120 | | - value: 'value', |
121 | | - settings: 'settings', |
122 | | - openByDefault: 'open-by-default', |
123 | | - amountOfItems: 'amount-of-items', |
124 | | - levelOfSubcomponents: 'level-of-subcomponents', |
125 | | - currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
126 | | - hideSubcomponents: 'hide-subcomponents', |
127 | | - emphasizeComponent: 'emphasize-component', |
128 | | - showTopLevelCopy: 'show-top-level-copy', |
129 | | - defaultTTL: 'default-t-t-l', |
130 | | - width: 'width', |
131 | | - height: 'height', |
132 | | - darkMode: 'dark-mode', |
133 | | - }, |
134 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
135 | | - serializeShadowRoot, |
| 112 | + tagName: 'pid-component', |
| 113 | + properties: { |
| 114 | + value: 'value', |
| 115 | + settings: 'settings', |
| 116 | + openByDefault: 'open-by-default', |
| 117 | + amountOfItems: 'amount-of-items', |
| 118 | + levelOfSubcomponents: 'level-of-subcomponents', |
| 119 | + currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
| 120 | + hideSubcomponents: 'hide-subcomponents', |
| 121 | + emphasizeComponent: 'emphasize-component', |
| 122 | + showTopLevelCopy: 'show-top-level-copy', |
| 123 | + defaultTTL: 'default-t-t-l', |
| 124 | + width: 'width', |
| 125 | + height: 'height', |
| 126 | + darkMode: 'dark-mode' |
| 127 | + }, |
| 128 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 129 | + serializeShadowRoot |
136 | 130 | }); |
137 | 131 |
|
138 | 132 | export type PidDataTableEvents = { |
139 | | - onPageChange: EventName<CustomEvent<number>>, |
140 | | - onItemsPerPageChange: EventName<CustomEvent<number>> |
| 133 | + onPageChange: EventName<CustomEvent<number>>, |
| 134 | + onItemsPerPageChange: EventName<CustomEvent<number>> |
141 | 135 | }; |
142 | 136 |
|
143 | 137 | export const PidDataTable: StencilReactComponent<PidDataTableElement, PidDataTableEvents> = /*@__PURE__*/ createComponent<PidDataTableElement, PidDataTableEvents>({ |
144 | | - tagName: 'pid-data-table', |
145 | | - properties: { |
146 | | - items: 'items', |
147 | | - itemsPerPage: 'items-per-page', |
148 | | - currentPage: 'current-page', |
149 | | - pageSizes: 'page-sizes', |
150 | | - loadSubcomponents: 'load-subcomponents', |
151 | | - hideSubcomponents: 'hide-subcomponents', |
152 | | - currentLevelOfSubcomponents: 'current-level-of-subcomponents', |
153 | | - levelOfSubcomponents: 'level-of-subcomponents', |
154 | | - settings: 'settings', |
155 | | - darkMode: 'dark-mode', |
156 | | - }, |
157 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
158 | | - serializeShadowRoot, |
| 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 | + darkMode: 'dark-mode' |
| 150 | + }, |
| 151 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 152 | + serializeShadowRoot |
159 | 153 | }); |
160 | 154 |
|
161 | 155 | export type PidPaginationEvents = { |
162 | | - onPageChange: EventName<CustomEvent<number>>, |
163 | | - onItemsPerPageChange: EventName<CustomEvent<number>> |
| 156 | + onPageChange: EventName<CustomEvent<number>>, |
| 157 | + onItemsPerPageChange: EventName<CustomEvent<number>> |
164 | 158 | }; |
165 | 159 |
|
166 | 160 | export const PidPagination: StencilReactComponent<PidPaginationElement, PidPaginationEvents> = /*@__PURE__*/ createComponent<PidPaginationElement, PidPaginationEvents>({ |
167 | | - tagName: 'pid-pagination', |
168 | | - properties: { |
169 | | - currentPage: 'current-page', |
170 | | - totalItems: 'total-items', |
171 | | - itemsPerPage: 'items-per-page', |
172 | | - pageSizes: 'page-sizes', |
173 | | - adaptivePagination: 'adaptive-pagination', |
174 | | - showItemsPerPageControl: 'show-items-per-page-control', |
175 | | - darkMode: 'dark-mode', |
176 | | - }, |
177 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
178 | | - serializeShadowRoot, |
| 161 | + tagName: 'pid-pagination', |
| 162 | + properties: { |
| 163 | + currentPage: 'current-page', |
| 164 | + totalItems: 'total-items', |
| 165 | + itemsPerPage: 'items-per-page', |
| 166 | + pageSizes: 'page-sizes', |
| 167 | + showItemsPerPageControl: 'show-items-per-page-control', |
| 168 | + darkMode: 'dark-mode' |
| 169 | + }, |
| 170 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 171 | + serializeShadowRoot |
179 | 172 | }); |
180 | 173 |
|
181 | 174 | export type PidTooltipEvents = { onTooltipExpansionChange: EventName<CustomEvent<{ expand: boolean; requiredHeight: number }>> }; |
182 | 175 |
|
183 | 176 | export const PidTooltip: StencilReactComponent<PidTooltipElement, PidTooltipEvents> = /*@__PURE__*/ createComponent<PidTooltipElement, PidTooltipEvents>({ |
184 | | - tagName: 'pid-tooltip', |
185 | | - properties: { |
186 | | - text: 'text', |
187 | | - position: 'position', |
188 | | - maxWidth: 'max-width', |
189 | | - maxHeight: 'max-height', |
190 | | - fitContent: 'fit-content', |
191 | | - }, |
192 | | - hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
193 | | - serializeShadowRoot, |
| 177 | + tagName: 'pid-tooltip', |
| 178 | + properties: { |
| 179 | + text: 'text', |
| 180 | + position: 'position', |
| 181 | + maxWidth: 'max-width', |
| 182 | + maxHeight: 'max-height', |
| 183 | + fitContent: 'fit-content' |
| 184 | + }, |
| 185 | + hydrateModule: import('@kit-data-manager/pid-component/hydrate'), |
| 186 | + serializeShadowRoot |
194 | 187 | }); |
0 commit comments