@aiquants/markdown-explorer 0.21.0 → 0.22.0
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/CHANGELOG.md +49 -0
- package/README.md +13 -8
- package/dist/EditSurface-BesNcSQj.cjs +6 -0
- package/dist/EditSurface-DNjI8pV3.js +975 -0
- package/dist/{ExplorerSplit-CdqEKz-I.cjs → ExplorerSplit-B4oNvydP.cjs} +1 -1
- package/dist/{ExplorerSplit-3WMRDA7G.js → ExplorerSplit-GUdzpDPg.js} +1 -1
- package/dist/{MultiLayout-Gf1xT-Le.js → MultiLayout-BJ-s6AaD.js} +2 -2
- package/dist/{MultiLayout-BEg1X8Jx.cjs → MultiLayout-DtKChQ_s.cjs} +1 -1
- package/dist/{NativeScrollBar-0cpp2OIu.js → NativeScrollBar-D10fsk-7.js} +1 -1
- package/dist/{NativeScrollBar-idIQsvCv.cjs → NativeScrollBar-DJKlPWvD.cjs} +1 -1
- package/dist/{TreeLayout-DJY_WqzP.cjs → TreeLayout-C1mTmoPp.cjs} +1 -1
- package/dist/{TreeLayout-DzZCgMTt.js → TreeLayout-DQT5p2vI.js} +2 -2
- package/dist/core/labels.d.cts +9 -27
- package/dist/core/labels.d.ts +9 -27
- package/dist/{index-CJgHGeZs.js → index-0pnuyLUO.js} +1445 -1515
- package/dist/index-T98wklgM.cjs +13 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{merge-BVk6pvO_.cjs → merge-CTkzzHtn.cjs} +1 -1
- package/dist/{merge-BOcofJN5.js → merge-DauzoA2W.js} +1 -1
- package/docs/behavior/dom-hooks.md +1 -1
- package/docs/behavior/layout.md +2 -1
- package/docs/behavior/localization.md +6 -5
- package/package.json +5 -5
- package/dist/EditSurface-Bwl4S1vQ.cjs +0 -7
- package/dist/EditSurface-rKoy_ndP.js +0 -880
- package/dist/index-bMaSoQTe.cjs +0 -13
package/dist/core/labels.d.cts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { SpreadsheetBlockLabelKey } from "@aiquants/markdown/code-blocks";
|
|
1
2
|
export declare const MARKDOWN_EXPLORER_LOCALES: readonly [
|
|
2
3
|
"en",
|
|
3
4
|
"ja"
|
|
4
5
|
];
|
|
5
6
|
export type MarkdownExplorerLocale = (typeof MARKDOWN_EXPLORER_LOCALES)[number];
|
|
6
7
|
export declare const DEFAULT_MARKDOWN_EXPLORER_LOCALE: MarkdownExplorerLocale;
|
|
7
|
-
export type
|
|
8
|
+
export type MarkdownExplorerSpreadsheetLabels = {
|
|
9
|
+
readonly [K in SpreadsheetBlockLabelKey as `viewerSpreadsheet${Capitalize<K>}`]: string;
|
|
10
|
+
};
|
|
11
|
+
type SpreadsheetLabelKey = keyof MarkdownExplorerSpreadsheetLabels;
|
|
12
|
+
export declare const spreadsheetLabelKeyOf: (key: SpreadsheetBlockLabelKey) => SpreadsheetLabelKey;
|
|
13
|
+
export type MarkdownExplorerLabels = MarkdownExplorerSpreadsheetLabels & {
|
|
8
14
|
readonly explorerRegion: string;
|
|
9
15
|
readonly sourceLabel: string;
|
|
10
16
|
readonly refreshTreeLabel: string;
|
|
@@ -82,6 +88,7 @@ export type MarkdownExplorerLabels = {
|
|
|
82
88
|
readonly previewRegion: string;
|
|
83
89
|
readonly previewUpdating: string;
|
|
84
90
|
readonly previewFailed: (reason: string) => string;
|
|
91
|
+
readonly previewTablePending: string;
|
|
85
92
|
readonly expandAll: string;
|
|
86
93
|
readonly collapseAll: string;
|
|
87
94
|
readonly treeSettings: string;
|
|
@@ -230,32 +237,6 @@ export type MarkdownExplorerLabels = {
|
|
|
230
237
|
readonly viewerEmbeddedVideo: string;
|
|
231
238
|
readonly viewerEmbeddedPost: string;
|
|
232
239
|
readonly viewerEmbeddedFrame: string;
|
|
233
|
-
readonly viewerSpreadsheetTable: string;
|
|
234
|
-
readonly viewerSpreadsheetZoomIn: string;
|
|
235
|
-
readonly viewerSpreadsheetZoomOut: string;
|
|
236
|
-
readonly viewerSpreadsheetResetZoom: string;
|
|
237
|
-
readonly viewerSpreadsheetHighlight: string;
|
|
238
|
-
readonly viewerSpreadsheetCopyAll: string;
|
|
239
|
-
readonly viewerSpreadsheetSaveTsv: string;
|
|
240
|
-
readonly viewerSpreadsheetSaveMenu: string;
|
|
241
|
-
readonly viewerSpreadsheetSaveTsvWithBom: string;
|
|
242
|
-
readonly viewerSpreadsheetFullscreen: string;
|
|
243
|
-
readonly viewerSpreadsheetExitFullscreen: string;
|
|
244
|
-
readonly viewerSpreadsheetFullscreenDialog: string;
|
|
245
|
-
readonly viewerSpreadsheetSize: string;
|
|
246
|
-
readonly viewerSpreadsheetFileName: string;
|
|
247
|
-
readonly viewerSpreadsheetCopied: string;
|
|
248
|
-
readonly viewerSpreadsheetCopyFailed: string;
|
|
249
|
-
readonly viewerSpreadsheetCellAnnouncement: string;
|
|
250
|
-
readonly viewerSpreadsheetEmptyCell: string;
|
|
251
|
-
readonly viewerSpreadsheetSelectionAnnouncement: string;
|
|
252
|
-
readonly viewerSpreadsheetReadOnly: string;
|
|
253
|
-
readonly viewerSpreadsheetFormatRefused: string;
|
|
254
|
-
readonly viewerSpreadsheetFenceRefused: string;
|
|
255
|
-
readonly viewerSpreadsheetEditConflict: string;
|
|
256
|
-
readonly viewerSpreadsheetOptionsError: string;
|
|
257
|
-
readonly viewerSpreadsheetLoadFailed: string;
|
|
258
|
-
readonly viewerSpreadsheetRetry: string;
|
|
259
240
|
readonly multiRegion: string;
|
|
260
241
|
readonly multiEmpty: string;
|
|
261
242
|
readonly panelLimit: (max: number) => string;
|
|
@@ -297,3 +278,4 @@ export declare const MARKDOWN_EXPLORER_LABEL_KEYS: readonly MarkdownExplorerLabe
|
|
|
297
278
|
export declare const resolveMarkdownExplorerLocale: (locale: unknown) => MarkdownExplorerLocale;
|
|
298
279
|
export declare const resolveMarkdownExplorerLabels: (locale: unknown, overrides: unknown) => MarkdownExplorerLabels;
|
|
299
280
|
export declare const areLabelOverridesEqual: (previous: unknown, next: unknown) => boolean;
|
|
281
|
+
export {};
|
package/dist/core/labels.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { SpreadsheetBlockLabelKey } from "@aiquants/markdown/code-blocks";
|
|
1
2
|
export declare const MARKDOWN_EXPLORER_LOCALES: readonly [
|
|
2
3
|
"en",
|
|
3
4
|
"ja"
|
|
4
5
|
];
|
|
5
6
|
export type MarkdownExplorerLocale = (typeof MARKDOWN_EXPLORER_LOCALES)[number];
|
|
6
7
|
export declare const DEFAULT_MARKDOWN_EXPLORER_LOCALE: MarkdownExplorerLocale;
|
|
7
|
-
export type
|
|
8
|
+
export type MarkdownExplorerSpreadsheetLabels = {
|
|
9
|
+
readonly [K in SpreadsheetBlockLabelKey as `viewerSpreadsheet${Capitalize<K>}`]: string;
|
|
10
|
+
};
|
|
11
|
+
type SpreadsheetLabelKey = keyof MarkdownExplorerSpreadsheetLabels;
|
|
12
|
+
export declare const spreadsheetLabelKeyOf: (key: SpreadsheetBlockLabelKey) => SpreadsheetLabelKey;
|
|
13
|
+
export type MarkdownExplorerLabels = MarkdownExplorerSpreadsheetLabels & {
|
|
8
14
|
readonly explorerRegion: string;
|
|
9
15
|
readonly sourceLabel: string;
|
|
10
16
|
readonly refreshTreeLabel: string;
|
|
@@ -82,6 +88,7 @@ export type MarkdownExplorerLabels = {
|
|
|
82
88
|
readonly previewRegion: string;
|
|
83
89
|
readonly previewUpdating: string;
|
|
84
90
|
readonly previewFailed: (reason: string) => string;
|
|
91
|
+
readonly previewTablePending: string;
|
|
85
92
|
readonly expandAll: string;
|
|
86
93
|
readonly collapseAll: string;
|
|
87
94
|
readonly treeSettings: string;
|
|
@@ -230,32 +237,6 @@ export type MarkdownExplorerLabels = {
|
|
|
230
237
|
readonly viewerEmbeddedVideo: string;
|
|
231
238
|
readonly viewerEmbeddedPost: string;
|
|
232
239
|
readonly viewerEmbeddedFrame: string;
|
|
233
|
-
readonly viewerSpreadsheetTable: string;
|
|
234
|
-
readonly viewerSpreadsheetZoomIn: string;
|
|
235
|
-
readonly viewerSpreadsheetZoomOut: string;
|
|
236
|
-
readonly viewerSpreadsheetResetZoom: string;
|
|
237
|
-
readonly viewerSpreadsheetHighlight: string;
|
|
238
|
-
readonly viewerSpreadsheetCopyAll: string;
|
|
239
|
-
readonly viewerSpreadsheetSaveTsv: string;
|
|
240
|
-
readonly viewerSpreadsheetSaveMenu: string;
|
|
241
|
-
readonly viewerSpreadsheetSaveTsvWithBom: string;
|
|
242
|
-
readonly viewerSpreadsheetFullscreen: string;
|
|
243
|
-
readonly viewerSpreadsheetExitFullscreen: string;
|
|
244
|
-
readonly viewerSpreadsheetFullscreenDialog: string;
|
|
245
|
-
readonly viewerSpreadsheetSize: string;
|
|
246
|
-
readonly viewerSpreadsheetFileName: string;
|
|
247
|
-
readonly viewerSpreadsheetCopied: string;
|
|
248
|
-
readonly viewerSpreadsheetCopyFailed: string;
|
|
249
|
-
readonly viewerSpreadsheetCellAnnouncement: string;
|
|
250
|
-
readonly viewerSpreadsheetEmptyCell: string;
|
|
251
|
-
readonly viewerSpreadsheetSelectionAnnouncement: string;
|
|
252
|
-
readonly viewerSpreadsheetReadOnly: string;
|
|
253
|
-
readonly viewerSpreadsheetFormatRefused: string;
|
|
254
|
-
readonly viewerSpreadsheetFenceRefused: string;
|
|
255
|
-
readonly viewerSpreadsheetEditConflict: string;
|
|
256
|
-
readonly viewerSpreadsheetOptionsError: string;
|
|
257
|
-
readonly viewerSpreadsheetLoadFailed: string;
|
|
258
|
-
readonly viewerSpreadsheetRetry: string;
|
|
259
240
|
readonly multiRegion: string;
|
|
260
241
|
readonly multiEmpty: string;
|
|
261
242
|
readonly panelLimit: (max: number) => string;
|
|
@@ -297,3 +278,4 @@ export declare const MARKDOWN_EXPLORER_LABEL_KEYS: readonly MarkdownExplorerLabe
|
|
|
297
278
|
export declare const resolveMarkdownExplorerLocale: (locale: unknown) => MarkdownExplorerLocale;
|
|
298
279
|
export declare const resolveMarkdownExplorerLabels: (locale: unknown, overrides: unknown) => MarkdownExplorerLabels;
|
|
299
280
|
export declare const areLabelOverridesEqual: (previous: unknown, next: unknown) => boolean;
|
|
281
|
+
export {};
|