@omnia/fx 8.0.255-dev → 8.0.256-dev
Sign up to get free protection for your applications and to get access to all the features.
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/DefineVueTypings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/VueTags.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/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- 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/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/governancedashboard/BarChartIndicator.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +5 -9
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +15 -15
- 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 +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/layoutactionhandler/LayoutAction.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/layoutactionhandler/LayoutActionClickHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/layoutactionhandler/LayoutActionSettings.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/mediagallery/view/MediaDisplayRenderer.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/oxide/checkbox/Checkbox.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableServer.d.ts +26 -26
- package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/splitpane/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/splitpane/docs/SampleComponent.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/splitpane/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.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 +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/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/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/richtexteditor/RichTextEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/timeperiodpicker/TimePeriodPicker.d.ts +1 -1
- 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/ux/vuetify/index.d.ts +0 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +18 -0
- package/package.json +2 -2
@@ -56,10 +56,10 @@ declare const _default: {
|
|
56
56
|
"v-model"?: PersonFilterEngineProperty;
|
57
57
|
modelValue?: PersonFilterEngineProperty;
|
58
58
|
updateData?: () => void;
|
59
|
-
identityType?: PrincipalTypes;
|
60
59
|
propertyDefinitionAsHash?: {
|
61
60
|
[internalName: string]: EnterprisePropertyDefinition;
|
62
61
|
};
|
62
|
+
identityType?: PrincipalTypes;
|
63
63
|
}>, never>;
|
64
64
|
};
|
65
65
|
export default _default;
|
@@ -56,10 +56,10 @@ declare const _default: {
|
|
56
56
|
"v-model"?: PersonFilterEngineProperty;
|
57
57
|
modelValue?: PersonFilterEngineProperty;
|
58
58
|
updateData?: () => void;
|
59
|
-
context?: FilterEngineContext;
|
60
59
|
propertyDefinitionAsHash?: {
|
61
60
|
[internalName: string]: EnterprisePropertyDefinition;
|
62
61
|
};
|
62
|
+
context?: FilterEngineContext;
|
63
63
|
}>, never>;
|
64
64
|
};
|
65
65
|
export default _default;
|
@@ -56,10 +56,10 @@ declare const _default: {
|
|
56
56
|
"v-model"?: TagsFilterEngineProperty;
|
57
57
|
modelValue?: TagsFilterEngineProperty;
|
58
58
|
updateData?: () => void;
|
59
|
-
context?: FilterEngineContext;
|
60
59
|
propertyDefinitionAsHash?: {
|
61
60
|
[internalName: string]: EnterprisePropertyDefinition;
|
62
61
|
};
|
62
|
+
context?: FilterEngineContext;
|
63
63
|
}>, never>;
|
64
64
|
};
|
65
65
|
export default _default;
|
@@ -56,10 +56,10 @@ declare const _default: {
|
|
56
56
|
"v-model"?: TextFilterEngineProperty;
|
57
57
|
modelValue?: TextFilterEngineProperty;
|
58
58
|
updateData?: () => void;
|
59
|
-
context?: FilterEngineContext;
|
60
59
|
propertyDefinitionAsHash?: {
|
61
60
|
[internalName: string]: EnterprisePropertyDefinition;
|
62
61
|
};
|
62
|
+
context?: FilterEngineContext;
|
63
63
|
}>, never>;
|
64
64
|
};
|
65
65
|
export default _default;
|
@@ -198,6 +198,7 @@ declare const _default: {
|
|
198
198
|
description?: string;
|
199
199
|
label?: string;
|
200
200
|
height?: number;
|
201
|
+
unitLabel?: string;
|
201
202
|
clickCallback?: (label?: string) => void;
|
202
203
|
loadData?: (isPrevious: boolean) => Promise<void>;
|
203
204
|
hasData?: (isPrevious: boolean) => boolean;
|
@@ -205,7 +206,6 @@ declare const _default: {
|
|
205
206
|
label: string;
|
206
207
|
value: number;
|
207
208
|
}[];
|
208
|
-
unitLabel?: string;
|
209
209
|
}>, never>;
|
210
210
|
};
|
211
211
|
export default _default;
|
@@ -210,8 +210,8 @@ declare const _default: {
|
|
210
210
|
"v-model"?: IconPickerModel;
|
211
211
|
"onUpdate:modelValue"?: (value: IconPickerModel) => any;
|
212
212
|
modelValue?: IconPickerModel;
|
213
|
-
errorMessages?: string[];
|
214
213
|
hideDetails?: boolean;
|
214
|
+
errorMessages?: string[];
|
215
215
|
disabledCustomImage?: boolean;
|
216
216
|
showPreview?: boolean;
|
217
217
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
@@ -406,14 +406,14 @@ declare const _default: {
|
|
406
406
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
407
407
|
modelValue?: Identity[];
|
408
408
|
providerIds?: guid[];
|
409
|
+
emailEnabled?: BoolFilter;
|
410
|
+
permissionEnabled?: BoolFilter;
|
409
411
|
disabledIdentities?: Identity[];
|
410
412
|
blockedIdentities?: Identity[];
|
411
413
|
hideTab?: Boolean;
|
412
414
|
hideGroupTypeSelection?: Boolean;
|
413
415
|
hideUserTypeSelection?: Boolean;
|
414
416
|
hideDynamicGroupSelection?: Boolean;
|
415
|
-
emailEnabled?: BoolFilter;
|
416
|
-
permissionEnabled?: BoolFilter;
|
417
417
|
enableSpecialUser?: ISpecialUserConfiguration;
|
418
418
|
attachToParent?: boolean;
|
419
419
|
showSelectedIdentities?: Boolean;
|
@@ -384,10 +384,12 @@ declare const _default: {
|
|
384
384
|
identityStore?: IIdentityPickerStore;
|
385
385
|
disabled?: boolean;
|
386
386
|
ariaInvalid?: boolean;
|
387
|
+
ariaDescribedby?: string;
|
387
388
|
singleLine?: boolean;
|
388
389
|
providerIds?: guid[];
|
390
|
+
emailEnabled?: BoolFilter;
|
391
|
+
permissionEnabled?: BoolFilter;
|
389
392
|
keepSelectionMenu?: boolean;
|
390
|
-
ariaDescribedby?: string;
|
391
393
|
disabledIdentities?: Identity[];
|
392
394
|
blockedIdentities?: Identity[];
|
393
395
|
onMenuToggle?: (value: boolean) => void;
|
@@ -395,8 +397,6 @@ declare const _default: {
|
|
395
397
|
hideGroupTypeSelection?: boolean;
|
396
398
|
hideUserTypeSelection?: boolean;
|
397
399
|
hideDynamicGroupSelection?: boolean;
|
398
|
-
emailEnabled?: BoolFilter;
|
399
|
-
permissionEnabled?: BoolFilter;
|
400
400
|
attachToParent?: boolean;
|
401
401
|
}>, "onSelect" | "onDoc$"> & {
|
402
402
|
onSelect?: (value: Identity) => 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 center" | "top start" | "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 center" | "top start" | "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 center" | "top start" | "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 center" | "top start" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom">;
|
639
639
|
required: false;
|
640
640
|
};
|
641
641
|
}>> & {
|
@@ -718,9 +718,11 @@ 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";
|
722
721
|
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
|
+
emailEnabled?: BoolFilter;
|
725
|
+
permissionEnabled?: BoolFilter;
|
724
726
|
keepSelectionMenu?: boolean;
|
725
727
|
disabledIdentities?: Identity[];
|
726
728
|
blockedIdentities?: Identity[];
|
@@ -729,8 +731,6 @@ declare const _default: {
|
|
729
731
|
hideGroupTypeSelection?: boolean;
|
730
732
|
hideUserTypeSelection?: boolean;
|
731
733
|
hideDynamicGroupSelection?: boolean;
|
732
|
-
emailEnabled?: BoolFilter;
|
733
|
-
permissionEnabled?: BoolFilter;
|
734
734
|
enableSpecialUser?: ISpecialUserConfiguration;
|
735
735
|
attachToParent?: boolean;
|
736
736
|
"onUpdate:showMenu"?: (value: boolean) => any;
|
@@ -523,10 +523,12 @@ declare const _default: {
|
|
523
523
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
524
524
|
modelValue?: Identity[];
|
525
525
|
ariaInvalid?: boolean;
|
526
|
+
ariaDescribedby?: string;
|
526
527
|
singleLine?: boolean;
|
527
528
|
providerIds?: guid[];
|
529
|
+
emailEnabled?: BoolFilter;
|
530
|
+
permissionEnabled?: BoolFilter;
|
528
531
|
keepSelectionMenu?: boolean;
|
529
|
-
ariaDescribedby?: string;
|
530
532
|
showCurrentUserOption?: boolean;
|
531
533
|
autoOpenSelection?: boolean;
|
532
534
|
disabledIdentities?: Identity[];
|
@@ -536,8 +538,6 @@ declare const _default: {
|
|
536
538
|
hideGroupTypeSelection?: boolean;
|
537
539
|
hideUserTypeSelection?: boolean;
|
538
540
|
hideDynamicGroupSelection?: boolean;
|
539
|
-
emailEnabled?: BoolFilter;
|
540
|
-
permissionEnabled?: BoolFilter;
|
541
541
|
enableSpecialUser?: ISpecialUserConfiguration;
|
542
542
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
543
543
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
@@ -500,10 +500,12 @@ declare const _default: {
|
|
500
500
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
501
501
|
modelValue?: Identity[];
|
502
502
|
ariaInvalid?: boolean;
|
503
|
+
ariaDescribedby?: string;
|
503
504
|
singleLine?: boolean;
|
504
505
|
providerIds?: guid[];
|
506
|
+
emailEnabled?: BoolFilter;
|
507
|
+
permissionEnabled?: BoolFilter;
|
505
508
|
keepSelectionMenu?: boolean;
|
506
|
-
ariaDescribedby?: string;
|
507
509
|
showCurrentUserOption?: boolean;
|
508
510
|
autoOpenSelection?: boolean;
|
509
511
|
disabledIdentities?: Identity[];
|
@@ -513,8 +515,6 @@ declare const _default: {
|
|
513
515
|
hideGroupTypeSelection?: boolean;
|
514
516
|
hideUserTypeSelection?: boolean;
|
515
517
|
hideDynamicGroupSelection?: boolean;
|
516
|
-
emailEnabled?: BoolFilter;
|
517
|
-
permissionEnabled?: BoolFilter;
|
518
518
|
showSelectedIdentities?: boolean;
|
519
519
|
}>, "onUpdate:modelValue" | "onDoc$"> & {
|
520
520
|
"onUpdate:modelValue"?: (value: Identity[]) => any;
|
@@ -2,26 +2,22 @@ import { guid, JourneyBladeRoute } from "@omnia/fx-models";
|
|
2
2
|
import { JourneyBladeProps } from "./JourneyBlade";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { ConstructComponentProps } from "../InternalDefineComponent";
|
5
|
-
import { type OListProps } from "../oxide/list/List";
|
6
|
-
import { DataTablePropsBase } from "../oxide/datatable/DataTable";
|
7
5
|
import { type JourneyMenuProps } from "./JourneyMenu";
|
8
6
|
type BladeElement = (props: ConstructComponentProps<Omit<JourneyBladeProps, "id" | "getApi">>) => any;
|
9
7
|
type BladeMenuElement = (props: ConstructComponentProps<Omit<JourneyMenuProps, "id" | "getApi">>) => any;
|
10
|
-
type DatatTableComponentTypings = <T1>(props: ConstructComponentProps<Omit<DataTablePropsBase<T1>, "draggable">>) => any;
|
11
|
-
type ListComponentTypings = <T1>(props: ConstructComponentProps<OListProps<T1>>) => any;
|
12
8
|
export declare function defineBlade<TRoute extends JourneyBladeRoute = {}>(bladeId: guid, renderer?: (blade: BladeElement) => VNodeChild): {
|
13
9
|
readonly Blade: BladeElement;
|
14
10
|
readonly Menu: BladeMenuElement;
|
15
|
-
readonly ManageList:
|
16
|
-
readonly ManageDataTable:
|
11
|
+
readonly ManageList: <T extends unknown>(props: ConstructComponentProps<import("../oxide/list/List").OListProps<T>>) => any;
|
12
|
+
readonly ManageDataTable: <TItem extends unknown, TVariant extends "default" | "client-pagination-scroll" | "client-pagination-page" | "server-pagination-scroll" | "server-pagination-page" = "default">(props: ConstructComponentProps<import("../oxide/datatable/DataTable").DataTableProps<TItem, TVariant>>) => any;
|
17
13
|
id: guid;
|
18
14
|
readonly route: TRoute;
|
19
15
|
moveNext(): void;
|
20
16
|
movePrev(): void;
|
21
17
|
travelTo(toBladeId: guid): void;
|
22
|
-
defineValueToSave<
|
23
|
-
value:
|
24
|
-
setValue: (value:
|
18
|
+
defineValueToSave<T_1>(value?: T_1): {
|
19
|
+
value: T_1;
|
20
|
+
setValue: (value: T_1) => void;
|
25
21
|
};
|
26
22
|
};
|
27
23
|
export {};
|
@@ -11,6 +11,6 @@ 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
|
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 | Ref<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>) => any;
|
16
16
|
export default _default;
|
@@ -103,16 +103,16 @@ export declare const useJourneyStore: () => {
|
|
103
103
|
subscribe(fn: (blade: {
|
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
|
-
readonly ManageList: <
|
107
|
-
readonly ManageDataTable: <
|
106
|
+
readonly ManageList: <T_1 extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T_1>>) => any;
|
107
|
+
readonly ManageDataTable: <TItem extends unknown, TVariant extends "default" | "client-pagination-scroll" | "client-pagination-page" | "server-pagination-scroll" | "server-pagination-page" = "default">(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/datatable/DataTable").DataTableProps<TItem, TVariant>>) => any;
|
108
108
|
id: guid;
|
109
109
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
110
110
|
moveNext(): void;
|
111
111
|
movePrev(): void;
|
112
112
|
travelTo(toBladeId: guid): void;
|
113
|
-
defineValueToSave<
|
114
|
-
value:
|
115
|
-
setValue: (value:
|
113
|
+
defineValueToSave<T_2>(value?: T_2): {
|
114
|
+
value: T_2;
|
115
|
+
setValue: (value: T_2) => void;
|
116
116
|
};
|
117
117
|
}) => void): IMessageBusSubscriptionHandler;
|
118
118
|
};
|
@@ -146,16 +146,16 @@ export declare const useJourneyStore: () => {
|
|
146
146
|
subscribe(fn: (result: void, blade: {
|
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
|
-
readonly ManageList: <
|
150
|
-
readonly ManageDataTable: <
|
149
|
+
readonly ManageList: <T_1 extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T_1>>) => any;
|
150
|
+
readonly ManageDataTable: <TItem extends unknown, TVariant extends "default" | "client-pagination-scroll" | "client-pagination-page" | "server-pagination-scroll" | "server-pagination-page" = "default">(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/datatable/DataTable").DataTableProps<TItem, TVariant>>) => any;
|
151
151
|
id: guid;
|
152
152
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
153
153
|
moveNext(): void;
|
154
154
|
movePrev(): void;
|
155
155
|
travelTo(toBladeId: guid): void;
|
156
|
-
defineValueToSave<
|
157
|
-
value:
|
158
|
-
setValue: (value:
|
156
|
+
defineValueToSave<T_2>(value?: T_2): {
|
157
|
+
value: T_2;
|
158
|
+
setValue: (value: T_2) => void;
|
159
159
|
};
|
160
160
|
}) => void): IMessageBusSubscriptionHandler;
|
161
161
|
};
|
@@ -189,16 +189,16 @@ export declare const useJourneyStore: () => {
|
|
189
189
|
subscribe(fn: (failureReason: any, blade: {
|
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
|
-
readonly ManageList: <
|
193
|
-
readonly ManageDataTable: <
|
192
|
+
readonly ManageList: <T_1 extends unknown>(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/list/List").OListProps<T_1>>) => any;
|
193
|
+
readonly ManageDataTable: <TItem extends unknown, TVariant extends "default" | "client-pagination-scroll" | "client-pagination-page" | "server-pagination-scroll" | "server-pagination-page" = "default">(props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/datatable/DataTable").DataTableProps<TItem, TVariant>>) => any;
|
194
194
|
id: guid;
|
195
195
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
196
196
|
moveNext(): void;
|
197
197
|
movePrev(): void;
|
198
198
|
travelTo(toBladeId: guid): void;
|
199
|
-
defineValueToSave<
|
200
|
-
value:
|
201
|
-
setValue: (value:
|
199
|
+
defineValueToSave<T_2>(value?: T_2): {
|
200
|
+
value: T_2;
|
201
|
+
setValue: (value: T_2) => void;
|
202
202
|
};
|
203
203
|
}) => void): IMessageBusSubscriptionHandler;
|
204
204
|
};
|
@@ -502,8 +502,8 @@ declare const _default: {
|
|
502
502
|
clearable?: boolean;
|
503
503
|
hideDisplayFlag?: boolean;
|
504
504
|
hideDisplayName?: boolean;
|
505
|
-
enableContextSettings?: boolean;
|
506
505
|
loadLanguage?: () => Promise<Array<Language>>;
|
506
|
+
enableContextSettings?: boolean;
|
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,8 +123,8 @@ 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
|
-
multilingualtitle?: string | MultilingualString;
|
127
126
|
settingsKey?: any;
|
127
|
+
multilingualtitle?: string | MultilingualString;
|
128
128
|
alternativeContent?: JSX.Element;
|
129
129
|
}>, never>;
|
130
130
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { ActionHandler } from "@omnia/fx-models";
|
2
|
+
import { DefineEmit, DefineProp } from "../../DefineVueTypings";
|
3
|
+
/**type for IActionHandlerSettingsComponent */
|
4
|
+
type IActionHandlerSettings = DefineProp<"actionHandler", ActionHandler, true> & DefineEmit<"updateActionHandler", () => void>;
|
5
|
+
declare const _default: (props: import("../..").ConstructComponentProps<IActionHandlerSettings>) => any;
|
6
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutBlockRendererHelper.d.ts
CHANGED
@@ -151,8 +151,8 @@ 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
156
|
isEditMode?: boolean;
|
157
157
|
onBlockInstanceCreated?: (blockInstance: IBlockInstance) => void;
|
158
158
|
blockRenderer?: () => JSX.Element;
|
@@ -3,6 +3,9 @@ import { LayoutCanvasStore } from "../";
|
|
3
3
|
import "./LayoutRendererCanvas.css";
|
4
4
|
declare const _default: {
|
5
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
6
|
+
height: {
|
7
|
+
type: import("vue").PropType<string>;
|
8
|
+
};
|
6
9
|
disableScrollCompensation: {
|
7
10
|
type: import("vue").PropType<boolean>;
|
8
11
|
};
|
@@ -16,6 +19,9 @@ declare const _default: {
|
|
16
19
|
type: import("vue").PropType<boolean>;
|
17
20
|
};
|
18
21
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
22
|
+
height: {
|
23
|
+
type: import("vue").PropType<string>;
|
24
|
+
};
|
19
25
|
disableScrollCompensation: {
|
20
26
|
type: import("vue").PropType<boolean>;
|
21
27
|
};
|
@@ -36,6 +42,9 @@ declare const _default: {
|
|
36
42
|
M: {};
|
37
43
|
Defaults: {};
|
38
44
|
}, Readonly<import("vue").ExtractPropTypes<{
|
45
|
+
height: {
|
46
|
+
type: import("vue").PropType<string>;
|
47
|
+
};
|
39
48
|
disableScrollCompensation: {
|
40
49
|
type: import("vue").PropType<boolean>;
|
41
50
|
};
|
@@ -53,6 +62,9 @@ declare const _default: {
|
|
53
62
|
__isTeleport?: never;
|
54
63
|
__isSuspense?: never;
|
55
64
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
65
|
+
height: {
|
66
|
+
type: import("vue").PropType<string>;
|
67
|
+
};
|
56
68
|
disableScrollCompensation: {
|
57
69
|
type: import("vue").PropType<boolean>;
|
58
70
|
};
|
@@ -68,6 +80,7 @@ declare const _default: {
|
|
68
80
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
69
81
|
propsDefinition: Omit<Readonly<{} & {
|
70
82
|
provider?: string;
|
83
|
+
height?: string;
|
71
84
|
getApi?: (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void;
|
72
85
|
designRender?: boolean;
|
73
86
|
disableScrollCompensation?: boolean;
|
@@ -50,8 +50,8 @@ declare const _default: {
|
|
50
50
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
51
51
|
propsDefinition: Omit<Readonly<{} & {
|
52
52
|
media?: MediaPickerMedia | MediaPickerMedia[];
|
53
|
-
imageRatioId?: number;
|
54
53
|
showCaption?: boolean;
|
54
|
+
imageRatioId?: number;
|
55
55
|
thumbnailOnly?: boolean;
|
56
56
|
mediaStyle?: string | object | object[];
|
57
57
|
mediaClass?: string;
|
@@ -199,14 +199,14 @@ declare const _default: {
|
|
199
199
|
};
|
200
200
|
contain?: boolean;
|
201
201
|
contentClass?: string;
|
202
|
-
inlineMediaNodeDisplayData?: string;
|
203
202
|
imagedata?: string;
|
204
203
|
imageStyle?: string | object | object[];
|
204
|
+
inlineMediaNodeDisplayData?: string;
|
205
|
+
showCaption?: boolean;
|
205
206
|
imageRatioId?: number;
|
206
207
|
scalingId?: number;
|
207
208
|
displayVSlot?: boolean;
|
208
209
|
containerClass?: string;
|
209
|
-
showCaption?: boolean;
|
210
210
|
imgClass?: string;
|
211
211
|
}>, never>;
|
212
212
|
};
|
@@ -265,9 +265,9 @@ declare const _default: {
|
|
265
265
|
} & {
|
266
266
|
label?: () => VNodeChild;
|
267
267
|
};
|
268
|
-
persistentHint?: boolean;
|
269
|
-
hint?: string;
|
270
268
|
rules?: ValidationRule[];
|
269
|
+
hint?: string;
|
270
|
+
persistentHint?: boolean;
|
271
271
|
}>, "onUpdate:modelValue"> & {
|
272
272
|
"onUpdate:modelValue"?: (value: any) => any;
|
273
273
|
};
|
@@ -12,7 +12,7 @@ export type DataTableOptions = {
|
|
12
12
|
itemsPerPage: number;
|
13
13
|
sortBy: SortItem[];
|
14
14
|
};
|
15
|
-
export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, false, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, false, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
15
|
+
export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, false, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, false, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
16
16
|
item: T;
|
17
17
|
}) => void>;
|
18
18
|
type DefaultProps = {};
|
@@ -20,10 +20,9 @@ type VariantType<TVariant> = DefineProp<"variant", TVariant, false, null, "Appli
|
|
20
20
|
type ItemsPerPageProp = DefineProp<"itemsPerPage", number, true, -1, "Changes how many items per page should be visible. If set a paging footer is displayed.">;
|
21
21
|
type ShowLoadMoreProp = DefineProp<"showLoadMore", boolean, false, false, "Shows the button to fetch more data.">;
|
22
22
|
type PageProp = DefineProp<"page", number, false, 1, "The current page.">;
|
23
|
-
type SearchByProp<TItem> = DefineProp<"searchBy", ItemValueType<TItem> | ItemValueType<TItem>[] | ((keyword: string, item: TItem) => boolean), false, null, "Property on supplied items that contains its value to search.">;
|
24
23
|
type ItemHeightProp = DefineProp<"itemHeight", string | number, false, null, "Height in pixels of each item to display.">;
|
25
|
-
type ClientPaginationPageProps<TItem> = ItemsPerPageProp & PageProp
|
26
|
-
type ClientPaginationScrollProps<TItem> = ItemHeightProp
|
24
|
+
type ClientPaginationPageProps<TItem> = ItemsPerPageProp & PageProp;
|
25
|
+
type ClientPaginationScrollProps<TItem> = ItemHeightProp;
|
27
26
|
type ServerPaginationPageProps = ItemsPerPageProp & PageProp & DefineProp<"itemsLength", number, true, null, "Number of all items.">;
|
28
27
|
type ServerPaginationScrollProps = ShowLoadMoreProp & DefineEmit<"scroll:bottom", () => void>;
|
29
28
|
type CellElement = (props: ConstructComponentProps<Pick<TdHTMLAttributes, "colspan" | "rowspan" | "headers">>) => any;
|