@next-bricks/form 0.11.3 → 0.12.1
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/dist/bricks.json +9 -6
- package/dist/chunks/1966.5be7af84.js +2 -0
- package/dist/chunks/1966.5be7af84.js.map +1 -0
- package/dist/chunks/3494.dd24d739.js +2 -0
- package/dist/chunks/{3494.b32e021c.js.map → 3494.dd24d739.js.map} +1 -1
- package/dist/chunks/4131.48a216bd.js +2 -0
- package/dist/chunks/4131.48a216bd.js.map +1 -0
- package/dist/chunks/4791.06b0142b.js +2 -0
- package/dist/chunks/{4791.288c8084.js.map → 4791.06b0142b.js.map} +1 -1
- package/dist/chunks/4795.90b6991e.js +2 -0
- package/dist/chunks/4795.90b6991e.js.map +1 -0
- package/dist/chunks/5202.e887583f.js +2 -0
- package/dist/chunks/{5202.2b219084.js.map → 5202.e887583f.js.map} +1 -1
- package/dist/chunks/6221.9d80956c.js +3 -0
- package/dist/chunks/6221.9d80956c.js.map +1 -0
- package/dist/chunks/7822.c8ee10ba.js +2 -0
- package/dist/chunks/{7822.4154a218.js.map → 7822.c8ee10ba.js.map} +1 -1
- package/dist/chunks/7884.e14a1509.js +2 -0
- package/dist/chunks/7884.e14a1509.js.map +1 -0
- package/dist/chunks/873.cc3010b0.js +2 -0
- package/dist/chunks/{873.2b11a4db.js.map → 873.cc3010b0.js.map} +1 -1
- package/dist/chunks/9549.de31aced.js +2 -0
- package/dist/chunks/{9549.2c5f5edd.js.map → 9549.de31aced.js.map} +1 -1
- package/dist/chunks/eo-checkbox.f9bc931d.js +2 -0
- package/dist/chunks/eo-checkbox.f9bc931d.js.map +1 -0
- package/dist/chunks/{eo-dynamic-form-item.68db88eb.js → eo-dynamic-form-item.4acd47a7.js} +2 -2
- package/dist/chunks/{eo-dynamic-form-item.68db88eb.js.map → eo-dynamic-form-item.4acd47a7.js.map} +1 -1
- package/dist/chunks/eo-form.d8d5e655.js +2 -0
- package/dist/chunks/{eo-form.dfefdd7d.js.map → eo-form.d8d5e655.js.map} +1 -1
- package/dist/chunks/eo-icon-select.c36f29bb.js +3 -0
- package/dist/chunks/{eo-icon-select.821c7b62.js.map → eo-icon-select.c36f29bb.js.map} +1 -1
- package/dist/chunks/eo-radio.ea667baf.js +2 -0
- package/dist/chunks/eo-radio.ea667baf.js.map +1 -0
- package/dist/chunks/eo-search.92a48f0f.js +3 -0
- package/dist/chunks/eo-search.92a48f0f.js.map +1 -0
- package/dist/chunks/eo-select.cd27e6c2.js +2 -0
- package/dist/chunks/eo-select.cd27e6c2.js.map +1 -0
- package/dist/chunks/eo-textarea.9a478e44.js +3 -0
- package/dist/chunks/{eo-textarea.7e65b425.js.map → eo-textarea.9a478e44.js.map} +1 -1
- package/dist/chunks/eo-upload-file.837872c4.js +3 -0
- package/dist/chunks/eo-upload-file.837872c4.js.map +1 -0
- package/dist/chunks/eo-upload-image.e3a4fa7b.js +3 -0
- package/dist/chunks/eo-upload-image.e3a4fa7b.js.map +1 -0
- package/dist/chunks/main.2fbe2cf6.js +2 -0
- package/dist/chunks/main.2fbe2cf6.js.map +1 -0
- package/dist/index.6f347e9d.js +2 -0
- package/dist/index.6f347e9d.js.map +1 -0
- package/dist/manifest.json +99 -182
- package/dist/types.json +558 -727
- package/dist-types/bootstrap.d.ts +1 -1
- package/dist-types/upload/Upload.d.ts +4 -1
- package/dist-types/upload/upload-file/i18n.d.ts +14 -0
- package/dist-types/upload/upload-file/index.d.ts +95 -0
- package/dist-types/upload/upload-file/index.spec.d.ts +1 -0
- package/docs/eo-upload-file.md +22 -0
- package/package.json +2 -2
- package/dist/chunks/1970.6303d93c.js +0 -3
- package/dist/chunks/1970.6303d93c.js.LICENSE.txt +0 -46
- package/dist/chunks/1970.6303d93c.js.map +0 -1
- package/dist/chunks/3494.b32e021c.js +0 -2
- package/dist/chunks/4131.da9663d6.js +0 -2
- package/dist/chunks/4131.da9663d6.js.map +0 -1
- package/dist/chunks/4791.288c8084.js +0 -2
- package/dist/chunks/5202.2b219084.js +0 -2
- package/dist/chunks/6389.d53428bf.js +0 -2
- package/dist/chunks/6389.d53428bf.js.map +0 -1
- package/dist/chunks/714.fbaa063b.js +0 -2
- package/dist/chunks/714.fbaa063b.js.map +0 -1
- package/dist/chunks/7822.4154a218.js +0 -2
- package/dist/chunks/873.2b11a4db.js +0 -2
- package/dist/chunks/9223.f5fd0ea1.js +0 -2
- package/dist/chunks/9223.f5fd0ea1.js.map +0 -1
- package/dist/chunks/9549.2c5f5edd.js +0 -2
- package/dist/chunks/9986.bb3def3f.js +0 -2
- package/dist/chunks/9986.bb3def3f.js.map +0 -1
- package/dist/chunks/code-editor.e3690b47.js +0 -2
- package/dist/chunks/code-editor.e3690b47.js.map +0 -1
- package/dist/chunks/eo-checkbox.c5010723.js +0 -3
- package/dist/chunks/eo-checkbox.c5010723.js.map +0 -1
- package/dist/chunks/eo-form.dfefdd7d.js +0 -2
- package/dist/chunks/eo-icon-select.821c7b62.js +0 -3
- package/dist/chunks/eo-radio.3c54b91c.js +0 -3
- package/dist/chunks/eo-radio.3c54b91c.js.map +0 -1
- package/dist/chunks/eo-search.519fbec4.js +0 -3
- package/dist/chunks/eo-search.519fbec4.js.map +0 -1
- package/dist/chunks/eo-select.5abf2d64.js +0 -3
- package/dist/chunks/eo-select.5abf2d64.js.map +0 -1
- package/dist/chunks/eo-textarea.7e65b425.js +0 -3
- package/dist/chunks/eo-upload-image.8c7d6541.js +0 -3
- package/dist/chunks/eo-upload-image.8c7d6541.js.LICENSE.txt +0 -5
- package/dist/chunks/eo-upload-image.8c7d6541.js.map +0 -1
- package/dist/chunks/main.3c473511.js +0 -2
- package/dist/chunks/main.3c473511.js.map +0 -1
- package/dist/index.07479137.js +0 -2
- package/dist/index.07479137.js.map +0 -1
- package/dist-types/code-editor/aceBuilds/index.d.ts +0 -16
- package/dist-types/code-editor/codeEditor.d.ts +0 -5
- package/dist-types/code-editor/custom-mode/BrickNextMode.d.ts +0 -7
- package/dist-types/code-editor/custom-mode/BrickNextRules.d.ts +0 -170
- package/dist-types/code-editor/custom-mode/BrickNextYamlMode.d.ts +0 -7
- package/dist-types/code-editor/custom-mode/CommonExpressionLanguageMode.d.ts +0 -7
- package/dist-types/code-editor/custom-mode/CommonExpressionLanguageRules.d.ts +0 -19
- package/dist-types/code-editor/custom-mode/CommonExpressionLanguageRules.spec.d.ts +0 -1
- package/dist-types/code-editor/custom-mode/CommonExpressionLanguageYamlMode.d.ts +0 -7
- package/dist-types/code-editor/custom-mode/TerraformMode.d.ts +0 -7
- package/dist-types/code-editor/custom-mode/brickNextUtil.d.ts +0 -15
- package/dist-types/code-editor/getClickableMarker.d.ts +0 -2
- package/dist-types/code-editor/getHighlightMarkers.d.ts +0 -11
- package/dist-types/code-editor/index.d.ts +0 -166
- package/dist-types/code-editor/index.spec.d.ts +0 -1
- package/dist-types/code-editor/interfaces.d.ts +0 -76
- /package/dist/chunks/{eo-checkbox.c5010723.js.LICENSE.txt → 6221.9d80956c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.821c7b62.js.LICENSE.txt → eo-icon-select.c36f29bb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.3c54b91c.js.LICENSE.txt → eo-search.92a48f0f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-search.519fbec4.js.LICENSE.txt → eo-textarea.9a478e44.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.5abf2d64.js.LICENSE.txt → eo-upload-file.837872c4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.7e65b425.js.LICENSE.txt → eo-upload-image.e3a4fa7b.js.LICENSE.txt} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { IMarker } from "react-ace";
|
|
2
|
-
import type { FormItemProps } from "../form-item/index.js";
|
|
3
|
-
export interface Error {
|
|
4
|
-
err: Annotation[];
|
|
5
|
-
hasError: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface ExtendedMarker extends IMarker {
|
|
8
|
-
highlightType: HighlightTokenType;
|
|
9
|
-
identifier: string;
|
|
10
|
-
}
|
|
11
|
-
export interface CodeEditorProps extends FormItemProps {
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
value: string;
|
|
16
|
-
onChange?: (value: string) => void;
|
|
17
|
-
onBlur?: () => void;
|
|
18
|
-
onErrorChange?: (error: Error) => void;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
theme?: string;
|
|
21
|
-
mode: string;
|
|
22
|
-
readOnly?: boolean;
|
|
23
|
-
showLineNumbers?: boolean;
|
|
24
|
-
maxLines?: number | "Infinity";
|
|
25
|
-
minLines: number;
|
|
26
|
-
tabSize?: number;
|
|
27
|
-
showGutter?: boolean;
|
|
28
|
-
printMargin?: boolean;
|
|
29
|
-
highlightActiveLine?: boolean;
|
|
30
|
-
onValidate?: (error: Annotation[]) => void;
|
|
31
|
-
showExportButton?: boolean;
|
|
32
|
-
showCopyButton?: boolean;
|
|
33
|
-
showExpandButton?: boolean;
|
|
34
|
-
exportFileName?: string;
|
|
35
|
-
jsonSchema?: Record<string, any>;
|
|
36
|
-
validateJsonSchemaMode?: "warning" | "error";
|
|
37
|
-
schemaRef?: string;
|
|
38
|
-
enableLiveAutocompletion?: boolean;
|
|
39
|
-
customCompleters?: string[] | {
|
|
40
|
-
caption?: string;
|
|
41
|
-
value: string;
|
|
42
|
-
meta?: string;
|
|
43
|
-
score?: number;
|
|
44
|
-
}[];
|
|
45
|
-
loadYamlInJsonMode?: boolean;
|
|
46
|
-
showPrintMargin?: boolean;
|
|
47
|
-
highlightTokens?: HighlightTokenSettings[];
|
|
48
|
-
onClickHighlightToken?: (token: {
|
|
49
|
-
type: HighlightTokenType;
|
|
50
|
-
value: string;
|
|
51
|
-
}) => void;
|
|
52
|
-
}
|
|
53
|
-
export interface HighlightTokenSettings {
|
|
54
|
-
type: HighlightTokenType;
|
|
55
|
-
clickable?: boolean;
|
|
56
|
-
level?: "default" | "warn" | "error";
|
|
57
|
-
}
|
|
58
|
-
export type HighlightTokenType = "storyboard-function" | "storyboard-context" | "storyboard-context-action" | "storyboard-state" | "storyboard-state-action" | "storyboard-tpl-var" | "storyboard-tag-name-as-target" | "storyboard-route-var" | "dashboard-DS";
|
|
59
|
-
export interface AceLanguageRules {
|
|
60
|
-
[className: string]: AceLanguageRule[];
|
|
61
|
-
}
|
|
62
|
-
export interface AceLanguageRule {
|
|
63
|
-
token?: string | string[] | AceTokenFunction;
|
|
64
|
-
regex?: string | RegExp;
|
|
65
|
-
next?: string;
|
|
66
|
-
defaultToken?: string;
|
|
67
|
-
consumeLineEnd?: boolean;
|
|
68
|
-
onMatch?: (val?: string, state?: unknown, stack?: [string, number], line?: string) => string;
|
|
69
|
-
}
|
|
70
|
-
export type AceTokenFunction = (value: string) => string;
|
|
71
|
-
export interface Annotation {
|
|
72
|
-
row: number;
|
|
73
|
-
column: number;
|
|
74
|
-
text: string;
|
|
75
|
-
type: string;
|
|
76
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/chunks/{eo-search.519fbec4.js.LICENSE.txt → eo-textarea.9a478e44.js.LICENSE.txt}
RENAMED
|
File without changes
|
/package/dist/chunks/{eo-select.5abf2d64.js.LICENSE.txt → eo-upload-file.837872c4.js.LICENSE.txt}
RENAMED
|
File without changes
|
/package/dist/chunks/{eo-textarea.7e65b425.js.LICENSE.txt → eo-upload-image.e3a4fa7b.js.LICENSE.txt}
RENAMED
|
File without changes
|