@hywax/cms 0.0.6 → 0.0.7
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/.nuxt/cms/editor/uplora-image.ts +1 -1
- package/.nuxt/cms/editor-content-full.ts +6 -0
- package/.nuxt/cms/editor-content-light.ts +6 -0
- package/.nuxt/cms/index.ts +3 -0
- package/.nuxt/cms/input-uplora-image.ts +15 -0
- package/cli/templates.mjs +6 -6
- package/dist/module.d.mts +1 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +139 -54
- package/dist/runtime/components/ButtonDelete.vue +3 -2
- package/dist/runtime/components/ButtonDelete.vue.d.ts +1 -0
- package/dist/runtime/components/EditorContentFull.vue +53 -0
- package/dist/runtime/components/EditorContentFull.vue.d.ts +20 -0
- package/dist/runtime/components/EditorContentLight.vue +46 -0
- package/dist/runtime/components/EditorContentLight.vue.d.ts +20 -0
- package/dist/runtime/components/InputUploraImage.vue +131 -0
- package/dist/runtime/components/InputUploraImage.vue.d.ts +35 -0
- package/dist/runtime/components/ModalConfirm.vue +2 -1
- package/dist/runtime/components/TablePanel.vue +1 -1
- package/dist/runtime/components/TablePanelColumnSorting.vue +1 -1
- package/dist/runtime/components/UploraImage.vue +2 -2
- package/dist/runtime/components/UploraImage.vue.d.ts +1 -1
- package/dist/runtime/components/prose/UploraImage.vue +1 -1
- package/dist/runtime/composables/useAsyncHandler.d.ts +12 -0
- package/dist/runtime/composables/useAsyncHandler.js +30 -0
- package/dist/runtime/composables/useUplora.d.ts +20 -0
- package/dist/runtime/composables/useUplora.js +52 -0
- package/dist/runtime/editor/components/BlockMenu.vue +43 -0
- package/dist/runtime/editor/components/BlockMenu.vue.d.ts +2 -0
- package/dist/runtime/editor/components/SlashCommand.vue +92 -0
- package/dist/runtime/editor/components/SlashCommand.vue.d.ts +7 -0
- package/dist/runtime/editor/components/TooltipLink.vue +81 -0
- package/dist/runtime/editor/components/TooltipLink.vue.d.ts +9 -0
- package/dist/runtime/editor/components/TooltipMenu.vue +75 -0
- package/dist/runtime/editor/components/TooltipMenu.vue.d.ts +9 -0
- package/dist/runtime/editor/extensions/callout/CalloutView.vue +7 -1
- package/dist/runtime/editor/extensions/uplora-image/UploraImageView.vue +7 -4
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/server/api/uplora/[id].delete.d.ts +1 -1
- package/dist/runtime/server/api/uplora/[id].delete.js +1 -1
- package/dist/runtime/server/api/uplora/index.post.d.ts +4 -1
- package/dist/runtime/server/api/uplora/index.post.js +6 -2
- package/dist/runtime/types/index.d.ts +4 -0
- package/dist/runtime/types/index.js +3 -0
- package/dist/runtime/types/tv.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,11 +2,14 @@ export * from '../components/AutocompleteSelect.vue';
|
|
|
2
2
|
export * from '../components/ButtonClear.vue';
|
|
3
3
|
export * from '../components/ButtonCopy.vue';
|
|
4
4
|
export * from '../components/ButtonDelete.vue';
|
|
5
|
+
export * from '../components/EditorContentFull.vue';
|
|
6
|
+
export * from '../components/EditorContentLight.vue';
|
|
5
7
|
export * from '../components/FormPanel.vue';
|
|
6
8
|
export * from '../components/FormPanelAsideSection.vue';
|
|
7
9
|
export * from '../components/FormPanelSection.vue';
|
|
8
10
|
export * from '../components/InputSeo.vue';
|
|
9
11
|
export * from '../components/InputSlug.vue';
|
|
12
|
+
export * from '../components/InputUploraImage.vue';
|
|
10
13
|
export * from '../components/ModalConfirm.vue';
|
|
11
14
|
export * from '../components/TableCellPreview.vue';
|
|
12
15
|
export * from '../components/TableCellSeo.vue';
|
|
@@ -19,4 +22,5 @@ export * from '../components/UploraImage.vue';
|
|
|
19
22
|
export * from './image';
|
|
20
23
|
export * from './query';
|
|
21
24
|
export * from './seo';
|
|
25
|
+
export type { ComponentSlots, ComponentVariants } from './tv';
|
|
22
26
|
export * from './utils';
|
|
@@ -2,11 +2,14 @@ export * from "../components/AutocompleteSelect.vue";
|
|
|
2
2
|
export * from "../components/ButtonClear.vue";
|
|
3
3
|
export * from "../components/ButtonCopy.vue";
|
|
4
4
|
export * from "../components/ButtonDelete.vue";
|
|
5
|
+
export * from "../components/EditorContentFull.vue";
|
|
6
|
+
export * from "../components/EditorContentLight.vue";
|
|
5
7
|
export * from "../components/FormPanel.vue";
|
|
6
8
|
export * from "../components/FormPanelAsideSection.vue";
|
|
7
9
|
export * from "../components/FormPanelSection.vue";
|
|
8
10
|
export * from "../components/InputSeo.vue";
|
|
9
11
|
export * from "../components/InputSlug.vue";
|
|
12
|
+
export * from "../components/InputUploraImage.vue";
|
|
10
13
|
export * from "../components/ModalConfirm.vue";
|
|
11
14
|
export * from "../components/TableCellPreview.vue";
|
|
12
15
|
export * from "../components/TableCellSeo.vue";
|
|
@@ -16,12 +16,12 @@ export type TVConfig<T extends Record<string, any>> = {
|
|
|
16
16
|
type Id<T> = {} & {
|
|
17
17
|
[P in keyof T]: T[P];
|
|
18
18
|
};
|
|
19
|
-
type ComponentVariants<T extends {
|
|
19
|
+
export type ComponentVariants<T extends {
|
|
20
20
|
variants?: Record<string, Record<string, any>>;
|
|
21
21
|
}> = {
|
|
22
22
|
[K in keyof T['variants']]: keyof T['variants'][K];
|
|
23
23
|
};
|
|
24
|
-
type ComponentSlots<T extends {
|
|
24
|
+
export type ComponentSlots<T extends {
|
|
25
25
|
slots?: Record<string, any>;
|
|
26
26
|
}> = Id<{
|
|
27
27
|
[K in keyof T['slots']]?: ClassValue;
|