@arcgis/coding-components 4.31.0-next.2 → 4.31.0-next.3
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/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +11 -0
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/sql-expression-editor/api/sql-expression-api.t9n.en.json +735 -0
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/p-0105cc95.js +6 -0
- package/dist/arcgis-coding-components/{p-9eced6fc.js → p-111ba641.js} +2 -2
- package/dist/arcgis-coding-components/p-3ca5ba95.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-bb7e832e.js → p-42c8b545.js} +3 -3
- package/dist/arcgis-coding-components/{p-93a97573.js → p-4986aaf2.js} +3 -3
- package/dist/arcgis-coding-components/p-5e26a360.js +6 -0
- package/dist/arcgis-coding-components/{p-60c2a820.js → p-5eb82abf.js} +2 -2
- package/dist/arcgis-coding-components/{p-62ee6251.js → p-6554a853.js} +1 -1
- package/dist/arcgis-coding-components/{p-7984ea8e.js → p-7c6b3d40.js} +2 -2
- package/dist/arcgis-coding-components/{p-5ef7cce5.js → p-86106a9a.js} +1 -1
- package/dist/arcgis-coding-components/{p-03ea6cd7.js → p-8b4298d5.js} +3 -3
- package/dist/arcgis-coding-components/p-9132bc9c.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-36fedc23.js → p-93d0e0cc.js} +10 -10
- package/dist/arcgis-coding-components/{p-e8211ffe.js → p-9c7e0089.js} +1 -1
- package/dist/arcgis-coding-components/p-b82e98f0.js +6 -0
- package/dist/arcgis-coding-components/{p-e7ee4d64.js → p-c4a5150e.js} +3 -3
- package/dist/arcgis-coding-components/p-d353f1ba.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-0c6de9b3.js → p-fe6ccfe0.js} +2 -2
- package/dist/cjs/{app-globals-aee5f4b5.js → app-globals-92c5b499.js} +1 -1
- package/dist/cjs/arcade-defaults-34e82ff5.js +116 -0
- package/dist/cjs/{arcade-mode-b85ae7d4.js → arcade-mode-dfd66b4b.js} +62 -62
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +177 -1491
- package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +81 -0
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +80 -0
- package/dist/cjs/{css-7cc05f76.js → css-9b0053c3.js} +1 -1
- package/dist/cjs/{cssMode-2b0daeae.js → cssMode-62e53008.js} +4 -4
- package/dist/cjs/{html-f56911e1.js → html-3036e89e.js} +4 -4
- package/dist/cjs/{htmlMode-43eed674.js → htmlMode-c37eee42.js} +4 -4
- package/dist/cjs/{index-b34238a6.js → index-be6b2520.js} +9 -1
- package/dist/cjs/index.cjs.js +4 -3
- package/dist/cjs/{javascript-5115cb76.js → javascript-7276c023.js} +4 -4
- package/dist/cjs/{jsonMode-550dda36.js → jsonMode-baa295f0.js} +4 -4
- package/dist/cjs/{arcade-defaults-a8d8f8e2.js → language-defaults-base-5817af52.js} +61 -162
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/sql-expr-defaults-746bbc5f.js +1285 -0
- package/dist/cjs/sql-expr-mode-a9f1b697.js +25135 -0
- package/dist/cjs/{tsMode-336306a9.js → tsMode-36398912.js} +5 -5
- package/dist/cjs/{typescript-b395242f.js → typescript-608a420b.js} +4 -4
- package/dist/components/arcade-defaults.js +8 -1557
- package/dist/components/arcade-mode.js +2 -2
- package/dist/components/arcade-results.js +6 -4
- package/dist/components/arcade-suggestions.js +7 -5
- package/dist/components/arcade-variables.js +8 -6
- package/dist/components/arcgis-arcade-editor.js +33 -32
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.d.ts +11 -0
- package/dist/components/arcgis-sql-expression-editor.js +120 -0
- package/dist/components/arcgis-sql-expression-fields.d.ts +11 -0
- package/dist/components/arcgis-sql-expression-fields.js +11 -0
- package/dist/components/chunk-6TARY3NN.js +1159 -0
- package/dist/components/code-editor.js +41 -7
- package/dist/components/fields.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +30 -22
- package/dist/components/language-api-panel.js +13 -40
- package/dist/components/language-defaults-base.js +1551 -0
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +131 -0
- package/dist/components/sql-expr-mode.js +25132 -0
- package/dist/components/sql-expression-fields.js +102 -0
- package/dist/components/useT9n.js +45 -8
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-59faaf33.js → app-globals-5e178541.js} +1 -1
- package/dist/esm/arcade-defaults-6dac6b30.js +111 -0
- package/dist/esm/{arcade-mode-5d46035e.js → arcade-mode-02336ce9.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +124 -1438
- package/dist/esm/arcgis-coding-components.js +5 -5
- package/dist/esm/arcgis-sql-expression-editor.entry.js +77 -0
- package/dist/esm/arcgis-sql-expression-fields.entry.js +76 -0
- package/dist/esm/{css-e257dc49.js → css-e79f1ed1.js} +1 -1
- package/dist/esm/{cssMode-c11f7f40.js → cssMode-cd007d02.js} +3 -3
- package/dist/esm/{html-a6c37a99.js → html-d079d00d.js} +3 -3
- package/dist/esm/{htmlMode-1270bc7d.js → htmlMode-ff14e035.js} +3 -3
- package/dist/esm/{index-a970952c.js → index-88fc341d.js} +9 -1
- package/dist/esm/index.js +4 -3
- package/dist/esm/{javascript-ee179624.js → javascript-69f7c282.js} +4 -4
- package/dist/esm/{jsonMode-07502ccb.js → jsonMode-18ddadde.js} +3 -3
- package/dist/esm/{arcade-defaults-9eb28407.js → language-defaults-base-6687d11a.js} +55 -158
- package/dist/esm/loader.js +5 -5
- package/dist/esm/sql-expr-defaults-2cdfe08a.js +1279 -0
- package/dist/esm/sql-expr-mode-f10e5a43.js +25132 -0
- package/dist/esm/{tsMode-96749a12.js → tsMode-c2e5d33a.js} +3 -3
- package/dist/esm/{typescript-a3cf9881.js → typescript-a0fbebf0.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +33 -8
- package/dist/types/components/arcade-results/arcade-results.d.ts +43 -1
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +22 -1
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +28 -1
- package/dist/types/components/code-editor/code-editor.d.ts +2 -1
- package/dist/types/components/language-api-panel/language-api-panel.d.ts +34 -8
- package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +24 -0
- package/dist/types/components/sql-expression-fields/sql-expression-fields.d.ts +32 -0
- package/dist/types/components.d.ts +85 -11
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/sql-expression-editor/sql-expression-editor.stories.d.ts +13 -0
- package/dist/types/dependencies.d.ts +6 -10
- package/dist/types/utils/language-defaults-base.d.ts +2 -9
- package/dist/types/utils/profile/predefined-profile.d.ts +3 -1
- package/dist/types/utils/sql-expr-monaco/DependentFiles/DateOnly.d.ts +41 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/SqlInterval.d.ts +16 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/SqlTimestampOffset.d.ts +26 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/TimeOnly.d.ts +37 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/UnknownTimeZone.d.ts +11 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/WhereGrammar.d.ts +122 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/sqlCompareUtils.d.ts +5 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/sqlDateParsingUtils.d.ts +18 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/sqlUtils.d.ts +6 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/standardizedFunctions.d.ts +156 -0
- package/dist/types/utils/sql-expr-monaco/DependentFiles/support.d.ts +150 -0
- package/dist/types/utils/sql-expr-monaco/PeggyGrammar/sql92grammar.d.ts +1397 -0
- package/dist/types/utils/sql-expr-monaco/libraries/date/properties/index.d.ts +59 -0
- package/dist/types/utils/sql-expr-monaco/libraries/numeric/properties/index.d.ts +295 -0
- package/dist/types/utils/sql-expr-monaco/libraries/string/properties/index.d.ts +135 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-completion.d.ts +5 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-contribution.d.ts +11 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-defaults.d.ts +22 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-language-features.d.ts +540 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-language-syntax.d.ts +8 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-mode.d.ts +10 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-validation-adapter.d.ts +3 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-validation-diagnostic-adapter.d.ts +41 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-validation-utils.d.ts +99 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-validation.d.ts +41 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-worker-manager.d.ts +15 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr.worker.d.ts +21 -0
- package/dist/types/utils/sql-expr-monaco/types.d.ts +91 -0
- package/dist/types/utils/sql-expr-profile/predefined-profile.d.ts +2 -0
- package/package.json +25 -20
- package/dist/arcgis-coding-components/p-81c37dab.entry.js +0 -6
- package/dist/components/chunk-IHYYRFLQ.js +0 -1363
- package/dist/types/components/arcade-editor/t9n-types.d.ts +0 -8
- package/dist/types/components/arcade-results/t9n-types.d.ts +0 -13
- package/dist/types/components/arcade-suggestions/t9n-types.d.ts +0 -6
- package/dist/types/components/arcade-variables/t9n-types.d.ts +0 -8
- package/dist/types/components/language-api-panel/t9n-types.d.ts +0 -8
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
current_date: {
|
|
3
|
+
description: string;
|
|
4
|
+
parameters: never[];
|
|
5
|
+
returnValue: string;
|
|
6
|
+
examples: {
|
|
7
|
+
description: string;
|
|
8
|
+
code: string;
|
|
9
|
+
}[];
|
|
10
|
+
snippet: string[];
|
|
11
|
+
name: string;
|
|
12
|
+
bundle: string;
|
|
13
|
+
};
|
|
14
|
+
current_time: {
|
|
15
|
+
description: string;
|
|
16
|
+
parameters: never[];
|
|
17
|
+
returnValue: string;
|
|
18
|
+
examples: {
|
|
19
|
+
description: string;
|
|
20
|
+
code: string;
|
|
21
|
+
}[];
|
|
22
|
+
snippet: string[];
|
|
23
|
+
name: string;
|
|
24
|
+
bundle: string;
|
|
25
|
+
};
|
|
26
|
+
current_timestamp: {
|
|
27
|
+
description: string;
|
|
28
|
+
parameters: never[];
|
|
29
|
+
returnValue: string;
|
|
30
|
+
examples: {
|
|
31
|
+
description: string;
|
|
32
|
+
code: string;
|
|
33
|
+
}[];
|
|
34
|
+
snippet: string[];
|
|
35
|
+
name: string;
|
|
36
|
+
bundle: string;
|
|
37
|
+
};
|
|
38
|
+
extract: {
|
|
39
|
+
description: string;
|
|
40
|
+
parameters: ({
|
|
41
|
+
name: string;
|
|
42
|
+
type: string[];
|
|
43
|
+
description: string;
|
|
44
|
+
} | {
|
|
45
|
+
name: string;
|
|
46
|
+
type: string;
|
|
47
|
+
description: string;
|
|
48
|
+
})[];
|
|
49
|
+
returnValue: string;
|
|
50
|
+
examples: {
|
|
51
|
+
description: string;
|
|
52
|
+
code: string;
|
|
53
|
+
}[];
|
|
54
|
+
snippet: string;
|
|
55
|
+
name: string;
|
|
56
|
+
bundle: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
abs: {
|
|
3
|
+
description: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}[];
|
|
9
|
+
returnValue: string;
|
|
10
|
+
examples: {
|
|
11
|
+
description: string;
|
|
12
|
+
code: string;
|
|
13
|
+
}[];
|
|
14
|
+
snippet: string;
|
|
15
|
+
name: string;
|
|
16
|
+
bundle: string;
|
|
17
|
+
};
|
|
18
|
+
acos: {
|
|
19
|
+
description: string;
|
|
20
|
+
parameters: {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
returnValue: string;
|
|
26
|
+
examples: {
|
|
27
|
+
description: string;
|
|
28
|
+
code: string;
|
|
29
|
+
}[];
|
|
30
|
+
snippet: string;
|
|
31
|
+
name: string;
|
|
32
|
+
bundle: string;
|
|
33
|
+
};
|
|
34
|
+
asin: {
|
|
35
|
+
description: string;
|
|
36
|
+
parameters: {
|
|
37
|
+
name: string;
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
}[];
|
|
41
|
+
returnValue: string;
|
|
42
|
+
examples: {
|
|
43
|
+
description: string;
|
|
44
|
+
code: string;
|
|
45
|
+
}[];
|
|
46
|
+
snippet: string;
|
|
47
|
+
name: string;
|
|
48
|
+
bundle: string;
|
|
49
|
+
};
|
|
50
|
+
atan: {
|
|
51
|
+
description: string;
|
|
52
|
+
parameters: {
|
|
53
|
+
name: string;
|
|
54
|
+
type: string;
|
|
55
|
+
description: string;
|
|
56
|
+
}[];
|
|
57
|
+
returnValue: string;
|
|
58
|
+
examples: {
|
|
59
|
+
description: string;
|
|
60
|
+
code: string;
|
|
61
|
+
}[];
|
|
62
|
+
snippet: string;
|
|
63
|
+
name: string;
|
|
64
|
+
bundle: string;
|
|
65
|
+
};
|
|
66
|
+
cast: {
|
|
67
|
+
description: string;
|
|
68
|
+
parameters: ({
|
|
69
|
+
name: string;
|
|
70
|
+
type: string;
|
|
71
|
+
description: string;
|
|
72
|
+
} | {
|
|
73
|
+
name: string;
|
|
74
|
+
type: string[];
|
|
75
|
+
description: string;
|
|
76
|
+
})[];
|
|
77
|
+
returnValue: string[];
|
|
78
|
+
examples: {
|
|
79
|
+
description: string;
|
|
80
|
+
code: string;
|
|
81
|
+
}[];
|
|
82
|
+
snippet: string;
|
|
83
|
+
name: string;
|
|
84
|
+
bundle: string;
|
|
85
|
+
};
|
|
86
|
+
ceiling: {
|
|
87
|
+
description: string;
|
|
88
|
+
parameters: {
|
|
89
|
+
name: string;
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
}[];
|
|
93
|
+
returnValue: string;
|
|
94
|
+
examples: {
|
|
95
|
+
description: string;
|
|
96
|
+
code: string;
|
|
97
|
+
}[];
|
|
98
|
+
snippet: string;
|
|
99
|
+
name: string;
|
|
100
|
+
bundle: string;
|
|
101
|
+
};
|
|
102
|
+
cos: {
|
|
103
|
+
description: string;
|
|
104
|
+
parameters: {
|
|
105
|
+
name: string;
|
|
106
|
+
type: string;
|
|
107
|
+
description: string;
|
|
108
|
+
}[];
|
|
109
|
+
returnValue: string;
|
|
110
|
+
examples: {
|
|
111
|
+
description: string;
|
|
112
|
+
code: string;
|
|
113
|
+
}[];
|
|
114
|
+
snippet: string;
|
|
115
|
+
name: string;
|
|
116
|
+
bundle: string;
|
|
117
|
+
};
|
|
118
|
+
floor: {
|
|
119
|
+
description: string;
|
|
120
|
+
parameters: {
|
|
121
|
+
name: string;
|
|
122
|
+
type: string;
|
|
123
|
+
description: string;
|
|
124
|
+
}[];
|
|
125
|
+
returnValue: string;
|
|
126
|
+
examples: {
|
|
127
|
+
description: string;
|
|
128
|
+
code: string;
|
|
129
|
+
}[];
|
|
130
|
+
snippet: string;
|
|
131
|
+
name: string;
|
|
132
|
+
bundle: string;
|
|
133
|
+
};
|
|
134
|
+
log: {
|
|
135
|
+
description: string;
|
|
136
|
+
parameters: {
|
|
137
|
+
name: string;
|
|
138
|
+
type: string;
|
|
139
|
+
description: string;
|
|
140
|
+
}[];
|
|
141
|
+
returnValue: string;
|
|
142
|
+
examples: {
|
|
143
|
+
description: string;
|
|
144
|
+
code: string;
|
|
145
|
+
}[];
|
|
146
|
+
snippet: string;
|
|
147
|
+
name: string;
|
|
148
|
+
bundle: string;
|
|
149
|
+
};
|
|
150
|
+
log10: {
|
|
151
|
+
description: string;
|
|
152
|
+
parameters: {
|
|
153
|
+
name: string;
|
|
154
|
+
type: string;
|
|
155
|
+
description: string;
|
|
156
|
+
}[];
|
|
157
|
+
returnValue: string;
|
|
158
|
+
examples: {
|
|
159
|
+
description: string;
|
|
160
|
+
code: string;
|
|
161
|
+
}[];
|
|
162
|
+
snippet: string;
|
|
163
|
+
name: string;
|
|
164
|
+
bundle: string;
|
|
165
|
+
};
|
|
166
|
+
mod: {
|
|
167
|
+
description: string;
|
|
168
|
+
parameters: {
|
|
169
|
+
name: string;
|
|
170
|
+
type: string;
|
|
171
|
+
description: string;
|
|
172
|
+
}[];
|
|
173
|
+
returnValue: string;
|
|
174
|
+
examples: {
|
|
175
|
+
description: string;
|
|
176
|
+
code: string;
|
|
177
|
+
}[];
|
|
178
|
+
snippet: string;
|
|
179
|
+
name: string;
|
|
180
|
+
bundle: string;
|
|
181
|
+
};
|
|
182
|
+
nullif: {
|
|
183
|
+
description: string;
|
|
184
|
+
parameters: {
|
|
185
|
+
name: string;
|
|
186
|
+
type: string[];
|
|
187
|
+
description: string;
|
|
188
|
+
}[];
|
|
189
|
+
returnValue: string[];
|
|
190
|
+
examples: {
|
|
191
|
+
description: string;
|
|
192
|
+
code: string;
|
|
193
|
+
}[];
|
|
194
|
+
snippet: string;
|
|
195
|
+
name: string;
|
|
196
|
+
bundle: string;
|
|
197
|
+
};
|
|
198
|
+
power: {
|
|
199
|
+
description: string;
|
|
200
|
+
parameters: {
|
|
201
|
+
name: string;
|
|
202
|
+
type: string;
|
|
203
|
+
description: string;
|
|
204
|
+
}[];
|
|
205
|
+
returnValue: string;
|
|
206
|
+
examples: {
|
|
207
|
+
description: string;
|
|
208
|
+
code: string;
|
|
209
|
+
}[];
|
|
210
|
+
snippet: string;
|
|
211
|
+
name: string;
|
|
212
|
+
bundle: string;
|
|
213
|
+
};
|
|
214
|
+
round: {
|
|
215
|
+
description: string;
|
|
216
|
+
parameters: {
|
|
217
|
+
name: string;
|
|
218
|
+
type: string;
|
|
219
|
+
description: string;
|
|
220
|
+
}[];
|
|
221
|
+
returnValue: string;
|
|
222
|
+
examples: {
|
|
223
|
+
description: string;
|
|
224
|
+
code: string;
|
|
225
|
+
}[];
|
|
226
|
+
snippet: string;
|
|
227
|
+
name: string;
|
|
228
|
+
bundle: string;
|
|
229
|
+
};
|
|
230
|
+
sign: {
|
|
231
|
+
description: string;
|
|
232
|
+
parameters: {
|
|
233
|
+
name: string;
|
|
234
|
+
type: string;
|
|
235
|
+
description: string;
|
|
236
|
+
}[];
|
|
237
|
+
returnValue: string;
|
|
238
|
+
examples: {
|
|
239
|
+
description: string;
|
|
240
|
+
code: string;
|
|
241
|
+
}[];
|
|
242
|
+
snippet: string;
|
|
243
|
+
name: string;
|
|
244
|
+
bundle: string;
|
|
245
|
+
};
|
|
246
|
+
sin: {
|
|
247
|
+
description: string;
|
|
248
|
+
parameters: {
|
|
249
|
+
name: string;
|
|
250
|
+
type: string;
|
|
251
|
+
description: string;
|
|
252
|
+
}[];
|
|
253
|
+
returnValue: string;
|
|
254
|
+
examples: {
|
|
255
|
+
description: string;
|
|
256
|
+
code: string;
|
|
257
|
+
}[];
|
|
258
|
+
snippet: string;
|
|
259
|
+
name: string;
|
|
260
|
+
bundle: string;
|
|
261
|
+
};
|
|
262
|
+
tan: {
|
|
263
|
+
description: string;
|
|
264
|
+
parameters: {
|
|
265
|
+
name: string;
|
|
266
|
+
type: string;
|
|
267
|
+
description: string;
|
|
268
|
+
}[];
|
|
269
|
+
returnValue: string;
|
|
270
|
+
examples: {
|
|
271
|
+
description: string;
|
|
272
|
+
code: string;
|
|
273
|
+
}[];
|
|
274
|
+
snippet: string;
|
|
275
|
+
name: string;
|
|
276
|
+
bundle: string;
|
|
277
|
+
};
|
|
278
|
+
truncate: {
|
|
279
|
+
description: string;
|
|
280
|
+
parameters: {
|
|
281
|
+
name: string;
|
|
282
|
+
type: string;
|
|
283
|
+
description: string;
|
|
284
|
+
}[];
|
|
285
|
+
returnValue: string;
|
|
286
|
+
examples: {
|
|
287
|
+
description: string;
|
|
288
|
+
code: string;
|
|
289
|
+
}[];
|
|
290
|
+
snippet: string;
|
|
291
|
+
name: string;
|
|
292
|
+
bundle: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
export default _default;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
char_length: {
|
|
3
|
+
description: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}[];
|
|
9
|
+
returnValue: string;
|
|
10
|
+
examples: {
|
|
11
|
+
description: string;
|
|
12
|
+
code: string;
|
|
13
|
+
}[];
|
|
14
|
+
snippet: string;
|
|
15
|
+
name: string;
|
|
16
|
+
bundle: string;
|
|
17
|
+
};
|
|
18
|
+
coalesce: {
|
|
19
|
+
description: string;
|
|
20
|
+
parameters: {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string[];
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
returnValue: string[];
|
|
26
|
+
examples: {
|
|
27
|
+
description: string;
|
|
28
|
+
code: string;
|
|
29
|
+
}[];
|
|
30
|
+
snippet: string;
|
|
31
|
+
name: string;
|
|
32
|
+
bundle: string;
|
|
33
|
+
};
|
|
34
|
+
concat: {
|
|
35
|
+
description: string;
|
|
36
|
+
parameters: {
|
|
37
|
+
name: string;
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
}[];
|
|
41
|
+
returnValue: string;
|
|
42
|
+
examples: {
|
|
43
|
+
description: string;
|
|
44
|
+
code: string;
|
|
45
|
+
}[];
|
|
46
|
+
snippet: string;
|
|
47
|
+
name: string;
|
|
48
|
+
bundle: string;
|
|
49
|
+
};
|
|
50
|
+
lower: {
|
|
51
|
+
description: string;
|
|
52
|
+
parameters: {
|
|
53
|
+
name: string;
|
|
54
|
+
type: string;
|
|
55
|
+
description: string;
|
|
56
|
+
}[];
|
|
57
|
+
returnValue: string;
|
|
58
|
+
examples: {
|
|
59
|
+
description: string;
|
|
60
|
+
code: string;
|
|
61
|
+
}[];
|
|
62
|
+
snippet: string;
|
|
63
|
+
name: string;
|
|
64
|
+
bundle: string;
|
|
65
|
+
};
|
|
66
|
+
position: {
|
|
67
|
+
description: string;
|
|
68
|
+
parameters: {
|
|
69
|
+
name: string;
|
|
70
|
+
type: string;
|
|
71
|
+
description: string;
|
|
72
|
+
}[];
|
|
73
|
+
returnValue: string;
|
|
74
|
+
examples: {
|
|
75
|
+
description: string;
|
|
76
|
+
code: string;
|
|
77
|
+
}[];
|
|
78
|
+
snippet: string;
|
|
79
|
+
name: string;
|
|
80
|
+
bundle: string;
|
|
81
|
+
};
|
|
82
|
+
substring: {
|
|
83
|
+
description: string;
|
|
84
|
+
parameters: {
|
|
85
|
+
name: string;
|
|
86
|
+
type: string;
|
|
87
|
+
description: string;
|
|
88
|
+
}[];
|
|
89
|
+
returnValue: string;
|
|
90
|
+
examples: {
|
|
91
|
+
description: string;
|
|
92
|
+
code: string;
|
|
93
|
+
}[];
|
|
94
|
+
snippet: string;
|
|
95
|
+
name: string;
|
|
96
|
+
bundle: string;
|
|
97
|
+
}[];
|
|
98
|
+
trim: {
|
|
99
|
+
description: string;
|
|
100
|
+
parameters: ({
|
|
101
|
+
name: string;
|
|
102
|
+
type: string[];
|
|
103
|
+
description: string;
|
|
104
|
+
} | {
|
|
105
|
+
name: string;
|
|
106
|
+
type: string;
|
|
107
|
+
description: string;
|
|
108
|
+
})[];
|
|
109
|
+
returnValue: string;
|
|
110
|
+
examples: {
|
|
111
|
+
description: string;
|
|
112
|
+
code: string;
|
|
113
|
+
}[];
|
|
114
|
+
snippet: string;
|
|
115
|
+
name: string;
|
|
116
|
+
bundle: string;
|
|
117
|
+
};
|
|
118
|
+
upper: {
|
|
119
|
+
description: string;
|
|
120
|
+
parameters: {
|
|
121
|
+
name: string;
|
|
122
|
+
type: string;
|
|
123
|
+
description: string;
|
|
124
|
+
}[];
|
|
125
|
+
returnValue: string;
|
|
126
|
+
examples: {
|
|
127
|
+
description: string;
|
|
128
|
+
code: string;
|
|
129
|
+
}[];
|
|
130
|
+
snippet: string;
|
|
131
|
+
name: string;
|
|
132
|
+
bundle: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as monaco from "monaco-editor";
|
|
2
|
+
export declare function sqlExpressionCompletion(range: monaco.IRange, model: monaco.editor.ITextModel, position: monaco.Position): monaco.languages.CompletionItem[];
|
|
3
|
+
/** source */
|
|
4
|
+
export declare const sqlBinOps: string[];
|
|
5
|
+
export declare function generateCompletionItems(layer: __esri.FeatureLayer, range: monaco.IRange): Record<"fieldsCompletion" | "sqlBinOpsCompletion" | "sqlDataTypeCompletion" | "sqlFunctionCompletion" | "sqlKeywordsCompletion", monaco.languages.CompletionItem[]>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Uri } from "monaco-editor";
|
|
2
|
+
import type { ISqlExprWorker } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Returns the sql-expression worker for the model.
|
|
5
|
+
* Example:
|
|
6
|
+
* ```ts
|
|
7
|
+
* const sqlExpressionWorker = await getSqlExpressionWorker(model.uri);
|
|
8
|
+
* ```
|
|
9
|
+
* @returns sql-expression worker
|
|
10
|
+
*/
|
|
11
|
+
export declare function getSqlExprWorker(uri: Uri): Promise<ISqlExprWorker>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
2
|
+
import type { IEditorProfileDefinition, IPredefinedProfile } from "../profile/types";
|
|
3
|
+
import { Uri } from "monaco-editor";
|
|
4
|
+
import { LanguageDefaultsBase } from "../language-defaults-base";
|
|
5
|
+
import type { ApiCategory } from "@arcgis/languages-api-utils";
|
|
6
|
+
declare class SqlExprDefaults extends LanguageDefaultsBase {
|
|
7
|
+
protected _languageId: string;
|
|
8
|
+
protected _languageOptions: {};
|
|
9
|
+
private _layerMap;
|
|
10
|
+
private _apiService;
|
|
11
|
+
updateFeatureLayerForModel(modelId: Uri | string, layer: FeatureLayer): void;
|
|
12
|
+
setLanguageOptions(languageOptions: {
|
|
13
|
+
assetsPath?: string | undefined;
|
|
14
|
+
}): void;
|
|
15
|
+
getFeatureLayerForModel(modelId: Uri | string): FeatureLayer | undefined;
|
|
16
|
+
setProfileForModel(modelId: Uri | string, definition: IEditorProfileDefinition | IPredefinedProfile | undefined, apiContext?: {
|
|
17
|
+
locale: string;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
getApiLibrary(modelId: string): Promise<ApiCategory[]>;
|
|
20
|
+
}
|
|
21
|
+
export type { SqlExprDefaults };
|
|
22
|
+
export declare const sqlExprDefaults: SqlExprDefaults;
|