@fastkit/vui 0.7.30 → 0.7.33
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/vui.cjs.js +1 -0
- package/dist/vui.cjs.prod.js +1 -0
- package/dist/vui.d.ts +11 -4
- package/dist/vui.mjs +1 -1
- package/package.json +10 -10
- package/src/components/VWysiwygEditor/index.ts +1 -0
package/dist/vui.cjs.js
CHANGED
|
@@ -4555,6 +4555,7 @@ exports.rawIconProp = rawIconProp;
|
|
|
4555
4555
|
exports.renderNavigationItemInput = renderNavigationItemInput;
|
|
4556
4556
|
exports.resolveNavigationItemInput = resolveNavigationItemInput;
|
|
4557
4557
|
exports.resolveRawIconProp = resolveRawIconProp;
|
|
4558
|
+
exports.resolveRawWysiwygEditorTools = resolveRawWysiwygEditorTools;
|
|
4558
4559
|
exports.useControl = useControl;
|
|
4559
4560
|
exports.useControlField = useControlField;
|
|
4560
4561
|
exports.useElevation = useElevation;
|
package/dist/vui.cjs.prod.js
CHANGED
|
@@ -4555,6 +4555,7 @@ exports.rawIconProp = rawIconProp;
|
|
|
4555
4555
|
exports.renderNavigationItemInput = renderNavigationItemInput;
|
|
4556
4556
|
exports.resolveNavigationItemInput = resolveNavigationItemInput;
|
|
4557
4557
|
exports.resolveRawIconProp = resolveRawIconProp;
|
|
4558
|
+
exports.resolveRawWysiwygEditorTools = resolveRawWysiwygEditorTools;
|
|
4558
4559
|
exports.useControl = useControl;
|
|
4559
4560
|
exports.useControlField = useControlField;
|
|
4560
4561
|
exports.useElevation = useElevation;
|
package/dist/vui.d.ts
CHANGED
|
@@ -1330,12 +1330,17 @@ export declare interface RawVuiServiceOptions extends Omit<Partial<VuiServiceOpt
|
|
|
1330
1330
|
|
|
1331
1331
|
export declare type RawVuiServiceUISettings = Partial<VuiServiceUISettings>;
|
|
1332
1332
|
|
|
1333
|
-
declare type RawWysiwygEditorTool = WysiwygEditorTool | WysiwygEditorToolFactory<any>;
|
|
1333
|
+
export declare type RawWysiwygEditorTool = WysiwygEditorTool | WysiwygEditorToolFactory<any>;
|
|
1334
1334
|
|
|
1335
1335
|
declare type RecursiveArray<T> = T | RecursiveArray<T>[];
|
|
1336
1336
|
|
|
1337
1337
|
export declare function renderNavigationItemInput(input: NavigationItemInput, extraProps?: Record<string, unknown> & VNodeProps): JSX.Element;
|
|
1338
1338
|
|
|
1339
|
+
export declare interface ResolvedWysiwygEditorSettings {
|
|
1340
|
+
tools: WysiwygEditorTool[];
|
|
1341
|
+
extensions: Extensions;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1339
1344
|
export declare function resolveNavigationItemInput(input: NavigationItemInput): {
|
|
1340
1345
|
label: VNodeChild;
|
|
1341
1346
|
props: NavigationItemInput;
|
|
@@ -1343,6 +1348,8 @@ export declare function resolveNavigationItemInput(input: NavigationItemInput):
|
|
|
1343
1348
|
|
|
1344
1349
|
export declare function resolveRawIconProp(payload: boolean, prop?: RawIconProp, extraProps?: Record<string, unknown> & VNodeProps): VNodeChild;
|
|
1345
1350
|
|
|
1351
|
+
export declare function resolveRawWysiwygEditorTools(raws: RawWysiwygEditorTool[], vui: VuiService): ResolvedWysiwygEditorSettings;
|
|
1352
|
+
|
|
1346
1353
|
declare interface Rule<C extends any = any> {
|
|
1347
1354
|
<EC extends C = C>(constraints: Partial<EC>, overRides?: string | Partial<RuleSettings<EC>>): Rule<EC>;
|
|
1348
1355
|
$name: string;
|
|
@@ -10480,12 +10487,12 @@ export declare const VWysiwygEditor: DefineComponent<{
|
|
|
10480
10487
|
|
|
10481
10488
|
export declare const WysiwygBulletListTool: WysiwygEditorToolFactory<BulletListOptions>;
|
|
10482
10489
|
|
|
10483
|
-
declare interface WysiwygEditorContext {
|
|
10490
|
+
export declare interface WysiwygEditorContext {
|
|
10484
10491
|
editor: Editor;
|
|
10485
10492
|
vui: VuiService;
|
|
10486
10493
|
}
|
|
10487
10494
|
|
|
10488
|
-
declare interface WysiwygEditorTool {
|
|
10495
|
+
export declare interface WysiwygEditorTool {
|
|
10489
10496
|
key: string;
|
|
10490
10497
|
icon: IconName | ((ctx: WysiwygEditorContext) => IconName);
|
|
10491
10498
|
active?: boolean | ((ctx: WysiwygEditorContext) => boolean);
|
|
@@ -10495,7 +10502,7 @@ declare interface WysiwygEditorTool {
|
|
|
10495
10502
|
extensions?: Extensions;
|
|
10496
10503
|
}
|
|
10497
10504
|
|
|
10498
|
-
declare type WysiwygEditorToolFactory<Options = void> = (vui: VuiService, options?: Options) => WysiwygEditorTool | WysiwygEditorTool[];
|
|
10505
|
+
export declare type WysiwygEditorToolFactory<Options = void> = (vui: VuiService, options?: Options) => WysiwygEditorTool | WysiwygEditorTool[];
|
|
10499
10506
|
|
|
10500
10507
|
export declare const WysiwygFormatBoldTool: WysiwygEditorToolFactory<BoldOptions>;
|
|
10501
10508
|
|
package/dist/vui.mjs
CHANGED
|
@@ -4455,4 +4455,4 @@ function installVuiPlugin(app, opts) {
|
|
|
4455
4455
|
return app.use(VuiPlugin, opts);
|
|
4456
4456
|
}
|
|
4457
4457
|
|
|
4458
|
-
export { CONTROL_FIELD_VARIANTS, CONTROL_SIZES, PAGINATION_ALIGNS, VApp, VBreadcrumbs, VButton, VButtonGroup, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VContentSwitcher, VDataTable, VDrawerLayout, VForm, VFormControl, VGridContainer, VGridItem, VHero, VIcon, VListTile, VNavigation, VNavigationItem, VOption, VOptionGroup, VPagination, VPaper, VRadio, VRadioGroup, VSelect, VSwitch, VSwitchGroup, VTabs, VTextField, VTextarea, VToolbar, VToolbarEdge, VToolbarMenu, VToolbarTitle, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, VUI_WYSIWYG_EDITOR_SYMBOL, VWysiwygEditor, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, VuiInjectionKey, VuiPlugin, VuiService, WysiwygBulletListTool, WysiwygFormatBoldTool, WysiwygFormatItalicTool, WysiwygFormatUnderlineTool, WysiwygHistoryTool, WysiwygLinkTool, WysiwygOrderedListTool, WysiwygTextColorTool, configureDataTableDefaults, createCardProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, defineFormSelectorComponent, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|
|
4458
|
+
export { CONTROL_FIELD_VARIANTS, CONTROL_SIZES, PAGINATION_ALIGNS, VApp, VBreadcrumbs, VButton, VButtonGroup, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VContentSwitcher, VDataTable, VDrawerLayout, VForm, VFormControl, VGridContainer, VGridItem, VHero, VIcon, VListTile, VNavigation, VNavigationItem, VOption, VOptionGroup, VPagination, VPaper, VRadio, VRadioGroup, VSelect, VSwitch, VSwitchGroup, VTabs, VTextField, VTextarea, VToolbar, VToolbarEdge, VToolbarMenu, VToolbarTitle, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, VUI_WYSIWYG_EDITOR_SYMBOL, VWysiwygEditor, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, VuiInjectionKey, VuiPlugin, VuiService, WysiwygBulletListTool, WysiwygFormatBoldTool, WysiwygFormatItalicTool, WysiwygFormatUnderlineTool, WysiwygHistoryTool, WysiwygLinkTool, WysiwygOrderedListTool, WysiwygTextColorTool, configureDataTableDefaults, createCardProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, defineFormSelectorComponent, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, resolveRawWysiwygEditorTools, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastkit/vui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.33",
|
|
4
4
|
"description": "@fastkit/vui",
|
|
5
5
|
"buildOptions": {
|
|
6
6
|
"name": "Vui",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"vue": "^3.2.26"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fastkit/color-scheme": "0.7.
|
|
36
|
-
"@fastkit/icon-font": "0.7.
|
|
37
|
-
"@fastkit/tiny-logger": "0.7.
|
|
38
|
-
"@fastkit/vite-kit": "0.7.
|
|
39
|
-
"@fastkit/vue-kit": "0.7.
|
|
40
|
-
"@tiptap/extension-link": "^2.0.0-beta.
|
|
41
|
-
"@tiptap/extension-underline": "^2.0.0-beta.
|
|
42
|
-
"@tiptap/starter-kit": "^2.0.0-beta.
|
|
43
|
-
"@tiptap/vue-3": "^2.0.0-beta.
|
|
35
|
+
"@fastkit/color-scheme": "0.7.33",
|
|
36
|
+
"@fastkit/icon-font": "0.7.33",
|
|
37
|
+
"@fastkit/tiny-logger": "0.7.33",
|
|
38
|
+
"@fastkit/vite-kit": "0.7.33",
|
|
39
|
+
"@fastkit/vue-kit": "0.7.33",
|
|
40
|
+
"@tiptap/extension-link": "^2.0.0-beta.36",
|
|
41
|
+
"@tiptap/extension-underline": "^2.0.0-beta.23",
|
|
42
|
+
"@tiptap/starter-kit": "^2.0.0-beta.183",
|
|
43
|
+
"@tiptap/vue-3": "^2.0.0-beta.90",
|
|
44
44
|
"eta": "^1.12.3",
|
|
45
45
|
"fs-extra": "^9.1.0"
|
|
46
46
|
}
|