@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
package/dist/esm/MtSelect.js
CHANGED
|
@@ -18,7 +18,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
18
18
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
19
19
|
import "../index-431c2592.mjs";
|
|
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";
|
|
@@ -214,13 +214,22 @@ const _sfc_main = defineComponent({
|
|
|
214
214
|
default: false
|
|
215
215
|
},
|
|
216
216
|
/**
|
|
217
|
-
* Render the select field in small
|
|
217
|
+
* Render the select field in small
|
|
218
218
|
*/
|
|
219
219
|
small: {
|
|
220
220
|
type: Boolean,
|
|
221
221
|
required: false,
|
|
222
222
|
default: false
|
|
223
223
|
},
|
|
224
|
+
/**
|
|
225
|
+
* Toggles the search input. When disabled, the input is rendered readonly,
|
|
226
|
+
* which also keeps browsers from treating it as an autofillable field.
|
|
227
|
+
*/
|
|
228
|
+
enableSearch: {
|
|
229
|
+
type: Boolean,
|
|
230
|
+
required: false,
|
|
231
|
+
default: true
|
|
232
|
+
},
|
|
224
233
|
/**
|
|
225
234
|
* Optional caption below the field. The `#hint` slot takes precedence when provided.
|
|
226
235
|
*/
|
|
@@ -497,7 +506,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
497
506
|
selections: _ctx.visibleValues,
|
|
498
507
|
"invisible-count": _ctx.invisibleValueCount,
|
|
499
508
|
"always-show-placeholder": _ctx.alwaysShowPlaceholder
|
|
500
|
-
}, {
|
|
509
|
+
}, {
|
|
510
|
+
size,
|
|
511
|
+
valueProperty: _ctx.valueProperty,
|
|
512
|
+
labelProperty: _ctx.labelProperty,
|
|
513
|
+
placeholder: _ctx.placeholder,
|
|
514
|
+
searchTerm: _ctx.searchTerm,
|
|
515
|
+
disabled: _ctx.disabled,
|
|
516
|
+
enableSearch: _ctx.enableSearch
|
|
517
|
+
}, {
|
|
501
518
|
size: _ctx.small ? "small" : "default",
|
|
502
519
|
onTotalCountClick: _ctx.expandValueLimit,
|
|
503
520
|
onItemRemove: _ctx.remove,
|
|
@@ -65,7 +65,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
65
65
|
default: boolean;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
|
-
* Render the select field in small
|
|
68
|
+
* Render the select field in small
|
|
69
69
|
*/
|
|
70
70
|
small: {
|
|
71
71
|
type: BooleanConstructor;
|
|
@@ -157,7 +157,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
157
157
|
default: boolean;
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
|
-
* Render the select field in small
|
|
160
|
+
* Render the select field in small
|
|
161
161
|
*/
|
|
162
162
|
small: {
|
|
163
163
|
type: BooleanConstructor;
|
|
@@ -262,7 +262,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
262
262
|
hasError(): boolean;
|
|
263
263
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
264
264
|
validation: {
|
|
265
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
265
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
266
266
|
required: false;
|
|
267
267
|
default: null;
|
|
268
268
|
};
|
|
@@ -273,7 +273,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
273
273
|
validateRule(value: unknown, rule: string): boolean;
|
|
274
274
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
275
275
|
validation: {
|
|
276
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
276
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
277
277
|
required: false;
|
|
278
278
|
default: null;
|
|
279
279
|
};
|
package/dist/esm/MtSelectBase.js
CHANGED
|
@@ -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";
|
|
@@ -93,7 +93,7 @@ const _sfc_main = defineComponent({
|
|
|
93
93
|
default: false
|
|
94
94
|
},
|
|
95
95
|
/**
|
|
96
|
-
* Render the select field in small
|
|
96
|
+
* Render the select field in small
|
|
97
97
|
*/
|
|
98
98
|
small: {
|
|
99
99
|
type: Boolean,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
2
|
index: {
|
|
4
3
|
type: NumberConstructor;
|
|
@@ -18,12 +17,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
18
17
|
required: false;
|
|
19
18
|
default: boolean;
|
|
20
19
|
};
|
|
21
|
-
descriptionPosition: {
|
|
22
|
-
type: PropType<"bottom" | "right">;
|
|
23
|
-
required: false;
|
|
24
|
-
default: string;
|
|
25
|
-
validator(value: string): boolean;
|
|
26
|
-
};
|
|
27
20
|
}>, {
|
|
28
21
|
addActiveItemListener: ((listener: (index: number) => void) => void) | undefined;
|
|
29
22
|
removeActiveItemListener: ((listener: (index: number) => void) => void) | undefined;
|
|
@@ -36,9 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
36
29
|
[className: string]: boolean;
|
|
37
30
|
"is--active": boolean;
|
|
38
31
|
"is--disabled": boolean;
|
|
39
|
-
"has--description": boolean;
|
|
40
32
|
})[];
|
|
41
|
-
hasDescriptionSlot(): boolean;
|
|
42
33
|
}, {
|
|
43
34
|
checkIfSelected(selectedItemIndex: number): void;
|
|
44
35
|
checkIfActive(activeItemIndex: number): void;
|
|
@@ -63,16 +54,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
54
|
required: false;
|
|
64
55
|
default: boolean;
|
|
65
56
|
};
|
|
66
|
-
descriptionPosition: {
|
|
67
|
-
type: PropType<"bottom" | "right">;
|
|
68
|
-
required: false;
|
|
69
|
-
default: string;
|
|
70
|
-
validator(value: string): boolean;
|
|
71
|
-
};
|
|
72
57
|
}>> & Readonly<{}>, {
|
|
73
58
|
disabled: boolean;
|
|
74
59
|
selected: boolean;
|
|
75
|
-
descriptionPosition: "right" | "bottom";
|
|
76
60
|
}, {}, {
|
|
77
61
|
"mt-icon": import('vue').DefineComponent<{
|
|
78
62
|
name: string;
|
|
@@ -26,14 +26,6 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
type: Boolean,
|
|
27
27
|
required: false,
|
|
28
28
|
default: false
|
|
29
|
-
},
|
|
30
|
-
descriptionPosition: {
|
|
31
|
-
type: String,
|
|
32
|
-
required: false,
|
|
33
|
-
default: "right",
|
|
34
|
-
validator(value) {
|
|
35
|
-
return ["bottom", "right"].includes(value);
|
|
36
|
-
}
|
|
37
29
|
}
|
|
38
30
|
},
|
|
39
31
|
data() {
|
|
@@ -46,15 +38,10 @@ const _sfc_main = defineComponent({
|
|
|
46
38
|
return [
|
|
47
39
|
{
|
|
48
40
|
"is--active": this.active,
|
|
49
|
-
"is--disabled": this.disabled
|
|
50
|
-
"has--description": this.hasDescriptionSlot,
|
|
51
|
-
[`is--description-${this.descriptionPosition}`]: this.hasDescriptionSlot
|
|
41
|
+
"is--disabled": this.disabled
|
|
52
42
|
},
|
|
53
43
|
`mt-select-option--${this.index}`
|
|
54
44
|
];
|
|
55
|
-
},
|
|
56
|
-
hasDescriptionSlot() {
|
|
57
|
-
return !!this.$slots.description;
|
|
58
45
|
}
|
|
59
46
|
},
|
|
60
47
|
setup() {
|
|
@@ -113,10 +100,6 @@ const _hoisted_2 = {
|
|
|
113
100
|
class: "mt-select-result__result-item-preview"
|
|
114
101
|
};
|
|
115
102
|
const _hoisted_3 = { class: "mt-select-result__result-item-text" };
|
|
116
|
-
const _hoisted_4 = {
|
|
117
|
-
key: 1,
|
|
118
|
-
class: "mt-select-result__result-item-description"
|
|
119
|
-
};
|
|
120
103
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
121
104
|
const _component_mt_icon = resolveComponent("mt-icon");
|
|
122
105
|
return openBlock(), createElementBlock("li", {
|
|
@@ -140,10 +123,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
123
|
})) : createCommentVNode("", true)
|
|
141
124
|
]),
|
|
142
125
|
_: 1
|
|
143
|
-
})
|
|
144
|
-
_ctx.hasDescriptionSlot ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
145
|
-
renderSlot(_ctx.$slots, "description")
|
|
146
|
-
])) : createCommentVNode("", true)
|
|
126
|
+
})
|
|
147
127
|
], 42, _hoisted_1);
|
|
148
128
|
}
|
|
149
129
|
const MtSelectResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -273,6 +273,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
273
273
|
ref: "MtSelectInput",
|
|
274
274
|
class: "mt-select-selection-list__input",
|
|
275
275
|
type: "text",
|
|
276
|
+
autocomplete: "off",
|
|
277
|
+
"data-1p-ignore": "",
|
|
278
|
+
"data-lpignore": "true",
|
|
279
|
+
"data-bwignore": "",
|
|
276
280
|
disabled: _ctx.disabled,
|
|
277
281
|
readonly: !_ctx.enableSearch,
|
|
278
282
|
placeholder: _ctx.showPlaceholder,
|
package/dist/esm/MtSlider.d.ts
CHANGED
|
@@ -188,7 +188,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
188
188
|
hasError(): boolean;
|
|
189
189
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
190
190
|
validation: {
|
|
191
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
191
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
192
192
|
required: false;
|
|
193
193
|
default: null;
|
|
194
194
|
};
|
|
@@ -199,7 +199,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
199
199
|
validateRule(value: unknown, rule: string): boolean;
|
|
200
200
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
201
201
|
validation: {
|
|
202
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
202
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
203
203
|
required: false;
|
|
204
204
|
default: null;
|
|
205
205
|
};
|
|
@@ -593,6 +593,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
593
593
|
required: false;
|
|
594
594
|
default: string;
|
|
595
595
|
};
|
|
596
|
+
autocomplete: {
|
|
597
|
+
type: StringConstructor;
|
|
598
|
+
required: false;
|
|
599
|
+
default: undefined;
|
|
600
|
+
};
|
|
596
601
|
label: {
|
|
597
602
|
type: StringConstructor;
|
|
598
603
|
required: false;
|
|
@@ -695,6 +700,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
695
700
|
required: false;
|
|
696
701
|
default: string;
|
|
697
702
|
};
|
|
703
|
+
autocomplete: {
|
|
704
|
+
type: StringConstructor;
|
|
705
|
+
required: false;
|
|
706
|
+
default: undefined;
|
|
707
|
+
};
|
|
698
708
|
label: {
|
|
699
709
|
type: StringConstructor;
|
|
700
710
|
required: false;
|
|
@@ -789,9 +799,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
789
799
|
modelValue: string | number;
|
|
790
800
|
placeholder: string;
|
|
791
801
|
helpText: string;
|
|
802
|
+
hint: string | null;
|
|
792
803
|
isInheritanceField: boolean;
|
|
793
804
|
disableInheritanceToggle: boolean;
|
|
794
|
-
|
|
805
|
+
autocomplete: string;
|
|
795
806
|
copyable: boolean;
|
|
796
807
|
copyableTooltip: boolean;
|
|
797
808
|
maxLength: number;
|
|
@@ -884,7 +895,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
884
895
|
hasError(): boolean;
|
|
885
896
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
886
897
|
validation: {
|
|
887
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
898
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
888
899
|
required: false;
|
|
889
900
|
default: null;
|
|
890
901
|
};
|
|
@@ -895,7 +906,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
895
906
|
validateRule(value: unknown, rule: string): boolean;
|
|
896
907
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
897
908
|
validation: {
|
|
898
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
909
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
899
910
|
required: false;
|
|
900
911
|
default: null;
|
|
901
912
|
};
|
|
@@ -1097,8 +1108,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1097
1108
|
"mt-field-hint": {
|
|
1098
1109
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1099
1110
|
hideIcon?: boolean;
|
|
1111
|
+
icon?: string;
|
|
1100
1112
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
1101
1113
|
hideIcon: boolean;
|
|
1114
|
+
icon: string;
|
|
1102
1115
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
1103
1116
|
P: {};
|
|
1104
1117
|
B: {};
|
|
@@ -1108,16 +1121,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1108
1121
|
Defaults: {};
|
|
1109
1122
|
}, Readonly<{
|
|
1110
1123
|
hideIcon?: boolean;
|
|
1124
|
+
icon?: string;
|
|
1111
1125
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
1112
1126
|
hideIcon: boolean;
|
|
1127
|
+
icon: string;
|
|
1113
1128
|
}>;
|
|
1114
1129
|
__isFragment?: never;
|
|
1115
1130
|
__isTeleport?: never;
|
|
1116
1131
|
__isSuspense?: never;
|
|
1117
1132
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1118
1133
|
hideIcon?: boolean;
|
|
1134
|
+
icon?: string;
|
|
1119
1135
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1120
1136
|
hideIcon: boolean;
|
|
1137
|
+
icon: string;
|
|
1121
1138
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1122
1139
|
$slots: {
|
|
1123
1140
|
default?(_: {}): any;
|
|
@@ -1222,8 +1239,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1222
1239
|
"mt-field-hint": {
|
|
1223
1240
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1224
1241
|
hideIcon?: boolean;
|
|
1242
|
+
icon?: string;
|
|
1225
1243
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
1226
1244
|
hideIcon: boolean;
|
|
1245
|
+
icon: string;
|
|
1227
1246
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
1228
1247
|
P: {};
|
|
1229
1248
|
B: {};
|
|
@@ -1233,16 +1252,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1233
1252
|
Defaults: {};
|
|
1234
1253
|
}, Readonly<{
|
|
1235
1254
|
hideIcon?: boolean;
|
|
1255
|
+
icon?: string;
|
|
1236
1256
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
1237
1257
|
hideIcon: boolean;
|
|
1258
|
+
icon: string;
|
|
1238
1259
|
}>;
|
|
1239
1260
|
__isFragment?: never;
|
|
1240
1261
|
__isTeleport?: never;
|
|
1241
1262
|
__isSuspense?: never;
|
|
1242
1263
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1243
1264
|
hideIcon?: boolean;
|
|
1265
|
+
icon?: string;
|
|
1244
1266
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1245
1267
|
hideIcon: boolean;
|
|
1268
|
+
icon: string;
|
|
1246
1269
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1247
1270
|
$slots: {
|
|
1248
1271
|
default?(_: {}): any;
|
|
@@ -1331,7 +1354,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1331
1354
|
hasError(): boolean;
|
|
1332
1355
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1333
1356
|
validation: {
|
|
1334
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1357
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1335
1358
|
required: false;
|
|
1336
1359
|
default: null;
|
|
1337
1360
|
};
|
|
@@ -1342,7 +1365,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1342
1365
|
validateRule(value: unknown, rule: string): boolean;
|
|
1343
1366
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1344
1367
|
validation: {
|
|
1345
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
1368
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
1346
1369
|
required: false;
|
|
1347
1370
|
default: null;
|
|
1348
1371
|
};
|
|
@@ -1544,8 +1567,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1544
1567
|
MtFieldHint: {
|
|
1545
1568
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1546
1569
|
hideIcon?: boolean;
|
|
1570
|
+
icon?: string;
|
|
1547
1571
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
1548
1572
|
hideIcon: boolean;
|
|
1573
|
+
icon: string;
|
|
1549
1574
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
1550
1575
|
P: {};
|
|
1551
1576
|
B: {};
|
|
@@ -1555,16 +1580,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1555
1580
|
Defaults: {};
|
|
1556
1581
|
}, Readonly<{
|
|
1557
1582
|
hideIcon?: boolean;
|
|
1583
|
+
icon?: string;
|
|
1558
1584
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
1559
1585
|
hideIcon: boolean;
|
|
1586
|
+
icon: string;
|
|
1560
1587
|
}>;
|
|
1561
1588
|
__isFragment?: never;
|
|
1562
1589
|
__isTeleport?: never;
|
|
1563
1590
|
__isSuspense?: never;
|
|
1564
1591
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1565
1592
|
hideIcon?: boolean;
|
|
1593
|
+
icon?: string;
|
|
1566
1594
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1567
1595
|
hideIcon: boolean;
|
|
1596
|
+
icon: string;
|
|
1568
1597
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1569
1598
|
$slots: {
|
|
1570
1599
|
default?(_: {}): any;
|
package/dist/esm/MtSlider.js
CHANGED
|
@@ -3,7 +3,7 @@ import { defineComponent, resolveComponent, openBlock, createBlock, normalizeCla
|
|
|
3
3
|
import { M as MtBaseField } from "../mt-base-field-ddfd1f81.mjs";
|
|
4
4
|
import MtNumberField from "./MtNumberField.js";
|
|
5
5
|
import MtFieldHint from "./MtFieldHint.js";
|
|
6
|
-
import { v as vTooltip } from "../tooltip.directive-
|
|
6
|
+
import { v as vTooltip } from "../tooltip.directive-a5042569.mjs";
|
|
7
7
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.mjs";
|
|
8
8
|
import "./MtInheritanceSwitch.js";
|
|
9
9
|
import "../mt-icon.vue_vue_type_style_index_0_lang-c90dc25b.mjs";
|
|
@@ -315,6 +315,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
315
315
|
step: _ctx.step,
|
|
316
316
|
disabled: _ctx.disabled,
|
|
317
317
|
"number-type": _ctx.step % 1 === 0 ? "int" : "float",
|
|
318
|
+
"show-controls": false,
|
|
318
319
|
"data-testid": "left-number-field"
|
|
319
320
|
}, null, 8, ["modelValue", "min", "max", "step", "disabled", "number-type"])) : createCommentVNode("", true),
|
|
320
321
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -390,6 +391,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
390
391
|
step: _ctx.step,
|
|
391
392
|
disabled: _ctx.disabled,
|
|
392
393
|
"number-type": _ctx.step % 1 === 0 ? "int" : "float",
|
|
394
|
+
"show-controls": false,
|
|
393
395
|
"data-testid": "right-number-field"
|
|
394
396
|
}, null, 8, ["modelValue", "min", "max", "step", "disabled", "number-type"])
|
|
395
397
|
]),
|
|
@@ -240,9 +240,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
240
|
}
|
|
241
241
|
onMounted(() => {
|
|
242
242
|
mounted.value = true;
|
|
243
|
-
if (snackbarEl.value) {
|
|
244
|
-
snackbarEl.value.focus();
|
|
245
|
-
}
|
|
246
243
|
});
|
|
247
244
|
onBeforeUnmount(() => {
|
|
248
245
|
if (timeoutId.value) {
|
|
@@ -263,7 +260,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
263
260
|
class: normalizeClass(["mt-snackbar-notification", classes.value]),
|
|
264
261
|
role: role.value,
|
|
265
262
|
"aria-live": ariaLive.value,
|
|
266
|
-
tabindex: "0",
|
|
267
263
|
"data-mounted": mounted.value,
|
|
268
264
|
"data-removed": removed.value,
|
|
269
265
|
style: normalizeStyle({
|
|
@@ -316,8 +312,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
316
312
|
};
|
|
317
313
|
}
|
|
318
314
|
});
|
|
319
|
-
const
|
|
320
|
-
const MtSnackbarNotification = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
315
|
+
const mtSnackbarNotification_vue_vue_type_style_index_0_scoped_89296d86_lang = "";
|
|
316
|
+
const MtSnackbarNotification = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-89296d86"]]);
|
|
321
317
|
export {
|
|
322
318
|
MtSnackbarNotification as default
|
|
323
319
|
};
|
package/dist/esm/MtTabs.d.ts
CHANGED
|
@@ -781,7 +781,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
781
781
|
hasError(): boolean;
|
|
782
782
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
783
783
|
validation: {
|
|
784
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
784
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
785
785
|
required: false;
|
|
786
786
|
default: null;
|
|
787
787
|
};
|
|
@@ -792,7 +792,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
792
792
|
validateRule(value: unknown, rule: string): boolean;
|
|
793
793
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
794
794
|
validation: {
|
|
795
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
795
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
796
796
|
required: false;
|
|
797
797
|
default: null;
|
|
798
798
|
};
|
package/dist/esm/MtTabs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../mt-tabs.css';
|
|
2
|
-
import { defineComponent, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, Fragment, renderList, withKeys, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { defineComponent, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, normalizeStyle, createElementBlock, Fragment, renderList, withKeys, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
3
3
|
import { _ as _sfc_main$1 } from "../mt-context-button.vue_vue_type_style_index_0_lang-c4b5d005.mjs";
|
|
4
4
|
import MtContextMenuItem from "./MtContextMenuItem.js";
|
|
5
5
|
import MtStatusDot from "./MtStatusDot.js";
|
|
@@ -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 "./MtFieldError.js";
|
|
@@ -30,7 +30,7 @@ import "./MtButton.js";
|
|
|
30
30
|
import "./MtLoader.js";
|
|
31
31
|
import "./MtSmoothReflow.js";
|
|
32
32
|
import "../_commonjsHelpers-7a77ea84.mjs";
|
|
33
|
-
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
33
|
+
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
34
34
|
const _sfc_main = defineComponent({
|
|
35
35
|
name: "MtTabs",
|
|
36
36
|
components: {
|
|
@@ -40,6 +40,7 @@ const _sfc_main = defineComponent({
|
|
|
40
40
|
"mt-status-dot": MtStatusDot,
|
|
41
41
|
"mt-icon": _sfc_main$2
|
|
42
42
|
},
|
|
43
|
+
inheritAttrs: false,
|
|
43
44
|
emits: ["new-item-active"],
|
|
44
45
|
props: {
|
|
45
46
|
items: {
|
|
@@ -235,7 +236,7 @@ const _sfc_main = defineComponent({
|
|
|
235
236
|
}
|
|
236
237
|
}
|
|
237
238
|
});
|
|
238
|
-
const
|
|
239
|
+
const mtTabs_vue_vue_type_style_index_0_scoped_3ec5fe76_lang = "";
|
|
239
240
|
const _hoisted_1 = ["data-priority-plus", "data-text", "data-item-name", "aria-selected", "disabled", "onClick", "onKeyup"];
|
|
240
241
|
const _hoisted_2 = ["data-item-name", "onClick"];
|
|
241
242
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -249,10 +250,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
249
250
|
list: _ctx.items
|
|
250
251
|
}, {
|
|
251
252
|
default: withCtx(({ mainItems, moreItems }) => [
|
|
252
|
-
createElementVNode("div", {
|
|
253
|
-
class:
|
|
253
|
+
createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
254
|
+
class: _ctx.tabClasses,
|
|
254
255
|
role: "tablist"
|
|
255
|
-
}, [
|
|
256
|
+
}), [
|
|
256
257
|
createElementVNode("span", {
|
|
257
258
|
class: normalizeClass(["mt-tabs__slider", _ctx.sliderClasses]),
|
|
258
259
|
style: normalizeStyle(_ctx.sliderStyle)
|
|
@@ -327,12 +328,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
327
328
|
onClick: ($event) => _ctx.handleClick(item.name)
|
|
328
329
|
}, toDisplayString(item.label), 11, _hoisted_2);
|
|
329
330
|
}), 128)) : createCommentVNode("", true)
|
|
330
|
-
],
|
|
331
|
+
], 16)
|
|
331
332
|
]),
|
|
332
333
|
_: 1
|
|
333
334
|
}, 8, ["list"]);
|
|
334
335
|
}
|
|
335
|
-
const mtTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
336
|
+
const mtTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3ec5fe76"]]);
|
|
336
337
|
export {
|
|
337
338
|
mtTabs as default
|
|
338
339
|
};
|
package/dist/esm/MtTextEditor.js
CHANGED
|
@@ -24,7 +24,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
24
24
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
25
25
|
import "../index-431c2592.mjs";
|
|
26
26
|
import "./MtFieldCopyable.js";
|
|
27
|
-
import "../tooltip.directive-
|
|
27
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
28
28
|
import "../id-1e5b8276.mjs";
|
|
29
29
|
import "./MtHelpText.js";
|
|
30
30
|
import "../useFutureFlags-af867fe7.mjs";
|
|
@@ -33,7 +33,7 @@ import "./MtFieldLabel.js";
|
|
|
33
33
|
import "./MtLoader.js";
|
|
34
34
|
import "./MtSmoothReflow.js";
|
|
35
35
|
import "../_commonjsHelpers-7a77ea84.mjs";
|
|
36
|
-
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
36
|
+
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
37
37
|
import "./MtColorpicker.js";
|
|
38
38
|
import "./MtFieldHint.js";
|
|
39
39
|
import "../focus-trap.esm-3b050c4a.mjs";
|
|
@@ -54232,8 +54232,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54232
54232
|
};
|
|
54233
54233
|
}
|
|
54234
54234
|
});
|
|
54235
|
-
const
|
|
54236
|
-
const mtTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54235
|
+
const mtTextEditor_vue_vue_type_style_index_0_scoped_030ea4b7_lang = "";
|
|
54236
|
+
const mtTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-030ea4b7"]]);
|
|
54237
54237
|
export {
|
|
54238
54238
|
mtTextEditor as default
|
|
54239
54239
|
};
|
|
@@ -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";
|
|
@@ -27,7 +27,7 @@ import "./MtButton.js";
|
|
|
27
27
|
import "./MtLoader.js";
|
|
28
28
|
import "./MtSmoothReflow.js";
|
|
29
29
|
import "../_commonjsHelpers-7a77ea84.mjs";
|
|
30
|
-
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
30
|
+
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
31
31
|
const _hoisted_1 = {
|
|
32
32
|
class: "mt-text-editor-toolbar",
|
|
33
33
|
role: "menu",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../mt-text-editor-toolbar-button.css';
|
|
2
2
|
import { defineComponent, computed, withDirectives, openBlock, createElementBlock, normalizeClass, createBlock, toDisplayString, unref } from "vue";
|
|
3
3
|
import { _ as _sfc_main$1 } from "../mt-icon.vue_vue_type_style_index_0_lang-c90dc25b.mjs";
|
|
4
|
-
import { v as vTooltip } from "../tooltip.directive-
|
|
4
|
+
import { v as vTooltip } from "../tooltip.directive-a5042569.mjs";
|
|
5
5
|
import { useI18n } from "vue-i18n";
|
|
6
6
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.mjs";
|
|
7
7
|
import "../id-1e5b8276.mjs";
|
|
@@ -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 "./MtFieldHint.js";
|
|
21
|
-
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "../mt-floating-ui.vue_vue_type_style_index_0_lang-1e4e0347.mjs";
|
|
22
22
|
import "./MtText.js";
|
|
23
23
|
import "../focus-trap.esm-3b050c4a.mjs";
|
|
24
24
|
import "./MtButton.js";
|
|
@@ -23,7 +23,7 @@ import "../floating-ui.vue-61aa2b7b.mjs";
|
|
|
23
23
|
import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
24
24
|
import "../index-431c2592.mjs";
|
|
25
25
|
import "./MtFieldCopyable.js";
|
|
26
|
-
import "../tooltip.directive-
|
|
26
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
27
27
|
import "./MtHelpText.js";
|
|
28
28
|
import "../useFutureFlags-af867fe7.mjs";
|
|
29
29
|
import "./MtFieldError.js";
|