aloha-vue 2.87.0 → 2.87.1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/aloha-vue.css +13827 -13827
  3. package/dist/aloha-vue.es.js +60256 -60235
  4. package/dist/aloha-vue.umd.js +319 -319
  5. package/package.json +1 -1
  6. package/scss/components/ui/ACheckbox.scss +17 -17
  7. package/scss/components/ui/AInputFile.scss +15 -15
  8. package/scss/utils/border_radius.scss +61 -61
  9. package/src/AAlert/compositionAPI/IconAPI.js +28 -28
  10. package/src/ACloak/ACloak.js +135 -135
  11. package/src/ALoading/ALoading.js +146 -146
  12. package/src/AMenu/compositionAPI/ResizeAPI.js +1 -1
  13. package/src/AMenu/compositionAPI/__tests__/ResizeAPI.test.js +33 -0
  14. package/src/ASpinner/ASpinner.js +71 -71
  15. package/src/filters/i18n/ar.json +11 -11
  16. package/src/filters/i18n/de.json +11 -11
  17. package/src/filters/i18n/en.json +11 -11
  18. package/src/filters/i18n/es.json +11 -11
  19. package/src/filters/i18n/fr.json +11 -11
  20. package/src/filters/i18n/hr.json +10 -10
  21. package/src/filters/i18n/it.json +11 -11
  22. package/src/filters/i18n/nl.json +11 -11
  23. package/src/filters/i18n/pl.json +11 -11
  24. package/src/filters/i18n/ru.json +10 -10
  25. package/src/plugins/ACloakPlugin.js +26 -26
  26. package/src/plugins/AFormPlugin.js +18 -18
  27. package/src/plugins/AGroupButtonDropdownPlugin.js +26 -26
  28. package/src/plugins/AInputNumberPlugin.js +29 -29
  29. package/src/plugins/ALoadingPlugin.js +26 -26
  30. package/src/plugins/AModalPlugin.js +41 -41
  31. package/src/plugins/ARouterLinkConfigPlugin.js +88 -88
  32. package/src/plugins/ASpinnerPlugin.js +26 -26
  33. package/src/plugins/ATablePlugin.js +28 -28
  34. package/src/ui/ACheckbox/i18n/ar.json +5 -5
  35. package/src/ui/ACheckbox/i18n/de.json +5 -5
  36. package/src/ui/ACheckbox/i18n/en.json +5 -5
  37. package/src/ui/ACheckbox/i18n/es.json +5 -5
  38. package/src/ui/ACheckbox/i18n/fr.json +5 -5
  39. package/src/ui/ACheckbox/i18n/hr.json +5 -5
  40. package/src/ui/ACheckbox/i18n/it.json +5 -5
  41. package/src/ui/ACheckbox/i18n/nl.json +4 -4
  42. package/src/ui/ACheckbox/i18n/pl.json +4 -4
  43. package/src/ui/ACheckbox/i18n/ru.json +5 -5
  44. package/src/ui/AColorPicker/AColorPicker.js +15 -11
  45. package/src/ui/AColorPicker/__tests__/AColorPicker.test.js +41 -0
  46. package/src/ui/AColorPicker/compositionAPI/ClearAPI.js +23 -0
  47. package/src/ui/AColorPicker/compositionAPI/IdAPI.js +15 -0
  48. package/src/ui/ADatepicker/compositionAPI/PlaceholderAPI.js +32 -32
  49. package/src/ui/AMultiselectOrdered/compositionAPI/TextsAPI.js +55 -55
  50. package/src/ui/ASlider/__tests__/ASlider.Form.test.js +38 -0
  51. package/src/ui/AUiComponents.js +2 -0
  52. package/src/ui/__tests__/ReadonlyValueParentClass.test.js +217 -217
