@emeraldemperaur/vector-sigma 1.4.24 → 1.4.26
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/README.md +1 -1
- package/lib/index.cjs +19 -10
- package/lib/index.esm.js +19 -10
- package/lib/types/layouts/accordion/accordion.d.ts +8 -1
- package/lib/types/teletraan1.d.ts +1 -1
- package/lib/types/utils/architect.d.ts +20 -0
- package/lib/types/utils/vinci.d.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ const App = () => {
|
|
|
96
96
|
|
|
97
97
|
<li><strong>🧩Exported UI Components</strong></br>
|
|
98
98
|
<p align="justify">Explicitly exported reusable form UI components with material, outline and neumorphic design variants from package entry point <code>src/index.ts</code> to enable developer-friendly use as lightweight component library.</p>
|
|
99
|
-
<p><em>Container, Row, Column, Theme, Accordion, AccordionItem, Codex, CodexItem, CodexControls, AvatarInput, ButtonInput, CheckboxGroupInput, ConditionalTrigger, DatePicker, DateRangePicker, DateTimePicker, Dropdown, File, FileMultiple, FlagIcon, Icon, Image, Input, PasswordInput, PhoneInput, CreditCardInput, CurrencyInput, StockInput, RadioGroupInput, OptionSelect, MultipleSelect, RangeSlider, SliderInput, Toggle, SectionTitle</em></p>
|
|
99
|
+
<p><em>Container, Row, Column, Theme, Accordion, AccordionItem, Codex, CodexItem, CodexControls, AvatarInput, ButtonInput, CheckboxGroupInput, ConditionalTrigger, DatePicker, DateRangePicker, DateTimePicker, Dropdown, File, FileMultiple, FlagIcon, Icon, Image, Input, PasswordInput, PhoneInput, CreditCardInput, CurrencyInput, StockInput, RadioGroupInput, OptionSelect, MultipleSelect, RangeSlider, SliderInput, Toggle, SectionTitle, Teletraan-1 (Render Matrix)</em></p>
|
|
100
100
|
|
|
101
101
|
```javascript
|
|
102
102
|
import { Container, Column, Row, CheckboxGroup, Dropdown, File, RangeSlider }
|
package/lib/index.cjs
CHANGED
|
@@ -12741,6 +12741,8 @@ const formatBytes = (bytes, decimals = 2) => {
|
|
|
12741
12741
|
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
12742
12742
|
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
|
|
12743
12743
|
};
|
|
12744
|
+
({
|
|
12745
|
+
optionid: crypto.randomUUID()});
|
|
12744
12746
|
|
|
12745
12747
|
const ButtonInput = (_a) => {
|
|
12746
12748
|
var { inputtype = 'button-outline', type = 'button', alias, readOnly, style, width, children, newRow, isHinted, hintText, hintUrl } = _a, props = __rest$1(_a, ["inputtype", "type", "alias", "readOnly", "style", "width", "children", "newRow", "isHinted", "hintText", "hintUrl"]);
|
|
@@ -48522,7 +48524,7 @@ const Row = ({ children, className, gap = "4" }) => {
|
|
|
48522
48524
|
};
|
|
48523
48525
|
|
|
48524
48526
|
const AccordionContext = React.createContext({ design: 'outline' });
|
|
48525
|
-
const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = false, brandcolor, width = 12, newRow, className, style, children }) => {
|
|
48527
|
+
const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = false, brandcolor, titleColor, width = 12, newRow, className, style, children }) => {
|
|
48526
48528
|
const containerRef = React.useRef(null);
|
|
48527
48529
|
const [neuVars, setNeuVars] = React.useState({});
|
|
48528
48530
|
React.useEffect(() => {
|
|
@@ -48540,9 +48542,9 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48540
48542
|
children
|
|
48541
48543
|
};
|
|
48542
48544
|
const accordionRoot = allowMultiple ? (React.createElement(Root2$4, Object.assign({ type: "multiple", defaultValue: defaultOpenId ? [defaultOpenId] : undefined }, sharedProps))) : (React.createElement(Root2$4, Object.assign({ type: "single", defaultValue: defaultOpenId || undefined, collapsible: true }, sharedProps)));
|
|
48543
|
-
return (React.createElement(AccordionContext.Provider, { value: { design, brandcolor } },
|
|
48545
|
+
return (React.createElement(AccordionContext.Provider, { value: { design, brandcolor, titleColor } },
|
|
48544
48546
|
React.createElement(Column, { span: width, newLine: newRow },
|
|
48545
|
-
React.createElement("div", { ref: containerRef, className: className, style: Object.assign(Object.assign(Object.assign({ width: '100%' }, style), neuVars), (brandcolor ? { '--accordion-header-bg': brandcolor } : {})) },
|
|
48547
|
+
React.createElement("div", { ref: containerRef, className: className, style: Object.assign(Object.assign(Object.assign(Object.assign({ width: '100%' }, style), neuVars), (brandcolor ? { '--accordion-header-bg': brandcolor } : {})), (titleColor ? { '--accordion-title-color': titleColor } : {})) },
|
|
48546
48548
|
React.createElement("style", { dangerouslySetInnerHTML: { __html: `
|
|
48547
48549
|
@keyframes slideDown {
|
|
48548
48550
|
from { height: 0; opacity: 0; }
|
|
@@ -48565,14 +48567,15 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48565
48567
|
}
|
|
48566
48568
|
.v-accordion-chevron {
|
|
48567
48569
|
transition: transform 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
48568
|
-
color
|
|
48570
|
+
/* Inherit custom title color if provided, else fallback to gray */
|
|
48571
|
+
color: var(--accordion-title-color, var(--gray-10));
|
|
48569
48572
|
}
|
|
48570
48573
|
|
|
48571
48574
|
.v-accordion-root-outline {
|
|
48572
48575
|
border: 1px solid var(--gray-6);
|
|
48573
48576
|
border-radius: var(--radius-3);
|
|
48574
48577
|
background-color: transparent;
|
|
48575
|
-
overflow: hidden;
|
|
48578
|
+
overflow: hidden;
|
|
48576
48579
|
}
|
|
48577
48580
|
.v-accordion-item-outline {
|
|
48578
48581
|
border-bottom: 1px solid var(--gray-6);
|
|
@@ -48585,7 +48588,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48585
48588
|
border-radius: var(--radius-3);
|
|
48586
48589
|
background-color: var(--color-surface);
|
|
48587
48590
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
48588
|
-
overflow: hidden;
|
|
48591
|
+
overflow: hidden;
|
|
48589
48592
|
}
|
|
48590
48593
|
.v-accordion-item-material {
|
|
48591
48594
|
border-bottom: 1px solid var(--gray-4);
|
|
@@ -48607,7 +48610,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48607
48610
|
border-radius: 12px;
|
|
48608
48611
|
box-shadow: 6px 6px 12px var(--neu-shadow-dark), -6px -6px 12px var(--neu-shadow-light);
|
|
48609
48612
|
transition: all 0.3s ease;
|
|
48610
|
-
overflow: hidden;
|
|
48613
|
+
overflow: hidden;
|
|
48611
48614
|
}
|
|
48612
48615
|
.v-accordion-item-neumorphic[data-state='open'] {
|
|
48613
48616
|
box-shadow: inset 4px 4px 8px var(--neu-shadow-dark), inset -4px -4px 8px var(--neu-shadow-light);
|
|
@@ -48623,7 +48626,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48623
48626
|
cursor: pointer;
|
|
48624
48627
|
font-family: var(--default-font-family);
|
|
48625
48628
|
box-sizing: border-box;
|
|
48626
|
-
background-color: var(--accordion-header-bg, transparent);
|
|
48629
|
+
background-color: var(--accordion-header-bg, transparent);
|
|
48627
48630
|
}
|
|
48628
48631
|
.v-accordion-trigger:disabled {
|
|
48629
48632
|
cursor: not-allowed;
|
|
@@ -48638,8 +48641,8 @@ const AccordionItem = ({ sectionId, title, children, disabled = false, icon }) =
|
|
|
48638
48641
|
React.createElement(Header, { style: { margin: 0 } },
|
|
48639
48642
|
React.createElement(Trigger2, { className: "v-accordion-trigger" },
|
|
48640
48643
|
React.createElement(p$5, { align: "center", gap: "3" },
|
|
48641
|
-
icon && (React.createElement("div", { style: { display: 'flex', alignItems: 'center', color: 'var(--accent-9)' } }, icon)),
|
|
48642
|
-
React.createElement(p$d, { size: "3", weight: "bold", style: { color: 'var(--gray-12)' } }, title)),
|
|
48644
|
+
icon && (React.createElement("div", { style: { display: 'flex', alignItems: 'center', color: 'var(--accordion-title-color, var(--accent-9))' } }, icon)),
|
|
48645
|
+
React.createElement(p$d, { size: "3", weight: "bold", style: { color: 'var(--accordion-title-color, var(--gray-12))' } }, title)),
|
|
48643
48646
|
React.createElement(Icon, { name: "chevrondown", height: "20", width: "20", className: "v-accordion-chevron" }))),
|
|
48644
48647
|
React.createElement(Content2$3, { className: "v-accordion-content", style: { overflow: 'hidden' } },
|
|
48645
48648
|
React.createElement("div", { style: { padding: '0 16px 16px 16px' } },
|
|
@@ -53302,8 +53305,12 @@ const NestedQuerySchema = object({
|
|
|
53302
53305
|
inputLabel: string(),
|
|
53303
53306
|
inputPlaceholder: string(),
|
|
53304
53307
|
defaultValue: any().optional(),
|
|
53308
|
+
minValue: number().optional(),
|
|
53309
|
+
maxValue: number().optional(),
|
|
53310
|
+
stepValue: number().or(float64()).optional(),
|
|
53305
53311
|
newRow: boolean(),
|
|
53306
53312
|
inputWidth: number(),
|
|
53313
|
+
inputHeight: number().optional(),
|
|
53307
53314
|
isRequired: boolean(),
|
|
53308
53315
|
isHinted: boolean(),
|
|
53309
53316
|
hintText: string().nullish(),
|
|
@@ -53326,6 +53333,7 @@ const QuerySchema = object({
|
|
|
53326
53333
|
stepValue: number().or(float64()).optional(),
|
|
53327
53334
|
newRow: boolean(),
|
|
53328
53335
|
inputWidth: number(),
|
|
53336
|
+
inputHeight: number().optional(),
|
|
53329
53337
|
isRequired: boolean(),
|
|
53330
53338
|
isHinted: boolean(),
|
|
53331
53339
|
hintText: string().nullable(),
|
|
@@ -53346,6 +53354,7 @@ const xFormSchema = object({
|
|
|
53346
53354
|
uuid: uuid(),
|
|
53347
53355
|
name: string(),
|
|
53348
53356
|
logo: string().nullable(),
|
|
53357
|
+
brandcolor: string().nullable(),
|
|
53349
53358
|
logoPosition: string().nullable(),
|
|
53350
53359
|
model: array(SectionSchema),
|
|
53351
53360
|
});
|
package/lib/index.esm.js
CHANGED
|
@@ -12721,6 +12721,8 @@ const formatBytes = (bytes, decimals = 2) => {
|
|
|
12721
12721
|
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
12722
12722
|
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
|
|
12723
12723
|
};
|
|
12724
|
+
({
|
|
12725
|
+
optionid: crypto.randomUUID()});
|
|
12724
12726
|
|
|
12725
12727
|
const ButtonInput = (_a) => {
|
|
12726
12728
|
var { inputtype = 'button-outline', type = 'button', alias, readOnly, style, width, children, newRow, isHinted, hintText, hintUrl } = _a, props = __rest$1(_a, ["inputtype", "type", "alias", "readOnly", "style", "width", "children", "newRow", "isHinted", "hintText", "hintUrl"]);
|
|
@@ -48502,7 +48504,7 @@ const Row = ({ children, className, gap = "4" }) => {
|
|
|
48502
48504
|
};
|
|
48503
48505
|
|
|
48504
48506
|
const AccordionContext = createContext({ design: 'outline' });
|
|
48505
|
-
const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = false, brandcolor, width = 12, newRow, className, style, children }) => {
|
|
48507
|
+
const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = false, brandcolor, titleColor, width = 12, newRow, className, style, children }) => {
|
|
48506
48508
|
const containerRef = useRef(null);
|
|
48507
48509
|
const [neuVars, setNeuVars] = useState({});
|
|
48508
48510
|
useEffect(() => {
|
|
@@ -48520,9 +48522,9 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48520
48522
|
children
|
|
48521
48523
|
};
|
|
48522
48524
|
const accordionRoot = allowMultiple ? (React__default.createElement(Root2$4, Object.assign({ type: "multiple", defaultValue: defaultOpenId ? [defaultOpenId] : undefined }, sharedProps))) : (React__default.createElement(Root2$4, Object.assign({ type: "single", defaultValue: defaultOpenId || undefined, collapsible: true }, sharedProps)));
|
|
48523
|
-
return (React__default.createElement(AccordionContext.Provider, { value: { design, brandcolor } },
|
|
48525
|
+
return (React__default.createElement(AccordionContext.Provider, { value: { design, brandcolor, titleColor } },
|
|
48524
48526
|
React__default.createElement(Column, { span: width, newLine: newRow },
|
|
48525
|
-
React__default.createElement("div", { ref: containerRef, className: className, style: Object.assign(Object.assign(Object.assign({ width: '100%' }, style), neuVars), (brandcolor ? { '--accordion-header-bg': brandcolor } : {})) },
|
|
48527
|
+
React__default.createElement("div", { ref: containerRef, className: className, style: Object.assign(Object.assign(Object.assign(Object.assign({ width: '100%' }, style), neuVars), (brandcolor ? { '--accordion-header-bg': brandcolor } : {})), (titleColor ? { '--accordion-title-color': titleColor } : {})) },
|
|
48526
48528
|
React__default.createElement("style", { dangerouslySetInnerHTML: { __html: `
|
|
48527
48529
|
@keyframes slideDown {
|
|
48528
48530
|
from { height: 0; opacity: 0; }
|
|
@@ -48545,14 +48547,15 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48545
48547
|
}
|
|
48546
48548
|
.v-accordion-chevron {
|
|
48547
48549
|
transition: transform 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
48548
|
-
color
|
|
48550
|
+
/* Inherit custom title color if provided, else fallback to gray */
|
|
48551
|
+
color: var(--accordion-title-color, var(--gray-10));
|
|
48549
48552
|
}
|
|
48550
48553
|
|
|
48551
48554
|
.v-accordion-root-outline {
|
|
48552
48555
|
border: 1px solid var(--gray-6);
|
|
48553
48556
|
border-radius: var(--radius-3);
|
|
48554
48557
|
background-color: transparent;
|
|
48555
|
-
overflow: hidden;
|
|
48558
|
+
overflow: hidden;
|
|
48556
48559
|
}
|
|
48557
48560
|
.v-accordion-item-outline {
|
|
48558
48561
|
border-bottom: 1px solid var(--gray-6);
|
|
@@ -48565,7 +48568,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48565
48568
|
border-radius: var(--radius-3);
|
|
48566
48569
|
background-color: var(--color-surface);
|
|
48567
48570
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
48568
|
-
overflow: hidden;
|
|
48571
|
+
overflow: hidden;
|
|
48569
48572
|
}
|
|
48570
48573
|
.v-accordion-item-material {
|
|
48571
48574
|
border-bottom: 1px solid var(--gray-4);
|
|
@@ -48587,7 +48590,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48587
48590
|
border-radius: 12px;
|
|
48588
48591
|
box-shadow: 6px 6px 12px var(--neu-shadow-dark), -6px -6px 12px var(--neu-shadow-light);
|
|
48589
48592
|
transition: all 0.3s ease;
|
|
48590
|
-
overflow: hidden;
|
|
48593
|
+
overflow: hidden;
|
|
48591
48594
|
}
|
|
48592
48595
|
.v-accordion-item-neumorphic[data-state='open'] {
|
|
48593
48596
|
box-shadow: inset 4px 4px 8px var(--neu-shadow-dark), inset -4px -4px 8px var(--neu-shadow-light);
|
|
@@ -48603,7 +48606,7 @@ const Accordion = ({ design = 'outline', defaultOpenId = "", allowMultiple = fal
|
|
|
48603
48606
|
cursor: pointer;
|
|
48604
48607
|
font-family: var(--default-font-family);
|
|
48605
48608
|
box-sizing: border-box;
|
|
48606
|
-
background-color: var(--accordion-header-bg, transparent);
|
|
48609
|
+
background-color: var(--accordion-header-bg, transparent);
|
|
48607
48610
|
}
|
|
48608
48611
|
.v-accordion-trigger:disabled {
|
|
48609
48612
|
cursor: not-allowed;
|
|
@@ -48618,8 +48621,8 @@ const AccordionItem = ({ sectionId, title, children, disabled = false, icon }) =
|
|
|
48618
48621
|
React__default.createElement(Header, { style: { margin: 0 } },
|
|
48619
48622
|
React__default.createElement(Trigger2, { className: "v-accordion-trigger" },
|
|
48620
48623
|
React__default.createElement(p$5, { align: "center", gap: "3" },
|
|
48621
|
-
icon && (React__default.createElement("div", { style: { display: 'flex', alignItems: 'center', color: 'var(--accent-9)' } }, icon)),
|
|
48622
|
-
React__default.createElement(p$d, { size: "3", weight: "bold", style: { color: 'var(--gray-12)' } }, title)),
|
|
48624
|
+
icon && (React__default.createElement("div", { style: { display: 'flex', alignItems: 'center', color: 'var(--accordion-title-color, var(--accent-9))' } }, icon)),
|
|
48625
|
+
React__default.createElement(p$d, { size: "3", weight: "bold", style: { color: 'var(--accordion-title-color, var(--gray-12))' } }, title)),
|
|
48623
48626
|
React__default.createElement(Icon, { name: "chevrondown", height: "20", width: "20", className: "v-accordion-chevron" }))),
|
|
48624
48627
|
React__default.createElement(Content2$3, { className: "v-accordion-content", style: { overflow: 'hidden' } },
|
|
48625
48628
|
React__default.createElement("div", { style: { padding: '0 16px 16px 16px' } },
|
|
@@ -53282,8 +53285,12 @@ const NestedQuerySchema = object({
|
|
|
53282
53285
|
inputLabel: string(),
|
|
53283
53286
|
inputPlaceholder: string(),
|
|
53284
53287
|
defaultValue: any().optional(),
|
|
53288
|
+
minValue: number().optional(),
|
|
53289
|
+
maxValue: number().optional(),
|
|
53290
|
+
stepValue: number().or(float64()).optional(),
|
|
53285
53291
|
newRow: boolean(),
|
|
53286
53292
|
inputWidth: number(),
|
|
53293
|
+
inputHeight: number().optional(),
|
|
53287
53294
|
isRequired: boolean(),
|
|
53288
53295
|
isHinted: boolean(),
|
|
53289
53296
|
hintText: string().nullish(),
|
|
@@ -53306,6 +53313,7 @@ const QuerySchema = object({
|
|
|
53306
53313
|
stepValue: number().or(float64()).optional(),
|
|
53307
53314
|
newRow: boolean(),
|
|
53308
53315
|
inputWidth: number(),
|
|
53316
|
+
inputHeight: number().optional(),
|
|
53309
53317
|
isRequired: boolean(),
|
|
53310
53318
|
isHinted: boolean(),
|
|
53311
53319
|
hintText: string().nullable(),
|
|
@@ -53326,6 +53334,7 @@ const xFormSchema = object({
|
|
|
53326
53334
|
uuid: uuid(),
|
|
53327
53335
|
name: string(),
|
|
53328
53336
|
logo: string().nullable(),
|
|
53337
|
+
brandcolor: string().nullable(),
|
|
53329
53338
|
logoPosition: string().nullable(),
|
|
53330
53339
|
model: array(SectionSchema),
|
|
53331
53340
|
});
|
|
@@ -31,6 +31,13 @@ export interface AccordionProps {
|
|
|
31
31
|
* brandcolor="var(--accent-3)"
|
|
32
32
|
*/
|
|
33
33
|
brandcolor?: string;
|
|
34
|
+
/**
|
|
35
|
+
* * Option to specify the text and icon color of the AccordionItem headers.
|
|
36
|
+
* Useful when using a dark brandcolor to ensure legibility.
|
|
37
|
+
* * @example
|
|
38
|
+
* titleColor="#ffffff"
|
|
39
|
+
*/
|
|
40
|
+
titleColor?: string;
|
|
34
41
|
/**
|
|
35
42
|
* * The required viewport column width for the Accordion component.
|
|
36
43
|
* i.e. 1 - 12
|
|
@@ -91,5 +98,5 @@ export interface AccordionItemProps {
|
|
|
91
98
|
*/
|
|
92
99
|
icon?: ReactNode;
|
|
93
100
|
}
|
|
94
|
-
export declare const Accordion: ({ design, defaultOpenId, allowMultiple, brandcolor, width, newRow, className, style, children }: AccordionProps) => React.JSX.Element;
|
|
101
|
+
export declare const Accordion: ({ design, defaultOpenId, allowMultiple, brandcolor, titleColor, width, newRow, className, style, children }: AccordionProps) => React.JSX.Element;
|
|
95
102
|
export declare const AccordionItem: ({ sectionId, title, children, disabled, icon }: AccordionItemProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { xForm } from 'utils/architect';
|
|
3
3
|
export type teletraan1Display = 'accordion' | 'codice' | 'codex' | 'dual';
|
|
4
|
-
export declare const teletraan1: (xFormModel: xForm, readOnlyMode: boolean, displayMode: teletraan1Display) => React.JSX.Element;
|
|
4
|
+
export declare const teletraan1: (xFormModel: xForm, readOnlyMode: boolean, displayMode: teletraan1Display, brandColor?: string) => React.JSX.Element;
|
|
@@ -14,8 +14,12 @@ declare const NestedQuerySchema: z.ZodObject<{
|
|
|
14
14
|
inputLabel: z.ZodString;
|
|
15
15
|
inputPlaceholder: z.ZodString;
|
|
16
16
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
17
|
+
minValue: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
maxValue: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
17
20
|
newRow: z.ZodBoolean;
|
|
18
21
|
inputWidth: z.ZodNumber;
|
|
22
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
19
23
|
isRequired: z.ZodBoolean;
|
|
20
24
|
isHinted: z.ZodBoolean;
|
|
21
25
|
hintText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -45,6 +49,7 @@ declare const QuerySchema: z.ZodObject<{
|
|
|
45
49
|
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
46
50
|
newRow: z.ZodBoolean;
|
|
47
51
|
inputWidth: z.ZodNumber;
|
|
52
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
48
53
|
isRequired: z.ZodBoolean;
|
|
49
54
|
isHinted: z.ZodBoolean;
|
|
50
55
|
hintText: z.ZodNullable<z.ZodString>;
|
|
@@ -65,8 +70,12 @@ declare const QuerySchema: z.ZodObject<{
|
|
|
65
70
|
inputLabel: z.ZodString;
|
|
66
71
|
inputPlaceholder: z.ZodString;
|
|
67
72
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
73
|
+
minValue: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
maxValue: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
68
76
|
newRow: z.ZodBoolean;
|
|
69
77
|
inputWidth: z.ZodNumber;
|
|
78
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
70
79
|
isRequired: z.ZodBoolean;
|
|
71
80
|
isHinted: z.ZodBoolean;
|
|
72
81
|
hintText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -103,6 +112,7 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
103
112
|
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
104
113
|
newRow: z.ZodBoolean;
|
|
105
114
|
inputWidth: z.ZodNumber;
|
|
115
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
106
116
|
isRequired: z.ZodBoolean;
|
|
107
117
|
isHinted: z.ZodBoolean;
|
|
108
118
|
hintText: z.ZodNullable<z.ZodString>;
|
|
@@ -123,8 +133,12 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
123
133
|
inputLabel: z.ZodString;
|
|
124
134
|
inputPlaceholder: z.ZodString;
|
|
125
135
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
136
|
+
minValue: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
maxValue: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
126
139
|
newRow: z.ZodBoolean;
|
|
127
140
|
inputWidth: z.ZodNumber;
|
|
141
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
128
142
|
isRequired: z.ZodBoolean;
|
|
129
143
|
isHinted: z.ZodBoolean;
|
|
130
144
|
hintText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -150,6 +164,7 @@ export declare const xFormSchema: z.ZodObject<{
|
|
|
150
164
|
uuid: z.ZodUUID;
|
|
151
165
|
name: z.ZodString;
|
|
152
166
|
logo: z.ZodNullable<z.ZodString>;
|
|
167
|
+
brandcolor: z.ZodNullable<z.ZodString>;
|
|
153
168
|
logoPosition: z.ZodNullable<z.ZodString>;
|
|
154
169
|
model: z.ZodArray<z.ZodObject<{
|
|
155
170
|
sectionId: z.ZodNumber;
|
|
@@ -167,6 +182,7 @@ export declare const xFormSchema: z.ZodObject<{
|
|
|
167
182
|
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
168
183
|
newRow: z.ZodBoolean;
|
|
169
184
|
inputWidth: z.ZodNumber;
|
|
185
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
170
186
|
isRequired: z.ZodBoolean;
|
|
171
187
|
isHinted: z.ZodBoolean;
|
|
172
188
|
hintText: z.ZodNullable<z.ZodString>;
|
|
@@ -187,8 +203,12 @@ export declare const xFormSchema: z.ZodObject<{
|
|
|
187
203
|
inputLabel: z.ZodString;
|
|
188
204
|
inputPlaceholder: z.ZodString;
|
|
189
205
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
206
|
+
minValue: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
maxValue: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
stepValue: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodFloat64]>>;
|
|
190
209
|
newRow: z.ZodBoolean;
|
|
191
210
|
inputWidth: z.ZodNumber;
|
|
211
|
+
inputHeight: z.ZodOptional<z.ZodNumber>;
|
|
192
212
|
isRequired: z.ZodBoolean;
|
|
193
213
|
isHinted: z.ZodBoolean;
|
|
194
214
|
hintText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -53,3 +53,12 @@ export interface InputOption {
|
|
|
53
53
|
*/
|
|
54
54
|
optionurl?: string;
|
|
55
55
|
}
|
|
56
|
+
export declare const InputOptionsPlaceholder: {
|
|
57
|
+
optionid: `${string}-${string}-${string}-${string}-${string}`;
|
|
58
|
+
text: string;
|
|
59
|
+
optionvalue: string;
|
|
60
|
+
tag: string;
|
|
61
|
+
score: number;
|
|
62
|
+
note: string;
|
|
63
|
+
optionurl: string;
|
|
64
|
+
};
|