@emeraldemperaur/vector-sigma 1.4.25 → 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 +8 -0
- package/lib/index.esm.js +8 -0
- 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"]);
|
|
@@ -53303,8 +53305,12 @@ const NestedQuerySchema = object({
|
|
|
53303
53305
|
inputLabel: string(),
|
|
53304
53306
|
inputPlaceholder: string(),
|
|
53305
53307
|
defaultValue: any().optional(),
|
|
53308
|
+
minValue: number().optional(),
|
|
53309
|
+
maxValue: number().optional(),
|
|
53310
|
+
stepValue: number().or(float64()).optional(),
|
|
53306
53311
|
newRow: boolean(),
|
|
53307
53312
|
inputWidth: number(),
|
|
53313
|
+
inputHeight: number().optional(),
|
|
53308
53314
|
isRequired: boolean(),
|
|
53309
53315
|
isHinted: boolean(),
|
|
53310
53316
|
hintText: string().nullish(),
|
|
@@ -53327,6 +53333,7 @@ const QuerySchema = object({
|
|
|
53327
53333
|
stepValue: number().or(float64()).optional(),
|
|
53328
53334
|
newRow: boolean(),
|
|
53329
53335
|
inputWidth: number(),
|
|
53336
|
+
inputHeight: number().optional(),
|
|
53330
53337
|
isRequired: boolean(),
|
|
53331
53338
|
isHinted: boolean(),
|
|
53332
53339
|
hintText: string().nullable(),
|
|
@@ -53347,6 +53354,7 @@ const xFormSchema = object({
|
|
|
53347
53354
|
uuid: uuid(),
|
|
53348
53355
|
name: string(),
|
|
53349
53356
|
logo: string().nullable(),
|
|
53357
|
+
brandcolor: string().nullable(),
|
|
53350
53358
|
logoPosition: string().nullable(),
|
|
53351
53359
|
model: array(SectionSchema),
|
|
53352
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"]);
|
|
@@ -53283,8 +53285,12 @@ const NestedQuerySchema = object({
|
|
|
53283
53285
|
inputLabel: string(),
|
|
53284
53286
|
inputPlaceholder: string(),
|
|
53285
53287
|
defaultValue: any().optional(),
|
|
53288
|
+
minValue: number().optional(),
|
|
53289
|
+
maxValue: number().optional(),
|
|
53290
|
+
stepValue: number().or(float64()).optional(),
|
|
53286
53291
|
newRow: boolean(),
|
|
53287
53292
|
inputWidth: number(),
|
|
53293
|
+
inputHeight: number().optional(),
|
|
53288
53294
|
isRequired: boolean(),
|
|
53289
53295
|
isHinted: boolean(),
|
|
53290
53296
|
hintText: string().nullish(),
|
|
@@ -53307,6 +53313,7 @@ const QuerySchema = object({
|
|
|
53307
53313
|
stepValue: number().or(float64()).optional(),
|
|
53308
53314
|
newRow: boolean(),
|
|
53309
53315
|
inputWidth: number(),
|
|
53316
|
+
inputHeight: number().optional(),
|
|
53310
53317
|
isRequired: boolean(),
|
|
53311
53318
|
isHinted: boolean(),
|
|
53312
53319
|
hintText: string().nullable(),
|
|
@@ -53327,6 +53334,7 @@ const xFormSchema = object({
|
|
|
53327
53334
|
uuid: uuid(),
|
|
53328
53335
|
name: string(),
|
|
53329
53336
|
logo: string().nullable(),
|
|
53337
|
+
brandcolor: string().nullable(),
|
|
53330
53338
|
logoPosition: string().nullable(),
|
|
53331
53339
|
model: array(SectionSchema),
|
|
53332
53340
|
});
|
|
@@ -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
|
+
};
|