@omnia/fx 8.0.248-dev → 8.0.250-dev
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/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/localizationinput/LocalizationInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertyRow.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appimageinput/AppImageInput.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/appprovisioning/apppropertiesinput/AppPropertiesInput.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/datetimezonerenderer/DateTimeZoneRenderer.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineSettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertyDefaultValueInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +11 -11
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutBlockRenderer.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands.d.ts +11 -2
- package/internal-do-not-import-from-here/ux/markdown2/commands/EditorCommands_old.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/HtmlNodehelper.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/{Nodehelper.d.ts → HtmlNodehelper_old.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +17 -15
- package/internal-do-not-import-from-here/ux/markdown2/models/{MarkdownPlugin.d.ts → EditorPlugin.d.ts} +8 -10
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineEditorPlugin.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorButton.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/plugins/velcron/VelcronPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownStore.d.ts +61 -41
- package/internal-do-not-import-from-here/ux/markdown2/stores/MarkdownToolbarStore.d.ts +295 -200
- package/internal-do-not-import-from-here/ux/mediagallery/view/MediaDisplayRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediagallery/view/PhotoWallWithSliderDisplayRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +628 -20
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/tooltip/Tooltip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostCardDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/boolean/BooleanEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/businessprofile/BusinessProfileEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date/DateEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/email/EmailEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/integer/IntegerEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/media/MediaEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/text/TextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/LabelOptionsRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfiguration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/InternalVersionedLayoutRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/renderer/VersionedLayoutRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +0 -3
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/markdown2/parsers/MarkdownParser.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/markdown2/plugins/DefineMarkdownPlugin.d.ts +0 -8
@@ -406,18 +406,18 @@ declare const _default: {
|
|
406
406
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
407
407
|
modelValue?: Identity[];
|
408
408
|
providerIds?: guid[];
|
409
|
-
|
410
|
-
permissionEnabled?: BoolFilter;
|
409
|
+
attachToParent?: boolean;
|
411
410
|
disabledIdentities?: Identity[];
|
412
411
|
blockedIdentities?: Identity[];
|
413
412
|
hideTab?: Boolean;
|
413
|
+
hideDynamicGroupSelection?: Boolean;
|
414
414
|
hideGroupTypeSelection?: Boolean;
|
415
415
|
hideUserTypeSelection?: Boolean;
|
416
|
-
hideDynamicGroupSelection?: Boolean;
|
417
|
-
enableSpecialUser?: ISpecialUserConfiguration;
|
418
|
-
attachToParent?: boolean;
|
419
416
|
showSelectedIdentities?: Boolean;
|
420
417
|
displayIdentityType?: Boolean;
|
418
|
+
emailEnabled?: BoolFilter;
|
419
|
+
permissionEnabled?: BoolFilter;
|
420
|
+
enableSpecialUser?: ISpecialUserConfiguration;
|
421
421
|
isClosed?: Boolean;
|
422
422
|
}>, "onRemove" | "onDoc$" | "onAdd" | "onCloseDialog"> & {
|
423
423
|
onRemove?: (identity: Identity) => any;
|
@@ -384,20 +384,20 @@ declare const _default: {
|
|
384
384
|
identityStore?: IIdentityPickerStore;
|
385
385
|
disabled?: boolean;
|
386
386
|
ariaInvalid?: boolean;
|
387
|
-
ariaDescribedby?: string;
|
388
387
|
singleLine?: boolean;
|
389
388
|
providerIds?: guid[];
|
390
|
-
|
391
|
-
permissionEnabled?: BoolFilter;
|
392
|
-
keepSelectionMenu?: boolean;
|
389
|
+
attachToParent?: boolean;
|
393
390
|
disabledIdentities?: Identity[];
|
394
391
|
blockedIdentities?: Identity[];
|
395
|
-
onMenuToggle?: (value: boolean) => void;
|
396
392
|
hideTab?: boolean;
|
393
|
+
hideDynamicGroupSelection?: boolean;
|
397
394
|
hideGroupTypeSelection?: boolean;
|
398
395
|
hideUserTypeSelection?: boolean;
|
399
|
-
|
400
|
-
|
396
|
+
emailEnabled?: BoolFilter;
|
397
|
+
permissionEnabled?: BoolFilter;
|
398
|
+
keepSelectionMenu?: boolean;
|
399
|
+
ariaDescribedby?: string;
|
400
|
+
onMenuToggle?: (value: boolean) => void;
|
401
401
|
}>, "onSelect" | "onDoc$"> & {
|
402
402
|
onSelect?: (value: Identity) => any;
|
403
403
|
onDoc$?: (description?: string) => any;
|
@@ -151,7 +151,7 @@ declare const _default: {
|
|
151
151
|
}>;
|
152
152
|
};
|
153
153
|
location: {
|
154
|
-
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top
|
154
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top start" | "top center" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom">;
|
155
155
|
required: false;
|
156
156
|
};
|
157
157
|
}>> & {
|
@@ -312,7 +312,7 @@ declare const _default: {
|
|
312
312
|
}>;
|
313
313
|
};
|
314
314
|
location: {
|
315
|
-
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top
|
315
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top start" | "top center" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom">;
|
316
316
|
required: false;
|
317
317
|
};
|
318
318
|
}>> & {
|
@@ -475,7 +475,7 @@ declare const _default: {
|
|
475
475
|
}>;
|
476
476
|
};
|
477
477
|
location: {
|
478
|
-
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top
|
478
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top start" | "top center" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom">;
|
479
479
|
required: false;
|
480
480
|
};
|
481
481
|
}>> & {
|
@@ -635,7 +635,7 @@ declare const _default: {
|
|
635
635
|
}>;
|
636
636
|
};
|
637
637
|
location: {
|
638
|
-
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top
|
638
|
+
type: import("vue").PropType<"left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top start" | "top center" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom">;
|
639
639
|
required: false;
|
640
640
|
};
|
641
641
|
}>> & {
|
@@ -718,21 +718,21 @@ declare const _default: {
|
|
718
718
|
"v-model"?: boolean;
|
719
719
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
720
720
|
modelValue?: boolean;
|
721
|
+
location?: "left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top start" | "top center" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom";
|
721
722
|
showMenu?: boolean;
|
722
|
-
location?: "left" | "right" | "top" | "start" | "center" | "end" | "bottom" | "center center" | "top center" | "top start" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom";
|
723
723
|
providerIds?: guid[];
|
724
|
-
|
725
|
-
permissionEnabled?: BoolFilter;
|
726
|
-
keepSelectionMenu?: boolean;
|
724
|
+
attachToParent?: boolean;
|
727
725
|
disabledIdentities?: Identity[];
|
728
726
|
blockedIdentities?: Identity[];
|
729
|
-
onMenuToggle?: (values: boolean) => void;
|
730
727
|
hideTab?: boolean;
|
728
|
+
hideDynamicGroupSelection?: boolean;
|
731
729
|
hideGroupTypeSelection?: boolean;
|
732
730
|
hideUserTypeSelection?: boolean;
|
733
|
-
|
731
|
+
emailEnabled?: BoolFilter;
|
732
|
+
permissionEnabled?: BoolFilter;
|
734
733
|
enableSpecialUser?: ISpecialUserConfiguration;
|
735
|
-
|
734
|
+
keepSelectionMenu?: boolean;
|
735
|
+
onMenuToggle?: (values: boolean) => void;
|
736
736
|
"onUpdate:showMenu"?: (value: boolean) => any;
|
737
737
|
"v-model:showMenu"?: boolean;
|
738
738
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
@@ -523,22 +523,22 @@ declare const _default: {
|
|
523
523
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
524
524
|
modelValue?: Identity[];
|
525
525
|
ariaInvalid?: boolean;
|
526
|
-
ariaDescribedby?: string;
|
527
526
|
singleLine?: boolean;
|
528
527
|
providerIds?: guid[];
|
529
|
-
emailEnabled?: BoolFilter;
|
530
|
-
permissionEnabled?: BoolFilter;
|
531
|
-
keepSelectionMenu?: boolean;
|
532
|
-
showCurrentUserOption?: boolean;
|
533
|
-
autoOpenSelection?: boolean;
|
534
528
|
disabledIdentities?: Identity[];
|
535
529
|
blockedIdentities?: Identity[];
|
536
|
-
onMenuToggle?: (values: boolean) => void;
|
537
530
|
hideTab?: boolean;
|
531
|
+
hideDynamicGroupSelection?: boolean;
|
538
532
|
hideGroupTypeSelection?: boolean;
|
539
533
|
hideUserTypeSelection?: boolean;
|
540
|
-
|
534
|
+
emailEnabled?: BoolFilter;
|
535
|
+
permissionEnabled?: BoolFilter;
|
541
536
|
enableSpecialUser?: ISpecialUserConfiguration;
|
537
|
+
keepSelectionMenu?: boolean;
|
538
|
+
ariaDescribedby?: string;
|
539
|
+
showCurrentUserOption?: boolean;
|
540
|
+
autoOpenSelection?: boolean;
|
541
|
+
onMenuToggle?: (values: boolean) => void;
|
542
542
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
543
543
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
544
544
|
onDoc$?: (description?: string) => any;
|
@@ -500,22 +500,22 @@ declare const _default: {
|
|
500
500
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
501
501
|
modelValue?: Identity[];
|
502
502
|
ariaInvalid?: boolean;
|
503
|
-
ariaDescribedby?: string;
|
504
503
|
singleLine?: boolean;
|
505
504
|
providerIds?: guid[];
|
506
|
-
emailEnabled?: BoolFilter;
|
507
|
-
permissionEnabled?: BoolFilter;
|
508
|
-
keepSelectionMenu?: boolean;
|
509
|
-
showCurrentUserOption?: boolean;
|
510
|
-
autoOpenSelection?: boolean;
|
511
505
|
disabledIdentities?: Identity[];
|
512
506
|
blockedIdentities?: Identity[];
|
513
|
-
onMenuToggle?: (value: boolean) => void;
|
514
507
|
hideTab?: boolean;
|
508
|
+
hideDynamicGroupSelection?: boolean;
|
515
509
|
hideGroupTypeSelection?: boolean;
|
516
510
|
hideUserTypeSelection?: boolean;
|
517
|
-
hideDynamicGroupSelection?: boolean;
|
518
511
|
showSelectedIdentities?: boolean;
|
512
|
+
emailEnabled?: BoolFilter;
|
513
|
+
permissionEnabled?: BoolFilter;
|
514
|
+
keepSelectionMenu?: boolean;
|
515
|
+
ariaDescribedby?: string;
|
516
|
+
showCurrentUserOption?: boolean;
|
517
|
+
autoOpenSelection?: boolean;
|
518
|
+
onMenuToggle?: (value: boolean) => void;
|
519
519
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
520
520
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
521
521
|
onDoc$?: (description?: string) => any;
|
@@ -3,11 +3,11 @@ import { JourneyBladeProps } from "./JourneyBlade";
|
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { ConstructComponentProps } from "../InternalDefineComponent";
|
5
5
|
import { type OListProps } from "../oxide/list/List";
|
6
|
-
import {
|
6
|
+
import { DataTablePropsBase } from "../oxide/datatable/DataTable";
|
7
7
|
import { type JourneyMenuProps } from "./JourneyMenu";
|
8
8
|
type BladeElement = (props: ConstructComponentProps<Omit<JourneyBladeProps, "id" | "getApi">>) => any;
|
9
9
|
type BladeMenuElement = (props: ConstructComponentProps<Omit<JourneyMenuProps, "id" | "getApi">>) => any;
|
10
|
-
type DatatTableComponentTypings = <T1>(props: ConstructComponentProps<Omit<
|
10
|
+
type DatatTableComponentTypings = <T1>(props: ConstructComponentProps<Omit<DataTablePropsBase<T1>, "draggable">>) => any;
|
11
11
|
type ListComponentTypings = <T1>(props: ConstructComponentProps<OListProps<T1>>) => any;
|
12
12
|
export declare function defineBlade<TRoute extends JourneyBladeRoute = {}>(bladeId: guid, renderer?: (blade: BladeElement) => VNodeChild): {
|
13
13
|
readonly Blade: BladeElement;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { guid, IIcon } from "@omnia/fx-models";
|
2
2
|
import { BladeContext, BladeContexts, BladeSizeTypes, BladeVariantTypes, ConfirmDialogOptions, DefineEmit, DefineProp, DefineSlot, useJourneyStore } from "@omnia/fx/ux";
|
3
|
-
import { VNodeChild } from "vue";
|
3
|
+
import { Ref, VNodeChild } from "vue";
|
4
4
|
export interface SwitchValue {
|
5
5
|
value: boolean;
|
6
6
|
label: string;
|
@@ -11,7 +11,7 @@ export interface DisabledButtonTooltips {
|
|
11
11
|
delete?: string;
|
12
12
|
remove?: string;
|
13
13
|
}
|
14
|
-
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean
|
14
|
+
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean | Ref<boolean>, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"settings", boolean, false, false, "Specify if the blade should show a settings button."> & DefineProp<"create", boolean, false, false, "Specify if the blade should show a create button."> & DefineProp<"add", boolean, false, false, "Specify if the blade should show a add button."> & DefineProp<"bladeContext", BladeContexts | BladeContext, false, null, "Specify context of the journey."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"variant", BladeVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"onOk", () => boolean | Promise<boolean>, false, null, "Trigger when user click ok, return true if ok to close the blade."> & DefineProp<"onRemove", () => boolean | Promise<boolean>, false, null, "Trigger when user click remove, return true if ok to close the blade."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onDelete", () => boolean | Promise<boolean>, false, null, "Trigger when user click delete, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"confirmDeleteDialogOption", ConfirmDialogOptions, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & DefineEmit<"click:add", (id: guid) => true> & DefineEmit<"click:back", (id: guid) => true> & DefineEmit<"click:cancel", (id: guid) => true> & DefineEmit<"click:settings", (id: guid) => true> & DefineEmit<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:manageList", () => true>;
|
15
15
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<JourneyBladeProps>) => {
|
16
16
|
$: import("vue").ComponentInternalInstance;
|
17
17
|
$data: {};
|
@@ -50,8 +50,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<J
|
|
50
50
|
default?: import("vue").Slot;
|
51
51
|
}, "actionsFooter" | "selection">;
|
52
52
|
} & {
|
53
|
-
onItemSelected?: (item: JourneyMenuItem) => any;
|
54
53
|
onValueChanged?: (item: JourneySwitchMenuItem) => any;
|
54
|
+
onItemSelected?: (item: JourneyMenuItem) => any;
|
55
55
|
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "title" | "id" | "size" | "items" | "save" | "getApi" | "loading" | "onSave" | "onSwitch">;
|
56
56
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
57
|
[key: string]: any;
|
@@ -104,7 +104,7 @@ export declare const useJourneyStore: () => {
|
|
104
104
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
105
105
|
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
106
106
|
readonly ManageList: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T1>>) => any;
|
107
|
-
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").
|
107
|
+
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTablePropsBase<T1_1>, "draggable">>) => any;
|
108
108
|
id: guid;
|
109
109
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
110
110
|
moveNext(): void;
|
@@ -147,7 +147,7 @@ export declare const useJourneyStore: () => {
|
|
147
147
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
148
148
|
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
149
149
|
readonly ManageList: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T1>>) => any;
|
150
|
-
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").
|
150
|
+
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTablePropsBase<T1_1>, "draggable">>) => any;
|
151
151
|
id: guid;
|
152
152
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
153
153
|
moveNext(): void;
|
@@ -190,7 +190,7 @@ export declare const useJourneyStore: () => {
|
|
190
190
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
191
191
|
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
192
192
|
readonly ManageList: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T1>>) => any;
|
193
|
-
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").
|
193
|
+
readonly ManageDataTable: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTablePropsBase<T1_1>, "draggable">>) => any;
|
194
194
|
id: guid;
|
195
195
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
196
196
|
moveNext(): void;
|
@@ -502,8 +502,8 @@ declare const _default: {
|
|
502
502
|
clearable?: boolean;
|
503
503
|
hideDisplayFlag?: boolean;
|
504
504
|
hideDisplayName?: boolean;
|
505
|
-
loadLanguage?: () => Promise<Array<Language>>;
|
506
505
|
enableContextSettings?: boolean;
|
506
|
+
loadLanguage?: () => Promise<Array<Language>>;
|
507
507
|
}>, "onUpdate:modelValue"> & {
|
508
508
|
"onUpdate:modelValue"?: (value: Language) => any;
|
509
509
|
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
@@ -123,9 +123,9 @@ declare const _default: {
|
|
123
123
|
container?: boolean;
|
124
124
|
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
125
125
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
126
|
-
alternativeContent?: JSX.Element;
|
127
|
-
settingsKey?: any;
|
128
126
|
multilingualtitle?: string | MultilingualString;
|
127
|
+
settingsKey?: any;
|
128
|
+
alternativeContent?: JSX.Element;
|
129
129
|
}>, never>;
|
130
130
|
};
|
131
131
|
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts
CHANGED
@@ -151,15 +151,15 @@ declare const _default: {
|
|
151
151
|
};
|
152
152
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
153
153
|
propsDefinition: Omit<Readonly<{} & {
|
154
|
-
blockId?: guid;
|
155
154
|
layoutProvider?: string;
|
155
|
+
blockId?: guid;
|
156
|
+
isEditMode?: boolean;
|
157
|
+
onBlockInstanceCreated?: (blockInstance: IBlockInstance) => void;
|
156
158
|
blockRenderer?: () => JSX.Element;
|
157
159
|
settingsStorage?: ISettingsStorage<any>;
|
158
|
-
isEditMode?: boolean;
|
159
160
|
mediaContext?: LayoutMediaContext;
|
160
161
|
fileContext?: LayoutFileContext;
|
161
162
|
onSettingsElementUpdated?: (element: string) => void;
|
162
|
-
onBlockInstanceCreated?: (blockInstance: IBlockInstance) => void;
|
163
163
|
blockManifestId?: guid;
|
164
164
|
blockElementToRender?: string;
|
165
165
|
}>, never>;
|
@@ -17,8 +17,8 @@ export declare const LayoutBlockRenderer: {
|
|
17
17
|
type: import("vue").PropType<LayoutEngineRenderContext<Block, SectionSettings>>;
|
18
18
|
};
|
19
19
|
}>> & {
|
20
|
-
onBlockInstanceCreated?: (blockInstance: any) => any;
|
21
20
|
onGetBlock?: (ref: any) => any;
|
21
|
+
onBlockInstanceCreated?: (blockInstance: any) => any;
|
22
22
|
onBlockInstanceCacheKeyUpdated?: (blockInstance: any) => any;
|
23
23
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
24
24
|
getBlock: (ref: any) => any;
|
@@ -41,8 +41,8 @@ export declare const LayoutBlockRenderer: {
|
|
41
41
|
type: import("vue").PropType<LayoutEngineRenderContext<Block, SectionSettings>>;
|
42
42
|
};
|
43
43
|
}>> & {
|
44
|
-
onBlockInstanceCreated?: (blockInstance: any) => any;
|
45
44
|
onGetBlock?: (ref: any) => any;
|
45
|
+
onBlockInstanceCreated?: (blockInstance: any) => any;
|
46
46
|
onBlockInstanceCacheKeyUpdated?: (blockInstance: any) => any;
|
47
47
|
}, {
|
48
48
|
container: boolean;
|
@@ -70,8 +70,8 @@ export declare const LayoutBlockRenderer: {
|
|
70
70
|
type: import("vue").PropType<LayoutEngineRenderContext<Block, SectionSettings>>;
|
71
71
|
};
|
72
72
|
}>> & {
|
73
|
-
onBlockInstanceCreated?: (blockInstance: any) => any;
|
74
73
|
onGetBlock?: (ref: any) => any;
|
74
|
+
onBlockInstanceCreated?: (blockInstance: any) => any;
|
75
75
|
onBlockInstanceCacheKeyUpdated?: (blockInstance: any) => any;
|
76
76
|
}, () => JSX.Element, {}, {}, {}, {
|
77
77
|
container: boolean;
|
@@ -96,8 +96,8 @@ export declare const LayoutBlockRenderer: {
|
|
96
96
|
type: import("vue").PropType<LayoutEngineRenderContext<Block, SectionSettings>>;
|
97
97
|
};
|
98
98
|
}>> & {
|
99
|
-
onBlockInstanceCreated?: (blockInstance: any) => any;
|
100
99
|
onGetBlock?: (ref: any) => any;
|
100
|
+
onBlockInstanceCreated?: (blockInstance: any) => any;
|
101
101
|
onBlockInstanceCacheKeyUpdated?: (blockInstance: any) => any;
|
102
102
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
103
103
|
getBlock: (ref: any) => any;
|
@@ -111,9 +111,9 @@ export declare const LayoutBlockRenderer: {
|
|
111
111
|
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
112
112
|
renderContext?: LayoutEngineRenderContext<Block, SectionSettings>;
|
113
113
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
114
|
-
}>, "
|
115
|
-
onBlockInstanceCreated?: (blockInstance: any) => any;
|
114
|
+
}>, "onGetBlock" | "onBlockInstanceCreated" | "onBlockInstanceCacheKeyUpdated"> & {
|
116
115
|
onGetBlock?: (ref: any) => any;
|
116
|
+
onBlockInstanceCreated?: (blockInstance: any) => any;
|
117
117
|
onBlockInstanceCacheKeyUpdated?: (blockInstance: any) => any;
|
118
118
|
};
|
119
119
|
};
|
@@ -1,13 +1,22 @@
|
|
1
|
+
import { EditorContent, EditorNode, NodeIdSelection } from "../models/EditorModels";
|
1
2
|
export type builtIndataTypes = "text" | "formatting";
|
2
3
|
export declare function useEditorCommands(state: {
|
3
4
|
editor: HTMLDivElement;
|
4
5
|
selectedRange: Range;
|
6
|
+
maxNodeId: number;
|
7
|
+
editorContent: EditorContent;
|
8
|
+
selectedNodes: Array<EditorNode>;
|
9
|
+
selectedNodeIds: NodeIdSelection;
|
5
10
|
}): {
|
6
11
|
selection: {
|
7
|
-
|
12
|
+
getEditorNodeBySelectors: (nodes: EditorNode[], selectors: {
|
13
|
+
name?: string;
|
14
|
+
id?: string;
|
15
|
+
dataType?: string;
|
16
|
+
}) => EditorNode;
|
8
17
|
};
|
9
18
|
actions: {
|
10
|
-
|
19
|
+
setSelection: () => void;
|
11
20
|
};
|
12
21
|
evenhandlers: {
|
13
22
|
backspace: () => void;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export type builtIndataTypes = "text" | "formatting";
|
2
|
+
export declare function useEditorCommands(state: {
|
3
|
+
editor: HTMLDivElement;
|
4
|
+
selectedRange: Range;
|
5
|
+
maxNodeId: number;
|
6
|
+
}): {
|
7
|
+
selection: {
|
8
|
+
pluginNodes: () => any[];
|
9
|
+
};
|
10
|
+
actions: {
|
11
|
+
storeCursorPosition: () => void;
|
12
|
+
};
|
13
|
+
evenhandlers: {
|
14
|
+
backspace: () => void;
|
15
|
+
};
|
16
|
+
formatting: {
|
17
|
+
add: (element: HTMLElement, toggleIfExists?: boolean, matchByDataTypeOnly?: boolean) => void;
|
18
|
+
toggle: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
19
|
+
remove: (element: HTMLElement, matchByDataTypeOnly?: boolean) => void;
|
20
|
+
};
|
21
|
+
element: {
|
22
|
+
add: (element: HTMLElement) => void;
|
23
|
+
create: (tagName: string, dataType: builtIndataTypes | string) => HTMLElement;
|
24
|
+
createText: () => HTMLParagraphElement;
|
25
|
+
createComponent: (componentName: string) => HTMLDivElement;
|
26
|
+
};
|
27
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { EditorContent, EditorNode, NodeIdSelection } from "../../models/EditorModels";
|
2
|
+
export type builtIndataTypes = "text" | "formatting";
|
3
|
+
export declare function useEditorNodeHelper(): {
|
4
|
+
getEditorNodeBySelectors: (nodes: Array<EditorNode>, selectors: {
|
5
|
+
name?: string;
|
6
|
+
id?: string;
|
7
|
+
dataType?: string;
|
8
|
+
}) => EditorNode;
|
9
|
+
getEditorNodesInArrayByElement: (element: HTMLElement, nodes: Array<EditorNode>, matchByDataTypeOnly: boolean, deep: boolean) => Array<EditorNode>;
|
10
|
+
getSelectedEditorNodes: (nodeSelectionIds: NodeIdSelection, content: EditorContent) => Array<EditorNode>;
|
11
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { EditorNode, NodeIdSelection } from "../../models/EditorModels";
|
2
|
+
export type builtIndataTypes = "text" | "formatting";
|
3
|
+
export declare function useHtmlNodeHelper(): {
|
4
|
+
getNodeIdsForSelection: (range: Range) => NodeIdSelection;
|
5
|
+
removeNodes: (nodes2Remove: Array<EditorNode>, editor: HTMLElement) => void;
|
6
|
+
getHtmlElementById: (id: number, element: HTMLElement) => HTMLElement;
|
7
|
+
addElementToSelectionContainers: (nodeSelection: NodeIdSelection, element: HTMLElement, editor: HTMLElement) => void;
|
8
|
+
surroundContents: (element: HTMLElement, range: Range) => void;
|
9
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export type builtIndataTypes = "text" | "formatting";
|
2
|
-
export declare function
|
2
|
+
export declare function useHtmlNodeHelper(): {
|
3
3
|
getPluginNodes: (element: Node) => Node[];
|
4
4
|
removeExistingFormatting: (element: HTMLElement, range: Range, matchByDataTypeOnly: boolean) => boolean;
|
5
5
|
removeNodeAndKeepContent: (node: Node) => void;
|
@@ -1,15 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
export interface EditorContent {
|
2
|
+
version: string;
|
3
|
+
nodes: EditorNode[];
|
4
|
+
}
|
5
|
+
export interface EditorNode {
|
6
|
+
type: string;
|
7
|
+
name: string;
|
8
|
+
id?: number;
|
9
|
+
data?: any;
|
10
|
+
content?: string;
|
11
|
+
children?: EditorNode[];
|
12
|
+
}
|
13
|
+
export interface NodeIdSelection {
|
14
|
+
commonAncestorContainerId: number;
|
15
|
+
containerIds: number[];
|
16
|
+
nodesInSelectionIds: number[];
|
17
|
+
}
|
@@ -1,19 +1,17 @@
|
|
1
1
|
import { MarkdownEditorActionRegistration } from "@omnia/fx-models";
|
2
2
|
import { useMarkdownStore } from "../stores/MarkdownStore";
|
3
|
-
|
4
|
-
|
5
|
-
endMark?: string;
|
6
|
-
content?: string;
|
7
|
-
}
|
8
|
-
export interface MarkdownPlugin {
|
3
|
+
import { EditorNode } from "./EditorModels";
|
4
|
+
export interface EditorPlugin {
|
9
5
|
name: string;
|
10
|
-
type: "inline" | "component";
|
11
|
-
toMarkdown: (el: HTMLElement) => MdNode;
|
12
|
-
toHtml: (el: HTMLDivElement, data: string | object, ctx: MarkdownPluginContext) => HTMLDivElement;
|
6
|
+
type: "inline" | "component" | "action";
|
13
7
|
commands?: object;
|
14
8
|
actions?: Array<MarkdownEditorActionRegistration>;
|
15
9
|
}
|
16
|
-
export interface
|
10
|
+
export interface EditorFormattingPlugin extends EditorPlugin {
|
11
|
+
toJSON: (el: HTMLElement) => EditorNode;
|
12
|
+
toHtml: (node: EditorNode, ctx: EditorPluginContext) => HTMLElement;
|
13
|
+
}
|
14
|
+
export interface EditorPluginContext {
|
17
15
|
componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
|
18
16
|
store: ReturnType<typeof useMarkdownStore>;
|
19
17
|
}
|
@@ -1,6 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { EditorPlugin } from "../models/EditorPlugin";
|
2
|
+
import { EditorContent } from "../models/EditorModels";
|
2
3
|
export declare function useHtmlParser(state: {
|
3
4
|
editor: HTMLDivElement;
|
4
|
-
|
5
|
-
|
5
|
+
plugins: Array<EditorPlugin>;
|
6
|
+
}): {
|
7
|
+
toJSON: () => EditorContent;
|
6
8
|
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { EditorContent } from "../models/EditorModels";
|
2
|
+
import { EditorPlugin, EditorPluginContext } from "../models/EditorPlugin";
|
3
|
+
export declare function useJSONParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
plugins: Array<EditorPlugin>;
|
6
|
+
}, pluginContext: EditorPluginContext): {
|
7
|
+
loadJSONToEditor: (editorContent: EditorContent) => any;
|
8
|
+
};
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts
ADDED
File without changes
|
File without changes
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts
ADDED
File without changes
|
File without changes
|
package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts
ADDED
File without changes
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SetupFactoryContext } from "@omnia/fx";
|
2
|
+
import { EditorFormattingPlugin, EditorPlugin } from "../models/EditorPlugin";
|
3
|
+
interface SetupEditorPluginContext extends SetupFactoryContext {
|
4
|
+
}
|
5
|
+
export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) => EditorPlugin | EditorFormattingPlugin): () => EditorPlugin & {
|
6
|
+
dispose?: () => void;
|
7
|
+
};
|
8
|
+
export {};
|
package/internal-do-not-import-from-here/ux/markdown2/plugins/sourceeditor/SourceEditorButton.d.ts
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => {
|
2
|
+
$: import("vue").ComponentInternalInstance;
|
3
|
+
$data: {};
|
4
|
+
$props: {};
|
5
|
+
$attrs: {
|
6
|
+
[x: string]: unknown;
|
7
|
+
};
|
8
|
+
$refs: {
|
9
|
+
[x: string]: unknown;
|
10
|
+
};
|
11
|
+
$slots: Readonly<{
|
12
|
+
[name: string]: import("vue").Slot<any>;
|
13
|
+
}>;
|
14
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
15
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
16
|
+
$emit: (event: string, ...args: any[]) => void;
|
17
|
+
$el: any;
|
18
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
19
|
+
beforeCreate?: (() => void) | (() => void)[];
|
20
|
+
created?: (() => void) | (() => void)[];
|
21
|
+
beforeMount?: (() => void) | (() => void)[];
|
22
|
+
mounted?: (() => void) | (() => void)[];
|
23
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
24
|
+
updated?: (() => void) | (() => void)[];
|
25
|
+
activated?: (() => void) | (() => void)[];
|
26
|
+
deactivated?: (() => void) | (() => void)[];
|
27
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
28
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
29
|
+
destroyed?: (() => void) | (() => void)[];
|
30
|
+
unmounted?: (() => void) | (() => void)[];
|
31
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
32
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
33
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
34
|
+
};
|
35
|
+
$forceUpdate: () => void;
|
36
|
+
$nextTick: typeof import("vue").nextTick;
|
37
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
38
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
39
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<{}> & {
|
40
|
+
"v-slots"?: {} & Omit<{
|
41
|
+
default?: import("vue").Slot;
|
42
|
+
}, never>;
|
43
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>;
|
44
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>;
|
47
|
+
export default _default;
|