lkt-vue-kernel 1.0.99 → 1.0.101
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/index.d.ts +26 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -268,14 +268,15 @@ declare enum FieldType {
|
|
|
268
268
|
Textarea = "textarea",
|
|
269
269
|
Html = "html",
|
|
270
270
|
Date = "date",
|
|
271
|
+
Time = "time",
|
|
272
|
+
DateTime = "datetime",
|
|
271
273
|
File = "file",
|
|
272
274
|
Image = "image",
|
|
273
275
|
Select = "select",
|
|
274
276
|
Check = "check",
|
|
275
277
|
Switch = "switch",
|
|
276
278
|
Calc = "calc",
|
|
277
|
-
Card = "card"
|
|
278
|
-
Elements = "elements"
|
|
279
|
+
Card = "card"
|
|
279
280
|
}
|
|
280
281
|
|
|
281
282
|
type ValidOptionValue = string | number | undefined;
|
|
@@ -857,6 +858,7 @@ interface BoxConfig {
|
|
|
857
858
|
iconAtEnd?: boolean;
|
|
858
859
|
style?: string;
|
|
859
860
|
class?: string;
|
|
861
|
+
contentClass?: string;
|
|
860
862
|
icon?: IconConfig | string;
|
|
861
863
|
}
|
|
862
864
|
|
|
@@ -947,12 +949,13 @@ declare enum ModificationView {
|
|
|
947
949
|
|
|
948
950
|
interface FormItemConfig extends RenderAndDisplayProps {
|
|
949
951
|
key?: string;
|
|
950
|
-
type?: 'field' | 'component' | 'form';
|
|
952
|
+
type?: 'field' | 'component' | 'form' | 'slot';
|
|
951
953
|
field?: FieldConfig;
|
|
952
954
|
modificationsField?: FieldConfig;
|
|
953
955
|
form?: FormConfig;
|
|
954
956
|
component?: FormComponentConfig;
|
|
955
957
|
supportedModifications?: boolean | ModificationView[];
|
|
958
|
+
slotData?: LktObject;
|
|
956
959
|
}
|
|
957
960
|
|
|
958
961
|
type TableConfigReturnFunction = (config: TableConfig) => TableConfig;
|
|
@@ -1236,9 +1239,18 @@ interface WebElementConfig {
|
|
|
1236
1239
|
subElements: WebElementConfig[];
|
|
1237
1240
|
}
|
|
1238
1241
|
|
|
1242
|
+
declare enum WebPageStatus {
|
|
1243
|
+
Draft = "draft",
|
|
1244
|
+
Public = "public",
|
|
1245
|
+
Scheduled = "scheduled"
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1239
1248
|
interface WebPageConfig {
|
|
1240
1249
|
id: number | string | undefined;
|
|
1241
1250
|
name: string;
|
|
1251
|
+
slug?: string;
|
|
1252
|
+
status?: WebPageStatus;
|
|
1253
|
+
scheduledDate?: Date;
|
|
1242
1254
|
nameData?: MultiLangValue;
|
|
1243
1255
|
webElements: Array<WebElement>;
|
|
1244
1256
|
}
|
|
@@ -1319,6 +1331,7 @@ declare class Box extends LktItem implements BoxConfig {
|
|
|
1319
1331
|
iconAtEnd: boolean;
|
|
1320
1332
|
style: string;
|
|
1321
1333
|
class: string;
|
|
1334
|
+
contentClass?: string;
|
|
1322
1335
|
icon: IconConfig | string;
|
|
1323
1336
|
constructor(data?: Partial<BoxConfig>);
|
|
1324
1337
|
}
|
|
@@ -1495,6 +1508,10 @@ declare class FormInstance extends LktItem implements FormConfig {
|
|
|
1495
1508
|
header?: HeaderConfig;
|
|
1496
1509
|
uiConfig?: Partial<FormUiConfig>;
|
|
1497
1510
|
constructor(data?: Partial<FormConfig>);
|
|
1511
|
+
static mkFieldItemConfig(key: string, field: FieldConfig, modificationsField?: FieldConfig, displayConfig?: RenderAndDisplayProps): FormItemConfig;
|
|
1512
|
+
static mkFormItemConfig(form: FormConfig, displayConfig?: RenderAndDisplayProps): FormItemConfig;
|
|
1513
|
+
static mkComponentItemConfig(component: FormComponentConfig, displayConfig?: RenderAndDisplayProps): FormItemConfig;
|
|
1514
|
+
static mkSlotItemConfig(key: string, slotData?: LktObject): FormItemConfig;
|
|
1498
1515
|
}
|
|
1499
1516
|
|
|
1500
1517
|
declare enum ValidationCode {
|
|
@@ -1845,11 +1862,15 @@ declare class WebPage extends LktItem implements WebPageConfig {
|
|
|
1845
1862
|
keyMoment: string;
|
|
1846
1863
|
id: number | string | undefined;
|
|
1847
1864
|
name: string;
|
|
1865
|
+
slug: string;
|
|
1866
|
+
status?: WebPageStatus;
|
|
1867
|
+
scheduledDate?: Date;
|
|
1848
1868
|
nameData?: MultiLangValue;
|
|
1849
1869
|
webElements: Array<WebElement>;
|
|
1850
1870
|
crudConfig: ItemCrudConfig;
|
|
1851
1871
|
constructor(data?: Partial<WebPageConfig>);
|
|
1852
1872
|
updateKeyMoment(): void;
|
|
1873
|
+
updateSlug(): void;
|
|
1853
1874
|
}
|
|
1854
1875
|
|
|
1855
1876
|
declare enum SortDirection {
|
|
@@ -1909,6 +1930,7 @@ declare const lktDebug: (component: string, ...args: any[]) => void;
|
|
|
1909
1930
|
|
|
1910
1931
|
declare const getFormDataState: (value: LktObject, modifications: LktObject, form: FormConfig) => DataState;
|
|
1911
1932
|
declare const getFormFieldsKeys: (form: FormConfig) => string[];
|
|
1933
|
+
declare const getFormSlotKeys: (form: FormConfig) => string[];
|
|
1912
1934
|
|
|
1913
1935
|
declare enum ModalRegisterType {
|
|
1914
1936
|
Quick = "quick",
|
|
@@ -2026,4 +2048,4 @@ declare function getDefaultValues<T>(cls: {
|
|
|
2026
2048
|
lktDefaultValues: (keyof T)[];
|
|
2027
2049
|
}): Partial<T>;
|
|
2028
2050
|
|
|
2029
|
-
export { Accordion, type AccordionConfig, AccordionToggleMode, AccordionType, Anchor, type AnchorConfig, AnchorType, Banner, type BannerConfig, BannerType, type BeforeCloseModalData, type BooleanFieldConfig, Box, type BoxConfig, Button, type ButtonConfig, ButtonType, type ClickEventArgs, Column, type ColumnConfig, ColumnType, type ConditionalColumnArgs, Counter, type CounterConfig, CounterType, DocPage, type DocPageConfig, DocPageSize, type DragConfig, type EmptyModalKey, type EventsConfig, Field, FieldAutoValidationTrigger, type FieldConfig, type FieldReadModeConfig, FieldType, FieldValidation, type FieldValidationConfig, type FieldValidationEndEventArgs, FieldValidationType, type FileBrowserConfig, FileEntity, type FileEntityConfig, FileEntityType, type FormComponentConfig, type FormConfig, FormInstance, type FormItemConfig, type FormUiConfig, Header, type HeaderConfig, HeaderTag, type HttpCallConfig, Icon, type IconConfig, IconPosition, IconType, Image, type ImageConfig, type IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktColor, LktItem, type LktObject, LktSettings, LktStrictItem, Login, type LoginConfig, Menu, type MenuConfig, MenuEntry, type MenuEntryConfig, MenuEntryType, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalController, type ModalRegister, ModalRegisterType, ModalType, ModificationView, type MultiLangValue, MultipleOptionsDisplay, NotificationType, Option, type OptionConfig, type OptionsConfig, Paginator, type PaginatorConfig, PaginatorType, Progress, type ProgressConfig, ProgressType, ProgressValueFormat, type RenderAndDisplayProps, type RenderModalConfig, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, StepProcess, type StepProcessConfig, type StepProcessStepConfig, Table, type TableConfig, TablePermission, TableRowType, TableType, Tabs, type TabsConfig, Tag, type TagConfig, TagType, Toast, type ToastConfig, ToastPositionX, ToastType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidButtonDot, type ValidColSpan, type ValidCustomSlot, type ValidDragConfig, type ValidFieldMinMax, type ValidFieldValue, type ValidIsDisabledValue, type ValidModalComponent, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidPaginatorConfig, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, type ValidTextValue, ValidationCode, ValidationStatus, WebElement, type WebElementConfig, WebElementController, WebElementLayoutType, type WebElementPropsConfig, type WebElementSettings, WebElementType, WebPage, type WebPageConfig, WebPageController, type WebPageSettings, WebParentType, addConfirm, addModal, applyTextAlignment, applyTextFormat, booleanFieldTypes, changeBackgroundColor, changeFontFamily, changeTextColor, closeConfirm, closeModal, createColumn, ensureButtonConfig, ensureFieldConfig, extractI18nValue, extractPropValue, fieldTypesWithOptions, fieldTypesWithoutClear, fieldTypesWithoutUndo, fieldsWithMultipleMode, getAnchorHref, getDefaultLktAnchorWebElement, getDefaultLktButtonWebElement, getDefaultLktHeaderWebElement, getDefaultLktIconWebElement, getDefaultLktImageWebElement, getDefaultLktLayoutAccordionWebElement, getDefaultLktLayoutBoxWebElement, getDefaultLktLayoutWebElement, getDefaultLktTextAccordionWebElement, getDefaultLktTextBannerWebElement, getDefaultLktTextBoxWebElement, getDefaultLktTextWebElement, getDefaultValues, getFormDataState, getFormFieldsKeys, lktDebug, openConfirm, openModal, prepareResourceData, runModalCallback, setModalCanvas, textFieldTypes, textFieldTypesWithOptions };
|
|
2051
|
+
export { Accordion, type AccordionConfig, AccordionToggleMode, AccordionType, Anchor, type AnchorConfig, AnchorType, Banner, type BannerConfig, BannerType, type BeforeCloseModalData, type BooleanFieldConfig, Box, type BoxConfig, Button, type ButtonConfig, ButtonType, type ClickEventArgs, Column, type ColumnConfig, ColumnType, type ConditionalColumnArgs, Counter, type CounterConfig, CounterType, DocPage, type DocPageConfig, DocPageSize, type DragConfig, type EmptyModalKey, type EventsConfig, Field, FieldAutoValidationTrigger, type FieldConfig, type FieldReadModeConfig, FieldType, FieldValidation, type FieldValidationConfig, type FieldValidationEndEventArgs, FieldValidationType, type FileBrowserConfig, FileEntity, type FileEntityConfig, FileEntityType, type FormComponentConfig, type FormConfig, FormInstance, type FormItemConfig, type FormUiConfig, Header, type HeaderConfig, HeaderTag, type HttpCallConfig, Icon, type IconConfig, IconPosition, IconType, Image, type ImageConfig, type IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktColor, LktItem, type LktObject, LktSettings, LktStrictItem, Login, type LoginConfig, Menu, type MenuConfig, MenuEntry, type MenuEntryConfig, MenuEntryType, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalController, type ModalRegister, ModalRegisterType, ModalType, ModificationView, type MultiLangValue, MultipleOptionsDisplay, NotificationType, Option, type OptionConfig, type OptionsConfig, Paginator, type PaginatorConfig, PaginatorType, Progress, type ProgressConfig, ProgressType, ProgressValueFormat, type RenderAndDisplayProps, type RenderModalConfig, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, StepProcess, type StepProcessConfig, type StepProcessStepConfig, Table, type TableConfig, TablePermission, TableRowType, TableType, Tabs, type TabsConfig, Tag, type TagConfig, TagType, Toast, type ToastConfig, ToastPositionX, ToastType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidButtonDot, type ValidColSpan, type ValidCustomSlot, type ValidDragConfig, type ValidFieldMinMax, type ValidFieldValue, type ValidIsDisabledValue, type ValidModalComponent, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidPaginatorConfig, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, type ValidTextValue, ValidationCode, ValidationStatus, WebElement, type WebElementConfig, WebElementController, WebElementLayoutType, type WebElementPropsConfig, type WebElementSettings, WebElementType, WebPage, type WebPageConfig, WebPageController, type WebPageSettings, WebPageStatus, WebParentType, addConfirm, addModal, applyTextAlignment, applyTextFormat, booleanFieldTypes, changeBackgroundColor, changeFontFamily, changeTextColor, closeConfirm, closeModal, createColumn, ensureButtonConfig, ensureFieldConfig, extractI18nValue, extractPropValue, fieldTypesWithOptions, fieldTypesWithoutClear, fieldTypesWithoutUndo, fieldsWithMultipleMode, getAnchorHref, getDefaultLktAnchorWebElement, getDefaultLktButtonWebElement, getDefaultLktHeaderWebElement, getDefaultLktIconWebElement, getDefaultLktImageWebElement, getDefaultLktLayoutAccordionWebElement, getDefaultLktLayoutBoxWebElement, getDefaultLktLayoutWebElement, getDefaultLktTextAccordionWebElement, getDefaultLktTextBannerWebElement, getDefaultLktTextBoxWebElement, getDefaultLktTextWebElement, getDefaultValues, getFormDataState, getFormFieldsKeys, getFormSlotKeys, lktDebug, openConfirm, openModal, prepareResourceData, runModalCallback, setModalCanvas, textFieldTypes, textFieldTypesWithOptions };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ke=(c=>(c.Button="button",c.Submit="submit",c.Reset="reset",c.Anchor="anchor",c.Content="content",c.Switch="switch",c.HiddenSwitch="hidden-switch",c.Split="split",c.SplitLazy="split-lazy",c.SplitEver="split-ever",c.Tooltip="tooltip",c.TooltipLazy="tooltip-lazy",c.TooltipEver="tooltip-ever",c.FileUpload="file-upload",c.ImageUpload="image-upload",c))(ke||{});var d=(t,e)=>typeof t>"u"||!t?e:{...e,...t},h=(t,e)=>typeof t>"u"?e:{...e,...t};var b=class t{static debugEnabled=!1;static debugMode(e=!0){return t.debugEnabled=e,t}static defaultCreateErrorText="Creation failed";static defaultCreateErrorDetails="An error occurred while creating the item. Please try again.";static defaultCreateErrorIcon="";static setDefaultCreateError(e){t.defaultCreateErrorText=e.text??t.defaultCreateErrorText,t.defaultCreateErrorDetails=e.details??t.defaultCreateErrorDetails,t.defaultCreateErrorIcon=e.icon??t.defaultCreateErrorIcon}static defaultUpdateErrorText="Update failed";static defaultUpdateErrorDetails="An error occurred while updating the item. Please try again.";static defaultUpdateErrorIcon="";static setDefaultUpdateError(e){t.defaultUpdateErrorText=e.text??t.defaultUpdateErrorText,t.defaultUpdateErrorDetails=e.details??t.defaultUpdateErrorDetails,t.defaultUpdateErrorIcon=e.icon??t.defaultUpdateErrorIcon}static defaultDropErrorText="Drop failed";static defaultDropErrorDetails="An error occurred while removing the item. Please try again.";static defaultDropErrorIcon="";static setDefaultDropError(e){t.defaultDropErrorText=e.text??t.defaultDropErrorText,t.defaultDropErrorDetails=e.details??t.defaultDropErrorDetails,t.defaultDropErrorIcon=e.icon??t.defaultDropErrorIcon}static defaultCreateSuccessText="Item created";static defaultCreateSuccessDetails="";static defaultCreateSuccessIcon="";static setDefaultCreateSuccess(e){t.defaultCreateSuccessText=e.text??t.defaultCreateSuccessText,t.defaultCreateSuccessDetails=e.details??t.defaultCreateSuccessDetails,t.defaultCreateSuccessIcon=e.icon??t.defaultCreateSuccessIcon}static defaultUpdateSuccessText="Item updated";static defaultUpdateSuccessDetails="";static defaultUpdateSuccessIcon="";static setDefaultUpdateSuccess(e){t.defaultUpdateSuccessText=e.text??t.defaultUpdateSuccessText,t.defaultUpdateSuccessDetails=e.details??t.defaultUpdateSuccessDetails,t.defaultUpdateSuccessIcon=e.icon??t.defaultUpdateSuccessIcon}static defaultDropSuccessText="Item removed";static defaultDropSuccessDetails="";static defaultDropSuccessIcon="";static setDefaultDropSuccess(e){t.defaultDropSuccessText=e.text??t.defaultDropSuccessText,t.defaultDropSuccessDetails=e.details??t.defaultDropSuccessDetails,t.defaultDropSuccessIcon=e.icon??t.defaultDropSuccessIcon}static defaultUploadSuccessText="Upload success";static defaultUploadSuccessDetails="";static defaultUploadSuccessIcon="";static setDefaultUploadSuccess(e){t.defaultUploadSuccessText=e.text??t.defaultUploadSuccessText,t.defaultUploadSuccessDetails=e.details??t.defaultUploadSuccessDetails,t.defaultUploadSuccessIcon=e.icon??t.defaultUploadSuccessIcon}static defaultUploadErrorText="Upload error";static defaultUploadErrorDetails="";static defaultUploadErrorIcon="";static setDefaultUploadError(e){t.defaultUploadErrorText=e.text??t.defaultUploadErrorText,t.defaultUploadErrorDetails=e.details??t.defaultUploadErrorDetails,t.defaultUploadErrorIcon=e.icon??t.defaultUploadErrorIcon}static defaultSaveButton={text:"Save",icon:"lkt-icn-save"};static setDefaultSaveButton(e,o=!0){return o?t.defaultSaveButton=e:t.defaultSaveButton=d(e,t.defaultSaveButton),t}static defaultConfirmButton={text:"Confirm"};static setDefaultConfirmButton(e,o=!0){return o?t.defaultConfirmButton=e:t.defaultConfirmButton=d(e,t.defaultConfirmButton),t}static defaultCancelButton={text:"Cancel"};static setDefaultCancelButton(e,o=!0){return o?t.defaultCancelButton=e:t.defaultCancelButton=d(e,t.defaultCancelButton),t}static defaultCreateButton={text:"Create",icon:"lkt-icn-save"};static setDefaultCreateButton(e,o=!0){return o?t.defaultCreateButton=e:t.defaultCreateButton=d(e,t.defaultCreateButton),t}static defaultUpdateButton={text:"Update",icon:"lkt-icn-save"};static setDefaultUpdateButton(e,o=!0){return o?t.defaultUpdateButton=e:t.defaultUpdateButton=d(e,t.defaultUpdateButton),t}static defaultDropButton={text:"Drop"};static setDefaultDropButton(e,o=!0){return o?t.defaultDropButton=e:t.defaultDropButton=d(e,t.defaultDropButton),t}static defaultEditModeButton={text:"Edit mode",type:"switch"};static setDefaultEditModeButton(e,o=!0){return o?t.defaultEditModeButton=e:t.defaultEditModeButton=d(e,t.defaultEditModeButton),t}static defaultGroupButton={text:"Actions",type:"split",icon:"lkt-icn-settings-cogs"};static setDefaultGroupButton(e,o=!0){return o?t.defaultGroupButton=e:t.defaultGroupButton=d(e,t.defaultGroupButton),t}static defaultToggleButton={text:"Toggle",textOn:"Close",textOff:"Show more",type:"hidden-switch"};static setDefaultToggleButton(e,o=!0){return o?t.defaultToggleButton=e:t.defaultToggleButton=d(e,t.defaultToggleButton),t}static defaultLoadMoreButton={text:"Load more",type:"hidden-switch"};static setDefaultLoadMoreButton(e,o=!0){return o?t.defaultLoadMoreButton=e:t.defaultLoadMoreButton=d(e,t.defaultLoadMoreButton),t}static defaultCloseModalIcon="lkt-icn-cancel";static setDefaultCloseModalIcon(e){return t.defaultCloseModalIcon=e,t}static defaultCloseToastIcon="lkt-icn-cancel";static setDefaultCloseToastIcon(e){return t.defaultCloseToastIcon=e,t}static defaultTableSortAscIcon="lkt-icn-arrow-bottom";static defaultTableSortDescIcon="lkt-icn-arrow-top";static setDefaultTableSortAscIcon(e){return t.defaultTableSortAscIcon=e,t}static setDefaultTableSortDescIcon(e){return t.defaultTableSortDescIcon=e,t}static defaultPaginatorFirstButton={text:"",icon:"lkt-icn-angle-double-left"};static defaultPaginatorPrevButton={text:"",icon:"lkt-icn-angle-left"};static defaultPaginatorNextButton={text:"",iconEnd:"lkt-icn-angle-right"};static defaultPaginatorLastButton={text:"",iconEnd:"lkt-icn-angle-double-right"};static setDefaultPaginatorFirstButton(e,o=!0){return o?t.defaultPaginatorFirstButton=e:t.defaultPaginatorFirstButton=d(e,t.defaultPaginatorFirstButton),t}static setDefaultPaginatorPrevButton(e,o=!0){return o?t.defaultPaginatorPrevButton=e:t.defaultPaginatorPrevButton=d(e,t.defaultPaginatorPrevButton),t}static setDefaultPaginatorNextButton(e,o=!0){return o?t.defaultPaginatorNextButton=e:t.defaultPaginatorNextButton=d(e,t.defaultPaginatorNextButton),t}static setDefaultPaginatorLastButton(e,o=!0){return o?t.defaultPaginatorLastButton=e:t.defaultPaginatorLastButton=d(e,t.defaultPaginatorLastButton),t}static defaultFieldElementCustomClassField={label:"Appearance",multiple:!1};static defaultFieldLktAccordionElementCustomClassField={};static defaultFieldLktBoxElementCustomClassField={};static defaultFieldLktIconElementCustomClassField={};static defaultFieldLktImageElementCustomClassField={};static setDefaultFieldLktAccordionElementCustomClassField(e,o=!0){return o?t.defaultFieldLktAccordionElementCustomClassField=e:t.defaultFieldLktAccordionElementCustomClassField=h(e,t.defaultFieldLktAccordionElementCustomClassField),t}static setDefaultFieldLktBoxElementCustomClassField(e,o=!0){return o?t.defaultFieldLktBoxElementCustomClassField=e:t.defaultFieldLktBoxElementCustomClassField=h(e,t.defaultFieldLktBoxElementCustomClassField),t}static setDefaultFieldLktIconElementCustomClassField(e,o=!0){return o?t.defaultFieldLktIconElementCustomClassField=e:t.defaultFieldLktIconElementCustomClassField=h(e,t.defaultFieldLktIconElementCustomClassField),t}static setDefaultFieldLktImageElementCustomClassField(e,o=!0){return o?t.defaultFieldLktImageElementCustomClassField=e:t.defaultFieldLktImageElementCustomClassField=h(e,t.defaultFieldLktImageElementCustomClassField),t}static i18nOptionsFormatter={};static setI18nOptionsFormatter(e,o){return t.i18nOptionsFormatter[e]=o,t}};var ye=(f=>(f.Text="text",f.Email="email",f.Tel="tel",f.Password="password",f.Search="search",f.Number="number",f.Color="color",f.Range="range",f.Textarea="textarea",f.Html="html",f.Date="date",f.File="file",f.Image="image",f.Select="select",f.Check="check",f.Switch="switch",f.Calc="calc",f.Card="card",f.Elements="elements",f))(ye||{});var pt=["text","search","select"],gt=["switch","check"],Ct=["switch","check"],xt=["text","search"],bt=["switch","check"],ht=["select","color","card"],kt=["text","email","password"];var yt=["lktDateProps","lktStrictItem","lktExcludedProps"],n=class t{static lktAllowUndefinedProps=[];static lktExcludedProps=[];static lktDateProps=[];static lktStrictItem=!1;static lktDefaultValues=[];constructor(e){}feed(e={},o=this){if(typeof e=="object")for(let[r,a]of Object.entries(e))o.assignProp(r,a)}assignProp(e,o){if(!(yt.includes(e)||t.lktExcludedProps.includes(e))&&!(t.lktStrictItem&&!this.hasOwnProperty(e))){if(t.lktDateProps.includes(e)){this[e]=new Date(o);return}this[e]=o}}};var y=class extends n{lktStrictItem=!0};var B=class t extends y{r=0;g=0;b=0;a=255;constructor(e){super(),this.feed(e)}static fromHexColor(e){let o=parseInt(+("0x"+e.substring(1,3)),10),r=parseInt(+("0x"+e.substring(3,5)),10),a=parseInt(+("0x"+e.substring(5,7)),10),i=255;return e.length===9&&(i=parseInt(+("0x"+e.substring(5,7)),10)),new t({r:o,g:r,b:a,a:i})}toString(){let e=parseInt(this.r).toString(16).padStart(2,"0").toUpperCase(),o=parseInt(this.g).toString(16).padStart(2,"0").toUpperCase(),r=parseInt(this.b).toString(16).padStart(2,"0").toUpperCase(),a="#"+e+o+r;if(this.a==255)return a;let i=parseInt(this.a).toString(16).padStart(2,"0").toUpperCase();return a+i}getContrastFontColor(){return(.299*this.r+.587*this.g+.114*this.b)/this.a>.5?"#000000":"#ffffff"}};var S=(a=>(a.Auto="auto",a.Always="always",a.Lazy="lazy",a.Ever="ever",a))(S||{});var Le=(r=>(r.Transform="transform",r.Height="height",r.Display="display",r))(Le||{});var V=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["modelValue","type","toggleMode","actionButton","toggleButton","toggleOnClickIntro","toggleTimeout","title","icon","class","contentClass","iconRotation","minHeight","iconAtEnd","toggleIconAtEnd"];modelValue=!1;type="auto";toggleMode="height";actionButton={};toggleButton={};toggleOnClickIntro=!1;toggleTimeout=0;title="";icon="";class="";contentClass="";iconRotation="90";minHeight=void 0;iconAtEnd=!1;toggleIconAtEnd=!1;constructor(e={}){super(),this.feed(e)}};var Me=(x=>(x.Href="href",x.RouterLink="router-link",x.RouterLinkBack="router-link-back",x.Mail="mail",x.Tel="tel",x.Tab="tab",x.Download="download",x.Action="action",x.Legacy="",x))(Me||{});import{__ as Lt}from"lkt-i18n";var I=(t,e)=>typeof t=="string"&&t.startsWith("prop:")?e[t.substring(5)]:t,Mt=t=>{if(typeof t=="string"&&t.startsWith("__:")){let e=String(t);return e.startsWith("__:")?Lt(e.substring(3)):e}return t},Et=(t,e)=>{if(!t)return{};let o={};for(let r in t)o[r]=I(t[r],e);return o};var D=t=>{let e="";if(typeof t.to=="string"&&(e=t.to),typeof t.to=="function"&&(e=t.to(t.prop??{})),typeof t.to=="string"&&(e=I(t.to,t.prop??{})),typeof t.type<"u")switch(t.type){case"mail":return`mailto:${e}`;case"tel":return`tel:${e}`;case"href":case"tab":case"download":return e}return e};var T=class extends n{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","to","class","isActive","downloadFileName","disabled","onClick","confirmModal","confirmModalKey","confirmData","imposter","external","events","text","icon","prop"];type="router-link";to="";class="";isActive=!1;downloadFileName="";disabled=!1;onClick=void 0;confirmModal="";confirmModalKey="_";confirmData={};imposter=!1;external=!1;text="";icon="";prop={};events={};getHref(){return D(this)}constructor(e={}){super(),this.feed(e)}};var v=(o=>(o.Static="static",o.Parallax="parallax",o))(v||{});var F=class extends n{static lktDefaultValues=["type","header","subHeader","art","opacity"];type="static";header=void 0;subHeader=void 0;art=void 0;media=void 0;opacity=void 0;constructor(e={}){super(),this.feed(e)}};var O=class extends n{static lktDefaultValues=["title","iconAtEnd","style","class","icon"];title="";iconAtEnd=!1;style="";class="";icon="";constructor(e={}){super(),this.feed(e)}};import{generateRandomString as It}from"lkt-string-tools";var w=class extends n{lktAllowUndefinedProps=["clickRef","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave"];static lktDefaultValues=["type","name","class","containerClass","value","disabled","loading","wrapContent","splitIcon","resource","resourceData","modal","modalKey","modalData","confirmModal","confirmModalKey","confirmData","modalCallbacks","text","textOn","textOff","icon","iconOn","iconOff","iconEndOn","iconEndOff","dot","iconEnd","img","showTooltipOnHoverDelay","tooltip","checked","clickRef","openTooltip","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave","splitClass","splitButtons","prop","events"];type="button";name=It(10);class="";containerClass="";value="";disabled=!1;loading=!1;wrapContent=!1;splitIcon="lkt-icn-angle-bottom";resource="";resourceData={};modal="";modalKey="_";modalData={};confirmModal="";confirmModalKey="_";confirmData={};modalCallbacks=[];text="";textOn=void 0;textOff=void 0;iconOn=void 0;iconOff=void 0;iconEndOn=void 0;iconEndOff=void 0;icon="";dot=!1;iconEnd="";img="";showTooltipOnHoverDelay=0;checked=!1;clickRef=void 0;openTooltip=!1;tabindex=void 0;anchor=void 0;showTooltipOnHover=void 0;hideTooltipOnLeave=void 0;splitClass="";splitButtons=[];tooltip={};prop={};events={};constructor(e={}){super(),this.feed(e)}isDisabled(){return typeof this.disabled=="function"?this.disabled():this.disabled}};var Ee=(a=>(a.None="",a.Field="field",a.Button="button",a.Anchor="anchor",a))(Ee||{});var L=class extends n{lktExcludedProps=["field","anchor","button"];lktAllowUndefinedProps=["formatter","checkEmpty","colspan","field","anchor","button"];static lktDefaultValues=["type","key","label","class","sortable","ensureFieldLabel","hidden","editable","formatter","checkEmpty","colspan","preferSlot","isForRowKey","isForAccordionHeader","extractTitleFromColumn","slotData","field","anchor","button"];type="";key="";label="";class="";sortable=!0;ensureFieldLabel=!1;hidden=!1;editable=!1;formatter=void 0;checkEmpty=void 0;colspan=void 0;preferSlot=!0;isForRowKey=!1;isForAccordionHeader=!1;extractTitleFromColumn="";slotData={};field=void 0;anchor=void 0;button=void 0;constructor(e={}){super(),this.feed(e)}};var Ie=(o=>(o.Date="date",o.Number="number",o))(Ie||{});var A=class extends n{static lktDefaultValues=["type","from","to","step","timeout","dateFormat"];type="number";from=void 0;to=void 0;step=1;timeout=1e3;dateFormat=":dd :hh :mm :ss";constructor(e={}){super(),this.feed(e)}};var Be=(l=>(l.A0="a0",l.A1="a1",l.A2="a2",l.A3="a3",l.A4="a4",l.A5="a5",l.A6="a6",l.A7="a7",l.A8="a8",l.A9="a9",l))(Be||{});var P=class extends n{static lktDefaultValues=["id","size","skipPageNumber","frontPage","title","img","icon"];id="";size="a4";skipPageNumber=!1;frontPage=!1;title="";img="";icon="";constructor(e={}){super(),this.feed(e)}};import{generateRandomString as Bt}from"lkt-string-tools";var Se=(r=>(r.List="list",r.Inline="inline",r.Count="count",r))(Se||{});var j=class extends n{static lktDefaultValues=["modelValue","type","valid","placeholder","searchPlaceholder","label","labelIcon","labelIconAtEnd","name","autocomplete","disabled","readonly","hidden","readMode","allowReadModeSwitch","tabindex","mandatory","showPassword","canClear","canUndo","canI18n","canStep","canTag","mandatoryMessage","infoMessage","errorMessage","min","max","step","enableAutoNumberFix","emptyValueSlot","optionSlot","valueSlot","editSlot","slotData","featuredButton","infoButtonEllipsis","fileName","customButtonText","customButtonClass","options","multiple","multipleDisplay","multipleDisplayEdition","searchable","icon","download","modal","modalKey","modalData","validation","prop","optionValueType","optionsConfig","fileUploadHttp","tooltipConfig","fileBrowserConfig","readModeConfig","configOn","configOff"];modelValue="";type="text";valid=void 0;placeholder="";searchPlaceholder="";label="";labelIcon="";labelIconAtEnd=!1;name=Bt(16);autocomplete=!1;disabled=!1;readonly=!1;hidden=!1;tabindex=void 0;mandatory=!1;showPassword=!1;canClear=!1;canUndo=!1;canI18n=!1;canStep=!1;canTag=!1;mandatoryMessage="";infoMessage="";errorMessage="";min=void 0;max=void 0;step=1;enableAutoNumberFix=!0;emptyValueSlot="";optionSlot=void 0;valueSlot=void 0;editSlot=void 0;slotData={};featuredButton="";infoButtonEllipsis=!1;fileName="";customButtonText="";customButtonClass="";options=[];multiple=!1;multipleDisplay="list";multipleDisplayEdition="inline";searchable=!1;icon="";download="";modal="";modalKey="";modalData={};validation={};configOn={};configOff={};readMode=!1;allowReadModeSwitch=!1;readModeConfig;prop={};optionValueType="value";optionsConfig={};fileUploadHttp={};fileUploadButton={};tooltipConfig={};fileBrowserConfig={};constructor(e={}){super(),this.feed(e)}};var W=class extends n{static lktDefaultValues=["items","submitButton","container","header","uiConfig"];items=[];submitButton=!1;container={};header={};uiConfig={};constructor(e={}){super(),this.feed(e),this.items=this.items.map(o=>(o.type==="field"&&typeof o.modificationsField>"u"&&(o.modificationsField={options:[]}),o))}};var Ve=(u=>(u.HTTPResponse="http-response",u.MinStringLength="min-str",u.MinNumber="min-num",u.MaxStringLength="max-str",u.MaxNumber="max-num",u.Email="email",u.Empty="empty",u.EqualTo="equal-to",u.MinNumbers="min-numbers",u.MaxNumbers="max-numbers",u.MinChars="min-chars",u.MaxChars="max-chars",u.MinUpperChars="min-upper-chars",u.MaxUpperChars="max-upper-chars",u.MinLowerChars="min-lower-chars",u.MaxLowerChars="max-lower-chars",u.MinSpecialChars="min-special-chars",u.MaxSpecialChars="max-special-chars",u))(Ve||{});var De=(r=>(r.Ok="ok",r.Ko="ko",r.Info="info",r))(De||{});var N=class t{code=void 0;status="info";min=0;max=0;equalToValue=void 0;httpResponse=void 0;constructor(e,o){this.code=e,this.status=o}setMin(e){return this.min=e,this}setMax(e){return this.max=e,this}setEqualToValue(e){return this.equalToValue=e,this}setHTTPResponse(e){return this.httpResponse=e,this}static createEmpty(e="ko"){return new t("empty",e)}static createEmail(e="ko"){return new t("email",e)}static createMinStr(e,o="ko"){return new t("min-str",o).setMin(e)}static createMaxStr(e,o="ko"){return new t("max-str",o).setMax(e)}static createMinNum(e,o="ko"){return new t("min-num",o).setMin(e)}static createMaxNum(e,o="ko"){return new t("max-num",o).setMax(e)}static createNumBetween(e,o,r="ko"){return new t("max-num",r).setMin(e).setMax(o)}static createMinNumbers(e,o="ko"){return new t("min-numbers",o).setMin(e)}static createMaxNumbers(e,o="ko"){return new t("max-numbers",o).setMax(e)}static createMinUpperChars(e,o="ko"){return new t("min-upper-chars",o).setMin(e)}static createMaxUpperChars(e,o="ko"){return new t("max-upper-chars",o).setMax(e)}static createMinLowerChars(e,o="ko"){return new t("min-lower-chars",o).setMin(e)}static createMaxLowerChars(e,o="ko"){return new t("max-lower-chars",o).setMax(e)}static createMinSpecialChars(e,o="ko"){return new t("min-special-chars",o).setMin(e)}static createMaxSpecialChars(e,o="ko"){return new t("max-special-chars",o).setMax(e)}static createMinChars(e,o="ko"){return new t("min-chars",o).setMin(e)}static createMaxChars(e,o="ko"){return new t("max-chars",o).setMax(e)}static createEqualTo(e,o="ko"){return new t("equal-to",o).setEqualToValue(e)}static createRemoteResponse(e,o="ko"){return new t("http-response",o).setHTTPResponse(e)}};var Te=(i=>(i.StorageUnit="unit",i.Directory="dir",i.Image="img",i.Video="vid",i.File="file",i))(Te||{});var U=class t extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["id","type","name","src","children","parent"];id=void 0;type="img";name="";src="";children=[];isPicked=!1;parent=void 0;constructor(e={}){super(),this.feed(e),this.children||(this.children=[]),this.children=this.children.map(o=>new t({...o,parent:this.id}))}};var ve=(s=>(s.H1="h1",s.H2="h2",s.H3="h3",s.H4="h4",s.H5="h5",s.H6="h6",s))(ve||{});var H=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["tag","class","text","icon"];tag="h2";class="";text="";icon="";constructor(e={}){super(),this.feed(e)}};var Fe=(o=>(o.NotDefined="",o.Button="button",o))(Fe||{});var Oe=(o=>(o.Start="start",o.End="end",o))(Oe||{});var R=class extends n{static lktDefaultValues=["icon","text","class","type","position","events"];icon="";text="";class="";type="";position="start";events={};constructor(e={}){super(),this.feed(e)}};var K=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["src","alt","text","class","imageStyle"];src="";alt="";text="";class="";imageStyle="";constructor(e={}){super(),this.feed(e)}};var we=(r=>(r.Create="create",r.Update="update",r.Read="read",r))(we||{});var Ae=(o=>(o.Inline="inline",o.Modal="modal",o))(Ae||{});var Pe=(o=>(o.Top="top",o.Bottom="bottom",o))(Pe||{});var je=(r=>(r.Changed="changed",r.Always="always",r.Never="never",r))(je||{});var We=(r=>(r.Manual="manual",r.Auto="auto",r.Delay="delay",r))(We||{});var Ne=(o=>(o.Toast="toast",o.Inline="inline",o))(Ne||{});var Ue=(a=>(a.Current="current",a.Modifications="modifications",a.SplitView="split-view",a.Differences="differences",a))(Ue||{});var z=class extends n{static lktDefaultValues=["modelValue","modifications","editing","perms","customData","mode","view","visibleView","modificationViews","editModeButton","dropButton","createButton","updateButton","groupButton","groupButtonAsModalActions","modalConfig","saveConfig","title","readResource","readData","beforeEmitUpdate","dataStateConfig","buttonNavPosition","buttonNavVisibility","notificationType","enabledSaveWithoutChanges","redirectOnCreate","redirectOnDrop","differencesTableConfig","events","form","formUiConfig"];modelValue={};modifications={};editing=!1;perms=[];customData={};form={};formUiConfig={};mode="read";view="inline";visibleView="current";modificationViews=!0;editModeButton={};dropButton={};createButton={};updateButton={};groupButton=!1;groupButtonAsModalActions=!1;modalConfig={};saveConfig={type:"manual"};title="";readResource="";readData={};beforeEmitUpdate=void 0;dataStateConfig={};buttonNavPosition="top";buttonNavVisibility="always";notificationType="toast";enabledSaveWithoutChanges=!1;redirectOnCreate=void 0;redirectOnDrop=void 0;differencesTableConfig={};events={};constructor(e={}){super(),this.feed(e)}};var q=class extends n{static lktDefaultValues=["loginForm","singUpForm"];loginForm=void 0;singUpForm=void 0;constructor(e={}){super(),this.feed(e)}};var G=class extends n{static lktDefaultValues=["modelValue","http"];modelValue=[];http={};constructor(e={}){super(),this.feed(e)}};var He=(r=>(r.Anchor="anchor",r.Button="button",r.Entry="entry",r))(He||{});var $=class extends n{static lktDefaultValues=["key","type","icon","isActiveChecker","isOpened","isActive","parent","children","events"];key="";type="anchor";class="";icon="";anchor={};button={};isActiveChecker=void 0;isOpened=!1;isActive=!1;keepOpenOnChildClick=!1;parent=void 0;children;events={};constructor(e={}){super(),this.feed(e)}doClose(){this.isOpened=!1}};var Re=(o=>(o.Modal="modal",o.Confirm="confirm",o))(Re||{});var J=class extends n{static lktDefaultValues=["size","preTitle","preTitleIcon","title","closeIcon","closeConfirm","closeConfirmKey","showClose","disabledClose","disabledVeilClick","hiddenFooter","modalName","modalKey","zIndex","beforeClose","item","type","confirmButton","cancelButton","headerActionsButton"];size="";preTitle="";preTitleIcon="";title="";closeIcon=b.defaultCloseModalIcon;closeConfirm="";closeConfirmKey="_";showClose=!0;disabledClose=!1;disabledVeilClick=!1;hiddenFooter=!1;modalName="";modalKey="_";zIndex=500;beforeClose=void 0;item={};confirmButton={};cancelButton={};headerActionsButton={};type="modal";constructor(e={}){super(),this.feed(e)}};var X=class extends n{value=void 0;label="";data={};disabled=!1;group="";icon="";modal="";tags=[];constructor(e={}){super(),this.feed(e)}};var Ke=(s=>(s.Pages="pages",s.PrevNext="prev-next",s.PagesPrevNext="pages-prev-next",s.PagesPrevNextFirstLast="pages-prev-next-first-last",s.LoadMore="load-more",s.Infinite="infinite",s))(Ke||{});var Q=class extends n{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","modelValue","class","resource","readOnly","loading","resourceData","events"];type="pages-prev-next";modelValue=1;class="";resource="";readOnly=!1;loading=!1;resourceData={};events={};constructor(e={}){super(),this.feed(e)}};var ze=(r=>(r.None="",r.Incremental="incremental",r.Decremental="decremental",r))(ze||{});var qe=(i=>(i.NotDefined="",i.Hidden="hidden",i.Integer="integer",i.Decimal="decimal",i.Auto="auto",i))(qe||{});var Y=class extends n{static lktAllowUndefinedProps=[];static lktDefaultValues=["modelValue","type","duration","pauseOnHover","header","valueFormat","palette"];modelValue=0;type="";duration=4e3;pauseOnHover=!1;header="";valueFormat="auto";palette="";constructor(e={}){super(),this.feed(e)}};var Z=class extends n{static lktDefaultValues=["modelValue","loading","steps","header"];modelValue="";loading=!1;steps=[];header={};nextButton={};prevButton={};constructor(e={}){super(),this.feed(e)}};var Ge=(s=>(s.Table="table",s.Item="item",s.Ul="ul",s.Ol="ol",s.Carousel="carousel",s.Accordion="accordion",s))(Ge||{});var $e=(a=>(a[a.Auto=0]="Auto",a[a.PreferItem=1]="PreferItem",a[a.PreferCustomItem=2]="PreferCustomItem",a[a.PreferColumns=3]="PreferColumns",a))($e||{});var _=class extends n{static lktDefaultValues=["modelValue","type","columns","noResultsText","hideEmptyColumns","itemDisplayChecker","loading","page","perms","editMode","dataStateConfig","sortable","sorter","initialSorting","drag","paginator","header","title","titleTag","titleIcon","headerClass","editModeButton","saveButton","createButton","groupButton","wrapContentTag","wrapContentClass","itemsContainerClass","itemContainerClass","hiddenSave","addNavigation","createEnabledValidator","newValueGenerator","requiredItemsForTopCreate","requiredItemsForBottomCreate","slotItemVar","carousel","accordion","hideTableHeader","skipTableItemsContainer"];modelValue=[];type="table";columns=[];noResultsText="";hideTableHeader=!1;hideEmptyColumns=!1;itemDisplayChecker=void 0;rowDisplayType=0;loading=!1;page=1;perms=[];editMode=!1;dataStateConfig={};sortable=!1;sorter=void 0;initialSorting=!1;drag=void 0;paginator=void 0;carousel={};accordion={};header;title="";titleTag="h2";titleIcon="";headerClass="";editModeButton={};saveButton={};createButton={};hiddenSave=!1;groupButton=!1;wrapContentTag="div";wrapContentClass="";itemsContainerClass="";itemContainerClass;skipTableItemsContainer;addNavigation=!1;createEnabledValidator=void 0;newValueGenerator=void 0;requiredItemsForTopCreate=0;requiredItemsForBottomCreate=0;slotItemVar="item";constructor(e={}){super(),this.feed(e)}};var ee=class extends n{static lktDefaultValues=["modelValue","id","useSession","cacheLifetime","contentPad","titles"];modelValue="";id="";useSession=!1;cacheLifetime=5;contentPad;titles;constructor(e={}){super(),this.feed(e)}};var Je=(o=>(o.NotDefined="",o.ActionIcon="action-icon",o))(Je||{});var te=class extends n{static lktDefaultValues=["class","text","featuredText","icon","iconAtEnd","featuredAtStart","type"];class="";text="";featuredText="";icon="";iconAtEnd=!1;featuredAtStart=!1;type="";constructor(e={}){super(),this.feed(e)}};var Xe=(o=>(o.Message="message",o.Button="button",o))(Xe||{});var Qe=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(Qe||{});var oe=class extends n{static lktDefaultValues=["type","text","details","icon","positionX","duration","buttonConfig","zIndex"];type="message";text="";details="";icon="";positionX="right";duration=void 0;buttonConfig=void 0;zIndex=1e3;constructor(e={}){super(),this.feed(e)}};var Ye=(o=>(o.Fixed="fixed",o.Absolute="absolute",o))(Ye||{});var Ze=(a=>(a.Top="top",a.Bottom="bottom",a.Center="center",a.ReferrerCenter="referrer-center",a))(Ze||{});var _e=(i=>(i.Left="left",i.Right="right",i.Center="center",i.LeftCorner="left-corner",i.RightCorner="right-corner",i))(_e||{});var re=class extends n{static lktDefaultValues=["modelValue","alwaysOpen","class","contentClass","text","icon","iconAtEnd","engine","referrerWidth","referrerMargin","windowMargin","referrer","locationY","locationX","showOnReferrerHover","showOnReferrerHoverDelay","hideOnReferrerLeave","hideOnReferrerLeaveDelay"];modelValue=!1;alwaysOpen=!1;class="";contentClass="";text="";icon="";iconAtEnd=!1;engine="fixed";referrerWidth=!1;referrerMargin=0;windowMargin=0;referrer=void 0;locationY="bottom";locationX="left-corner";showOnReferrerHover=!1;showOnReferrerHoverDelay=0;hideOnReferrerLeave=!1;hideOnReferrerLeaveDelay=0;constructor(e={}){super(),this.feed(e)}};var et=(p=>(p.LktAnchor="lkt-anchor",p.LktLayoutAccordion="lkt-layout-accordion",p.LktTextAccordion="lkt-text-accordion",p.LktLayoutBox="lkt-layout-box",p.LktTextBox="lkt-text-box",p.LktLayoutBanner="lkt-layout-banner",p.LktTextBanner="lkt-text-banner",p.LktButton="lkt-button",p.LktLayout="lkt-layout",p.LktHeader="lkt-header",p.LktIcon="lkt-icon",p.LktIcons="lkt-icons",p.LktImage="lkt-image",p.LktText="lkt-text",p))(et||{});var ae=(a=>(a.Grid="grid",a.FlexRow="flex-row",a.FlexRows="flex-rows",a.FlexColumn="flex-column",a))(ae||{});import{getAvailableLanguages as g}from"lkt-i18n";var k=(t="Time to create")=>{let e={};return g().forEach(r=>{e[r]=t}),new m({id:0,type:"lkt-text",props:{text:e},config:{},layout:{columns:[],alignSelf:[],justifySelf:[]}})},ne=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-anchor",props:{text:t},config:{hasHeader:!0,hasIcon:!0}})},ie=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-button",props:{text:t},config:{hasHeader:!0,hasIcon:!0},children:[k("Button text")],layout:{columns:[],alignSelf:[],justifySelf:[]}})},le=()=>new m({id:0,type:"lkt-layout",props:{},config:{},children:[],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}}),se=()=>{let t={},e={};return g().forEach(r=>{t[r]="Title goes here",e[r]="Content goes here"}),new m({id:0,type:"lkt-text-box",props:{header:t,text:e},config:{hasHeader:!0,hasIcon:!0},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},fe=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-layout-box",props:{header:t},config:{hasHeader:!0,hasIcon:!0},children:[k("Content goes here")],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}})},ue=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-layout-accordion",props:{header:t,type:"auto"},config:{hasHeader:!0,hasIcon:!0},children:[k("Content goes here")],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}})},me=()=>{let t={},e={};return g().forEach(r=>{t[r]="Title goes here",e[r]="Content goes here"}),new m({id:0,type:"lkt-text-accordion",props:{header:t,text:e,type:"auto"},config:{hasHeader:!0,hasIcon:!0},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},de=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-header",props:{text:t},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},M=()=>{let t={};return g().forEach(o=>{t[o]="Content goes here"}),new m({id:0,type:"lkt-icon",props:{text:t},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},ce=()=>{let t={},e={},o={};return g().forEach(a=>{t[a]="Image description goes here",e[a]="",o[a]=""}),new m({id:0,type:"lkt-image",props:{text:t,alt:e,title:o},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},pe=()=>{let t={},e={},o={};return g().forEach(a=>{t[a]="Title goes here",e[a]="Subtitle goes here",o[a]="Content goes here"}),new m({id:0,type:"lkt-text-banner",props:{header:t,subHeader:e,text:o,art:{},media:{},opacity:0,type:"static"},config:{hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},tt=()=>{let t={},e={},o={};return g().forEach(a=>{t[a]="Title goes here",e[a]="Subtitle goes here",o[a]="Content goes here"}),new m({id:0,type:"lkt-icons",props:{header:t,subHeader:e,text:o},config:{hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]},subElements:[M()],layout:{type:"flex-rows",columns:[],alignSelf:[],justifySelf:[]}})};import{cloneObject as St}from"lkt-object-tools";import{generateRandomString as Vt}from"lkt-string-tools";import{time as Dt}from"lkt-date-tools";var E=class t{static elements=[];static customAppearance={};static addWebElement(e){return t.elements.push(e),t}static getElements(){return t.elements}static getCustomWebElementSettings(e){let o=e.startsWith("custom:")?e.split(":")[1]:e;return t.elements.find(r=>r.id===o)}static setCustomAppearance(e){return typeof e.key=="string"?t.customAppearance[e.key]=e:e.key.forEach(o=>{t.customAppearance[o]=e}),t}static getCustomAppearance(e){return t.customAppearance[e]}};var m=class t extends n{static lktDefaultValues=["id","type","component","props","children","layout","config","subElements"];id=0;type="lkt-text";component="";props={class:"",icon:"",header:{},subHeader:{},text:{}};children=[];subElements=[];layout={type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]};config={hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]};keyMoment="";uid="";constructor(e={}){super(),this.feed(e),this.props||(this.props={text:{}}),this.layout||(this.layout={amountOfItems:[],columns:[],alignSelf:[],alignItems:[],justifySelf:[],justifyContent:[]}),this.layout.columns||(this.layout.columns=[]),this.layout.alignSelf||(this.layout.alignSelf=[]),this.layout.alignItems||(this.layout.alignItems=[]),this.layout.justifySelf||(this.layout.justifySelf=[]),this.layout.justifyContent||(this.layout.justifyContent=[]),this.props.header||(this.props.header={}),(!this.props.text||typeof this.props.text!="object")&&(this.props.text={}),this.type==="lkt-text-banner"&&(this.props.subHeader||(this.props.subHeader={}),(!this.props.art||typeof this.props.art!="object"||Object.keys(this.props.art).length===0)&&(this.props.art={src:""}),(!this.props.media||typeof this.props.media!="object"||Object.keys(this.props.media).length===0)&&(this.props.media={src:""}),this.props.opacity||(this.props.opacity=0),this.props.type||(this.props.type="static")),this.type==="lkt-image"&&(this.props.alt||(this.props.alt={}),this.props.title||(this.props.title={}),this.props.text||(this.props.text={})),Array.isArray(this.config.callToActions)&&this.config.callToActions?.length>0&&(this.config.callToActions=this.config.callToActions.map(o=>new t(o))),Array.isArray(this.children)||(this.children=[]),this.children=this.children.map(o=>new t(o)),this.subElements=this.subElements.map(o=>new t(o)),this.uid=[this.id,Vt(6)].join("-"),this.updateKeyMoment()}updateKeyMoment(){this.keyMoment=[this.uid,Dt()].join("-")}addChild(e,o=void 0){return Array.isArray(this.children)||(this.children=[]),typeof o=="number"&&o>=0&&o<this.children.length?(this.children.splice(o,0,e),this):(this.children.push(e),this)}getClone(){let e=o=>(o.id=0,o.children?.forEach(r=>e(r)),o);return new t(e(St(this)))}static createByType(e){switch(e){case"lkt-layout-box":return fe();case"lkt-text-box":return se();case"lkt-layout-accordion":return ue();case"lkt-text-accordion":return me();case"lkt-icon":return M();case"lkt-icons":return tt();case"lkt-image":return ce();case"lkt-anchor":return ne();case"lkt-button":return ie();case"lkt-layout":return le();case"lkt-header":return de();case"lkt-text":return k();case"lkt-text-banner":return pe()}return new t({type:e})}addSubElement(){switch(this.type){case"lkt-icons":this.subElements.push(M());break}return this}isCustom(){return this.type.startsWith("custom:")}getCustomSettings(){return E.getCustomWebElementSettings(this.type)}};import{generateRandomString as ot}from"lkt-string-tools";import{time as rt}from"lkt-date-tools";var ge=class extends n{static lktDefaultValues=["id","webElements"];keyMoment="";id=0;name="";nameData={};webElements=[];crudConfig={};constructor(e={}){super(),this.feed(e),this.keyMoment=ot(4)+this.id+rt()}updateKeyMoment(){this.keyMoment=ot(4)+this.id+rt()}};var at=(a=>(a.None="",a.Focus="focus",a.Blur="blur",a.Always="always",a))(at||{});var nt=(r=>(r.Auto="auto",r.Local="local",r.Remote="remote",r))(nt||{});var it=(i=>(i.Refresh="refresh",i.Close="close",i.ReOpen="reOpen",i.Exec="exec",i.Open="open",i))(it||{});var lt=(o=>(o.Asc="asc",o.Desc="desc",o))(lt||{});var st=(l=>(l.Create="create",l.Update="update",l.Edit="edit",l.Drop="drop",l.Sort="sort",l.SwitchEditMode="switch-edit-mode",l.InlineEdit="inline-edit",l.InlineCreate="inline-create",l.ModalCreate="modal-create",l.InlineCreateEver="inline-create-ever",l))(st||{});var ft=(o=>(o.Lazy="lazy",o.Ever="ever",o))(ft||{});var ut=(o=>(o.Page="page",o.Element="element",o))(ut||{});var Ce=class t{value;constructor(e){this.value=e}getValue(...e){return typeof this.value=="function"?this.value(...e):typeof this.value=="object"&&typeof this.value==typeof t?this.value.getValue(...e):typeof this.value=="string"?this.value:""}};var Tt=(t,...e)=>{b.debugEnabled&&console.info("::lkt::",`[${t}] `,...e)};import{DataState as vt}from"lkt-data-state";var Ft=(t,e,o)=>{let r=new vt(JSON.parse(JSON.stringify(t)),{onlyProps:xe(o),recursiveOnlyProps:!1});return r.increment(JSON.parse(JSON.stringify(e))),r},xe=t=>{if(t.items===void 0)return[];if(t.items.length===0)return[];let e=[];for(let o in t.items){let r=t.items[o];switch(r.type){case"field":r.key!==void 0&&e.push(r.key);break;case"form":r.form&&(e=[...e,...xe(r.form)]);break}}return e};import{nextTick as Ot}from"vue";var C=class t{static config=[];static components=[];static zIndex=500;static canvas=void 0;static addModal(e){return t.config.push(e),t}static findConfig(e){return t.config.find(o=>o.name===e)}static getInstanceIndex(e){return`${e.modalName}_${e.modalKey}`}static getModalInfo(e,o={},r){let a=t.getInstanceIndex(e);return e={...r.config,...e,zIndex:t.zIndex},{componentProps:o,modalConfig:e,modalRegister:r,index:a,legacy:!1,legacyData:{props:{...e,modalConfig:e,...o}}}}static focus(e){return t.components[e.index]=e,t.components[e.index]}static open(e,o={},r=!1){o.modalKey&&(e.modalKey=o.modalKey);let a=t.findConfig(e.modalName);if(r&&(o.size&&(e.size=o.size,delete o.size),o.preTitle&&(e.preTitle=o.preTitle,delete o.preTitle),o.preTitleIcon&&(e.preTitleIcon=o.preTitleIcon,delete o.preTitleIcon),o.title&&(e.title=o.title,delete o.title),o.closeIcon&&(e.closeIcon=o.closeIcon,delete o.closeIcon),o.closeConfirm&&(e.closeConfirm=o.closeConfirm,delete o.closeConfirm),o.closeConfirmKey&&(e.closeConfirmKey=o.closeConfirmKey,delete o.closeConfirmKey),o.showClose&&(e.showClose=o.showClose,delete o.showClose),o.disabledClose&&(e.disabledClose=o.disabledClose,delete o.disabledClose),o.disabledVeilClick&&(e.disabledVeilClick=o.disabledVeilClick,delete o.disabledVeilClick),o.hiddenFooter&&(e.hiddenFooter=o.hiddenFooter,delete o.hiddenFooter),o.modalName&&(e.modalName=o.modalName,delete o.modalName),o.modalKey&&(e.modalKey=o.modalKey,delete o.modalKey),o.beforeClose&&(e.beforeClose=o.beforeClose,delete o.beforeClose),o.item&&(e.item=o.item,delete o.item),o.confirmButton&&(e.confirmButton=o.confirmButton,delete o.confirmButton),o.cancelButton&&(e.cancelButton=o.cancelButton,delete o.cancelButton),o.type&&(e.type=o.type,delete o.type)),a){++t.zIndex;let i=this.getModalInfo(e,o,a);return i.legacy=r,t.components[i.index]?t.focus(i):(t.components[i.index]=i,t.canvas?.refresh(),t.components[i.index])}}static close(e){if(t.findConfig(e.modalName)){--t.zIndex;let r=t.getInstanceIndex(e);delete t.components[r],Object.keys(t.components).length===0&&(t.zIndex=500),t.canvas?.refresh()}}static reOpen(e,o={},r=!1){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.close(e),t.canvas?.refresh(),Ot(()=>{t.open(e,o,r),t.canvas?.refresh()})}static execModal(e,o,r={}){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.canvas?.execModal(e.modalName,e.modalKey,o,r),t.canvas?.refresh()}static refresh(e,o={}){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.canvas?.refreshModal(e.modalName,e.modalKey,o),t.canvas?.refresh()}static runModalCallback(e){let o=e.modalKey?e.modalKey:"_",r=e.args?e.args:{},a={modalName:e.modalName,modalKey:o};switch(e.action){case"reOpen":return t.reOpen(a,r);case"open":return t.open(a,r);case"close":return t.close(a);case"refresh":return t.refresh(a,r);case"exec":let i=e.method;return i?t.execModal(a,i,r):void 0}}static updateModalKey(e,o){if(!t.canvas){console.warn("ModalCanvas not defined");return}let r=t.getInstanceIndex(e),a=t.getInstanceIndex({modalName:e.modalName,modalKey:o});return t.components[a]=t.components[r],t.components[a].modalConfig.modalKey=o,t.components[a].legacyData.props.modalConfig.modalKey=o,t.components[a].legacyData.props.modalKey=o,delete t.components[r],t.canvas?.refresh(),t}};var be=t=>(typeof t=="string"&&t.indexOf("confirm__")===0&&(t=t.substring(9)),"confirm__"+t),wt=t=>{C.addModal(t)},At=t=>{C.addModal({...t,name:be(t.name)})},mt=(t,e)=>{C.open(t,e),C.canvas?.refresh()},dt=t=>{C.close(t),C.canvas?.refresh()},Pt=t=>{C.canvas=t},jt=(t,e)=>{mt({...t,modalName:be(t.modalName)},e)},Wt=t=>{dt({...t,modalName:be(t.modalName)})},Nt=t=>{C.runModalCallback(t)};var Ut=t=>new L(t);var Ht=t=>{document.execCommand(t,!1)},Rt=t=>{document.execCommand("justify"+t,!1)},Kt=t=>{document.execCommand("foreColor",!1,t)},zt=t=>{document.execCommand("backColor",!1,t)},qt=(t,e)=>{document.execCommand("fontName",!1,e)};var ct=(o=>(o.Quick="quick",o.Full="full",o))(ct||{});var he=class t{static pages=[];static addWebPage(e){return t.pages.push(e),t}static getPages(){return t.pages}static getCustomWebPageSettings(e){return t.pages.find(o=>o.id===e||o.code===e)}};function Aa(t){let e=new t,o={};if(!Array.isArray(t.lktDefaultValues))throw new Error("lktDefaultValues must be a keys array.");for(let r of t.lktDefaultValues)r in e&&(o[r]=e[r]);return o}export{V as Accordion,Le as AccordionToggleMode,S as AccordionType,T as Anchor,Me as AnchorType,F as Banner,v as BannerType,O as Box,w as Button,ke as ButtonType,L as Column,Ee as ColumnType,A as Counter,Ie as CounterType,P as DocPage,Be as DocPageSize,j as Field,at as FieldAutoValidationTrigger,ye as FieldType,N as FieldValidation,nt as FieldValidationType,U as FileEntity,Te as FileEntityType,W as FormInstance,H as Header,ve as HeaderTag,R as Icon,Oe as IconPosition,Fe as IconType,K as Image,z as ItemCrud,Pe as ItemCrudButtonNavPosition,je as ItemCrudButtonNavVisibility,we as ItemCrudMode,Ae as ItemCrudView,B as LktColor,n as LktItem,b as LktSettings,y as LktStrictItem,q as Login,G as Menu,$ as MenuEntry,He as MenuEntryType,J as Modal,it as ModalCallbackAction,C as ModalController,ct as ModalRegisterType,Re as ModalType,Ue as ModificationView,Se as MultipleOptionsDisplay,Ne as NotificationType,X as Option,Q as Paginator,Ke as PaginatorType,Y as Progress,ze as ProgressType,qe as ProgressValueFormat,Ce as SafeString,We as SaveType,lt as SortDirection,Z as StepProcess,_ as Table,st as TablePermission,$e as TableRowType,Ge as TableType,ee as Tabs,te as Tag,Je as TagType,oe as Toast,Qe as ToastPositionX,Xe as ToastType,ft as ToggleMode,re as Tooltip,_e as TooltipLocationX,Ze as TooltipLocationY,Ye as TooltipPositionEngine,Ve as ValidationCode,De as ValidationStatus,m as WebElement,E as WebElementController,ae as WebElementLayoutType,et as WebElementType,ge as WebPage,he as WebPageController,ut as WebParentType,At as addConfirm,wt as addModal,Rt as applyTextAlignment,Ht as applyTextFormat,bt as booleanFieldTypes,zt as changeBackgroundColor,qt as changeFontFamily,Kt as changeTextColor,Wt as closeConfirm,dt as closeModal,Ut as createColumn,d as ensureButtonConfig,h as ensureFieldConfig,Mt as extractI18nValue,I as extractPropValue,pt as fieldTypesWithOptions,gt as fieldTypesWithoutClear,Ct as fieldTypesWithoutUndo,ht as fieldsWithMultipleMode,D as getAnchorHref,ne as getDefaultLktAnchorWebElement,ie as getDefaultLktButtonWebElement,de as getDefaultLktHeaderWebElement,M as getDefaultLktIconWebElement,ce as getDefaultLktImageWebElement,ue as getDefaultLktLayoutAccordionWebElement,fe as getDefaultLktLayoutBoxWebElement,le as getDefaultLktLayoutWebElement,me as getDefaultLktTextAccordionWebElement,pe as getDefaultLktTextBannerWebElement,se as getDefaultLktTextBoxWebElement,k as getDefaultLktTextWebElement,Aa as getDefaultValues,Ft as getFormDataState,xe as getFormFieldsKeys,Tt as lktDebug,jt as openConfirm,mt as openModal,Et as prepareResourceData,Nt as runModalCallback,Pt as setModalCanvas,kt as textFieldTypes,xt as textFieldTypesWithOptions};
|
|
1
|
+
var ke=(c=>(c.Button="button",c.Submit="submit",c.Reset="reset",c.Anchor="anchor",c.Content="content",c.Switch="switch",c.HiddenSwitch="hidden-switch",c.Split="split",c.SplitLazy="split-lazy",c.SplitEver="split-ever",c.Tooltip="tooltip",c.TooltipLazy="tooltip-lazy",c.TooltipEver="tooltip-ever",c.FileUpload="file-upload",c.ImageUpload="image-upload",c))(ke||{});var d=(t,e)=>typeof t>"u"||!t?e:{...e,...t},h=(t,e)=>typeof t>"u"?e:{...e,...t};var b=class t{static debugEnabled=!1;static debugMode(e=!0){return t.debugEnabled=e,t}static defaultCreateErrorText="Creation failed";static defaultCreateErrorDetails="An error occurred while creating the item. Please try again.";static defaultCreateErrorIcon="";static setDefaultCreateError(e){t.defaultCreateErrorText=e.text??t.defaultCreateErrorText,t.defaultCreateErrorDetails=e.details??t.defaultCreateErrorDetails,t.defaultCreateErrorIcon=e.icon??t.defaultCreateErrorIcon}static defaultUpdateErrorText="Update failed";static defaultUpdateErrorDetails="An error occurred while updating the item. Please try again.";static defaultUpdateErrorIcon="";static setDefaultUpdateError(e){t.defaultUpdateErrorText=e.text??t.defaultUpdateErrorText,t.defaultUpdateErrorDetails=e.details??t.defaultUpdateErrorDetails,t.defaultUpdateErrorIcon=e.icon??t.defaultUpdateErrorIcon}static defaultDropErrorText="Drop failed";static defaultDropErrorDetails="An error occurred while removing the item. Please try again.";static defaultDropErrorIcon="";static setDefaultDropError(e){t.defaultDropErrorText=e.text??t.defaultDropErrorText,t.defaultDropErrorDetails=e.details??t.defaultDropErrorDetails,t.defaultDropErrorIcon=e.icon??t.defaultDropErrorIcon}static defaultCreateSuccessText="Item created";static defaultCreateSuccessDetails="";static defaultCreateSuccessIcon="";static setDefaultCreateSuccess(e){t.defaultCreateSuccessText=e.text??t.defaultCreateSuccessText,t.defaultCreateSuccessDetails=e.details??t.defaultCreateSuccessDetails,t.defaultCreateSuccessIcon=e.icon??t.defaultCreateSuccessIcon}static defaultUpdateSuccessText="Item updated";static defaultUpdateSuccessDetails="";static defaultUpdateSuccessIcon="";static setDefaultUpdateSuccess(e){t.defaultUpdateSuccessText=e.text??t.defaultUpdateSuccessText,t.defaultUpdateSuccessDetails=e.details??t.defaultUpdateSuccessDetails,t.defaultUpdateSuccessIcon=e.icon??t.defaultUpdateSuccessIcon}static defaultDropSuccessText="Item removed";static defaultDropSuccessDetails="";static defaultDropSuccessIcon="";static setDefaultDropSuccess(e){t.defaultDropSuccessText=e.text??t.defaultDropSuccessText,t.defaultDropSuccessDetails=e.details??t.defaultDropSuccessDetails,t.defaultDropSuccessIcon=e.icon??t.defaultDropSuccessIcon}static defaultUploadSuccessText="Upload success";static defaultUploadSuccessDetails="";static defaultUploadSuccessIcon="";static setDefaultUploadSuccess(e){t.defaultUploadSuccessText=e.text??t.defaultUploadSuccessText,t.defaultUploadSuccessDetails=e.details??t.defaultUploadSuccessDetails,t.defaultUploadSuccessIcon=e.icon??t.defaultUploadSuccessIcon}static defaultUploadErrorText="Upload error";static defaultUploadErrorDetails="";static defaultUploadErrorIcon="";static setDefaultUploadError(e){t.defaultUploadErrorText=e.text??t.defaultUploadErrorText,t.defaultUploadErrorDetails=e.details??t.defaultUploadErrorDetails,t.defaultUploadErrorIcon=e.icon??t.defaultUploadErrorIcon}static defaultSaveButton={text:"Save",icon:"lkt-icn-save"};static setDefaultSaveButton(e,o=!0){return o?t.defaultSaveButton=e:t.defaultSaveButton=d(e,t.defaultSaveButton),t}static defaultConfirmButton={text:"Confirm"};static setDefaultConfirmButton(e,o=!0){return o?t.defaultConfirmButton=e:t.defaultConfirmButton=d(e,t.defaultConfirmButton),t}static defaultCancelButton={text:"Cancel"};static setDefaultCancelButton(e,o=!0){return o?t.defaultCancelButton=e:t.defaultCancelButton=d(e,t.defaultCancelButton),t}static defaultCreateButton={text:"Create",icon:"lkt-icn-save"};static setDefaultCreateButton(e,o=!0){return o?t.defaultCreateButton=e:t.defaultCreateButton=d(e,t.defaultCreateButton),t}static defaultUpdateButton={text:"Update",icon:"lkt-icn-save"};static setDefaultUpdateButton(e,o=!0){return o?t.defaultUpdateButton=e:t.defaultUpdateButton=d(e,t.defaultUpdateButton),t}static defaultDropButton={text:"Drop"};static setDefaultDropButton(e,o=!0){return o?t.defaultDropButton=e:t.defaultDropButton=d(e,t.defaultDropButton),t}static defaultEditModeButton={text:"Edit mode",type:"switch"};static setDefaultEditModeButton(e,o=!0){return o?t.defaultEditModeButton=e:t.defaultEditModeButton=d(e,t.defaultEditModeButton),t}static defaultGroupButton={text:"Actions",type:"split",icon:"lkt-icn-settings-cogs"};static setDefaultGroupButton(e,o=!0){return o?t.defaultGroupButton=e:t.defaultGroupButton=d(e,t.defaultGroupButton),t}static defaultToggleButton={text:"Toggle",textOn:"Close",textOff:"Show more",type:"hidden-switch"};static setDefaultToggleButton(e,o=!0){return o?t.defaultToggleButton=e:t.defaultToggleButton=d(e,t.defaultToggleButton),t}static defaultLoadMoreButton={text:"Load more",type:"hidden-switch"};static setDefaultLoadMoreButton(e,o=!0){return o?t.defaultLoadMoreButton=e:t.defaultLoadMoreButton=d(e,t.defaultLoadMoreButton),t}static defaultCloseModalIcon="lkt-icn-cancel";static setDefaultCloseModalIcon(e){return t.defaultCloseModalIcon=e,t}static defaultCloseToastIcon="lkt-icn-cancel";static setDefaultCloseToastIcon(e){return t.defaultCloseToastIcon=e,t}static defaultTableSortAscIcon="lkt-icn-arrow-bottom";static defaultTableSortDescIcon="lkt-icn-arrow-top";static setDefaultTableSortAscIcon(e){return t.defaultTableSortAscIcon=e,t}static setDefaultTableSortDescIcon(e){return t.defaultTableSortDescIcon=e,t}static defaultPaginatorFirstButton={text:"",icon:"lkt-icn-angle-double-left"};static defaultPaginatorPrevButton={text:"",icon:"lkt-icn-angle-left"};static defaultPaginatorNextButton={text:"",iconEnd:"lkt-icn-angle-right"};static defaultPaginatorLastButton={text:"",iconEnd:"lkt-icn-angle-double-right"};static setDefaultPaginatorFirstButton(e,o=!0){return o?t.defaultPaginatorFirstButton=e:t.defaultPaginatorFirstButton=d(e,t.defaultPaginatorFirstButton),t}static setDefaultPaginatorPrevButton(e,o=!0){return o?t.defaultPaginatorPrevButton=e:t.defaultPaginatorPrevButton=d(e,t.defaultPaginatorPrevButton),t}static setDefaultPaginatorNextButton(e,o=!0){return o?t.defaultPaginatorNextButton=e:t.defaultPaginatorNextButton=d(e,t.defaultPaginatorNextButton),t}static setDefaultPaginatorLastButton(e,o=!0){return o?t.defaultPaginatorLastButton=e:t.defaultPaginatorLastButton=d(e,t.defaultPaginatorLastButton),t}static defaultFieldElementCustomClassField={label:"Appearance",multiple:!1};static defaultFieldLktAccordionElementCustomClassField={};static defaultFieldLktBoxElementCustomClassField={};static defaultFieldLktIconElementCustomClassField={};static defaultFieldLktImageElementCustomClassField={};static setDefaultFieldLktAccordionElementCustomClassField(e,o=!0){return o?t.defaultFieldLktAccordionElementCustomClassField=e:t.defaultFieldLktAccordionElementCustomClassField=h(e,t.defaultFieldLktAccordionElementCustomClassField),t}static setDefaultFieldLktBoxElementCustomClassField(e,o=!0){return o?t.defaultFieldLktBoxElementCustomClassField=e:t.defaultFieldLktBoxElementCustomClassField=h(e,t.defaultFieldLktBoxElementCustomClassField),t}static setDefaultFieldLktIconElementCustomClassField(e,o=!0){return o?t.defaultFieldLktIconElementCustomClassField=e:t.defaultFieldLktIconElementCustomClassField=h(e,t.defaultFieldLktIconElementCustomClassField),t}static setDefaultFieldLktImageElementCustomClassField(e,o=!0){return o?t.defaultFieldLktImageElementCustomClassField=e:t.defaultFieldLktImageElementCustomClassField=h(e,t.defaultFieldLktImageElementCustomClassField),t}static i18nOptionsFormatter={};static setI18nOptionsFormatter(e,o){return t.i18nOptionsFormatter[e]=o,t}};var ye=(f=>(f.Text="text",f.Email="email",f.Tel="tel",f.Password="password",f.Search="search",f.Number="number",f.Color="color",f.Range="range",f.Textarea="textarea",f.Html="html",f.Date="date",f.Time="time",f.DateTime="datetime",f.File="file",f.Image="image",f.Select="select",f.Check="check",f.Switch="switch",f.Calc="calc",f.Card="card",f))(ye||{});var Ct=["text","search","select"],xt=["switch","check"],bt=["switch","check"],ht=["text","search"],kt=["switch","check"],yt=["select","color","card"],Lt=["text","email","password"];var Mt=["lktDateProps","lktStrictItem","lktExcludedProps"],a=class t{static lktAllowUndefinedProps=[];static lktExcludedProps=[];static lktDateProps=[];static lktStrictItem=!1;static lktDefaultValues=[];constructor(e){}feed(e={},o=this){if(typeof e=="object")for(let[r,n]of Object.entries(e))o.assignProp(r,n)}assignProp(e,o){if(!(Mt.includes(e)||t.lktExcludedProps.includes(e))&&!(t.lktStrictItem&&!this.hasOwnProperty(e))){if(t.lktDateProps.includes(e)){this[e]=new Date(o);return}this[e]=o}}};var y=class extends a{lktStrictItem=!0};var B=class t extends y{r=0;g=0;b=0;a=255;constructor(e){super(),this.feed(e)}static fromHexColor(e){let o=parseInt(+("0x"+e.substring(1,3)),10),r=parseInt(+("0x"+e.substring(3,5)),10),n=parseInt(+("0x"+e.substring(5,7)),10),i=255;return e.length===9&&(i=parseInt(+("0x"+e.substring(5,7)),10)),new t({r:o,g:r,b:n,a:i})}toString(){let e=parseInt(this.r).toString(16).padStart(2,"0").toUpperCase(),o=parseInt(this.g).toString(16).padStart(2,"0").toUpperCase(),r=parseInt(this.b).toString(16).padStart(2,"0").toUpperCase(),n="#"+e+o+r;if(this.a==255)return n;let i=parseInt(this.a).toString(16).padStart(2,"0").toUpperCase();return n+i}getContrastFontColor(){return(.299*this.r+.587*this.g+.114*this.b)/this.a>.5?"#000000":"#ffffff"}};var S=(n=>(n.Auto="auto",n.Always="always",n.Lazy="lazy",n.Ever="ever",n))(S||{});var Le=(r=>(r.Transform="transform",r.Height="height",r.Display="display",r))(Le||{});var D=class extends a{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["modelValue","type","toggleMode","actionButton","toggleButton","toggleOnClickIntro","toggleTimeout","title","icon","class","contentClass","iconRotation","minHeight","iconAtEnd","toggleIconAtEnd"];modelValue=!1;type="auto";toggleMode="height";actionButton={};toggleButton={};toggleOnClickIntro=!1;toggleTimeout=0;title="";icon="";class="";contentClass="";iconRotation="90";minHeight=void 0;iconAtEnd=!1;toggleIconAtEnd=!1;constructor(e={}){super(),this.feed(e)}};var Me=(x=>(x.Href="href",x.RouterLink="router-link",x.RouterLinkBack="router-link-back",x.Mail="mail",x.Tel="tel",x.Tab="tab",x.Download="download",x.Action="action",x.Legacy="",x))(Me||{});import{__ as It}from"lkt-i18n";var E=(t,e)=>typeof t=="string"&&t.startsWith("prop:")?e[t.substring(5)]:t,Et=t=>{if(typeof t=="string"&&t.startsWith("__:")){let e=String(t);return e.startsWith("__:")?It(e.substring(3)):e}return t},Bt=(t,e)=>{if(!t)return{};let o={};for(let r in t)o[r]=E(t[r],e);return o};var V=t=>{let e="";if(typeof t.to=="string"&&(e=t.to),typeof t.to=="function"&&(e=t.to(t.prop??{})),typeof t.to=="string"&&(e=E(t.to,t.prop??{})),typeof t.type<"u")switch(t.type){case"mail":return`mailto:${e}`;case"tel":return`tel:${e}`;case"href":case"tab":case"download":return e}return e};var T=class extends a{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","to","class","isActive","downloadFileName","disabled","onClick","confirmModal","confirmModalKey","confirmData","imposter","external","events","text","icon","prop"];type="router-link";to="";class="";isActive=!1;downloadFileName="";disabled=!1;onClick=void 0;confirmModal="";confirmModalKey="_";confirmData={};imposter=!1;external=!1;text="";icon="";prop={};events={};getHref(){return V(this)}constructor(e={}){super(),this.feed(e)}};var F=(o=>(o.Static="static",o.Parallax="parallax",o))(F||{});var v=class extends a{static lktDefaultValues=["type","header","subHeader","art","opacity"];type="static";header=void 0;subHeader=void 0;art=void 0;media=void 0;opacity=void 0;constructor(e={}){super(),this.feed(e)}};var O=class extends a{static lktDefaultValues=["title","iconAtEnd","style","class","contentClass","icon"];title="";iconAtEnd=!1;style="";class="";contentClass;icon="";constructor(e={}){super(),this.feed(e)}};import{generateRandomString as St}from"lkt-string-tools";var A=class extends a{lktAllowUndefinedProps=["clickRef","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave"];static lktDefaultValues=["type","name","class","containerClass","value","disabled","loading","wrapContent","splitIcon","resource","resourceData","modal","modalKey","modalData","confirmModal","confirmModalKey","confirmData","modalCallbacks","text","textOn","textOff","icon","iconOn","iconOff","iconEndOn","iconEndOff","dot","iconEnd","img","showTooltipOnHoverDelay","tooltip","checked","clickRef","openTooltip","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave","splitClass","splitButtons","prop","events"];type="button";name=St(10);class="";containerClass="";value="";disabled=!1;loading=!1;wrapContent=!1;splitIcon="lkt-icn-angle-bottom";resource="";resourceData={};modal="";modalKey="_";modalData={};confirmModal="";confirmModalKey="_";confirmData={};modalCallbacks=[];text="";textOn=void 0;textOff=void 0;iconOn=void 0;iconOff=void 0;iconEndOn=void 0;iconEndOff=void 0;icon="";dot=!1;iconEnd="";img="";showTooltipOnHoverDelay=0;checked=!1;clickRef=void 0;openTooltip=!1;tabindex=void 0;anchor=void 0;showTooltipOnHover=void 0;hideTooltipOnLeave=void 0;splitClass="";splitButtons=[];tooltip={};prop={};events={};constructor(e={}){super(),this.feed(e)}isDisabled(){return typeof this.disabled=="function"?this.disabled():this.disabled}};var Ie=(n=>(n.None="",n.Field="field",n.Button="button",n.Anchor="anchor",n))(Ie||{});var L=class extends a{lktExcludedProps=["field","anchor","button"];lktAllowUndefinedProps=["formatter","checkEmpty","colspan","field","anchor","button"];static lktDefaultValues=["type","key","label","class","sortable","ensureFieldLabel","hidden","editable","formatter","checkEmpty","colspan","preferSlot","isForRowKey","isForAccordionHeader","extractTitleFromColumn","slotData","field","anchor","button"];type="";key="";label="";class="";sortable=!0;ensureFieldLabel=!1;hidden=!1;editable=!1;formatter=void 0;checkEmpty=void 0;colspan=void 0;preferSlot=!0;isForRowKey=!1;isForAccordionHeader=!1;extractTitleFromColumn="";slotData={};field=void 0;anchor=void 0;button=void 0;constructor(e={}){super(),this.feed(e)}};var Ee=(o=>(o.Date="date",o.Number="number",o))(Ee||{});var w=class extends a{static lktDefaultValues=["type","from","to","step","timeout","dateFormat"];type="number";from=void 0;to=void 0;step=1;timeout=1e3;dateFormat=":dd :hh :mm :ss";constructor(e={}){super(),this.feed(e)}};var Be=(l=>(l.A0="a0",l.A1="a1",l.A2="a2",l.A3="a3",l.A4="a4",l.A5="a5",l.A6="a6",l.A7="a7",l.A8="a8",l.A9="a9",l))(Be||{});var P=class extends a{static lktDefaultValues=["id","size","skipPageNumber","frontPage","title","img","icon"];id="";size="a4";skipPageNumber=!1;frontPage=!1;title="";img="";icon="";constructor(e={}){super(),this.feed(e)}};import{generateRandomString as Dt}from"lkt-string-tools";var Se=(r=>(r.List="list",r.Inline="inline",r.Count="count",r))(Se||{});var j=class extends a{static lktDefaultValues=["modelValue","type","valid","placeholder","searchPlaceholder","label","labelIcon","labelIconAtEnd","name","autocomplete","disabled","readonly","hidden","readMode","allowReadModeSwitch","tabindex","mandatory","showPassword","canClear","canUndo","canI18n","canStep","canTag","mandatoryMessage","infoMessage","errorMessage","min","max","step","enableAutoNumberFix","emptyValueSlot","optionSlot","valueSlot","editSlot","slotData","featuredButton","infoButtonEllipsis","fileName","customButtonText","customButtonClass","options","multiple","multipleDisplay","multipleDisplayEdition","searchable","icon","download","modal","modalKey","modalData","validation","prop","optionValueType","optionsConfig","fileUploadHttp","tooltipConfig","fileBrowserConfig","readModeConfig","configOn","configOff"];modelValue="";type="text";valid=void 0;placeholder="";searchPlaceholder="";label="";labelIcon="";labelIconAtEnd=!1;name=Dt(16);autocomplete=!1;disabled=!1;readonly=!1;hidden=!1;tabindex=void 0;mandatory=!1;showPassword=!1;canClear=!1;canUndo=!1;canI18n=!1;canStep=!1;canTag=!1;mandatoryMessage="";infoMessage="";errorMessage="";min=void 0;max=void 0;step=1;enableAutoNumberFix=!0;emptyValueSlot="";optionSlot=void 0;valueSlot=void 0;editSlot=void 0;slotData={};featuredButton="";infoButtonEllipsis=!1;fileName="";customButtonText="";customButtonClass="";options=[];multiple=!1;multipleDisplay="list";multipleDisplayEdition="inline";searchable=!1;icon="";download="";modal="";modalKey="";modalData={};validation={};configOn={};configOff={};readMode=!1;allowReadModeSwitch=!1;readModeConfig;prop={};optionValueType="value";optionsConfig={};fileUploadHttp={};fileUploadButton={};tooltipConfig={};fileBrowserConfig={};constructor(e={}){super(),this.feed(e)}};var W=class extends a{static lktDefaultValues=["items","submitButton","container","header","uiConfig"];items=[];submitButton=!1;container={};header={};uiConfig={};constructor(e={}){super(),this.feed(e),this.items=this.items.map(o=>(o.type==="field"&&typeof o.modificationsField>"u"&&(o.modificationsField={options:[]}),o))}static mkFieldItemConfig(e,o,r={},n={}){return{type:"field",key:e,field:o,modificationsField:r,...n}}static mkFormItemConfig(e,o={}){return{type:"form",form:e,...o}}static mkComponentItemConfig(e,o={}){return{type:"component",component:e,...o}}static mkSlotItemConfig(e,o={}){return{type:"slot",key:e,slotData:o}}};var De=(u=>(u.HTTPResponse="http-response",u.MinStringLength="min-str",u.MinNumber="min-num",u.MaxStringLength="max-str",u.MaxNumber="max-num",u.Email="email",u.Empty="empty",u.EqualTo="equal-to",u.MinNumbers="min-numbers",u.MaxNumbers="max-numbers",u.MinChars="min-chars",u.MaxChars="max-chars",u.MinUpperChars="min-upper-chars",u.MaxUpperChars="max-upper-chars",u.MinLowerChars="min-lower-chars",u.MaxLowerChars="max-lower-chars",u.MinSpecialChars="min-special-chars",u.MaxSpecialChars="max-special-chars",u))(De||{});var Ve=(r=>(r.Ok="ok",r.Ko="ko",r.Info="info",r))(Ve||{});var N=class t{code=void 0;status="info";min=0;max=0;equalToValue=void 0;httpResponse=void 0;constructor(e,o){this.code=e,this.status=o}setMin(e){return this.min=e,this}setMax(e){return this.max=e,this}setEqualToValue(e){return this.equalToValue=e,this}setHTTPResponse(e){return this.httpResponse=e,this}static createEmpty(e="ko"){return new t("empty",e)}static createEmail(e="ko"){return new t("email",e)}static createMinStr(e,o="ko"){return new t("min-str",o).setMin(e)}static createMaxStr(e,o="ko"){return new t("max-str",o).setMax(e)}static createMinNum(e,o="ko"){return new t("min-num",o).setMin(e)}static createMaxNum(e,o="ko"){return new t("max-num",o).setMax(e)}static createNumBetween(e,o,r="ko"){return new t("max-num",r).setMin(e).setMax(o)}static createMinNumbers(e,o="ko"){return new t("min-numbers",o).setMin(e)}static createMaxNumbers(e,o="ko"){return new t("max-numbers",o).setMax(e)}static createMinUpperChars(e,o="ko"){return new t("min-upper-chars",o).setMin(e)}static createMaxUpperChars(e,o="ko"){return new t("max-upper-chars",o).setMax(e)}static createMinLowerChars(e,o="ko"){return new t("min-lower-chars",o).setMin(e)}static createMaxLowerChars(e,o="ko"){return new t("max-lower-chars",o).setMax(e)}static createMinSpecialChars(e,o="ko"){return new t("min-special-chars",o).setMin(e)}static createMaxSpecialChars(e,o="ko"){return new t("max-special-chars",o).setMax(e)}static createMinChars(e,o="ko"){return new t("min-chars",o).setMin(e)}static createMaxChars(e,o="ko"){return new t("max-chars",o).setMax(e)}static createEqualTo(e,o="ko"){return new t("equal-to",o).setEqualToValue(e)}static createRemoteResponse(e,o="ko"){return new t("http-response",o).setHTTPResponse(e)}};var Te=(i=>(i.StorageUnit="unit",i.Directory="dir",i.Image="img",i.Video="vid",i.File="file",i))(Te||{});var U=class t extends a{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["id","type","name","src","children","parent"];id=void 0;type="img";name="";src="";children=[];isPicked=!1;parent=void 0;constructor(e={}){super(),this.feed(e),this.children||(this.children=[]),this.children=this.children.map(o=>new t({...o,parent:this.id}))}};var Fe=(s=>(s.H1="h1",s.H2="h2",s.H3="h3",s.H4="h4",s.H5="h5",s.H6="h6",s))(Fe||{});var H=class extends a{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["tag","class","text","icon"];tag="h2";class="";text="";icon="";constructor(e={}){super(),this.feed(e)}};var ve=(o=>(o.NotDefined="",o.Button="button",o))(ve||{});var Oe=(o=>(o.Start="start",o.End="end",o))(Oe||{});var R=class extends a{static lktDefaultValues=["icon","text","class","type","position","events"];icon="";text="";class="";type="";position="start";events={};constructor(e={}){super(),this.feed(e)}};var K=class extends a{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["src","alt","text","class","imageStyle"];src="";alt="";text="";class="";imageStyle="";constructor(e={}){super(),this.feed(e)}};var Ae=(r=>(r.Create="create",r.Update="update",r.Read="read",r))(Ae||{});var we=(o=>(o.Inline="inline",o.Modal="modal",o))(we||{});var Pe=(o=>(o.Top="top",o.Bottom="bottom",o))(Pe||{});var je=(r=>(r.Changed="changed",r.Always="always",r.Never="never",r))(je||{});var We=(r=>(r.Manual="manual",r.Auto="auto",r.Delay="delay",r))(We||{});var Ne=(o=>(o.Toast="toast",o.Inline="inline",o))(Ne||{});var Ue=(n=>(n.Current="current",n.Modifications="modifications",n.SplitView="split-view",n.Differences="differences",n))(Ue||{});var z=class extends a{static lktDefaultValues=["modelValue","modifications","editing","perms","customData","mode","view","visibleView","modificationViews","editModeButton","dropButton","createButton","updateButton","groupButton","groupButtonAsModalActions","modalConfig","saveConfig","title","readResource","readData","beforeEmitUpdate","dataStateConfig","buttonNavPosition","buttonNavVisibility","notificationType","enabledSaveWithoutChanges","redirectOnCreate","redirectOnDrop","differencesTableConfig","events","form","formUiConfig"];modelValue={};modifications={};editing=!1;perms=[];customData={};form={};formUiConfig={};mode="read";view="inline";visibleView="current";modificationViews=!0;editModeButton={};dropButton={};createButton={};updateButton={};groupButton=!1;groupButtonAsModalActions=!1;modalConfig={};saveConfig={type:"manual"};title="";readResource="";readData={};beforeEmitUpdate=void 0;dataStateConfig={};buttonNavPosition="top";buttonNavVisibility="always";notificationType="toast";enabledSaveWithoutChanges=!1;redirectOnCreate=void 0;redirectOnDrop=void 0;differencesTableConfig={};events={};constructor(e={}){super(),this.feed(e)}};var q=class extends a{static lktDefaultValues=["loginForm","singUpForm"];loginForm=void 0;singUpForm=void 0;constructor(e={}){super(),this.feed(e)}};var G=class extends a{static lktDefaultValues=["modelValue","http"];modelValue=[];http={};constructor(e={}){super(),this.feed(e)}};var He=(r=>(r.Anchor="anchor",r.Button="button",r.Entry="entry",r))(He||{});var $=class extends a{static lktDefaultValues=["key","type","icon","isActiveChecker","isOpened","isActive","parent","children","events"];key="";type="anchor";class="";icon="";anchor={};button={};isActiveChecker=void 0;isOpened=!1;isActive=!1;keepOpenOnChildClick=!1;parent=void 0;children;events={};constructor(e={}){super(),this.feed(e)}doClose(){this.isOpened=!1}};var Re=(o=>(o.Modal="modal",o.Confirm="confirm",o))(Re||{});var J=class extends a{static lktDefaultValues=["size","preTitle","preTitleIcon","title","closeIcon","closeConfirm","closeConfirmKey","showClose","disabledClose","disabledVeilClick","hiddenFooter","modalName","modalKey","zIndex","beforeClose","item","type","confirmButton","cancelButton","headerActionsButton"];size="";preTitle="";preTitleIcon="";title="";closeIcon=b.defaultCloseModalIcon;closeConfirm="";closeConfirmKey="_";showClose=!0;disabledClose=!1;disabledVeilClick=!1;hiddenFooter=!1;modalName="";modalKey="_";zIndex=500;beforeClose=void 0;item={};confirmButton={};cancelButton={};headerActionsButton={};type="modal";constructor(e={}){super(),this.feed(e)}};var X=class extends a{value=void 0;label="";data={};disabled=!1;group="";icon="";modal="";tags=[];constructor(e={}){super(),this.feed(e)}};var Ke=(s=>(s.Pages="pages",s.PrevNext="prev-next",s.PagesPrevNext="pages-prev-next",s.PagesPrevNextFirstLast="pages-prev-next-first-last",s.LoadMore="load-more",s.Infinite="infinite",s))(Ke||{});var Q=class extends a{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","modelValue","class","resource","readOnly","loading","resourceData","events"];type="pages-prev-next";modelValue=1;class="";resource="";readOnly=!1;loading=!1;resourceData={};events={};constructor(e={}){super(),this.feed(e)}};var ze=(r=>(r.None="",r.Incremental="incremental",r.Decremental="decremental",r))(ze||{});var qe=(i=>(i.NotDefined="",i.Hidden="hidden",i.Integer="integer",i.Decimal="decimal",i.Auto="auto",i))(qe||{});var Y=class extends a{static lktAllowUndefinedProps=[];static lktDefaultValues=["modelValue","type","duration","pauseOnHover","header","valueFormat","palette"];modelValue=0;type="";duration=4e3;pauseOnHover=!1;header="";valueFormat="auto";palette="";constructor(e={}){super(),this.feed(e)}};var Z=class extends a{static lktDefaultValues=["modelValue","loading","steps","header"];modelValue="";loading=!1;steps=[];header={};nextButton={};prevButton={};constructor(e={}){super(),this.feed(e)}};var Ge=(s=>(s.Table="table",s.Item="item",s.Ul="ul",s.Ol="ol",s.Carousel="carousel",s.Accordion="accordion",s))(Ge||{});var $e=(n=>(n[n.Auto=0]="Auto",n[n.PreferItem=1]="PreferItem",n[n.PreferCustomItem=2]="PreferCustomItem",n[n.PreferColumns=3]="PreferColumns",n))($e||{});var _=class extends a{static lktDefaultValues=["modelValue","type","columns","noResultsText","hideEmptyColumns","itemDisplayChecker","loading","page","perms","editMode","dataStateConfig","sortable","sorter","initialSorting","drag","paginator","header","title","titleTag","titleIcon","headerClass","editModeButton","saveButton","createButton","groupButton","wrapContentTag","wrapContentClass","itemsContainerClass","itemContainerClass","hiddenSave","addNavigation","createEnabledValidator","newValueGenerator","requiredItemsForTopCreate","requiredItemsForBottomCreate","slotItemVar","carousel","accordion","hideTableHeader","skipTableItemsContainer"];modelValue=[];type="table";columns=[];noResultsText="";hideTableHeader=!1;hideEmptyColumns=!1;itemDisplayChecker=void 0;rowDisplayType=0;loading=!1;page=1;perms=[];editMode=!1;dataStateConfig={};sortable=!1;sorter=void 0;initialSorting=!1;drag=void 0;paginator=void 0;carousel={};accordion={};header;title="";titleTag="h2";titleIcon="";headerClass="";editModeButton={};saveButton={};createButton={};hiddenSave=!1;groupButton=!1;wrapContentTag="div";wrapContentClass="";itemsContainerClass="";itemContainerClass;skipTableItemsContainer;addNavigation=!1;createEnabledValidator=void 0;newValueGenerator=void 0;requiredItemsForTopCreate=0;requiredItemsForBottomCreate=0;slotItemVar="item";constructor(e={}){super(),this.feed(e)}};var ee=class extends a{static lktDefaultValues=["modelValue","id","useSession","cacheLifetime","contentPad","titles"];modelValue="";id="";useSession=!1;cacheLifetime=5;contentPad;titles;constructor(e={}){super(),this.feed(e)}};var Je=(o=>(o.NotDefined="",o.ActionIcon="action-icon",o))(Je||{});var te=class extends a{static lktDefaultValues=["class","text","featuredText","icon","iconAtEnd","featuredAtStart","type"];class="";text="";featuredText="";icon="";iconAtEnd=!1;featuredAtStart=!1;type="";constructor(e={}){super(),this.feed(e)}};var Xe=(o=>(o.Message="message",o.Button="button",o))(Xe||{});var Qe=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(Qe||{});var oe=class extends a{static lktDefaultValues=["type","text","details","icon","positionX","duration","buttonConfig","zIndex"];type="message";text="";details="";icon="";positionX="right";duration=void 0;buttonConfig=void 0;zIndex=1e3;constructor(e={}){super(),this.feed(e)}};var Ye=(o=>(o.Fixed="fixed",o.Absolute="absolute",o))(Ye||{});var Ze=(n=>(n.Top="top",n.Bottom="bottom",n.Center="center",n.ReferrerCenter="referrer-center",n))(Ze||{});var _e=(i=>(i.Left="left",i.Right="right",i.Center="center",i.LeftCorner="left-corner",i.RightCorner="right-corner",i))(_e||{});var re=class extends a{static lktDefaultValues=["modelValue","alwaysOpen","class","contentClass","text","icon","iconAtEnd","engine","referrerWidth","referrerMargin","windowMargin","referrer","locationY","locationX","showOnReferrerHover","showOnReferrerHoverDelay","hideOnReferrerLeave","hideOnReferrerLeaveDelay"];modelValue=!1;alwaysOpen=!1;class="";contentClass="";text="";icon="";iconAtEnd=!1;engine="fixed";referrerWidth=!1;referrerMargin=0;windowMargin=0;referrer=void 0;locationY="bottom";locationX="left-corner";showOnReferrerHover=!1;showOnReferrerHoverDelay=0;hideOnReferrerLeave=!1;hideOnReferrerLeaveDelay=0;constructor(e={}){super(),this.feed(e)}};var et=(p=>(p.LktAnchor="lkt-anchor",p.LktLayoutAccordion="lkt-layout-accordion",p.LktTextAccordion="lkt-text-accordion",p.LktLayoutBox="lkt-layout-box",p.LktTextBox="lkt-text-box",p.LktLayoutBanner="lkt-layout-banner",p.LktTextBanner="lkt-text-banner",p.LktButton="lkt-button",p.LktLayout="lkt-layout",p.LktHeader="lkt-header",p.LktIcon="lkt-icon",p.LktIcons="lkt-icons",p.LktImage="lkt-image",p.LktText="lkt-text",p))(et||{});var ne=(n=>(n.Grid="grid",n.FlexRow="flex-row",n.FlexRows="flex-rows",n.FlexColumn="flex-column",n))(ne||{});import{getAvailableLanguages as g}from"lkt-i18n";var k=(t="Time to create")=>{let e={};return g().forEach(r=>{e[r]=t}),new m({id:0,type:"lkt-text",props:{text:e},config:{},layout:{columns:[],alignSelf:[],justifySelf:[]}})},ae=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-anchor",props:{text:t},config:{hasHeader:!0,hasIcon:!0}})},ie=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-button",props:{text:t},config:{hasHeader:!0,hasIcon:!0},children:[k("Button text")],layout:{columns:[],alignSelf:[],justifySelf:[]}})},le=()=>new m({id:0,type:"lkt-layout",props:{},config:{},children:[],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}}),se=()=>{let t={},e={};return g().forEach(r=>{t[r]="Title goes here",e[r]="Content goes here"}),new m({id:0,type:"lkt-text-box",props:{header:t,text:e},config:{hasHeader:!0,hasIcon:!0},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},fe=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-layout-box",props:{header:t},config:{hasHeader:!0,hasIcon:!0},children:[k("Content goes here")],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}})},ue=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-layout-accordion",props:{header:t,type:"auto"},config:{hasHeader:!0,hasIcon:!0},children:[k("Content goes here")],layout:{type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]}})},me=()=>{let t={},e={};return g().forEach(r=>{t[r]="Title goes here",e[r]="Content goes here"}),new m({id:0,type:"lkt-text-accordion",props:{header:t,text:e,type:"auto"},config:{hasHeader:!0,hasIcon:!0},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},de=()=>{let t={};return g().forEach(o=>{t[o]="Title goes here"}),new m({id:0,type:"lkt-header",props:{text:t},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},M=()=>{let t={};return g().forEach(o=>{t[o]="Content goes here"}),new m({id:0,type:"lkt-icon",props:{text:t},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},ce=()=>{let t={},e={},o={};return g().forEach(n=>{t[n]="Image description goes here",e[n]="",o[n]=""}),new m({id:0,type:"lkt-image",props:{text:t,alt:e,title:o},config:{hasHeader:!0,hasIcon:!0},layout:{columns:[],alignSelf:[],justifySelf:[]}})},pe=()=>{let t={},e={},o={};return g().forEach(n=>{t[n]="Title goes here",e[n]="Subtitle goes here",o[n]="Content goes here"}),new m({id:0,type:"lkt-text-banner",props:{header:t,subHeader:e,text:o,art:{},media:{},opacity:0,type:"static"},config:{hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]},children:[],layout:{columns:[],alignSelf:[],justifySelf:[]}})},tt=()=>{let t={},e={},o={};return g().forEach(n=>{t[n]="Title goes here",e[n]="Subtitle goes here",o[n]="Content goes here"}),new m({id:0,type:"lkt-icons",props:{header:t,subHeader:e,text:o},config:{hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]},subElements:[M()],layout:{type:"flex-rows",columns:[],alignSelf:[],justifySelf:[]}})};import{cloneObject as Vt}from"lkt-object-tools";import{generateRandomString as Tt}from"lkt-string-tools";import{time as Ft}from"lkt-date-tools";var I=class t{static elements=[];static customAppearance={};static addWebElement(e){return t.elements.push(e),t}static getElements(){return t.elements}static getCustomWebElementSettings(e){let o=e.startsWith("custom:")?e.split(":")[1]:e;return t.elements.find(r=>r.id===o)}static setCustomAppearance(e){return typeof e.key=="string"?t.customAppearance[e.key]=e:e.key.forEach(o=>{t.customAppearance[o]=e}),t}static getCustomAppearance(e){return t.customAppearance[e]}};var m=class t extends a{static lktDefaultValues=["id","type","component","props","children","layout","config","subElements"];id=0;type="lkt-text";component="";props={class:"",icon:"",header:{},subHeader:{},text:{}};children=[];subElements=[];layout={type:"grid",amountOfItems:[],alignItems:[],justifyContent:[],columns:[],alignSelf:[],justifySelf:[]};config={hasHeader:!0,hasSubHeader:!0,hasIcon:!0,amountOfCallToActions:0,callToActions:[]};keyMoment="";uid="";constructor(e={}){super(),this.feed(e),this.props||(this.props={text:{}}),this.layout||(this.layout={amountOfItems:[],columns:[],alignSelf:[],alignItems:[],justifySelf:[],justifyContent:[]}),this.layout.columns||(this.layout.columns=[]),this.layout.alignSelf||(this.layout.alignSelf=[]),this.layout.alignItems||(this.layout.alignItems=[]),this.layout.justifySelf||(this.layout.justifySelf=[]),this.layout.justifyContent||(this.layout.justifyContent=[]),this.props.header||(this.props.header={}),(!this.props.text||typeof this.props.text!="object")&&(this.props.text={}),this.type==="lkt-text-banner"&&(this.props.subHeader||(this.props.subHeader={}),(!this.props.art||typeof this.props.art!="object"||Object.keys(this.props.art).length===0)&&(this.props.art={src:""}),(!this.props.media||typeof this.props.media!="object"||Object.keys(this.props.media).length===0)&&(this.props.media={src:""}),this.props.opacity||(this.props.opacity=0),this.props.type||(this.props.type="static")),this.type==="lkt-image"&&(this.props.alt||(this.props.alt={}),this.props.title||(this.props.title={}),this.props.text||(this.props.text={})),Array.isArray(this.config.callToActions)&&this.config.callToActions?.length>0&&(this.config.callToActions=this.config.callToActions.map(o=>new t(o))),Array.isArray(this.children)||(this.children=[]),this.children=this.children.map(o=>new t(o)),this.subElements=this.subElements.map(o=>new t(o)),this.uid=[this.id,Tt(6)].join("-"),this.updateKeyMoment()}updateKeyMoment(){this.keyMoment=[this.uid,Ft()].join("-")}addChild(e,o=void 0){return Array.isArray(this.children)||(this.children=[]),typeof o=="number"&&o>=0&&o<this.children.length?(this.children.splice(o,0,e),this):(this.children.push(e),this)}getClone(){let e=o=>(o.id=0,o.children?.forEach(r=>e(r)),o);return new t(e(Vt(this)))}static createByType(e){switch(e){case"lkt-layout-box":return fe();case"lkt-text-box":return se();case"lkt-layout-accordion":return ue();case"lkt-text-accordion":return me();case"lkt-icon":return M();case"lkt-icons":return tt();case"lkt-image":return ce();case"lkt-anchor":return ae();case"lkt-button":return ie();case"lkt-layout":return le();case"lkt-header":return de();case"lkt-text":return k();case"lkt-text-banner":return pe()}return new t({type:e})}addSubElement(){switch(this.type){case"lkt-icons":this.subElements.push(M());break}return this}isCustom(){return this.type.startsWith("custom:")}getCustomSettings(){return I.getCustomWebElementSettings(this.type)}};import{generateRandomString as rt,getUrlSlug as vt}from"lkt-string-tools";import{time as nt}from"lkt-date-tools";var ot=(r=>(r.Draft="draft",r.Public="public",r.Scheduled="scheduled",r))(ot||{});var ge=class extends a{static lktDefaultValues=["id","name","slug","status","scheduledDate","nameData","webElements"];keyMoment="";id=0;name="";slug="";status="draft";scheduledDate=void 0;nameData={};webElements=[];crudConfig={};constructor(e={}){super(),this.feed(e),this.keyMoment=rt(4)+this.id+nt(),this.name&&this.name!==""&&!this.slug&&this.updateSlug()}updateKeyMoment(){this.keyMoment=rt(4)+this.id+nt()}updateSlug(){this.slug=vt(this.name)}};var at=(n=>(n.None="",n.Focus="focus",n.Blur="blur",n.Always="always",n))(at||{});var it=(r=>(r.Auto="auto",r.Local="local",r.Remote="remote",r))(it||{});var lt=(i=>(i.Refresh="refresh",i.Close="close",i.ReOpen="reOpen",i.Exec="exec",i.Open="open",i))(lt||{});var st=(o=>(o.Asc="asc",o.Desc="desc",o))(st||{});var ft=(l=>(l.Create="create",l.Update="update",l.Edit="edit",l.Drop="drop",l.Sort="sort",l.SwitchEditMode="switch-edit-mode",l.InlineEdit="inline-edit",l.InlineCreate="inline-create",l.ModalCreate="modal-create",l.InlineCreateEver="inline-create-ever",l))(ft||{});var ut=(o=>(o.Lazy="lazy",o.Ever="ever",o))(ut||{});var mt=(o=>(o.Page="page",o.Element="element",o))(mt||{});var Ce=class t{value;constructor(e){this.value=e}getValue(...e){return typeof this.value=="function"?this.value(...e):typeof this.value=="object"&&typeof this.value==typeof t?this.value.getValue(...e):typeof this.value=="string"?this.value:""}};var Ot=(t,...e)=>{b.debugEnabled&&console.info("::lkt::",`[${t}] `,...e)};import{DataState as At}from"lkt-data-state";var wt=(t,e,o)=>{let r=new At(JSON.parse(JSON.stringify(t)),{onlyProps:xe(o),recursiveOnlyProps:!1});return r.increment(JSON.parse(JSON.stringify(e))),r},xe=t=>{if(t.items===void 0)return[];if(t.items.length===0)return[];let e=[];for(let o in t.items){let r=t.items[o];switch(r.type){case"field":r.key!==void 0&&e.push(r.key);break;case"form":r.form&&(e=[...e,...xe(r.form)]);break}}return e},dt=t=>{if(t.items===void 0)return[];if(t.items.length===0)return[];let e=[];for(let o in t.items){let r=t.items[o];switch(r.type){case"slot":r.key!==void 0&&e.push(r.key);break;case"form":r.form&&(e=[...e,...dt(r.form)]);break}}return e};import{nextTick as Pt}from"vue";var C=class t{static config=[];static components=[];static zIndex=500;static canvas=void 0;static addModal(e){return t.config.push(e),t}static findConfig(e){return t.config.find(o=>o.name===e)}static getInstanceIndex(e){return`${e.modalName}_${e.modalKey}`}static getModalInfo(e,o={},r){let n=t.getInstanceIndex(e);return e={...r.config,...e,zIndex:t.zIndex},{componentProps:o,modalConfig:e,modalRegister:r,index:n,legacy:!1,legacyData:{props:{...e,modalConfig:e,...o}}}}static focus(e){return t.components[e.index]=e,t.components[e.index]}static open(e,o={},r=!1){o.modalKey&&(e.modalKey=o.modalKey);let n=t.findConfig(e.modalName);if(r&&(o.size&&(e.size=o.size,delete o.size),o.preTitle&&(e.preTitle=o.preTitle,delete o.preTitle),o.preTitleIcon&&(e.preTitleIcon=o.preTitleIcon,delete o.preTitleIcon),o.title&&(e.title=o.title,delete o.title),o.closeIcon&&(e.closeIcon=o.closeIcon,delete o.closeIcon),o.closeConfirm&&(e.closeConfirm=o.closeConfirm,delete o.closeConfirm),o.closeConfirmKey&&(e.closeConfirmKey=o.closeConfirmKey,delete o.closeConfirmKey),o.showClose&&(e.showClose=o.showClose,delete o.showClose),o.disabledClose&&(e.disabledClose=o.disabledClose,delete o.disabledClose),o.disabledVeilClick&&(e.disabledVeilClick=o.disabledVeilClick,delete o.disabledVeilClick),o.hiddenFooter&&(e.hiddenFooter=o.hiddenFooter,delete o.hiddenFooter),o.modalName&&(e.modalName=o.modalName,delete o.modalName),o.modalKey&&(e.modalKey=o.modalKey,delete o.modalKey),o.beforeClose&&(e.beforeClose=o.beforeClose,delete o.beforeClose),o.item&&(e.item=o.item,delete o.item),o.confirmButton&&(e.confirmButton=o.confirmButton,delete o.confirmButton),o.cancelButton&&(e.cancelButton=o.cancelButton,delete o.cancelButton),o.type&&(e.type=o.type,delete o.type)),n){++t.zIndex;let i=this.getModalInfo(e,o,n);return i.legacy=r,t.components[i.index]?t.focus(i):(t.components[i.index]=i,t.canvas?.refresh(),t.components[i.index])}}static close(e){if(t.findConfig(e.modalName)){--t.zIndex;let r=t.getInstanceIndex(e);delete t.components[r],Object.keys(t.components).length===0&&(t.zIndex=500),t.canvas?.refresh()}}static reOpen(e,o={},r=!1){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.close(e),t.canvas?.refresh(),Pt(()=>{t.open(e,o,r),t.canvas?.refresh()})}static execModal(e,o,r={}){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.canvas?.execModal(e.modalName,e.modalKey,o,r),t.canvas?.refresh()}static refresh(e,o={}){if(!t.canvas){console.warn("ModalCanvas not defined");return}t.canvas?.refreshModal(e.modalName,e.modalKey,o),t.canvas?.refresh()}static runModalCallback(e){let o=e.modalKey?e.modalKey:"_",r=e.args?e.args:{},n={modalName:e.modalName,modalKey:o};switch(e.action){case"reOpen":return t.reOpen(n,r);case"open":return t.open(n,r);case"close":return t.close(n);case"refresh":return t.refresh(n,r);case"exec":let i=e.method;return i?t.execModal(n,i,r):void 0}}static updateModalKey(e,o){if(!t.canvas){console.warn("ModalCanvas not defined");return}let r=t.getInstanceIndex(e),n=t.getInstanceIndex({modalName:e.modalName,modalKey:o});return t.components[n]=t.components[r],t.components[n].modalConfig.modalKey=o,t.components[n].legacyData.props.modalConfig.modalKey=o,t.components[n].legacyData.props.modalKey=o,delete t.components[r],t.canvas?.refresh(),t}};var be=t=>(typeof t=="string"&&t.indexOf("confirm__")===0&&(t=t.substring(9)),"confirm__"+t),jt=t=>{C.addModal(t)},Wt=t=>{C.addModal({...t,name:be(t.name)})},ct=(t,e)=>{C.open(t,e),C.canvas?.refresh()},pt=t=>{C.close(t),C.canvas?.refresh()},Nt=t=>{C.canvas=t},Ut=(t,e)=>{ct({...t,modalName:be(t.modalName)},e)},Ht=t=>{pt({...t,modalName:be(t.modalName)})},Rt=t=>{C.runModalCallback(t)};var Kt=t=>new L(t);var zt=t=>{document.execCommand(t,!1)},qt=t=>{document.execCommand("justify"+t,!1)},Gt=t=>{document.execCommand("foreColor",!1,t)},$t=t=>{document.execCommand("backColor",!1,t)},Jt=(t,e)=>{document.execCommand("fontName",!1,e)};var gt=(o=>(o.Quick="quick",o.Full="full",o))(gt||{});var he=class t{static pages=[];static addWebPage(e){return t.pages.push(e),t}static getPages(){return t.pages}static getCustomWebPageSettings(e){return t.pages.find(o=>o.id===e||o.code===e)}};function Un(t){let e=new t,o={};if(!Array.isArray(t.lktDefaultValues))throw new Error("lktDefaultValues must be a keys array.");for(let r of t.lktDefaultValues)r in e&&(o[r]=e[r]);return o}export{D as Accordion,Le as AccordionToggleMode,S as AccordionType,T as Anchor,Me as AnchorType,v as Banner,F as BannerType,O as Box,A as Button,ke as ButtonType,L as Column,Ie as ColumnType,w as Counter,Ee as CounterType,P as DocPage,Be as DocPageSize,j as Field,at as FieldAutoValidationTrigger,ye as FieldType,N as FieldValidation,it as FieldValidationType,U as FileEntity,Te as FileEntityType,W as FormInstance,H as Header,Fe as HeaderTag,R as Icon,Oe as IconPosition,ve as IconType,K as Image,z as ItemCrud,Pe as ItemCrudButtonNavPosition,je as ItemCrudButtonNavVisibility,Ae as ItemCrudMode,we as ItemCrudView,B as LktColor,a as LktItem,b as LktSettings,y as LktStrictItem,q as Login,G as Menu,$ as MenuEntry,He as MenuEntryType,J as Modal,lt as ModalCallbackAction,C as ModalController,gt as ModalRegisterType,Re as ModalType,Ue as ModificationView,Se as MultipleOptionsDisplay,Ne as NotificationType,X as Option,Q as Paginator,Ke as PaginatorType,Y as Progress,ze as ProgressType,qe as ProgressValueFormat,Ce as SafeString,We as SaveType,st as SortDirection,Z as StepProcess,_ as Table,ft as TablePermission,$e as TableRowType,Ge as TableType,ee as Tabs,te as Tag,Je as TagType,oe as Toast,Qe as ToastPositionX,Xe as ToastType,ut as ToggleMode,re as Tooltip,_e as TooltipLocationX,Ze as TooltipLocationY,Ye as TooltipPositionEngine,De as ValidationCode,Ve as ValidationStatus,m as WebElement,I as WebElementController,ne as WebElementLayoutType,et as WebElementType,ge as WebPage,he as WebPageController,ot as WebPageStatus,mt as WebParentType,Wt as addConfirm,jt as addModal,qt as applyTextAlignment,zt as applyTextFormat,kt as booleanFieldTypes,$t as changeBackgroundColor,Jt as changeFontFamily,Gt as changeTextColor,Ht as closeConfirm,pt as closeModal,Kt as createColumn,d as ensureButtonConfig,h as ensureFieldConfig,Et as extractI18nValue,E as extractPropValue,Ct as fieldTypesWithOptions,xt as fieldTypesWithoutClear,bt as fieldTypesWithoutUndo,yt as fieldsWithMultipleMode,V as getAnchorHref,ae as getDefaultLktAnchorWebElement,ie as getDefaultLktButtonWebElement,de as getDefaultLktHeaderWebElement,M as getDefaultLktIconWebElement,ce as getDefaultLktImageWebElement,ue as getDefaultLktLayoutAccordionWebElement,fe as getDefaultLktLayoutBoxWebElement,le as getDefaultLktLayoutWebElement,me as getDefaultLktTextAccordionWebElement,pe as getDefaultLktTextBannerWebElement,se as getDefaultLktTextBoxWebElement,k as getDefaultLktTextWebElement,Un as getDefaultValues,wt as getFormDataState,xe as getFormFieldsKeys,dt as getFormSlotKeys,Ot as lktDebug,Ut as openConfirm,ct as openModal,Bt as prepareResourceData,Rt as runModalCallback,Nt as setModalCanvas,Lt as textFieldTypes,ht as textFieldTypesWithOptions};
|