@purestack/ts-components 1.1.0
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.
- package/LICENSE +21 -0
- package/README.md +10 -0
- package/dist/ts-components.d.mts +1662 -0
- package/dist/ts-components.d.mts.map +1 -0
- package/dist/ts-components.mjs +9200 -0
- package/dist/ts-components.mjs.map +1 -0
- package/package.json +130 -0
- package/src/defineComponents.ts +87 -0
- package/src/index.ts +270 -0
- package/src/registerStyles.ts +63 -0
- package/src/standard/alertBox/alertBox.ts +64 -0
- package/src/standard/autoId.ts +25 -0
- package/src/standard/badge/badge.ts +41 -0
- package/src/standard/badge/badgeStyle.ts +21 -0
- package/src/standard/barChart/barChart.ts +338 -0
- package/src/standard/barChart/barChartStyle.ts +81 -0
- package/src/standard/btn/btn.ts +191 -0
- package/src/standard/btn/btnStyle.ts +59 -0
- package/src/standard/btnGroup/btnGroup.ts +208 -0
- package/src/standard/btnGroup/btnGroupStyle.ts +85 -0
- package/src/standard/chart/cartesianChart.ts +99 -0
- package/src/standard/chart/chartDefaults.ts +25 -0
- package/src/standard/chart/chartUtils.ts +84 -0
- package/src/standard/classicLogo/classicLogo.ts +429 -0
- package/src/standard/classicLogo/classicLogoStyle.ts +292 -0
- package/src/standard/componentVariant.ts +153 -0
- package/src/standard/composer/composer.ts +1035 -0
- package/src/standard/composer/composerCanvasInitialStyle.ts +225 -0
- package/src/standard/composer/composerCanvasRevertStyle.ts +14 -0
- package/src/standard/composer/composerCanvasSharedStyle.ts +60 -0
- package/src/standard/composer/composerCanvasStyleTypes.ts +8 -0
- package/src/standard/composer/composerCanvasThemeStyle.ts +53 -0
- package/src/standard/composer/composerStyle.ts +156 -0
- package/src/standard/composer/emailHtmlPolicy.ts +474 -0
- package/src/standard/consent/consent.ts +173 -0
- package/src/standard/consent/consentStyle.ts +44 -0
- package/src/standard/contactForm/contactForm.ts +135 -0
- package/src/standard/contactForm/contactFormStyle.ts +116 -0
- package/src/standard/doughnutChart/doughnutChart.ts +527 -0
- package/src/standard/doughnutChart/doughnutChartStyle.ts +64 -0
- package/src/standard/dropFiles/dropFiles.ts +480 -0
- package/src/standard/dropFiles/dropFilesStyle.ts +171 -0
- package/src/standard/expandablePanel/expandablePanel.ts +106 -0
- package/src/standard/expandablePanel/expandablePanelStyle.ts +56 -0
- package/src/standard/flex/flex.ts +269 -0
- package/src/standard/flex/flexStyle.ts +556 -0
- package/src/standard/footer/footer.ts +93 -0
- package/src/standard/footer/footerStyle.ts +39 -0
- package/src/standard/form/autoCompleteInput.ts +567 -0
- package/src/standard/form/form.ts +205 -0
- package/src/standard/form/formCheck.ts +96 -0
- package/src/standard/form/formInputField.ts +184 -0
- package/src/standard/form/formSelectField.ts +152 -0
- package/src/standard/form/formStyle.ts +585 -0
- package/src/standard/form/multiAutoCompleteInput.ts +880 -0
- package/src/standard/grid/grid.ts +177 -0
- package/src/standard/grid/gridStyle.ts +56 -0
- package/src/standard/icon/icon.ts +96 -0
- package/src/standard/icon/iconStyle.ts +50 -0
- package/src/standard/landing/codeShowcase.ts +54 -0
- package/src/standard/landing/comparisonColumn.ts +30 -0
- package/src/standard/landing/comparisonFeature.ts +22 -0
- package/src/standard/landing/comparisonTable.ts +38 -0
- package/src/standard/landing/ctaSection.ts +59 -0
- package/src/standard/landing/featureCard.ts +41 -0
- package/src/standard/landing/landing.ts +52 -0
- package/src/standard/landing/landingBand.ts +217 -0
- package/src/standard/landing/landingSection.ts +43 -0
- package/src/standard/landing/landingTypes.ts +141 -0
- package/src/standard/landing/metricItem.ts +25 -0
- package/src/standard/landing/metricStrip.ts +20 -0
- package/src/standard/lineChart/lineChart.ts +462 -0
- package/src/standard/lineChart/lineChartStyle.ts +91 -0
- package/src/standard/logo/logo.ts +192 -0
- package/src/standard/logo/logoStyle.ts +164 -0
- package/src/standard/modal/modal.ts +171 -0
- package/src/standard/modal/modalStore.ts +154 -0
- package/src/standard/modal/modalStyle.ts +190 -0
- package/src/standard/navMenu/navMenu.ts +278 -0
- package/src/standard/navMenu/navMenuStyle.ts +323 -0
- package/src/standard/pageLinks/pageLinks.ts +90 -0
- package/src/standard/pageScript/pageScript.ts +155 -0
- package/src/standard/pageToc/pageToc.ts +154 -0
- package/src/standard/pageToc/pageTocStyle.ts +372 -0
- package/src/standard/panel/panel.ts +55 -0
- package/src/standard/panel/panelStyle.ts +15 -0
- package/src/standard/pricing/pricing.ts +146 -0
- package/src/standard/searchBox/searchBox.ts +54 -0
- package/src/standard/searchBox/searchBoxStyle.ts +180 -0
- package/src/standard/sectionHeader/sectionHeader.ts +99 -0
- package/src/standard/signIn/signIn.ts +167 -0
- package/src/standard/signIn/signInStyle.ts +70 -0
- package/src/standard/tabs/tabs.ts +193 -0
- package/src/standard/tabs/tabsStyle.ts +231 -0
- package/src/standard/themeToggle/themeToggle.ts +33 -0
- package/src/standard/themeToggle/themeToggleStyle.ts +88 -0
- package/src/standard/toast/toastHost.ts +42 -0
- package/src/standard/toast/toastStore.ts +50 -0
- package/src/standard/topBar/topBar.ts +101 -0
- package/src/standard/topBar/topBarStyle.ts +169 -0
- package/src/standard/virtualList/variableVirtualTable.ts +371 -0
- package/src/standard/virtualList/virtualList.ts +423 -0
- package/src/standard/virtualList/virtualListStyle.ts +34 -0
- package/src/standard/virtualList/virtualTable.ts +179 -0
- package/src/standard/virtualList/virtualTableStyle.ts +24 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,1662 @@
|
|
|
1
|
+
/*! @purestack/ts-components v1.1.0 | (c) 2026 Ahmed Yasin Koculu | MIT License */
|
|
2
|
+
|
|
3
|
+
import { ComputedRef, Emits, Ref, RefOrValue, SRef, ref, sref } from "regor";
|
|
4
|
+
import { SemanticTone } from "@purestack/ts-style";
|
|
5
|
+
import { ClassicLogoConfig, ClassicLogoConfig as ClassicLogoConfig$1, ConsentCategory, ConsentConfig, LogoAppearance, LogoConfig, LogoConfig as LogoConfig$1, LogoLayout, LogoMarkStyle, LogoShape, LogoSize, LogoWordmarkStyle, NavItem, PageNavigationLinks, PageOutlineItem, SiteLogoConfig, SiteLogoConfig as SiteLogoConfig$1 } from "@purestack/ts-common";
|
|
6
|
+
import { TsSsgMenusApi, TsSsgModalApi, TsSsgTabsApi } from "@purestack/ts-page-scripts";
|
|
7
|
+
import { CSSProps } from "@purestack/ts-css";
|
|
8
|
+
//#region packages/ts-components/src/standard/pageScript/pageScript.d.ts
|
|
9
|
+
interface PageScript {
|
|
10
|
+
teleport?: string;
|
|
11
|
+
src?: string;
|
|
12
|
+
sourceRelPath?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
async?: unknown;
|
|
15
|
+
defer?: unknown;
|
|
16
|
+
integrity?: string;
|
|
17
|
+
nonce?: string;
|
|
18
|
+
crossOrigin?: string;
|
|
19
|
+
referrerPolicy?: string;
|
|
20
|
+
noModule?: unknown;
|
|
21
|
+
}
|
|
22
|
+
interface RegorApp {
|
|
23
|
+
src?: string;
|
|
24
|
+
sourceRelPath?: string;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region packages/ts-components/src/standard/componentVariant.d.ts
|
|
28
|
+
type ComponentVariant = 'none' | 'solid' | 'surface' | 'surfaceAlt' | 'spotlight' | 'glass' | 'flat' | 'flatAlt' | 'flatSolid' | 'outlineFill' | 'outline' | 'subtle' | 'subtleBtn' | 'link' | 'sheen' | 'underline' | 'rail' | 'bracket';
|
|
29
|
+
type ComponentVariantMode = 'stateful' | 'stateless';
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region packages/ts-components/src/standard/icon/icon.d.ts
|
|
32
|
+
type GetSvgIcon = (name: string) => string;
|
|
33
|
+
type IconFrameSize = 'sm' | 'md' | 'lg';
|
|
34
|
+
interface Icon {
|
|
35
|
+
name?: RefOrValue<string>;
|
|
36
|
+
svg?: ComputedRef<string>;
|
|
37
|
+
}
|
|
38
|
+
interface IconFrame {
|
|
39
|
+
name?: RefOrValue<string>;
|
|
40
|
+
tone?: RefOrValue<SemanticTone>;
|
|
41
|
+
size?: RefOrValue<IconFrameSize>;
|
|
42
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
43
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
44
|
+
classes?: ComputedRef<string>;
|
|
45
|
+
hasIcon?: ComputedRef<boolean>;
|
|
46
|
+
}
|
|
47
|
+
export declare function defineIconComponents(getSvgIcon: GetSvgIcon): {
|
|
48
|
+
icon: import("regor").Component<Icon>;
|
|
49
|
+
iconFrame: import("regor").Component<IconFrame>;
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region packages/ts-components/src/defineComponents.d.ts
|
|
53
|
+
export declare function defineComponents(getSvgIcon: GetSvgIcon): {
|
|
54
|
+
alertBox: import("regor").Component<AlertBox>;
|
|
55
|
+
badge: import("regor").Component<Badge>;
|
|
56
|
+
barChart: import("regor").Component<BarChart>;
|
|
57
|
+
btn: import("regor").Component<Btn>;
|
|
58
|
+
btnLink: import("regor").Component<BtnLink>;
|
|
59
|
+
btnGroup: import("regor").Component<BtnGroup>;
|
|
60
|
+
btnGroupDropDown: import("regor").Component<BtnGroupDropDown>;
|
|
61
|
+
classicLogo: import("regor").Component<ClassicLogo>;
|
|
62
|
+
composer: import("regor").Component<Composer>;
|
|
63
|
+
consent: import("regor").Component<Consent>;
|
|
64
|
+
contactForm: import("regor").Component<ContactForm>;
|
|
65
|
+
doughnutChart: import("regor").Component<DoughnutChart>;
|
|
66
|
+
dropFiles: import("regor").Component<DropFiles>;
|
|
67
|
+
expandablePanel: import("regor").Component<ExpandablePanel>;
|
|
68
|
+
flex: import("regor").Component<Flex>;
|
|
69
|
+
siteFooter: import("regor").Component<SiteFooter>;
|
|
70
|
+
formInputField: import("regor").Component<FormInputField>;
|
|
71
|
+
autoCompleteInput: import("regor").Component<AutoCompleteInput>;
|
|
72
|
+
autoCompleteOptionRow: import("regor").Component<AutoCompleteOptionRow>;
|
|
73
|
+
appForm: import("regor").Component<AppForm>;
|
|
74
|
+
formMeta: import("regor").Component<FormMeta>;
|
|
75
|
+
formCheck: import("regor").Component<FormCheck>;
|
|
76
|
+
formAssistLink: import("regor").Component<FormAssistLink>;
|
|
77
|
+
formSubmit: import("regor").Component<FormSubmit>;
|
|
78
|
+
formDivider: import("regor").Component<FormDivider>;
|
|
79
|
+
formStatus: import("regor").Component<FormStatus>;
|
|
80
|
+
formSelectField: import("regor").Component<FormSelectField>;
|
|
81
|
+
multiAutoCompleteInput: import("regor").Component<MultiAutoCompleteInput>;
|
|
82
|
+
multiAutoCompleteOptionRow: import("regor").Component<MultiAutoCompleteDefaultOptionRow>;
|
|
83
|
+
grid: import("regor").Component<Grid>;
|
|
84
|
+
icon: import("regor").Component<Icon>;
|
|
85
|
+
iconFrame: import("regor").Component<IconFrame>;
|
|
86
|
+
codeShowcase: import("regor").Component<CodeShowcase>;
|
|
87
|
+
comparisonColumn: import("regor").Component<ComparisonColumn>;
|
|
88
|
+
comparisonFeature: import("regor").Component<ComparisonFeature>;
|
|
89
|
+
comparisonTable: import("regor").Component<ComparisonTable>;
|
|
90
|
+
ctaSection: import("regor").Component<CtaSection>;
|
|
91
|
+
featureCard: import("regor").Component<FeatureCard>;
|
|
92
|
+
landingBand: import("regor").Component<LandingBand>;
|
|
93
|
+
landingSection: import("regor").Component<LandingSection>;
|
|
94
|
+
metricItem: import("regor").Component<MetricItem>;
|
|
95
|
+
metricStrip: import("regor").Component<MetricStrip>;
|
|
96
|
+
lineChart: import("regor").Component<LineChart>;
|
|
97
|
+
siteLogo: import("regor").Component<SiteLogo>;
|
|
98
|
+
modalStore: import("regor").Component<ModalStore>;
|
|
99
|
+
modal: import("regor").Component<Modal>;
|
|
100
|
+
modalTrigger: import("regor").Component<ModalTrigger>;
|
|
101
|
+
navItem: import("regor").Component<{
|
|
102
|
+
item: NavItemState;
|
|
103
|
+
}>;
|
|
104
|
+
navList: import("regor").Component<NavList>;
|
|
105
|
+
navMenu: import("regor").Component<NavMenu>;
|
|
106
|
+
pageLinks: import("regor").Component<PageLinks>;
|
|
107
|
+
pageScript: import("regor").Component<PageScript>;
|
|
108
|
+
regorApp: import("regor").Component<RegorApp>;
|
|
109
|
+
pageToc: import("regor").Component<PageToc>;
|
|
110
|
+
panel: import("regor").Component<Panel>;
|
|
111
|
+
pricingTable: import("regor").Component<PricingTable>;
|
|
112
|
+
pricingPlan: import("regor").Component<PricingPlan>;
|
|
113
|
+
pricingFeature: import("regor").Component<PricingFeature>;
|
|
114
|
+
searchBox: import("regor").Component<SearchBox>;
|
|
115
|
+
sectionHeader: import("regor").Component<SectionHeader>;
|
|
116
|
+
signIn: import("regor").Component<SignIn>;
|
|
117
|
+
tabs: import("regor").Component<Tabs>;
|
|
118
|
+
tabPane: import("regor").Component<TabPane>;
|
|
119
|
+
themeToggle: import("regor").Component<ThemeToggle>;
|
|
120
|
+
toastHost: import("regor").Component<ToastHost>;
|
|
121
|
+
topBar: import("regor").Component<TopBar>;
|
|
122
|
+
virtualList: import("regor").Component<VirtualList>;
|
|
123
|
+
variableVirtualList: import("regor").Component<VariableVirtualList>;
|
|
124
|
+
virtualTable: import("regor").Component<VirtualTable>;
|
|
125
|
+
variableVirtualTable: import("regor").Component<VariableVirtualTable>;
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region packages/ts-components/src/registerStyles.d.ts
|
|
129
|
+
export declare function registerStyles(): void;
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region packages/ts-components/src/standard/alertBox/alertBox.d.ts
|
|
132
|
+
interface AlertBox {
|
|
133
|
+
title?: RefOrValue<string>;
|
|
134
|
+
eyebrow?: RefOrValue<string>;
|
|
135
|
+
badge?: RefOrValue<string>;
|
|
136
|
+
meta?: RefOrValue<string>;
|
|
137
|
+
tone?: RefOrValue<SemanticTone>;
|
|
138
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
139
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
140
|
+
icon?: RefOrValue<string>;
|
|
141
|
+
}
|
|
142
|
+
export declare function defineAlertComponents(): {
|
|
143
|
+
alertBox: import("regor").Component<AlertBox>;
|
|
144
|
+
};
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region packages/ts-components/src/standard/badge/badge.d.ts
|
|
147
|
+
interface Badge {
|
|
148
|
+
tone?: RefOrValue<SemanticTone>;
|
|
149
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
150
|
+
classes?: ComputedRef<string>;
|
|
151
|
+
}
|
|
152
|
+
export declare function defineBadgeComponents(): {
|
|
153
|
+
badge: import("regor").Component<Badge>;
|
|
154
|
+
};
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region packages/ts-components/src/standard/badge/badgeStyle.d.ts
|
|
157
|
+
export declare function registerBadgeStyles(): void;
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region packages/ts-components/src/standard/chart/cartesianChart.d.ts
|
|
160
|
+
interface ResolvedCartesianChartGridLine {
|
|
161
|
+
value: number;
|
|
162
|
+
formattedValue: string;
|
|
163
|
+
y: number;
|
|
164
|
+
}
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region packages/ts-components/src/standard/barChart/barChart.d.ts
|
|
167
|
+
interface BarChartItem {
|
|
168
|
+
label?: RefOrValue<string>;
|
|
169
|
+
value?: RefOrValue<number | string>;
|
|
170
|
+
color?: RefOrValue<string>;
|
|
171
|
+
}
|
|
172
|
+
interface ResolvedBarChartItem {
|
|
173
|
+
label: string;
|
|
174
|
+
value: number;
|
|
175
|
+
formattedValue: string;
|
|
176
|
+
color: string;
|
|
177
|
+
x: number;
|
|
178
|
+
y: number;
|
|
179
|
+
width: number;
|
|
180
|
+
height: number;
|
|
181
|
+
valueLabelX: number;
|
|
182
|
+
valueLabelY: number;
|
|
183
|
+
valueLabelBaseline: string;
|
|
184
|
+
labelX: number;
|
|
185
|
+
labelY: number;
|
|
186
|
+
roundedTop: number;
|
|
187
|
+
}
|
|
188
|
+
interface ResolvedBarChartGridLine extends ResolvedCartesianChartGridLine {}
|
|
189
|
+
interface BarChart {
|
|
190
|
+
items?: RefOrValue<Array<RefOrValue<BarChartItem>>>;
|
|
191
|
+
title?: RefOrValue<string>;
|
|
192
|
+
description?: RefOrValue<string>;
|
|
193
|
+
ariaLabel?: RefOrValue<string>;
|
|
194
|
+
emptyLabel?: RefOrValue<string>;
|
|
195
|
+
valueSuffix?: RefOrValue<string>;
|
|
196
|
+
width?: RefOrValue<number | string>;
|
|
197
|
+
height?: RefOrValue<number | string>;
|
|
198
|
+
minValue?: RefOrValue<number | string>;
|
|
199
|
+
maxValue?: RefOrValue<number | string>;
|
|
200
|
+
animated?: RefOrValue<boolean | string>;
|
|
201
|
+
showValues?: RefOrValue<boolean | string>;
|
|
202
|
+
showLabels?: RefOrValue<boolean | string>;
|
|
203
|
+
showAxis?: RefOrValue<boolean | string>;
|
|
204
|
+
tone?: RefOrValue<SemanticTone>;
|
|
205
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
206
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
207
|
+
classes?: ComputedRef<string>;
|
|
208
|
+
resolvedWidth?: ComputedRef<string | number>;
|
|
209
|
+
resolvedHeight?: ComputedRef<string | number | undefined>;
|
|
210
|
+
resolvedAriaLabel?: ComputedRef<string>;
|
|
211
|
+
resolvedEmptyLabel?: ComputedRef<string>;
|
|
212
|
+
chartItems?: ComputedRef<ResolvedBarChartItem[]>;
|
|
213
|
+
gridLines?: ComputedRef<ResolvedBarChartGridLine[]>;
|
|
214
|
+
hasItems?: ComputedRef<boolean>;
|
|
215
|
+
zeroLineY?: ComputedRef<number>;
|
|
216
|
+
}
|
|
217
|
+
export declare function defineBarChartComponents(): {
|
|
218
|
+
barChart: import("regor").Component<BarChart>;
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region packages/ts-components/src/standard/barChart/barChartStyle.d.ts
|
|
222
|
+
export declare function registerBarChartStyles(): void;
|
|
223
|
+
//#endregion
|
|
224
|
+
//#region packages/ts-components/src/standard/btn/btn.d.ts
|
|
225
|
+
type BtnSize = 'sm' | 'md' | 'lg';
|
|
226
|
+
type BtnType = 'button' | 'submit' | 'reset';
|
|
227
|
+
type BtnIconPosition = 'start' | 'end';
|
|
228
|
+
interface BtnBase {
|
|
229
|
+
tone?: RefOrValue<SemanticTone>;
|
|
230
|
+
size?: RefOrValue<BtnSize>;
|
|
231
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
232
|
+
icon?: RefOrValue<string>;
|
|
233
|
+
iconPosition?: RefOrValue<BtnIconPosition>;
|
|
234
|
+
iconOnly?: RefOrValue<boolean>;
|
|
235
|
+
ariaLabel?: RefOrValue<string>;
|
|
236
|
+
classes?: ComputedRef<string>;
|
|
237
|
+
showStartIcon?: ComputedRef<boolean>;
|
|
238
|
+
showEndIcon?: ComputedRef<boolean>;
|
|
239
|
+
emits?: Emits<'click'>;
|
|
240
|
+
}
|
|
241
|
+
interface Btn extends BtnBase {
|
|
242
|
+
type?: RefOrValue<BtnType>;
|
|
243
|
+
disabled?: RefOrValue<boolean>;
|
|
244
|
+
buttonType?: RefOrValue<BtnType>;
|
|
245
|
+
}
|
|
246
|
+
interface BtnLink extends BtnBase {
|
|
247
|
+
href?: RefOrValue<string>;
|
|
248
|
+
target?: RefOrValue<string>;
|
|
249
|
+
rel?: RefOrValue<string>;
|
|
250
|
+
resolvedHref?: ComputedRef<string>;
|
|
251
|
+
resolvedRel?: ComputedRef<string>;
|
|
252
|
+
}
|
|
253
|
+
export declare function defineButtonComponents(): {
|
|
254
|
+
btn: import("regor").Component<Btn>;
|
|
255
|
+
btnLink: import("regor").Component<BtnLink>;
|
|
256
|
+
};
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region packages/ts-components/src/standard/btn/btnStyle.d.ts
|
|
259
|
+
export declare function registerButtonStyles(): void;
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region packages/ts-components/src/standard/btnGroup/btnGroup.d.ts
|
|
262
|
+
type BtnGroupAlign = 'start' | 'center' | 'end';
|
|
263
|
+
type BtnGroupDropDownAlign = 'start' | 'end';
|
|
264
|
+
interface BtnGroup {
|
|
265
|
+
align?: RefOrValue<BtnGroupAlign>;
|
|
266
|
+
wrap?: RefOrValue<boolean>;
|
|
267
|
+
classes?: ComputedRef<string>;
|
|
268
|
+
}
|
|
269
|
+
interface BtnGroupDropDown {
|
|
270
|
+
label?: RefOrValue<string>;
|
|
271
|
+
icon?: RefOrValue<string>;
|
|
272
|
+
iconPosition?: RefOrValue<BtnIconPosition>;
|
|
273
|
+
iconOnly?: RefOrValue<boolean>;
|
|
274
|
+
ariaLabel?: RefOrValue<string>;
|
|
275
|
+
tone?: RefOrValue<SemanticTone>;
|
|
276
|
+
size?: RefOrValue<BtnSize>;
|
|
277
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
278
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
279
|
+
menuTone?: RefOrValue<SemanticTone>;
|
|
280
|
+
menuVariant?: RefOrValue<ComponentVariant>;
|
|
281
|
+
menuVariantMode?: RefOrValue<ComponentVariantMode>;
|
|
282
|
+
align?: RefOrValue<BtnGroupDropDownAlign>;
|
|
283
|
+
classes?: ComputedRef<string>;
|
|
284
|
+
triggerClasses?: ComputedRef<string>;
|
|
285
|
+
menuClasses?: ComputedRef<string>;
|
|
286
|
+
resolvedAlign?: ComputedRef<BtnGroupDropDownAlign>;
|
|
287
|
+
resolvedLabel?: ComputedRef<string>;
|
|
288
|
+
resolvedIcon?: ComputedRef<string>;
|
|
289
|
+
resolvedAriaLabel?: ComputedRef<string | undefined>;
|
|
290
|
+
showStartIcon?: ComputedRef<boolean>;
|
|
291
|
+
showEndIcon?: ComputedRef<boolean>;
|
|
292
|
+
}
|
|
293
|
+
export declare function defineBtnGroupComponents(): {
|
|
294
|
+
btnGroup: import("regor").Component<BtnGroup>;
|
|
295
|
+
btnGroupDropDown: import("regor").Component<BtnGroupDropDown>;
|
|
296
|
+
};
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region packages/ts-components/src/standard/btnGroup/btnGroupStyle.d.ts
|
|
299
|
+
export declare function registerBtnGroupStyles(): void;
|
|
300
|
+
//#endregion
|
|
301
|
+
//#region packages/ts-components/src/standard/classicLogo/classicLogo.d.ts
|
|
302
|
+
interface LogoLetter {
|
|
303
|
+
value: string;
|
|
304
|
+
isSpace?: boolean;
|
|
305
|
+
style?: Record<string, string>;
|
|
306
|
+
}
|
|
307
|
+
interface ResolvedClassicLogo {
|
|
308
|
+
brand?: string;
|
|
309
|
+
letterColors?: string;
|
|
310
|
+
subtitleLetterColors?: string;
|
|
311
|
+
colors?: string[];
|
|
312
|
+
logoBackground?: number;
|
|
313
|
+
logoForeground?: number;
|
|
314
|
+
brandLetters?: LogoLetter[];
|
|
315
|
+
subtitle?: string;
|
|
316
|
+
subtitleLetters?: LogoLetter[];
|
|
317
|
+
glyphStyle?: Record<string, string>;
|
|
318
|
+
layoutStyle?: Record<string, string>;
|
|
319
|
+
brandSize?: string;
|
|
320
|
+
brandSizeSm?: string;
|
|
321
|
+
brandSizeMd?: string;
|
|
322
|
+
brandSizeLg?: string;
|
|
323
|
+
brandSizeXl?: string;
|
|
324
|
+
subtitleSize?: string;
|
|
325
|
+
subtitleSizeSm?: string;
|
|
326
|
+
subtitleSizeMd?: string;
|
|
327
|
+
subtitleSizeLg?: string;
|
|
328
|
+
subtitleSizeXl?: string;
|
|
329
|
+
iconSize?: string;
|
|
330
|
+
iconSizeSm?: string;
|
|
331
|
+
iconSizeMd?: string;
|
|
332
|
+
iconSizeLg?: string;
|
|
333
|
+
iconSizeXl?: string;
|
|
334
|
+
subtitleInset?: string;
|
|
335
|
+
subtitleInsetSm?: string;
|
|
336
|
+
subtitleInsetMd?: string;
|
|
337
|
+
subtitleInsetLg?: string;
|
|
338
|
+
subtitleInsetXl?: string;
|
|
339
|
+
href?: string | null;
|
|
340
|
+
icon?: string;
|
|
341
|
+
ariaLabel?: string;
|
|
342
|
+
}
|
|
343
|
+
type ReactiveClassicLogoOptions = { [K in keyof ClassicLogoConfig$1]?: RefOrValue<ClassicLogoConfig$1[K]>; };
|
|
344
|
+
interface ClassicLogo extends ReactiveClassicLogoOptions {
|
|
345
|
+
config?: RefOrValue<Partial<ClassicLogoConfig$1>>;
|
|
346
|
+
logo?: ComputedRef<ResolvedClassicLogo>;
|
|
347
|
+
}
|
|
348
|
+
export declare function defineClassicLogoComponents(): {
|
|
349
|
+
classicLogo: import("regor").Component<ClassicLogo>;
|
|
350
|
+
};
|
|
351
|
+
//#endregion
|
|
352
|
+
//#region packages/ts-components/src/standard/classicLogo/classicLogoStyle.d.ts
|
|
353
|
+
export declare function registerClassicLogoStyles(): void;
|
|
354
|
+
//#endregion
|
|
355
|
+
//#region packages/ts-components/src/standard/composer/composer.d.ts
|
|
356
|
+
type ComposerCommand = 'bold' | 'italic' | 'underline' | 'justifyLeft' | 'justifyCenter' | 'justifyRight' | 'insertUnorderedList' | 'insertOrderedList' | 'removeFormat';
|
|
357
|
+
interface Composer {
|
|
358
|
+
html?: Ref<string> | SRef<string>;
|
|
359
|
+
text?: Ref<string> | SRef<string>;
|
|
360
|
+
label?: RefOrValue<string>;
|
|
361
|
+
placeholder?: RefOrValue<string>;
|
|
362
|
+
disabled?: RefOrValue<boolean>;
|
|
363
|
+
focusOnMount?: RefOrValue<boolean>;
|
|
364
|
+
minHeight?: RefOrValue<number | string>;
|
|
365
|
+
tone?: RefOrValue<SemanticTone>;
|
|
366
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
367
|
+
imagePreviewUrls?: RefOrValue<Record<string, string>>;
|
|
368
|
+
classes?: ComputedRef<string>;
|
|
369
|
+
editorStyle?: ComputedRef<Record<string, string>>;
|
|
370
|
+
sourceId?: string;
|
|
371
|
+
editorElement?: ReturnType<typeof sref<HTMLElement | null>>;
|
|
372
|
+
sourceHtml?: Ref<string>;
|
|
373
|
+
sourceMode?: Ref<boolean>;
|
|
374
|
+
format?: (command: ComposerCommand) => void;
|
|
375
|
+
createLink?: () => void;
|
|
376
|
+
toggleSourceMode?: () => void;
|
|
377
|
+
handleInput?: (event: Event) => void;
|
|
378
|
+
handlePaste?: (event: ClipboardEvent) => void;
|
|
379
|
+
handleDragOver?: (event: DragEvent) => void;
|
|
380
|
+
handleDrop?: (event: DragEvent) => void;
|
|
381
|
+
handleSourceInput?: (event: Event) => void;
|
|
382
|
+
}
|
|
383
|
+
export declare function defineComposerComponents(): {
|
|
384
|
+
composer: import("regor").Component<Composer>;
|
|
385
|
+
};
|
|
386
|
+
export declare const COMPOSER_BODY_STYLE = "padding:1rem";
|
|
387
|
+
export declare function createComposerBodyHtml(contentHtml?: string, placeholder?: string): string;
|
|
388
|
+
//#endregion
|
|
389
|
+
//#region packages/ts-components/src/standard/composer/composerStyle.d.ts
|
|
390
|
+
export declare function registerComposerStyles(): void;
|
|
391
|
+
//#endregion
|
|
392
|
+
//#region packages/ts-components/src/standard/composer/emailHtmlPolicy.d.ts
|
|
393
|
+
export declare const GMAIL_COMPATIBLE_EMAIL_TAGS: Set<string>;
|
|
394
|
+
export declare const GMAIL_SUPPORTED_CSS_PROPERTIES: Set<string>;
|
|
395
|
+
interface EmailHtmlPolicyOptions {
|
|
396
|
+
imageUrlResolver?: (url: string) => string | undefined;
|
|
397
|
+
}
|
|
398
|
+
export declare function copySafeEmailStyles(source: HTMLElement, target: HTMLElement, options?: EmailHtmlPolicyOptions): void;
|
|
399
|
+
export declare function applySafeEmailStyles(style: string | null | undefined, target: HTMLElement, options?: EmailHtmlPolicyOptions): void;
|
|
400
|
+
export declare function sanitizeEmailStyleValue(property: string, value: string, options?: EmailHtmlPolicyOptions): string | undefined;
|
|
401
|
+
export declare function sanitizePlainAttribute(value: string): string;
|
|
402
|
+
export declare function toSafeEmailImageUrl(value: string): string | undefined;
|
|
403
|
+
export declare function normalizeEmailCidUrl(value: string): string | undefined;
|
|
404
|
+
export declare function normalizeEmailContentId(value: string): string;
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region packages/ts-components/src/standard/consent/consent.d.ts
|
|
407
|
+
interface ConsentCategoryState extends ConsentCategory {
|
|
408
|
+
inputId?: string;
|
|
409
|
+
}
|
|
410
|
+
interface Consent extends ConsentConfig {
|
|
411
|
+
settingsTeleport?: string;
|
|
412
|
+
categories: ConsentCategoryState[];
|
|
413
|
+
tone?: RefOrValue<SemanticTone>;
|
|
414
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
415
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
416
|
+
}
|
|
417
|
+
export declare function defineConsentComponents(): {
|
|
418
|
+
consent: import("regor").Component<Consent>;
|
|
419
|
+
};
|
|
420
|
+
//#endregion
|
|
421
|
+
//#region packages/ts-components/src/standard/consent/consentStyle.d.ts
|
|
422
|
+
export declare function registerConsentStyles(): void;
|
|
423
|
+
//#endregion
|
|
424
|
+
//#region packages/ts-components/src/standard/contactForm/contactForm.d.ts
|
|
425
|
+
type ContactFormMethod = 'get' | 'post';
|
|
426
|
+
interface ContactForm {
|
|
427
|
+
title?: string;
|
|
428
|
+
description?: string;
|
|
429
|
+
action?: string;
|
|
430
|
+
method?: ContactFormMethod;
|
|
431
|
+
submitLabel?: string;
|
|
432
|
+
nameLabel?: string;
|
|
433
|
+
emailLabel?: string;
|
|
434
|
+
topicLabel?: string;
|
|
435
|
+
messageLabel?: string;
|
|
436
|
+
namePlaceholder?: string;
|
|
437
|
+
emailPlaceholder?: string;
|
|
438
|
+
messagePlaceholder?: string;
|
|
439
|
+
topicGeneralLabel?: string;
|
|
440
|
+
topicSupportLabel?: string;
|
|
441
|
+
topicPartnershipLabel?: string;
|
|
442
|
+
resolvedMethod?: ContactFormMethod;
|
|
443
|
+
}
|
|
444
|
+
export declare function defineContactFormComponents(): {
|
|
445
|
+
contactForm: import("regor").Component<ContactForm>;
|
|
446
|
+
};
|
|
447
|
+
//#endregion
|
|
448
|
+
//#region packages/ts-components/src/standard/contactForm/contactFormStyle.d.ts
|
|
449
|
+
export declare function registerContactFormStyles(): void;
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region packages/ts-components/src/standard/doughnutChart/doughnutChart.d.ts
|
|
452
|
+
interface DoughnutChartSegment {
|
|
453
|
+
label?: RefOrValue<string>;
|
|
454
|
+
value?: RefOrValue<number | string>;
|
|
455
|
+
color?: RefOrValue<string>;
|
|
456
|
+
}
|
|
457
|
+
interface ResolvedDoughnutChartSegment {
|
|
458
|
+
label: string;
|
|
459
|
+
value: number;
|
|
460
|
+
percent: number;
|
|
461
|
+
formattedValue: string;
|
|
462
|
+
path: string;
|
|
463
|
+
color: string;
|
|
464
|
+
}
|
|
465
|
+
interface ResolvedDoughnutChartSeparator {
|
|
466
|
+
path: string;
|
|
467
|
+
}
|
|
468
|
+
interface DoughnutChart {
|
|
469
|
+
segments?: RefOrValue<Array<RefOrValue<DoughnutChartSegment>>>;
|
|
470
|
+
title?: RefOrValue<string>;
|
|
471
|
+
description?: RefOrValue<string>;
|
|
472
|
+
ariaLabel?: RefOrValue<string>;
|
|
473
|
+
centerLabel?: RefOrValue<string>;
|
|
474
|
+
centerValue?: RefOrValue<string>;
|
|
475
|
+
centerLabelSize?: RefOrValue<number | string>;
|
|
476
|
+
centerValueSize?: RefOrValue<number | string>;
|
|
477
|
+
emptyLabel?: RefOrValue<string>;
|
|
478
|
+
valueSuffix?: RefOrValue<string>;
|
|
479
|
+
size?: RefOrValue<number | string>;
|
|
480
|
+
thickness?: RefOrValue<number | string>;
|
|
481
|
+
gap?: RefOrValue<number | string>;
|
|
482
|
+
startAngle?: RefOrValue<number | string>;
|
|
483
|
+
animated?: RefOrValue<boolean | string>;
|
|
484
|
+
tone?: RefOrValue<SemanticTone>;
|
|
485
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
486
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
487
|
+
classes?: ComputedRef<string>;
|
|
488
|
+
resolvedSize?: ComputedRef<string | number>;
|
|
489
|
+
resolvedAriaLabel?: ComputedRef<string>;
|
|
490
|
+
resolvedEmptyLabel?: ComputedRef<string>;
|
|
491
|
+
chartSegments?: ComputedRef<ResolvedDoughnutChartSegment[]>;
|
|
492
|
+
separators?: ComputedRef<ResolvedDoughnutChartSeparator[]>;
|
|
493
|
+
hasSeparators?: ComputedRef<boolean>;
|
|
494
|
+
separatorMaskId?: string;
|
|
495
|
+
separatorMaskUrl?: ComputedRef<string | undefined>;
|
|
496
|
+
hasSegments?: ComputedRef<boolean>;
|
|
497
|
+
total?: ComputedRef<number>;
|
|
498
|
+
centerValueText?: ComputedRef<string>;
|
|
499
|
+
centerLabelStyle?: ComputedRef<Record<string, string> | undefined>;
|
|
500
|
+
centerValueStyle?: ComputedRef<Record<string, string> | undefined>;
|
|
501
|
+
trackPath?: ComputedRef<string>;
|
|
502
|
+
}
|
|
503
|
+
export declare function defineDoughnutChartComponents(): {
|
|
504
|
+
doughnutChart: import("regor").Component<DoughnutChart>;
|
|
505
|
+
};
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region packages/ts-components/src/standard/doughnutChart/doughnutChartStyle.d.ts
|
|
508
|
+
export declare function registerDoughnutChartStyles(): void;
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region packages/ts-components/src/standard/dropFiles/dropFiles.d.ts
|
|
511
|
+
interface DropFileItem {
|
|
512
|
+
id: string;
|
|
513
|
+
file: File;
|
|
514
|
+
name: string;
|
|
515
|
+
type: string;
|
|
516
|
+
size: number;
|
|
517
|
+
sizeLabel: string;
|
|
518
|
+
lastModified: number;
|
|
519
|
+
icon: string;
|
|
520
|
+
}
|
|
521
|
+
type DropFilesIconMap = Record<string, string>;
|
|
522
|
+
interface DropFilesAddOptions {
|
|
523
|
+
accept?: RefOrValue<string> | string[];
|
|
524
|
+
iconMap?: DropFilesIconMap | SRef<DropFilesIconMap>;
|
|
525
|
+
fileIcon?: RefOrValue<string>;
|
|
526
|
+
multiple?: RefOrValue<boolean>;
|
|
527
|
+
idSequence?: number;
|
|
528
|
+
}
|
|
529
|
+
interface DropFilesAddResult {
|
|
530
|
+
files: DropFileItem[];
|
|
531
|
+
idSequence: number;
|
|
532
|
+
acceptedCount: number;
|
|
533
|
+
}
|
|
534
|
+
interface DropFiles {
|
|
535
|
+
files?: SRef<DropFileItem[]>;
|
|
536
|
+
accept?: RefOrValue<string> | string[];
|
|
537
|
+
iconMap?: DropFilesIconMap | SRef<DropFilesIconMap>;
|
|
538
|
+
label?: RefOrValue<string>;
|
|
539
|
+
hint?: RefOrValue<string>;
|
|
540
|
+
emptyTitle?: RefOrValue<string>;
|
|
541
|
+
emptyText?: RefOrValue<string>;
|
|
542
|
+
disabled?: RefOrValue<boolean>;
|
|
543
|
+
multiple?: RefOrValue<boolean>;
|
|
544
|
+
tone?: RefOrValue<SemanticTone>;
|
|
545
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
546
|
+
uploadIcon?: RefOrValue<string>;
|
|
547
|
+
fileIcon?: RefOrValue<string>;
|
|
548
|
+
removeIcon?: RefOrValue<string>;
|
|
549
|
+
onChange?: (files: DropFileItem[]) => void;
|
|
550
|
+
inputElement?: ReturnType<typeof sref<HTMLInputElement | null>>;
|
|
551
|
+
dragging?: SRef<boolean>;
|
|
552
|
+
classes?: ComputedRef<string>;
|
|
553
|
+
acceptValue?: ComputedRef<string>;
|
|
554
|
+
resolvedMultiple?: ComputedRef<boolean>;
|
|
555
|
+
resolvedUploadIcon?: ComputedRef<string>;
|
|
556
|
+
resolvedRemoveIcon?: ComputedRef<string>;
|
|
557
|
+
hasFiles?: ComputedRef<boolean>;
|
|
558
|
+
openFileDialog?: () => void;
|
|
559
|
+
handleZoneKeydown?: (event: KeyboardEvent) => void;
|
|
560
|
+
handleInput?: (event: Event) => void;
|
|
561
|
+
handlePaste?: (event: ClipboardEvent) => void;
|
|
562
|
+
handleDragEnter?: (event: DragEvent) => void;
|
|
563
|
+
handleDragOver?: (event: DragEvent) => void;
|
|
564
|
+
handleDragLeave?: (event: DragEvent) => void;
|
|
565
|
+
handleDrop?: (event: DragEvent) => void;
|
|
566
|
+
removeFile?: (id: string) => void;
|
|
567
|
+
clear?: () => void;
|
|
568
|
+
}
|
|
569
|
+
export declare function defineDropFilesComponents(): {
|
|
570
|
+
dropFiles: import("regor").Component<DropFiles>;
|
|
571
|
+
};
|
|
572
|
+
export declare function addDropFiles(currentFiles: DropFileItem[], files: File[], options?: DropFilesAddOptions): DropFilesAddResult;
|
|
573
|
+
//#endregion
|
|
574
|
+
//#region packages/ts-components/src/standard/dropFiles/dropFilesStyle.d.ts
|
|
575
|
+
export declare function registerDropFilesStyles(): void;
|
|
576
|
+
//#endregion
|
|
577
|
+
//#region packages/ts-components/src/standard/expandablePanel/expandablePanel.d.ts
|
|
578
|
+
interface ExpandablePanel {
|
|
579
|
+
title?: RefOrValue<string>;
|
|
580
|
+
description?: RefOrValue<string>;
|
|
581
|
+
meta?: RefOrValue<string>;
|
|
582
|
+
badge?: RefOrValue<string>;
|
|
583
|
+
icon?: RefOrValue<string>;
|
|
584
|
+
tone?: RefOrValue<SemanticTone>;
|
|
585
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
586
|
+
summaryVariant?: RefOrValue<ComponentVariant>;
|
|
587
|
+
open?: RefOrValue<boolean>;
|
|
588
|
+
classes?: ComputedRef<string>;
|
|
589
|
+
summaryClasses?: ComputedRef<string>;
|
|
590
|
+
}
|
|
591
|
+
export declare function defineExpandablePanelComponents(): {
|
|
592
|
+
expandablePanel: import("regor").Component<ExpandablePanel>;
|
|
593
|
+
};
|
|
594
|
+
//#endregion
|
|
595
|
+
//#region packages/ts-components/src/standard/expandablePanel/expandablePanelStyle.d.ts
|
|
596
|
+
export declare function registerExpandablePanelStyles(): void;
|
|
597
|
+
//#endregion
|
|
598
|
+
//#region packages/ts-components/src/standard/flex/flex.d.ts
|
|
599
|
+
type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
600
|
+
type FlexAlign = 'stretch' | 'start' | 'center' | 'end' | 'baseline';
|
|
601
|
+
type FlexJustify = 'start' | 'center' | 'end' | 'stretch' | 'between' | 'around' | 'evenly';
|
|
602
|
+
type FlexWrap = boolean | 'wrap' | 'nowrap' | 'reverse' | 'true';
|
|
603
|
+
interface Flex {
|
|
604
|
+
container?: RefOrValue<string>;
|
|
605
|
+
direction?: RefOrValue<FlexDirection>;
|
|
606
|
+
directionSm?: RefOrValue<FlexDirection>;
|
|
607
|
+
directionMd?: RefOrValue<FlexDirection>;
|
|
608
|
+
directionLg?: RefOrValue<FlexDirection>;
|
|
609
|
+
directionXl?: RefOrValue<FlexDirection>;
|
|
610
|
+
align?: RefOrValue<FlexAlign>;
|
|
611
|
+
alignSm?: RefOrValue<FlexAlign>;
|
|
612
|
+
alignMd?: RefOrValue<FlexAlign>;
|
|
613
|
+
alignLg?: RefOrValue<FlexAlign>;
|
|
614
|
+
alignXl?: RefOrValue<FlexAlign>;
|
|
615
|
+
justify?: RefOrValue<FlexJustify>;
|
|
616
|
+
justifySm?: RefOrValue<FlexJustify>;
|
|
617
|
+
justifyMd?: RefOrValue<FlexJustify>;
|
|
618
|
+
justifyLg?: RefOrValue<FlexJustify>;
|
|
619
|
+
justifyXl?: RefOrValue<FlexJustify>;
|
|
620
|
+
wrap?: RefOrValue<FlexWrap>;
|
|
621
|
+
wrapSm?: RefOrValue<FlexWrap>;
|
|
622
|
+
wrapMd?: RefOrValue<FlexWrap>;
|
|
623
|
+
wrapLg?: RefOrValue<FlexWrap>;
|
|
624
|
+
wrapXl?: RefOrValue<FlexWrap>;
|
|
625
|
+
inline?: RefOrValue<boolean | string>;
|
|
626
|
+
classes?: ComputedRef<string>;
|
|
627
|
+
}
|
|
628
|
+
export declare function defineFlexComponents(): {
|
|
629
|
+
flex: import("regor").Component<Flex>;
|
|
630
|
+
};
|
|
631
|
+
//#endregion
|
|
632
|
+
//#region packages/ts-components/src/standard/flex/flexStyle.d.ts
|
|
633
|
+
export declare function registerFlexStyles(): void;
|
|
634
|
+
//#endregion
|
|
635
|
+
//#region packages/ts-components/src/standard/footer/footer.d.ts
|
|
636
|
+
interface SiteFooter {
|
|
637
|
+
teleport?: string;
|
|
638
|
+
ariaLabel?: string;
|
|
639
|
+
copyright?: string;
|
|
640
|
+
legalLabel?: string;
|
|
641
|
+
tone?: RefOrValue<SemanticTone>;
|
|
642
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
643
|
+
classes?: ComputedRef<string>;
|
|
644
|
+
}
|
|
645
|
+
export declare function defineFooterComponents(): {
|
|
646
|
+
siteFooter: import("regor").Component<SiteFooter>;
|
|
647
|
+
};
|
|
648
|
+
//#endregion
|
|
649
|
+
//#region packages/ts-components/src/standard/footer/footerStyle.d.ts
|
|
650
|
+
export declare function registerFooterStyles(): void;
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region packages/ts-components/src/standard/form/formInputField.d.ts
|
|
653
|
+
type FormInputFieldType = 'color' | 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local' | 'month' | 'week';
|
|
654
|
+
declare class FormInputField {
|
|
655
|
+
readonly id: string;
|
|
656
|
+
readonly label?: RefOrValue<string>;
|
|
657
|
+
readonly tone?: RefOrValue<SemanticTone>;
|
|
658
|
+
readonly variant?: RefOrValue<ComponentVariant>;
|
|
659
|
+
readonly model: Ref<string | number>;
|
|
660
|
+
readonly type?: RefOrValue<FormInputFieldType>;
|
|
661
|
+
readonly name?: RefOrValue<string>;
|
|
662
|
+
readonly required?: RefOrValue<boolean>;
|
|
663
|
+
readonly autocomplete?: RefOrValue<string>;
|
|
664
|
+
readonly min?: RefOrValue<number | string>;
|
|
665
|
+
readonly step?: RefOrValue<number | string>;
|
|
666
|
+
readonly placeholder?: RefOrValue<string>;
|
|
667
|
+
readonly disabled?: RefOrValue<boolean>;
|
|
668
|
+
readonly icon?: RefOrValue<string>;
|
|
669
|
+
readonly iconEnd?: RefOrValue<string>;
|
|
670
|
+
classes?: ComputedRef<string>;
|
|
671
|
+
constructor(props: FormInputField);
|
|
672
|
+
get isNumberField(): boolean;
|
|
673
|
+
increment: () => void;
|
|
674
|
+
decrement: () => void;
|
|
675
|
+
private stepBy;
|
|
676
|
+
private readCurrentNumber;
|
|
677
|
+
private readMin;
|
|
678
|
+
private readStep;
|
|
679
|
+
}
|
|
680
|
+
export declare function defineFormInputField(): {
|
|
681
|
+
formInputField: import("regor").Component<FormInputField>;
|
|
682
|
+
};
|
|
683
|
+
//#endregion
|
|
684
|
+
//#region packages/ts-components/src/standard/form/autoCompleteInput.d.ts
|
|
685
|
+
type AutoCompleteValue = string | number;
|
|
686
|
+
interface AutoCompleteOption {
|
|
687
|
+
label: RefOrValue<string>;
|
|
688
|
+
value?: RefOrValue<AutoCompleteValue>;
|
|
689
|
+
disabled?: RefOrValue<boolean>;
|
|
690
|
+
keywords?: RefOrValue<string | string[]>;
|
|
691
|
+
}
|
|
692
|
+
interface ResolvedAutoCompleteOption {
|
|
693
|
+
label: string;
|
|
694
|
+
value: AutoCompleteValue;
|
|
695
|
+
disabled?: boolean;
|
|
696
|
+
keywords: string[];
|
|
697
|
+
}
|
|
698
|
+
interface AutoCompleteRow {
|
|
699
|
+
id: string;
|
|
700
|
+
index: number;
|
|
701
|
+
option: ResolvedAutoCompleteOption;
|
|
702
|
+
active: boolean;
|
|
703
|
+
selected: boolean;
|
|
704
|
+
disabled?: boolean;
|
|
705
|
+
classes: string;
|
|
706
|
+
}
|
|
707
|
+
interface AutoCompleteInput {
|
|
708
|
+
id?: RefOrValue<string>;
|
|
709
|
+
label?: RefOrValue<string>;
|
|
710
|
+
tone?: RefOrValue<SemanticTone>;
|
|
711
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
712
|
+
model?: Ref<string>;
|
|
713
|
+
selectedValue?: Ref<AutoCompleteValue | null>;
|
|
714
|
+
type?: RefOrValue<FormInputFieldType>;
|
|
715
|
+
name?: RefOrValue<string>;
|
|
716
|
+
required?: RefOrValue<boolean>;
|
|
717
|
+
autocomplete?: RefOrValue<string>;
|
|
718
|
+
placeholder?: RefOrValue<string>;
|
|
719
|
+
disabled?: RefOrValue<boolean>;
|
|
720
|
+
icon?: RefOrValue<string>;
|
|
721
|
+
iconEnd?: RefOrValue<string>;
|
|
722
|
+
options?: RefOrValue<AutoCompleteOption[]>;
|
|
723
|
+
rowComponent?: RefOrValue<string>;
|
|
724
|
+
minLength?: RefOrValue<number | string>;
|
|
725
|
+
maxResults?: RefOrValue<number | string>;
|
|
726
|
+
openOnFocus?: RefOrValue<boolean>;
|
|
727
|
+
loading?: RefOrValue<boolean>;
|
|
728
|
+
emptyText?: RefOrValue<string>;
|
|
729
|
+
loadingText?: RefOrValue<string>;
|
|
730
|
+
onSelect?: (option: ResolvedAutoCompleteOption) => void;
|
|
731
|
+
onSearch?: (query: string) => void;
|
|
732
|
+
emits?: Emits<'optionselect' | 'querychange'>;
|
|
733
|
+
listboxId?: string;
|
|
734
|
+
isOpen?: Ref<boolean>;
|
|
735
|
+
activeIndex?: Ref<number>;
|
|
736
|
+
query?: ComputedRef<string>;
|
|
737
|
+
resolvedOptions?: ComputedRef<ResolvedAutoCompleteOption[]>;
|
|
738
|
+
filteredOptions?: ComputedRef<ResolvedAutoCompleteOption[]>;
|
|
739
|
+
rows?: ComputedRef<AutoCompleteRow[]>;
|
|
740
|
+
activeOptionId?: ComputedRef<string | undefined>;
|
|
741
|
+
shouldRenderPopup?: ComputedRef<boolean>;
|
|
742
|
+
showLoading?: ComputedRef<boolean>;
|
|
743
|
+
showEmpty?: ComputedRef<boolean>;
|
|
744
|
+
resolvedRowComponent?: ComputedRef<string>;
|
|
745
|
+
resolvedIconEnd?: ComputedRef<string | undefined>;
|
|
746
|
+
handleFocusIn?: () => void;
|
|
747
|
+
handleFocusOut?: () => void;
|
|
748
|
+
handleInput?: () => void;
|
|
749
|
+
handleKeydown?: (event: KeyboardEvent) => void;
|
|
750
|
+
handleOptionMouseDown?: (event: MouseEvent) => void;
|
|
751
|
+
selectRow?: (row: AutoCompleteRow) => void;
|
|
752
|
+
}
|
|
753
|
+
interface AutoCompleteOptionRow {
|
|
754
|
+
option: RefOrValue<ResolvedAutoCompleteOption | null>;
|
|
755
|
+
active?: RefOrValue<boolean>;
|
|
756
|
+
selected?: RefOrValue<boolean>;
|
|
757
|
+
query?: RefOrValue<string>;
|
|
758
|
+
}
|
|
759
|
+
export declare function defineAutoCompleteInputComponents(): {
|
|
760
|
+
autoCompleteInput: import("regor").Component<AutoCompleteInput>;
|
|
761
|
+
autoCompleteOptionRow: import("regor").Component<AutoCompleteOptionRow>;
|
|
762
|
+
};
|
|
763
|
+
//#endregion
|
|
764
|
+
//#region packages/ts-components/src/standard/form/formCheck.d.ts
|
|
765
|
+
declare class FormCheck {
|
|
766
|
+
readonly id: string;
|
|
767
|
+
label?: RefOrValue<string>;
|
|
768
|
+
name?: RefOrValue<string>;
|
|
769
|
+
value?: RefOrValue<string>;
|
|
770
|
+
checked?: Ref<boolean>;
|
|
771
|
+
disabled?: RefOrValue<boolean>;
|
|
772
|
+
tone?: RefOrValue<SemanticTone>;
|
|
773
|
+
rootClass?: RefOrValue<string>;
|
|
774
|
+
hasLabel?: ComputedRef<boolean>;
|
|
775
|
+
classes?: ComputedRef<string>;
|
|
776
|
+
constructor(props: FormCheck);
|
|
777
|
+
}
|
|
778
|
+
export declare function defineFormCheckComponent(): import("regor").Component<FormCheck>;
|
|
779
|
+
//#endregion
|
|
780
|
+
//#region packages/ts-components/src/standard/form/form.d.ts
|
|
781
|
+
interface AppForm {
|
|
782
|
+
action?: RefOrValue<string>;
|
|
783
|
+
method?: RefOrValue<string>;
|
|
784
|
+
tone?: RefOrValue<SemanticTone>;
|
|
785
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
786
|
+
classes?: ComputedRef<string>;
|
|
787
|
+
}
|
|
788
|
+
interface FormMeta {}
|
|
789
|
+
interface FormAssistLink {
|
|
790
|
+
href?: RefOrValue<string>;
|
|
791
|
+
label?: RefOrValue<string>;
|
|
792
|
+
target?: RefOrValue<string>;
|
|
793
|
+
rel?: RefOrValue<string>;
|
|
794
|
+
normalizedHref?: ComputedRef<string | undefined>;
|
|
795
|
+
resolvedRel?: ComputedRef<string | undefined>;
|
|
796
|
+
}
|
|
797
|
+
interface FormSubmit {
|
|
798
|
+
label?: RefOrValue<string>;
|
|
799
|
+
tone?: RefOrValue<SemanticTone>;
|
|
800
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
801
|
+
}
|
|
802
|
+
interface FormDivider {
|
|
803
|
+
label?: RefOrValue<string>;
|
|
804
|
+
}
|
|
805
|
+
interface FormStatus {
|
|
806
|
+
tone?: RefOrValue<SemanticTone>;
|
|
807
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
808
|
+
hidden?: RefOrValue<boolean>;
|
|
809
|
+
classes?: ComputedRef<string>;
|
|
810
|
+
}
|
|
811
|
+
export declare function defineFormComponents(): {
|
|
812
|
+
appForm: import("regor").Component<AppForm>;
|
|
813
|
+
formMeta: import("regor").Component<FormMeta>;
|
|
814
|
+
formCheck: import("regor").Component<FormCheck>;
|
|
815
|
+
formAssistLink: import("regor").Component<FormAssistLink>;
|
|
816
|
+
formSubmit: import("regor").Component<FormSubmit>;
|
|
817
|
+
formDivider: import("regor").Component<FormDivider>;
|
|
818
|
+
formStatus: import("regor").Component<FormStatus>;
|
|
819
|
+
};
|
|
820
|
+
//#endregion
|
|
821
|
+
//#region packages/ts-components/src/standard/form/formSelectField.d.ts
|
|
822
|
+
type FormSelectValue = string | number;
|
|
823
|
+
interface FormSelectOption {
|
|
824
|
+
label: RefOrValue<string>;
|
|
825
|
+
value?: RefOrValue<FormSelectValue>;
|
|
826
|
+
disabled?: RefOrValue<boolean>;
|
|
827
|
+
}
|
|
828
|
+
interface ResolvedFormSelectOption {
|
|
829
|
+
label: string;
|
|
830
|
+
value: FormSelectValue;
|
|
831
|
+
disabled?: boolean;
|
|
832
|
+
}
|
|
833
|
+
declare class FormSelectField {
|
|
834
|
+
readonly id: string;
|
|
835
|
+
readonly label?: RefOrValue<string>;
|
|
836
|
+
readonly tone?: RefOrValue<SemanticTone>;
|
|
837
|
+
readonly variant?: RefOrValue<ComponentVariant>;
|
|
838
|
+
readonly model: Ref<FormSelectValue>;
|
|
839
|
+
readonly name?: RefOrValue<string>;
|
|
840
|
+
readonly required?: RefOrValue<boolean>;
|
|
841
|
+
readonly autocomplete?: RefOrValue<string>;
|
|
842
|
+
readonly placeholder?: RefOrValue<string>;
|
|
843
|
+
readonly disabled?: RefOrValue<boolean>;
|
|
844
|
+
readonly icon?: RefOrValue<string>;
|
|
845
|
+
readonly iconEnd?: RefOrValue<string>;
|
|
846
|
+
readonly options?: RefOrValue<FormSelectOption[]>;
|
|
847
|
+
classes?: ComputedRef<string>;
|
|
848
|
+
resolvedOptions?: ComputedRef<ResolvedFormSelectOption[]>;
|
|
849
|
+
resolvedIconEnd?: ComputedRef<string>;
|
|
850
|
+
hasPlaceholder?: ComputedRef<boolean>;
|
|
851
|
+
constructor(props: FormSelectField);
|
|
852
|
+
}
|
|
853
|
+
export declare function defineFormSelectField(): {
|
|
854
|
+
formSelectField: import("regor").Component<FormSelectField>;
|
|
855
|
+
};
|
|
856
|
+
//#endregion
|
|
857
|
+
//#region packages/ts-components/src/standard/form/formStyle.d.ts
|
|
858
|
+
export declare function registerFormStyles(): void;
|
|
859
|
+
//#endregion
|
|
860
|
+
//#region packages/ts-components/src/standard/form/multiAutoCompleteInput.d.ts
|
|
861
|
+
interface MultiAutoCompleteItem {
|
|
862
|
+
label: RefOrValue<string>;
|
|
863
|
+
value?: RefOrValue<AutoCompleteValue>;
|
|
864
|
+
disabled?: RefOrValue<boolean>;
|
|
865
|
+
invalid?: RefOrValue<boolean>;
|
|
866
|
+
tone?: RefOrValue<SemanticTone>;
|
|
867
|
+
keywords?: RefOrValue<string | string[]>;
|
|
868
|
+
}
|
|
869
|
+
interface ResolvedMultiAutoCompleteItem {
|
|
870
|
+
label: string;
|
|
871
|
+
value: AutoCompleteValue;
|
|
872
|
+
disabled?: boolean;
|
|
873
|
+
invalid?: boolean;
|
|
874
|
+
tone?: SemanticTone;
|
|
875
|
+
keywords: string[];
|
|
876
|
+
}
|
|
877
|
+
type MultiAutoCompleteCreateItem = (query: string) => MultiAutoCompleteItem | null | undefined;
|
|
878
|
+
type MultiAutoCompleteOptionToItem = (option: ResolvedAutoCompleteOption) => MultiAutoCompleteItem | null | undefined;
|
|
879
|
+
type MultiAutoCompleteSplitInput = (value: string) => string[];
|
|
880
|
+
type MultiAutoCompleteItemsChange = (items: MultiAutoCompleteItem[]) => void;
|
|
881
|
+
type MultiAutoCompleteSelect = (option: ResolvedAutoCompleteOption, item: MultiAutoCompleteItem) => void;
|
|
882
|
+
type MultiAutoCompleteSearch = (query: string) => void;
|
|
883
|
+
interface MultiAutoCompleteSelectedRow {
|
|
884
|
+
id: string;
|
|
885
|
+
index: number;
|
|
886
|
+
item: ResolvedMultiAutoCompleteItem;
|
|
887
|
+
classes: string;
|
|
888
|
+
}
|
|
889
|
+
interface MultiAutoCompleteOptionRow {
|
|
890
|
+
id: string;
|
|
891
|
+
index: number;
|
|
892
|
+
option: ResolvedAutoCompleteOption;
|
|
893
|
+
active: boolean;
|
|
894
|
+
disabled?: boolean;
|
|
895
|
+
classes: string;
|
|
896
|
+
}
|
|
897
|
+
interface MultiAutoCompleteInput {
|
|
898
|
+
id?: RefOrValue<string>;
|
|
899
|
+
label?: RefOrValue<string>;
|
|
900
|
+
tone?: RefOrValue<SemanticTone>;
|
|
901
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
902
|
+
items?: SRef<MultiAutoCompleteItem[]>;
|
|
903
|
+
model?: Ref<string>;
|
|
904
|
+
name?: RefOrValue<string>;
|
|
905
|
+
required?: RefOrValue<boolean>;
|
|
906
|
+
autocomplete?: RefOrValue<string>;
|
|
907
|
+
placeholder?: RefOrValue<string>;
|
|
908
|
+
disabled?: RefOrValue<boolean>;
|
|
909
|
+
icon?: RefOrValue<string>;
|
|
910
|
+
iconEnd?: RefOrValue<string>;
|
|
911
|
+
removeIcon?: RefOrValue<string>;
|
|
912
|
+
options?: RefOrValue<AutoCompleteOption[]>;
|
|
913
|
+
rowComponent?: RefOrValue<string>;
|
|
914
|
+
minLength?: RefOrValue<number | string>;
|
|
915
|
+
maxResults?: RefOrValue<number | string>;
|
|
916
|
+
openOnFocus?: RefOrValue<boolean>;
|
|
917
|
+
allowCustomValues?: RefOrValue<boolean>;
|
|
918
|
+
allowDuplicates?: RefOrValue<boolean>;
|
|
919
|
+
separators?: RefOrValue<string>;
|
|
920
|
+
loading?: RefOrValue<boolean>;
|
|
921
|
+
emptyText?: RefOrValue<string>;
|
|
922
|
+
loadingText?: RefOrValue<string>;
|
|
923
|
+
onCreateItem?: RefOrValue<MultiAutoCompleteCreateItem>;
|
|
924
|
+
onOptionToItem?: RefOrValue<MultiAutoCompleteOptionToItem>;
|
|
925
|
+
onSplitInput?: RefOrValue<MultiAutoCompleteSplitInput>;
|
|
926
|
+
onItemsChange?: RefOrValue<MultiAutoCompleteItemsChange>;
|
|
927
|
+
onSelect?: RefOrValue<MultiAutoCompleteSelect>;
|
|
928
|
+
onSearch?: RefOrValue<MultiAutoCompleteSearch>;
|
|
929
|
+
emits?: Emits<'itemschange' | 'itemremove' | 'itemcreate' | 'optionselect' | 'querychange'>;
|
|
930
|
+
inputId?: string;
|
|
931
|
+
listboxId?: string;
|
|
932
|
+
inputElement?: SRef<HTMLInputElement | null>;
|
|
933
|
+
isOpen?: Ref<boolean>;
|
|
934
|
+
activeIndex?: Ref<number>;
|
|
935
|
+
query?: ComputedRef<string>;
|
|
936
|
+
classes?: ComputedRef<string>;
|
|
937
|
+
resolvedItems?: ComputedRef<ResolvedMultiAutoCompleteItem[]>;
|
|
938
|
+
selectedRows?: ComputedRef<MultiAutoCompleteSelectedRow[]>;
|
|
939
|
+
resolvedOptions?: ComputedRef<ResolvedAutoCompleteOption[]>;
|
|
940
|
+
filteredOptions?: ComputedRef<ResolvedAutoCompleteOption[]>;
|
|
941
|
+
optionRows?: ComputedRef<MultiAutoCompleteOptionRow[]>;
|
|
942
|
+
activeOptionId?: ComputedRef<string | undefined>;
|
|
943
|
+
shouldRenderPopup?: ComputedRef<boolean>;
|
|
944
|
+
showLoading?: ComputedRef<boolean>;
|
|
945
|
+
showEmpty?: ComputedRef<boolean>;
|
|
946
|
+
resolvedRowComponent?: ComputedRef<string>;
|
|
947
|
+
resolvedIconEnd?: ComputedRef<string | undefined>;
|
|
948
|
+
resolvedRemoveIcon?: ComputedRef<string>;
|
|
949
|
+
focusInput?: () => void;
|
|
950
|
+
handleFocusIn?: () => void;
|
|
951
|
+
handleFocusOut?: () => void;
|
|
952
|
+
handleInput?: () => void;
|
|
953
|
+
handlePaste?: (event: ClipboardEvent) => void;
|
|
954
|
+
handleKeydown?: (event: KeyboardEvent) => void;
|
|
955
|
+
handleOptionMouseDown?: (event: MouseEvent) => void;
|
|
956
|
+
selectOptionRow?: (row: MultiAutoCompleteOptionRow) => void;
|
|
957
|
+
removeSelectedRow?: (row: MultiAutoCompleteSelectedRow) => void;
|
|
958
|
+
removeItemLabel?: (row: MultiAutoCompleteSelectedRow) => string;
|
|
959
|
+
}
|
|
960
|
+
interface MultiAutoCompleteDefaultOptionRow {
|
|
961
|
+
option: RefOrValue<ResolvedAutoCompleteOption | null>;
|
|
962
|
+
active?: RefOrValue<boolean>;
|
|
963
|
+
}
|
|
964
|
+
export declare function defineMultiAutoCompleteInputComponents(): {
|
|
965
|
+
multiAutoCompleteInput: import("regor").Component<MultiAutoCompleteInput>;
|
|
966
|
+
multiAutoCompleteOptionRow: import("regor").Component<MultiAutoCompleteDefaultOptionRow>;
|
|
967
|
+
};
|
|
968
|
+
//#endregion
|
|
969
|
+
//#region packages/ts-components/src/standard/grid/grid.d.ts
|
|
970
|
+
type GridAlignItems = 'stretch' | 'start' | 'center' | 'end';
|
|
971
|
+
type GridJustifyItems = 'stretch' | 'start' | 'center' | 'end';
|
|
972
|
+
interface Grid {
|
|
973
|
+
container?: RefOrValue<string>;
|
|
974
|
+
columns?: RefOrValue<number | string>;
|
|
975
|
+
columnsSm?: RefOrValue<number | string>;
|
|
976
|
+
columnsMd?: RefOrValue<number | string>;
|
|
977
|
+
columnsLg?: RefOrValue<number | string>;
|
|
978
|
+
columnsXl?: RefOrValue<number | string>;
|
|
979
|
+
alignItems?: RefOrValue<GridAlignItems>;
|
|
980
|
+
justifyItems?: RefOrValue<GridJustifyItems>;
|
|
981
|
+
dense?: RefOrValue<boolean | string>;
|
|
982
|
+
classes?: ComputedRef<string>;
|
|
983
|
+
gridStyle?: ComputedRef<Record<string, string>>;
|
|
984
|
+
}
|
|
985
|
+
export declare function defineGridComponents(): {
|
|
986
|
+
grid: import("regor").Component<Grid>;
|
|
987
|
+
};
|
|
988
|
+
//#endregion
|
|
989
|
+
//#region packages/ts-components/src/standard/grid/gridStyle.d.ts
|
|
990
|
+
export declare function registerGridStyles(): void;
|
|
991
|
+
//#endregion
|
|
992
|
+
//#region packages/ts-components/src/standard/icon/iconStyle.d.ts
|
|
993
|
+
export declare function registerIconStyles(): void;
|
|
994
|
+
//#endregion
|
|
995
|
+
//#region packages/ts-components/src/standard/landing/landingTypes.d.ts
|
|
996
|
+
type LandingBandImageFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
997
|
+
type LandingBandEdge = 'flat' | 'slant-up' | 'slant-down';
|
|
998
|
+
type LandingTitleTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
|
|
999
|
+
interface LandingBand {
|
|
1000
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1001
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1002
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1003
|
+
image?: RefOrValue<string>;
|
|
1004
|
+
imageFit?: RefOrValue<LandingBandImageFit>;
|
|
1005
|
+
imagePosition?: RefOrValue<string>;
|
|
1006
|
+
display?: RefOrValue<CSSProps['display']>;
|
|
1007
|
+
alignItems?: RefOrValue<CSSProps['alignItems']>;
|
|
1008
|
+
justifyContent?: RefOrValue<CSSProps['justifyContent']>;
|
|
1009
|
+
height?: RefOrValue<string>;
|
|
1010
|
+
paddingTop?: RefOrValue<string>;
|
|
1011
|
+
paddingBottom?: RefOrValue<string>;
|
|
1012
|
+
marginTop?: RefOrValue<string>;
|
|
1013
|
+
marginBottom?: RefOrValue<string>;
|
|
1014
|
+
topEdge?: RefOrValue<LandingBandEdge>;
|
|
1015
|
+
bottomEdge?: RefOrValue<LandingBandEdge>;
|
|
1016
|
+
edgeSize?: RefOrValue<string>;
|
|
1017
|
+
topEdgeStart?: RefOrValue<string>;
|
|
1018
|
+
bottomEdgeStart?: RefOrValue<string>;
|
|
1019
|
+
classes?: ComputedRef<string>;
|
|
1020
|
+
bandStyle?: ComputedRef<Partial<CSSProps>>;
|
|
1021
|
+
}
|
|
1022
|
+
interface LandingSection {
|
|
1023
|
+
eyebrow?: RefOrValue<string>;
|
|
1024
|
+
title?: RefOrValue<string>;
|
|
1025
|
+
subtitle?: RefOrValue<string>;
|
|
1026
|
+
titleTag?: RefOrValue<LandingTitleTag>;
|
|
1027
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1028
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1029
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1030
|
+
columns?: RefOrValue<number | string>;
|
|
1031
|
+
columnsLg?: RefOrValue<number | string>;
|
|
1032
|
+
alignItems?: RefOrValue<GridAlignItems>;
|
|
1033
|
+
}
|
|
1034
|
+
interface FeatureCard {
|
|
1035
|
+
eyebrow?: RefOrValue<string>;
|
|
1036
|
+
title?: RefOrValue<string>;
|
|
1037
|
+
summary?: RefOrValue<string>;
|
|
1038
|
+
badge?: RefOrValue<string>;
|
|
1039
|
+
icon?: RefOrValue<string>;
|
|
1040
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1041
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1042
|
+
}
|
|
1043
|
+
interface MetricStrip {
|
|
1044
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1045
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1046
|
+
columns?: RefOrValue<number | string>;
|
|
1047
|
+
columnsSm?: RefOrValue<number | string>;
|
|
1048
|
+
columnsLg?: RefOrValue<number | string>;
|
|
1049
|
+
}
|
|
1050
|
+
interface MetricItem {
|
|
1051
|
+
label?: RefOrValue<string>;
|
|
1052
|
+
value?: RefOrValue<string>;
|
|
1053
|
+
detail?: RefOrValue<string>;
|
|
1054
|
+
icon?: RefOrValue<string>;
|
|
1055
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1056
|
+
}
|
|
1057
|
+
interface CodeShowcase {
|
|
1058
|
+
eyebrow?: RefOrValue<string>;
|
|
1059
|
+
title?: RefOrValue<string>;
|
|
1060
|
+
summary?: RefOrValue<string>;
|
|
1061
|
+
language?: RefOrValue<string>;
|
|
1062
|
+
resultTitle?: RefOrValue<string>;
|
|
1063
|
+
resultMeta?: RefOrValue<string>;
|
|
1064
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1065
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1066
|
+
}
|
|
1067
|
+
interface ComparisonTable {
|
|
1068
|
+
eyebrow?: RefOrValue<string>;
|
|
1069
|
+
title?: RefOrValue<string>;
|
|
1070
|
+
subtitle?: RefOrValue<string>;
|
|
1071
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1072
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1073
|
+
columns?: RefOrValue<number | string>;
|
|
1074
|
+
columnsLg?: RefOrValue<number | string>;
|
|
1075
|
+
}
|
|
1076
|
+
interface ComparisonColumn {
|
|
1077
|
+
title?: RefOrValue<string>;
|
|
1078
|
+
summary?: RefOrValue<string>;
|
|
1079
|
+
badge?: RefOrValue<string>;
|
|
1080
|
+
icon?: RefOrValue<string>;
|
|
1081
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1082
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1083
|
+
}
|
|
1084
|
+
interface ComparisonFeature {
|
|
1085
|
+
icon?: RefOrValue<string>;
|
|
1086
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1087
|
+
}
|
|
1088
|
+
interface CtaSection {
|
|
1089
|
+
eyebrow?: RefOrValue<string>;
|
|
1090
|
+
title?: RefOrValue<string>;
|
|
1091
|
+
subtitle?: RefOrValue<string>;
|
|
1092
|
+
primaryLabel?: RefOrValue<string>;
|
|
1093
|
+
primaryHref?: RefOrValue<string>;
|
|
1094
|
+
primaryIcon?: RefOrValue<string>;
|
|
1095
|
+
secondaryLabel?: RefOrValue<string>;
|
|
1096
|
+
secondaryHref?: RefOrValue<string>;
|
|
1097
|
+
secondaryIcon?: RefOrValue<string>;
|
|
1098
|
+
meta?: RefOrValue<string>;
|
|
1099
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1100
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1101
|
+
}
|
|
1102
|
+
//#endregion
|
|
1103
|
+
//#region packages/ts-components/src/standard/landing/codeShowcase.d.ts
|
|
1104
|
+
export declare function defineCodeShowcaseComponent(): {
|
|
1105
|
+
codeShowcase: import("regor").Component<CodeShowcase>;
|
|
1106
|
+
};
|
|
1107
|
+
//#endregion
|
|
1108
|
+
//#region packages/ts-components/src/standard/landing/comparisonColumn.d.ts
|
|
1109
|
+
export declare function defineComparisonColumnComponent(): {
|
|
1110
|
+
comparisonColumn: import("regor").Component<ComparisonColumn>;
|
|
1111
|
+
};
|
|
1112
|
+
//#endregion
|
|
1113
|
+
//#region packages/ts-components/src/standard/landing/comparisonFeature.d.ts
|
|
1114
|
+
export declare function defineComparisonFeatureComponent(): {
|
|
1115
|
+
comparisonFeature: import("regor").Component<ComparisonFeature>;
|
|
1116
|
+
};
|
|
1117
|
+
//#endregion
|
|
1118
|
+
//#region packages/ts-components/src/standard/landing/comparisonTable.d.ts
|
|
1119
|
+
export declare function defineComparisonTableComponent(): {
|
|
1120
|
+
comparisonTable: import("regor").Component<ComparisonTable>;
|
|
1121
|
+
};
|
|
1122
|
+
//#endregion
|
|
1123
|
+
//#region packages/ts-components/src/standard/landing/ctaSection.d.ts
|
|
1124
|
+
export declare function defineCtaSectionComponent(): {
|
|
1125
|
+
ctaSection: import("regor").Component<CtaSection>;
|
|
1126
|
+
};
|
|
1127
|
+
//#endregion
|
|
1128
|
+
//#region packages/ts-components/src/standard/landing/featureCard.d.ts
|
|
1129
|
+
export declare function defineFeatureCardComponent(): {
|
|
1130
|
+
featureCard: import("regor").Component<FeatureCard>;
|
|
1131
|
+
};
|
|
1132
|
+
//#endregion
|
|
1133
|
+
//#region packages/ts-components/src/standard/landing/landingBand.d.ts
|
|
1134
|
+
export declare function defineLandingBandComponent(): {
|
|
1135
|
+
landingBand: import("regor").Component<LandingBand>;
|
|
1136
|
+
};
|
|
1137
|
+
//#endregion
|
|
1138
|
+
//#region packages/ts-components/src/standard/landing/landingSection.d.ts
|
|
1139
|
+
export declare function defineLandingSectionComponent(): {
|
|
1140
|
+
landingSection: import("regor").Component<LandingSection>;
|
|
1141
|
+
};
|
|
1142
|
+
//#endregion
|
|
1143
|
+
//#region packages/ts-components/src/standard/landing/metricItem.d.ts
|
|
1144
|
+
export declare function defineMetricItemComponent(): {
|
|
1145
|
+
metricItem: import("regor").Component<MetricItem>;
|
|
1146
|
+
};
|
|
1147
|
+
//#endregion
|
|
1148
|
+
//#region packages/ts-components/src/standard/landing/metricStrip.d.ts
|
|
1149
|
+
export declare function defineMetricStripComponent(): {
|
|
1150
|
+
metricStrip: import("regor").Component<MetricStrip>;
|
|
1151
|
+
};
|
|
1152
|
+
//#endregion
|
|
1153
|
+
//#region packages/ts-components/src/standard/landing/landing.d.ts
|
|
1154
|
+
export declare function defineLandingComponents(): {
|
|
1155
|
+
codeShowcase: import("regor").Component<CodeShowcase>;
|
|
1156
|
+
comparisonColumn: import("regor").Component<ComparisonColumn>;
|
|
1157
|
+
comparisonFeature: import("regor").Component<ComparisonFeature>;
|
|
1158
|
+
comparisonTable: import("regor").Component<ComparisonTable>;
|
|
1159
|
+
ctaSection: import("regor").Component<CtaSection>;
|
|
1160
|
+
featureCard: import("regor").Component<FeatureCard>;
|
|
1161
|
+
landingBand: import("regor").Component<LandingBand>;
|
|
1162
|
+
landingSection: import("regor").Component<LandingSection>;
|
|
1163
|
+
metricItem: import("regor").Component<MetricItem>;
|
|
1164
|
+
metricStrip: import("regor").Component<MetricStrip>;
|
|
1165
|
+
};
|
|
1166
|
+
//#endregion
|
|
1167
|
+
//#region packages/ts-components/src/standard/lineChart/lineChart.d.ts
|
|
1168
|
+
type LineChartCurve = 'linear' | 'smooth';
|
|
1169
|
+
interface LineChartPoint {
|
|
1170
|
+
label?: RefOrValue<string>;
|
|
1171
|
+
value?: RefOrValue<number | string>;
|
|
1172
|
+
}
|
|
1173
|
+
interface LineChartSeries {
|
|
1174
|
+
label?: RefOrValue<string>;
|
|
1175
|
+
color?: RefOrValue<string>;
|
|
1176
|
+
points?: RefOrValue<Array<RefOrValue<LineChartPoint>>>;
|
|
1177
|
+
}
|
|
1178
|
+
interface ResolvedLineChartPoint {
|
|
1179
|
+
label: string;
|
|
1180
|
+
value: number;
|
|
1181
|
+
formattedValue: string;
|
|
1182
|
+
x: number;
|
|
1183
|
+
y: number;
|
|
1184
|
+
valueLabelY: number;
|
|
1185
|
+
valueLabelBaseline: string;
|
|
1186
|
+
}
|
|
1187
|
+
interface ResolvedLineChartSeries {
|
|
1188
|
+
label: string;
|
|
1189
|
+
color: string;
|
|
1190
|
+
path: string;
|
|
1191
|
+
areaPath: string;
|
|
1192
|
+
points: ResolvedLineChartPoint[];
|
|
1193
|
+
}
|
|
1194
|
+
interface ResolvedLineChartGridLine extends ResolvedCartesianChartGridLine {}
|
|
1195
|
+
interface ResolvedLineChartLabel {
|
|
1196
|
+
label: string;
|
|
1197
|
+
x: number;
|
|
1198
|
+
y: number;
|
|
1199
|
+
}
|
|
1200
|
+
interface LineChart {
|
|
1201
|
+
series?: RefOrValue<Array<RefOrValue<LineChartSeries>>>;
|
|
1202
|
+
title?: RefOrValue<string>;
|
|
1203
|
+
description?: RefOrValue<string>;
|
|
1204
|
+
ariaLabel?: RefOrValue<string>;
|
|
1205
|
+
emptyLabel?: RefOrValue<string>;
|
|
1206
|
+
valueSuffix?: RefOrValue<string>;
|
|
1207
|
+
width?: RefOrValue<number | string>;
|
|
1208
|
+
height?: RefOrValue<number | string>;
|
|
1209
|
+
minValue?: RefOrValue<number | string>;
|
|
1210
|
+
maxValue?: RefOrValue<number | string>;
|
|
1211
|
+
curve?: RefOrValue<LineChartCurve>;
|
|
1212
|
+
animated?: RefOrValue<boolean | string>;
|
|
1213
|
+
showArea?: RefOrValue<boolean | string>;
|
|
1214
|
+
showPoints?: RefOrValue<boolean | string>;
|
|
1215
|
+
showValues?: RefOrValue<boolean | string>;
|
|
1216
|
+
showLabels?: RefOrValue<boolean | string>;
|
|
1217
|
+
showAxis?: RefOrValue<boolean | string>;
|
|
1218
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1219
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1220
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1221
|
+
classes?: ComputedRef<string>;
|
|
1222
|
+
resolvedWidth?: ComputedRef<string | number>;
|
|
1223
|
+
resolvedHeight?: ComputedRef<string | number | undefined>;
|
|
1224
|
+
resolvedAriaLabel?: ComputedRef<string>;
|
|
1225
|
+
resolvedEmptyLabel?: ComputedRef<string>;
|
|
1226
|
+
chartSeries?: ComputedRef<ResolvedLineChartSeries[]>;
|
|
1227
|
+
gridLines?: ComputedRef<ResolvedLineChartGridLine[]>;
|
|
1228
|
+
xLabels?: ComputedRef<ResolvedLineChartLabel[]>;
|
|
1229
|
+
hasSeries?: ComputedRef<boolean>;
|
|
1230
|
+
zeroLineY?: ComputedRef<number>;
|
|
1231
|
+
}
|
|
1232
|
+
export declare function defineLineChartComponents(): {
|
|
1233
|
+
lineChart: import("regor").Component<LineChart>;
|
|
1234
|
+
};
|
|
1235
|
+
//#endregion
|
|
1236
|
+
//#region packages/ts-components/src/standard/lineChart/lineChartStyle.d.ts
|
|
1237
|
+
export declare function registerLineChartStyles(): void;
|
|
1238
|
+
//#endregion
|
|
1239
|
+
//#region packages/ts-components/src/standard/logo/logo.d.ts
|
|
1240
|
+
type ReactiveLogoOptions = { [K in keyof LogoConfig$1]?: RefOrValue<LogoConfig$1[K]>; };
|
|
1241
|
+
interface SiteLogo extends ReactiveLogoOptions {
|
|
1242
|
+
config?: RefOrValue<Partial<LogoConfig$1>>;
|
|
1243
|
+
options?: ComputedRef<LogoConfig$1>;
|
|
1244
|
+
classes?: ComputedRef<string>;
|
|
1245
|
+
logoStyle?: ComputedRef<Record<string, string>>;
|
|
1246
|
+
resolvedHref?: ComputedRef<string | undefined>;
|
|
1247
|
+
resolvedImage?: ComputedRef<string | undefined>;
|
|
1248
|
+
resolvedDarkImage?: ComputedRef<string | undefined>;
|
|
1249
|
+
accessibleName?: ComputedRef<string>;
|
|
1250
|
+
initials?: ComputedRef<string>;
|
|
1251
|
+
}
|
|
1252
|
+
export declare function defineLogoComponents(): {
|
|
1253
|
+
siteLogo: import("regor").Component<SiteLogo>;
|
|
1254
|
+
};
|
|
1255
|
+
//#endregion
|
|
1256
|
+
//#region packages/ts-components/src/standard/logo/logoStyle.d.ts
|
|
1257
|
+
export declare function registerLogoStyles(): void;
|
|
1258
|
+
//#endregion
|
|
1259
|
+
//#region packages/ts-components/src/standard/modal/modalStore.d.ts
|
|
1260
|
+
interface ModalActionContract extends Btn {
|
|
1261
|
+
id?: string;
|
|
1262
|
+
label?: RefOrValue<string>;
|
|
1263
|
+
closeOnClick?: RefOrValue<boolean>;
|
|
1264
|
+
onClick?: (modal: ModalItem, store: ModalStore) => void | Promise<void>;
|
|
1265
|
+
}
|
|
1266
|
+
interface ModalContract extends Modal {
|
|
1267
|
+
body?: RefOrValue<string>;
|
|
1268
|
+
note?: RefOrValue<string>;
|
|
1269
|
+
actions?: ModalActionContract[];
|
|
1270
|
+
}
|
|
1271
|
+
declare const ModalAction_base: new (data: ModalActionContract) => ModalActionContract & {
|
|
1272
|
+
constructor: unknown;
|
|
1273
|
+
};
|
|
1274
|
+
declare class ModalAction extends ModalAction_base {
|
|
1275
|
+
readonly id: string;
|
|
1276
|
+
readonly running: import("regor").Ref<boolean>;
|
|
1277
|
+
constructor(opts: ModalActionContract);
|
|
1278
|
+
}
|
|
1279
|
+
declare const ModalItem_base: new (data: ModalContract) => ModalContract & {
|
|
1280
|
+
constructor: unknown;
|
|
1281
|
+
};
|
|
1282
|
+
declare class ModalItem extends ModalItem_base {
|
|
1283
|
+
readonly id: string;
|
|
1284
|
+
constructor(opts: ModalContract);
|
|
1285
|
+
}
|
|
1286
|
+
declare class ModalStore {
|
|
1287
|
+
readonly modals: import("regor").SRef<ModalItem[]>;
|
|
1288
|
+
openModal: (options: ModalContract) => ModalItem;
|
|
1289
|
+
closeModal: (id: string) => void;
|
|
1290
|
+
private findModal;
|
|
1291
|
+
runAction: (modal: ModalItem, action: ModalAction) => void;
|
|
1292
|
+
removeModal: (id: string) => void;
|
|
1293
|
+
private createModal;
|
|
1294
|
+
private runActionAsync;
|
|
1295
|
+
}
|
|
1296
|
+
export declare function useModalStore(): ModalStore;
|
|
1297
|
+
//#endregion
|
|
1298
|
+
//#region packages/ts-components/src/standard/modal/modal.d.ts
|
|
1299
|
+
type ModalSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
1300
|
+
type ModalSlideFrom = 'none' | 'top' | 'right' | 'bottom' | 'left';
|
|
1301
|
+
interface Modal {
|
|
1302
|
+
id?: string;
|
|
1303
|
+
title?: RefOrValue<string>;
|
|
1304
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1305
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1306
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1307
|
+
size?: RefOrValue<ModalSize>;
|
|
1308
|
+
fade?: RefOrValue<boolean>;
|
|
1309
|
+
slideFrom?: RefOrValue<ModalSlideFrom>;
|
|
1310
|
+
showClose?: RefOrValue<boolean>;
|
|
1311
|
+
titleId?: string;
|
|
1312
|
+
rootClass?: ComputedRef<string>;
|
|
1313
|
+
classes?: ComputedRef<string>;
|
|
1314
|
+
emits?: Emits<'close' | 'cancel'>;
|
|
1315
|
+
}
|
|
1316
|
+
interface ModalTrigger {
|
|
1317
|
+
target?: string;
|
|
1318
|
+
label?: RefOrValue<string>;
|
|
1319
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1320
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1321
|
+
}
|
|
1322
|
+
export declare function defineModalComponents(): {
|
|
1323
|
+
modalStore: import("regor").Component<ModalStore>;
|
|
1324
|
+
modal: import("regor").Component<Modal>;
|
|
1325
|
+
modalTrigger: import("regor").Component<ModalTrigger>;
|
|
1326
|
+
};
|
|
1327
|
+
//#endregion
|
|
1328
|
+
//#region packages/ts-components/src/standard/modal/modalStyle.d.ts
|
|
1329
|
+
export declare function registerModalStyles(): void;
|
|
1330
|
+
//#endregion
|
|
1331
|
+
//#region packages/ts-components/src/standard/navMenu/navMenu.d.ts
|
|
1332
|
+
interface NavMenu {
|
|
1333
|
+
items?: NavItem[] | SRef<NavItem[]>;
|
|
1334
|
+
currentUrl?: RefOrValue<string>;
|
|
1335
|
+
navItems?: ComputedRef<NavItemState[]>;
|
|
1336
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1337
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1338
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1339
|
+
signInAvatarSrc?: RefOrValue<string>;
|
|
1340
|
+
signInAvatarAlt?: RefOrValue<string>;
|
|
1341
|
+
classes?: ComputedRef<string>;
|
|
1342
|
+
searchEnabled?: boolean;
|
|
1343
|
+
navRoot?: string;
|
|
1344
|
+
}
|
|
1345
|
+
interface NavList {
|
|
1346
|
+
items?: NavItemState[];
|
|
1347
|
+
tone?: SemanticTone;
|
|
1348
|
+
}
|
|
1349
|
+
interface NavItemState extends NavItem {
|
|
1350
|
+
isActive: boolean;
|
|
1351
|
+
isOpen: boolean;
|
|
1352
|
+
stateKey: string;
|
|
1353
|
+
linkClass?: string[];
|
|
1354
|
+
ariaCurrent?: string;
|
|
1355
|
+
}
|
|
1356
|
+
export declare function defineNavigationComponents(): {
|
|
1357
|
+
navItem: import("regor").Component<{
|
|
1358
|
+
item: NavItemState;
|
|
1359
|
+
}>;
|
|
1360
|
+
navList: import("regor").Component<NavList>;
|
|
1361
|
+
navMenu: import("regor").Component<NavMenu>;
|
|
1362
|
+
};
|
|
1363
|
+
//#endregion
|
|
1364
|
+
//#region packages/ts-components/src/standard/navMenu/navMenuStyle.d.ts
|
|
1365
|
+
export declare function registerNavStyles(): void;
|
|
1366
|
+
//#endregion
|
|
1367
|
+
//#region packages/ts-components/src/standard/pageLinks/pageLinks.d.ts
|
|
1368
|
+
interface PageLinks extends PageNavigationLinks {
|
|
1369
|
+
hasLinks?: boolean;
|
|
1370
|
+
}
|
|
1371
|
+
export declare function definePageLinksComponents(): {
|
|
1372
|
+
pageLinks: import("regor").Component<PageLinks>;
|
|
1373
|
+
};
|
|
1374
|
+
//#endregion
|
|
1375
|
+
//#region packages/ts-components/src/standard/pageToc/pageToc.d.ts
|
|
1376
|
+
interface PageToc {
|
|
1377
|
+
items?: PageOutlineItem[];
|
|
1378
|
+
title?: string;
|
|
1379
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1380
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1381
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1382
|
+
classes?: ComputedRef<string>;
|
|
1383
|
+
}
|
|
1384
|
+
interface PageTocItem extends PageOutlineItem {
|
|
1385
|
+
href: string;
|
|
1386
|
+
children?: PageTocItem[];
|
|
1387
|
+
}
|
|
1388
|
+
export declare function definePageTocComponents(): {
|
|
1389
|
+
pageToc: import("regor").Component<PageToc>;
|
|
1390
|
+
};
|
|
1391
|
+
//#endregion
|
|
1392
|
+
//#region packages/ts-components/src/standard/pageToc/pageTocStyle.d.ts
|
|
1393
|
+
export declare function registerPageTocStyles(): void;
|
|
1394
|
+
//#endregion
|
|
1395
|
+
//#region packages/ts-components/src/standard/panel/panel.d.ts
|
|
1396
|
+
interface Panel {
|
|
1397
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1398
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1399
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1400
|
+
bodyClass?: RefOrValue<string>;
|
|
1401
|
+
classes?: ComputedRef<string>;
|
|
1402
|
+
}
|
|
1403
|
+
export declare function definePanelComponents(): {
|
|
1404
|
+
panel: import("regor").Component<Panel>;
|
|
1405
|
+
};
|
|
1406
|
+
//#endregion
|
|
1407
|
+
//#region packages/ts-components/src/standard/panel/panelStyle.d.ts
|
|
1408
|
+
export declare function registerPanelStyles(): void;
|
|
1409
|
+
//#endregion
|
|
1410
|
+
//#region packages/ts-components/src/standard/pricing/pricing.d.ts
|
|
1411
|
+
interface PricingTable {
|
|
1412
|
+
eyebrow?: RefOrValue<string>;
|
|
1413
|
+
title?: RefOrValue<string>;
|
|
1414
|
+
subtitle?: RefOrValue<string>;
|
|
1415
|
+
footnote?: RefOrValue<string>;
|
|
1416
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1417
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1418
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1419
|
+
columns?: RefOrValue<number | string>;
|
|
1420
|
+
columnsLg?: RefOrValue<number | string>;
|
|
1421
|
+
columnsXl?: RefOrValue<number | string>;
|
|
1422
|
+
}
|
|
1423
|
+
interface PricingPlan {
|
|
1424
|
+
title?: RefOrValue<string>;
|
|
1425
|
+
summary?: RefOrValue<string>;
|
|
1426
|
+
price?: RefOrValue<string>;
|
|
1427
|
+
period?: RefOrValue<string>;
|
|
1428
|
+
badge?: RefOrValue<string>;
|
|
1429
|
+
note?: RefOrValue<string>;
|
|
1430
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1431
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1432
|
+
icon?: RefOrValue<string>;
|
|
1433
|
+
ctaLabel?: RefOrValue<string>;
|
|
1434
|
+
ctaLink?: RefOrValue<string>;
|
|
1435
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1436
|
+
}
|
|
1437
|
+
interface PricingFeature {
|
|
1438
|
+
icon?: RefOrValue<string>;
|
|
1439
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1440
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1441
|
+
}
|
|
1442
|
+
export declare function definePricingComponents(): {
|
|
1443
|
+
pricingTable: import("regor").Component<PricingTable>;
|
|
1444
|
+
pricingPlan: import("regor").Component<PricingPlan>;
|
|
1445
|
+
pricingFeature: import("regor").Component<PricingFeature>;
|
|
1446
|
+
};
|
|
1447
|
+
//#endregion
|
|
1448
|
+
//#region packages/ts-components/src/standard/searchBox/searchBox.d.ts
|
|
1449
|
+
interface SearchBox {
|
|
1450
|
+
placeholder?: RefOrValue<string>;
|
|
1451
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1452
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1453
|
+
}
|
|
1454
|
+
export declare function defineSearchComponents(): {
|
|
1455
|
+
searchBox: import("regor").Component<SearchBox>;
|
|
1456
|
+
};
|
|
1457
|
+
//#endregion
|
|
1458
|
+
//#region packages/ts-components/src/standard/searchBox/searchBoxStyle.d.ts
|
|
1459
|
+
export declare function registerSearchBoxStyles(): void;
|
|
1460
|
+
//#endregion
|
|
1461
|
+
//#region packages/ts-components/src/standard/sectionHeader/sectionHeader.d.ts
|
|
1462
|
+
interface SectionHeader {
|
|
1463
|
+
eyebrow?: RefOrValue<string>;
|
|
1464
|
+
title?: RefOrValue<string>;
|
|
1465
|
+
subtitle?: RefOrValue<string>;
|
|
1466
|
+
footnote?: RefOrValue<string>;
|
|
1467
|
+
titleTag?: RefOrValue<string>;
|
|
1468
|
+
titleId?: RefOrValue<string>;
|
|
1469
|
+
eyebrowClass?: RefOrValue<string>;
|
|
1470
|
+
titleClass?: RefOrValue<string>;
|
|
1471
|
+
subtitleClass?: RefOrValue<string>;
|
|
1472
|
+
footnoteClass?: RefOrValue<string>;
|
|
1473
|
+
resolvedTitleTag?: ComputedRef<string>;
|
|
1474
|
+
}
|
|
1475
|
+
export declare function defineSectionHeaderComponents(): {
|
|
1476
|
+
sectionHeader: import("regor").Component<SectionHeader>;
|
|
1477
|
+
};
|
|
1478
|
+
//#endregion
|
|
1479
|
+
//#region packages/ts-components/src/standard/signIn/signIn.d.ts
|
|
1480
|
+
interface SignIn {
|
|
1481
|
+
avatarSrc?: RefOrValue<string>;
|
|
1482
|
+
avatarAlt?: RefOrValue<string>;
|
|
1483
|
+
icon?: RefOrValue<string>;
|
|
1484
|
+
accountIcon?: RefOrValue<string>;
|
|
1485
|
+
label?: RefOrValue<string>;
|
|
1486
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1487
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1488
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1489
|
+
authEnabled?: boolean;
|
|
1490
|
+
signUpEnabled?: boolean;
|
|
1491
|
+
resolvedIcon?: ComputedRef<string>;
|
|
1492
|
+
resolvedAccountIcon?: ComputedRef<string>;
|
|
1493
|
+
resolvedLabel?: ComputedRef<string>;
|
|
1494
|
+
resolvedAvatarAlt?: ComputedRef<string>;
|
|
1495
|
+
}
|
|
1496
|
+
export declare function defineSignInComponents(): {
|
|
1497
|
+
signIn: import("regor").Component<SignIn>;
|
|
1498
|
+
};
|
|
1499
|
+
//#endregion
|
|
1500
|
+
//#region packages/ts-components/src/standard/signIn/signInStyle.d.ts
|
|
1501
|
+
export declare function registerSignInStyles(): void;
|
|
1502
|
+
//#endregion
|
|
1503
|
+
//#region packages/ts-components/src/standard/tabs/tabs.d.ts
|
|
1504
|
+
declare class Tabs {
|
|
1505
|
+
group: string;
|
|
1506
|
+
ariaLabel?: RefOrValue<string>;
|
|
1507
|
+
selectedTab?: RefOrValue<string>;
|
|
1508
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1509
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1510
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1511
|
+
tabVariant?: RefOrValue<ComponentVariant>;
|
|
1512
|
+
classes?: ComputedRef<string>;
|
|
1513
|
+
}
|
|
1514
|
+
interface TabPane {
|
|
1515
|
+
id?: string;
|
|
1516
|
+
label?: RefOrValue<string>;
|
|
1517
|
+
icon?: RefOrValue<string>;
|
|
1518
|
+
disabled?: RefOrValue<boolean>;
|
|
1519
|
+
group?: string;
|
|
1520
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1521
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1522
|
+
variantMode?: RefOrValue<ComponentVariantMode>;
|
|
1523
|
+
tabVariant?: RefOrValue<ComponentVariant>;
|
|
1524
|
+
classes?: ComputedRef<string>;
|
|
1525
|
+
tabClasses?: ComputedRef<string>;
|
|
1526
|
+
}
|
|
1527
|
+
export declare function defineTabsComponents(): {
|
|
1528
|
+
tabs: import("regor").Component<Tabs>;
|
|
1529
|
+
tabPane: import("regor").Component<TabPane>;
|
|
1530
|
+
};
|
|
1531
|
+
//#endregion
|
|
1532
|
+
//#region packages/ts-components/src/standard/tabs/tabsStyle.d.ts
|
|
1533
|
+
export declare function registerTabsStyles(): void;
|
|
1534
|
+
//#endregion
|
|
1535
|
+
//#region packages/ts-components/src/standard/themeToggle/themeToggle.d.ts
|
|
1536
|
+
interface ThemeToggle {}
|
|
1537
|
+
export declare function defineThemeToggleComponents(): {
|
|
1538
|
+
themeToggle: import("regor").Component<ThemeToggle>;
|
|
1539
|
+
};
|
|
1540
|
+
//#endregion
|
|
1541
|
+
//#region packages/ts-components/src/standard/themeToggle/themeToggleStyle.d.ts
|
|
1542
|
+
export declare function registerThemeToggleStyles(): void;
|
|
1543
|
+
//#endregion
|
|
1544
|
+
//#region packages/ts-components/src/standard/toast/toastStore.d.ts
|
|
1545
|
+
interface ToastItem {
|
|
1546
|
+
id: string;
|
|
1547
|
+
message: string;
|
|
1548
|
+
tone: SemanticTone;
|
|
1549
|
+
}
|
|
1550
|
+
export declare class ToastStore {
|
|
1551
|
+
readonly items: import("regor").SRef<ToastItem[]>;
|
|
1552
|
+
private nextId;
|
|
1553
|
+
private readonly timers;
|
|
1554
|
+
notify: (text: string, tone?: SemanticTone) => void;
|
|
1555
|
+
dismiss: (id: string) => void;
|
|
1556
|
+
clear: () => void;
|
|
1557
|
+
}
|
|
1558
|
+
//#endregion
|
|
1559
|
+
//#region packages/ts-components/src/standard/toast/toastHost.d.ts
|
|
1560
|
+
interface ToastHost {
|
|
1561
|
+
items: SRef<ToastItem[]>;
|
|
1562
|
+
dismiss: ToastStore['dismiss'];
|
|
1563
|
+
}
|
|
1564
|
+
export declare function defineToastComponents(): {
|
|
1565
|
+
toastHost: import("regor").Component<ToastHost>;
|
|
1566
|
+
};
|
|
1567
|
+
//#endregion
|
|
1568
|
+
//#region packages/ts-components/src/standard/topBar/topBar.d.ts
|
|
1569
|
+
interface TopBar {
|
|
1570
|
+
siteLogo: SiteLogoConfig$1;
|
|
1571
|
+
logoComponent?: RefOrValue<string>;
|
|
1572
|
+
resolvedLogoComponent?: ComputedRef<string>;
|
|
1573
|
+
tone?: RefOrValue<SemanticTone>;
|
|
1574
|
+
variant?: RefOrValue<ComponentVariant>;
|
|
1575
|
+
signInAvatarSrc?: RefOrValue<string>;
|
|
1576
|
+
signInAvatarAlt?: RefOrValue<string>;
|
|
1577
|
+
classes?: ComputedRef<string>;
|
|
1578
|
+
searchEnabled?: boolean;
|
|
1579
|
+
signInEnabled?: boolean;
|
|
1580
|
+
}
|
|
1581
|
+
export declare function defineTopBarComponents(): {
|
|
1582
|
+
topBar: import("regor").Component<TopBar>;
|
|
1583
|
+
};
|
|
1584
|
+
//#endregion
|
|
1585
|
+
//#region packages/ts-components/src/standard/topBar/topBarStyle.d.ts
|
|
1586
|
+
export declare function registerTopBarStyles(): void;
|
|
1587
|
+
//#endregion
|
|
1588
|
+
//#region packages/ts-components/src/standard/virtualList/virtualList.d.ts
|
|
1589
|
+
interface VirtualListRow {
|
|
1590
|
+
index: number;
|
|
1591
|
+
item: unknown;
|
|
1592
|
+
}
|
|
1593
|
+
interface VirtualList {
|
|
1594
|
+
items?: RefOrValue<unknown[]>;
|
|
1595
|
+
height?: RefOrValue<number | string>;
|
|
1596
|
+
itemHeight?: RefOrValue<number | string>;
|
|
1597
|
+
overscan?: RefOrValue<number | string>;
|
|
1598
|
+
rowComponent?: RefOrValue<string>;
|
|
1599
|
+
scrollTop?: ReturnType<typeof ref<number>>;
|
|
1600
|
+
visibleRows?: ComputedRef<VirtualListRow[]>;
|
|
1601
|
+
viewportStyle?: ComputedRef<Record<string, string>>;
|
|
1602
|
+
spacerStyle?: ComputedRef<Record<string, string>>;
|
|
1603
|
+
windowStyle?: ComputedRef<Record<string, string>>;
|
|
1604
|
+
itemStyle?: ComputedRef<Record<string, string>>;
|
|
1605
|
+
handleScroll?: (event: Event) => void;
|
|
1606
|
+
resolvedRowComponent?: ComputedRef<string>;
|
|
1607
|
+
}
|
|
1608
|
+
interface VariableVirtualList extends VirtualList {
|
|
1609
|
+
estimateHeight?: RefOrValue<number | string>;
|
|
1610
|
+
rowElementRefs?: Array<ReturnType<typeof sref<HTMLElement | null>>>;
|
|
1611
|
+
viewportElement?: ReturnType<typeof sref<HTMLElement | null>>;
|
|
1612
|
+
unmounted?: () => void;
|
|
1613
|
+
}
|
|
1614
|
+
export declare function defineVirtualListComponents(): {
|
|
1615
|
+
virtualList: import("regor").Component<VirtualList>;
|
|
1616
|
+
variableVirtualList: import("regor").Component<VariableVirtualList>;
|
|
1617
|
+
};
|
|
1618
|
+
//#endregion
|
|
1619
|
+
//#region packages/ts-components/src/standard/virtualList/virtualTable.d.ts
|
|
1620
|
+
interface VirtualTable {
|
|
1621
|
+
items?: RefOrValue<unknown[]>;
|
|
1622
|
+
height?: RefOrValue<number | string>;
|
|
1623
|
+
itemHeight?: RefOrValue<number | string>;
|
|
1624
|
+
overscan?: RefOrValue<number | string>;
|
|
1625
|
+
rowComponent?: RefOrValue<string>;
|
|
1626
|
+
colGroupComponent?: RefOrValue<string>;
|
|
1627
|
+
headerComponent?: RefOrValue<string>;
|
|
1628
|
+
footerComponent?: RefOrValue<string>;
|
|
1629
|
+
tableLayout?: RefOrValue<'auto' | 'fixed'>;
|
|
1630
|
+
scrollTop?: ReturnType<typeof ref<number>>;
|
|
1631
|
+
visibleRows?: ComputedRef<VirtualListRow[]>;
|
|
1632
|
+
viewportStyle?: ComputedRef<Record<string, string>>;
|
|
1633
|
+
tableStyle?: ComputedRef<Record<string, string>>;
|
|
1634
|
+
topSpacerStyle?: ComputedRef<Record<string, string>>;
|
|
1635
|
+
bottomSpacerStyle?: ComputedRef<Record<string, string>>;
|
|
1636
|
+
handleScroll?: (event: Event) => void;
|
|
1637
|
+
hasColGroupComponent?: ComputedRef<boolean>;
|
|
1638
|
+
hasHeaderComponent?: ComputedRef<boolean>;
|
|
1639
|
+
hasFooterComponent?: ComputedRef<boolean>;
|
|
1640
|
+
}
|
|
1641
|
+
export declare function defineVirtualTableComponents(): {
|
|
1642
|
+
virtualTable: import("regor").Component<VirtualTable>;
|
|
1643
|
+
};
|
|
1644
|
+
//#endregion
|
|
1645
|
+
//#region packages/ts-components/src/standard/virtualList/variableVirtualTable.d.ts
|
|
1646
|
+
interface VariableVirtualTable extends VirtualTable {
|
|
1647
|
+
estimateHeight?: RefOrValue<number | string>;
|
|
1648
|
+
viewportElement?: ReturnType<typeof sref<HTMLElement | null>>;
|
|
1649
|
+
unmounted?: () => void;
|
|
1650
|
+
}
|
|
1651
|
+
export declare function defineVariableVirtualTableComponents(): {
|
|
1652
|
+
variableVirtualTable: import("regor").Component<VariableVirtualTable>;
|
|
1653
|
+
};
|
|
1654
|
+
//#endregion
|
|
1655
|
+
//#region packages/ts-components/src/standard/virtualList/virtualListStyle.d.ts
|
|
1656
|
+
export declare function registerVirtualListStyles(): void;
|
|
1657
|
+
//#endregion
|
|
1658
|
+
//#region packages/ts-components/src/standard/virtualList/virtualTableStyle.d.ts
|
|
1659
|
+
export declare function registerVirtualTableStyles(): void;
|
|
1660
|
+
//#endregion
|
|
1661
|
+
export type { AlertBox, AppForm, AutoCompleteInput, AutoCompleteOption, AutoCompleteOptionRow, AutoCompleteRow, AutoCompleteValue, Badge, BarChart, BarChartItem, Btn, BtnGroup, BtnGroupAlign, BtnGroupDropDown, BtnGroupDropDownAlign, BtnIconPosition, BtnLink, BtnSize, BtnType, ClassicLogo, ClassicLogoConfig, CodeShowcase, ComparisonColumn, ComparisonFeature, ComparisonTable, ComponentVariant, ComponentVariantMode, Composer, ComposerCommand, Consent, ConsentCategoryState, ContactForm, CtaSection, DoughnutChart, DoughnutChartSegment, DropFileItem, DropFiles, DropFilesAddOptions, DropFilesAddResult, DropFilesIconMap, EmailHtmlPolicyOptions, ExpandablePanel, FeatureCard, Flex, FlexAlign, FlexDirection, FlexJustify, FlexWrap, FormAssistLink, FormCheck, FormDivider, FormInputField, FormMeta, FormSelectField, FormSelectOption, FormSelectValue, FormStatus, FormSubmit, GetSvgIcon, Grid, Icon, IconFrame, IconFrameSize, LandingBand, LandingBandEdge, LandingBandImageFit, LandingSection, LandingTitleTag, LineChart, LineChartCurve, LineChartPoint, LineChartSeries, LogoAppearance, LogoConfig, LogoLayout, LogoMarkStyle, LogoShape, LogoSize, LogoWordmarkStyle, MetricItem, MetricStrip, Modal, ModalActionContract, ModalContract, ModalSize, ModalSlideFrom, ModalStore, ModalTrigger, MultiAutoCompleteCreateItem, MultiAutoCompleteDefaultOptionRow, MultiAutoCompleteInput, MultiAutoCompleteItem, MultiAutoCompleteItemsChange, MultiAutoCompleteOptionRow, MultiAutoCompleteOptionToItem, MultiAutoCompleteSearch, MultiAutoCompleteSelect, MultiAutoCompleteSelectedRow, MultiAutoCompleteSplitInput, NavItemState, NavList, NavMenu, PageLinks, PageToc, PageTocItem, Panel, PricingFeature, PricingPlan, PricingTable, ResolvedAutoCompleteOption, ResolvedBarChartGridLine, ResolvedBarChartItem, ResolvedDoughnutChartSegment, ResolvedMultiAutoCompleteItem, SearchBox, SectionHeader, SignIn, SiteFooter, SiteLogo, SiteLogoConfig, TabPane, Tabs, ThemeToggle, ToastHost, ToastItem, TopBar, TsSsgMenusApi, TsSsgModalApi, TsSsgTabsApi, VariableVirtualList, VariableVirtualTable, VirtualList, VirtualListRow, VirtualTable };
|
|
1662
|
+
//# sourceMappingURL=ts-components.d.mts.map
|