@@ -1,11 +1,11 @@
1
- {
2
- "_A_FILE_SIZE_B_": "Bajty",
3
- "_A_FILE_SIZE_KB_": "KB",
4
- "_A_FILE_SIZE_MB_": "MB",
5
- "_A_FILE_SIZE_GB_": "GB",
6
- "_A_FILE_SIZE_TB_": "TB",
7
- "_A_FILE_SIZE_PB_": "PB",
8
- "_A_FILE_SIZE_EB_": "EB",
9
- "_A_FILE_SIZE_ZB_": "ZB",
10
- "_A_FILE_SIZE_YB_": "YB"
11
- }
1
+ {
2
+ "_A_FILE_SIZE_B_": "Bajty",
3
+ "_A_FILE_SIZE_KB_": "KB",
4
+ "_A_FILE_SIZE_MB_": "MB",
5
+ "_A_FILE_SIZE_GB_": "GB",
6
+ "_A_FILE_SIZE_TB_": "TB",
7
+ "_A_FILE_SIZE_PB_": "PB",
8
+ "_A_FILE_SIZE_EB_": "EB",
9
+ "_A_FILE_SIZE_ZB_": "ZB",
10
+ "_A_FILE_SIZE_YB_": "YB"
11
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "_A_FILE_SIZE_B_": "Б",
3
- "_A_FILE_SIZE_KB_": "КБ",
4
- "_A_FILE_SIZE_MB_": "МБ",
5
- "_A_FILE_SIZE_GB_": "ГБ",
6
- "_A_FILE_SIZE_TB_": "ТБ",
7
- "_A_FILE_SIZE_PB_": "ПБ",
8
- "_A_FILE_SIZE_EB_": "ЭБ",
9
- "_A_FILE_SIZE_ZB_": "ЗБ",
10
- "_A_FILE_SIZE_YB_": "ИБ"
1
+ {
2
+ "_A_FILE_SIZE_B_": "Б",
3
+ "_A_FILE_SIZE_KB_": "КБ",
4
+ "_A_FILE_SIZE_MB_": "МБ",
5
+ "_A_FILE_SIZE_GB_": "ГБ",
6
+ "_A_FILE_SIZE_TB_": "ТБ",
7
+ "_A_FILE_SIZE_PB_": "ПБ",
8
+ "_A_FILE_SIZE_EB_": "ЭБ",
9
+ "_A_FILE_SIZE_ZB_": "ЗБ",
10
+ "_A_FILE_SIZE_YB_": "ИБ"
11
11
  }
@@ -1,26 +1,26 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const cloakPluginOptions = ref({
6
- propsDefault: {
7
- align: "center",
8
- extra: undefined,
9
- size: 6,
10
- tag: "div",
11
- text: "_A_CLOAK_LOADING_",
12
- textAlign: "right",
13
- },
14
- });
15
-
16
-
17
- export default {
18
- install: (app, {
19
- propsDefault = {},
20
- } = {}) => {
21
- cloakPluginOptions.value.propsDefault = {
22
- ...cloakPluginOptions.value.propsDefault,
23
- ...propsDefault,
24
- };
25
- },
26
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const cloakPluginOptions = ref({
6
+ propsDefault: {
7
+ align: "center",
8
+ extra: undefined,
9
+ size: 6,
10
+ tag: "div",
11
+ text: "_A_CLOAK_LOADING_",
12
+ textAlign: "right",
13
+ },
14
+ });
15
+
16
+
17
+ export default {
18
+ install: (app, {
19
+ propsDefault = {},
20
+ } = {}) => {
21
+ cloakPluginOptions.value.propsDefault = {
22
+ ...cloakPluginOptions.value.propsDefault,
23
+ ...propsDefault,
24
+ };
25
+ },
26
+ };
@@ -1,18 +1,18 @@
1
- export const AFormPluginOptions = {
2
- components: {},
3
- containerComponents: {},
4
- goToErrorCallback: undefined,
5
- };
6
-
7
-
8
- export default {
9
- install: (app, {
10
- components = {},
11
- containerComponents = {},
12
- goToErrorCallback,
13
- } = {}) => {
14
- AFormPluginOptions.components = components;
15
- AFormPluginOptions.containerComponents = containerComponents;
16
- AFormPluginOptions.goToErrorCallback = goToErrorCallback;
17
- },
18
- };
1
+ export const AFormPluginOptions = {
2
+ components: {},
3
+ containerComponents: {},
4
+ goToErrorCallback: undefined,
5
+ };
6
+
7
+
8
+ export default {
9
+ install: (app, {
10
+ components = {},
11
+ containerComponents = {},
12
+ goToErrorCallback,
13
+ } = {}) => {
14
+ AFormPluginOptions.components = components;
15
+ AFormPluginOptions.containerComponents = containerComponents;
16
+ AFormPluginOptions.goToErrorCallback = goToErrorCallback;
17
+ },
18
+ };
@@ -1,26 +1,26 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const groupButtonDropdownPluginOptions = ref({
6
- propsDefault: {
7
- actionsClasses: ["a_btn a_btn_primary", "a_btn a_btn_secondary"],
8
- dropdownAttributes: {},
9
- hasDividerBeforeDropdown: true,
10
- indexFirstDropdownAction: 1,
11
- indexFirstDropdownActionMobile: 0,
12
- minDropdownActions: 2,
13
- useActionClass: true,
14
- useDropdownActionClass: false,
15
- },
16
- });
17
- export default {
18
- install: (app, {
19
- propsDefault = {},
20
- } = {}) => {
21
- groupButtonDropdownPluginOptions.value.propsDefault = {
22
- ...groupButtonDropdownPluginOptions.value.propsDefault,
23
- ...propsDefault,
24
- };
25
- },
26
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const groupButtonDropdownPluginOptions = ref({
6
+ propsDefault: {
7
+ actionsClasses: ["a_btn a_btn_primary", "a_btn a_btn_secondary"],
8
+ dropdownAttributes: {},
9
+ hasDividerBeforeDropdown: true,
10
+ indexFirstDropdownAction: 1,
11
+ indexFirstDropdownActionMobile: 0,
12
+ minDropdownActions: 2,
13
+ useActionClass: true,
14
+ useDropdownActionClass: false,
15
+ },
16
+ });
17
+ export default {
18
+ install: (app, {
19
+ propsDefault = {},
20
+ } = {}) => {
21
+ groupButtonDropdownPluginOptions.value.propsDefault = {
22
+ ...groupButtonDropdownPluginOptions.value.propsDefault,
23
+ ...propsDefault,
24
+ };
25
+ },
26
+ };
@@ -1,29 +1,29 @@
1
- export const AInputNumberPluginOptions = {
2
- propsDefault: {
3
- controlsType: "plus-minus",
4
- eAllowed: false,
5
- iconPrepend: undefined,
6
- inputWidth: 200,
7
- isLabelFloat: false,
8
- max: undefined,
9
- min: undefined,
10
- modelUndefined: undefined,
11
- placeholder: undefined,
12
- precision: undefined,
13
- step: 1,
14
- stepStrictly: undefined,
15
- type: "number",
16
- },
17
- };
18
-
19
-
20
- export default {
21
- install: (app, {
22
- propsDefault = {},
23
- } = {}) => {
24
- AInputNumberPluginOptions.propsDefault = {
25
- ...AInputNumberPluginOptions.propsDefault,
26
- ...propsDefault,
27
- };
28
- },
29
- };
1
+ export const AInputNumberPluginOptions = {
2
+ propsDefault: {
3
+ controlsType: "plus-minus",
4
+ eAllowed: false,
5
+ iconPrepend: undefined,
6
+ inputWidth: 200,
7
+ isLabelFloat: false,
8
+ max: undefined,
9
+ min: undefined,
10
+ modelUndefined: undefined,
11
+ placeholder: undefined,
12
+ precision: undefined,
13
+ step: 1,
14
+ stepStrictly: undefined,
15
+ type: "number",
16
+ },
17
+ };
18
+
19
+
20
+ export default {
21
+ install: (app, {
22
+ propsDefault = {},
23
+ } = {}) => {
24
+ AInputNumberPluginOptions.propsDefault = {
25
+ ...AInputNumberPluginOptions.propsDefault,
26
+ ...propsDefault,
27
+ };
28
+ },
29
+ };
@@ -1,26 +1,26 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const loadingPluginOptions = ref({
6
- propsDefault: {
7
- align: "center",
8
- extra: undefined,
9
- size: 6,
10
- tag: "div",
11
- text: "_A_LOADING_LOADING_",
12
- textAlign: "right",
13
- },
14
- });
15
-
16
-
17
- export default {
18
- install: (app, {
19
- propsDefault = {},
20
- } = {}) => {
21
- loadingPluginOptions.value.propsDefault = {
22
- ...loadingPluginOptions.value.propsDefault,
23
- ...propsDefault,
24
- };
25
- },
26
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const loadingPluginOptions = ref({
6
+ propsDefault: {
7
+ align: "center",
8
+ extra: undefined,
9
+ size: 6,
10
+ tag: "div",
11
+ text: "_A_LOADING_LOADING_",
12
+ textAlign: "right",
13
+ },
14
+ });
15
+
16
+
17
+ export default {
18
+ install: (app, {
19
+ propsDefault = {},
20
+ } = {}) => {
21
+ loadingPluginOptions.value.propsDefault = {
22
+ ...loadingPluginOptions.value.propsDefault,
23
+ ...propsDefault,
24
+ };
25
+ },
26
+ };
@@ -1,41 +1,41 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const modalPluginOptions = ref({
6
- propsDefault: {
7
- closeButtonClass: "a_btn a_btn_secondary",
8
- closeButtonText: "_A_MODAL_BTN_CANCEL_",
9
- closeButtonTextScreenReaderFooter: "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_FOOTER_",
10
- closeButtonTextScreenReaderHeader: "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_HEADER_",
11
- headerTag: "h2",
12
- idPrefix: undefined,
13
- isCloseButtonHide: false,
14
- isDataFormHide: false,
15
- isDataFormRender: true,
16
- isFooterSticky: false,
17
- isRequired: false,
18
- isSaveButtonHide: false,
19
- modalClass: undefined,
20
- modalStyle: undefined,
21
- saveButtonClass: "a_btn a_btn_primary",
22
- saveButtonText: "_A_MODAL_BTN_SAVE_",
23
- saveButtonTextScreenReader: "_A_MODAL_BTN_TEXT_SCREEN_READER_SAVE_",
24
- selectorClose: undefined,
25
- selectorCloseIds: undefined,
26
- size: undefined,
27
- textRequired: undefined,
28
- teleportSelector: "body",
29
- useEscape: true,
30
- },
31
- });
32
- export default {
33
- install: (app, {
34
- propsDefault = {},
35
- } = {}) => {
36
- modalPluginOptions.value.propsDefault = {
37
- ...modalPluginOptions.value.propsDefault,
38
- ...propsDefault,
39
- };
40
- },
41
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const modalPluginOptions = ref({
6
+ propsDefault: {
7
+ closeButtonClass: "a_btn a_btn_secondary",
8
+ closeButtonText: "_A_MODAL_BTN_CANCEL_",
9
+ closeButtonTextScreenReaderFooter: "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_FOOTER_",
10
+ closeButtonTextScreenReaderHeader: "_A_MODAL_BTN_TEXT_SCREEN_READER_CLOSE_HEADER_",
11
+ headerTag: "h2",
12
+ idPrefix: undefined,
13
+ isCloseButtonHide: false,
14
+ isDataFormHide: false,
15
+ isDataFormRender: true,
16
+ isFooterSticky: false,
17
+ isRequired: false,
18
+ isSaveButtonHide: false,
19
+ modalClass: undefined,
20
+ modalStyle: undefined,
21
+ saveButtonClass: "a_btn a_btn_primary",
22
+ saveButtonText: "_A_MODAL_BTN_SAVE_",
23
+ saveButtonTextScreenReader: "_A_MODAL_BTN_TEXT_SCREEN_READER_SAVE_",
24
+ selectorClose: undefined,
25
+ selectorCloseIds: undefined,
26
+ size: undefined,
27
+ textRequired: undefined,
28
+ teleportSelector: "body",
29
+ useEscape: true,
30
+ },
31
+ });
32
+ export default {
33
+ install: (app, {
34
+ propsDefault = {},
35
+ } = {}) => {
36
+ modalPluginOptions.value.propsDefault = {
37
+ ...modalPluginOptions.value.propsDefault,
38
+ ...propsDefault,
39
+ };
40
+ },
41
+ };
@@ -1,88 +1,88 @@
1
- import {
2
- forEach,
3
- } from "lodash-es";
4
-
5
- export const ARouterLinkConfigPluginOptions = {
6
- propsDefault: {
7
- attributesFieldset: {},
8
- classColumn: "a_column a_column_12",
9
- classColumns: "a_columns a_columns_count_12 a_columns_gap_y_1",
10
- classFieldset: undefined,
11
- excludeRenderAttributes: [],
12
- extra: undefined,
13
- hasBorder: true,
14
- helpTextParam: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_PARAM_",
15
- helpTextRoute: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_ROUTE_",
16
- helpTextQuery: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_QUERY_",
17
- helpTextTarget: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_TARGET_",
18
- keyIdRoute: "name",
19
- keyLabelRoute: "path",
20
- labelClass: undefined,
21
- labelParam: "_A_ROUTER_LINK_CONFIG_LABEL_PARAM_",
22
- labelQuery: "_A_ROUTER_LINK_CONFIG_LABEL_QUERY_",
23
- labelRoute: "_A_ROUTER_LINK_CONFIG_LABEL_ROUTE_",
24
- labelTarget: "_A_ROUTER_LINK_CONFIG_LABEL_TARGET_",
25
- readonlyDefault: "",
26
- readonlyDefaultParam: undefined,
27
- readonlyDefaultQuery: undefined,
28
- readonlyDefaultRoute: undefined,
29
- readonlyDefaultTarget: undefined,
30
- routes: [],
31
- sortOrderRoute: "asc",
32
- targets: [
33
- {
34
- id: "_blank",
35
- label: "_A_TARGET_BLANK_",
36
- },
37
- {
38
- id: "_self",
39
- label: "_A_TARGET_SELF_",
40
- },
41
- {
42
- id: "_parent",
43
- label: "_A_TARGET_PARENT_",
44
- },
45
- {
46
- id: "_top",
47
- label: "_A_TARGET_TOP_",
48
- },
49
- ],
50
- },
51
- };
52
-
53
- function setRoutes({ routes = [], excludedPathRoutes = [] }) {
54
- const ROUTES = [];
55
- const EXCLUDED_PATH_ROUTES_MAP = {};
56
- if (excludedPathRoutes.length) {
57
- forEach(excludedPathRoutes, path => {
58
- EXCLUDED_PATH_ROUTES_MAP[path] = true;
59
- });
60
- }
61
- forEach(routes, route => {
62
- const PATH = route.path;
63
- if (route.name &&
64
- !EXCLUDED_PATH_ROUTES_MAP[PATH]) {
65
- ROUTES.push({
66
- path: route.path,
67
- name: route.name,
68
- meta: route.meta,
69
- });
70
- }
71
- });
72
-
73
- return ROUTES;
74
- }
75
-
76
-
77
- export default {
78
- install: (app, {
79
- propsDefault = {},
80
- excludedPathRoutes = [],
81
- } = {}) => {
82
- ARouterLinkConfigPluginOptions.propsDefault = {
83
- ...ARouterLinkConfigPluginOptions.propsDefault,
84
- ...propsDefault,
85
- routes: setRoutes({ routes: propsDefault.routes, excludedPathRoutes }),
86
- };
87
- },
88
- };
1
+ import {
2
+ forEach,
3
+ } from "lodash-es";
4
+
5
+ export const ARouterLinkConfigPluginOptions = {
6
+ propsDefault: {
7
+ attributesFieldset: {},
8
+ classColumn: "a_column a_column_12",
9
+ classColumns: "a_columns a_columns_count_12 a_columns_gap_y_1",
10
+ classFieldset: undefined,
11
+ excludeRenderAttributes: [],
12
+ extra: undefined,
13
+ hasBorder: true,
14
+ helpTextParam: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_PARAM_",
15
+ helpTextRoute: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_ROUTE_",
16
+ helpTextQuery: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_QUERY_",
17
+ helpTextTarget: "_A_ROUTER_LINK_CONFIG_HELP_TEXT_TARGET_",
18
+ keyIdRoute: "name",
19
+ keyLabelRoute: "path",
20
+ labelClass: undefined,
21
+ labelParam: "_A_ROUTER_LINK_CONFIG_LABEL_PARAM_",
22
+ labelQuery: "_A_ROUTER_LINK_CONFIG_LABEL_QUERY_",
23
+ labelRoute: "_A_ROUTER_LINK_CONFIG_LABEL_ROUTE_",
24
+ labelTarget: "_A_ROUTER_LINK_CONFIG_LABEL_TARGET_",
25
+ readonlyDefault: "",
26
+ readonlyDefaultParam: undefined,
27
+ readonlyDefaultQuery: undefined,
28
+ readonlyDefaultRoute: undefined,
29
+ readonlyDefaultTarget: undefined,
30
+ routes: [],
31
+ sortOrderRoute: "asc",
32
+ targets: [
33
+ {
34
+ id: "_blank",
35
+ label: "_A_TARGET_BLANK_",
36
+ },
37
+ {
38
+ id: "_self",
39
+ label: "_A_TARGET_SELF_",
40
+ },
41
+ {
42
+ id: "_parent",
43
+ label: "_A_TARGET_PARENT_",
44
+ },
45
+ {
46
+ id: "_top",
47
+ label: "_A_TARGET_TOP_",
48
+ },
49
+ ],
50
+ },
51
+ };
52
+
53
+ function setRoutes({ routes = [], excludedPathRoutes = [] }) {
54
+ const ROUTES = [];
55
+ const EXCLUDED_PATH_ROUTES_MAP = {};
56
+ if (excludedPathRoutes.length) {
57
+ forEach(excludedPathRoutes, path => {
58
+ EXCLUDED_PATH_ROUTES_MAP[path] = true;
59
+ });
60
+ }
61
+ forEach(routes, route => {
62
+ const PATH = route.path;
63
+ if (route.name &&
64
+ !EXCLUDED_PATH_ROUTES_MAP[PATH]) {
65
+ ROUTES.push({
66
+ path: route.path,
67
+ name: route.name,
68
+ meta: route.meta,
69
+ });
70
+ }
71
+ });
72
+
73
+ return ROUTES;
74
+ }
75
+
76
+
77
+ export default {
78
+ install: (app, {
79
+ propsDefault = {},
80
+ excludedPathRoutes = [],
81
+ } = {}) => {
82
+ ARouterLinkConfigPluginOptions.propsDefault = {
83
+ ...ARouterLinkConfigPluginOptions.propsDefault,
84
+ ...propsDefault,
85
+ routes: setRoutes({ routes: propsDefault.routes, excludedPathRoutes }),
86
+ };
87
+ },
88
+ };
@@ -1,26 +1,26 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const spinnerPluginOptions = ref({
6
- propsDefault: {
7
- ariaLabel: "_A_SPINNER_LOADING_",
8
- class: "a_spinner",
9
- extra: undefined,
10
- safeHtml: "",
11
- size: undefined,
12
- tag: "span",
13
- },
14
- });
15
-
16
-
17
- export default {
18
- install: (app, {
19
- propsDefault = {},
20
- } = {}) => {
21
- spinnerPluginOptions.value.propsDefault = {
22
- ...spinnerPluginOptions.value.propsDefault,
23
- ...propsDefault,
24
- };
25
- },
26
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const spinnerPluginOptions = ref({
6
+ propsDefault: {
7
+ ariaLabel: "_A_SPINNER_LOADING_",
8
+ class: "a_spinner",
9
+ extra: undefined,
10
+ safeHtml: "",
11
+ size: undefined,
12
+ tag: "span",
13
+ },
14
+ });
15
+
16
+
17
+ export default {
18
+ install: (app, {
19
+ propsDefault = {},
20
+ } = {}) => {
21
+ spinnerPluginOptions.value.propsDefault = {
22
+ ...spinnerPluginOptions.value.propsDefault,
23
+ ...propsDefault,
24
+ };
25
+ },
26
+ };
@@ -1,28 +1,28 @@
1
- import {
2
- ref,
3
- } from "vue";
4
-
5
- export const tablePluginOptions = ref({
6
- propsDefault: {
7
- borderType: "bordered",
8
- },
9
- config: {
10
- isHtmlTitleSort: false,
11
- },
12
- });
13
-
14
- export default {
15
- install: (app, {
16
- propsDefault = {},
17
- config = {},
18
- } = {}) => {
19
- tablePluginOptions.value.propsDefault = {
20
- ...tablePluginOptions.value.propsDefault,
21
- ...propsDefault,
22
- };
23
- tablePluginOptions.value.config = {
24
- ...tablePluginOptions.value.config,
25
- ...config,
26
- };
27
- },
28
- };
1
+ import {
2
+ ref,
3
+ } from "vue";
4
+
5
+ export const tablePluginOptions = ref({
6
+ propsDefault: {
7
+ borderType: "bordered",
8
+ },
9
+ config: {
10
+ isHtmlTitleSort: false,
11
+ },
12
+ });
13
+
14
+ export default {
15
+ install: (app, {
16
+ propsDefault = {},
17
+ config = {},
18
+ } = {}) => {
19
+ tablePluginOptions.value.propsDefault = {
20
+ ...tablePluginOptions.value.propsDefault,
21
+ ...propsDefault,
22
+ };
23
+ tablePluginOptions.value.config = {
24
+ ...tablePluginOptions.value.config,
25
+ ...config,
26
+ };
27
+ },
28
+ };