@epam/ai-dial-ui-kit 0.14.0-dev.35 → 0.14.0-dev.36
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/{DateCellRenderer-B41xNX7a.cjs → DateCellRenderer-CPm5auvF.cjs} +1 -1
- package/dist/{DateCellRenderer-B0o0BqbW.cjs → DateCellRenderer-s9DQ6Fjk.cjs} +19 -19
- package/dist/JsonEditor-BlaSMX26.cjs +1 -0
- package/dist/MarkdownEditor-5kljDPcm.cjs +1 -0
- package/dist/MarkdownEditor-C0_gU7Fi.cjs +1 -0
- package/dist/MarkdownEditorContainer-D4bI2w3-.cjs +1 -0
- package/dist/components/Grid/Grid.js +111 -111
- package/dist/components/JsonEditor/lazy.js +4 -0
- package/dist/components/MarkdownEditor/lazy.js +4 -0
- package/dist/components/New/Grid/Grid.js +129 -129
- package/dist/components/New/MarkdownEditor/lazy.js +4 -0
- package/dist/components-manifest.json +2 -2
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +410 -408
- package/dist/editors.cjs +1 -1
- package/dist/editors.js +10 -7
- package/dist/file-manager.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/lazy-B1eG0EeX.cjs +1 -0
- package/dist/src/components/JsonEditor/lazy.d.ts +14 -0
- package/dist/src/components/MarkdownEditor/lazy.d.ts +7 -0
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +7 -0
- package/dist/src/index.d.ts +3 -3
- package/dist/src/subpaths/editors.d.ts +13 -12
- package/dist/src/utils/grid-registration.d.ts +16 -0
- package/dist/src/utils/grid-registration.spec.d.ts +1 -0
- package/dist/{use-file-manager-tabs-CkYH0CvF.cjs → use-file-manager-tabs-3AM-Fjrr.cjs} +1 -1
- package/dist/utils/grid-registration.js +8 -0
- package/package.json +1 -1
- package/dist/JsonEditor-pdzI3xkJ.cjs +0 -1
- package/dist/MarkdownEditor-CNEY8i7O.cjs +0 -1
- package/dist/MarkdownEditor-Dea4eQpw.cjs +0 -1
- package/dist/MarkdownEditorContainer-BO6PafCS.cjs +0 -1
- package/dist/editor-Ba3vCFHk.cjs +0 -1
package/dist/editors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lazy-B1eG0EeX.cjs"),r=()=>Promise.resolve().then(()=>require("./MarkdownEditorContainer-D4bI2w3-.cjs"));exports.EditorThemes=o.EditorThemes;exports.LazyDialJsonEditor=o.LazyDialJsonEditor;exports.LazyDialMarkdownEditor=o.LazyDialMarkdownEditor;exports.LazyMarkdownEditor=o.LazyMarkdownEditor;exports.LazyDialMarkdownEditorContainer=r;
|
package/dist/editors.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { LazyDialJsonEditor as a } from "./components/JsonEditor/lazy.js";
|
|
2
|
+
import { LazyDialMarkdownEditor as d } from "./components/MarkdownEditor/lazy.js";
|
|
3
|
+
import { LazyMarkdownEditor as n } from "./components/New/MarkdownEditor/lazy.js";
|
|
4
|
+
import { EditorThemes as p } from "./types/editor.js";
|
|
5
|
+
const o = () => import("./components/MarkdownEditor/MarkdownEditorContainer.js");
|
|
3
6
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
p as EditorThemes,
|
|
8
|
+
a as LazyDialJsonEditor,
|
|
9
|
+
d as LazyDialMarkdownEditor,
|
|
10
|
+
o as LazyDialMarkdownEditorContainer,
|
|
11
|
+
n as LazyMarkdownEditor
|
|
9
12
|
};
|
package/dist/file-manager.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./use-file-manager-tabs-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./use-file-manager-tabs-3AM-Fjrr.cjs");exports.DialDestinationFolderPopup=e.DialDestinationFolderPopup;exports.DialFileManager=e.DialFileManager;exports.DialFileManagerActions=e.DialFileManagerActions;exports.DialFileManagerTabs=e.DialFileManagerTabs;exports.DialFoldersTree=e.DialFoldersTree;exports.FileManagerColumnKey=e.FileManagerColumnKey;exports.FileManagerProvider=e.FileManagerProvider;exports.NAME_COLUMN=e.NAME_COLUMN;exports.SIZE_COLUMN=e.SIZE_COLUMN;exports.UPDATED_AT_COLUMN=e.UPDATED_AT_COLUMN;exports.useDialFileManagerTabs=e.useDialFileManagerTabs;exports.useFileManagerContext=e.useFileManagerContext;
|
package/dist/grid.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DateCellRenderer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DateCellRenderer-s9DQ6Fjk.cjs"),D=require("./DateCellRenderer-CPm5auvF.cjs");exports.DEFAULT_GRID_DATE_FORMAT_OPTIONS=e.DEFAULT_DATE_FORMAT_OPTIONS;exports.DEFAULT_GRID_DATE_LOCALE=e.DEFAULT_LOCALE;exports.DialDateCellRenderer=e.DialDateCellRenderer;exports.DialGrid=e.DialGrid;exports.GridSelectionMode=e.GridSelectionMode;exports.baseColumnComparator=e.baseColumnComparator;exports.checkColDefsChanges=e.checkColDefsChanges;exports.convertGridDateToDate=e.convertToDate;exports.convertToDate=e.convertToDate;exports.DEFAULT_DATE_FORMAT_OPTIONS=D.DEFAULT_DATE_FORMAT_OPTIONS;exports.DEFAULT_DATE_LOCALE=D.DEFAULT_LOCALE;exports.DateCellRenderer=D.DateCellRenderer;exports.GRID_ALIGN_RIGHT_CLASS=D.GRID_ALIGN_RIGHT_CLASS;exports.GRID_ROOT_CLASS=D.GRID_ROOT_CLASS;exports.GRID_ROW_HEIGHT=D.ROW_HEIGHT;exports.GRID_SELECTION_COLUMN_ID=D.GRID_SELECTION_COLUMN_ID;exports.GRID_THEME_PARAMS=D.GRID_THEME_PARAMS;exports.Grid=D.Grid;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o=(r=>(r.dark="dark",r.light="light",r))(o||{});const e=()=>Promise.resolve().then(()=>require("./JsonEditor-BlaSMX26.cjs")),i=()=>Promise.resolve().then(()=>require("./MarkdownEditor-5kljDPcm.cjs")),a=()=>Promise.resolve().then(()=>require("./MarkdownEditor-C0_gU7Fi.cjs"));exports.EditorThemes=o;exports.LazyDialJsonEditor=e;exports.LazyDialMarkdownEditor=i;exports.LazyMarkdownEditor=a;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared leaf module for the JSON editor's lazy loader. Both `src/index.ts`
|
|
3
|
+
* (root) and `src/subpaths/editors.ts` (`./editors`) re-export this same
|
|
4
|
+
* binding instead of each declaring their own copy of the loader function -
|
|
5
|
+
* see `src/index.ts`'s comment above its own re-export for why the previous
|
|
6
|
+
* per-entry duplication existed, and why it was replaced by this shared
|
|
7
|
+
* module (an emitted-topology defect, not just source-level duplication:
|
|
8
|
+
* a loader function's body containing its own `import()` call, when
|
|
9
|
+
* duplicated verbatim into more than one entry's own emitted chunk, can pull
|
|
10
|
+
* an unrelated dynamically-imported feature into the initial graph in some
|
|
11
|
+
* Vite/Rolldown versions - see `openspec/changes/isolate-heavy-feature-modules`
|
|
12
|
+
* Section 9's `diagnosis-baseline.txt` for the measured reproduction).
|
|
13
|
+
*/
|
|
14
|
+
export declare const LazyDialJsonEditor: () => Promise<typeof import("./JsonEditor")>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared leaf module for the 1.0 Markdown editor's lazy loader. Both
|
|
3
|
+
* `src/index.ts` (root) and `src/subpaths/editors.ts` (`./editors`)
|
|
4
|
+
* re-export this same binding instead of each declaring their own copy -
|
|
5
|
+
* see `src/components/JsonEditor/lazy.ts`'s comment for why.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LazyDialMarkdownEditor: () => Promise<typeof import("./MarkdownEditor")>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared leaf module for the 2.0 Markdown editor's lazy loader. Both
|
|
3
|
+
* `src/index.ts` (root) and `src/subpaths/editors.ts` (`./editors`)
|
|
4
|
+
* re-export this same binding instead of each declaring their own copy -
|
|
5
|
+
* see `src/components/JsonEditor/lazy.ts`'s comment for why.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LazyMarkdownEditor: () => Promise<typeof import("./MarkdownEditor")>;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -144,8 +144,8 @@ export { NOT_ALLOWED_SYMBOLS, NOT_ALLOWED_SPACES, NOT_ALLOWED_SYMBOLS_REGEXP, NO
|
|
|
144
144
|
export { DialSchemaRenderer } from './components/SchemaRenderer/SchemaRenderer';
|
|
145
145
|
export { SchemaRendererVariant, SchemaDisplayMode, SchemaOrientation, JsonSchemaType, } from './components/SchemaRenderer/types';
|
|
146
146
|
export type { DialSchemaRendererProps, JsonSchema, JsonSchemaDef, ValidationError, } from './components/SchemaRenderer/types';
|
|
147
|
-
export
|
|
148
|
-
export
|
|
147
|
+
export { LazyDialJsonEditor } from './components/JsonEditor/lazy';
|
|
148
|
+
export { LazyDialMarkdownEditor } from './components/MarkdownEditor/lazy';
|
|
149
149
|
export { NotificationVariant, NotificationType } from './types/notification.ts';
|
|
150
150
|
export { Notification } from './components/New/Notification/Notification';
|
|
151
151
|
export { Highlight } from './components/New/Highlight/Highlight';
|
|
@@ -168,7 +168,7 @@ export type { FabButtonProps } from './components/FabButton/FabButton';
|
|
|
168
168
|
export { ButtonDropdown } from './components/New/ButtonDropdown/ButtonDropdown';
|
|
169
169
|
export type { ButtonDropdownProps } from './components/New/ButtonDropdown/ButtonDropdown';
|
|
170
170
|
export type { MarkdownEditorProps } from './components/New/MarkdownEditor/MarkdownEditor';
|
|
171
|
-
export
|
|
171
|
+
export { LazyMarkdownEditor } from './components/New/MarkdownEditor/lazy';
|
|
172
172
|
export { InlineSelect, InlineSelectTrigger, } from './components/New/InlineSelect/InlineSelect';
|
|
173
173
|
export type { InlineSelectProps, InlineSelectTriggerProps, } from './components/New/InlineSelect/InlineSelect';
|
|
174
174
|
export { Select } from './components/New/Select/Select';
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the JSON/Markdown
|
|
3
3
|
* editor lazy loaders.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
5
|
+
* The three loaders below are re-exported from the same shared leaf modules
|
|
6
|
+
* `src/index.ts` re-exports (`components/JsonEditor/lazy`,
|
|
7
|
+
* `components/MarkdownEditor/lazy`, `components/New/MarkdownEditor/lazy`),
|
|
8
|
+
* so this entry and the root reference one emitted chunk per loader instead
|
|
9
|
+
* of each carrying its own duplicate copy of the loader's `import()` call -
|
|
10
|
+
* see `components/JsonEditor/lazy.ts`'s comment for the emitted-topology
|
|
11
|
+
* defect that duplication caused. `src/mcp/generate-manifest.ts` follows
|
|
12
|
+
* this re-export back to the leaf module to keep attaching lazy-loading
|
|
13
|
+
* metadata to `DialJsonEditor`/`DialMarkdownEditor`/`MarkdownEditor` (2.0)
|
|
14
|
+
* in the published MCP component manifest.
|
|
14
15
|
*/
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export { LazyDialJsonEditor } from '../components/JsonEditor/lazy';
|
|
17
|
+
export { LazyDialMarkdownEditor } from '../components/MarkdownEditor/lazy';
|
|
18
|
+
export { LazyMarkdownEditor } from '../components/New/MarkdownEditor/lazy';
|
|
18
19
|
export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import("../components/MarkdownEditor/MarkdownEditorContainer")>;
|
|
19
20
|
export { EditorThemes } from '../types/editor';
|
|
20
21
|
export type { MarkdownEditorProps } from '../components/New/MarkdownEditor/MarkdownEditor';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registers AG Grid's community modules and configures its test-id
|
|
3
|
+
* attribute exactly once, the first time either Grid generation actually
|
|
4
|
+
* renders - never merely because a module that re-exports `DialGrid`/`Grid`
|
|
5
|
+
* was imported or evaluated.
|
|
6
|
+
*
|
|
7
|
+
* Both Grid generations (`src/components/Grid/Grid.tsx`,
|
|
8
|
+
* `src/components/New/Grid/Grid.tsx`) call this at the top of their render
|
|
9
|
+
* path instead of running the registration at module scope. That keeps the
|
|
10
|
+
* side effect provably absent from the module body itself: a consumer's
|
|
11
|
+
* bundler that ends up retaining either Grid module in its graph for some
|
|
12
|
+
* other reason (e.g. an eager root-barrel re-export it cannot prove is
|
|
13
|
+
* unused) no longer thereby executes `ag-grid-community`/`ag-grid-react`
|
|
14
|
+
* registration - only actually rendering a Grid does.
|
|
15
|
+
*/
|
|
16
|
+
export declare const registerAgGridModulesOnce: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|