@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,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { ClassNamesConfig, ClearIndicatorProps, DropdownIndicatorProps, GroupBase, IndicatorSeparatorProps, OptionProps, PlaceholderProps, SingleValueProps } from "react-select";
|
|
4
4
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
@@ -20,13 +20,13 @@ interface CountrySelectOption {
|
|
|
20
20
|
}
|
|
21
21
|
declare const COUNTRY_KR: CountrySelectOption;
|
|
22
22
|
declare const defaultCountrySelectClassNames: ClassNamesConfig<CountrySelectOption, boolean, GroupBase<CountrySelectOption>>;
|
|
23
|
-
declare const CountryOption: <Option extends CountrySelectOption>(props: OptionProps<Option, boolean, GroupBase<Option>>) =>
|
|
24
|
-
declare const CountryClearIndicator: <Option extends CountrySelectOption>(props: ClearIndicatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
25
|
-
declare const CountryDropdownIndicator: <Option extends CountrySelectOption>(props: DropdownIndicatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
26
|
-
declare const CountryIndicatorSeparator: <Option extends CountrySelectOption>(props: IndicatorSeparatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
27
|
-
declare const CountrySingleValue: <Option extends CountrySelectOption>(props: SingleValueProps<Option, boolean, GroupBase<Option>>) =>
|
|
28
|
-
declare const CountryPlaceholder: <Option extends CountrySelectOption>(props: PlaceholderProps<Option, boolean, GroupBase<Option>>) =>
|
|
29
|
-
declare const CountryFlagElement: (props: CountrySelectOption) =>
|
|
23
|
+
declare const CountryOption: <Option extends CountrySelectOption>(props: OptionProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
24
|
+
declare const CountryClearIndicator: <Option extends CountrySelectOption>(props: ClearIndicatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
25
|
+
declare const CountryDropdownIndicator: <Option extends CountrySelectOption>(props: DropdownIndicatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
26
|
+
declare const CountryIndicatorSeparator: <Option extends CountrySelectOption>(props: IndicatorSeparatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
27
|
+
declare const CountrySingleValue: <Option extends CountrySelectOption>(props: SingleValueProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
28
|
+
declare const CountryPlaceholder: <Option extends CountrySelectOption>(props: PlaceholderProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime12.JSX.Element;
|
|
29
|
+
declare const CountryFlagElement: (props: CountrySelectOption) => react_jsx_runtime12.JSX.Element;
|
|
30
30
|
interface CountrySelectProps<Option extends CountrySelectOption = CountrySelectOption, IsMulti extends boolean = false> extends ComponentProps<typeof AsyncPaginate<Option, GroupBase<Option>, Additional, IsMulti>> {
|
|
31
31
|
locale?: string;
|
|
32
32
|
clearIcon: IconProp;
|
|
@@ -42,6 +42,6 @@ declare const CountrySelect: <Option extends CountrySelectOption = CountrySelect
|
|
|
42
42
|
clearIcon,
|
|
43
43
|
dropdownIcon,
|
|
44
44
|
...props
|
|
45
|
-
}: CountrySelectProps<Option, IsMulti>) =>
|
|
45
|
+
}: CountrySelectProps<Option, IsMulti>) => react_jsx_runtime12.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Additional, COUNTRY_KR, CountryClearIndicator, CountryDropdownIndicator, CountryFlagElement, CountryIndicatorSeparator, CountryOption, CountryPlaceholder, CountrySelect, CountrySelectOption, CountrySelectProps, CountrySingleValue, defaultCountrySelectClassNames };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import { AsyncPaginate } from "react-select-async-paginate";
|
|
4
4
|
import { ClassNamesConfig, ClearIndicatorProps, DropdownIndicatorProps, GroupBase, IndicatorSeparatorProps, OptionProps, PlaceholderProps, SingleValueProps } from "react-select";
|
|
5
5
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
@@ -20,13 +20,13 @@ interface CountrySelectOption {
|
|
|
20
20
|
}
|
|
21
21
|
declare const COUNTRY_KR: CountrySelectOption;
|
|
22
22
|
declare const defaultCountrySelectClassNames: ClassNamesConfig<CountrySelectOption, boolean, GroupBase<CountrySelectOption>>;
|
|
23
|
-
declare const CountryOption: <Option extends CountrySelectOption>(props: OptionProps<Option, boolean, GroupBase<Option>>) =>
|
|
24
|
-
declare const CountryClearIndicator: <Option extends CountrySelectOption>(props: ClearIndicatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
25
|
-
declare const CountryDropdownIndicator: <Option extends CountrySelectOption>(props: DropdownIndicatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
26
|
-
declare const CountryIndicatorSeparator: <Option extends CountrySelectOption>(props: IndicatorSeparatorProps<Option, boolean, GroupBase<Option>>) =>
|
|
27
|
-
declare const CountrySingleValue: <Option extends CountrySelectOption>(props: SingleValueProps<Option, boolean, GroupBase<Option>>) =>
|
|
28
|
-
declare const CountryPlaceholder: <Option extends CountrySelectOption>(props: PlaceholderProps<Option, boolean, GroupBase<Option>>) =>
|
|
29
|
-
declare const CountryFlagElement: (props: CountrySelectOption) =>
|
|
23
|
+
declare const CountryOption: <Option extends CountrySelectOption>(props: OptionProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
24
|
+
declare const CountryClearIndicator: <Option extends CountrySelectOption>(props: ClearIndicatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
25
|
+
declare const CountryDropdownIndicator: <Option extends CountrySelectOption>(props: DropdownIndicatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
26
|
+
declare const CountryIndicatorSeparator: <Option extends CountrySelectOption>(props: IndicatorSeparatorProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
27
|
+
declare const CountrySingleValue: <Option extends CountrySelectOption>(props: SingleValueProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
28
|
+
declare const CountryPlaceholder: <Option extends CountrySelectOption>(props: PlaceholderProps<Option, boolean, GroupBase<Option>>) => react_jsx_runtime16.JSX.Element;
|
|
29
|
+
declare const CountryFlagElement: (props: CountrySelectOption) => react_jsx_runtime16.JSX.Element;
|
|
30
30
|
interface CountrySelectProps<Option extends CountrySelectOption = CountrySelectOption, IsMulti extends boolean = false> extends ComponentProps<typeof AsyncPaginate<Option, GroupBase<Option>, Additional, IsMulti>> {
|
|
31
31
|
locale?: string;
|
|
32
32
|
clearIcon: IconProp;
|
|
@@ -42,6 +42,6 @@ declare const CountrySelect: <Option extends CountrySelectOption = CountrySelect
|
|
|
42
42
|
clearIcon,
|
|
43
43
|
dropdownIcon,
|
|
44
44
|
...props
|
|
45
|
-
}: CountrySelectProps<Option, IsMulti>) =>
|
|
45
|
+
}: CountrySelectProps<Option, IsMulti>) => react_jsx_runtime16.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Additional, COUNTRY_KR, CountryClearIndicator, CountryDropdownIndicator, CountryFlagElement, CountryIndicatorSeparator, CountryOption, CountryPlaceholder, CountrySelect, CountrySelectOption, CountrySelectProps, CountrySingleValue, defaultCountrySelectClassNames };
|
|
@@ -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`),require(`../../../file-DeZ1OKdy.cjs`),require(`../../../api-client-D7WV9lod.cjs`),require(`../../../use-subset-image-wa7xQOwx.cjs`),require(`../../../skeleton-7P1IZD3G.cjs`);const t=require(`../../../image-BH4lb2K5.cjs`),n=require(`../../../switch-BDdSF3lu.cjs`),r=require(`../../../label-jZuNIGyF.cjs`);let i=require(`class-variance-authority`),a=require(`react`),o=require(`clsx`);o=e.t(o);let s=require(`react/jsx-runtime`),c=require(`@fortawesome/react-fontawesome`),l=require(`react-dropzone`);const u=(0,i.cva)((0,o.default)(`komc:flex komc:justify-center komc:items-center komc:w-full komc:h-full`,`komc:relative komc:overflow-hidden komc:group-hover:opacity-20 komc:z-0`),{variants:{isDragActive:{true:`komc:opacity-20`,false:``},objectFit:{contain:`komc:[&_img]:object-contain`,cover:`komc:[&_img]:object-cover`,fill:`komc:[&_img]:object-fill`,none:`komc:[&_img]:object-none`,"scale-down":`komc:[&_img]:object-scale-down`},size:{logo:``,sm:``,md:``,lg:``,xl:``}},defaultVariants:{isDragActive:!1,objectFit:`contain`,size:`lg`}}),d=(0,i.cva)((0,o.default)(`komc:flex komc:justify-center komc:items-center`,`komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg`,`komc:cursor-pointer komc:relative komc:group komc:overflow-hidden`),{variants:{src:{true:`komc:border-none komc:bg-transparent`,false:`komc:border-dashed komc:bg-[#FBFBFD]`},size:{logo:`komc:w-30 komc:h-10`,sm:`komc:w-full komc:h-25`,md:`komc:w-full komc:h-30`,lg:`komc:w-full komc:h-40`,xl:`komc:w-full komc:h-50`}},defaultVariants:{src:!1},compoundVariants:[{size:`logo`,src:!0,className:`komc:border-solid`}]}),f=e=>{let{src:t=``,...n}=e;return t?(0,s.jsx)(p,{...n,src:t}):(0,s.jsx)(m,{...e})},p=({src:e=``,alt:n=``,objectFit:r=`contain`,size:i=`lg`,originalWidth:a,linkIcon:l,...f})=>(0,s.jsxs)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,"aria-label":n||`Open image`,className:(0,o.default)(d({src:!!e,size:i})),children:[(0,s.jsx)(`div`,{className:u({objectFit:r,size:i}),children:(0,s.jsx)(t.t,{...f,src:e,alt:n,originalWidth:a||600,className:`komc:w-full komc:h-full`})}),(0,s.jsx)(`div`,{className:`komc:flex komc:flex-col komc:items-center komc:justify-center komc:gap-1 komc:w-full komc:p-1 komc:absolute komc:group-hover:opacity-100 komc:opacity-0`,children:(0,s.jsx)(c.FontAwesomeIcon,{className:`komc:w-4 komc:h-4 komc:aspect-square komc:text-neutral-300`,icon:l})})]}),m=({src:e=``,size:t=`lg`,placeholder:n=`Select files`,subPlaceholder:r=`(or drop files here)`,fileIcon:i,...a})=>{let u=a.multiple??!0,{getRootProps:f,getInputProps:p}=(0,l.useDropzone)({onDrop:(e=[])=>{if(a.multiple===!1){let t=e[0];t&&a.onDrop(t)}else a.onDrop(e)}});return(0,s.jsxs)(`div`,{className:(0,o.default)(d({src:!!e,size:t})),...f(),children:[(0,s.jsx)(`input`,{...p({multiple:u})}),(0,s.jsxs)(`div`,{className:`komc:flex komc:flex-col komc:items-center komc:justify-center komc:gap-1 komc:w-full komc:p-1 komc:absolute`,children:[(0,s.jsx)(c.FontAwesomeIcon,{className:`komc:w-4 komc:h-4 komc:aspect-square komc:text-neutral-300`,icon:i}),t!==`logo`&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(`p`,{className:`komc:w-full komc:text-center komc:text-[16px] komc:leading-[1.2] komc:font-medium komc:text-neutral-600 komc:truncate`,children:n}),(0,s.jsx)(`p`,{className:`komc:w-full komc:text-center komc:text-xs komc:leading-[1.2] komc:text-neutral-600 komc:truncate`,children:r})]})]})]})},h=({label:e,id:t,size:i=`logo`,valueLabel:c,valueLabelPlacement:l,viewLanguages:u=[`ko`,`en`],options:d=[],selectedLanguage:p,checked:m,onChecked:h,onUpdate:v,onDelete:y,onSelect:b,update:x,remove:S,...C})=>{let[w,T]=(0,a.useState)(p),E=e=>{T(e),b?.(e)},D=e=>{let t=e.target.files?.[0];t&&v?.(t)};return(0,s.jsx)(r.t,{...e,children:(0,s.jsxs)(`div`,{"data-komc":!0,className:(0,o.default)(`komc:flex komc:flex-row komc:items-center`,`komc:gap-x-2.5 komc:min-w-30 komc:w-full komc:h-auto`,`komc:p-4 komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:shadow-field`),children:[(0,s.jsx)(f,{...C,size:i}),c&&(0,s.jsx)(`div`,{className:`komc:flex komc:items-center komc:ml-2.5`,children:(0,s.jsx)(n.t,{label:c,placement:l,checked:m,onChange:h})}),(v||y)&&(0,s.jsxs)(`div`,{className:`komc:flex komc:flex-row komc:items-center komc:gap-x-2.5 komc:ml-auto`,children:[b&&(0,s.jsx)(`div`,{className:`komc:flex komc:flex-row komc:gap-x-3 komc:p-1 komc:rounded-sm komc:bg-gray-400`,children:d.filter(e=>u?.includes(e.value)).map(e=>(0,s.jsx)(`button`,{type:`button`,className:(0,o.default)(`komc:flex komc:justify-center komc:items-center komc:w-20 komc:h-7.5`,`komc:rounded-sm komc:text-sm komc:font-medium komc:cursor-pointer`,(typeof w==`string`?w===e.value:w?.value===e.value)?`komc:bg-white komc:text-blue-700`:`komc:bg-transparent komc:text-neutral-500`),onClick:()=>E(e),children:(0,s.jsx)(`span`,{children:e.label})},e.value))}),(0,s.jsx)(`div`,{className:`komc:h-4 komc:border-r komc:border-neutral-100 komc:rounded-full`}),v&&t&&(0,s.jsx)(g,{id:t,onUpdate:D,children:x}),y&&(0,s.jsx)(_,{onDelete:y,children:S})]})]})})},g=({id:e,onUpdate:t,children:n})=>(0,s.jsxs)(`label`,{htmlFor:e,className:`komc:cursor-pointer`,children:[(0,s.jsx)(`input`,{id:e,type:`file`,className:`komc:hidden`,"aria-label":`Replace file`,onClick:e=>{e.target.value=``},onChange:t}),(0,s.jsx)(`div`,{className:`komc:flex komc:items-center komc:justify-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-4 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,children:n})]}),_=({onDelete:e,children:t})=>(0,s.jsx)(`button`,{type:`button`,className:`komc:flex komc:justify-center komc:items-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-3.5 komc:[&_svg]:h-3.5 komc:[&_svg]:text-neutral-500`,"aria-label":`Delete`,onClick:e,children:t}),v=({label:e,...t})=>(0,s.jsx)(r.t,{...e,children:(0,s.jsx)(`div`,{"data-komc":!0,className:(0,o.default)(`komc:flex komc:flex-row komc:items-center`,`komc:gap-x-2.5 komc:min-w-30 komc:w-full komc:h-auto`,`komc:p-4 komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:shadow-field`),children:(0,s.jsx)(f,{...t})})});exports.DeleteButton=_,exports.Dropzone=v,exports.DropzoneField=f,exports.DropzoneLogo=h,exports.UpdateButton=g;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../index-DHyXKIBX.cjs";
|
|
2
|
-
import { t as Label } from "../../../index-
|
|
3
|
-
import { t as BaseImage } from "../../../index-
|
|
2
|
+
import { t as Label } from "../../../index-CN8vImmH.cjs";
|
|
3
|
+
import { t as BaseImage } from "../../../index-BKn2KTaw.cjs";
|
|
4
4
|
import { t as LabelPlacement } from "../../../index-90Zl6qBK.cjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
6
6
|
import { ChangeEvent, ComponentProps, ReactNode } from "react";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
|
-
import * as
|
|
8
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
9
9
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
10
10
|
|
|
11
11
|
//#region src/ui/admin/dropzone-field/dropzone-field.d.ts
|
|
@@ -15,9 +15,9 @@ interface DropzoneLanguage {
|
|
|
15
15
|
}
|
|
16
16
|
declare const imageClasses: (props?: ({
|
|
17
17
|
isDragActive?: boolean | null | undefined;
|
|
18
|
-
objectFit?: "fill" | "none" | "
|
|
19
|
-
size?: "sm" | "
|
|
20
|
-
} &
|
|
18
|
+
objectFit?: "fill" | "none" | "cover" | "contain" | "scale-down" | null | undefined;
|
|
19
|
+
size?: "sm" | "md" | "lg" | "xl" | "logo" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
21
21
|
interface BasePropsMultipleTrue extends VariantProps<typeof imageClasses>, Partial<Omit<ComponentProps<typeof BaseImage>, 'src' | 'alt' | 'onDrop' | 'onSelect'>> {
|
|
22
22
|
src?: string | null;
|
|
23
23
|
alt?: string;
|
|
@@ -39,7 +39,7 @@ interface BasePropsMultipleFalse extends VariantProps<typeof imageClasses>, Part
|
|
|
39
39
|
onDrop: (file: File) => void;
|
|
40
40
|
}
|
|
41
41
|
type DropzoneFieldProps = BasePropsMultipleTrue | BasePropsMultipleFalse;
|
|
42
|
-
declare const DropzoneField: (props: DropzoneFieldProps) =>
|
|
42
|
+
declare const DropzoneField: (props: DropzoneFieldProps) => react_jsx_runtime38.JSX.Element;
|
|
43
43
|
type DropzoneLogoBaseProps = DropzoneFieldProps & {
|
|
44
44
|
label?: ComponentProps<typeof Label>;
|
|
45
45
|
size?: 'logo';
|
|
@@ -81,7 +81,7 @@ declare const DropzoneLogo: ({
|
|
|
81
81
|
update,
|
|
82
82
|
remove,
|
|
83
83
|
...field
|
|
84
|
-
}: DropzoneLogoProps) =>
|
|
84
|
+
}: DropzoneLogoProps) => react_jsx_runtime38.JSX.Element;
|
|
85
85
|
declare const UpdateButton: ({
|
|
86
86
|
id,
|
|
87
87
|
onUpdate,
|
|
@@ -90,14 +90,14 @@ declare const UpdateButton: ({
|
|
|
90
90
|
id: string;
|
|
91
91
|
onUpdate: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
92
92
|
children: ReactNode;
|
|
93
|
-
}) =>
|
|
93
|
+
}) => react_jsx_runtime38.JSX.Element;
|
|
94
94
|
declare const DeleteButton: ({
|
|
95
95
|
onDelete,
|
|
96
96
|
children
|
|
97
97
|
}: {
|
|
98
98
|
onDelete: () => void;
|
|
99
99
|
children: ReactNode;
|
|
100
|
-
}) =>
|
|
100
|
+
}) => react_jsx_runtime38.JSX.Element;
|
|
101
101
|
type DropzoneProps = DropzoneFieldProps & {
|
|
102
102
|
label?: ComponentProps<typeof Label>;
|
|
103
103
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -105,6 +105,6 @@ type DropzoneProps = DropzoneFieldProps & {
|
|
|
105
105
|
declare const Dropzone: ({
|
|
106
106
|
label,
|
|
107
107
|
...field
|
|
108
|
-
}: DropzoneProps) =>
|
|
108
|
+
}: DropzoneProps) => react_jsx_runtime38.JSX.Element;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { DeleteButton, Dropzone, DropzoneField, DropzoneFieldProps, DropzoneLanguage, DropzoneLogo, DropzoneLogoProps, DropzoneProps, UpdateButton };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../index-DxW8JBva.mjs";
|
|
2
|
-
import { t as Label } from "../../../index-
|
|
3
|
-
import { t as BaseImage } from "../../../index-
|
|
2
|
+
import { t as Label } from "../../../index-F4q_POK6.mjs";
|
|
3
|
+
import { t as BaseImage } from "../../../index-LJemrhZD.mjs";
|
|
4
4
|
import { t as LabelPlacement } from "../../../index-CcpFy_mT.mjs";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
import { ChangeEvent, ComponentProps, ReactNode } from "react";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
8
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
9
9
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
10
10
|
|
|
11
11
|
//#region src/ui/admin/dropzone-field/dropzone-field.d.ts
|
|
@@ -15,9 +15,9 @@ interface DropzoneLanguage {
|
|
|
15
15
|
}
|
|
16
16
|
declare const imageClasses: (props?: ({
|
|
17
17
|
isDragActive?: boolean | null | undefined;
|
|
18
|
-
objectFit?: "fill" | "none" | "
|
|
19
|
-
size?: "sm" | "
|
|
20
|
-
} &
|
|
18
|
+
objectFit?: "fill" | "none" | "cover" | "contain" | "scale-down" | null | undefined;
|
|
19
|
+
size?: "sm" | "md" | "lg" | "xl" | "logo" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types9.ClassProp) | undefined) => string;
|
|
21
21
|
interface BasePropsMultipleTrue extends VariantProps<typeof imageClasses>, Partial<Omit<ComponentProps<typeof BaseImage>, 'src' | 'alt' | 'onDrop' | 'onSelect'>> {
|
|
22
22
|
src?: string | null;
|
|
23
23
|
alt?: string;
|
|
@@ -39,7 +39,7 @@ interface BasePropsMultipleFalse extends VariantProps<typeof imageClasses>, Part
|
|
|
39
39
|
onDrop: (file: File) => void;
|
|
40
40
|
}
|
|
41
41
|
type DropzoneFieldProps = BasePropsMultipleTrue | BasePropsMultipleFalse;
|
|
42
|
-
declare const DropzoneField: (props: DropzoneFieldProps) =>
|
|
42
|
+
declare const DropzoneField: (props: DropzoneFieldProps) => react_jsx_runtime31.JSX.Element;
|
|
43
43
|
type DropzoneLogoBaseProps = DropzoneFieldProps & {
|
|
44
44
|
label?: ComponentProps<typeof Label>;
|
|
45
45
|
size?: 'logo';
|
|
@@ -81,7 +81,7 @@ declare const DropzoneLogo: ({
|
|
|
81
81
|
update,
|
|
82
82
|
remove,
|
|
83
83
|
...field
|
|
84
|
-
}: DropzoneLogoProps) =>
|
|
84
|
+
}: DropzoneLogoProps) => react_jsx_runtime31.JSX.Element;
|
|
85
85
|
declare const UpdateButton: ({
|
|
86
86
|
id,
|
|
87
87
|
onUpdate,
|
|
@@ -90,14 +90,14 @@ declare const UpdateButton: ({
|
|
|
90
90
|
id: string;
|
|
91
91
|
onUpdate: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
92
92
|
children: ReactNode;
|
|
93
|
-
}) =>
|
|
93
|
+
}) => react_jsx_runtime31.JSX.Element;
|
|
94
94
|
declare const DeleteButton: ({
|
|
95
95
|
onDelete,
|
|
96
96
|
children
|
|
97
97
|
}: {
|
|
98
98
|
onDelete: () => void;
|
|
99
99
|
children: ReactNode;
|
|
100
|
-
}) =>
|
|
100
|
+
}) => react_jsx_runtime31.JSX.Element;
|
|
101
101
|
type DropzoneProps = DropzoneFieldProps & {
|
|
102
102
|
label?: ComponentProps<typeof Label>;
|
|
103
103
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -105,6 +105,6 @@ type DropzoneProps = DropzoneFieldProps & {
|
|
|
105
105
|
declare const Dropzone: ({
|
|
106
106
|
label,
|
|
107
107
|
...field
|
|
108
|
-
}: DropzoneProps) =>
|
|
108
|
+
}: DropzoneProps) => react_jsx_runtime31.JSX.Element;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { DeleteButton, Dropzone, DropzoneField, DropzoneFieldProps, DropzoneLanguage, DropzoneLogo, DropzoneLogoProps, DropzoneProps, UpdateButton };
|
|
@@ -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{t as e}from"../../../image-DCRvyqH3.mjs";import{t}from"../../../switch-DTQt7BzY.mjs";import{t as n}from"../../../label-DeEAgKAc.mjs";import{cva as r}from"class-variance-authority";import{useState as i}from"react";import a from"clsx";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";import{FontAwesomeIcon as l}from"@fortawesome/react-fontawesome";import{useDropzone as u}from"react-dropzone";const d=r(a(`komc:flex komc:justify-center komc:items-center komc:w-full komc:h-full`,`komc:relative komc:overflow-hidden komc:group-hover:opacity-20 komc:z-0`),{variants:{isDragActive:{true:`komc:opacity-20`,false:``},objectFit:{contain:`komc:[&_img]:object-contain`,cover:`komc:[&_img]:object-cover`,fill:`komc:[&_img]:object-fill`,none:`komc:[&_img]:object-none`,"scale-down":`komc:[&_img]:object-scale-down`},size:{logo:``,sm:``,md:``,lg:``,xl:``}},defaultVariants:{isDragActive:!1,objectFit:`contain`,size:`lg`}}),f=r(a(`komc:flex komc:justify-center komc:items-center`,`komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg`,`komc:cursor-pointer komc:relative komc:group komc:overflow-hidden`),{variants:{src:{true:`komc:border-none komc:bg-transparent`,false:`komc:border-dashed komc:bg-[#FBFBFD]`},size:{logo:`komc:w-30 komc:h-10`,sm:`komc:w-full komc:h-25`,md:`komc:w-full komc:h-30`,lg:`komc:w-full komc:h-40`,xl:`komc:w-full komc:h-50`}},defaultVariants:{src:!1},compoundVariants:[{size:`logo`,src:!0,className:`komc:border-solid`}]}),p=e=>{let{src:t=``,...n}=e;return t?s(m,{...n,src:t}):s(h,{...e})},m=({src:t=``,alt:n=``,objectFit:r=`contain`,size:i=`lg`,originalWidth:o,linkIcon:u,...p})=>c(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,"aria-label":n||`Open image`,className:a(f({src:!!t,size:i})),children:[s(`div`,{className:d({objectFit:r,size:i}),children:s(e,{...p,src:t,alt:n,originalWidth:o||600,className:`komc:w-full komc:h-full`})}),s(`div`,{className:`komc:flex komc:flex-col komc:items-center komc:justify-center komc:gap-1 komc:w-full komc:p-1 komc:absolute komc:group-hover:opacity-100 komc:opacity-0`,children:s(l,{className:`komc:w-4 komc:h-4 komc:aspect-square komc:text-neutral-300`,icon:u})})]}),h=({src:e=``,size:t=`lg`,placeholder:n=`Select files`,subPlaceholder:r=`(or drop files here)`,fileIcon:i,...d})=>{let p=d.multiple??!0,{getRootProps:m,getInputProps:h}=u({onDrop:(e=[])=>{if(d.multiple===!1){let t=e[0];t&&d.onDrop(t)}else d.onDrop(e)}});return c(`div`,{className:a(f({src:!!e,size:t})),...m(),children:[s(`input`,{...h({multiple:p})}),c(`div`,{className:`komc:flex komc:flex-col komc:items-center komc:justify-center komc:gap-1 komc:w-full komc:p-1 komc:absolute`,children:[s(l,{className:`komc:w-4 komc:h-4 komc:aspect-square komc:text-neutral-300`,icon:i}),t!==`logo`&&c(o,{children:[s(`p`,{className:`komc:w-full komc:text-center komc:text-[16px] komc:leading-[1.2] komc:font-medium komc:text-neutral-600 komc:truncate`,children:n}),s(`p`,{className:`komc:w-full komc:text-center komc:text-xs komc:leading-[1.2] komc:text-neutral-600 komc:truncate`,children:r})]})]})]})},g=({label:e,id:r,size:o=`logo`,valueLabel:l,valueLabelPlacement:u,viewLanguages:d=[`ko`,`en`],options:f=[],selectedLanguage:m,checked:h,onChecked:g,onUpdate:y,onDelete:b,onSelect:x,update:S,remove:C,...w})=>{let[T,E]=i(m),D=e=>{E(e),x?.(e)},O=e=>{let t=e.target.files?.[0];t&&y?.(t)};return s(n,{...e,children:c(`div`,{"data-komc":!0,className:a(`komc:flex komc:flex-row komc:items-center`,`komc:gap-x-2.5 komc:min-w-30 komc:w-full komc:h-auto`,`komc:p-4 komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:shadow-field`),children:[s(p,{...w,size:o}),l&&s(`div`,{className:`komc:flex komc:items-center komc:ml-2.5`,children:s(t,{label:l,placement:u,checked:h,onChange:g})}),(y||b)&&c(`div`,{className:`komc:flex komc:flex-row komc:items-center komc:gap-x-2.5 komc:ml-auto`,children:[x&&s(`div`,{className:`komc:flex komc:flex-row komc:gap-x-3 komc:p-1 komc:rounded-sm komc:bg-gray-400`,children:f.filter(e=>d?.includes(e.value)).map(e=>s(`button`,{type:`button`,className:a(`komc:flex komc:justify-center komc:items-center komc:w-20 komc:h-7.5`,`komc:rounded-sm komc:text-sm komc:font-medium komc:cursor-pointer`,(typeof T==`string`?T===e.value:T?.value===e.value)?`komc:bg-white komc:text-blue-700`:`komc:bg-transparent komc:text-neutral-500`),onClick:()=>D(e),children:s(`span`,{children:e.label})},e.value))}),s(`div`,{className:`komc:h-4 komc:border-r komc:border-neutral-100 komc:rounded-full`}),y&&r&&s(_,{id:r,onUpdate:O,children:S}),b&&s(v,{onDelete:b,children:C})]})]})})},_=({id:e,onUpdate:t,children:n})=>c(`label`,{htmlFor:e,className:`komc:cursor-pointer`,children:[s(`input`,{id:e,type:`file`,className:`komc:hidden`,"aria-label":`Replace file`,onClick:e=>{e.target.value=``},onChange:t}),s(`div`,{className:`komc:flex komc:items-center komc:justify-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-4 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,children:n})]}),v=({onDelete:e,children:t})=>s(`button`,{type:`button`,className:`komc:flex komc:justify-center komc:items-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-3.5 komc:[&_svg]:h-3.5 komc:[&_svg]:text-neutral-500`,"aria-label":`Delete`,onClick:e,children:t}),y=({label:e,...t})=>s(n,{...e,children:s(`div`,{"data-komc":!0,className:a(`komc:flex komc:flex-row komc:items-center`,`komc:gap-x-2.5 komc:min-w-30 komc:w-full komc:h-auto`,`komc:p-4 komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:shadow-field`),children:s(p,{...t})})});export{v as DeleteButton,y as Dropzone,p as DropzoneField,g as DropzoneLogo,_ as UpdateButton};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { r as TextFieldProps } from "../../../index-
|
|
3
|
-
import * as
|
|
1
|
+
import "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import { r as TextFieldProps } from "../../../index-PHOOF3aY.cjs";
|
|
3
|
+
import * as react3 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ui/admin/email-field/email-field.d.ts
|
|
6
6
|
type EmailFieldProps = TextFieldProps;
|
|
7
|
-
declare const EmailField:
|
|
7
|
+
declare const EmailField: react3.ForwardRefExoticComponent<TextFieldProps & react3.RefAttributes<HTMLInputElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { EmailField, EmailFieldProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { r as TextFieldProps } from "../../../index-
|
|
3
|
-
import * as
|
|
1
|
+
import "../../../index-F4q_POK6.mjs";
|
|
2
|
+
import { r as TextFieldProps } from "../../../index-BMxk2WJs.mjs";
|
|
3
|
+
import * as react46 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ui/admin/email-field/email-field.d.ts
|
|
6
6
|
type EmailFieldProps = TextFieldProps;
|
|
7
|
-
declare const EmailField:
|
|
7
|
+
declare const EmailField: react46.ForwardRefExoticComponent<TextFieldProps & react46.RefAttributes<HTMLInputElement>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { EmailField, EmailFieldProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as LabelProps } from "../../../index-
|
|
2
|
-
import { n as TextFieldFileVariantColor } from "../../../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as LabelProps } from "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import { n as TextFieldFileVariantColor } from "../../../index-PHOOF3aY.cjs";
|
|
3
|
+
import * as react13 from "react";
|
|
4
4
|
import { ComponentProps, ReactNode } from "react";
|
|
5
5
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
6
6
|
import { DraggableAttributes } from "@dnd-kit/core";
|
|
@@ -26,11 +26,11 @@ interface FileFieldProps extends ComponentProps<'input'> {
|
|
|
26
26
|
action: ReactNode;
|
|
27
27
|
}
|
|
28
28
|
type SortableListeners = ReturnType<typeof useSortable>['listeners'];
|
|
29
|
-
declare const FileField:
|
|
29
|
+
declare const FileField: react13.ForwardRefExoticComponent<Omit<FileFieldProps, "ref"> & react13.RefAttributes<HTMLInputElement>>;
|
|
30
30
|
interface FileFieldItemProps extends Omit<FileFieldProps, 'dragId'> {
|
|
31
31
|
attributes: DraggableAttributes;
|
|
32
32
|
listeners?: SortableListeners;
|
|
33
33
|
}
|
|
34
|
-
declare const FileFieldItem:
|
|
34
|
+
declare const FileFieldItem: react13.ForwardRefExoticComponent<Omit<FileFieldItemProps, "ref"> & react13.RefAttributes<HTMLInputElement>>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { FileField, FileFieldItem, FileFieldItemProps, FileFieldProps, FileLanguage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as LabelProps } from "../../../index-
|
|
2
|
-
import { n as TextFieldFileVariantColor } from "../../../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as LabelProps } from "../../../index-F4q_POK6.mjs";
|
|
2
|
+
import { n as TextFieldFileVariantColor } from "../../../index-BMxk2WJs.mjs";
|
|
3
|
+
import * as react32 from "react";
|
|
4
4
|
import { ComponentProps, ReactNode } from "react";
|
|
5
5
|
import { useSortable } from "@dnd-kit/sortable";
|
|
6
6
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
@@ -26,11 +26,11 @@ interface FileFieldProps extends ComponentProps<'input'> {
|
|
|
26
26
|
action: ReactNode;
|
|
27
27
|
}
|
|
28
28
|
type SortableListeners = ReturnType<typeof useSortable>['listeners'];
|
|
29
|
-
declare const FileField:
|
|
29
|
+
declare const FileField: react32.ForwardRefExoticComponent<Omit<FileFieldProps, "ref"> & react32.RefAttributes<HTMLInputElement>>;
|
|
30
30
|
interface FileFieldItemProps extends Omit<FileFieldProps, 'dragId'> {
|
|
31
31
|
attributes: DraggableAttributes;
|
|
32
32
|
listeners?: SortableListeners;
|
|
33
33
|
}
|
|
34
|
-
declare const FileFieldItem:
|
|
34
|
+
declare const FileFieldItem: react32.ForwardRefExoticComponent<Omit<FileFieldItemProps, "ref"> & react32.RefAttributes<HTMLInputElement>>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { FileField, FileFieldItem, FileFieldItemProps, FileFieldProps, FileLanguage };
|
|
@@ -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`),require(`../../../file-DeZ1OKdy.cjs`),require(`../../../api-client-D7WV9lod.cjs`),require(`../../../use-subset-image-wa7xQOwx.cjs`),require(`../../../skeleton-7P1IZD3G.cjs`);const t=require(`../../../image-BH4lb2K5.cjs`),n=require(`../../../dnd-DHNRwFj8.cjs`),r=require(`../../../label-jZuNIGyF.cjs`);let i=require(`class-variance-authority`),a=require(`react`),o=require(`clsx`);o=e.t(o);let s=require(`react/jsx-runtime`);const c=(0,i.cva)(``,{variants:{objectFit:{cover:`komc:object-cover`,contain:`komc:object-contain`,fill:`komc:object-fill`,none:`komc:object-none`,"scale-down":`komc:object-scale-down`}},defaultVariants:{objectFit:`cover`}}),l=`komc:flex komc:shrink-0 komc:justify-center komc:items-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-3.5 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,u=({label:e,dragId:t,...i})=>(0,s.jsx)(n.t,{id:t,render:(n,a)=>(0,s.jsx)(r.t,{...e,children:(0,s.jsx)(d,{...i,dragId:t,attributes:n,listeners:a})})}),d=({dragId:e,src:n=``,alt:r=``,objectFit:i=`cover`,className:u,originalWidth:d,onUpdate:f,onDelete:p,handle:m,update:h,action:g,attributes:_,listeners:v})=>{let[y,b]=(0,a.useState)(n),x=`${e}-file-input`,S=e=>{let t=e.target.files?.[0];t&&(b(URL.createObjectURL(t)),f(t))};return(0,a.useEffect)(()=>{b(n)},[n]),(0,s.jsxs)(`div`,{"data-komc":!0,className:(0,o.default)(`komc:flex komc:flex-col komc:w-full komc:h-auto`,`komc:rounded-sm komc:border-[0.6px] komc:border-neutral-100 komc:bg-neutral-50`,`komc:shadow-field komc:overflow-hidden`),children:[(0,s.jsxs)(`div`,{className:(0,o.default)(`komc:flex komc:flex-row komc:justify-between komc:items-center komc:gap-x-3`,`komc:w-full komc:h-9 komc:px-3 komc:py-2 komc:bg-white`),children:[(0,s.jsx)(`button`,{type:`button`,"aria-label":`Drag to reorder`,className:(0,o.default)(l,`komc:cursor-grab`),..._,...v,children:m}),(0,s.jsxs)(`div`,{className:`komc:flex komc:flex-row komc:items-center komc:gap-x-3 komc:ml-auto`,children:[(0,s.jsxs)(`label`,{htmlFor:x,className:`komc:cursor-pointer`,children:[(0,s.jsx)(`input`,{type:`file`,id:x,className:`komc:hidden`,"aria-label":`Replace file`,onClick:e=>{e.target.value=``},onChange:S}),(0,s.jsx)(`div`,{className:`komc:flex komc:items-center komc:justify-center komc:w-5 komc:h-5 komc:aspect-square komc:[&_svg]:w-5 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,children:h})]}),(0,s.jsx)(`button`,{type:`button`,"aria-label":`Delete`,className:l,onClick:p,children:g})]})]}),(0,s.jsx)(`a`,{href:y||``,target:`_blank`,rel:`noopener noreferrer`,"aria-label":r||`Open image`,className:`komc:w-full komc:h-36 komc:relative`,children:(0,s.jsx)(t.r,{fill:!0,sizes:`250px`,originalWidth:d||600,src:y,alt:r,className:c({objectFit:i,className:u})})})]})};exports.ImageListField=u,exports.ImageListFieldItem=d;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as Label } from "../../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Label } from "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
import { DraggableAttributes } from "@dnd-kit/core";
|
|
7
7
|
import { useSortable } from "@dnd-kit/sortable";
|
|
8
8
|
|
|
9
9
|
//#region src/ui/admin/image-list-field/image-list-field.d.ts
|
|
10
10
|
declare const objectFitClasses: (props?: ({
|
|
11
|
-
objectFit?: "fill" | "none" | "
|
|
12
|
-
} &
|
|
11
|
+
objectFit?: "fill" | "none" | "cover" | "contain" | "scale-down" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
13
|
interface ImageListFieldProps {
|
|
14
14
|
label?: ComponentProps<typeof Label>;
|
|
15
15
|
src: string;
|
|
@@ -29,7 +29,7 @@ declare const ImageListField: ({
|
|
|
29
29
|
label,
|
|
30
30
|
dragId,
|
|
31
31
|
...props
|
|
32
|
-
}: ImageListFieldProps) =>
|
|
32
|
+
}: ImageListFieldProps) => react_jsx_runtime2.JSX.Element;
|
|
33
33
|
interface ImageListFieldItemProps extends ImageListFieldProps {
|
|
34
34
|
attributes: DraggableAttributes;
|
|
35
35
|
listeners?: SortableListeners;
|
|
@@ -48,6 +48,6 @@ declare const ImageListFieldItem: ({
|
|
|
48
48
|
action,
|
|
49
49
|
attributes,
|
|
50
50
|
listeners
|
|
51
|
-
}: ImageListFieldItemProps) =>
|
|
51
|
+
}: ImageListFieldItemProps) => react_jsx_runtime2.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { ImageListField, ImageListFieldItem, ImageListFieldItemProps, ImageListFieldProps };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as Label } from "../../../index-
|
|
1
|
+
import { t as Label } from "../../../index-F4q_POK6.mjs";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
5
5
|
import { useSortable } from "@dnd-kit/sortable";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
7
7
|
import { DraggableAttributes } from "@dnd-kit/core";
|
|
8
8
|
|
|
9
9
|
//#region src/ui/admin/image-list-field/image-list-field.d.ts
|
|
10
10
|
declare const objectFitClasses: (props?: ({
|
|
11
|
-
objectFit?: "fill" | "none" | "
|
|
12
|
-
} &
|
|
11
|
+
objectFit?: "fill" | "none" | "cover" | "contain" | "scale-down" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
13
13
|
interface ImageListFieldProps {
|
|
14
14
|
label?: ComponentProps<typeof Label>;
|
|
15
15
|
src: string;
|
|
@@ -29,7 +29,7 @@ declare const ImageListField: ({
|
|
|
29
29
|
label,
|
|
30
30
|
dragId,
|
|
31
31
|
...props
|
|
32
|
-
}: ImageListFieldProps) =>
|
|
32
|
+
}: ImageListFieldProps) => react_jsx_runtime36.JSX.Element;
|
|
33
33
|
interface ImageListFieldItemProps extends ImageListFieldProps {
|
|
34
34
|
attributes: DraggableAttributes;
|
|
35
35
|
listeners?: SortableListeners;
|
|
@@ -48,6 +48,6 @@ declare const ImageListFieldItem: ({
|
|
|
48
48
|
action,
|
|
49
49
|
attributes,
|
|
50
50
|
listeners
|
|
51
|
-
}: ImageListFieldItemProps) =>
|
|
51
|
+
}: ImageListFieldItemProps) => react_jsx_runtime36.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { ImageListField, ImageListFieldItem, ImageListFieldItemProps, ImageListFieldProps };
|
|
@@ -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{r as e}from"../../../image-DCRvyqH3.mjs";import{t}from"../../../dnd-CeWNVM-V.mjs";import{t as n}from"../../../label-DeEAgKAc.mjs";import{cva as r}from"class-variance-authority";import{useEffect as i,useState as a}from"react";import o from"clsx";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=r(``,{variants:{objectFit:{cover:`komc:object-cover`,contain:`komc:object-contain`,fill:`komc:object-fill`,none:`komc:object-none`,"scale-down":`komc:object-scale-down`}},defaultVariants:{objectFit:`cover`}}),u=`komc:flex komc:shrink-0 komc:justify-center komc:items-center komc:w-5 komc:h-5 komc:aspect-square komc:cursor-pointer komc:[&_svg]:w-3.5 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,d=({label:e,dragId:r,...i})=>s(t,{id:r,render:(t,a)=>s(n,{...e,children:s(f,{...i,dragId:r,attributes:t,listeners:a})})}),f=({dragId:t,src:n=``,alt:r=``,objectFit:d=`cover`,className:f,originalWidth:p,onUpdate:m,onDelete:h,handle:g,update:_,action:v,attributes:y,listeners:b})=>{let[x,S]=a(n),C=`${t}-file-input`,w=e=>{let t=e.target.files?.[0];t&&(S(URL.createObjectURL(t)),m(t))};return i(()=>{S(n)},[n]),c(`div`,{"data-komc":!0,className:o(`komc:flex komc:flex-col komc:w-full komc:h-auto`,`komc:rounded-sm komc:border-[0.6px] komc:border-neutral-100 komc:bg-neutral-50`,`komc:shadow-field komc:overflow-hidden`),children:[c(`div`,{className:o(`komc:flex komc:flex-row komc:justify-between komc:items-center komc:gap-x-3`,`komc:w-full komc:h-9 komc:px-3 komc:py-2 komc:bg-white`),children:[s(`button`,{type:`button`,"aria-label":`Drag to reorder`,className:o(u,`komc:cursor-grab`),...y,...b,children:g}),c(`div`,{className:`komc:flex komc:flex-row komc:items-center komc:gap-x-3 komc:ml-auto`,children:[c(`label`,{htmlFor:C,className:`komc:cursor-pointer`,children:[s(`input`,{type:`file`,id:C,className:`komc:hidden`,"aria-label":`Replace file`,onClick:e=>{e.target.value=``},onChange:w}),s(`div`,{className:`komc:flex komc:items-center komc:justify-center komc:w-5 komc:h-5 komc:aspect-square komc:[&_svg]:w-5 komc:[&_svg]:h-4 komc:[&_svg]:text-neutral-500`,children:_})]}),s(`button`,{type:`button`,"aria-label":`Delete`,className:u,onClick:h,children:v})]})]}),s(`a`,{href:x||``,target:`_blank`,rel:`noopener noreferrer`,"aria-label":r||`Open image`,className:`komc:w-full komc:h-36 komc:relative`,children:s(e,{fill:!0,sizes:`250px`,originalWidth:p||600,src:x,alt:r,className:l({objectFit:d,className:f})})})]})};export{d as ImageListField,f as ImageListFieldItem};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as LabelProps, t as Label } from "../../../index-
|
|
1
|
+
import { n as LabelProps, t as Label } from "../../../index-CN8vImmH.cjs";
|
|
2
2
|
export { Label, LabelProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as LabelProps, t as Label } from "../../../index-
|
|
1
|
+
import { n as LabelProps, t as Label } from "../../../index-F4q_POK6.mjs";
|
|
2
2
|
export { Label, LabelProps };
|
|
@@ -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(`../../../api-client-D7WV9lod.cjs`),n=require(`../../../label-jZuNIGyF.cjs`);let r=require(`react`),i=require(`clsx`);i=e.t(i);let a=require(`react/jsx-runtime`);const o=(0,r.forwardRef)(({usePriorityLank:e,dataType:o,label:s={},wrapperClassName:c,...l},u)=>{let d=t.n(),{text:f,...p}=s,[m,h]=(0,r.useState)(null),g=(0,r.useCallback)(async e=>{try{h(await d.api.getPriorityPosition(e,o))}catch{h(null)}},[d,o]);(0,r.useEffect)(()=>{e&&!isNaN(Number(l.value))&&g(Number(l.value))},[e,l.value,o,g]);let _=t=>{let n=Number(t.currentTarget.value);e&&!isNaN(n)&&g(n)};return(0,a.jsxs)(n.t,{text:f,...p,children:[(0,a.jsx)(`div`,{"data-komc":!0,className:(0,i.default)(`komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:bg-white`,`komc:py-3 komc:px-4`,`komc:h-11.5`,c),children:(0,a.jsx)(`input`,{ref:u,type:`number`,className:(0,i.default)(`komc:w-full komc:h-full`,`komc:text-right komc:outline-none komc:border-none komc:bg-transparent komc:[&::-webkit-outer-spin-button]:appearance-none komc:[&::-webkit-inner-spin-button]:appearance-none`,`komc:text-lg komc:font-normal`),...l,onInput:_})}),e&&m&&(0,a.jsx)(`div`,{className:`komc:text-right`,children:(0,a.jsxs)(`span`,{className:`komc:text-xs komc:text-neutral-500`,children:[m?.rank,` / `,m?.total]})})]})});exports.PriorityField=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Label } from "../../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Label } from "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import * as react42 from "react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ui/admin/priority-field/priority-field.d.ts
|
|
@@ -14,6 +14,6 @@ interface PriorityFieldProps extends ComponentProps<'input'> {
|
|
|
14
14
|
wrapperClassName?: string;
|
|
15
15
|
label?: ComponentProps<typeof Label>;
|
|
16
16
|
}
|
|
17
|
-
declare const PriorityField:
|
|
17
|
+
declare const PriorityField: react42.ForwardRefExoticComponent<Omit<PriorityFieldProps, "ref"> & react42.RefAttributes<HTMLInputElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { PriorityDataType, PriorityField, PriorityFieldProps, RankProp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Label } from "../../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Label } from "../../../index-F4q_POK6.mjs";
|
|
2
|
+
import * as react40 from "react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ui/admin/priority-field/priority-field.d.ts
|
|
@@ -14,6 +14,6 @@ interface PriorityFieldProps extends ComponentProps<'input'> {
|
|
|
14
14
|
wrapperClassName?: string;
|
|
15
15
|
label?: ComponentProps<typeof Label>;
|
|
16
16
|
}
|
|
17
|
-
declare const PriorityField:
|
|
17
|
+
declare const PriorityField: react40.ForwardRefExoticComponent<Omit<PriorityFieldProps, "ref"> & react40.RefAttributes<HTMLInputElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { PriorityDataType, PriorityField, PriorityFieldProps, RankProp };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../../src-
|
|
1
|
+
"use client";import"../../../src-blAkna22.mjs";import{n as e}from"../../../api-client-D2UDU0fw.mjs";import{t}from"../../../label-DeEAgKAc.mjs";import{forwardRef as n,useCallback as r,useEffect as i,useState as a}from"react";import o from"clsx";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=n(({usePriorityLank:n,dataType:l,label:u={},wrapperClassName:d,...f},p)=>{let m=e(),{text:h,...g}=u,[_,v]=a(null),y=r(async e=>{try{v(await m.api.getPriorityPosition(e,l))}catch{v(null)}},[m,l]);i(()=>{n&&!isNaN(Number(f.value))&&y(Number(f.value))},[n,f.value,l,y]);let b=e=>{let t=Number(e.currentTarget.value);n&&!isNaN(t)&&y(t)};return c(t,{text:h,...g,children:[s(`div`,{"data-komc":!0,className:o(`komc:border-[0.6px] komc:border-neutral-300 komc:rounded-lg komc:bg-white`,`komc:py-3 komc:px-4`,`komc:h-11.5`,d),children:s(`input`,{ref:p,type:`number`,className:o(`komc:w-full komc:h-full`,`komc:text-right komc:outline-none komc:border-none komc:bg-transparent komc:[&::-webkit-outer-spin-button]:appearance-none komc:[&::-webkit-inner-spin-button]:appearance-none`,`komc:text-lg komc:font-normal`),...f,onInput:b})}),n&&_&&s(`div`,{className:`komc:text-right`,children:c(`span`,{className:`komc:text-xs komc:text-neutral-500`,children:[_?.rank,` / `,_?.total]})})]})});export{l as PriorityField};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { a as valueContainerClasses, i as controlClasses, n as SelectFieldProps, r as baseClassNames, t as SelectField } from "../../../index-
|
|
1
|
+
import "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import { a as valueContainerClasses, i as controlClasses, n as SelectFieldProps, r as baseClassNames, t as SelectField } from "../../../index-CLS7OQza.cjs";
|
|
3
3
|
export { SelectField, SelectFieldProps, baseClassNames, controlClasses, valueContainerClasses };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { a as valueContainerClasses, i as controlClasses, n as SelectFieldProps, r as baseClassNames, t as SelectField } from "../../../index-
|
|
1
|
+
import "../../../index-F4q_POK6.mjs";
|
|
2
|
+
import { a as valueContainerClasses, i as controlClasses, n as SelectFieldProps, r as baseClassNames, t as SelectField } from "../../../index-CFP0MOF3.mjs";
|
|
3
3
|
export { SelectField, SelectFieldProps, baseClassNames, controlClasses, valueContainerClasses };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { r as TextFieldProps } from "../../../index-
|
|
3
|
-
import * as
|
|
1
|
+
import "../../../index-CN8vImmH.cjs";
|
|
2
|
+
import { r as TextFieldProps } from "../../../index-PHOOF3aY.cjs";
|
|
3
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { DraggableAttributes } from "@dnd-kit/core";
|
|
6
6
|
import { useSortable } from "@dnd-kit/sortable";
|
|
@@ -20,7 +20,7 @@ type SortableListeners = ReturnType<typeof useSortable>['listeners'];
|
|
|
20
20
|
declare const SeriesField: ({
|
|
21
21
|
dragId,
|
|
22
22
|
...props
|
|
23
|
-
}: SeriesFieldProps) =>
|
|
23
|
+
}: SeriesFieldProps) => react_jsx_runtime47.JSX.Element;
|
|
24
24
|
interface SeriesFieldItemProps extends Omit<SeriesFieldProps, 'dragId'> {
|
|
25
25
|
attributes: DraggableAttributes;
|
|
26
26
|
listeners?: SortableListeners;
|
|
@@ -32,6 +32,6 @@ declare const SeriesFieldItem: ({
|
|
|
32
32
|
onDelete,
|
|
33
33
|
handle,
|
|
34
34
|
action
|
|
35
|
-
}: SeriesFieldItemProps) =>
|
|
35
|
+
}: SeriesFieldItemProps) => react_jsx_runtime47.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { SeriesField, SeriesFieldItem, SeriesFieldItemProps, SeriesFieldProps, SeriesTextFieldProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../index-
|
|
2
|
-
import { r as TextFieldProps } from "../../../index-
|
|
1
|
+
import "../../../index-F4q_POK6.mjs";
|
|
2
|
+
import { r as TextFieldProps } from "../../../index-BMxk2WJs.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
5
5
|
import { useSortable } from "@dnd-kit/sortable";
|
|
6
6
|
import { DraggableAttributes } from "@dnd-kit/core";
|
|
7
7
|
|
|
@@ -20,7 +20,7 @@ type SortableListeners = ReturnType<typeof useSortable>['listeners'];
|
|
|
20
20
|
declare const SeriesField: ({
|
|
21
21
|
dragId,
|
|
22
22
|
...props
|
|
23
|
-
}: SeriesFieldProps) =>
|
|
23
|
+
}: SeriesFieldProps) => react_jsx_runtime38.JSX.Element;
|
|
24
24
|
interface SeriesFieldItemProps extends Omit<SeriesFieldProps, 'dragId'> {
|
|
25
25
|
attributes: DraggableAttributes;
|
|
26
26
|
listeners?: SortableListeners;
|
|
@@ -32,6 +32,6 @@ declare const SeriesFieldItem: ({
|
|
|
32
32
|
onDelete,
|
|
33
33
|
handle,
|
|
34
34
|
action
|
|
35
|
-
}: SeriesFieldItemProps) =>
|
|
35
|
+
}: SeriesFieldItemProps) => react_jsx_runtime38.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { SeriesField, SeriesFieldItem, SeriesFieldItemProps, SeriesFieldProps, SeriesTextFieldProps };
|