@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.
Files changed (46) hide show
  1. package/.nuxt/cms/editor/uplora-image.ts +1 -1
  2. package/.nuxt/cms/editor-content-full.ts +6 -0
  3. package/.nuxt/cms/editor-content-light.ts +6 -0
  4. package/.nuxt/cms/index.ts +3 -0
  5. package/.nuxt/cms/input-uplora-image.ts +15 -0
  6. package/cli/templates.mjs +6 -6
  7. package/dist/module.d.mts +1 -0
  8. package/dist/module.json +1 -1
  9. package/dist/module.mjs +139 -54
  10. package/dist/runtime/components/ButtonDelete.vue +3 -2
  11. package/dist/runtime/components/ButtonDelete.vue.d.ts +1 -0
  12. package/dist/runtime/components/EditorContentFull.vue +53 -0
  13. package/dist/runtime/components/EditorContentFull.vue.d.ts +20 -0
  14. package/dist/runtime/components/EditorContentLight.vue +46 -0
  15. package/dist/runtime/components/EditorContentLight.vue.d.ts +20 -0
  16. package/dist/runtime/components/InputUploraImage.vue +131 -0
  17. package/dist/runtime/components/InputUploraImage.vue.d.ts +35 -0
  18. package/dist/runtime/components/ModalConfirm.vue +2 -1
  19. package/dist/runtime/components/TablePanel.vue +1 -1
  20. package/dist/runtime/components/TablePanelColumnSorting.vue +1 -1
  21. package/dist/runtime/components/UploraImage.vue +2 -2
  22. package/dist/runtime/components/UploraImage.vue.d.ts +1 -1
  23. package/dist/runtime/components/prose/UploraImage.vue +1 -1
  24. package/dist/runtime/composables/useAsyncHandler.d.ts +12 -0
  25. package/dist/runtime/composables/useAsyncHandler.js +30 -0
  26. package/dist/runtime/composables/useUplora.d.ts +20 -0
  27. package/dist/runtime/composables/useUplora.js +52 -0
  28. package/dist/runtime/editor/components/BlockMenu.vue +43 -0
  29. package/dist/runtime/editor/components/BlockMenu.vue.d.ts +2 -0
  30. package/dist/runtime/editor/components/SlashCommand.vue +92 -0
  31. package/dist/runtime/editor/components/SlashCommand.vue.d.ts +7 -0
  32. package/dist/runtime/editor/components/TooltipLink.vue +81 -0
  33. package/dist/runtime/editor/components/TooltipLink.vue.d.ts +9 -0
  34. package/dist/runtime/editor/components/TooltipMenu.vue +75 -0
  35. package/dist/runtime/editor/components/TooltipMenu.vue.d.ts +9 -0
  36. package/dist/runtime/editor/extensions/callout/CalloutView.vue +7 -1
  37. package/dist/runtime/editor/extensions/uplora-image/UploraImageView.vue +7 -4
  38. package/dist/runtime/index.css +1 -1
  39. package/dist/runtime/server/api/uplora/[id].delete.d.ts +1 -1
  40. package/dist/runtime/server/api/uplora/[id].delete.js +1 -1
  41. package/dist/runtime/server/api/uplora/index.post.d.ts +4 -1
  42. package/dist/runtime/server/api/uplora/index.post.js +6 -2
  43. package/dist/runtime/types/index.d.ts +4 -0
  44. package/dist/runtime/types/index.js +3 -0
  45. package/dist/runtime/types/tv.d.ts +2 -2
  46. 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
3
  "type": "module",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "description": "Hywax CMS. ⚠️ This package is intended for internal use only.",
6
6
  "repository": {
7
7
  "type": "git",