@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
|
@@ -16,7 +16,7 @@ require("../index-efdf1622.js");
|
|
|
16
16
|
require("vue-i18n");
|
|
17
17
|
require("./MtText.js");
|
|
18
18
|
const _hoisted_1 = { class: "mt-textarea" };
|
|
19
|
-
const _hoisted_2 = ["id", "required", "disabled", "name", "placeholder", "maxlength"];
|
|
19
|
+
const _hoisted_2 = ["id", "required", "disabled", "name", "autocomplete", "placeholder", "maxlength"];
|
|
20
20
|
const _hoisted_3 = {
|
|
21
21
|
key: 3,
|
|
22
22
|
class: "mt-textarea__hint"
|
|
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
31
|
required: { type: Boolean },
|
|
32
32
|
disabled: { type: Boolean },
|
|
33
33
|
name: {},
|
|
34
|
+
autocomplete: {},
|
|
34
35
|
label: {},
|
|
35
36
|
placeholder: {},
|
|
36
37
|
error: {},
|
|
@@ -86,6 +87,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
87
|
style: { gridArea: "help-text", justifySelf: "end" }
|
|
87
88
|
}, null, 8, ["text"])) : vue.createCommentVNode("", true),
|
|
88
89
|
vue.withDirectives(vue.createElementVNode("textarea", {
|
|
90
|
+
id: vue.unref(id),
|
|
89
91
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => model.value = $event),
|
|
90
92
|
class: vue.normalizeClass([
|
|
91
93
|
"mt-textarea__textarea",
|
|
@@ -93,15 +95,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
95
|
"mt-textarea__textarea--error": !!_ctx.error && !!_ctx.error.detail
|
|
94
96
|
}
|
|
95
97
|
]),
|
|
96
|
-
onChange: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("change", model.value)),
|
|
97
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("focus")),
|
|
98
|
-
onBlur: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("blur")),
|
|
99
|
-
id: vue.unref(id),
|
|
100
98
|
required: _ctx.required,
|
|
101
99
|
disabled: _ctx.disabled || _ctx.isInherited,
|
|
102
100
|
name: _ctx.name,
|
|
101
|
+
autocomplete: _ctx.autocomplete,
|
|
103
102
|
placeholder: _ctx.placeholder,
|
|
104
|
-
maxlength: _ctx.maxLength
|
|
103
|
+
maxlength: _ctx.maxLength,
|
|
104
|
+
onChange: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("change", model.value)),
|
|
105
|
+
onFocus: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("focus")),
|
|
106
|
+
onBlur: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("blur"))
|
|
105
107
|
}, null, 42, _hoisted_2), [
|
|
106
108
|
[vue.vModelText, model.value]
|
|
107
109
|
]),
|
|
@@ -127,6 +129,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
127
129
|
};
|
|
128
130
|
}
|
|
129
131
|
});
|
|
130
|
-
const
|
|
131
|
-
const mtTextarea = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
132
|
+
const mtTextarea_vue_vue_type_style_index_0_scoped_2c5dc288_lang = "";
|
|
133
|
+
const mtTextarea = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-2c5dc288"]]);
|
|
132
134
|
module.exports = mtTextarea;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const mtThemeSelect_vue_vue_type_script_setup_true_lang = require("../mt-theme-select.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
const mtThemeSelect_vue_vue_type_script_setup_true_lang = require("../mt-theme-select.vue_vue_type_script_setup_true_lang-b8126f05.js");
|
|
3
3
|
require("vue");
|
|
4
4
|
require("vue-i18n");
|
|
5
5
|
require("./MtSelect.js");
|
|
@@ -17,7 +17,7 @@ require("../floating-ui.dom-fe395b67.js");
|
|
|
17
17
|
require("../useIsInsideTooltip-f4674e27.js");
|
|
18
18
|
require("../index-efdf1622.js");
|
|
19
19
|
require("./MtFieldCopyable.js");
|
|
20
|
-
require("../tooltip.directive-
|
|
20
|
+
require("../tooltip.directive-7b51326d.js");
|
|
21
21
|
require("../id-8e80f112.js");
|
|
22
22
|
require("./MtHelpText.js");
|
|
23
23
|
require("../useFutureFlags-bd0f8e37.js");
|
|
@@ -17,7 +17,7 @@ require("../useIsInsideTooltip-f4674e27.js");
|
|
|
17
17
|
require("../index-efdf1622.js");
|
|
18
18
|
require("vue-i18n");
|
|
19
19
|
require("./MtFieldCopyable.js");
|
|
20
|
-
require("../tooltip.directive-
|
|
20
|
+
require("../tooltip.directive-7b51326d.js");
|
|
21
21
|
require("../id-8e80f112.js");
|
|
22
22
|
require("./MtHelpText.js");
|
|
23
23
|
require("../useFutureFlags-bd0f8e37.js");
|
|
@@ -2302,6 +2302,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
2302
2302
|
};
|
|
2303
2303
|
}
|
|
2304
2304
|
});
|
|
2305
|
-
const
|
|
2306
|
-
const mtUnitField = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
2305
|
+
const mtUnitField_vue_vue_type_style_index_0_scoped_9a632f3c_lang = "";
|
|
2306
|
+
const mtUnitField = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-9a632f3c"]]);
|
|
2307
2307
|
module.exports = mtUnitField;
|
|
@@ -151,8 +151,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
151
151
|
}, [
|
|
152
152
|
vue.createTextVNode(vue.toDisplayString(_ctx.modelValue) + " ", 1),
|
|
153
153
|
vue.createVNode(mtIcon_vue_vue_type_style_index_0_lang._sfc_main, {
|
|
154
|
-
name: "chevron-down-
|
|
155
|
-
size: "var(--scale-size-
|
|
154
|
+
name: "regular-chevron-down-s",
|
|
155
|
+
size: "var(--scale-size-10)",
|
|
156
156
|
"aria-hidden": "true"
|
|
157
157
|
})
|
|
158
158
|
], 8, _hoisted_2),
|
|
@@ -193,6 +193,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
const
|
|
197
|
-
const MtUnitSelect = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
196
|
+
const mtUnitSelect_vue_vue_type_style_index_0_scoped_61992043_lang = "";
|
|
197
|
+
const MtUnitSelect = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-61992043"]]);
|
|
198
198
|
module.exports = MtUnitSelect;
|
|
@@ -34,6 +34,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
const MtUnitSelectResult = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
37
|
+
const mtUnitSelectResult_vue_vue_type_style_index_0_scoped_80754366_lang = "";
|
|
38
|
+
const MtUnitSelectResult = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-80754366"]]);
|
|
39
39
|
module.exports = MtUnitSelectResult;
|
|
@@ -14,6 +14,7 @@ type __VLS_Props = {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
placeholder?: string;
|
|
16
16
|
name?: string;
|
|
17
|
+
autocomplete?: string;
|
|
17
18
|
size?: "small" | "default";
|
|
18
19
|
/**
|
|
19
20
|
* Optional caption below the field. The `#hint` slot takes precedence when provided.
|
|
@@ -48,6 +49,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
48
49
|
onChange?: ((value: string) => any) | undefined;
|
|
49
50
|
}>, {
|
|
50
51
|
size: "small" | "default";
|
|
52
|
+
autocomplete: string;
|
|
51
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
54
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
55
|
export default _default;
|
|
@@ -18,7 +18,7 @@ require("../useIsInsideTooltip-f4674e27.js");
|
|
|
18
18
|
require("../index-efdf1622.js");
|
|
19
19
|
require("./MtText.js");
|
|
20
20
|
const _hoisted_1 = ["disabled", "data-size"];
|
|
21
|
-
const _hoisted_2 = ["id", "value", "placeholder", "name", "required", "disabled"];
|
|
21
|
+
const _hoisted_2 = ["id", "value", "placeholder", "name", "autocomplete", "required", "disabled"];
|
|
22
22
|
const _hoisted_3 = ["aria-label"];
|
|
23
23
|
const _hoisted_4 = {
|
|
24
24
|
key: 1,
|
|
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
43
43
|
disabled: { type: Boolean },
|
|
44
44
|
placeholder: {},
|
|
45
45
|
name: {},
|
|
46
|
+
autocomplete: { default: void 0 },
|
|
46
47
|
size: { default: "default" },
|
|
47
48
|
hint: {}
|
|
48
49
|
}, {
|
|
@@ -195,6 +196,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
195
196
|
type: "url",
|
|
196
197
|
placeholder: _ctx.placeholder,
|
|
197
198
|
name: _ctx.name,
|
|
199
|
+
autocomplete: _ctx.autocomplete,
|
|
198
200
|
required: _ctx.required,
|
|
199
201
|
disabled: _ctx.disabled || _ctx.isInherited,
|
|
200
202
|
class: "mt-url-field__input",
|
|
@@ -252,6 +254,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
252
254
|
};
|
|
253
255
|
}
|
|
254
256
|
});
|
|
255
|
-
const
|
|
256
|
-
const mtUrlField = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
257
|
+
const mtUrlField_vue_vue_type_style_index_0_scoped_351782b6_lang = "";
|
|
258
|
+
const mtUrlField = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-351782b6"]]);
|
|
257
259
|
module.exports = mtUrlField;
|
|
@@ -22,9 +22,9 @@ export declare function useSnackbar(): {
|
|
|
22
22
|
url: string;
|
|
23
23
|
} | undefined;
|
|
24
24
|
duration: number;
|
|
25
|
+
icon?: string | undefined;
|
|
25
26
|
errorMessage?: string | undefined;
|
|
26
27
|
variant?: "success" | "error" | "warning" | "progress" | undefined;
|
|
27
|
-
icon?: string | undefined;
|
|
28
28
|
message: string;
|
|
29
29
|
progressPercentage?: number | undefined;
|
|
30
30
|
uploadState?: "success" | "error" | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export interface UseServicePermissionReturn {
|
|
3
|
+
/** Whether a service permission request is currently running. */
|
|
4
|
+
isGranting: Ref<boolean>;
|
|
5
|
+
/** Whether the current extension is running as a Contena Service. */
|
|
6
|
+
isService: Ref<boolean | null>;
|
|
7
|
+
/** Whether the required permission is granted, or `null` when it cannot be resolved. */
|
|
8
|
+
permissionGranted: Ref<boolean | null>;
|
|
9
|
+
/** Whether permission-related UI should be displayed. */
|
|
10
|
+
isShowPermissionUI: ComputedRef<boolean>;
|
|
11
|
+
/** Grants the permissions required by the current Contena Service. */
|
|
12
|
+
grant: () => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
/** Resolves and grants permissions required by a Contena Service. */
|
|
15
|
+
export declare function useServicePermission(): UseServicePermissionReturn;
|
package/dist/common/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ import { default as MtInset } from './components/mt-inset/mt-inset';
|
|
|
50
50
|
import { default as MtThemeProvider } from './components/mt-theme-provider/mt-theme-provider';
|
|
51
51
|
import { default as MtThemeSelect } from './components/mt-theme-select/mt-theme-select';
|
|
52
52
|
import { useTheme, Theme, ResolvedTheme, UseThemeOptions, UseThemeReturn } from './composables/useTheme';
|
|
53
|
+
import { useServicePermission, UseServicePermissionReturn } from './composables/useServicePermission';
|
|
53
54
|
import { default as TooltipDirective } from './directives/tooltip.directive';
|
|
54
55
|
import { default as DeviceHelperPlugin } from './plugin/device-helper.plugin';
|
|
55
56
|
import { default as MtTooltip } from './components/mt-tooltip/mt-tooltip';
|
|
@@ -68,7 +69,7 @@ import { default as MtCollapsibleTrigger } from './components/mt-collapsible/mt-
|
|
|
68
69
|
import { default as MtCollapsibleContent } from './components/mt-collapsible/mt-collapsible-content';
|
|
69
70
|
import { DropdownMenuRoot, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuSub } from 'reka-ui';
|
|
70
71
|
import { Filter, Option } from './components/mt-data-table/mt-data-table.interfaces';
|
|
71
|
-
export { MtBanner, MtBadge, MtLoader, MtProgressBar, MtButton, MtCheckbox, MtRadioGroupRoot, MtRadioGroupIndicator, MtRadioGroupList, MtRadioGroupItem, MtRadioGroupCustomItem, MtColorpicker, MtDatepicker, MtEmailField, MtChart, MtLink, MtNumberField, MtPasswordField, MtSelect, MtSlider, MtSwitch, MtTextField, MtTextarea, MtTextEditor, MtTextEditorToolbarButton, MtIcon, MtCard, MtEmptyState, MtGrantPermissionServiceBanner, MtHelpText, MtTabs, MtDataTable, MtPagination, MtSkeletonBar, MtToast, MtSnackbar, MtPromoBadge, MtStatusDot, MtPopover, MtPopoverItem, MtPopoverItemResult, MtTooltip, MtFloatingUi, MtModal, MtModalRoot, MtModalTrigger, MtModalClose, MtModalAction, MtText, MtInset, MtSearch, MtUrlField, MtThemeProvider, MtThemeSelect, MtUnitField, MtEntityDataTable, MtEntitySelect, TooltipDirective, MtAvatar, MtActionMenu, MtActionMenuItem, MtActionMenuGroup, MtCollapsible, MtCollapsibleTrigger, MtCollapsibleContent, DropdownMenuRoot as MtDropdownMenuRoot, DropdownMenuPortal as MtDropdownMenuPortal, DropdownMenuTrigger as MtDropdownMenuTrigger, DropdownMenuSub as MtDropdownMenuSub, DeviceHelperPlugin, useSnackbar, useTheme, MtBanner as SwBanner, MtLoader as SwLoader, MtProgressBar as SwProgressBar, MtButton as SwButton, MtCheckbox as SwCheckbox, MtColorpicker as SwColorpicker, MtDatepicker as SwDatepicker, MtEmailField as SwEmailField, MtNumberField as SwNumberField, MtPasswordField as SwPasswordField, MtSelect as SwSelect, MtSwitch as SwSwitch, MtTextField as SwTextField, MtTextarea as SwTextarea, MtIcon as SwIcon, MtCard as SwCard, MtTabs as SwTabs, MtDataTable as SwDataTable, MtPagination as SwPagination, MtSkeletonBar as SwSkeletonBar, };
|
|
72
|
+
export { MtBanner, MtBadge, MtLoader, MtProgressBar, MtButton, MtCheckbox, MtRadioGroupRoot, MtRadioGroupIndicator, MtRadioGroupList, MtRadioGroupItem, MtRadioGroupCustomItem, MtColorpicker, MtDatepicker, MtEmailField, MtChart, MtLink, MtNumberField, MtPasswordField, MtSelect, MtSlider, MtSwitch, MtTextField, MtTextarea, MtTextEditor, MtTextEditorToolbarButton, MtIcon, MtCard, MtEmptyState, MtGrantPermissionServiceBanner, MtHelpText, MtTabs, MtDataTable, MtPagination, MtSkeletonBar, MtToast, MtSnackbar, MtPromoBadge, MtStatusDot, MtPopover, MtPopoverItem, MtPopoverItemResult, MtTooltip, MtFloatingUi, MtModal, MtModalRoot, MtModalTrigger, MtModalClose, MtModalAction, MtText, MtInset, MtSearch, MtUrlField, MtThemeProvider, MtThemeSelect, MtUnitField, MtEntityDataTable, MtEntitySelect, TooltipDirective, MtAvatar, MtActionMenu, MtActionMenuItem, MtActionMenuGroup, MtCollapsible, MtCollapsibleTrigger, MtCollapsibleContent, DropdownMenuRoot as MtDropdownMenuRoot, DropdownMenuPortal as MtDropdownMenuPortal, DropdownMenuTrigger as MtDropdownMenuTrigger, DropdownMenuSub as MtDropdownMenuSub, DeviceHelperPlugin, useSnackbar, useTheme, useServicePermission, type UseServicePermissionReturn, MtBanner as SwBanner, MtLoader as SwLoader, MtProgressBar as SwProgressBar, MtButton as SwButton, MtCheckbox as SwCheckbox, MtColorpicker as SwColorpicker, MtDatepicker as SwDatepicker, MtEmailField as SwEmailField, MtNumberField as SwNumberField, MtPasswordField as SwPasswordField, MtSelect as SwSelect, MtSwitch as SwSwitch, MtTextField as SwTextField, MtTextarea as SwTextarea, MtIcon as SwIcon, MtCard as SwCard, MtTabs as SwTabs, MtDataTable as SwDataTable, MtPagination as SwPagination, MtSkeletonBar as SwSkeletonBar, };
|
|
72
73
|
export type { Filter, Option, Toast, Snackbar, ChartOptions };
|
|
73
74
|
export type { Theme, ResolvedTheme, UseThemeOptions, UseThemeReturn };
|
|
74
75
|
export type { Editor } from '@tiptap/vue-3';
|
package/dist/common/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
return value;
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
10
|
-
const mtDatepicker_vue_vue_type_style_index_0_lang = require("../mt-datepicker.vue_vue_type_style_index_0_lang-
|
|
10
|
+
const mtDatepicker_vue_vue_type_style_index_0_lang = require("../mt-datepicker.vue_vue_type_style_index_0_lang-81316ad9.js");
|
|
11
11
|
const MtBanner = require("./MtBanner.js");
|
|
12
12
|
const MtBadge = require("./MtBadge.js");
|
|
13
13
|
const MtLoader = require("./MtLoader.js");
|
|
@@ -34,7 +34,7 @@ const MtTextarea = require("./MtTextarea.js");
|
|
|
34
34
|
const mtIcon_vue_vue_type_style_index_0_lang = require("../mt-icon.vue_vue_type_style_index_0_lang-228a1bb5.js");
|
|
35
35
|
const MtCard = require("./MtCard.js");
|
|
36
36
|
const MtEmptyState = require("./MtEmptyState.js");
|
|
37
|
-
const MtGrantPermissionServiceBanner = require("
|
|
37
|
+
const MtGrantPermissionServiceBanner = require("../mt-grant-permission-service-banner-dc1f0940.js");
|
|
38
38
|
const MtTabs = require("./MtTabs.js");
|
|
39
39
|
const MtDataTable = require("./MtDataTable.js");
|
|
40
40
|
const MtPagination = require("./MtPagination.js");
|
|
@@ -47,7 +47,7 @@ const MtStatusDot = require("./MtStatusDot.js");
|
|
|
47
47
|
const MtPopover = require("./MtPopover.js");
|
|
48
48
|
const MtPopoverItem = require("./MtPopoverItem.js");
|
|
49
49
|
const MtPopoverItemResult = require("../mt-popover-item-result-77871fb7.js");
|
|
50
|
-
const mtFloatingUi_vue_vue_type_style_index_0_lang = require("../mt-floating-ui.vue_vue_type_style_index_0_lang-
|
|
50
|
+
const mtFloatingUi_vue_vue_type_style_index_0_lang = require("../mt-floating-ui.vue_vue_type_style_index_0_lang-f48de489.js");
|
|
51
51
|
const MtModal = require("./MtModal.js");
|
|
52
52
|
const MtModalRoot = require("./MtModalRoot.js");
|
|
53
53
|
const mtModalClose_vue_vue_type_script_setup_true_lang = require("../mt-modal-close.vue_vue_type_script_setup_true_lang-1e877a45.js");
|
|
@@ -56,10 +56,10 @@ const mtModalAction_vue_vue_type_script_setup_true_lang = require("../mt-modal-a
|
|
|
56
56
|
const MtText = require("./MtText.js");
|
|
57
57
|
const MtInset = require("./MtInset.js");
|
|
58
58
|
const mtThemeProvider_vue_vue_type_script_setup_true_lang = require("../mt-theme-provider.vue_vue_type_script_setup_true_lang-e6ba82b1.js");
|
|
59
|
-
const mtThemeSelect_vue_vue_type_script_setup_true_lang = require("../mt-theme-select.vue_vue_type_script_setup_true_lang-
|
|
59
|
+
const mtThemeSelect_vue_vue_type_script_setup_true_lang = require("../mt-theme-select.vue_vue_type_script_setup_true_lang-b8126f05.js");
|
|
60
60
|
const vue = require("vue");
|
|
61
61
|
const index = require("../index-e582fef8.js");
|
|
62
|
-
const tooltip_directive = require("../tooltip.directive-
|
|
62
|
+
const tooltip_directive = require("../tooltip.directive-7b51326d.js");
|
|
63
63
|
const debounce = require("../debounce-77fa4677.js");
|
|
64
64
|
const MtTooltip = require("./MtTooltip.js");
|
|
65
65
|
const MtTextEditor = require("./MtTextEditor.js");
|
|
@@ -67,8 +67,8 @@ const MtTextEditorToolbarButton = require("./MtTextEditorToolbarButton.js");
|
|
|
67
67
|
const MtSearch = require("./MtSearch.js");
|
|
68
68
|
const MtUrlField = require("./MtUrlField.js");
|
|
69
69
|
const MtUnitField = require("./MtUnitField.js");
|
|
70
|
-
const mtEntityDataTable_vue_vue_type_style_index_0_lang = require("../mt-entity-data-table.vue_vue_type_style_index_0_lang-
|
|
71
|
-
const mtEntitySelect_vue_vue_type_script_setup_true_lang = require("../mt-entity-select.vue_vue_type_script_setup_true_lang-
|
|
70
|
+
const mtEntityDataTable_vue_vue_type_style_index_0_lang = require("../mt-entity-data-table.vue_vue_type_style_index_0_lang-063ce600.js");
|
|
71
|
+
const mtEntitySelect_vue_vue_type_script_setup_true_lang = require("../mt-entity-select.vue_vue_type_script_setup_true_lang-eb9894c1.js");
|
|
72
72
|
const mtActionMenu_vue_vue_type_style_index_0_lang = require("../mt-action-menu.vue_vue_type_style_index_0_lang-3e19261d.js");
|
|
73
73
|
const MtActionMenuItem = require("../mt-action-menu-item-7136b5b3.js");
|
|
74
74
|
const mtActionMenuGroup_vue_vue_type_style_index_0_lang = require("../mt-action-menu-group.vue_vue_type_style_index_0_lang-b395d64f.js");
|
|
@@ -86,13 +86,13 @@ require("../floating-ui.vue-48d5c774.js");
|
|
|
86
86
|
require("../floating-ui.dom-fe395b67.js");
|
|
87
87
|
require("../useIsInsideTooltip-f4674e27.js");
|
|
88
88
|
require("../index-efdf1622.js");
|
|
89
|
+
require("./MtFieldHint.js");
|
|
89
90
|
require("./MtFieldError.js");
|
|
90
91
|
require("../useFutureFlags-bd0f8e37.js");
|
|
91
92
|
require("../object-deb13c0b.js");
|
|
92
93
|
require("../mt-base-field-b1264b8e.js");
|
|
93
94
|
require("./MtFieldCopyable.js");
|
|
94
95
|
require("../id-8e80f112.js");
|
|
95
|
-
require("./MtFieldHint.js");
|
|
96
96
|
require("../focus-trap.esm-8d514d11.js");
|
|
97
97
|
require("./MtFieldAffix.js");
|
|
98
98
|
require("./MtSelectBase.js");
|
|
@@ -106,9 +106,9 @@ require("../mt-highlight-text.vue_vue_type_style_index_0_lang-a463da9a.js");
|
|
|
106
106
|
require("../mt-context-button.vue_vue_type_style_index_0_lang-fda7578e.js");
|
|
107
107
|
require("./MtSmoothReflow.js");
|
|
108
108
|
require("../_commonjsHelpers-2cbbddc8.js");
|
|
109
|
-
require("../
|
|
110
|
-
require("../channel-c7fd2abb.js");
|
|
109
|
+
require("../channel-41ddc4ca.js");
|
|
111
110
|
require("../Criteria-86968a69.js");
|
|
111
|
+
require("../index-fab01d0b.js");
|
|
112
112
|
require("./MtContextMenuItem.js");
|
|
113
113
|
require("./MtPriorityPlusNavigation.js");
|
|
114
114
|
require("./MtDataTableSettings.js");
|
|
@@ -129,7 +129,7 @@ require("./MtTextEditorToolbarButtonTable.js");
|
|
|
129
129
|
require("./MtTextEditorDiffModal.js");
|
|
130
130
|
require("./MtUnitSelect.js");
|
|
131
131
|
require("./MtUnitSelectResult.js");
|
|
132
|
-
require("../useRepository-
|
|
132
|
+
require("../useRepository-86f5a789.js");
|
|
133
133
|
require("../useForwardProps-01837109.js");
|
|
134
134
|
require("../Presence-a35665b4.js");
|
|
135
135
|
require("../createContext-01610ece.js");
|
|
@@ -553,7 +553,8 @@ exports.SwIcon = mtIcon_vue_vue_type_style_index_0_lang._sfc_main;
|
|
|
553
553
|
exports.MtCard = MtCard;
|
|
554
554
|
exports.SwCard = MtCard;
|
|
555
555
|
exports.MtEmptyState = MtEmptyState;
|
|
556
|
-
exports.MtGrantPermissionServiceBanner = MtGrantPermissionServiceBanner;
|
|
556
|
+
exports.MtGrantPermissionServiceBanner = MtGrantPermissionServiceBanner.mtGrantPermissionServiceBanner;
|
|
557
|
+
exports.useServicePermission = MtGrantPermissionServiceBanner.useServicePermission;
|
|
557
558
|
exports.MtTabs = MtTabs;
|
|
558
559
|
exports.SwTabs = MtTabs;
|
|
559
560
|
exports.MtDataTable = MtDataTable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
validation: {
|
|
3
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
3
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
4
4
|
required: false;
|
|
5
5
|
default: null;
|
|
6
6
|
};
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
validateRule(value: unknown, rule: string): boolean;
|
|
12
12
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
validation: {
|
|
14
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
14
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
15
15
|
required: false;
|
|
16
16
|
default: null;
|
|
17
17
|
};
|
|
@@ -25,9 +25,9 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
25
25
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
26
|
link: string;
|
|
27
27
|
disabled: boolean;
|
|
28
|
+
icon: string;
|
|
28
29
|
as: string;
|
|
29
30
|
variant: "default" | "critical";
|
|
30
|
-
icon: string;
|
|
31
31
|
shortcut: ShortcutDefinition;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/esm/MtBadge.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ declare function __VLS_template(): {
|
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
24
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
25
|
size: "s" | "m" | "l";
|
|
26
|
-
variant: "neutral" | "info" | "attention" | "critical" | "positive";
|
|
27
26
|
icon: string;
|
|
27
|
+
variant: "neutral" | "info" | "attention" | "critical" | "positive";
|
|
28
28
|
statusIndicator: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
30
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/esm/MtBanner.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
onClose?: ((bannerIndex?: string | undefined) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
variant: "neutral" | "info" | "attention" | "critical" | "positive" | "inherited";
|
|
25
24
|
hideIcon: boolean;
|
|
25
|
+
variant: "neutral" | "info" | "attention" | "critical" | "positive" | "inherited";
|
|
26
26
|
closable: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -114,7 +114,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
114
114
|
hasError(): boolean;
|
|
115
115
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
116
116
|
validation: {
|
|
117
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
117
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
118
118
|
required: false;
|
|
119
119
|
default: null;
|
|
120
120
|
};
|
|
@@ -125,7 +125,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
125
125
|
validateRule(value: unknown, rule: string): boolean;
|
|
126
126
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
127
127
|
validation: {
|
|
128
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
128
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
129
129
|
required: false;
|
|
130
130
|
default: null;
|
|
131
131
|
};
|
package/dist/esm/MtBaseField.js
CHANGED
|
@@ -11,7 +11,7 @@ import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
|
11
11
|
import "../index-431c2592.mjs";
|
|
12
12
|
import "vue-i18n";
|
|
13
13
|
import "./MtFieldCopyable.js";
|
|
14
|
-
import "../tooltip.directive-
|
|
14
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
15
15
|
import "../id-1e5b8276.mjs";
|
|
16
16
|
import "./MtHelpText.js";
|
|
17
17
|
import "../useFutureFlags-af867fe7.mjs";
|
package/dist/esm/MtButton.d.ts
CHANGED
|
@@ -1,49 +1,52 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Displays the permission prompt required to activate a Contena Service.
|
|
4
|
+
*
|
|
5
|
+
* The banner detects whether the current Administration supports native
|
|
6
|
+
* service permissions and provides the matching grant flow and more-info link.
|
|
4
7
|
*/
|
|
5
|
-
|
|
6
|
-
type __VLS_Props = {
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
7
9
|
is?: Component | string;
|
|
8
10
|
disabled?: boolean;
|
|
9
|
-
variant?: "primary" | "secondary" | "tertiary" | "critical" |
|
|
11
|
+
variant?: "primary" | "secondary" | "tertiary" | "critical" | "action";
|
|
10
12
|
ghost?: boolean;
|
|
11
13
|
size?: "x-small" | "small" | "default" | "large";
|
|
12
14
|
square?: boolean;
|
|
13
15
|
block?: boolean;
|
|
14
16
|
link?: string;
|
|
15
17
|
isLoading?: boolean;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}> & {
|
|
28
|
-
default: null;
|
|
29
|
-
iconFront: {
|
|
30
|
-
size: number;
|
|
31
|
-
};
|
|
32
|
-
iconBack: {
|
|
33
|
-
size: number;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
refs: {};
|
|
37
|
-
rootEl: any;
|
|
38
|
-
};
|
|
39
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
40
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
+
is?: Component | string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
variant?: "primary" | "secondary" | "tertiary" | "critical" | "action";
|
|
22
|
+
ghost?: boolean;
|
|
23
|
+
size?: "x-small" | "small" | "default" | "large";
|
|
24
|
+
square?: boolean;
|
|
25
|
+
block?: boolean;
|
|
26
|
+
link?: string;
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
}> & Readonly<{}>, {
|
|
41
29
|
size: "x-small" | "small" | "default" | "large";
|
|
42
30
|
link: string;
|
|
43
31
|
is: Component | string;
|
|
44
|
-
variant: "primary" | "secondary" | "tertiary" | "critical" |
|
|
45
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
46
|
-
|
|
32
|
+
variant: "primary" | "secondary" | "tertiary" | "critical" | "action";
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
34
|
+
default: null;
|
|
35
|
+
iconFront: {
|
|
36
|
+
size: number;
|
|
37
|
+
};
|
|
38
|
+
iconBack: {
|
|
39
|
+
size: number;
|
|
40
|
+
};
|
|
41
|
+
}> & {
|
|
42
|
+
default: null;
|
|
43
|
+
iconFront: {
|
|
44
|
+
size: number;
|
|
45
|
+
};
|
|
46
|
+
iconBack: {
|
|
47
|
+
size: number;
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
47
50
|
export default _default;
|
|
48
51
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
52
|
new (): {
|
package/dist/esm/MtButton.js
CHANGED
|
@@ -8,8 +8,11 @@ const _hoisted_1 = ["href", "tabindex"];
|
|
|
8
8
|
const _hoisted_2 = { class: "mt-button__content" };
|
|
9
9
|
const _hoisted_3 = { key: 0 };
|
|
10
10
|
const _hoisted_4 = { key: 1 };
|
|
11
|
+
const __default__ = {
|
|
12
|
+
name: "MtButton"
|
|
13
|
+
};
|
|
11
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
-
|
|
15
|
+
...__default__,
|
|
13
16
|
props: {
|
|
14
17
|
is: { default: "button" },
|
|
15
18
|
disabled: { type: Boolean },
|
|
@@ -90,8 +93,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
93
|
};
|
|
91
94
|
}
|
|
92
95
|
});
|
|
93
|
-
const
|
|
94
|
-
const MtButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const mtButton_vue_vue_type_style_index_0_scoped_3061df8a_lang = "";
|
|
97
|
+
const MtButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3061df8a"]]);
|
|
95
98
|
export {
|
|
96
99
|
MtButton as default
|
|
97
100
|
};
|
package/dist/esm/MtCard.js
CHANGED
|
@@ -19,7 +19,7 @@ import "../floating-ui.dom-3a2ca2f5.mjs";
|
|
|
19
19
|
import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
20
20
|
import "../index-431c2592.mjs";
|
|
21
21
|
import "./MtFieldCopyable.js";
|
|
22
|
-
import "../tooltip.directive-
|
|
22
|
+
import "../tooltip.directive-a5042569.mjs";
|
|
23
23
|
import "./MtHelpText.js";
|
|
24
24
|
import "../mt-switch.vue_vue_type_style_index_0_lang-4d293db9.mjs";
|
|
25
25
|
import "./MtFieldLabel.js";
|
|
@@ -27,7 +27,7 @@ import "./MtPopoverItem.js";
|
|
|
27
27
|
import "./MtButton.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 = ["aria-label"];
|
|
32
32
|
const _hoisted_2 = {
|
|
33
33
|
key: 0,
|
package/dist/esm/MtCheckbox.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
366
366
|
hasError(): boolean;
|
|
367
367
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
368
368
|
validation: {
|
|
369
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
369
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
370
370
|
required: false;
|
|
371
371
|
default: null;
|
|
372
372
|
};
|
|
@@ -377,7 +377,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
377
377
|
validateRule(value: unknown, rule: string): boolean;
|
|
378
378
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
379
379
|
validation: {
|
|
380
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
380
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
381
381
|
required: false;
|
|
382
382
|
default: null;
|
|
383
383
|
};
|
package/dist/esm/MtCheckbox.js
CHANGED
|
@@ -14,7 +14,7 @@ import "../useIsInsideTooltip-0c3bd290.mjs";
|
|
|
14
14
|
import "../index-431c2592.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 "./MtText.js";
|
|
20
20
|
const _sfc_main = defineComponent({
|
|
@@ -482,10 +482,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
482
482
|
error: Record<string, any>;
|
|
483
483
|
modelValue: string | null;
|
|
484
484
|
helpText: string;
|
|
485
|
+
hint: string | null;
|
|
485
486
|
isInheritanceField: boolean;
|
|
486
487
|
disableInheritanceToggle: boolean;
|
|
487
488
|
readonly: boolean;
|
|
488
|
-
hint: string | null;
|
|
489
489
|
zIndex: number | null;
|
|
490
490
|
colorOutput: "auto" | "hex" | "hsl" | "rgb";
|
|
491
491
|
alpha: boolean;
|
|
@@ -575,7 +575,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
575
575
|
hasError(): boolean;
|
|
576
576
|
}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
577
577
|
validation: {
|
|
578
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
578
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
579
579
|
required: false;
|
|
580
580
|
default: null;
|
|
581
581
|
};
|
|
@@ -586,7 +586,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
586
586
|
validateRule(value: unknown, rule: string): boolean;
|
|
587
587
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
588
588
|
validation: {
|
|
589
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
589
|
+
type: (BooleanConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
590
590
|
required: false;
|
|
591
591
|
default: null;
|
|
592
592
|
};
|
|
@@ -788,8 +788,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
788
788
|
"mt-field-hint": {
|
|
789
789
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
790
790
|
hideIcon?: boolean;
|
|
791
|
+
icon?: string;
|
|
791
792
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
792
793
|
hideIcon: boolean;
|
|
794
|
+
icon: string;
|
|
793
795
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
|
|
794
796
|
P: {};
|
|
795
797
|
B: {};
|
|
@@ -799,16 +801,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
799
801
|
Defaults: {};
|
|
800
802
|
}, Readonly<{
|
|
801
803
|
hideIcon?: boolean;
|
|
804
|
+
icon?: string;
|
|
802
805
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
803
806
|
hideIcon: boolean;
|
|
807
|
+
icon: string;
|
|
804
808
|
}>;
|
|
805
809
|
__isFragment?: never;
|
|
806
810
|
__isTeleport?: never;
|
|
807
811
|
__isSuspense?: never;
|
|
808
812
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
809
813
|
hideIcon?: boolean;
|
|
814
|
+
icon?: string;
|
|
810
815
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
811
816
|
hideIcon: boolean;
|
|
817
|
+
icon: string;
|
|
812
818
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
813
819
|
$slots: {
|
|
814
820
|
default?(_: {}): any;
|