@contena/meteor-component-library 5.6.2 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{channel-c0a7f238.mjs → channel-24cdec8b.mjs} +1 -1
- package/dist/{channel-c7fd2abb.js → channel-41ddc4ca.js} +1 -1
- package/dist/common/MtActionMenuItem.d.ts +1 -1
- package/dist/common/MtBadge.d.ts +1 -1
- package/dist/common/MtBanner.d.ts +1 -1
- package/dist/common/MtBaseField.d.ts +2 -2
- package/dist/common/MtBaseField.js +1 -1
- package/dist/common/MtButton.d.ts +35 -32
- package/dist/common/MtButton.js +6 -3
- package/dist/common/MtCard.js +2 -2
- package/dist/common/MtCheckbox.d.ts +2 -2
- package/dist/common/MtCheckbox.js +1 -1
- package/dist/common/MtColorpicker.d.ts +9 -3
- package/dist/common/MtColorpicker.js +2 -2
- package/dist/common/MtContextButton.js +2 -2
- package/dist/common/MtContextMenuItem.d.ts +2 -2
- package/dist/common/MtContextMenuItem.js +1 -1
- package/dist/common/MtDataTable.d.ts +58 -47
- package/dist/common/MtDataTable.js +3 -3
- package/dist/common/MtDataTableBadgeRenderer.d.ts +3 -3
- package/dist/common/MtDataTableFilter.js +2 -2
- package/dist/common/MtDataTableSettings.d.ts +11 -8
- package/dist/common/MtDataTableSettings.js +2 -2
- package/dist/common/MtDatepicker.d.ts +24 -1
- package/dist/common/MtDatepicker.js +2 -1
- package/dist/common/MtEmailField.d.ts +1 -0
- package/dist/common/MtEmailField.js +5 -3
- package/dist/common/MtEntityDataTable.js +4 -4
- package/dist/common/MtEntitySelect.js +3 -3
- package/dist/common/MtFieldCopyable.js +1 -1
- package/dist/common/MtFieldHint.d.ts +5 -0
- package/dist/common/MtFieldHint.js +19 -13
- package/dist/common/MtFloatingUi.js +1 -1
- package/dist/common/MtGrantPermissionServiceBanner.d.ts +14 -1
- package/dist/common/MtGrantPermissionServiceBanner.js +11 -149
- package/dist/common/MtNumberField.d.ts +26 -3
- package/dist/common/MtNumberField.js +5 -4
- package/dist/common/MtPasswordField.d.ts +3 -1
- package/dist/common/MtPasswordField.js +6 -4
- package/dist/common/MtPopover.d.ts +4 -4
- package/dist/common/MtPopover.js +2 -2
- package/dist/common/MtPopoverItem.d.ts +2 -2
- package/dist/common/MtPopoverItem.js +1 -1
- package/dist/common/MtPopoverItemResult.d.ts +5 -2
- package/dist/common/MtPopoverItemResult.js +1 -1
- package/dist/common/MtSearch.d.ts +2 -0
- package/dist/common/MtSearch.js +12 -7
- package/dist/common/MtSegmentedControl.d.ts +6 -6
- package/dist/common/MtSegmentedControl.js +2 -2
- package/dist/common/MtSelect.d.ts +30 -20
- package/dist/common/MtSelect.js +20 -3
- package/dist/common/MtSelectBase.d.ts +4 -4
- package/dist/common/MtSelectBase.js +2 -2
- package/dist/common/MtSelectResult.d.ts +0 -16
- package/dist/common/MtSelectResult.js +2 -22
- package/dist/common/MtSelectSelectionList.js +4 -0
- package/dist/common/MtSlider.d.ts +36 -7
- package/dist/common/MtSlider.js +3 -1
- package/dist/common/MtSnackbarNotification.js +2 -6
- package/dist/common/MtTabs.d.ts +2 -2
- package/dist/common/MtTabs.js +9 -8
- package/dist/common/MtTextEditor.js +4 -4
- package/dist/common/MtTextEditorToolbar.js +2 -2
- package/dist/common/MtTextEditorToolbarButton.js +1 -1
- package/dist/common/MtTextEditorToolbarButtonColor.js +2 -2
- package/dist/common/MtTextEditorToolbarButtonLink.js +1 -1
- package/dist/common/MtTextEditorToolbarButtonTable.js +10 -10
- package/dist/common/MtTextField.d.ts +28 -3
- package/dist/common/MtTextField.js +12 -2
- package/dist/common/MtTextarea.d.ts +1 -0
- package/dist/common/MtTextarea.js +10 -8
- package/dist/common/MtThemeSelect.js +2 -2
- package/dist/common/MtUnitField.js +3 -3
- package/dist/common/MtUnitSelect.js +4 -4
- package/dist/common/MtUnitSelectResult.js +2 -2
- package/dist/common/MtUrlField.d.ts +2 -0
- package/dist/common/MtUrlField.js +5 -3
- package/dist/common/components/mt-snackbar/composables/use-snackbar.d.ts +1 -1
- package/dist/common/composables/useServicePermission.d.ts +15 -0
- package/dist/common/index.d.ts +2 -1
- package/dist/common/index.js +13 -12
- package/dist/common/mixins/validation.mixin.d.ts +2 -2
- package/dist/esm/MtActionMenuItem.d.ts +1 -1
- package/dist/esm/MtBadge.d.ts +1 -1
- package/dist/esm/MtBanner.d.ts +1 -1
- package/dist/esm/MtBaseField.d.ts +2 -2
- package/dist/esm/MtBaseField.js +1 -1
- package/dist/esm/MtButton.d.ts +35 -32
- package/dist/esm/MtButton.js +6 -3
- package/dist/esm/MtCard.js +2 -2
- package/dist/esm/MtCheckbox.d.ts +2 -2
- package/dist/esm/MtCheckbox.js +1 -1
- package/dist/esm/MtColorpicker.d.ts +9 -3
- package/dist/esm/MtColorpicker.js +2 -2
- package/dist/esm/MtContextButton.js +2 -2
- package/dist/esm/MtContextMenuItem.d.ts +2 -2
- package/dist/esm/MtContextMenuItem.js +1 -1
- package/dist/esm/MtDataTable.d.ts +58 -47
- package/dist/esm/MtDataTable.js +3 -3
- package/dist/esm/MtDataTableBadgeRenderer.d.ts +3 -3
- package/dist/esm/MtDataTableFilter.js +2 -2
- package/dist/esm/MtDataTableSettings.d.ts +11 -8
- package/dist/esm/MtDataTableSettings.js +2 -2
- package/dist/esm/MtDatepicker.d.ts +24 -1
- package/dist/esm/MtDatepicker.js +2 -1
- package/dist/esm/MtEmailField.d.ts +1 -0
- package/dist/esm/MtEmailField.js +5 -3
- package/dist/esm/MtEntityDataTable.js +4 -4
- package/dist/esm/MtEntitySelect.js +3 -3
- package/dist/esm/MtFieldCopyable.js +1 -1
- package/dist/esm/MtFieldHint.d.ts +5 -0
- package/dist/esm/MtFieldHint.js +20 -14
- package/dist/esm/MtFloatingUi.js +1 -1
- package/dist/esm/MtGrantPermissionServiceBanner.d.ts +14 -1
- package/dist/esm/MtGrantPermissionServiceBanner.js +11 -149
- package/dist/esm/MtNumberField.d.ts +26 -3
- package/dist/esm/MtNumberField.js +5 -4
- package/dist/esm/MtPasswordField.d.ts +3 -1
- package/dist/esm/MtPasswordField.js +6 -4
- package/dist/esm/MtPopover.d.ts +4 -4
- package/dist/esm/MtPopover.js +2 -2
- package/dist/esm/MtPopoverItem.d.ts +2 -2
- package/dist/esm/MtPopoverItem.js +1 -1
- package/dist/esm/MtPopoverItemResult.d.ts +5 -2
- package/dist/esm/MtPopoverItemResult.js +1 -1
- package/dist/esm/MtSearch.d.ts +2 -0
- package/dist/esm/MtSearch.js +12 -7
- package/dist/esm/MtSegmentedControl.d.ts +6 -6
- package/dist/esm/MtSegmentedControl.js +2 -2
- package/dist/esm/MtSelect.d.ts +30 -20
- package/dist/esm/MtSelect.js +20 -3
- package/dist/esm/MtSelectBase.d.ts +4 -4
- package/dist/esm/MtSelectBase.js +2 -2
- package/dist/esm/MtSelectResult.d.ts +0 -16
- package/dist/esm/MtSelectResult.js +2 -22
- package/dist/esm/MtSelectSelectionList.js +4 -0
- package/dist/esm/MtSlider.d.ts +36 -7
- package/dist/esm/MtSlider.js +3 -1
- package/dist/esm/MtSnackbarNotification.js +2 -6
- package/dist/esm/MtTabs.d.ts +2 -2
- package/dist/esm/MtTabs.js +10 -9
- package/dist/esm/MtTextEditor.js +4 -4
- package/dist/esm/MtTextEditorToolbar.js +2 -2
- package/dist/esm/MtTextEditorToolbarButton.js +1 -1
- package/dist/esm/MtTextEditorToolbarButtonColor.js +2 -2
- package/dist/esm/MtTextEditorToolbarButtonLink.js +1 -1
- package/dist/esm/MtTextEditorToolbarButtonTable.js +10 -10
- package/dist/esm/MtTextField.d.ts +28 -3
- package/dist/esm/MtTextField.js +12 -2
- package/dist/esm/MtTextarea.d.ts +1 -0
- package/dist/esm/MtTextarea.js +10 -8
- package/dist/esm/MtThemeSelect.js +2 -2
- package/dist/esm/MtUnitField.js +3 -3
- package/dist/esm/MtUnitSelect.js +4 -4
- package/dist/esm/MtUnitSelectResult.js +2 -2
- package/dist/esm/MtUrlField.d.ts +2 -0
- package/dist/esm/MtUrlField.js +5 -3
- package/dist/esm/components/mt-snackbar/composables/use-snackbar.d.ts +1 -1
- package/dist/esm/composables/useServicePermission.d.ts +15 -0
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +62 -61
- package/dist/esm/mixins/validation.mixin.d.ts +2 -2
- package/dist/example-radio-option.css +1 -107
- package/dist/{index-26e65048.mjs → index-1e353711.mjs} +1 -1
- package/dist/{index-2cb63874.js → index-269e5194.js} +3 -3
- package/dist/{index-ddce4e37.mjs → index-b57e37f8.mjs} +3 -3
- package/dist/{index-f8d7f486.js → index-fab01d0b.js} +1 -1
- package/dist/index.css +1 -1012
- package/dist/mt-action-menu-group.css +1 -23
- package/dist/mt-action-menu-item.css +1 -68
- package/dist/mt-action-menu.css +1 -28
- package/dist/mt-avatar.css +1 -66
- package/dist/mt-badge.css +1 -51
- package/dist/mt-banner.css +1 -95
- package/dist/mt-base-field.css +1 -206
- package/dist/mt-button.css +1 -249
- package/dist/mt-card.css +1 -210
- package/dist/mt-chart.css +1 -37
- package/dist/mt-checkbox.css +1 -176
- package/dist/mt-collapsible-content.css +1 -32
- package/dist/mt-colorpicker.css +1 -355
- package/dist/mt-context-button.css +1 -22
- package/dist/mt-data-table-filter.css +1 -71
- package/dist/mt-data-table-number-renderer.css +1 -8
- package/dist/mt-data-table-price-renderer.css +1 -8
- package/dist/mt-data-table-reset-filter-button.css +1 -14
- package/dist/mt-data-table-text-renderer.css +1 -33
- package/dist/mt-data-table.css +1 -653
- package/dist/mt-datepicker.css +1 -293
- package/dist/{mt-datepicker.vue_vue_type_style_index_0_lang-2db831f0.mjs → mt-datepicker.vue_vue_type_style_index_0_lang-5edbea9c.mjs} +21 -14
- package/dist/{mt-datepicker.vue_vue_type_style_index_0_lang-d200a30e.js → mt-datepicker.vue_vue_type_style_index_0_lang-81316ad9.js} +21 -14
- package/dist/mt-email-field.css +1 -97
- package/dist/mt-empty-state.css +1 -37
- package/dist/mt-entity-data-table.css +1 -43
- package/dist/{mt-entity-data-table.vue_vue_type_style_index_0_lang-84494335.js → mt-entity-data-table.vue_vue_type_style_index_0_lang-063ce600.js} +2 -2
- package/dist/{mt-entity-data-table.vue_vue_type_style_index_0_lang-20da6e77.mjs → mt-entity-data-table.vue_vue_type_style_index_0_lang-24a26788.mjs} +2 -2
- package/dist/{mt-entity-select.vue_vue_type_script_setup_true_lang-2cdffea0.js → mt-entity-select.vue_vue_type_script_setup_true_lang-eb9894c1.js} +1 -1
- package/dist/{mt-entity-select.vue_vue_type_script_setup_true_lang-f3c35d00.mjs → mt-entity-select.vue_vue_type_script_setup_true_lang-f94e984f.mjs} +1 -1
- package/dist/mt-field-affix.css +1 -23
- package/dist/mt-field-copyable.css +1 -4
- package/dist/mt-field-error.css +1 -8
- package/dist/mt-field-hint.css +1 -24
- package/dist/mt-field-label.css +1 -31
- package/dist/mt-floating-ui.css +1 -87
- package/dist/{mt-floating-ui.vue_vue_type_style_index_0_lang-90b9d50a.mjs → mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs} +15 -7
- package/dist/{mt-floating-ui.vue_vue_type_style_index_0_lang-2ea8a18a.js → mt-floating-ui.vue_vue_type_style_index_0_lang-f48de489.js} +14 -6
- package/dist/mt-grant-permission-service-banner-62995d3a.mjs +191 -0
- package/dist/mt-grant-permission-service-banner-dc1f0940.js +190 -0
- package/dist/mt-grant-permission-service-banner.css +1 -88
- package/dist/mt-help-text.css +1 -33
- package/dist/mt-highlight-text.css +1 -5
- package/dist/mt-icon.css +1 -3697
- package/dist/mt-inheritance-switch.css +1 -12
- package/dist/mt-inset.css +1 -7
- package/dist/mt-label.css +1 -71
- package/dist/mt-link.css +1 -38
- package/dist/mt-loader.css +1 -76
- package/dist/mt-modal-root.css +1 -20
- package/dist/mt-modal.css +1 -160
- package/dist/mt-number-field.css +1 -71
- package/dist/mt-pagination.css +1 -78
- package/dist/mt-password-field.css +1 -27
- package/dist/mt-popover-deprecated.css +1 -7
- package/dist/mt-popover-item-result.css +1 -135
- package/dist/mt-popover-item.css +1 -175
- package/dist/mt-popover.css +1 -99
- package/dist/mt-progress-bar.css +1 -26
- package/dist/mt-promo-badge.css +1 -4
- package/dist/mt-radio-group-indicator.css +1 -47
- package/dist/mt-radio-group-item.css +1 -25
- package/dist/mt-radio-group-list.css +1 -6
- package/dist/mt-radio-group-root.css +1 -33
- package/dist/mt-search.css +1 -61
- package/dist/mt-segmented-control.css +1 -146
- package/dist/mt-select-base.css +1 -121
- package/dist/mt-select-result-list.css +1 -120
- package/dist/mt-select-result.css +1 -114
- package/dist/mt-select-selection-list.css +1 -127
- package/dist/mt-skeleton-bar.css +1 -33
- package/dist/mt-slider.css +1 -152
- package/dist/mt-snackbar-notification.css +1 -63
- package/dist/mt-snackbar.css +1 -58
- package/dist/mt-status-dot.css +1 -58
- package/dist/mt-switch.css +1 -94
- package/dist/mt-tabs.css +1 -111
- package/dist/mt-text-editor-diff-modal.css +3 -696
- package/dist/mt-text-editor-toolbar-button-color.css +1 -19
- package/dist/mt-text-editor-toolbar-button-link.css +1 -6
- package/dist/mt-text-editor-toolbar-button-table.css +1 -6
- package/dist/mt-text-editor-toolbar-button.css +1 -26
- package/dist/mt-text-editor-toolbar.css +1 -36
- package/dist/mt-text-editor.css +1 -338
- package/dist/mt-text.css +1 -53
- package/dist/mt-textarea.css +1 -62
- package/dist/{mt-theme-select.vue_vue_type_script_setup_true_lang-42a2e3c8.js → mt-theme-select.vue_vue_type_script_setup_true_lang-b8126f05.js} +1 -0
- package/dist/{mt-theme-select.vue_vue_type_script_setup_true_lang-6ecf0bcb.mjs → mt-theme-select.vue_vue_type_script_setup_true_lang-f57bd5cc.mjs} +1 -0
- package/dist/mt-toast-notification.css +1 -161
- package/dist/mt-toast.css +1 -101
- package/dist/mt-tooltip.css +1 -47
- package/dist/mt-unit-field.css +1 -12
- package/dist/mt-unit-select-result.css +1 -34
- package/dist/mt-unit-select.css +1 -44
- package/dist/mt-url-field.css +1 -147
- package/dist/{repository-e7884115.mjs → repository-2316b912.mjs} +1 -1
- package/dist/{repository-9c56cf7b.js → repository-3d192939.js} +1 -1
- package/dist/{tooltip.directive-4ea0fee9.js → tooltip.directive-7b51326d.js} +23 -0
- package/dist/{tooltip.directive-f216b7fb.mjs → tooltip.directive-a5042569.mjs} +23 -0
- package/dist/{useRepository-6804d3b6.js → useRepository-86f5a789.js} +1 -1
- package/dist/{useRepository-28dfccf5.mjs → useRepository-f3e9ffc6.mjs} +1 -1
- package/package.json +5 -9
|
@@ -145,6 +145,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
145
145
|
required: false;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
|
+
autocomplete: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
required: false;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
148
153
|
label: {
|
|
149
154
|
type: StringConstructor;
|
|
150
155
|
required: false;
|
|
@@ -247,6 +252,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
247
252
|
required: false;
|
|
248
253
|
default: string;
|
|
249
254
|
};
|
|
255
|
+
autocomplete: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
required: false;
|
|
258
|
+
default: undefined;
|
|
259
|
+
};
|
|
250
260
|
label: {
|
|
251
261
|
type: StringConstructor;
|
|
252
262
|
required: false;
|
|
@@ -341,9 +351,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
341
351
|
modelValue: string | number;
|
|
342
352
|
placeholder: string;
|
|
343
353
|
helpText: string;
|
|
354
|
+
hint: string | null;
|
|
344
355
|
isInheritanceField: boolean;
|
|
345
356
|
disableInheritanceToggle: boolean;
|
|
346
|
-
|
|
357
|
+
autocomplete: string;
|
|
347
358
|
copyable: boolean;
|
|
348
359
|
copyableTooltip: boolean;
|
|
349
360
|
maxLength: number;
|
|
@@ -436,7 +447,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
436
447
|
hasError(): boolean;
|
|
437
448
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
438
449
|
validation: {
|
|
439
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
450
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
440
451
|
required: false;
|
|
441
452
|
default: null;
|
|
442
453
|
};
|
|
@@ -447,7 +458,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
447
458
|
validateRule(value: unknown, rule: string): boolean;
|
|
448
459
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
449
460
|
validation: {
|
|
450
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
461
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
451
462
|
required: false;
|
|
452
463
|
default: null;
|
|
453
464
|
};
|
|
@@ -649,8 +660,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
649
660
|
"mt-field-hint": {
|
|
650
661
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
651
662
|
hideIcon?: boolean;
|
|
663
|
+
icon?: string;
|
|
652
664
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
653
665
|
hideIcon: boolean;
|
|
666
|
+
icon: string;
|
|
654
667
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
655
668
|
P: {};
|
|
656
669
|
B: {};
|
|
@@ -660,16 +673,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
660
673
|
Defaults: {};
|
|
661
674
|
}, Readonly<{
|
|
662
675
|
hideIcon?: boolean;
|
|
676
|
+
icon?: string;
|
|
663
677
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
664
678
|
hideIcon: boolean;
|
|
679
|
+
icon: string;
|
|
665
680
|
}>;
|
|
666
681
|
__isFragment?: never;
|
|
667
682
|
__isTeleport?: never;
|
|
668
683
|
__isSuspense?: never;
|
|
669
684
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
670
685
|
hideIcon?: boolean;
|
|
686
|
+
icon?: string;
|
|
671
687
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
672
688
|
hideIcon: boolean;
|
|
689
|
+
icon: string;
|
|
673
690
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
674
691
|
$slots: {
|
|
675
692
|
default?(_: {}): any;
|
|
@@ -810,8 +827,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
810
827
|
"mt-field-hint": {
|
|
811
828
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
812
829
|
hideIcon?: boolean;
|
|
830
|
+
icon?: string;
|
|
813
831
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
814
832
|
hideIcon: boolean;
|
|
833
|
+
icon: string;
|
|
815
834
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
816
835
|
P: {};
|
|
817
836
|
B: {};
|
|
@@ -821,16 +840,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
821
840
|
Defaults: {};
|
|
822
841
|
}, Readonly<{
|
|
823
842
|
hideIcon?: boolean;
|
|
843
|
+
icon?: string;
|
|
824
844
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
825
845
|
hideIcon: boolean;
|
|
846
|
+
icon: string;
|
|
826
847
|
}>;
|
|
827
848
|
__isFragment?: never;
|
|
828
849
|
__isTeleport?: never;
|
|
829
850
|
__isSuspense?: never;
|
|
830
851
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
831
852
|
hideIcon?: boolean;
|
|
853
|
+
icon?: string;
|
|
832
854
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
833
855
|
hideIcon: boolean;
|
|
856
|
+
icon: string;
|
|
834
857
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
835
858
|
$slots: {
|
|
836
859
|
default?(_: {}): any;
|
|
@@ -13,7 +13,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
13
13
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
14
14
|
import "../index-431c2592.mjs";
|
|
15
15
|
import "./MtFieldCopyable.js";
|
|
16
|
-
import "../tooltip.directive-
|
|
16
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
17
17
|
import "../id-1e5b8276.mjs";
|
|
18
18
|
import "./MtHelpText.js";
|
|
19
19
|
import "../useFutureFlags-af867fe7.mjs";
|
|
@@ -374,9 +374,9 @@ const _sfc_main = defineComponent({
|
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
});
|
|
377
|
-
const
|
|
377
|
+
const mtNumberField_vue_vue_type_style_index_0_scoped_e0ff2b1d_lang = "";
|
|
378
378
|
const mtNumberField_vue_vue_type_style_index_1_lang = "";
|
|
379
|
-
const _hoisted_1 = ["id", "name", "disabled", "value", "placeholder"];
|
|
379
|
+
const _hoisted_1 = ["id", "name", "autocomplete", "disabled", "value", "placeholder"];
|
|
380
380
|
const _hoisted_2 = ["disabled", "aria-label"];
|
|
381
381
|
const _hoisted_3 = ["disabled", "aria-label"];
|
|
382
382
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -412,6 +412,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
412
412
|
id: _ctx.createInputId(identification),
|
|
413
413
|
type: "text",
|
|
414
414
|
name: identification,
|
|
415
|
+
autocomplete: _ctx.autocomplete,
|
|
415
416
|
disabled: _ctx.disabled || _ctx.isInherited,
|
|
416
417
|
value: _ctx.stringRepresentation,
|
|
417
418
|
placeholder: _ctx.placeholder,
|
|
@@ -485,7 +486,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
485
486
|
_: 3
|
|
486
487
|
}, 8, ["class", "disabled", "required", "is-inherited", "is-inheritance-field", "disable-inheritance-toggle", "copyable", "copyable-tooltip", "copyable-text", "has-focus", "help-text", "name", "size"]);
|
|
487
488
|
}
|
|
488
|
-
const MtNumberField = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
489
|
+
const MtNumberField = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e0ff2b1d"]]);
|
|
489
490
|
export {
|
|
490
491
|
MtNumberField as default
|
|
491
492
|
};
|
|
@@ -9,6 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
hint?: string | null;
|
|
10
10
|
toggable?: boolean;
|
|
11
11
|
name?: string | undefined;
|
|
12
|
+
autocomplete?: string;
|
|
12
13
|
required?: boolean;
|
|
13
14
|
helpText?: string;
|
|
14
15
|
size?: "small" | "default";
|
|
@@ -48,9 +49,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
48
49
|
} | null;
|
|
49
50
|
placeholder: string;
|
|
50
51
|
helpText: string;
|
|
52
|
+
hint: string | null;
|
|
51
53
|
isInheritanceField: boolean;
|
|
52
54
|
disableInheritanceToggle: boolean;
|
|
53
|
-
|
|
55
|
+
autocomplete: string;
|
|
54
56
|
idSuffix: string;
|
|
55
57
|
toggable: boolean;
|
|
56
58
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -13,12 +13,12 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
13
13
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
14
14
|
import "../index-431c2592.mjs";
|
|
15
15
|
import "./MtFieldCopyable.js";
|
|
16
|
-
import "../tooltip.directive-
|
|
16
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
17
17
|
import "../id-1e5b8276.mjs";
|
|
18
18
|
import "./MtHelpText.js";
|
|
19
19
|
import "../useFutureFlags-af867fe7.mjs";
|
|
20
20
|
import "./MtText.js";
|
|
21
|
-
const _hoisted_1 = ["id", "type", "name", "placeholder", "disabled", "value", "aria-label"];
|
|
21
|
+
const _hoisted_1 = ["id", "type", "name", "autocomplete", "placeholder", "disabled", "value", "aria-label"];
|
|
22
22
|
const _hoisted_2 = ["aria-label", "disabled"];
|
|
23
23
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "mt-password-field",
|
|
@@ -30,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
hint: { default: null },
|
|
31
31
|
toggable: { type: Boolean, default: true },
|
|
32
32
|
name: { default: void 0 },
|
|
33
|
+
autocomplete: { default: void 0 },
|
|
33
34
|
required: { type: Boolean, default: false },
|
|
34
35
|
helpText: { default: "" },
|
|
35
36
|
size: { default: "default" },
|
|
@@ -110,6 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
111
|
id: createInputId(identification),
|
|
111
112
|
type: showPassword.value ? "text" : "password",
|
|
112
113
|
name: identification,
|
|
114
|
+
autocomplete: _ctx.autocomplete,
|
|
113
115
|
placeholder: _ctx.placeholder,
|
|
114
116
|
disabled: _ctx.disabled || _ctx.isInherited,
|
|
115
117
|
value: model.value ?? "",
|
|
@@ -163,8 +165,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
163
165
|
};
|
|
164
166
|
}
|
|
165
167
|
});
|
|
166
|
-
const
|
|
167
|
-
const mtPasswordField = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
168
|
+
const mtPasswordField_vue_vue_type_style_index_0_scoped_77fb09c0_lang = "";
|
|
169
|
+
const mtPasswordField = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-77fb09c0"]]);
|
|
168
170
|
export {
|
|
169
171
|
mtPasswordField as default
|
|
170
172
|
};
|
package/dist/esm/MtPopover.d.ts
CHANGED
|
@@ -415,7 +415,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
415
415
|
hasError(): boolean;
|
|
416
416
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
417
417
|
validation: {
|
|
418
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
418
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
419
419
|
required: false;
|
|
420
420
|
default: null;
|
|
421
421
|
};
|
|
@@ -426,7 +426,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
426
426
|
validateRule(value: unknown, rule: string): boolean;
|
|
427
427
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
428
428
|
validation: {
|
|
429
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
429
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
430
430
|
required: false;
|
|
431
431
|
default: null;
|
|
432
432
|
};
|
|
@@ -1252,7 +1252,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1252
1252
|
hasError(): boolean;
|
|
1253
1253
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1254
1254
|
validation: {
|
|
1255
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1255
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1256
1256
|
required: false;
|
|
1257
1257
|
default: null;
|
|
1258
1258
|
};
|
|
@@ -1263,7 +1263,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1263
1263
|
validateRule(value: unknown, rule: string): boolean;
|
|
1264
1264
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1265
1265
|
validation: {
|
|
1266
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1266
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1267
1267
|
required: false;
|
|
1268
1268
|
default: null;
|
|
1269
1269
|
};
|
package/dist/esm/MtPopover.js
CHANGED
|
@@ -6,7 +6,7 @@ import { _ as _sfc_main$2 } from "../mt-icon.vue_vue_type_style_index_0_lang-c90
|
|
|
6
6
|
import mtPopoverItem from "./MtPopoverItem.js";
|
|
7
7
|
import MtButton from "./MtButton.js";
|
|
8
8
|
import MtSmoothReflow from "./MtSmoothReflow.js";
|
|
9
|
-
import { _ as _sfc_main$3 } from "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import { _ as _sfc_main$3 } from "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
10
10
|
import MtText from "./MtText.js";
|
|
11
11
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.mjs";
|
|
12
12
|
import "../mt-base-field-ddfd1f81.mjs";
|
|
@@ -18,7 +18,7 @@ import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
|
18
18
|
import "../index-431c2592.mjs";
|
|
19
19
|
import "vue-i18n";
|
|
20
20
|
import "./MtFieldCopyable.js";
|
|
21
|
-
import "../tooltip.directive-
|
|
21
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
22
22
|
import "../id-1e5b8276.mjs";
|
|
23
23
|
import "./MtHelpText.js";
|
|
24
24
|
import "../useFutureFlags-af867fe7.mjs";
|
|
@@ -561,7 +561,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
561
561
|
hasError(): boolean;
|
|
562
562
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
563
563
|
validation: {
|
|
564
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
564
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
565
565
|
required: false;
|
|
566
566
|
default: null;
|
|
567
567
|
};
|
|
@@ -572,7 +572,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
572
572
|
validateRule(value: unknown, rule: string): boolean;
|
|
573
573
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
574
574
|
validation: {
|
|
575
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
575
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
576
576
|
required: false;
|
|
577
577
|
default: null;
|
|
578
578
|
};
|
|
@@ -14,7 +14,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
14
14
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
15
15
|
import "vue-i18n";
|
|
16
16
|
import "./MtFieldCopyable.js";
|
|
17
|
-
import "../tooltip.directive-
|
|
17
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
18
18
|
import "./MtHelpText.js";
|
|
19
19
|
import "../useFutureFlags-af867fe7.mjs";
|
|
20
20
|
import "./MtFieldError.js";
|
|
@@ -145,6 +145,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
145
145
|
placeholder?: string;
|
|
146
146
|
size?: "small" | "default";
|
|
147
147
|
disabled?: boolean;
|
|
148
|
+
autocomplete?: string;
|
|
148
149
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
149
150
|
"update:modelValue": (value: string) => any;
|
|
150
151
|
change: (value: string) => any;
|
|
@@ -153,11 +154,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
153
154
|
placeholder?: string;
|
|
154
155
|
size?: "small" | "default";
|
|
155
156
|
disabled?: boolean;
|
|
157
|
+
autocomplete?: string;
|
|
156
158
|
}> & Readonly<{
|
|
157
159
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
158
160
|
onChange?: ((value: string) => any) | undefined;
|
|
159
161
|
}>, {
|
|
160
162
|
size: "small" | "default";
|
|
163
|
+
autocomplete: string;
|
|
161
164
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
162
165
|
"mt-popover-item": import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
163
166
|
label: {
|
|
@@ -719,7 +722,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
719
722
|
hasError(): boolean;
|
|
720
723
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
721
724
|
validation: {
|
|
722
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
725
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
723
726
|
required: false;
|
|
724
727
|
default: null;
|
|
725
728
|
};
|
|
@@ -730,7 +733,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
730
733
|
validateRule(value: unknown, rule: string): boolean;
|
|
731
734
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
732
735
|
validation: {
|
|
733
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
736
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
734
737
|
required: false;
|
|
735
738
|
default: null;
|
|
736
739
|
};
|
|
@@ -15,7 +15,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
15
15
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
16
16
|
import "../index-431c2592.mjs";
|
|
17
17
|
import "./MtFieldCopyable.js";
|
|
18
|
-
import "../tooltip.directive-
|
|
18
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
19
19
|
import "../id-1e5b8276.mjs";
|
|
20
20
|
import "./MtHelpText.js";
|
|
21
21
|
import "../useFutureFlags-af867fe7.mjs";
|
package/dist/esm/MtSearch.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ type __VLS_Props = {
|
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
size?: "small" | "default";
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
autocomplete?: string;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
9
|
"update:modelValue": (value: string) => any;
|
|
@@ -12,5 +13,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
12
13
|
onChange?: ((value: string) => any) | undefined;
|
|
13
14
|
}>, {
|
|
14
15
|
size: "small" | "default";
|
|
16
|
+
autocomplete: string;
|
|
15
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
18
|
export default _default;
|
package/dist/esm/MtSearch.js
CHANGED
|
@@ -3,14 +3,15 @@ import { defineComponent, openBlock, createElementBlock, normalizeClass, createE
|
|
|
3
3
|
import { useI18n } from "vue-i18n";
|
|
4
4
|
import { _ as _sfc_main$1 } from "../mt-icon.vue_vue_type_style_index_0_lang-c90dc25b.mjs";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.mjs";
|
|
6
|
-
const _hoisted_1 = ["value", "disabled", "placeholder"];
|
|
6
|
+
const _hoisted_1 = ["value", "disabled", "autocomplete", "placeholder"];
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "mt-search",
|
|
9
9
|
props: {
|
|
10
10
|
modelValue: {},
|
|
11
11
|
placeholder: {},
|
|
12
12
|
size: { default: "default" },
|
|
13
|
-
disabled: { type: Boolean }
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
autocomplete: { default: "off" }
|
|
14
15
|
},
|
|
15
16
|
emits: ["change", "update:modelValue"],
|
|
16
17
|
setup(__props) {
|
|
@@ -30,12 +31,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
31
|
}, [
|
|
31
32
|
createElementVNode("input", {
|
|
32
33
|
value: _ctx.modelValue,
|
|
33
|
-
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value)),
|
|
34
|
-
onChange: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("change", $event.target.value)),
|
|
35
34
|
class: "mt-search__input",
|
|
36
35
|
disabled: _ctx.disabled,
|
|
37
36
|
type: "search",
|
|
38
|
-
|
|
37
|
+
autocomplete: _ctx.autocomplete,
|
|
38
|
+
"data-1p-ignore": "",
|
|
39
|
+
"data-lpignore": "true",
|
|
40
|
+
"data-bwignore": "",
|
|
41
|
+
placeholder: _ctx.placeholder || unref(t)("placeholder"),
|
|
42
|
+
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value)),
|
|
43
|
+
onChange: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("change", $event.target.value))
|
|
39
44
|
}, null, 40, _hoisted_1),
|
|
40
45
|
createVNode(_sfc_main$1, {
|
|
41
46
|
name: "regular-search-s",
|
|
@@ -46,8 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
});
|
|
49
|
-
const
|
|
50
|
-
const MtSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54
|
+
const mtSearch_vue_vue_type_style_index_0_scoped_2812b2f6_lang = "";
|
|
55
|
+
const MtSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2812b2f6"]]);
|
|
51
56
|
export {
|
|
52
57
|
MtSearch as default
|
|
53
58
|
};
|
|
@@ -352,7 +352,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
352
352
|
hasError(): boolean;
|
|
353
353
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
354
354
|
validation: {
|
|
355
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
355
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
356
356
|
required: false;
|
|
357
357
|
default: null;
|
|
358
358
|
};
|
|
@@ -363,7 +363,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
363
363
|
validateRule(value: unknown, rule: string): boolean;
|
|
364
364
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
365
365
|
validation: {
|
|
366
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
366
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
367
367
|
required: false;
|
|
368
368
|
default: null;
|
|
369
369
|
};
|
|
@@ -1000,7 +1000,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1000
1000
|
hasError(): boolean;
|
|
1001
1001
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1002
1002
|
validation: {
|
|
1003
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1003
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1004
1004
|
required: false;
|
|
1005
1005
|
default: null;
|
|
1006
1006
|
};
|
|
@@ -1011,7 +1011,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1011
1011
|
validateRule(value: unknown, rule: string): boolean;
|
|
1012
1012
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1013
1013
|
validation: {
|
|
1014
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1014
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1015
1015
|
required: false;
|
|
1016
1016
|
default: null;
|
|
1017
1017
|
};
|
|
@@ -1837,7 +1837,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1837
1837
|
hasError(): boolean;
|
|
1838
1838
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1839
1839
|
validation: {
|
|
1840
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1840
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1841
1841
|
required: false;
|
|
1842
1842
|
default: null;
|
|
1843
1843
|
};
|
|
@@ -1848,7 +1848,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1848
1848
|
validateRule(value: unknown, rule: string): boolean;
|
|
1849
1849
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1850
1850
|
validation: {
|
|
1851
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1851
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1852
1852
|
required: false;
|
|
1853
1853
|
default: null;
|
|
1854
1854
|
};
|
|
@@ -13,7 +13,7 @@ import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
|
13
13
|
import "../index-431c2592.mjs";
|
|
14
14
|
import "vue-i18n";
|
|
15
15
|
import "./MtFieldCopyable.js";
|
|
16
|
-
import "../tooltip.directive-
|
|
16
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
17
17
|
import "../id-1e5b8276.mjs";
|
|
18
18
|
import "./MtHelpText.js";
|
|
19
19
|
import "../useFutureFlags-af867fe7.mjs";
|
|
@@ -26,7 +26,7 @@ import "./MtButton.js";
|
|
|
26
26
|
import "./MtLoader.js";
|
|
27
27
|
import "./MtSmoothReflow.js";
|
|
28
28
|
import "../_commonjsHelpers-7a77ea84.mjs";
|
|
29
|
-
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
29
|
+
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
30
30
|
const _sfc_main = defineComponent({
|
|
31
31
|
components: {
|
|
32
32
|
"mt-checkbox": MtCheckbox,
|
package/dist/esm/MtSelect.d.ts
CHANGED
|
@@ -154,13 +154,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
154
154
|
default: boolean;
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
157
|
-
* Render the select field in small
|
|
157
|
+
* Render the select field in small
|
|
158
158
|
*/
|
|
159
159
|
small: {
|
|
160
160
|
type: BooleanConstructor;
|
|
161
161
|
required: false;
|
|
162
162
|
default: boolean;
|
|
163
163
|
};
|
|
164
|
+
/**
|
|
165
|
+
* Toggles the search input. When disabled, the input is rendered readonly,
|
|
166
|
+
* which also keeps browsers from treating it as an autofillable field.
|
|
167
|
+
*/
|
|
168
|
+
enableSearch: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
required: false;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
164
173
|
/**
|
|
165
174
|
* Optional caption below the field. The `#hint` slot takes precedence when provided.
|
|
166
175
|
*/
|
|
@@ -364,13 +373,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
364
373
|
default: boolean;
|
|
365
374
|
};
|
|
366
375
|
/**
|
|
367
|
-
* Render the select field in small
|
|
376
|
+
* Render the select field in small
|
|
368
377
|
*/
|
|
369
378
|
small: {
|
|
370
379
|
type: BooleanConstructor;
|
|
371
380
|
required: false;
|
|
372
381
|
default: boolean;
|
|
373
382
|
};
|
|
383
|
+
/**
|
|
384
|
+
* Toggles the search input. When disabled, the input is rendered readonly,
|
|
385
|
+
* which also keeps browsers from treating it as an autofillable field.
|
|
386
|
+
*/
|
|
387
|
+
enableSearch: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
required: false;
|
|
390
|
+
default: boolean;
|
|
391
|
+
};
|
|
374
392
|
/**
|
|
375
393
|
* Optional caption below the field. The `#hint` slot takes precedence when provided.
|
|
376
394
|
*/
|
|
@@ -397,12 +415,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
397
415
|
error: Record<string, any>;
|
|
398
416
|
modelValue: string | number | boolean | object | unknown[] | null | undefined;
|
|
399
417
|
placeholder: string;
|
|
418
|
+
hint: string | null;
|
|
400
419
|
isInheritanceField: boolean;
|
|
401
420
|
disableInheritanceToggle: boolean;
|
|
402
|
-
hint: string | null;
|
|
403
421
|
isLoading: boolean;
|
|
404
422
|
labelProperty: string | string[];
|
|
405
423
|
valueProperty: string;
|
|
424
|
+
enableSearch: boolean;
|
|
406
425
|
alwaysShowPlaceholder: boolean;
|
|
407
426
|
enableMultiSelection: boolean;
|
|
408
427
|
valueLimit: number;
|
|
@@ -413,8 +432,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
413
432
|
"mt-field-hint": {
|
|
414
433
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
415
434
|
hideIcon?: boolean;
|
|
435
|
+
icon?: string;
|
|
416
436
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
417
437
|
hideIcon: boolean;
|
|
438
|
+
icon: string;
|
|
418
439
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
419
440
|
P: {};
|
|
420
441
|
B: {};
|
|
@@ -424,16 +445,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
424
445
|
Defaults: {};
|
|
425
446
|
}, Readonly<{
|
|
426
447
|
hideIcon?: boolean;
|
|
448
|
+
icon?: string;
|
|
427
449
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
428
450
|
hideIcon: boolean;
|
|
451
|
+
icon: string;
|
|
429
452
|
}>;
|
|
430
453
|
__isFragment?: never;
|
|
431
454
|
__isTeleport?: never;
|
|
432
455
|
__isSuspense?: never;
|
|
433
456
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
434
457
|
hideIcon?: boolean;
|
|
458
|
+
icon?: string;
|
|
435
459
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
436
460
|
hideIcon: boolean;
|
|
461
|
+
icon: string;
|
|
437
462
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
438
463
|
$slots: {
|
|
439
464
|
default?(_: {}): any;
|
|
@@ -645,7 +670,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
645
670
|
hasError(): boolean;
|
|
646
671
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
647
672
|
validation: {
|
|
648
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
673
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
649
674
|
required: false;
|
|
650
675
|
default: null;
|
|
651
676
|
};
|
|
@@ -656,7 +681,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
656
681
|
validateRule(value: unknown, rule: string): boolean;
|
|
657
682
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
658
683
|
validation: {
|
|
659
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
684
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
660
685
|
required: false;
|
|
661
686
|
default: null;
|
|
662
687
|
};
|
|
@@ -1451,12 +1476,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1451
1476
|
required: false;
|
|
1452
1477
|
default: boolean;
|
|
1453
1478
|
};
|
|
1454
|
-
descriptionPosition: {
|
|
1455
|
-
type: PropType<"bottom" | "right">;
|
|
1456
|
-
required: false;
|
|
1457
|
-
default: string;
|
|
1458
|
-
validator(value: string): boolean;
|
|
1459
|
-
};
|
|
1460
1479
|
}>, {
|
|
1461
1480
|
addActiveItemListener: ((listener: (index: number) => void) => void) | undefined;
|
|
1462
1481
|
removeActiveItemListener: ((listener: (index: number) => void) => void) | undefined;
|
|
@@ -1469,9 +1488,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1469
1488
|
[className: string]: boolean;
|
|
1470
1489
|
"is--active": boolean;
|
|
1471
1490
|
"is--disabled": boolean;
|
|
1472
|
-
"has--description": boolean;
|
|
1473
1491
|
})[];
|
|
1474
|
-
hasDescriptionSlot(): boolean;
|
|
1475
1492
|
}, {
|
|
1476
1493
|
checkIfSelected(selectedItemIndex: number): void;
|
|
1477
1494
|
checkIfActive(activeItemIndex: number): void;
|
|
@@ -1496,16 +1513,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1496
1513
|
required: false;
|
|
1497
1514
|
default: boolean;
|
|
1498
1515
|
};
|
|
1499
|
-
descriptionPosition: {
|
|
1500
|
-
type: PropType<"bottom" | "right">;
|
|
1501
|
-
required: false;
|
|
1502
|
-
default: string;
|
|
1503
|
-
validator(value: string): boolean;
|
|
1504
|
-
};
|
|
1505
1516
|
}>> & Readonly<{}>, {
|
|
1506
1517
|
disabled: boolean;
|
|
1507
1518
|
selected: boolean;
|
|
1508
|
-
descriptionPosition: "right" | "bottom";
|
|
1509
1519
|
}, {}, {
|
|
1510
1520
|
"mt-icon": import('vue').DefineComponent<{
|
|
1511
1521
|
name: string;
|