@oneflowui/ui 0.4.1 → 0.4.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.
Files changed (233) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  3. package/dist/components/ContextMenu/index.vue.js +7 -0
  4. package/dist/components/ContextMenu/index.vue2.js +91 -0
  5. package/dist/components/Dashboard/charts/BarChart.vue.js +7 -0
  6. package/dist/components/Dashboard/charts/BarChart.vue2.js +43 -0
  7. package/dist/components/Dashboard/charts/DoughnutChart.vue.js +23 -0
  8. package/dist/components/Dashboard/charts/DoughnutChart.vue2.js +4 -0
  9. package/dist/components/Dashboard/charts/NumberCard.vue.js +7 -0
  10. package/dist/components/Dashboard/charts/NumberCard.vue2.js +41 -0
  11. package/dist/components/Dashboard/charts/PieChart.vue.js +7 -0
  12. package/dist/components/Dashboard/charts/PieChart.vue2.js +53 -0
  13. package/dist/components/Dashboard/charts/TableChart.vue.js +7 -0
  14. package/dist/components/Dashboard/charts/TableChart.vue2.js +50 -0
  15. package/dist/components/Dashboard/index.vue.js +7 -0
  16. package/dist/components/Dashboard/index.vue2.js +104 -0
  17. package/dist/components/ai/AiMessageBubble.vue.js +7 -0
  18. package/dist/components/ai/AiMessageBubble.vue2.js +47 -0
  19. package/dist/components/ai/AiMessageList.vue.js +7 -0
  20. package/dist/components/ai/AiMessageList.vue2.js +78 -0
  21. package/dist/components/ai/AiSender.vue.js +7 -0
  22. package/dist/components/ai/AiSender.vue2.js +86 -0
  23. package/dist/components/ai/AiStreamingCursor.vue.js +7 -0
  24. package/dist/components/ai/AiStreamingCursor.vue2.js +16 -0
  25. package/dist/components/ai/AiThinking.vue.js +7 -0
  26. package/dist/components/ai/AiThinking.vue2.js +19 -0
  27. package/dist/components/ai/UserMessageBubble.vue.js +7 -0
  28. package/dist/components/ai/UserMessageBubble.vue2.js +34 -0
  29. package/dist/components/auxiliary/ColorPanel.vue.js +7 -0
  30. package/dist/components/auxiliary/ColorPanel.vue2.js +65 -0
  31. package/dist/components/auxiliary/FileUpload.vue.js +7 -0
  32. package/dist/components/auxiliary/FileUpload.vue2.js +90 -0
  33. package/dist/components/auxiliary/PersonPanel.vue.js +7 -0
  34. package/dist/components/auxiliary/PersonPanel.vue2.js +66 -0
  35. package/dist/components/base/Accordion.vue.js +7 -0
  36. package/dist/components/base/Accordion.vue2.js +78 -0
  37. package/dist/components/base/AddViewBtn.vue.js +7 -0
  38. package/dist/components/base/AddViewBtn.vue2.js +25 -0
  39. package/dist/components/base/Avatar.vue.js +7 -0
  40. package/dist/components/base/Avatar.vue2.js +72 -0
  41. package/dist/components/base/Badge.vue.js +7 -0
  42. package/dist/components/base/Badge.vue2.js +70 -0
  43. package/dist/components/base/ButtonGroup.vue.js +7 -0
  44. package/dist/components/base/ButtonGroup.vue2.js +40 -0
  45. package/dist/components/base/ChainItem.vue.js +7 -0
  46. package/dist/components/base/ChainItem.vue2.js +68 -0
  47. package/dist/components/base/DescBlock.vue.js +7 -0
  48. package/dist/components/base/DescBlock.vue2.js +13 -0
  49. package/dist/components/base/DropdownMenu.vue.js +7 -0
  50. package/dist/components/base/DropdownMenu.vue2.js +92 -0
  51. package/dist/components/base/EmptyState.vue.js +7 -0
  52. package/dist/components/base/EmptyState.vue2.js +38 -0
  53. package/dist/components/base/InfoCard.vue.js +7 -0
  54. package/dist/components/base/InfoCard.vue2.js +167 -0
  55. package/dist/components/base/MonitorItem.vue.js +7 -0
  56. package/dist/components/base/MonitorItem.vue2.js +56 -0
  57. package/dist/components/base/PersonaCard.vue.js +7 -0
  58. package/dist/components/base/PersonaCard.vue2.js +173 -0
  59. package/dist/components/base/ProgressBar.vue.js +7 -0
  60. package/dist/components/base/ProgressBar.vue2.js +49 -0
  61. package/dist/components/base/RangeSlider.vue.js +7 -0
  62. package/dist/components/base/RangeSlider.vue2.js +35 -0
  63. package/dist/components/base/RefTag.vue.js +7 -0
  64. package/dist/components/base/RefTag.vue2.js +52 -0
  65. package/dist/components/base/SectionBlock.vue.js +7 -0
  66. package/dist/components/base/SectionBlock.vue2.js +115 -0
  67. package/dist/components/base/SelectBadge.vue.js +7 -0
  68. package/dist/components/base/SelectBadge.vue2.js +81 -0
  69. package/dist/components/base/StatisticCard.vue.js +7 -0
  70. package/dist/components/base/StatisticCard.vue2.js +57 -0
  71. package/dist/components/base/StatusIndicator.vue.js +7 -0
  72. package/dist/components/base/StatusIndicator.vue2.js +54 -0
  73. package/dist/components/base/StatusSummary.vue.js +7 -0
  74. package/dist/components/base/StatusSummary.vue2.js +64 -0
  75. package/dist/components/base/Stepper.vue.js +7 -0
  76. package/dist/components/base/Stepper.vue2.js +70 -0
  77. package/dist/components/base/Switch.vue.js +7 -0
  78. package/dist/components/base/Switch.vue2.js +43 -0
  79. package/dist/components/base/ToolbarBtn.vue.js +7 -0
  80. package/dist/components/base/ToolbarBtn.vue2.js +30 -0
  81. package/dist/components/base/ViewModeGroup.vue.js +7 -0
  82. package/dist/components/base/ViewModeGroup.vue2.js +32 -0
  83. package/dist/components/base/ViewSwitcher.vue.js +7 -0
  84. package/dist/components/base/ViewSwitcher.vue2.js +73 -0
  85. package/dist/components/base/ViewTab.vue.js +7 -0
  86. package/dist/components/base/ViewTab.vue2.js +42 -0
  87. package/dist/components/breadcrumb/Breadcrumb.vue.js +7 -0
  88. package/dist/components/breadcrumb/Breadcrumb.vue2.js +52 -0
  89. package/dist/components/breadcrumb/BreadcrumbItem.vue.js +7 -0
  90. package/dist/components/breadcrumb/BreadcrumbItem.vue2.js +35 -0
  91. package/dist/components/detail/CommentItem.vue.js +7 -0
  92. package/dist/components/detail/CommentItem.vue2.js +29 -0
  93. package/dist/components/detail/DetailLayout.vue.js +7 -0
  94. package/dist/components/detail/DetailLayout.vue2.js +118 -0
  95. package/dist/components/detail/PropPanel.vue.js +7 -0
  96. package/dist/components/detail/PropPanel.vue2.js +51 -0
  97. package/dist/components/detail/PropRow.vue.js +7 -0
  98. package/dist/components/detail/PropRow.vue2.js +51 -0
  99. package/dist/components/editor/BlockQuote.vue.js +7 -0
  100. package/dist/components/editor/BlockQuote.vue2.js +45 -0
  101. package/dist/components/editor/CodeBlock.vue.js +7 -0
  102. package/dist/components/editor/CodeBlock.vue2.js +48 -0
  103. package/dist/components/editor/ContentBlock.vue.js +7 -0
  104. package/dist/components/editor/ContentBlock.vue2.js +49 -0
  105. package/dist/components/editor/RefLink.vue.js +7 -0
  106. package/dist/components/editor/RefLink.vue2.js +37 -0
  107. package/dist/components/editor/RichTextEditor.vue.js +7 -0
  108. package/dist/components/editor/RichTextEditor.vue2.js +132 -0
  109. package/dist/components/field/FieldCheckbox.vue.js +7 -0
  110. package/dist/{FieldCheckbox-CV3QtQ4Y.js → components/field/FieldCheckbox.vue2.js} +8 -9
  111. package/dist/components/field/FieldDate.vue.js +7 -0
  112. package/dist/{FieldDate-Bljx4jb7.js → components/field/FieldDate.vue2.js} +9 -10
  113. package/dist/components/field/FieldDatetime.vue.js +7 -0
  114. package/dist/{FieldDatetime-B52GfWrK.js → components/field/FieldDatetime.vue2.js} +11 -12
  115. package/dist/components/field/FieldEmail.vue.js +7 -0
  116. package/dist/{FieldEmail-UREMoue-.js → components/field/FieldEmail.vue2.js} +12 -13
  117. package/dist/components/field/FieldMultiSelect.vue.js +7 -0
  118. package/dist/{FieldMultiSelect-Dlay1Fop.js → components/field/FieldMultiSelect.vue2.js} +32 -33
  119. package/dist/components/field/FieldNumber.vue.js +7 -0
  120. package/dist/{FieldNumber-BjhfFhs6.js → components/field/FieldNumber.vue2.js} +8 -9
  121. package/dist/components/field/FieldRating.vue.js +7 -0
  122. package/dist/components/field/FieldRating.vue2.js +31 -0
  123. package/dist/components/field/FieldSelect.vue.js +7 -0
  124. package/dist/{FieldSelect-B39Ad8VH.js → components/field/FieldSelect.vue2.js} +34 -35
  125. package/dist/components/field/FieldText.vue.js +7 -0
  126. package/dist/{FieldText-Ry7f72Ug.js → components/field/FieldText.vue2.js} +13 -14
  127. package/dist/components/field/FieldUrl.vue.js +7 -0
  128. package/dist/components/field/FieldUrl.vue2.js +33 -0
  129. package/dist/components/form/FormDesigner.vue.js +7 -0
  130. package/dist/components/form/FormDesigner.vue2.js +245 -0
  131. package/dist/components/gallery/GalleryCard.vue.js +7 -0
  132. package/dist/components/gallery/GalleryCard.vue2.js +87 -0
  133. package/dist/components/gallery/GalleryView.vue.js +7 -0
  134. package/dist/components/gallery/GalleryView.vue2.js +48 -0
  135. package/dist/components/kanban/KanbanBoard.vue.js +7 -0
  136. package/dist/components/kanban/KanbanBoard.vue2.js +86 -0
  137. package/dist/components/kanban/KanbanCard.vue.js +7 -0
  138. package/dist/components/kanban/KanbanCard.vue2.js +56 -0
  139. package/dist/components/kanban/KanbanColumn.vue.js +7 -0
  140. package/dist/components/kanban/KanbanColumn.vue2.js +103 -0
  141. package/dist/components/kanban/QuickAddRow.vue.js +7 -0
  142. package/dist/components/kanban/QuickAddRow.vue2.js +58 -0
  143. package/dist/components/layout/AppLayout.vue.js +7 -0
  144. package/dist/components/layout/AppLayout.vue2.js +98 -0
  145. package/dist/components/layout/Navbar.vue.js +7 -0
  146. package/dist/components/layout/Navbar.vue2.js +70 -0
  147. package/dist/components/layout/Sidebar.vue.js +7 -0
  148. package/dist/components/layout/Sidebar.vue2.js +88 -0
  149. package/dist/components/layout/StatusBar.vue.js +7 -0
  150. package/dist/components/layout/StatusBar.vue2.js +37 -0
  151. package/dist/components/mermaid/MermaidChart.vue.js +7 -0
  152. package/dist/components/mermaid/MermaidChart.vue2.js +75 -0
  153. package/dist/components/overlay/Dialog.vue.js +7 -0
  154. package/dist/components/overlay/Dialog.vue2.js +89 -0
  155. package/dist/components/overlay/Drawer.vue.js +7 -0
  156. package/dist/components/overlay/Drawer.vue2.js +112 -0
  157. package/dist/components/overlay/Modal.vue.js +7 -0
  158. package/dist/components/overlay/Modal.vue2.js +115 -0
  159. package/dist/components/overlay/SidePanel.vue.js +7 -0
  160. package/dist/components/overlay/SidePanel.vue2.js +137 -0
  161. package/dist/components/split/SplitPane.vue.js +8 -0
  162. package/dist/components/split/SplitPane.vue2.js +68 -0
  163. package/dist/components/table/DataTable.vue.js +7 -0
  164. package/dist/components/table/DataTable.vue2.js +234 -0
  165. package/dist/components/table/FieldCell.vue.js +7 -0
  166. package/dist/components/table/FieldCell.vue2.js +71 -0
  167. package/dist/components/table/NewRowBtn.vue.js +7 -0
  168. package/dist/components/table/NewRowBtn.vue2.js +22 -0
  169. package/dist/components/table/TableColumnManager.vue.js +7 -0
  170. package/dist/components/table/TableColumnManager.vue2.js +100 -0
  171. package/dist/components/table/TableDataRow.vue.js +7 -0
  172. package/dist/components/table/TableDataRow.vue2.js +115 -0
  173. package/dist/components/table/TableFilterPanel.vue.js +7 -0
  174. package/dist/components/table/TableFilterPanel.vue2.js +142 -0
  175. package/dist/components/table/TableGroupRow.vue.js +7 -0
  176. package/dist/components/table/TableGroupRow.vue2.js +48 -0
  177. package/dist/components/table/TableHeaderRow.vue.js +7 -0
  178. package/dist/components/table/TableHeaderRow.vue2.js +69 -0
  179. package/dist/components/tabs/TabPanel.vue.js +7 -0
  180. package/dist/components/tabs/TabPanel.vue2.js +26 -0
  181. package/dist/components/tabs/Tabs.vue.js +7 -0
  182. package/dist/components/tabs/Tabs.vue2.js +87 -0
  183. package/dist/components/timeline/ActivityTimeline.vue.js +7 -0
  184. package/dist/components/timeline/ActivityTimeline.vue2.js +104 -0
  185. package/dist/components/timeline/GanttRow.vue.js +7 -0
  186. package/dist/components/timeline/GanttRow.vue2.js +110 -0
  187. package/dist/components/timeline/GanttTimeline.vue.js +7 -0
  188. package/dist/components/timeline/GanttTimeline.vue2.js +185 -0
  189. package/dist/components/toast/ToastContainer.vue.js +34 -0
  190. package/dist/components/toast/ToastContainer.vue3.js +5 -0
  191. package/dist/components/toast/ToastItem.vue.js +7 -0
  192. package/dist/components/toast/ToastItem.vue2.js +78 -0
  193. package/dist/composables/useAiChat.js +103 -0
  194. package/dist/composables/useBadge.js +76 -0
  195. package/dist/composables/useBreakpoint.js +16 -0
  196. package/dist/composables/useInlineEdit.js +28 -0
  197. package/dist/composables/useMarkdown.js +69 -0
  198. package/dist/composables/useStream.js +80 -0
  199. package/dist/composables/useTable.js +115 -0
  200. package/dist/composables/useTableColumns.js +24 -0
  201. package/dist/composables/useTableData.js +16 -0
  202. package/dist/composables/useTableFilter.js +97 -0
  203. package/dist/composables/useTableGroup.js +46 -0
  204. package/dist/composables/useToast.js +38 -0
  205. package/dist/composables/useTypewriter.js +56 -0
  206. package/dist/composables/useVirtualList.js +117 -0
  207. package/dist/constants/table.js +11 -0
  208. package/dist/index.js +301 -0
  209. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.js +5 -0
  210. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/bash.js +377 -0
  211. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/css.js +923 -0
  212. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/go.js +151 -0
  213. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/java.js +240 -0
  214. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/javascript.js +658 -0
  215. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/json.js +38 -0
  216. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/markdown.js +216 -0
  217. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/plaintext.js +13 -0
  218. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/python.js +399 -0
  219. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/rust.js +305 -0
  220. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/sql.js +615 -0
  221. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/typescript.js +753 -0
  222. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/xml.js +219 -0
  223. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/yaml.js +183 -0
  224. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1063 -0
  225. package/dist/style.css +1 -1
  226. package/dist/types/index.js +77 -0
  227. package/dist/utils/icon.js +15 -0
  228. package/package.json +13 -6
  229. package/dist/FieldRating-BKHUu-A1.js +0 -32
  230. package/dist/FieldUrl-bv0EB9sh.js +0 -34
  231. package/dist/index-DQph5iTq.js +0 -12936
  232. package/dist/oneflow-ui.js +0 -111
  233. package/dist/oneflow-ui.umd.cjs +0 -13
