@scalar/api-client 2.9.0 → 2.9.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.
Files changed (122) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/CommandPalette/CommandActionForm.vue.js +9 -9
  3. package/dist/style.css +1 -1
  4. package/dist/v2/components/code-input/CodeInput.test.d.ts +2 -0
  5. package/dist/v2/components/code-input/CodeInput.test.d.ts.map +1 -0
  6. package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
  7. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
  8. package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
  9. package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
  10. package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
  11. package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
  12. package/dist/v2/components/code-input/code-variable-widget.js +106 -0
  13. package/dist/v2/components/code-input/code-variable-widget.test.d.ts +2 -0
  14. package/dist/v2/components/code-input/code-variable-widget.test.d.ts.map +1 -0
  15. package/dist/v2/components/code-input/index.d.ts +2 -0
  16. package/dist/v2/components/code-input/index.d.ts.map +1 -0
  17. package/dist/v2/components/code-input/index.js +4 -0
  18. package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
  19. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
  20. package/dist/v2/components/data-table/DataTable.vue.js +38 -0
  21. package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
  22. package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
  23. package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
  24. package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
  25. package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
  26. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
  27. package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
  28. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
  29. package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
  30. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
  31. package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
  32. package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
  33. package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
  34. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
  35. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
  36. package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
  37. package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
  38. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
  39. package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
  40. package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
  41. package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
  42. package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
  43. package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
  44. package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
  45. package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
  46. package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
  47. package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
  48. package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
  49. package/dist/v2/components/data-table/index.d.ts +9 -0
  50. package/dist/v2/components/data-table/index.d.ts.map +1 -0
  51. package/dist/v2/components/data-table/index.js +18 -0
  52. package/dist/v2/features/app/App.test.d.ts +2 -0
  53. package/dist/v2/features/app/App.test.d.ts.map +1 -0
  54. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  55. package/dist/v2/features/app/App.vue.js +56 -41
  56. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
  57. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
  58. package/dist/v2/features/app/components/DesktopTabs.vue.js +8 -7
  59. package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
  60. package/dist/v2/features/app/helpers/routes.d.ts +12 -9
  61. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  62. package/dist/v2/features/app/helpers/routes.js +0 -6
  63. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  64. package/dist/v2/features/collection/DocumentCollection.vue2.js +58 -45
  65. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
  66. package/dist/v2/features/collection/WorkspaceCollection.vue2.js +12 -10
  67. package/dist/v2/features/collection/components/Environment.vue.d.ts +13 -87
  68. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  69. package/dist/v2/features/collection/components/Environment.vue2.js +20 -25
  70. package/dist/v2/features/collection/components/Overview.vue.d.ts +13 -12
  71. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  72. package/dist/v2/features/collection/components/Overview.vue.js +5 -2
  73. package/dist/v2/features/collection/components/Overview.vue2.js +64 -66
  74. package/dist/v2/features/collection/components/Tabs.vue.js +8 -8
  75. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +6 -95
  76. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
  77. package/dist/v2/features/environments/EnvironmentsList.vue.js +50 -98
  78. package/dist/v2/features/environments/components/Environment.vue.d.ts +9 -63
  79. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
  80. package/dist/v2/features/environments/components/Environment.vue.js +41 -92
  81. package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
  82. package/dist/v2/features/environments/components/EnvironmentColors.vue.js +105 -81
  83. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +7 -14
  84. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
  85. package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +61 -39
  86. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +1 -1
  87. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
  88. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +3 -3
  89. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
  90. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
  91. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
  92. package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
  93. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +7 -20
  94. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  95. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +3 -3
  96. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +85 -71
  97. package/dist/v2/features/environments/index.d.ts +0 -3
  98. package/dist/v2/features/environments/index.d.ts.map +1 -1
  99. package/dist/v2/features/environments/index.js +2 -4
  100. package/dist/v2/helpers/test-utils.d.ts +4 -0
  101. package/dist/v2/helpers/test-utils.d.ts.map +1 -0
  102. package/dist/v2/hooks/use-workspace-client-events.d.ts +2 -1
  103. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
  104. package/dist/v2/hooks/use-workspace-client-events.js +23 -9
  105. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  106. package/package.json +13 -13
  107. package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +0 -2
  108. package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +0 -1
  109. package/dist/v2/features/environments/Environments.test.d.ts +0 -2
  110. package/dist/v2/features/environments/Environments.test.d.ts.map +0 -1
  111. package/dist/v2/features/environments/Environments.vue.d.ts +0 -31
  112. package/dist/v2/features/environments/Environments.vue.d.ts.map +0 -1
  113. package/dist/v2/features/environments/Environments.vue.js +0 -65
  114. package/dist/v2/features/environments/Environments.vue2.js +0 -4
  115. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +0 -20
  116. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +0 -1
  117. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +0 -48
  118. package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +0 -4
  119. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +0 -18
  120. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +0 -1
  121. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +0 -35
  122. package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +0 -4
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CodeInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/code-input/CodeInput.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,140 @@
1
+ import { type CodeMirrorLanguage, type Extension } from '@scalar/use-codemirror';
2
+ import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
3
+ import { type Ref } from 'vue';
4
+ import type { ClientLayout } from '../../../v2/types/layout';
5
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
6
+ modelValue: string | number;
7
+ /** Environment for variable substitution. Pass undefined to disable environment variables */
8
+ environment: XScalarEnvironment | undefined;
9
+ /** Type of the input value, affects rendering mode for booleans */
10
+ type?: string | string[];
11
+ /** Render as disabled text display */
12
+ disabled?: boolean;
13
+ /** Show error styling */
14
+ error?: boolean;
15
+ /** Layout context affects styling and behavior */
16
+ layout?: ClientLayout;
17
+ /** Predefined enum values, triggers select mode */
18
+ enum?: string[];
19
+ /** Example values, triggers select mode */
20
+ examples?: string[];
21
+ /** Default value to show in select mode */
22
+ default?: string | number;
23
+ /** Allow null in boolean select options */
24
+ nullable?: boolean;
25
+ /** Placeholder text for empty input */
26
+ placeholder?: string;
27
+ /** Show required indicator */
28
+ required?: boolean;
29
+ /** Enable color picker extension */
30
+ colorPicker?: boolean;
31
+ /** Show line numbers in editor */
32
+ lineNumbers?: boolean;
33
+ /** Enable linting */
34
+ lint?: boolean;
35
+ /** Enable line wrapping */
36
+ lineWrapping?: boolean;
37
+ /** CodeMirror language mode */
38
+ language?: CodeMirrorLanguage;
39
+ /** Additional CodeMirror extensions */
40
+ extensions?: Extension[];
41
+ /** Disable tab key for indentation */
42
+ disableTabIndent?: boolean;
43
+ /** Disable enter key */
44
+ disableEnter?: boolean;
45
+ /** Disable automatic bracket closing */
46
+ disableCloseBrackets?: boolean;
47
+ /** Emit submit event on blur */
48
+ emitOnBlur?: boolean;
49
+ /** Enable environment variable pills */
50
+ withVariables?: boolean;
51
+ /** Detect and emit curl commands */
52
+ importCurl?: boolean;
53
+ /** Custom change handler, prevents default emit */
54
+ handleFieldChange?: (value: string) => void;
55
+ /** Custom submit handler, prevents default emit */
56
+ handleFieldSubmit?: (value: string) => void;
57
+ }, {
58
+ focus: () => void | undefined;
59
+ handleChange: (value: string) => void;
60
+ handleSubmit: (value: string) => void;
61
+ handleBlur: (value: string) => void;
62
+ booleanOptions: import("vue").ComputedRef<string[]>;
63
+ codeMirror: Ref<import("@codemirror/view").EditorView | null, import("@codemirror/view").EditorView | null>;
64
+ modelValue: string | number;
65
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
+ submit: (value: string) => any;
67
+ redirectToEnvironment: () => any;
68
+ "update:modelValue": (value: string) => any;
69
+ blur: (value: string) => any;
70
+ curl: (value: string) => any;
71
+ }, string, import("vue").PublicProps, Readonly<{
72
+ modelValue: string | number;
73
+ /** Environment for variable substitution. Pass undefined to disable environment variables */
74
+ environment: XScalarEnvironment | undefined;
75
+ /** Type of the input value, affects rendering mode for booleans */
76
+ type?: string | string[];
77
+ /** Render as disabled text display */
78
+ disabled?: boolean;
79
+ /** Show error styling */
80
+ error?: boolean;
81
+ /** Layout context affects styling and behavior */
82
+ layout?: ClientLayout;
83
+ /** Predefined enum values, triggers select mode */
84
+ enum?: string[];
85
+ /** Example values, triggers select mode */
86
+ examples?: string[];
87
+ /** Default value to show in select mode */
88
+ default?: string | number;
89
+ /** Allow null in boolean select options */
90
+ nullable?: boolean;
91
+ /** Placeholder text for empty input */
92
+ placeholder?: string;
93
+ /** Show required indicator */
94
+ required?: boolean;
95
+ /** Enable color picker extension */
96
+ colorPicker?: boolean;
97
+ /** Show line numbers in editor */
98
+ lineNumbers?: boolean;
99
+ /** Enable linting */
100
+ lint?: boolean;
101
+ /** Enable line wrapping */
102
+ lineWrapping?: boolean;
103
+ /** CodeMirror language mode */
104
+ language?: CodeMirrorLanguage;
105
+ /** Additional CodeMirror extensions */
106
+ extensions?: Extension[];
107
+ /** Disable tab key for indentation */
108
+ disableTabIndent?: boolean;
109
+ /** Disable enter key */
110
+ disableEnter?: boolean;
111
+ /** Disable automatic bracket closing */
112
+ disableCloseBrackets?: boolean;
113
+ /** Emit submit event on blur */
114
+ emitOnBlur?: boolean;
115
+ /** Enable environment variable pills */
116
+ withVariables?: boolean;
117
+ /** Detect and emit curl commands */
118
+ importCurl?: boolean;
119
+ /** Custom change handler, prevents default emit */
120
+ handleFieldChange?: (value: string) => void;
121
+ /** Custom submit handler, prevents default emit */
122
+ handleFieldSubmit?: (value: string) => void;
123
+ }> & Readonly<{
124
+ onSubmit?: ((value: string) => any) | undefined;
125
+ onRedirectToEnvironment?: (() => any) | undefined;
126
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
127
+ onBlur?: ((value: string) => any) | undefined;
128
+ onCurl?: ((value: string) => any) | undefined;
129
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
130
+ warning?: (props: {}) => any;
131
+ } & {
132
+ icon?: (props: {}) => any;
133
+ }>;
134
+ export default _default;
135
+ type __VLS_WithSlots<T, S> = T & {
136
+ new (): {
137
+ $slots: S;
138
+ };
139
+ };
140
+ //# sourceMappingURL=CodeInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/code-input/CodeInput.vue"],"names":[],"mappings":"AAumBA,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAEnH,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAIrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;;gBAcvC,MAAM,GAAG,MAAM;IAC3B,6FAA6F;iBAChF,kBAAkB,GAAG,SAAS;IAC3C,mEAAmE;WAC5D,MAAM,GAAG,MAAM,EAAE;IACxB,sCAAsC;eAC3B,OAAO;IAClB,yBAAyB;YACjB,OAAO;IACf,kDAAkD;aACzC,YAAY;IACrB,mDAAmD;WAC5C,MAAM,EAAE;IACf,2CAA2C;eAChC,MAAM,EAAE;IACnB,2CAA2C;cACjC,MAAM,GAAG,MAAM;IACzB,2CAA2C;eAChC,OAAO;IAClB,uCAAuC;kBACzB,MAAM;IACpB,8BAA8B;eACnB,OAAO;IAClB,oCAAoC;kBACtB,OAAO;IACrB,kCAAkC;kBACpB,OAAO;IACrB,qBAAqB;WACd,OAAO;IACd,2BAA2B;mBACZ,OAAO;IACtB,+BAA+B;eACpB,kBAAkB;IAC7B,uCAAuC;iBAC1B,SAAS,EAAE;IACxB,sCAAsC;uBACnB,OAAO;IAC1B,wBAAwB;mBACT,OAAO;IACtB,wCAAwC;2BACjB,OAAO;IAC9B,gCAAgC;iBACnB,OAAO;IACpB,wCAAwC;oBACxB,OAAO;IACvB,oCAAoC;iBACvB,OAAO;IACpB,mDAAmD;wBAC/B,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;IAC3C,mDAAmD;wBAC/B,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;;;0BAyFhB,MAAM,KAAG,IAAI;0BAiCb,MAAM,KAAG,IAAI;wBAWf,MAAM,KAAG,IAAI;;;;;;;;;;;gBAvL1B,MAAM,GAAG,MAAM;IAC3B,6FAA6F;iBAChF,kBAAkB,GAAG,SAAS;IAC3C,mEAAmE;WAC5D,MAAM,GAAG,MAAM,EAAE;IACxB,sCAAsC;eAC3B,OAAO;IAClB,yBAAyB;YACjB,OAAO;IACf,kDAAkD;aACzC,YAAY;IACrB,mDAAmD;WAC5C,MAAM,EAAE;IACf,2CAA2C;eAChC,MAAM,EAAE;IACnB,2CAA2C;cACjC,MAAM,GAAG,MAAM;IACzB,2CAA2C;eAChC,OAAO;IAClB,uCAAuC;kBACzB,MAAM;IACpB,8BAA8B;eACnB,OAAO;IAClB,oCAAoC;kBACtB,OAAO;IACrB,kCAAkC;kBACpB,OAAO;IACrB,qBAAqB;WACd,OAAO;IACd,2BAA2B;mBACZ,OAAO;IACtB,+BAA+B;eACpB,kBAAkB;IAC7B,uCAAuC;iBAC1B,SAAS,EAAE;IACxB,sCAAsC;uBACnB,OAAO;IAC1B,wBAAwB;mBACT,OAAO;IACtB,wCAAwC;2BACjB,OAAO;IAC9B,gCAAgC;iBACnB,OAAO;IACpB,wCAAwC;oBACxB,OAAO;IACvB,oCAAoC;iBACvB,OAAO;IACpB,mDAAmD;wBAC/B,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;IAC3C,mDAAmD;wBAC/B,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;;;;;;;;cA6kB/B,CAAC,KAAK,IAAiB,KAAK,GAAG;;WAClC,CAAC,KAAK,IAAiB,KAAK,GAAG;;AAxoB1C,wBA4rBC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import o from "./CodeInput.vue2.js";
2
+ /* empty css */
3
+ /* empty css */
4
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d30c143b"]]);
6
+ export {
7
+ a as default
8
+ };
@@ -0,0 +1,202 @@
1
+ import { defineComponent as W, useAttrs as j, ref as d, computed as s, toRef as r, watch as H, createElementBlock as i, openBlock as n, Fragment as Q, createBlock as c, createCommentVNode as f, normalizeClass as G, createElementVNode as v, toDisplayString as J, mergeProps as X, unref as T, withKeys as b, withModifiers as D, createTextVNode as w, renderSlot as $ } from "vue";
2
+ import { useCodeMirror as Y, useDropdown as Z, colorPicker as _ } from "@scalar/use-codemirror";
3
+ import { nanoid as ee } from "nanoid";
4
+ import V from "../data-table/DataTableInputSelect.vue.js";
5
+ import te from "../../features/environments/components/EnvironmentVariablesDropdown.vue.js";
6
+ import { pillPlugin as le, backspaceCommand as ne } from "./code-variable-widget.js";
7
+ const oe = { class: "whitespace-nowrap" }, ae = ["id"], re = {
8
+ key: 0,
9
+ class: "z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",
10
+ role: "alert"
11
+ }, ie = {
12
+ key: 5,
13
+ class: "centered-y text-orange absolute right-7 text-xs"
14
+ }, ue = {
15
+ key: 6,
16
+ class: "centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"
17
+ }, de = {
18
+ key: 7,
19
+ class: "required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"
20
+ }, se = {
21
+ inheritAttrs: !1
22
+ }, ge = /* @__PURE__ */ W({
23
+ ...se,
24
+ __name: "CodeInput",
25
+ props: {
26
+ modelValue: {},
27
+ environment: {},
28
+ type: {},
29
+ disabled: { type: Boolean, default: !1 },
30
+ error: { type: Boolean, default: !1 },
31
+ layout: { default: "desktop" },
32
+ enum: {},
33
+ examples: {},
34
+ default: {},
35
+ nullable: { type: Boolean, default: !1 },
36
+ placeholder: {},
37
+ required: { type: Boolean },
38
+ colorPicker: { type: Boolean, default: !1 },
39
+ lineNumbers: { type: Boolean, default: !1 },
40
+ lint: { type: Boolean, default: !1 },
41
+ lineWrapping: { type: Boolean, default: !1 },
42
+ language: {},
43
+ extensions: { default: () => [] },
44
+ disableTabIndent: { type: Boolean, default: !1 },
45
+ disableEnter: { type: Boolean, default: !1 },
46
+ disableCloseBrackets: { type: Boolean, default: !1 },
47
+ emitOnBlur: { type: Boolean, default: !0 },
48
+ withVariables: { type: Boolean, default: !0 },
49
+ importCurl: { type: Boolean, default: !1 },
50
+ handleFieldChange: { type: Function },
51
+ handleFieldSubmit: { type: Function }
52
+ },
53
+ emits: ["update:modelValue", "submit", "blur", "curl", "redirectToEnvironment"],
54
+ setup(t, { expose: M, emit: R }) {
55
+ const u = R, B = j(), q = B.id || `id-${ee()}`, k = d(!1), A = s(() => t.enum?.length ? !1 : t.type === "boolean" || Array.isArray(t.type) && t.type.includes("boolean")), x = s(() => t.nullable ? ["true", "false", "null"] : ["true", "false"]), I = s(() => Array.isArray(t.type) ? t.type.find((e) => e !== "null") ?? "string" : t.type), C = (e) => {
56
+ if (e !== t.modelValue) {
57
+ if (t.importCurl && e.trim().toLowerCase().startsWith("curl")) {
58
+ u("curl", e), o.value && o.value.dispatch({
59
+ changes: {
60
+ from: 0,
61
+ to: o.value.state.doc.length,
62
+ insert: String(t.modelValue)
63
+ }
64
+ });
65
+ return;
66
+ }
67
+ t.handleFieldChange ? t.handleFieldChange(e) : u("update:modelValue", e);
68
+ }
69
+ }, p = (e) => {
70
+ t.handleFieldSubmit ? t.handleFieldSubmit(e) : u("submit", e);
71
+ }, S = (e) => {
72
+ k.value = !1, t.emitOnBlur && t.modelValue && p(e), u("blur", e);
73
+ }, y = (e) => {
74
+ u("update:modelValue", e);
75
+ }, N = () => {
76
+ const e = [...t.extensions];
77
+ return t.colorPicker && e.push(_), e;
78
+ }, O = s(
79
+ () => le({
80
+ environment: t.environment,
81
+ isReadOnly: t.layout === "modal"
82
+ })
83
+ ), z = s(() => [
84
+ ...N(),
85
+ O.value,
86
+ ne
87
+ ]), E = d(null), { codeMirror: o } = Y({
88
+ content: r(() => String(t.modelValue ?? "")),
89
+ onChange: (e) => {
90
+ C(e), L();
91
+ },
92
+ onFocus: () => {
93
+ k.value = !0;
94
+ },
95
+ onBlur: S,
96
+ codeMirrorRef: E,
97
+ disableTabIndent: r(() => t.disableTabIndent),
98
+ disableEnter: r(() => t.disableEnter),
99
+ disableCloseBrackets: r(() => t.disableCloseBrackets),
100
+ lineNumbers: r(() => t.lineNumbers),
101
+ language: r(() => t.language),
102
+ lint: r(() => t.lint),
103
+ extensions: z,
104
+ placeholder: r(() => t.placeholder)
105
+ });
106
+ H(o, () => {
107
+ o.value && Object.hasOwn(B, "autofocus") && o.value.focus();
108
+ });
109
+ const g = d(!1), F = d(""), P = d({ left: 0, top: 0 }), h = d(null), { handleDropdownSelect: K, updateDropdownVisibility: L } = Z({
110
+ codeMirror: o,
111
+ query: F,
112
+ showDropdown: g,
113
+ dropdownPosition: P
114
+ }), U = s(() => g.value && t.withVariables && t.layout !== "modal" && !!t.environment), m = (e, l) => {
115
+ if (g.value) {
116
+ e === "down" || e === "up" ? (l.preventDefault(), h.value?.handleArrowKey(e)) : e === "enter" && (l.preventDefault(), h.value?.handleSelect());
117
+ return;
118
+ }
119
+ e === "escape" && !t.disableTabIndent && l.stopPropagation(), e === "enter" && l.target instanceof HTMLDivElement && p(l.target.textContent ?? "");
120
+ };
121
+ return M({
122
+ focus: () => o.value?.focus(),
123
+ handleChange: C,
124
+ handleSubmit: p,
125
+ handleBlur: S,
126
+ booleanOptions: x,
127
+ codeMirror: o,
128
+ modelValue: t.modelValue
129
+ }), (e, l) => (n(), i(Q, null, [
130
+ e.disabled ? (n(), i("div", {
131
+ key: 0,
132
+ class: G(["text-c-2 flex cursor-default items-center justify-center", e.layout === "modal" ? "font-code pr-2 pl-1 text-base" : "px-2"]),
133
+ "data-testid": "code-input-disabled"
134
+ }, [
135
+ v("span", oe, J(e.modelValue), 1)
136
+ ], 2)) : t.enum?.length ? (n(), c(V, {
137
+ key: 1,
138
+ default: t.default,
139
+ modelValue: e.modelValue,
140
+ type: I.value,
141
+ value: t.enum,
142
+ "onUpdate:modelValue": y
143
+ }, null, 8, ["default", "modelValue", "type", "value"])) : A.value ? (n(), c(V, {
144
+ key: 2,
145
+ default: t.default,
146
+ modelValue: e.modelValue,
147
+ value: x.value,
148
+ "onUpdate:modelValue": y
149
+ }, null, 8, ["default", "modelValue", "value"])) : e.examples?.length ? (n(), c(V, {
150
+ key: 3,
151
+ default: t.default,
152
+ modelValue: e.modelValue,
153
+ value: e.examples,
154
+ "onUpdate:modelValue": y
155
+ }, null, 8, ["default", "modelValue", "value"])) : (n(), i("div", X({
156
+ key: 4,
157
+ id: T(q)
158
+ }, e.$attrs, {
159
+ ref_key: "codeMirrorRef",
160
+ ref: E,
161
+ class: ["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline", {
162
+ "line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1": e.lineWrapping,
163
+ "flow-code-input--error": e.error
164
+ }],
165
+ onKeydown: [
166
+ l[0] || (l[0] = b(D((a) => m("down", a), ["stop"]), ["down"])),
167
+ l[1] || (l[1] = b((a) => m("enter", a), ["enter"])),
168
+ l[2] || (l[2] = b((a) => m("escape", a), ["escape"])),
169
+ l[3] || (l[3] = b(D((a) => m("up", a), ["stop"]), ["up"]))
170
+ ]
171
+ }), [
172
+ e.disableTabIndent ? f("", !0) : (n(), i("div", re, [...l[5] || (l[5] = [
173
+ w(" Press ", -1),
174
+ v("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Esc", -1),
175
+ w(" then ", -1),
176
+ v("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Tab", -1),
177
+ w(" to exit ", -1)
178
+ ])]))
179
+ ], 16, ae)),
180
+ e.$slots.warning ? (n(), i("div", ie, [
181
+ $(e.$slots, "warning", {}, void 0, !0)
182
+ ])) : f("", !0),
183
+ e.$slots.icon ? (n(), i("div", ue, [
184
+ $(e.$slots, "icon", {}, void 0, !0)
185
+ ])) : f("", !0),
186
+ e.required ? (n(), i("div", de, " Required ")) : f("", !0),
187
+ U.value && e.environment ? (n(), c(te, {
188
+ key: 8,
189
+ ref_key: "dropdownRef",
190
+ ref: h,
191
+ dropdownPosition: P.value,
192
+ environment: e.environment,
193
+ query: F.value,
194
+ onRedirect: l[4] || (l[4] = (a) => u("redirectToEnvironment")),
195
+ onSelect: T(K)
196
+ }, null, 8, ["dropdownPosition", "environment", "query", "onSelect"])) : f("", !0)
197
+ ], 64));
198
+ }
199
+ });
200
+ export {
201
+ ge as default
202
+ };
@@ -0,0 +1,21 @@
1
+ import { type DecorationSet, EditorView, ViewPlugin, type ViewUpdate } from '@scalar/use-codemirror';
2
+ import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
3
+ /**
4
+ * Styles the active environment variable pill.
5
+ * This plugin creates decorations for environment variables in the editor.
6
+ */
7
+ export declare const pillPlugin: (props: {
8
+ environment: XScalarEnvironment | undefined;
9
+ isReadOnly: boolean | undefined;
10
+ }) => ViewPlugin<{
11
+ decorations: DecorationSet;
12
+ lastEnvironment: XScalarEnvironment | undefined;
13
+ update(update: ViewUpdate): void;
14
+ buildDecorations(view: EditorView): DecorationSet;
15
+ }>;
16
+ /**
17
+ * Custom backspace handler for the editor.
18
+ * Handles special cases like removing entire variable syntax and clearing all content.
19
+ */
20
+ export declare const backspaceCommand: import("@codemirror/state").Extension;
21
+ //# sourceMappingURL=code-variable-widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-variable-widget.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/code-input/code-variable-widget.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAyFnH;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO;IAAE,WAAW,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAAC,UAAU,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE;iBAG/F,aAAa;qBACT,kBAAkB,GAAG,SAAS;mBAOhC,UAAU,GAAG,IAAI;2BAcT,UAAU,GAAG,aAAa;EAsCpD,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,gBAAgB,uCAoC3B,CAAA"}
@@ -0,0 +1,106 @@
1
+ import { ScalarTooltip as m } from "@scalar/components";
2
+ import { REGEX as u } from "@scalar/helpers/regex/regex-helpers";
3
+ import { ViewPlugin as p, EditorView as v, RangeSetBuilder as b, Decoration as g, WidgetType as E } from "@scalar/use-codemirror";
4
+ import { defineComponent as C, h as l, createApp as w } from "vue";
5
+ class c extends E {
6
+ constructor(e, n) {
7
+ super(), this.variableName = e, this.pillColor = n?.color || "var(--scalar-color-1)";
8
+ const t = n?.variables?.find((i) => i.name === e), a = t ? typeof t.value == "string" ? t.value : t.value?.default : void 0;
9
+ this.variableInfo = {
10
+ value: a || "No value",
11
+ hasValue: !!a
12
+ };
13
+ }
14
+ app;
15
+ pillColor;
16
+ variableInfo;
17
+ toDOM() {
18
+ const e = document.createElement("span");
19
+ e.className = "cm-pill", e.textContent = this.variableName, e.style.setProperty("--tw-bg-base", this.pillColor), e.style.opacity = this.variableInfo.hasValue ? "1" : "0.5";
20
+ const n = C({
21
+ render: () => {
22
+ const t = l("div", { class: "flex items-center gap-1 whitespace-nowrap" }, [
23
+ l("span", this.variableName)
24
+ ]);
25
+ return l(
26
+ m,
27
+ {
28
+ content: this.variableInfo.value,
29
+ delay: 0,
30
+ placement: "bottom",
31
+ offset: 6
32
+ },
33
+ {
34
+ default: () => t
35
+ }
36
+ );
37
+ }
38
+ });
39
+ return this.app = w(n), this.app.mount(e), e;
40
+ }
41
+ destroy() {
42
+ this.app && (this.app.unmount(), this.app = null);
43
+ }
44
+ eq(e) {
45
+ return e instanceof c && e.variableName === this.variableName && e.pillColor === this.pillColor && e.variableInfo.value === this.variableInfo.value && e.variableInfo.hasValue === this.variableInfo.hasValue;
46
+ }
47
+ ignoreEvent() {
48
+ return !1;
49
+ }
50
+ }
51
+ const N = (o) => p.fromClass(
52
+ class {
53
+ decorations;
54
+ lastEnvironment;
55
+ constructor(e) {
56
+ this.lastEnvironment = o.environment, this.decorations = this.buildDecorations(e);
57
+ }
58
+ update(e) {
59
+ if (o.environment !== this.lastEnvironment) {
60
+ this.lastEnvironment = o.environment, this.decorations = this.buildDecorations(e.view);
61
+ return;
62
+ }
63
+ (e.docChanged || e.viewportChanged) && (this.decorations = this.buildDecorations(e.view));
64
+ }
65
+ buildDecorations(e) {
66
+ const n = new b();
67
+ for (const { from: t, to: a } of e.visibleRanges) {
68
+ const i = e.state.doc.sliceString(t, a), f = new RegExp(u.VARIABLES.source, u.VARIABLES.flags);
69
+ let s;
70
+ for (; (s = f.exec(i)) !== null; ) {
71
+ const r = t + s.index, d = r + s[0].length, h = s[1] ?? "";
72
+ e.state.doc.sliceString(r, d).includes(`
73
+ `) || n.add(
74
+ r,
75
+ d,
76
+ g.widget({
77
+ widget: new c(h, o.environment),
78
+ side: 1
79
+ })
80
+ );
81
+ }
82
+ }
83
+ return n.finish();
84
+ }
85
+ },
86
+ {
87
+ decorations: (e) => e.decorations
88
+ }
89
+ ), S = v.domEventHandlers({
90
+ keydown(o, e) {
91
+ if (o.key !== "Backspace")
92
+ return !1;
93
+ const { state: n } = e, { from: t, to: a } = n.selection.main;
94
+ return t === 0 && a === n.doc.length ? (e.dispatch({
95
+ changes: { from: 0, to: n.doc.length },
96
+ selection: { anchor: 0 }
97
+ }), o.preventDefault(), !0) : t === a && t >= 2 && n.doc.sliceString(t - 2, t) === "}}" ? (e.dispatch({
98
+ changes: { from: t - 2, to: t },
99
+ selection: { anchor: t - 2 }
100
+ }), o.preventDefault(), !0) : !1;
101
+ }
102
+ });
103
+ export {
104
+ S as backspaceCommand,
105
+ N as pillPlugin
106
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=code-variable-widget.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-variable-widget.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/code-input/code-variable-widget.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { default as CodeInput } from './CodeInput.vue.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/code-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { default as t } from "./CodeInput.vue.js";
2
+ export {
3
+ t as CodeInput
4
+ };
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ columns: (string | undefined)[];
3
+ /** Scroll horizontally */
4
+ scroll?: boolean;
5
+ /** Presentational table */
6
+ presentational?: boolean;
7
+ };
8
+ declare var __VLS_1: {}, __VLS_3: {};
9
+ type __VLS_Slots = {} & {
10
+ caption?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_3) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=DataTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/data-table/DataTable.vue"],"names":[],"mappings":"AAwCA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAA;IAC/B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAC;AA8CF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { defineComponent as s, createElementBlock as o, openBlock as l, normalizeProps as n, guardReactiveProps as i, unref as m, createElementVNode as p, normalizeStyle as c, normalizeClass as u, createCommentVNode as d, renderSlot as t } from "vue";
2
+ import { useBindCx as f } from "@scalar/components";
3
+ const b = ["role"], y = {
4
+ key: 0,
5
+ class: "sr-only"
6
+ }, _ = /* @__PURE__ */ s({
7
+ __name: "DataTable",
8
+ props: {
9
+ columns: {},
10
+ scroll: { type: Boolean },
11
+ presentational: { type: Boolean }
12
+ },
13
+ setup(v) {
14
+ const { cx: a } = f();
15
+ return (e, w) => (l(), o("div", n(i(
16
+ m(a)(
17
+ e.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible",
18
+ "scalar-data-table"
19
+ )
20
+ )), [
21
+ p("table", {
22
+ class: u(["mb-0 grid min-h-8 auto-rows-auto border-t", { "w-max min-w-full": e.scroll }]),
23
+ role: e.presentational ? "presentation" : "table",
24
+ style: c({
25
+ gridTemplateColumns: e.columns.map((r) => r || "1fr").join(" ")
26
+ })
27
+ }, [
28
+ e.$slots.caption ? (l(), o("caption", y, [
29
+ t(e.$slots, "caption")
30
+ ])) : d("", !0),
31
+ t(e.$slots, "default")
32
+ ], 14, b)
33
+ ], 16));
34
+ }
35
+ });
36
+ export {
37
+ _ as default
38
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./DataTable.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,19 @@
1
+ import type { Component } from 'vue';
2
+ type __VLS_Props = {
3
+ is?: string | Component;
4
+ };
5
+ declare var __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_6) => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ is: string | Component;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
19
+ //# sourceMappingURL=DataTableCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/data-table/DataTableCell.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB,CAAC;AA4CJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;QApEZ,MAAM,GAAG,SAAS;6EA2EzB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { defineComponent as t, createBlock as o, openBlock as a, resolveDynamicComponent as n, mergeProps as s, unref as l, withCtx as p, renderSlot as b } from "vue";
2
+ import { useBindCx as d } from "@scalar/components";
3
+ const f = /* @__PURE__ */ t({
4
+ inheritAttrs: !1,
5
+ __name: "DataTableCell",
6
+ props: {
7
+ is: { default: "td" }
8
+ },
9
+ setup(i) {
10
+ const { cx: r } = d();
11
+ return (e, m) => (a(), o(n(e.is), s(
12
+ l(r)(
13
+ "box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"
14
+ ),
15
+ { class: "group-[.alert]:bg-b-alert group-[.error]:bg-b-danger" }
16
+ ), {
17
+ default: p(() => [
18
+ b(e.$slots, "default")
19
+ ]),
20
+ _: 3
21
+ }, 16));
22
+ }
23
+ });
24
+ export {
25
+ f as default
26
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./DataTableCell.vue.js";
2
+ export {
3
+ f as default
4
+ };