@machinerd/js-module 0.11.0 → 0.11.1
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/{api-client-xK3Ua3Gr.mjs → api-client-D2UDU0fw.mjs} +1 -1
- package/dist/{api-client-BXH8Rm-J.cjs → api-client-D7WV9lod.cjs} +1 -1
- package/dist/{basic-image-D26zahpC.mjs → basic-image-C_Q1qL3X.mjs} +1 -1
- package/dist/{basic-image-Wl0IBgOX.cjs → basic-image-DqKtJzvC.cjs} +1 -1
- package/dist/editor/index.cjs +1 -1
- package/dist/editor/index.d.cts +6 -6
- package/dist/editor/index.d.mts +5 -5
- package/dist/editor/index.mjs +1 -1
- package/dist/editor/nodes/basic-image/index.cjs +1 -1
- package/dist/editor/nodes/basic-image/index.d.cts +3 -3
- package/dist/editor/nodes/basic-image/index.d.mts +3 -3
- package/dist/editor/nodes/basic-image/index.mjs +1 -1
- package/dist/editor/nodes/custom-heading/index.d.cts +1 -1
- package/dist/editor/nodes/menu-wrapper/index.d.cts +9 -9
- package/dist/editor/nodes/menu-wrapper/index.d.mts +9 -9
- package/dist/editor/nodes/node-resize/index.d.cts +6 -6
- package/dist/editor/nodes/node-resize/index.d.mts +6 -6
- package/dist/editor/nodes/node-size/index.d.cts +2 -2
- package/dist/editor/nodes/node-size/index.d.mts +2 -2
- package/dist/editor/nodes/node-view-context/index.d.cts +1 -1
- package/dist/editor/nodes/node-view-context/index.d.mts +1 -1
- package/dist/editor/nodes/subset-image/index.cjs +1 -1
- package/dist/editor/nodes/subset-image/index.d.cts +3 -3
- package/dist/editor/nodes/subset-image/index.d.mts +3 -3
- package/dist/editor/nodes/subset-image/index.mjs +1 -1
- package/dist/editor/nodes/tabs/index.d.cts +1 -1
- package/dist/editor/nodes/tabs/index.d.mts +1 -1
- package/dist/hooks/use-drag-scroll/index.d.mts +2 -2
- package/dist/hooks/use-scroll-top/index.d.cts +2 -2
- package/dist/hooks/use-sticky/index.d.cts +2 -2
- package/dist/hooks/use-subset-image/index.cjs +1 -1
- package/dist/hooks/use-subset-image/index.mjs +1 -1
- package/dist/{image-kIL2PjTS.cjs → image-BH4lb2K5.cjs} +1 -1
- package/dist/{image-CAEWHuaM.mjs → image-DCRvyqH3.mjs} +1 -1
- package/dist/{index-CqZGdObz.d.mts → index-BE0yu6JW.d.mts} +2 -2
- package/dist/{index-DHXj3w9p.d.mts → index-BHIPhj3k.d.mts} +4 -4
- package/dist/index-BHsUbtLC.d.cts +11 -0
- package/dist/{index-D_Hfb-z2.d.cts → index-BKn2KTaw.d.cts} +7 -7
- package/dist/{index-BJgz2hkX.d.cts → index-BMxk2WJs.d.mts} +7 -7
- package/dist/{index-BTUIpavj.d.mts → index-Bokh2eMG.d.mts} +6 -6
- package/dist/{index-CV-nhdHd.d.mts → index-ByhcgmSd.d.cts} +3 -3
- package/dist/{index-BD2sHM7a.d.cts → index-C-4QxPEj.d.cts} +6 -6
- package/dist/{index-BlQhHmTa.d.cts → index-CFP0MOF3.d.mts} +9 -9
- package/dist/{index-DDG8MvPD.d.mts → index-CLS7OQza.d.cts} +9 -9
- package/dist/{index-BKqI0jBF.d.mts → index-CN8vImmH.d.cts} +7 -7
- package/dist/{index-BMZtFPh-.d.cts → index-CTp6ZndQ.d.mts} +3 -3
- package/dist/{index-DvEtYdm4.d.cts → index-Cjrxf1Di.d.cts} +4 -4
- package/dist/{index-X2XMkoEC.d.mts → index-CoMstKUb.d.cts} +4 -4
- package/dist/{index-BT7Y7xkm.d.cts → index-CvoFIe_Y.d.cts} +2 -2
- package/dist/{index-DEolXbf5.d.cts → index-DEbgGPvL.d.mts} +4 -4
- package/dist/{index-DCzaZKG0.d.cts → index-DOLVFIAi.d.cts} +2 -2
- package/dist/{index-DrUJZDtK.d.cts → index-F4q_POK6.d.mts} +4 -4
- package/dist/{index-DSVr-P8y.d.mts → index-LJemrhZD.d.mts} +7 -7
- package/dist/{index-BoJg4HO3.d.mts → index-PHOOF3aY.d.cts} +7 -7
- package/dist/index-qmN89543.d.mts +11 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/api-client/index.cjs +1 -1
- package/dist/providers/api-client/index.d.cts +3 -3
- package/dist/providers/api-client/index.d.mts +3 -3
- package/dist/providers/api-client/index.mjs +1 -1
- package/dist/providers/editor/index.d.cts +2 -2
- package/dist/providers/editor/index.d.mts +2 -2
- package/dist/providers/noti-stack/index.d.cts +2 -2
- package/dist/providers/noti-stack/index.d.mts +2 -2
- package/dist/src-DuOwAcib.cjs +1 -0
- package/dist/src-blAkna22.mjs +1 -0
- package/dist/{subset-image-AaZA0RuB.cjs → subset-image-Bukna29P.cjs} +1 -1
- package/dist/{subset-image-DnZ2TqZY.mjs → subset-image-C7qO8AiN.mjs} +1 -1
- package/dist/ui/admin/async-select-field/index.d.cts +4 -4
- package/dist/ui/admin/async-select-field/index.d.mts +4 -4
- package/dist/ui/admin/country-select/index.d.cts +9 -9
- package/dist/ui/admin/country-select/index.d.mts +9 -9
- package/dist/ui/admin/dropzone-field/index.cjs +1 -1
- package/dist/ui/admin/dropzone-field/index.d.cts +12 -12
- package/dist/ui/admin/dropzone-field/index.d.mts +12 -12
- package/dist/ui/admin/dropzone-field/index.mjs +1 -1
- package/dist/ui/admin/email-field/index.d.cts +4 -4
- package/dist/ui/admin/email-field/index.d.mts +4 -4
- package/dist/ui/admin/file-field/index.d.cts +5 -5
- package/dist/ui/admin/file-field/index.d.mts +5 -5
- package/dist/ui/admin/image-list-field/index.cjs +1 -1
- package/dist/ui/admin/image-list-field/index.d.cts +7 -7
- package/dist/ui/admin/image-list-field/index.d.mts +7 -7
- package/dist/ui/admin/image-list-field/index.mjs +1 -1
- package/dist/ui/admin/label/index.d.cts +1 -1
- package/dist/ui/admin/label/index.d.mts +1 -1
- package/dist/ui/admin/priority-field/index.cjs +1 -1
- package/dist/ui/admin/priority-field/index.d.cts +3 -3
- package/dist/ui/admin/priority-field/index.d.mts +3 -3
- package/dist/ui/admin/priority-field/index.mjs +1 -1
- package/dist/ui/admin/select-field/index.d.cts +2 -2
- package/dist/ui/admin/select-field/index.d.mts +2 -2
- package/dist/ui/admin/series-field/index.d.cts +5 -5
- package/dist/ui/admin/series-field/index.d.mts +5 -5
- package/dist/ui/admin/sns-field/index.d.cts +4 -4
- package/dist/ui/admin/sns-field/index.d.mts +4 -4
- package/dist/ui/admin/source-field/index.d.cts +4 -4
- package/dist/ui/admin/source-field/index.d.mts +4 -4
- package/dist/ui/admin/text-area-field/index.d.cts +6 -6
- package/dist/ui/admin/text-area-field/index.d.mts +6 -6
- package/dist/ui/admin/text-field/index.d.cts +2 -2
- package/dist/ui/admin/text-field/index.d.mts +2 -2
- package/dist/ui/admin/url-field/index.d.cts +4 -4
- package/dist/ui/admin/url-field/index.d.mts +4 -4
- package/dist/ui/admin/video-field/index.d.cts +4 -4
- package/dist/ui/admin/video-field/index.d.mts +4 -4
- package/dist/ui/admin/with-extra-field/index.d.cts +3 -3
- package/dist/ui/admin/with-extra-field/index.d.mts +3 -3
- package/dist/ui/bottom-app-bar/index.d.cts +3 -3
- package/dist/ui/bottom-app-bar/index.d.mts +1 -1
- package/dist/ui/button/index.d.cts +10 -10
- package/dist/ui/button/index.d.mts +12 -12
- package/dist/ui/carousel/index.d.cts +9 -9
- package/dist/ui/carousel/index.d.mts +9 -9
- package/dist/ui/conditional-wrapper/index.d.cts +3 -3
- package/dist/ui/country-flag/index.d.cts +2 -2
- package/dist/ui/dialog/index.d.cts +6 -6
- package/dist/ui/dialog/index.d.mts +6 -6
- package/dist/ui/dnd/index.d.cts +2 -2
- package/dist/ui/dropdown/index.d.cts +2 -2
- package/dist/ui/dropdown/index.d.mts +2 -2
- package/dist/ui/image/index.cjs +1 -1
- package/dist/ui/image/index.d.cts +1 -1
- package/dist/ui/image/index.d.mts +1 -1
- package/dist/ui/image/index.mjs +1 -1
- package/dist/ui/input/index.d.cts +8 -8
- package/dist/ui/input/index.d.mts +8 -8
- package/dist/ui/radius-handler/index.d.cts +2 -2
- package/dist/ui/radius-handler/index.d.mts +2 -2
- package/dist/ui/sheet/index.d.cts +2 -2
- package/dist/ui/sheet/index.d.mts +2 -2
- package/dist/ui/skeleton/index.d.cts +4 -4
- package/dist/ui/skeleton/index.d.mts +6 -6
- package/dist/ui/stable-text/index.d.cts +2 -2
- package/dist/ui/stable-text/index.d.mts +2 -2
- package/dist/ui/tooltip/index.d.cts +2 -2
- package/dist/ui/tooltip/index.d.mts +2 -2
- package/dist/{use-subset-image-B9ZSiVjx.mjs → use-subset-image-DfYVewmw.mjs} +1 -1
- package/dist/{use-subset-image-BUurDItP.cjs → use-subset-image-wa7xQOwx.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-C_YTuhwX.d.mts +0 -11
- package/dist/index-D-NPxMFr.d.cts +0 -11
- package/dist/src-BB55dPBE.mjs +0 -1
- package/dist/src-Dz1mULYA.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./src-
|
|
1
|
+
import{t as e}from"./src-blAkna22.mjs";import{createContext as t,useContext as n,useMemo as r}from"react";import{jsx as i}from"react/jsx-runtime";const a=t(null);function o({children:t,config:n}){let{apiEndpoint:o,cdnEndpoint:s}=n,c=r(()=>new e({apiEndpoint:o,cdnEndpoint:s}),[o,s]);return i(a.Provider,{value:c,children:t})}function s(){let e=n(a);if(!e)throw Error(`ApiClient not found`);return e}export{s as n,o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./src-
|
|
1
|
+
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./src-DuOwAcib.cjs`);let n=require(`react`),r=require(`react/jsx-runtime`);const i=(0,n.createContext)(null);function a({children:e,config:a}){let{apiEndpoint:o,cdnEndpoint:s}=a,c=(0,n.useMemo)(()=>new t.t({apiEndpoint:o,cdnEndpoint:s}),[o,s]);return(0,r.jsx)(i.Provider,{value:c,children:e})}function o(){let e=(0,n.useContext)(i);if(!e)throw Error(`ApiClient not found`);return e}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./subset-image-
|
|
1
|
+
import{o as e}from"./subset-image-C7qO8AiN.mjs";import{mergeAttributes as t}from"@tiptap/core";import n from"@tiptap/extension-image";const r=n.extend({group:`block`,atom:!0,draggable:!0,addOptions(){return{...this.parent?.(),plugins:[],size:{}}},parseHTML(){return[{tag:`img`}]},renderHTML({HTMLAttributes:e}){return[`img`,t(e)]},addAttributes(){return{...this.parent?.(),src:{default:``},alt:{default:``},width:{default:400},height:{default:400},imagePosition:{default:`left`},imageRadius:{default:0},originalWidth:{default:1280}}},addNodeView(){return e(this.options.plugins,this.options.size)}});export{r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./subset-image-
|
|
1
|
+
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./subset-image-Bukna29P.cjs`);let n=require(`@tiptap/core`),r=require(`@tiptap/extension-image`);r=e.t(r);const i=r.default.extend({group:`block`,atom:!0,draggable:!0,addOptions(){return{...this.parent?.(),plugins:[],size:{}}},parseHTML(){return[{tag:`img`}]},renderHTML({HTMLAttributes:e}){return[`img`,(0,n.mergeAttributes)(e)]},addAttributes(){return{...this.parent?.(),src:{default:``},alt:{default:``},width:{default:400},height:{default:400},imagePosition:{default:`left`},imageRadius:{default:0},originalWidth:{default:1280}}},addNodeView(){return t.o(this.options.plugins,this.options.size)}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
package/dist/editor/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../src-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../src-DuOwAcib.cjs`);const t=require(`../align-Dp4avXIm.cjs`),n=require(`../table-controls-CQmqnc4R.cjs`),r=require(`../table-resize-DI2Pf2Mi.cjs`);require(`../file-DeZ1OKdy.cjs`),require(`../api-client-D7WV9lod.cjs`),require(`../use-subset-image-wa7xQOwx.cjs`),require(`../skeleton-7P1IZD3G.cjs`),require(`../image-BH4lb2K5.cjs`),require(`../editor-DvLUotoh.cjs`),require(`../node-view-context-YTl_1gGD.cjs`),require(`../use-drag-resize-BO3zANv3.cjs`),require(`../node-resize-dantnBzP.cjs`),require(`../node-size-BQQGo7t7.cjs`);const i=require(`../subset-image-Bukna29P.cjs`),a=require(`../basic-image-DqKtJzvC.cjs`),o=require(`../custom-heading-By14y5ug.cjs`);require(`../subset-image-P2NQM0-3.cjs`);const s=require(`../table-DmwOZtdl.cjs`),c=require(`../tabs-DiryrHZ7.cjs`);let l=require(`@tiptap/extension-text-style`),u=require(`@tiptap/extension-details`);u=e.t(u);let d=require(`@tiptap/extension-youtube`);d=e.t(d);let f=require(`@tiptap/starter-kit`);f=e.t(f);const p=(e,t)=>t?e.configure(t):e;var m=class{#e=[];#t=new Set;textset(e={}){return this.#t.has(`text`)?this:(this.#t.add(`text`),this.#e.push(l.TextStyleKit.configure({color:{types:[`textStyle`,`listItem`]},...e.textStyleKit}),f.default.configure({bulletList:{keepMarks:!0,keepAttributes:!1},orderedList:{keepMarks:!0,keepAttributes:!1},link:{openOnClick:!1,autolink:!0,defaultProtocol:`https`},heading:!1,...e.starterKit}),o.t.configure({levels:[1,2,3],...e.customHeading})),this)}mediaset(e={}){return this.#t.has(`media`)?this:(this.#t.add(`media`),this.#e.push(p(a.t,e.basicImage),p(i.r,e.subsetImage),d.default.configure({controls:!1,nocookie:!0,width:480,height:320,...e.youtube})),this)}tableset(e={}){return this.#t.has(`table`)?this:(this.#t.add(`table`),this.#e.push(s.t.configure({resizable:!0,...e.table}),p(s.i,e.tableRow),p(s.n,e.tableCell),p(s.r,e.tableHeader),p(r.t,e.tableResize),p(n.t,e.tableControls)),this)}layoutset(e={}){return this.#t.has(`layout`)?this:(this.#t.add(`layout`),this.#e.push(p(c.o,e.tabs),p(c.a,e.tabTitle),p(c.i,e.tabContent),t.t.configure({types:[`paragraph`,`heading`],defaultAlign:`left`,...e.align}),u.default.configure({persist:!0,HTMLAttributes:{class:`details`},...e.details}),p(u.DetailsContent,e.detailsContent),p(u.DetailsSummary,e.detailsSummary)),this)}otherset(e=[]){return this.#e.push(...e),this}init(){return[...this.#e]}};exports.Loader=m;
|
package/dist/editor/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as Align } from "../index-BxqkZ148.cjs";
|
|
2
2
|
import { n as TableControls } from "../index-Dhkwd0rJ.cjs";
|
|
3
3
|
import { t as TableResize } from "../index-D0Uuydfo.cjs";
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../index-
|
|
6
|
-
import { t as BasicImage } from "../index-
|
|
7
|
-
import { t as CustomHeading } from "../index-
|
|
8
|
-
import { r as SubsetImage } from "../index-
|
|
4
|
+
import "../index-Cjrxf1Di.cjs";
|
|
5
|
+
import "../index-ByhcgmSd.cjs";
|
|
6
|
+
import { t as BasicImage } from "../index-BHsUbtLC.cjs";
|
|
7
|
+
import { t as CustomHeading } from "../index-CvoFIe_Y.cjs";
|
|
8
|
+
import { r as SubsetImage } from "../index-C-4QxPEj.cjs";
|
|
9
9
|
import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../index-DTtrJ-ei.cjs";
|
|
10
|
-
import { c as TabTitle, l as Tabs, s as TabContent } from "../index-
|
|
10
|
+
import { c as TabTitle, l as Tabs, s as TabContent } from "../index-CoMstKUb.cjs";
|
|
11
11
|
import { Extensions } from "@tiptap/core";
|
|
12
12
|
import { TextStyleKit } from "@tiptap/extension-text-style";
|
|
13
13
|
import Details, { DetailsContent, DetailsSummary } from "@tiptap/extension-details";
|
package/dist/editor/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as Align } from "../index-D5uh7klO.mjs";
|
|
2
2
|
import { n as TableControls } from "../index-Cxc49Lmr.mjs";
|
|
3
3
|
import { t as TableResize } from "../index-aA4ojwuQ.mjs";
|
|
4
|
-
import "../index-
|
|
5
|
-
import "../index-
|
|
6
|
-
import { t as BasicImage } from "../index-
|
|
4
|
+
import "../index-BHIPhj3k.mjs";
|
|
5
|
+
import "../index-CTp6ZndQ.mjs";
|
|
6
|
+
import { t as BasicImage } from "../index-qmN89543.mjs";
|
|
7
7
|
import { t as CustomHeading } from "../index-C3wA7a3i.mjs";
|
|
8
|
-
import { r as SubsetImage } from "../index-
|
|
8
|
+
import { r as SubsetImage } from "../index-Bokh2eMG.mjs";
|
|
9
9
|
import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../index-DeXwS1TW.mjs";
|
|
10
|
-
import { c as TabTitle, l as Tabs, s as TabContent } from "../index-
|
|
10
|
+
import { c as TabTitle, l as Tabs, s as TabContent } from "../index-DEbgGPvL.mjs";
|
|
11
11
|
import { TextStyleKit } from "@tiptap/extension-text-style";
|
|
12
12
|
import Details, { DetailsContent, DetailsSummary } from "@tiptap/extension-details";
|
|
13
13
|
import Youtube from "@tiptap/extension-youtube";
|
package/dist/editor/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../src-
|
|
1
|
+
"use client";import"../src-blAkna22.mjs";import{t as e}from"../align-CdK8Ar2w.mjs";import{t}from"../table-controls-CpCGiLvR.mjs";import{t as n}from"../table-resize-w9EsReKV.mjs";import"../file-CapBKYce.mjs";import"../api-client-D2UDU0fw.mjs";import"../use-subset-image-DfYVewmw.mjs";import"../skeleton-D4Q9wT-o.mjs";import"../image-DCRvyqH3.mjs";import"../editor-CHuJTM4H.mjs";import"../node-view-context-D-1j5isf.mjs";import"../use-drag-resize--3PrrhJj.mjs";import"../node-resize-Cs4wR_HY.mjs";import"../node-size-Bg-g2Png.mjs";import{r}from"../subset-image-C7qO8AiN.mjs";import{t as i}from"../basic-image-C_Q1qL3X.mjs";import{t as a}from"../custom-heading-eGRLcDQZ.mjs";import"../subset-image-Co0fWefj.mjs";import{i as o,n as s,r as c,t as l}from"../table-CKVL_ezW.mjs";import{a as u,i as d,o as f}from"../tabs-DQ1db_eg.mjs";import{TextStyleKit as p}from"@tiptap/extension-text-style";import m,{DetailsContent as h,DetailsSummary as g}from"@tiptap/extension-details";import _ from"@tiptap/extension-youtube";import v from"@tiptap/starter-kit";const y=(e,t)=>t?e.configure(t):e;var b=class{#e=[];#t=new Set;textset(e={}){return this.#t.has(`text`)?this:(this.#t.add(`text`),this.#e.push(p.configure({color:{types:[`textStyle`,`listItem`]},...e.textStyleKit}),v.configure({bulletList:{keepMarks:!0,keepAttributes:!1},orderedList:{keepMarks:!0,keepAttributes:!1},link:{openOnClick:!1,autolink:!0,defaultProtocol:`https`},heading:!1,...e.starterKit}),a.configure({levels:[1,2,3],...e.customHeading})),this)}mediaset(e={}){return this.#t.has(`media`)?this:(this.#t.add(`media`),this.#e.push(y(i,e.basicImage),y(r,e.subsetImage),_.configure({controls:!1,nocookie:!0,width:480,height:320,...e.youtube})),this)}tableset(e={}){return this.#t.has(`table`)?this:(this.#t.add(`table`),this.#e.push(l.configure({resizable:!0,...e.table}),y(o,e.tableRow),y(s,e.tableCell),y(c,e.tableHeader),y(n,e.tableResize),y(t,e.tableControls)),this)}layoutset(t={}){return this.#t.has(`layout`)?this:(this.#t.add(`layout`),this.#e.push(y(f,t.tabs),y(u,t.tabTitle),y(d,t.tabContent),e.configure({types:[`paragraph`,`heading`],defaultAlign:`left`,...t.align}),m.configure({persist:!0,HTMLAttributes:{class:`details`},...t.details}),y(h,t.detailsContent),y(g,t.detailsSummary)),this)}otherset(e=[]){return this.#e.push(...e),this}init(){return[...this.#e]}};export{b as Loader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../../src-
|
|
1
|
+
"use client";require(`../../../src-DuOwAcib.cjs`),require(`../../../file-DeZ1OKdy.cjs`),require(`../../../api-client-D7WV9lod.cjs`),require(`../../../use-subset-image-wa7xQOwx.cjs`),require(`../../../skeleton-7P1IZD3G.cjs`),require(`../../../image-BH4lb2K5.cjs`),require(`../../../editor-DvLUotoh.cjs`),require(`../../../node-view-context-YTl_1gGD.cjs`),require(`../../../use-drag-resize-BO3zANv3.cjs`),require(`../../../node-resize-dantnBzP.cjs`),require(`../../../node-size-BQQGo7t7.cjs`),require(`../../../subset-image-Bukna29P.cjs`);const e=require(`../../../basic-image-DqKtJzvC.cjs`);exports.BasicImage=e.t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import "../../../index-
|
|
3
|
-
import { t as BasicImage } from "../../../index-
|
|
1
|
+
import "../../../index-Cjrxf1Di.cjs";
|
|
2
|
+
import "../../../index-ByhcgmSd.cjs";
|
|
3
|
+
import { t as BasicImage } from "../../../index-BHsUbtLC.cjs";
|
|
4
4
|
export { BasicImage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import "../../../index-
|
|
3
|
-
import { t as BasicImage } from "../../../index-
|
|
1
|
+
import "../../../index-BHIPhj3k.mjs";
|
|
2
|
+
import "../../../index-CTp6ZndQ.mjs";
|
|
3
|
+
import { t as BasicImage } from "../../../index-qmN89543.mjs";
|
|
4
4
|
export { BasicImage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../../src-
|
|
1
|
+
"use client";import"../../../src-blAkna22.mjs";import"../../../file-CapBKYce.mjs";import"../../../api-client-D2UDU0fw.mjs";import"../../../use-subset-image-DfYVewmw.mjs";import"../../../skeleton-D4Q9wT-o.mjs";import"../../../image-DCRvyqH3.mjs";import"../../../editor-CHuJTM4H.mjs";import"../../../node-view-context-D-1j5isf.mjs";import"../../../use-drag-resize--3PrrhJj.mjs";import"../../../node-resize-Cs4wR_HY.mjs";import"../../../node-size-Bg-g2Png.mjs";import"../../../subset-image-C7qO8AiN.mjs";import{t as e}from"../../../basic-image-C_Q1qL3X.mjs";export{e as BasicImage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CustomHeading } from "../../../index-
|
|
1
|
+
import { t as CustomHeading } from "../../../index-CvoFIe_Y.cjs";
|
|
2
2
|
export { CustomHeading };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as useNodeView } from "../../../index-
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import { o as useNodeView } from "../../../index-Cjrxf1Di.cjs";
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
|
+
import * as react5 from "react";
|
|
4
4
|
import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/editor/nodes/menu-wrapper/menu-wrapper.d.ts
|
|
@@ -17,7 +17,7 @@ declare const MenuWrapperItem: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
onMouseDown,
|
|
19
19
|
...rest
|
|
20
|
-
}: MenuWrapperItemProps) =>
|
|
20
|
+
}: MenuWrapperItemProps) => react_jsx_runtime7.JSX.Element;
|
|
21
21
|
interface MenuWrapperPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
22
22
|
children?: ReactNode;
|
|
23
23
|
}
|
|
@@ -25,17 +25,17 @@ declare const MenuWrapperPanel: ({
|
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
27
|
...rest
|
|
28
|
-
}: MenuWrapperPanelProps) =>
|
|
28
|
+
}: MenuWrapperPanelProps) => react_jsx_runtime7.JSX.Element | null;
|
|
29
29
|
declare const useMenuPanel: <K extends string = string>(initial?: K | null) => {
|
|
30
30
|
activeKey: K | null;
|
|
31
31
|
toggle: (key: K) => void;
|
|
32
|
-
setActiveKey:
|
|
32
|
+
setActiveKey: react5.Dispatch<react5.SetStateAction<K | null>>;
|
|
33
33
|
};
|
|
34
34
|
declare const MenuWrapper: (({
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
...rest
|
|
38
|
-
}: MenuWrapperProps) =>
|
|
38
|
+
}: MenuWrapperProps) => react_jsx_runtime7.JSX.Element) & {
|
|
39
39
|
Item: ({
|
|
40
40
|
active,
|
|
41
41
|
className,
|
|
@@ -43,12 +43,12 @@ declare const MenuWrapper: (({
|
|
|
43
43
|
onClick,
|
|
44
44
|
onMouseDown,
|
|
45
45
|
...rest
|
|
46
|
-
}: MenuWrapperItemProps) =>
|
|
46
|
+
}: MenuWrapperItemProps) => react_jsx_runtime7.JSX.Element;
|
|
47
47
|
Panel: ({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...rest
|
|
51
|
-
}: MenuWrapperPanelProps) =>
|
|
51
|
+
}: MenuWrapperPanelProps) => react_jsx_runtime7.JSX.Element | null;
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { MenuWrapper, MenuWrapperItem, type MenuWrapperItemProps, MenuWrapperPanel, type MenuWrapperPanelProps, type MenuWrapperProps, useMenuPanel, useNodeView };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as useNodeView } from "../../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { o as useNodeView } from "../../../index-BHIPhj3k.mjs";
|
|
2
|
+
import * as react13 from "react";
|
|
3
3
|
import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/editor/nodes/menu-wrapper/menu-wrapper.d.ts
|
|
7
7
|
interface MenuWrapperProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -17,7 +17,7 @@ declare const MenuWrapperItem: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
onMouseDown,
|
|
19
19
|
...rest
|
|
20
|
-
}: MenuWrapperItemProps) =>
|
|
20
|
+
}: MenuWrapperItemProps) => react_jsx_runtime2.JSX.Element;
|
|
21
21
|
interface MenuWrapperPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
22
22
|
children?: ReactNode;
|
|
23
23
|
}
|
|
@@ -25,17 +25,17 @@ declare const MenuWrapperPanel: ({
|
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
27
|
...rest
|
|
28
|
-
}: MenuWrapperPanelProps) =>
|
|
28
|
+
}: MenuWrapperPanelProps) => react_jsx_runtime2.JSX.Element | null;
|
|
29
29
|
declare const useMenuPanel: <K extends string = string>(initial?: K | null) => {
|
|
30
30
|
activeKey: K | null;
|
|
31
31
|
toggle: (key: K) => void;
|
|
32
|
-
setActiveKey:
|
|
32
|
+
setActiveKey: react13.Dispatch<react13.SetStateAction<K | null>>;
|
|
33
33
|
};
|
|
34
34
|
declare const MenuWrapper: (({
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
...rest
|
|
38
|
-
}: MenuWrapperProps) =>
|
|
38
|
+
}: MenuWrapperProps) => react_jsx_runtime2.JSX.Element) & {
|
|
39
39
|
Item: ({
|
|
40
40
|
active,
|
|
41
41
|
className,
|
|
@@ -43,12 +43,12 @@ declare const MenuWrapper: (({
|
|
|
43
43
|
onClick,
|
|
44
44
|
onMouseDown,
|
|
45
45
|
...rest
|
|
46
|
-
}: MenuWrapperItemProps) =>
|
|
46
|
+
}: MenuWrapperItemProps) => react_jsx_runtime2.JSX.Element;
|
|
47
47
|
Panel: ({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...rest
|
|
51
|
-
}: MenuWrapperPanelProps) =>
|
|
51
|
+
}: MenuWrapperPanelProps) => react_jsx_runtime2.JSX.Element | null;
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { MenuWrapper, MenuWrapperItem, type MenuWrapperItemProps, MenuWrapperPanel, type MenuWrapperPanelProps, type MenuWrapperProps, useMenuPanel, useNodeView };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as NodeViewPlugin } from "../../../index-
|
|
1
|
+
import { n as NodeViewPlugin } from "../../../index-Cjrxf1Di.cjs";
|
|
2
2
|
import { i as UseResizeProps, n as ResizeDirection } from "../../../index-CLxl-tUO.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
4
|
+
import * as react29 from "react";
|
|
5
5
|
import { ComponentProps } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/editor/nodes/node-resize/node-resize.d.ts
|
|
@@ -11,14 +11,14 @@ interface NodeResizerProps extends Omit<ComponentProps<typeof ResizeHandler>, 'd
|
|
|
11
11
|
declare const NodeResizer: ({
|
|
12
12
|
directions,
|
|
13
13
|
...rest
|
|
14
|
-
}: NodeResizerProps) =>
|
|
14
|
+
}: NodeResizerProps) => react_jsx_runtime31.JSX.Element;
|
|
15
15
|
interface ResizeHandlerProps extends UseResizeProps {
|
|
16
16
|
direction: ResizeDirection;
|
|
17
17
|
}
|
|
18
|
-
declare const ResizeHandler:
|
|
18
|
+
declare const ResizeHandler: react29.MemoExoticComponent<({
|
|
19
19
|
direction,
|
|
20
20
|
...props
|
|
21
|
-
}: ResizeHandlerProps) =>
|
|
21
|
+
}: ResizeHandlerProps) => react_jsx_runtime31.JSX.Element>;
|
|
22
22
|
declare const nodeResizer: (options?: {
|
|
23
23
|
directions?: ResizeDirection[];
|
|
24
24
|
}) => NodeViewPlugin;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as NodeViewPlugin } from "../../../index-
|
|
1
|
+
import { n as NodeViewPlugin } from "../../../index-BHIPhj3k.mjs";
|
|
2
2
|
import { i as UseResizeProps, n as ResizeDirection } from "../../../index-wiRVGgrx.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react25 from "react";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/editor/nodes/node-resize/node-resize.d.ts
|
|
8
8
|
interface NodeResizerProps extends Omit<ComponentProps<typeof ResizeHandler>, 'direction'> {
|
|
@@ -11,14 +11,14 @@ interface NodeResizerProps extends Omit<ComponentProps<typeof ResizeHandler>, 'd
|
|
|
11
11
|
declare const NodeResizer: ({
|
|
12
12
|
directions,
|
|
13
13
|
...rest
|
|
14
|
-
}: NodeResizerProps) =>
|
|
14
|
+
}: NodeResizerProps) => react_jsx_runtime24.JSX.Element;
|
|
15
15
|
interface ResizeHandlerProps extends UseResizeProps {
|
|
16
16
|
direction: ResizeDirection;
|
|
17
17
|
}
|
|
18
|
-
declare const ResizeHandler:
|
|
18
|
+
declare const ResizeHandler: react25.MemoExoticComponent<({
|
|
19
19
|
direction,
|
|
20
20
|
...props
|
|
21
|
-
}: ResizeHandlerProps) =>
|
|
21
|
+
}: ResizeHandlerProps) => react_jsx_runtime24.JSX.Element>;
|
|
22
22
|
declare const nodeResizer: (options?: {
|
|
23
23
|
directions?: ResizeDirection[];
|
|
24
24
|
}) => NodeViewPlugin;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { a as nodeSize, i as NodeSizeProps, n as NodeSizePlugin, r as NodeSizePluginOptions, t as NodeSize } from "../../../index-
|
|
1
|
+
import "../../../index-Cjrxf1Di.cjs";
|
|
2
|
+
import { a as nodeSize, i as NodeSizeProps, n as NodeSizePlugin, r as NodeSizePluginOptions, t as NodeSize } from "../../../index-ByhcgmSd.cjs";
|
|
3
3
|
export { NodeSize, NodeSizePlugin, NodeSizePluginOptions, NodeSizeProps, nodeSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { a as nodeSize, i as NodeSizeProps, n as NodeSizePlugin, r as NodeSizePluginOptions, t as NodeSize } from "../../../index-
|
|
1
|
+
import "../../../index-BHIPhj3k.mjs";
|
|
2
|
+
import { a as nodeSize, i as NodeSizeProps, n as NodeSizePlugin, r as NodeSizePluginOptions, t as NodeSize } from "../../../index-CTp6ZndQ.mjs";
|
|
3
3
|
export { NodeSize, NodeSizePlugin, NodeSizePluginOptions, NodeSizeProps, nodeSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginNodeViewProps, c as withNodeViewChrome, i as PluginNodeView, n as NodeViewPlugin, o as useNodeView, r as NodeViewValue, s as useNodeViewPlugins, t as NodeViewChrome } from "../../../index-
|
|
1
|
+
import { a as PluginNodeViewProps, c as withNodeViewChrome, i as PluginNodeView, n as NodeViewPlugin, o as useNodeView, r as NodeViewValue, s as useNodeViewPlugins, t as NodeViewChrome } from "../../../index-Cjrxf1Di.cjs";
|
|
2
2
|
export { NodeViewChrome, NodeViewPlugin, NodeViewValue, PluginNodeView, PluginNodeViewProps, useNodeView, useNodeViewPlugins, withNodeViewChrome };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PluginNodeViewProps, c as withNodeViewChrome, i as PluginNodeView, n as NodeViewPlugin, o as useNodeView, r as NodeViewValue, s as useNodeViewPlugins, t as NodeViewChrome } from "../../../index-
|
|
1
|
+
import { a as PluginNodeViewProps, c as withNodeViewChrome, i as PluginNodeView, n as NodeViewPlugin, o as useNodeView, r as NodeViewValue, s as useNodeViewPlugins, t as NodeViewChrome } from "../../../index-BHIPhj3k.mjs";
|
|
2
2
|
export { NodeViewChrome, NodeViewPlugin, NodeViewValue, PluginNodeView, PluginNodeViewProps, useNodeView, useNodeViewPlugins, withNodeViewChrome };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../../src-
|
|
1
|
+
"use client";require(`../../../src-DuOwAcib.cjs`),require(`../../../file-DeZ1OKdy.cjs`),require(`../../../api-client-D7WV9lod.cjs`),require(`../../../use-subset-image-wa7xQOwx.cjs`),require(`../../../skeleton-7P1IZD3G.cjs`),require(`../../../image-BH4lb2K5.cjs`),require(`../../../editor-DvLUotoh.cjs`),require(`../../../node-view-context-YTl_1gGD.cjs`),require(`../../../use-drag-resize-BO3zANv3.cjs`),require(`../../../node-resize-dantnBzP.cjs`),require(`../../../node-size-BQQGo7t7.cjs`);const e=require(`../../../subset-image-Bukna29P.cjs`);require(`../../../subset-image-P2NQM0-3.cjs`),exports.IMAGE_NODE_PLUGINS=e.t,exports.SUBSET_IMAGE=e.n,exports.SubsetImage=e.r,exports.SubsetImageNodeView=e.i,exports.imageNodePlugins=e.a,exports.subsetImageNodeView=e.o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as AlignType } from "../../../index-BxqkZ148.cjs";
|
|
2
|
-
import "../../../index-
|
|
3
|
-
import "../../../index-
|
|
4
|
-
import { a as SubsetImageNodeView, c as subsetImageNodeView, i as SubsetImageAttrs, n as SUBSET_IMAGE, o as SubsetImagePosition, r as SubsetImage, s as imageNodePlugins, t as IMAGE_NODE_PLUGINS } from "../../../index-
|
|
2
|
+
import "../../../index-Cjrxf1Di.cjs";
|
|
3
|
+
import "../../../index-ByhcgmSd.cjs";
|
|
4
|
+
import { a as SubsetImageNodeView, c as subsetImageNodeView, i as SubsetImageAttrs, n as SUBSET_IMAGE, o as SubsetImagePosition, r as SubsetImage, s as imageNodePlugins, t as IMAGE_NODE_PLUGINS } from "../../../index-C-4QxPEj.cjs";
|
|
5
5
|
export { AlignType, IMAGE_NODE_PLUGINS, SUBSET_IMAGE, SubsetImage, SubsetImageAttrs, SubsetImageNodeView, SubsetImagePosition, imageNodePlugins, subsetImageNodeView };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as AlignType } from "../../../index-D5uh7klO.mjs";
|
|
2
|
-
import "../../../index-
|
|
3
|
-
import "../../../index-
|
|
4
|
-
import { a as SubsetImageNodeView, c as subsetImageNodeView, i as SubsetImageAttrs, n as SUBSET_IMAGE, o as SubsetImagePosition, r as SubsetImage, s as imageNodePlugins, t as IMAGE_NODE_PLUGINS } from "../../../index-
|
|
2
|
+
import "../../../index-BHIPhj3k.mjs";
|
|
3
|
+
import "../../../index-CTp6ZndQ.mjs";
|
|
4
|
+
import { a as SubsetImageNodeView, c as subsetImageNodeView, i as SubsetImageAttrs, n as SUBSET_IMAGE, o as SubsetImagePosition, r as SubsetImage, s as imageNodePlugins, t as IMAGE_NODE_PLUGINS } from "../../../index-Bokh2eMG.mjs";
|
|
5
5
|
export { AlignType, IMAGE_NODE_PLUGINS, SUBSET_IMAGE, SubsetImage, SubsetImageAttrs, SubsetImageNodeView, SubsetImagePosition, imageNodePlugins, subsetImageNodeView };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../../src-
|
|
1
|
+
"use client";import"../../../src-blAkna22.mjs";import"../../../file-CapBKYce.mjs";import"../../../api-client-D2UDU0fw.mjs";import"../../../use-subset-image-DfYVewmw.mjs";import"../../../skeleton-D4Q9wT-o.mjs";import"../../../image-DCRvyqH3.mjs";import"../../../editor-CHuJTM4H.mjs";import"../../../node-view-context-D-1j5isf.mjs";import"../../../use-drag-resize--3PrrhJj.mjs";import"../../../node-resize-Cs4wR_HY.mjs";import"../../../node-size-Bg-g2Png.mjs";import{a as e,i as t,n,o as r,r as i,t as a}from"../../../subset-image-C7qO8AiN.mjs";import"../../../subset-image-Co0fWefj.mjs";export{a as IMAGE_NODE_PLUGINS,n as SUBSET_IMAGE,i as SubsetImage,t as SubsetImageNodeView,e as imageNodePlugins,r as subsetImageNodeView};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TAB_CONTENT, c as TabTitle, i as TABS, l as Tabs, n as TabTitleNode, o as TAB_TITLE, r as TabsNode, s as TabContent, t as TabContentNode } from "../../../index-
|
|
1
|
+
import { a as TAB_CONTENT, c as TabTitle, i as TABS, l as Tabs, n as TabTitleNode, o as TAB_TITLE, r as TabsNode, s as TabContent, t as TabContentNode } from "../../../index-CoMstKUb.cjs";
|
|
2
2
|
export { TABS, TAB_CONTENT, TAB_TITLE, TabContent, TabContentNode, TabTitle, TabTitleNode, Tabs, TabsNode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TAB_CONTENT, c as TabTitle, i as TABS, l as Tabs, n as TabTitleNode, o as TAB_TITLE, r as TabsNode, s as TabContent, t as TabContentNode } from "../../../index-
|
|
1
|
+
import { a as TAB_CONTENT, c as TabTitle, i as TABS, l as Tabs, n as TabTitleNode, o as TAB_TITLE, r as TabsNode, s as TabContent, t as TabContentNode } from "../../../index-DEbgGPvL.mjs";
|
|
2
2
|
export { TABS, TAB_CONTENT, TAB_TITLE, TabContent, TabContentNode, TabTitle, TabTitleNode, Tabs, TabsNode };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/use-drag-scroll/index.d.ts
|
|
4
4
|
declare function useDragScroll(speed?: number): {
|
|
5
|
-
ref:
|
|
5
|
+
ref: react1.RefObject<HTMLDivElement>;
|
|
6
6
|
onMouseDown: (e: React.MouseEvent) => void;
|
|
7
7
|
onMouseLeave: () => void;
|
|
8
8
|
onMouseUp: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react2 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/use-scroll-top/index.d.ts
|
|
4
4
|
interface UseScrollTopProps {
|
|
@@ -11,7 +11,7 @@ declare function useScrollTop({
|
|
|
11
11
|
}?: UseScrollTopProps): {
|
|
12
12
|
isVisible: boolean;
|
|
13
13
|
handleScrolToTop: () => void;
|
|
14
|
-
ref:
|
|
14
|
+
ref: react2.RefObject<HTMLDivElement>;
|
|
15
15
|
};
|
|
16
16
|
//#endregion
|
|
17
17
|
export { UseScrollTopProps, useScrollTop };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/use-sticky/index.d.ts
|
|
4
4
|
declare function useSticky(): {
|
|
5
|
-
sentinelRef:
|
|
5
|
+
sentinelRef: react0.Dispatch<react0.SetStateAction<HTMLDivElement | null>>;
|
|
6
6
|
isStuck: boolean;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../src-
|
|
1
|
+
"use client";require(`../../src-DuOwAcib.cjs`),require(`../../file-DeZ1OKdy.cjs`),require(`../../api-client-D7WV9lod.cjs`);const e=require(`../../use-subset-image-wa7xQOwx.cjs`);exports.SUBSETS=e.t,exports.useSubsetImage=e.n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../src-
|
|
1
|
+
"use client";import"../../src-blAkna22.mjs";import"../../file-CapBKYce.mjs";import"../../api-client-D2UDU0fw.mjs";import{n as e,t}from"../../use-subset-image-DfYVewmw.mjs";export{t as SUBSETS,e as useSubsetImage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./use-subset-image-
|
|
1
|
+
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./use-subset-image-wa7xQOwx.cjs`),n=require(`./skeleton-7P1IZD3G.cjs`);let r=require(`class-variance-authority`),i=require(`react`),a=require(`clsx`);a=e.t(a);let o=require(`react/jsx-runtime`);const s=(0,r.cva)(``,{variants:{fill:{true:`komc:w-full komc:h-full komc:absolute komc:inset-0`,false:``}},defaultVariants:{fill:!1}}),c=(0,i.forwardRef)(({...e},n)=>{let{ref:r,imageProps:i}=t.n({ref:n,...e});return(0,o.jsx)(`img`,{ref:r,...i})}),l=(0,i.forwardRef)(({skeleton:e=!0,layout:r=`stretch`,fallbackSrc:i,className:c,emptyNode:l,emptyNodeClassName:d,skeletonClassName:f,...p},m)=>{let{ref:h,isLoad:g,isError:_,imageProps:v}=t.n({ref:m,fallbackSrc:i,forceLoad:!e,...p}),y=!p.fill&&r===`intrinsic`?{width:`${p.width}px`,height:`${p.height}px`}:void 0,b=(0,a.default)(`komc:flex komc:justify-center komc:items-center komc:relative komc:min-h-0`,!p.fill&&r===`stretch`&&`komc:w-full komc:h-full`);return!i&&_&&l?p.fill?(0,o.jsx)(u,{className:d,children:l}):(0,o.jsx)(`div`,{"data-komc":!0,style:y,className:b,children:(0,o.jsx)(u,{className:d,children:l})}):p.fill?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`img`,{ref:h,...v,className:(0,a.default)(`komc:w-full komc:h-full komc:absolute komc:inset-0`,e&&!g?`komc:invisible`:`komc:visible`,c)}),(0,o.jsx)(`div`,{"data-komc":!0,className:(0,a.default)(`komc:w-full komc:h-full komc:absolute komc:inset-0`,e&&!g?`komc:block`:`komc:hidden`),children:(0,o.jsx)(n.t,{size:`full`,className:f})})]}):(0,o.jsxs)(`div`,{"data-komc":!0,style:y,className:b,children:[(0,o.jsx)(`img`,{ref:h,...v,className:(0,a.default)(s({fill:p.fill,className:c}),e&&!g?`komc:invisible`:`komc:visible`)}),(0,o.jsx)(`div`,{className:(0,a.default)(`komc:w-full komc:h-full komc:absolute komc:inset-0`,e&&!g?`komc:block`:`komc:hidden`),children:(0,o.jsx)(n.t,{size:`full`,className:f})})]})}),u=({children:e,className:t})=>(0,o.jsx)(`div`,{"data-komc":!0,role:`alert`,className:(0,a.default)(`komc:flex komc:justify-center komc:items-center komc:w-full komc:h-full komc:bg-gray-100 komc:absolute komc:inset-0 komc:p-1`,t),children:e});var d=l;Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./use-subset-image-
|
|
1
|
+
import{n as e}from"./use-subset-image-DfYVewmw.mjs";import{t}from"./skeleton-D4Q9wT-o.mjs";import{cva as n}from"class-variance-authority";import{forwardRef as r}from"react";import i from"clsx";import{Fragment as a,jsx as o,jsxs as s}from"react/jsx-runtime";const c=n(``,{variants:{fill:{true:`komc:w-full komc:h-full komc:absolute komc:inset-0`,false:``}},defaultVariants:{fill:!1}}),l=r(({...t},n)=>{let{ref:r,imageProps:i}=e({ref:n,...t});return o(`img`,{ref:r,...i})}),u=r(({skeleton:n=!0,layout:r=`stretch`,fallbackSrc:l,className:u,emptyNode:f,emptyNodeClassName:p,skeletonClassName:m,...h},g)=>{let{ref:_,isLoad:v,isError:y,imageProps:b}=e({ref:g,fallbackSrc:l,forceLoad:!n,...h}),x=!h.fill&&r===`intrinsic`?{width:`${h.width}px`,height:`${h.height}px`}:void 0,S=i(`komc:flex komc:justify-center komc:items-center komc:relative komc:min-h-0`,!h.fill&&r===`stretch`&&`komc:w-full komc:h-full`);return!l&&y&&f?h.fill?o(d,{className:p,children:f}):o(`div`,{"data-komc":!0,style:x,className:S,children:o(d,{className:p,children:f})}):h.fill?s(a,{children:[o(`img`,{ref:_,...b,className:i(`komc:w-full komc:h-full komc:absolute komc:inset-0`,n&&!v?`komc:invisible`:`komc:visible`,u)}),o(`div`,{"data-komc":!0,className:i(`komc:w-full komc:h-full komc:absolute komc:inset-0`,n&&!v?`komc:block`:`komc:hidden`),children:o(t,{size:`full`,className:m})})]}):s(`div`,{"data-komc":!0,style:x,className:S,children:[o(`img`,{ref:_,...b,className:i(c({fill:h.fill,className:u}),n&&!v?`komc:invisible`:`komc:visible`)}),o(`div`,{className:i(`komc:w-full komc:h-full komc:absolute komc:inset-0`,n&&!v?`komc:block`:`komc:hidden`),children:o(t,{size:`full`,className:m})})]})}),d=({children:e,className:t})=>o(`div`,{"data-komc":!0,role:`alert`,className:i(`komc:flex komc:justify-center komc:items-center komc:w-full komc:h-full komc:bg-gray-100 komc:absolute komc:inset-0 komc:p-1`,t),children:e});var f=u;export{d as n,f as r,l as t};
|
|
@@ -28,9 +28,9 @@ declare class Auth {
|
|
|
28
28
|
}>;
|
|
29
29
|
}>;
|
|
30
30
|
logout(path?: string, domain?: string): void;
|
|
31
|
-
accessLog(): Promise<
|
|
31
|
+
accessLog(): Promise<void>;
|
|
32
32
|
me(): Promise<any>;
|
|
33
|
-
hasPermission(obj: string, act: string
|
|
33
|
+
hasPermission(obj: string, act: string): Promise<any>;
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/api-client/media.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodeViewProps } from "@tiptap/react";
|
|
2
2
|
import { CSSProperties, ComponentType, ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/editor/nodes/node-view-context/node-view-context.d.ts
|
|
6
6
|
type NodeViewPlugin = ComponentType<NodeViewProps>;
|
|
@@ -22,8 +22,8 @@ declare const NodeViewChrome: ({
|
|
|
22
22
|
value,
|
|
23
23
|
plugins,
|
|
24
24
|
children
|
|
25
|
-
}: NodeViewChromeProps) =>
|
|
26
|
-
declare const withNodeViewChrome: <P extends NodeViewProps>(View: ComponentType<P>, plugins?: NodeViewPlugin[]) => (props: P) =>
|
|
25
|
+
}: NodeViewChromeProps) => react_jsx_runtime12.JSX.Element;
|
|
26
|
+
declare const withNodeViewChrome: <P extends NodeViewProps>(View: ComponentType<P>, plugins?: NodeViewPlugin[]) => (props: P) => react_jsx_runtime12.JSX.Element;
|
|
27
27
|
interface PluginNodeViewProps {
|
|
28
28
|
className?: string;
|
|
29
29
|
frameClassName?: string;
|
|
@@ -35,6 +35,6 @@ declare const PluginNodeView: ({
|
|
|
35
35
|
frameClassName,
|
|
36
36
|
style,
|
|
37
37
|
children
|
|
38
|
-
}: PluginNodeViewProps) =>
|
|
38
|
+
}: PluginNodeViewProps) => react_jsx_runtime12.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { PluginNodeViewProps as a, withNodeViewChrome as c, PluginNodeView as i, NodeViewPlugin as n, useNodeView as o, NodeViewValue as r, useNodeViewPlugins as s, NodeViewChrome as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { n as NodeViewPlugin } from "./index-Cjrxf1Di.cjs";
|
|
2
|
+
import { r as NodeSizePluginOptions } from "./index-ByhcgmSd.cjs";
|
|
3
|
+
import * as _tiptap_core4 from "@tiptap/core";
|
|
4
|
+
|
|
5
|
+
//#region src/editor/nodes/basic-image/basic-image.d.ts
|
|
6
|
+
declare const BasicImage: _tiptap_core4.Node<{
|
|
7
|
+
plugins: NodeViewPlugin[];
|
|
8
|
+
size?: NodeSizePluginOptions;
|
|
9
|
+
}, any>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { BasicImage as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as UseSubsetImageProps, t as BaseProps } from "./index-DHyXKIBX.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
|
+
import * as react9 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ui/image/image.d.ts
|
|
6
6
|
interface ImageSubsetProps {
|
|
@@ -11,7 +11,7 @@ interface ImageSubsetProps {
|
|
|
11
11
|
skeletonClassName?: string;
|
|
12
12
|
}
|
|
13
13
|
type ImageProps = UseSubsetImageProps & ImageSubsetProps;
|
|
14
|
-
declare const BaseImage:
|
|
14
|
+
declare const BaseImage: react9.ForwardRefExoticComponent<(Omit<BaseProps & {
|
|
15
15
|
fill: true;
|
|
16
16
|
sizes: string;
|
|
17
17
|
width?: never;
|
|
@@ -21,8 +21,8 @@ declare const BaseImage: react23.ForwardRefExoticComponent<(Omit<BaseProps & {
|
|
|
21
21
|
sizes?: never;
|
|
22
22
|
width: number;
|
|
23
23
|
height: number;
|
|
24
|
-
}, "ref">) &
|
|
25
|
-
declare const Image:
|
|
24
|
+
}, "ref">) & react9.RefAttributes<HTMLImageElement>>;
|
|
25
|
+
declare const Image: react9.ForwardRefExoticComponent<(Omit<BaseProps & {
|
|
26
26
|
fill: true;
|
|
27
27
|
sizes: string;
|
|
28
28
|
width?: never;
|
|
@@ -32,7 +32,7 @@ declare const Image: react23.ForwardRefExoticComponent<(Omit<BaseProps & {
|
|
|
32
32
|
sizes?: never;
|
|
33
33
|
width: number;
|
|
34
34
|
height: number;
|
|
35
|
-
} & ImageSubsetProps, "ref">) &
|
|
35
|
+
} & ImageSubsetProps, "ref">) & react9.RefAttributes<HTMLImageElement>>;
|
|
36
36
|
interface EmptyNodeProps {
|
|
37
37
|
children: React.ReactNode;
|
|
38
38
|
className?: string;
|
|
@@ -40,6 +40,6 @@ interface EmptyNodeProps {
|
|
|
40
40
|
declare const EmptyNode: ({
|
|
41
41
|
children,
|
|
42
42
|
className
|
|
43
|
-
}: EmptyNodeProps) =>
|
|
43
|
+
}: EmptyNodeProps) => react_jsx_runtime24.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ImageProps as a, Image as i, EmptyNode as n, ImageSubsetProps as o, EmptyNodeProps as r, BaseImage as t };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as LabelProps } from "./index-
|
|
2
|
-
import * as react29 from "react";
|
|
3
|
-
import { ComponentProps } from "react";
|
|
1
|
+
import { n as LabelProps } from "./index-F4q_POK6.mjs";
|
|
4
2
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
3
|
+
import * as react23 from "react";
|
|
4
|
+
import { ComponentProps } from "react";
|
|
5
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
7
7
|
|
|
8
8
|
//#region src/ui/admin/text-field/text-field.d.ts
|
|
9
9
|
type TextFieldFileVariantColor = 'green' | 'blue' | 'red';
|
|
10
10
|
declare const classes: (props?: ({
|
|
11
|
-
size?: "xs" | "sm" | "
|
|
11
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
12
12
|
invalid?: boolean | null | undefined;
|
|
13
13
|
shadow?: boolean | null | undefined;
|
|
14
14
|
disabled?: boolean | null | undefined;
|
|
15
|
-
} &
|
|
15
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
16
16
|
interface BaseProps extends Omit<ComponentProps<'input'>, 'size' | 'ref' | 'color'>, VariantProps<typeof classes> {
|
|
17
17
|
label?: Omit<LabelProps, 'children'>;
|
|
18
18
|
disabled?: boolean;
|
|
@@ -51,6 +51,6 @@ interface SuffixDateProps extends Omit<BaseProps, 'handleDateClear'> {
|
|
|
51
51
|
max?: string | number;
|
|
52
52
|
}
|
|
53
53
|
type TextFieldProps = DefaultProps | FileProps | SearchProps | PrefixTextProps | SuffixTextProps | SuffixDateProps;
|
|
54
|
-
declare const TextField:
|
|
54
|
+
declare const TextField: react23.ForwardRefExoticComponent<TextFieldProps & react23.RefAttributes<HTMLInputElement>>;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { TextFieldFileVariantColor as n, TextFieldProps as r, TextField as t };
|