@@ -0,0 +1,615 @@
1
+ function j(n) {
2
+ const a = n.regex, c = n.COMMENT("--", "$"), l = {
3
+ scope: "string",
4
+ variants: [
5
+ {
6
+ begin: /'/,
7
+ end: /'/,
8
+ contains: [{ match: /''/ }]
9
+ }
10
+ ]
11
+ }, _ = {
12
+ begin: /"/,
13
+ end: /"/,
14
+ contains: [{ match: /""/ }]
15
+ }, u = [
16
+ "true",
17
+ "false",
18
+ // Not sure it's correct to call NULL literal, and clauses like IS [NOT] NULL look strange that way.
19
+ // "null",
20
+ "unknown"
21
+ ], g = [
22
+ "double precision",
23
+ "large object",
24
+ "with timezone",
25
+ "without timezone"
26
+ ], m = [
27
+ "bigint",
28
+ "binary",
29
+ "blob",
30
+ "boolean",
31
+ "char",
32
+ "character",
33
+ "clob",
34
+ "date",
35
+ "dec",
36
+ "decfloat",
37
+ "decimal",
38
+ "float",
39
+ "int",
40
+ "integer",
41
+ "interval",
42
+ "nchar",
43
+ "nclob",
44
+ "national",
45
+ "numeric",
46
+ "real",
47
+ "row",
48
+ "smallint",
49
+ "time",
50
+ "timestamp",
51
+ "varchar",
52
+ "varying",
53
+ // modifier (character varying)
54
+ "varbinary"
55
+ ], p = [
56
+ "add",
57
+ "asc",
58
+ "collation",
59
+ "desc",
60
+ "final",
61
+ "first",
62
+ "last",
63
+ "view"
64
+ ], d = [
65
+ "abs",
66
+ "acos",
67
+ "all",
68
+ "allocate",
69
+ "alter",
70
+ "and",
71
+ "any",
72
+ "are",
73
+ "array",
74
+ "array_agg",
75
+ "array_max_cardinality",
76
+ "as",
77
+ "asensitive",
78
+ "asin",
79
+ "asymmetric",
80
+ "at",
81
+ "atan",
82
+ "atomic",
83
+ "authorization",
84
+ "avg",
85
+ "begin",
86
+ "begin_frame",
87
+ "begin_partition",
88
+ "between",
89
+ "bigint",
90
+ "binary",
91
+ "blob",
92
+ "boolean",
93
+ "both",
94
+ "by",
95
+ "call",
96
+ "called",
97
+ "cardinality",
98
+ "cascaded",
99
+ "case",
100
+ "cast",
101
+ "ceil",
102
+ "ceiling",
103
+ "char",
104
+ "char_length",
105
+ "character",
106
+ "character_length",
107
+ "check",
108
+ "classifier",
109
+ "clob",
110
+ "close",
111
+ "coalesce",
112
+ "collate",
113
+ "collect",
114
+ "column",
115
+ "commit",
116
+ "condition",
117
+ "connect",
118
+ "constraint",
119
+ "contains",
120
+ "convert",
121
+ "copy",
122
+ "corr",
123
+ "corresponding",
124
+ "cos",
125
+ "cosh",
126
+ "count",
127
+ "covar_pop",
128
+ "covar_samp",
129
+ "create",
130
+ "cross",
131
+ "cube",
132
+ "cume_dist",
133
+ "current",
134
+ "current_catalog",
135
+ "current_date",
136
+ "current_default_transform_group",
137
+ "current_path",
138
+ "current_role",
139
+ "current_row",
140
+ "current_schema",
141
+ "current_time",
142
+ "current_timestamp",
143
+ "current_path",
144
+ "current_role",
145
+ "current_transform_group_for_type",
146
+ "current_user",
147
+ "cursor",
148
+ "cycle",
149
+ "date",
150
+ "day",
151
+ "deallocate",
152
+ "dec",
153
+ "decimal",
154
+ "decfloat",
155
+ "declare",
156
+ "default",
157
+ "define",
158
+ "delete",
159
+ "dense_rank",
160
+ "deref",
161
+ "describe",
162
+ "deterministic",
163
+ "disconnect",
164
+ "distinct",
165
+ "double",
166
+ "drop",
167
+ "dynamic",
168
+ "each",
169
+ "element",
170
+ "else",
171
+ "empty",
172
+ "end",
173
+ "end_frame",
174
+ "end_partition",
175
+ "end-exec",
176
+ "equals",
177
+ "escape",
178
+ "every",
179
+ "except",
180
+ "exec",
181
+ "execute",
182
+ "exists",
183
+ "exp",
184
+ "external",
185
+ "extract",
186
+ "false",
187
+ "fetch",
188
+ "filter",
189
+ "first_value",
190
+ "float",
191
+ "floor",
192
+ "for",
193
+ "foreign",
194
+ "frame_row",
195
+ "free",
196
+ "from",
197
+ "full",
198
+ "function",
199
+ "fusion",
200
+ "get",
201
+ "global",
202
+ "grant",
203
+ "group",
204
+ "grouping",
205
+ "groups",
206
+ "having",
207
+ "hold",
208
+ "hour",
209
+ "identity",
210
+ "in",
211
+ "indicator",
212
+ "initial",
213
+ "inner",
214
+ "inout",
215
+ "insensitive",
216
+ "insert",
217
+ "int",
218
+ "integer",
219
+ "intersect",
220
+ "intersection",
221
+ "interval",
222
+ "into",
223
+ "is",
224
+ "join",
225
+ "json_array",
226
+ "json_arrayagg",
227
+ "json_exists",
228
+ "json_object",
229
+ "json_objectagg",
230
+ "json_query",
231
+ "json_table",
232
+ "json_table_primitive",
233
+ "json_value",
234
+ "lag",
235
+ "language",
236
+ "large",
237
+ "last_value",
238
+ "lateral",
239
+ "lead",
240
+ "leading",
241
+ "left",
242
+ "like",
243
+ "like_regex",
244
+ "listagg",
245
+ "ln",
246
+ "local",
247
+ "localtime",
248
+ "localtimestamp",
249
+ "log",
250
+ "log10",
251
+ "lower",
252
+ "match",
253
+ "match_number",
254
+ "match_recognize",
255
+ "matches",
256
+ "max",
257
+ "member",
258
+ "merge",
259
+ "method",
260
+ "min",
261
+ "minute",
262
+ "mod",
263
+ "modifies",
264
+ "module",
265
+ "month",
266
+ "multiset",
267
+ "national",
268
+ "natural",
269
+ "nchar",
270
+ "nclob",
271
+ "new",
272
+ "no",
273
+ "none",
274
+ "normalize",
275
+ "not",
276
+ "nth_value",
277
+ "ntile",
278
+ "null",
279
+ "nullif",
280
+ "numeric",
281
+ "octet_length",
282
+ "occurrences_regex",
283
+ "of",
284
+ "offset",
285
+ "old",
286
+ "omit",
287
+ "on",
288
+ "one",
289
+ "only",
290
+ "open",
291
+ "or",
292
+ "order",
293
+ "out",
294
+ "outer",
295
+ "over",
296
+ "overlaps",
297
+ "overlay",
298
+ "parameter",
299
+ "partition",
300
+ "pattern",
301
+ "per",
302
+ "percent",
303
+ "percent_rank",
304
+ "percentile_cont",
305
+ "percentile_disc",
306
+ "period",
307
+ "portion",
308
+ "position",
309
+ "position_regex",
310
+ "power",
311
+ "precedes",
312
+ "precision",
313
+ "prepare",
314
+ "primary",
315
+ "procedure",
316
+ "ptf",
317
+ "range",
318
+ "rank",
319
+ "reads",
320
+ "real",
321
+ "recursive",
322
+ "ref",
323
+ "references",
324
+ "referencing",
325
+ "regr_avgx",
326
+ "regr_avgy",
327
+ "regr_count",
328
+ "regr_intercept",
329
+ "regr_r2",
330
+ "regr_slope",
331
+ "regr_sxx",
332
+ "regr_sxy",
333
+ "regr_syy",
334
+ "release",
335
+ "result",
336
+ "return",
337
+ "returns",
338
+ "revoke",
339
+ "right",
340
+ "rollback",
341
+ "rollup",
342
+ "row",
343
+ "row_number",
344
+ "rows",
345
+ "running",
346
+ "savepoint",
347
+ "scope",
348
+ "scroll",
349
+ "search",
350
+ "second",
351
+ "seek",
352
+ "select",
353
+ "sensitive",
354
+ "session_user",
355
+ "set",
356
+ "show",
357
+ "similar",
358
+ "sin",
359
+ "sinh",
360
+ "skip",
361
+ "smallint",
362
+ "some",
363
+ "specific",
364
+ "specifictype",
365
+ "sql",
366
+ "sqlexception",
367
+ "sqlstate",
368
+ "sqlwarning",
369
+ "sqrt",
370
+ "start",
371
+ "static",
372
+ "stddev_pop",
373
+ "stddev_samp",
374
+ "submultiset",
375
+ "subset",
376
+ "substring",
377
+ "substring_regex",
378
+ "succeeds",
379
+ "sum",
380
+ "symmetric",
381
+ "system",
382
+ "system_time",
383
+ "system_user",
384
+ "table",
385
+ "tablesample",
386
+ "tan",
387
+ "tanh",
388
+ "then",
389
+ "time",
390
+ "timestamp",
391
+ "timezone_hour",
392
+ "timezone_minute",
393
+ "to",
394
+ "trailing",
395
+ "translate",
396
+ "translate_regex",
397
+ "translation",
398
+ "treat",
399
+ "trigger",
400
+ "trim",
401
+ "trim_array",
402
+ "true",
403
+ "truncate",
404
+ "uescape",
405
+ "union",
406
+ "unique",
407
+ "unknown",
408
+ "unnest",
409
+ "update",
410
+ "upper",
411
+ "user",
412
+ "using",
413
+ "value",
414
+ "values",
415
+ "value_of",
416
+ "var_pop",
417
+ "var_samp",
418
+ "varbinary",
419
+ "varchar",
420
+ "varying",
421
+ "versioning",
422
+ "when",
423
+ "whenever",
424
+ "where",
425
+ "width_bucket",
426
+ "window",
427
+ "with",
428
+ "within",
429
+ "without",
430
+ "year"
431
+ ], s = [
432
+ "abs",
433
+ "acos",
434
+ "array_agg",
435
+ "asin",
436
+ "atan",
437
+ "avg",
438
+ "cast",
439
+ "ceil",
440
+ "ceiling",
441
+ "coalesce",
442
+ "corr",
443
+ "cos",
444
+ "cosh",
445
+ "count",
446
+ "covar_pop",
447
+ "covar_samp",
448
+ "cume_dist",
449
+ "dense_rank",
450
+ "deref",
451
+ "element",
452
+ "exp",
453
+ "extract",
454
+ "first_value",
455
+ "floor",
456
+ "json_array",
457
+ "json_arrayagg",
458
+ "json_exists",
459
+ "json_object",
460
+ "json_objectagg",
461
+ "json_query",
462
+ "json_table",
463
+ "json_table_primitive",
464
+ "json_value",
465
+ "lag",
466
+ "last_value",
467
+ "lead",
468
+ "listagg",
469
+ "ln",
470
+ "log",
471
+ "log10",
472
+ "lower",
473
+ "max",
474
+ "min",
475
+ "mod",
476
+ "nth_value",
477
+ "ntile",
478
+ "nullif",
479
+ "percent_rank",
480
+ "percentile_cont",
481
+ "percentile_disc",
482
+ "position",
483
+ "position_regex",
484
+ "power",
485
+ "rank",
486
+ "regr_avgx",
487
+ "regr_avgy",
488
+ "regr_count",
489
+ "regr_intercept",
490
+ "regr_r2",
491
+ "regr_slope",
492
+ "regr_sxx",
493
+ "regr_sxy",
494
+ "regr_syy",
495
+ "row_number",
496
+ "sin",
497
+ "sinh",
498
+ "sqrt",
499
+ "stddev_pop",
500
+ "stddev_samp",
501
+ "substring",
502
+ "substring_regex",
503
+ "sum",
504
+ "tan",
505
+ "tanh",
506
+ "translate",
507
+ "translate_regex",
508
+ "treat",
509
+ "trim",
510
+ "trim_array",
511
+ "unnest",
512
+ "upper",
513
+ "value_of",
514
+ "var_pop",
515
+ "var_samp",
516
+ "width_bucket"
517
+ ], h = [
518
+ "current_catalog",
519
+ "current_date",
520
+ "current_default_transform_group",
521
+ "current_path",
522
+ "current_role",
523
+ "current_schema",
524
+ "current_transform_group_for_type",
525
+ "current_user",
526
+ "session_user",
527
+ "system_time",
528
+ "system_user",
529
+ "current_time",
530
+ "localtime",
531
+ "current_timestamp",
532
+ "localtimestamp"
533
+ ], b = [
534
+ "create table",
535
+ "insert into",
536
+ "primary key",
537
+ "foreign key",
538
+ "not null",
539
+ "alter table",
540
+ "add constraint",
541
+ "grouping sets",
542
+ "on overflow",
543
+ "character set",
544
+ "respect nulls",
545
+ "ignore nulls",
546
+ "nulls first",
547
+ "nulls last",
548
+ "depth first",
549
+ "breadth first"
550
+ ], o = s, f = [
551
+ ...d,
552
+ ...p
553
+ ].filter((e) => !s.includes(e)), v = {
554
+ scope: "variable",
555
+ match: /@[a-z0-9][a-z0-9_]*/
556
+ }, y = {
557
+ scope: "operator",
558
+ match: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
559
+ relevance: 0
560
+ }, w = {
561
+ match: a.concat(/\b/, a.either(...o), /\s*\(/),
562
+ relevance: 0,
563
+ keywords: { built_in: o }
564
+ };
565
+ function i(e) {
566
+ return a.concat(
567
+ /\b/,
568
+ a.either(...e.map((t) => t.replace(/\s+/, "\\s+"))),
569
+ /\b/
570
+ );
571
+ }
572
+ const x = {
573
+ scope: "keyword",
574
+ match: i(b),
575
+ relevance: 0
576
+ };
577
+ function E(e, {
578
+ exceptions: t,
579
+ when: k
580
+ } = {}) {
581
+ const O = k;
582
+ return t = t || [], e.map((r) => r.match(/\|\d+$/) || t.includes(r) ? r : O(r) ? `${r}|0` : r);
583
+ }
584
+ return {
585
+ name: "SQL",
586
+ case_insensitive: !0,
587
+ // does not include {} or HTML tags `</`
588
+ illegal: /[{}]|<\//,
589
+ keywords: {
590
+ $pattern: /\b[\w\.]+/,
591
+ keyword: E(f, { when: (e) => e.length < 3 }),
592
+ literal: u,
593
+ type: m,
594
+ built_in: h
595
+ },
596
+ contains: [
597
+ {
598
+ scope: "type",
599
+ match: i(g)
600
+ },
601
+ x,
602
+ w,
603
+ v,
604
+ l,
605
+ _,
606
+ n.C_NUMBER_MODE,
607
+ n.C_BLOCK_COMMENT_MODE,
608
+ c,
609
+ y
610
+ ]
611
+ };
612
+ }
613
+ export {
614
+ j as default
615
+ };