@madgex/design-system 3.9.2 → 3.9.4
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/coverage/cobertura-coverage.xml +21 -20
- package/coverage/components/accordion/accordion.js.html +7 -4
- package/coverage/components/accordion/index.html +5 -5
- package/coverage/components/button/button.js.html +1 -1
- package/coverage/components/button/index.html +1 -1
- package/coverage/components/inputs/combobox/combobox.js.html +1 -1
- package/coverage/components/inputs/combobox/index.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/ComboboxInput.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/ListBoxOption.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/index.html +1 -1
- package/coverage/components/inputs/file-upload/file-upload.js.html +1 -1
- package/coverage/components/inputs/file-upload/index.html +1 -1
- package/coverage/components/inputs/textarea/character-count.js.html +1 -1
- package/coverage/components/inputs/textarea/index.html +1 -1
- package/coverage/components/modal/index.html +1 -1
- package/coverage/components/modal/modal.js.html +1 -1
- package/coverage/components/notification/index.html +1 -1
- package/coverage/components/notification/notification.js.html +1 -1
- package/coverage/components/popover/index.html +1 -1
- package/coverage/components/popover/popover.js.html +1 -1
- package/coverage/components/switch-state/index.html +1 -1
- package/coverage/components/switch-state/switch-state.js.html +1 -1
- package/coverage/components/tabs/index.html +1 -1
- package/coverage/components/tabs/tabs.js.html +1 -1
- package/coverage/index.html +7 -7
- package/coverage/js/common.js.html +1 -1
- package/coverage/js/fractal-scripts/combobox.js.html +1 -1
- package/coverage/js/fractal-scripts/index.html +1 -1
- package/coverage/js/fractal-scripts/notification.js.html +1 -1
- package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
- package/coverage/js/index-fractal.js.html +1 -1
- package/coverage/js/index-polyfills.js.html +1 -1
- package/coverage/js/index-vue.js.html +1 -1
- package/coverage/js/index.html +1 -1
- package/coverage/js/index.js.html +1 -1
- package/coverage/js/polyfills/arrayPrototypeFind.js.html +1 -1
- package/coverage/js/polyfills/closest.js.html +1 -1
- package/coverage/js/polyfills/index.html +1 -1
- package/coverage/js/polyfills/objectAssign.js.html +1 -1
- package/coverage/js/polyfills/remove.js.html +1 -1
- package/coverage/tokens/_config.js.html +1 -1
- package/coverage/tokens/index.html +1 -1
- package/delivery/jenkinsfile +1 -0
- package/dist/_tokens/css/_tokens.css +1 -1
- package/dist/_tokens/js/_tokens-module.js +1 -1
- package/dist/_tokens/scss/_tokens.scss +1 -1
- package/dist/js/index.js +1 -1
- package/fractal.js +0 -5
- package/package.json +6 -8
- package/src/components/_import-MdsLibrary.njk +2 -2
- package/src/components/accordion/accordion.js +1 -0
- package/vue/index.es.js +176 -0
- package/vue/index.js +1 -176
- package/{src/components/pagination/vue-components → vue-lib/components}/MdsPagination.vue +2 -2
- package/vue-lib/lib.js +4 -0
- package/{vite-build → vue-lib}/package.json +1 -1
- package/{vite-build → vue-lib}/vite.config.js +4 -4
- package/vite-build/vue-lib.js +0 -4
- package/vue/index.cjs.js +0 -1
- /package/{src/components/icons/vue-components → vue-lib/components}/MdsIcon.vue +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vitejs/plugin-vue/LICENSE +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vitejs/plugin-vue/README.md +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vitejs/plugin-vue/dist/index.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vitejs/plugin-vue/dist/index.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vitejs/plugin-vue/package.json +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/LICENSE +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/README.md +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/index.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/package.json +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/LICENSE +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/README.md +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/compiler-sfc/index.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/compiler-sfc/index.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/compiler-sfc/index.mjs +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/compiler-sfc/package.json +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.cjs.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.cjs.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.esm-browser.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.esm-browser.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.esm-bundler.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.global.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.global.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.runtime.esm-browser.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.runtime.esm-browser.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.runtime.esm-bundler.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.runtime.global.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/dist/vue.runtime.global.prod.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/index.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/index.mjs +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/macros-global.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/macros.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/package.json +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/ref-macros.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/server-renderer/index.d.ts +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/server-renderer/index.js +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/server-renderer/index.mjs +0 -0
- /package/{vite-build → vue-lib}/node_modules/vue/server-renderer/package.json +0 -0
- /package/{vite-build → vue-lib}/utils.js +0 -0
- /package/{vite-build → vue-lib}/vue-dev.js +0 -0
package/fractal.js
CHANGED
|
@@ -96,11 +96,6 @@ madgexTheme.addLoadPath(`${__dirname}/fractal-theme/views`);
|
|
|
96
96
|
*/
|
|
97
97
|
madgexTheme.addStatic(`${__dirname}/fractal-theme/assets`, '/assets');
|
|
98
98
|
|
|
99
|
-
/**
|
|
100
|
-
* Add vue library to assets route
|
|
101
|
-
*/
|
|
102
|
-
madgexTheme.addStatic(`${__dirname}/vue`, '/assets/vue-library');
|
|
103
|
-
|
|
104
99
|
fractal.web.theme(madgexTheme);
|
|
105
100
|
|
|
106
101
|
/**
|
package/package.json
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"name": "@madgex/design-system",
|
|
3
3
|
"author": "Madgex",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"version": "3.9.
|
|
5
|
+
"version": "3.9.4",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"clean": "rimraf dist public tokens/build",
|
|
8
8
|
"commit": "commit",
|
|
9
9
|
"semantic-release": "semantic-release --prepare && semantic-release --publish",
|
|
10
10
|
"tokens": "style-dictionary --config ./src/tokens/_config.js build",
|
|
11
11
|
"dev": "concurrently \"cross-env NODE_ENV=development gulp dev\" \"npm run dev:vite\"",
|
|
12
|
-
"dev:vite": "npm run --prefix
|
|
12
|
+
"dev:vite": "npm run --prefix vue-lib dev:vite",
|
|
13
13
|
"debug": "node --inspect ./node_modules/.bin/gulp dev",
|
|
14
14
|
"build": "gulp build",
|
|
15
|
-
"build:vite": "npm run --prefix
|
|
15
|
+
"build:vite": "npm run --prefix vue-lib build:vite",
|
|
16
16
|
"build:icons": "svgo -f src/icons ./dist/assets/icons",
|
|
17
17
|
"build:webpack": "webpack",
|
|
18
18
|
"build:fractal": "fractal build",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"type": "git",
|
|
29
29
|
"url": "https://github.com/madgex/madgex-design-system"
|
|
30
30
|
},
|
|
31
|
-
"
|
|
31
|
+
"devDependencies": {
|
|
32
32
|
"@ctrl/tinycolor": "^3.4.0",
|
|
33
33
|
"@popperjs/core": "2.9.2",
|
|
34
34
|
"css-loader": "^5.2.6",
|
|
@@ -41,9 +41,7 @@
|
|
|
41
41
|
"style-loader": "^3.0.0",
|
|
42
42
|
"svgxuse": "^1.2.6",
|
|
43
43
|
"vue": "^2.6.14",
|
|
44
|
-
"vue-custom-element": "^3.3.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
44
|
+
"vue-custom-element": "^3.3.0",
|
|
47
45
|
"@babel/core": "^7.14.6",
|
|
48
46
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
49
47
|
"@babel/preset-env": "^7.14.7",
|
|
@@ -129,6 +127,6 @@
|
|
|
129
127
|
]
|
|
130
128
|
},
|
|
131
129
|
"workspaces": [
|
|
132
|
-
"
|
|
130
|
+
"vue-lib"
|
|
133
131
|
]
|
|
134
132
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% if isDev %}
|
|
2
|
-
import * as MdsLibrary from 'http://localhost:8111/
|
|
2
|
+
import * as MdsLibrary from 'http://localhost:8111/lib.js';
|
|
3
3
|
{% else %}
|
|
4
4
|
// es convention does not automatically import `index.js` from a folder name (nodejs does this)
|
|
5
|
-
import * as MdsLibrary from '/assets/vue
|
|
5
|
+
import * as MdsLibrary from '/assets/vue/index.es.js';
|
|
6
6
|
{% endif %}
|
|
7
7
|
import * as vue from 'vue';
|
|
@@ -96,6 +96,7 @@ const accordion = {
|
|
|
96
96
|
accordionTriggerButton.classList.add('mds-button--plain');
|
|
97
97
|
accordionTriggerButton.classList.add('mds-padding-x-b0');
|
|
98
98
|
accordionTriggerButton.setAttribute('aria-expanded', false);
|
|
99
|
+
accordionTriggerButton.setAttribute('type', 'button');
|
|
99
100
|
if (accordionTriggerSpan) {
|
|
100
101
|
accordionTriggerButton.appendChild(accordionTriggerSpan);
|
|
101
102
|
}
|
package/vue/index.es.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createCommentVNode, createBlock, createTextVNode } from "vue";
|
|
2
|
+
const _hoisted_1$1 = ["href"];
|
|
3
|
+
const _hoisted_2$1 = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "mds-visually-hidden"
|
|
6
|
+
};
|
|
7
|
+
const _sfc_main$1 = {
|
|
8
|
+
props: {
|
|
9
|
+
iconName: { type: String, required: true, default: "" },
|
|
10
|
+
classes: { type: String, default: "" },
|
|
11
|
+
path: { type: String, default: "" },
|
|
12
|
+
visuallyHiddenLabel: { type: String, default: "" },
|
|
13
|
+
hasContainer: { type: Boolean, default: false },
|
|
14
|
+
containerClasses: { type: String, default: "" }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const hasContainerClasses = computed(() => {
|
|
19
|
+
return props.hasContainer ? `mds-icon-container ${props.containerClasses}` : "";
|
|
20
|
+
});
|
|
21
|
+
const iconPath = computed(() => {
|
|
22
|
+
return `${props.path}#icon-${props.iconName}`;
|
|
23
|
+
});
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createElementBlock("span", {
|
|
26
|
+
class: normalizeClass(unref(hasContainerClasses))
|
|
27
|
+
}, [
|
|
28
|
+
(openBlock(), createElementBlock("svg", {
|
|
29
|
+
"aria-hidden": "true",
|
|
30
|
+
focusable: "false",
|
|
31
|
+
class: normalizeClass(["mds-icon", `mds-icon--${__props.iconName} ${__props.classes}`])
|
|
32
|
+
}, [
|
|
33
|
+
createElementVNode("use", { href: unref(iconPath) }, null, 8, _hoisted_1$1)
|
|
34
|
+
], 2)),
|
|
35
|
+
__props.visuallyHiddenLabel ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(__props.visuallyHiddenLabel), 1)) : createCommentVNode("", true)
|
|
36
|
+
], 2);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
function truncate(input, length = 255, killwords, end) {
|
|
41
|
+
if (input === null || input === void 0 || input === false) {
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
if (input.length <= length) {
|
|
45
|
+
return input;
|
|
46
|
+
}
|
|
47
|
+
let modifiedInput = input;
|
|
48
|
+
if (killwords) {
|
|
49
|
+
modifiedInput = modifiedInput.substring(0, length);
|
|
50
|
+
} else {
|
|
51
|
+
let idx = modifiedInput.lastIndexOf(" ", length);
|
|
52
|
+
if (idx === -1) {
|
|
53
|
+
idx = length;
|
|
54
|
+
}
|
|
55
|
+
modifiedInput = modifiedInput.substring(0, idx);
|
|
56
|
+
}
|
|
57
|
+
modifiedInput += end !== void 0 && end !== null ? end : "...";
|
|
58
|
+
return modifiedInput.toString();
|
|
59
|
+
}
|
|
60
|
+
const _hoisted_1 = ["aria-label"];
|
|
61
|
+
const _hoisted_2 = { class: "mds-float-left" };
|
|
62
|
+
const _hoisted_3 = ["href", "aria-label"];
|
|
63
|
+
const _hoisted_4 = {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "mds-float-left"
|
|
66
|
+
};
|
|
67
|
+
const _hoisted_5 = ["href", "aria-label"];
|
|
68
|
+
const _hoisted_6 = {
|
|
69
|
+
key: 1,
|
|
70
|
+
class: "mds-pagination__extra-label mds-display-none mds-display-lg-inline mds-padding-left-b3"
|
|
71
|
+
};
|
|
72
|
+
const _hoisted_7 = { key: 1 };
|
|
73
|
+
const _hoisted_8 = ["href", "aria-label"];
|
|
74
|
+
const _hoisted_9 = {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "mds-pagination__extra-label mds-display-none mds-display-md-inline mds-margin-right-b3"
|
|
77
|
+
};
|
|
78
|
+
const _sfc_main = {
|
|
79
|
+
props: {
|
|
80
|
+
prevUrl: { type: String, default: "" },
|
|
81
|
+
nextUrl: { type: String, default: "" },
|
|
82
|
+
backToUrl: { type: String, default: "" },
|
|
83
|
+
hideIcons: { type: Boolean, default: false },
|
|
84
|
+
classes: { type: String, default: "" },
|
|
85
|
+
prevExtraLabel: { type: String, defult: "" },
|
|
86
|
+
nextExtraLabel: { type: String, default: "" },
|
|
87
|
+
i18n: { type: Object, default: null }
|
|
88
|
+
},
|
|
89
|
+
setup(__props) {
|
|
90
|
+
const props = __props;
|
|
91
|
+
const navAriaLabel = computed(() => {
|
|
92
|
+
var _a, _b;
|
|
93
|
+
return (_b = (_a = props.i18n) == null ? void 0 : _a.navAriaLabel) != null ? _b : "Pagination";
|
|
94
|
+
});
|
|
95
|
+
const backToLabel = computed(() => {
|
|
96
|
+
var _a, _b;
|
|
97
|
+
return (_b = (_a = props.i18n) == null ? void 0 : _a.backToLabel) != null ? _b : "Results";
|
|
98
|
+
});
|
|
99
|
+
const backToAriaLabel = computed(() => {
|
|
100
|
+
var _a, _b;
|
|
101
|
+
return (_b = (_a = props.i18n) == null ? void 0 : _a.backToAriaLabel) != null ? _b : "Back to results";
|
|
102
|
+
});
|
|
103
|
+
const prevLabel = computed(() => {
|
|
104
|
+
var _a, _b;
|
|
105
|
+
return (_b = (_a = props.i18n) == null ? void 0 : _a.prevLabel) != null ? _b : "Previous";
|
|
106
|
+
});
|
|
107
|
+
const prevAriaLabel = computed(() => {
|
|
108
|
+
var _a, _b;
|
|
109
|
+
const ariaLabel = (_b = (_a = props.i18n) == null ? void 0 : _a.prevAriaLabel) != null ? _b : "Previous Page";
|
|
110
|
+
return [ariaLabel, props.prevExtraLabel].filter((i) => !!i).join(" - ");
|
|
111
|
+
});
|
|
112
|
+
const nextLabel = computed(() => {
|
|
113
|
+
var _a, _b;
|
|
114
|
+
return (_b = (_a = props.i18n) == null ? void 0 : _a.nextLabel) != null ? _b : "Next";
|
|
115
|
+
});
|
|
116
|
+
const nextAriaLabel = computed(() => {
|
|
117
|
+
var _a, _b;
|
|
118
|
+
const ariaLabel = (_b = (_a = props.i18n) == null ? void 0 : _a.nextAriaLabel) != null ? _b : "Next Page";
|
|
119
|
+
return [ariaLabel, props.nextExtraLabel].filter((i) => !!i).join(" - ");
|
|
120
|
+
});
|
|
121
|
+
return (_ctx, _cache) => {
|
|
122
|
+
return openBlock(), createElementBlock("nav", { "aria-label": unref(navAriaLabel) }, [
|
|
123
|
+
createElementVNode("ul", {
|
|
124
|
+
class: normalizeClass(["mds-pagination mds-text-align-right", __props.classes])
|
|
125
|
+
}, [
|
|
126
|
+
createElementVNode("li", _hoisted_2, [
|
|
127
|
+
__props.backToUrl && unref(backToLabel) ? (openBlock(), createElementBlock("a", {
|
|
128
|
+
key: 0,
|
|
129
|
+
class: "mds-pagination__link mds-pagination__link--back",
|
|
130
|
+
href: __props.backToUrl,
|
|
131
|
+
"aria-label": unref(backToAriaLabel)
|
|
132
|
+
}, [
|
|
133
|
+
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
134
|
+
key: 0,
|
|
135
|
+
"icon-name": "chevron-left",
|
|
136
|
+
classes: "mds-icon--before"
|
|
137
|
+
})) : createCommentVNode("", true),
|
|
138
|
+
createTextVNode(toDisplayString(unref(truncate)(unref(backToLabel), 40)), 1)
|
|
139
|
+
], 8, _hoisted_3)) : createCommentVNode("", true)
|
|
140
|
+
]),
|
|
141
|
+
__props.prevUrl && unref(prevLabel) ? (openBlock(), createElementBlock("li", _hoisted_4, [
|
|
142
|
+
createElementVNode("a", {
|
|
143
|
+
href: __props.prevUrl,
|
|
144
|
+
class: "mds-pagination__link mds-pagination__link--background",
|
|
145
|
+
"aria-label": unref(prevAriaLabel)
|
|
146
|
+
}, [
|
|
147
|
+
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
148
|
+
key: 0,
|
|
149
|
+
"icon-name": "chevron-left",
|
|
150
|
+
classes: "mds-icon--before"
|
|
151
|
+
})) : createCommentVNode("", true),
|
|
152
|
+
createElementVNode("span", null, toDisplayString(unref(prevLabel)), 1),
|
|
153
|
+
__props.prevExtraLabel ? (openBlock(), createElementBlock("strong", _hoisted_6, toDisplayString(unref(truncate)(__props.prevExtraLabel, 40)), 1)) : createCommentVNode("", true)
|
|
154
|
+
], 8, _hoisted_5)
|
|
155
|
+
])) : createCommentVNode("", true),
|
|
156
|
+
__props.nextUrl && unref(nextLabel) ? (openBlock(), createElementBlock("li", _hoisted_7, [
|
|
157
|
+
createElementVNode("a", {
|
|
158
|
+
href: __props.nextUrl,
|
|
159
|
+
class: "mds-pagination__link mds-pagination__link--background",
|
|
160
|
+
"aria-label": unref(nextAriaLabel)
|
|
161
|
+
}, [
|
|
162
|
+
__props.nextExtraLabel ? (openBlock(), createElementBlock("strong", _hoisted_9, toDisplayString(unref(truncate)(__props.nextExtraLabel, 40)), 1)) : createCommentVNode("", true),
|
|
163
|
+
createElementVNode("span", null, toDisplayString(unref(nextLabel)), 1),
|
|
164
|
+
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
165
|
+
key: 1,
|
|
166
|
+
"icon-name": "chevron-right",
|
|
167
|
+
classes: "mds-icon--after"
|
|
168
|
+
})) : createCommentVNode("", true)
|
|
169
|
+
], 8, _hoisted_8)
|
|
170
|
+
])) : createCommentVNode("", true)
|
|
171
|
+
], 2)
|
|
172
|
+
], 8, _hoisted_1);
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
export { _sfc_main$1 as MdsIcon, _sfc_main as MdsPagination };
|
package/vue/index.js
CHANGED
|
@@ -1,176 +1 @@
|
|
|
1
|
-
|
|
2
|
-
const _hoisted_1$1 = ["href"];
|
|
3
|
-
const _hoisted_2$1 = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "mds-visually-hidden"
|
|
6
|
-
};
|
|
7
|
-
const _sfc_main$1 = {
|
|
8
|
-
props: {
|
|
9
|
-
iconName: { type: String, required: true, default: "" },
|
|
10
|
-
classes: { type: String, default: "" },
|
|
11
|
-
path: { type: String, default: "" },
|
|
12
|
-
visuallyHiddenLabel: { type: String, default: "" },
|
|
13
|
-
hasContainer: { type: Boolean, default: false },
|
|
14
|
-
containerClasses: { type: String, default: "" }
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
const hasContainerClasses = computed(() => {
|
|
19
|
-
return props.hasContainer ? `mds-icon-container ${props.containerClasses}` : "";
|
|
20
|
-
});
|
|
21
|
-
const iconPath = computed(() => {
|
|
22
|
-
return `${props.path}#icon-${props.iconName}`;
|
|
23
|
-
});
|
|
24
|
-
return (_ctx, _cache) => {
|
|
25
|
-
return openBlock(), createElementBlock("span", {
|
|
26
|
-
class: normalizeClass(unref(hasContainerClasses))
|
|
27
|
-
}, [
|
|
28
|
-
(openBlock(), createElementBlock("svg", {
|
|
29
|
-
"aria-hidden": "true",
|
|
30
|
-
focusable: "false",
|
|
31
|
-
class: normalizeClass(["mds-icon", `mds-icon--${__props.iconName} ${__props.classes}`])
|
|
32
|
-
}, [
|
|
33
|
-
createElementVNode("use", { href: unref(iconPath) }, null, 8, _hoisted_1$1)
|
|
34
|
-
], 2)),
|
|
35
|
-
__props.visuallyHiddenLabel ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(__props.visuallyHiddenLabel), 1)) : createCommentVNode("", true)
|
|
36
|
-
], 2);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
function truncate(input, length = 255, killwords, end) {
|
|
41
|
-
if (input === null || input === void 0 || input === false) {
|
|
42
|
-
return "";
|
|
43
|
-
}
|
|
44
|
-
if (input.length <= length) {
|
|
45
|
-
return input;
|
|
46
|
-
}
|
|
47
|
-
let modifiedInput = input;
|
|
48
|
-
if (killwords) {
|
|
49
|
-
modifiedInput = modifiedInput.substring(0, length);
|
|
50
|
-
} else {
|
|
51
|
-
let idx = modifiedInput.lastIndexOf(" ", length);
|
|
52
|
-
if (idx === -1) {
|
|
53
|
-
idx = length;
|
|
54
|
-
}
|
|
55
|
-
modifiedInput = modifiedInput.substring(0, idx);
|
|
56
|
-
}
|
|
57
|
-
modifiedInput += end !== void 0 && end !== null ? end : "...";
|
|
58
|
-
return modifiedInput.toString();
|
|
59
|
-
}
|
|
60
|
-
const _hoisted_1 = ["aria-label"];
|
|
61
|
-
const _hoisted_2 = { class: "mds-float-left" };
|
|
62
|
-
const _hoisted_3 = ["href", "aria-label"];
|
|
63
|
-
const _hoisted_4 = {
|
|
64
|
-
key: 0,
|
|
65
|
-
class: "mds-float-left"
|
|
66
|
-
};
|
|
67
|
-
const _hoisted_5 = ["href", "aria-label"];
|
|
68
|
-
const _hoisted_6 = {
|
|
69
|
-
key: 1,
|
|
70
|
-
class: "mds-pagination__extra-label mds-display-none mds-display-lg-inline mds-padding-left-b3"
|
|
71
|
-
};
|
|
72
|
-
const _hoisted_7 = { key: 1 };
|
|
73
|
-
const _hoisted_8 = ["href", "aria-label"];
|
|
74
|
-
const _hoisted_9 = {
|
|
75
|
-
key: 0,
|
|
76
|
-
class: "mds-pagination__extra-label mds-display-none mds-display-md-inline mds-margin-right-b3"
|
|
77
|
-
};
|
|
78
|
-
const _sfc_main = {
|
|
79
|
-
props: {
|
|
80
|
-
prevUrl: { type: String, default: "" },
|
|
81
|
-
nextUrl: { type: String, default: "" },
|
|
82
|
-
backToUrl: { type: String, default: "" },
|
|
83
|
-
hideIcons: { type: Boolean, default: false },
|
|
84
|
-
classes: { type: String, default: "" },
|
|
85
|
-
prevExtraLabel: { type: String, defult: "" },
|
|
86
|
-
nextExtraLabel: { type: String, default: "" },
|
|
87
|
-
i18n: { type: Object, default: null }
|
|
88
|
-
},
|
|
89
|
-
setup(__props) {
|
|
90
|
-
const props = __props;
|
|
91
|
-
const navAriaLabel = computed(() => {
|
|
92
|
-
var _a, _b;
|
|
93
|
-
return (_b = (_a = props.i18n) == null ? void 0 : _a.navAriaLabel) != null ? _b : "Pagination";
|
|
94
|
-
});
|
|
95
|
-
const backToLabel = computed(() => {
|
|
96
|
-
var _a, _b;
|
|
97
|
-
return (_b = (_a = props.i18n) == null ? void 0 : _a.backToLabel) != null ? _b : "Results";
|
|
98
|
-
});
|
|
99
|
-
const backToAriaLabel = computed(() => {
|
|
100
|
-
var _a, _b;
|
|
101
|
-
return (_b = (_a = props.i18n) == null ? void 0 : _a.backToAriaLabel) != null ? _b : "Back to results";
|
|
102
|
-
});
|
|
103
|
-
const prevLabel = computed(() => {
|
|
104
|
-
var _a, _b;
|
|
105
|
-
return (_b = (_a = props.i18n) == null ? void 0 : _a.prevLabel) != null ? _b : "Previous";
|
|
106
|
-
});
|
|
107
|
-
const prevAriaLabel = computed(() => {
|
|
108
|
-
var _a, _b;
|
|
109
|
-
const ariaLabel = (_b = (_a = props.i18n) == null ? void 0 : _a.prevAriaLabel) != null ? _b : "Previous Page";
|
|
110
|
-
return [ariaLabel, props.prevExtraLabel].filter((i) => !!i).join(" - ");
|
|
111
|
-
});
|
|
112
|
-
const nextLabel = computed(() => {
|
|
113
|
-
var _a, _b;
|
|
114
|
-
return (_b = (_a = props.i18n) == null ? void 0 : _a.nextLabel) != null ? _b : "Next";
|
|
115
|
-
});
|
|
116
|
-
const nextAriaLabel = computed(() => {
|
|
117
|
-
var _a, _b;
|
|
118
|
-
const ariaLabel = (_b = (_a = props.i18n) == null ? void 0 : _a.nextAriaLabel) != null ? _b : "Next Page";
|
|
119
|
-
return [ariaLabel, props.nextExtraLabel].filter((i) => !!i).join(" - ");
|
|
120
|
-
});
|
|
121
|
-
return (_ctx, _cache) => {
|
|
122
|
-
return openBlock(), createElementBlock("nav", { "aria-label": unref(navAriaLabel) }, [
|
|
123
|
-
createElementVNode("ul", {
|
|
124
|
-
class: normalizeClass(["mds-pagination mds-text-align-right", __props.classes])
|
|
125
|
-
}, [
|
|
126
|
-
createElementVNode("li", _hoisted_2, [
|
|
127
|
-
__props.backToUrl && unref(backToLabel) ? (openBlock(), createElementBlock("a", {
|
|
128
|
-
key: 0,
|
|
129
|
-
class: "mds-pagination__link mds-pagination__link--back",
|
|
130
|
-
href: __props.backToUrl,
|
|
131
|
-
"aria-label": unref(backToAriaLabel)
|
|
132
|
-
}, [
|
|
133
|
-
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
134
|
-
key: 0,
|
|
135
|
-
"icon-name": "chevron-left",
|
|
136
|
-
classes: "mds-icon--before"
|
|
137
|
-
})) : createCommentVNode("", true),
|
|
138
|
-
createTextVNode(toDisplayString(unref(truncate)(unref(backToLabel), 40)), 1)
|
|
139
|
-
], 8, _hoisted_3)) : createCommentVNode("", true)
|
|
140
|
-
]),
|
|
141
|
-
__props.prevUrl && unref(prevLabel) ? (openBlock(), createElementBlock("li", _hoisted_4, [
|
|
142
|
-
createElementVNode("a", {
|
|
143
|
-
href: __props.prevUrl,
|
|
144
|
-
class: "mds-pagination__link mds-pagination__link--background",
|
|
145
|
-
"aria-label": unref(prevAriaLabel)
|
|
146
|
-
}, [
|
|
147
|
-
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
148
|
-
key: 0,
|
|
149
|
-
"icon-name": "chevron-left",
|
|
150
|
-
classes: "mds-icon--before"
|
|
151
|
-
})) : createCommentVNode("", true),
|
|
152
|
-
createElementVNode("span", null, toDisplayString(unref(prevLabel)), 1),
|
|
153
|
-
__props.prevExtraLabel ? (openBlock(), createElementBlock("strong", _hoisted_6, toDisplayString(unref(truncate)(__props.prevExtraLabel, 40)), 1)) : createCommentVNode("", true)
|
|
154
|
-
], 8, _hoisted_5)
|
|
155
|
-
])) : createCommentVNode("", true),
|
|
156
|
-
__props.nextUrl && unref(nextLabel) ? (openBlock(), createElementBlock("li", _hoisted_7, [
|
|
157
|
-
createElementVNode("a", {
|
|
158
|
-
href: __props.nextUrl,
|
|
159
|
-
class: "mds-pagination__link mds-pagination__link--background",
|
|
160
|
-
"aria-label": unref(nextAriaLabel)
|
|
161
|
-
}, [
|
|
162
|
-
__props.nextExtraLabel ? (openBlock(), createElementBlock("strong", _hoisted_9, toDisplayString(unref(truncate)(__props.nextExtraLabel, 40)), 1)) : createCommentVNode("", true),
|
|
163
|
-
createElementVNode("span", null, toDisplayString(unref(nextLabel)), 1),
|
|
164
|
-
!__props.hideIcons ? (openBlock(), createBlock(_sfc_main$1, {
|
|
165
|
-
key: 1,
|
|
166
|
-
"icon-name": "chevron-right",
|
|
167
|
-
classes: "mds-icon--after"
|
|
168
|
-
})) : createCommentVNode("", true)
|
|
169
|
-
], 8, _hoisted_8)
|
|
170
|
-
])) : createCommentVNode("", true)
|
|
171
|
-
], 2)
|
|
172
|
-
], 8, _hoisted_1);
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
};
|
|
176
|
-
export { _sfc_main$1 as MdsIcon, _sfc_main as MdsPagination };
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=require("vue");const g=["href"],p={key:0,class:"mds-visually-hidden"},d={props:{iconName:{type:String,required:!0,default:""},classes:{type:String,default:""},path:{type:String,default:""},visuallyHiddenLabel:{type:String,default:""},hasContainer:{type:Boolean,default:!1},containerClasses:{type:String,default:""}},setup(t){const n=t,s=e.computed(()=>n.hasContainer?`mds-icon-container ${n.containerClasses}`:""),o=e.computed(()=>`${n.path}#icon-${n.iconName}`);return(r,i)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s))},[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"true",focusable:"false",class:e.normalizeClass(["mds-icon",`mds-icon--${t.iconName} ${t.classes}`])},[e.createElementVNode("use",{href:e.unref(o)},null,8,g)],2)),t.visuallyHiddenLabel?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.visuallyHiddenLabel),1)):e.createCommentVNode("",!0)],2))}};function m(t,n=255,s,o){if(t==null||t===!1)return"";if(t.length<=n)return t;let r=t;if(s)r=r.substring(0,n);else{let i=r.lastIndexOf(" ",n);i===-1&&(i=n),r=r.substring(0,i)}return r+=o!=null?o:"...",r.toString()}const y=["aria-label"],h={class:"mds-float-left"},v=["href","aria-label"],x={key:0,class:"mds-float-left"},L=["href","aria-label"],B={key:1,class:"mds-pagination__extra-label mds-display-none mds-display-lg-inline mds-padding-left-b3"},E={key:1},N=["href","aria-label"],S={key:0,class:"mds-pagination__extra-label mds-display-none mds-display-md-inline mds-margin-right-b3"},C={props:{prevUrl:{type:String,default:""},nextUrl:{type:String,default:""},backToUrl:{type:String,default:""},hideIcons:{type:Boolean,default:!1},classes:{type:String,default:""},prevExtraLabel:{type:String,defult:""},nextExtraLabel:{type:String,default:""},i18n:{type:Object,default:null}},setup(t){const n=t,s=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.navAriaLabel)!=null?a:"Pagination"}),o=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.backToLabel)!=null?a:"Results"}),r=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.backToAriaLabel)!=null?a:"Back to results"}),i=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.prevLabel)!=null?a:"Previous"}),b=e.computed(()=>{var a,c;return[(c=(a=n.i18n)==null?void 0:a.prevAriaLabel)!=null?c:"Previous Page",n.prevExtraLabel].filter(u=>!!u).join(" - ")}),f=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.nextLabel)!=null?a:"Next"}),k=e.computed(()=>{var a,c;return[(c=(a=n.i18n)==null?void 0:a.nextAriaLabel)!=null?c:"Next Page",n.nextExtraLabel].filter(u=>!!u).join(" - ")});return(l,a)=>(e.openBlock(),e.createElementBlock("nav",{"aria-label":e.unref(s)},[e.createElementVNode("ul",{class:e.normalizeClass(["mds-pagination mds-text-align-right",t.classes])},[e.createElementVNode("li",h,[t.backToUrl&&e.unref(o)?(e.openBlock(),e.createElementBlock("a",{key:0,class:"mds-pagination__link mds-pagination__link--back",href:t.backToUrl,"aria-label":e.unref(r)},[t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0,"icon-name":"chevron-left",classes:"mds-icon--before"})),e.createTextVNode(e.toDisplayString(e.unref(m)(e.unref(o),40)),1)],8,v)):e.createCommentVNode("",!0)]),t.prevUrl&&e.unref(i)?(e.openBlock(),e.createElementBlock("li",x,[e.createElementVNode("a",{href:t.prevUrl,class:"mds-pagination__link mds-pagination__link--background","aria-label":e.unref(b)},[t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0,"icon-name":"chevron-left",classes:"mds-icon--before"})),e.createElementVNode("span",null,e.toDisplayString(e.unref(i)),1),t.prevExtraLabel?(e.openBlock(),e.createElementBlock("strong",B,e.toDisplayString(e.unref(m)(t.prevExtraLabel,40)),1)):e.createCommentVNode("",!0)],8,L)])):e.createCommentVNode("",!0),t.nextUrl&&e.unref(f)?(e.openBlock(),e.createElementBlock("li",E,[e.createElementVNode("a",{href:t.nextUrl,class:"mds-pagination__link mds-pagination__link--background","aria-label":e.unref(k)},[t.nextExtraLabel?(e.openBlock(),e.createElementBlock("strong",S,e.toDisplayString(e.unref(m)(t.nextExtraLabel,40)),1)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(f)),1),t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:1,"icon-name":"chevron-right",classes:"mds-icon--after"}))],8,N)])):e.createCommentVNode("",!0)],2)],8,y))}};exports.MdsIcon=d;exports.MdsPagination=C;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
42
|
import { computed } from 'vue';
|
|
43
|
-
import MdsIcon from '
|
|
44
|
-
import { truncate } from '
|
|
43
|
+
import MdsIcon from './MdsIcon.vue';
|
|
44
|
+
import { truncate } from '../utils';
|
|
45
45
|
|
|
46
46
|
// eslint-disable-next-line no-undef
|
|
47
47
|
const props = defineProps({
|
package/vue-lib/lib.js
ADDED
|
@@ -3,7 +3,7 @@ import path from 'path';
|
|
|
3
3
|
import { defineConfig } from 'vite';
|
|
4
4
|
import vue from '@vitejs/plugin-vue';
|
|
5
5
|
|
|
6
|
-
const vueLibPath = path.resolve(__dirname, './
|
|
6
|
+
const vueLibPath = path.resolve(__dirname, './lib.js');
|
|
7
7
|
|
|
8
8
|
export default defineConfig({
|
|
9
9
|
server: {
|
|
@@ -13,7 +13,7 @@ export default defineConfig({
|
|
|
13
13
|
resolve: {
|
|
14
14
|
alias: {
|
|
15
15
|
// make sure we use vue3 from this workspace, not the root vue2
|
|
16
|
-
vue: path.resolve(__dirname, './node_modules/vue'),
|
|
16
|
+
// vue: path.resolve(__dirname, './node_modules/vue'),
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
|
|
@@ -24,8 +24,8 @@ export default defineConfig({
|
|
|
24
24
|
name: 'MadgexDesignSystem',
|
|
25
25
|
formats: ['es', 'cjs'],
|
|
26
26
|
fileName: (format) => {
|
|
27
|
-
// nice import name for
|
|
28
|
-
if (format === '
|
|
27
|
+
// nice import name for cjs format: import * as MdsLibrary from '@madgex/design-system/vue';
|
|
28
|
+
if (format === 'cjs') return 'index.js';
|
|
29
29
|
return `index.${format}.js`;
|
|
30
30
|
},
|
|
31
31
|
},
|
package/vite-build/vue-lib.js
DELETED
package/vue/index.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=require("vue");const g=["href"],p={key:0,class:"mds-visually-hidden"},d={props:{iconName:{type:String,required:!0,default:""},classes:{type:String,default:""},path:{type:String,default:""},visuallyHiddenLabel:{type:String,default:""},hasContainer:{type:Boolean,default:!1},containerClasses:{type:String,default:""}},setup(t){const n=t,s=e.computed(()=>n.hasContainer?`mds-icon-container ${n.containerClasses}`:""),o=e.computed(()=>`${n.path}#icon-${n.iconName}`);return(r,i)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s))},[(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"true",focusable:"false",class:e.normalizeClass(["mds-icon",`mds-icon--${t.iconName} ${t.classes}`])},[e.createElementVNode("use",{href:e.unref(o)},null,8,g)],2)),t.visuallyHiddenLabel?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.visuallyHiddenLabel),1)):e.createCommentVNode("",!0)],2))}};function m(t,n=255,s,o){if(t==null||t===!1)return"";if(t.length<=n)return t;let r=t;if(s)r=r.substring(0,n);else{let i=r.lastIndexOf(" ",n);i===-1&&(i=n),r=r.substring(0,i)}return r+=o!=null?o:"...",r.toString()}const y=["aria-label"],h={class:"mds-float-left"},v=["href","aria-label"],x={key:0,class:"mds-float-left"},L=["href","aria-label"],B={key:1,class:"mds-pagination__extra-label mds-display-none mds-display-lg-inline mds-padding-left-b3"},E={key:1},N=["href","aria-label"],S={key:0,class:"mds-pagination__extra-label mds-display-none mds-display-md-inline mds-margin-right-b3"},C={props:{prevUrl:{type:String,default:""},nextUrl:{type:String,default:""},backToUrl:{type:String,default:""},hideIcons:{type:Boolean,default:!1},classes:{type:String,default:""},prevExtraLabel:{type:String,defult:""},nextExtraLabel:{type:String,default:""},i18n:{type:Object,default:null}},setup(t){const n=t,s=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.navAriaLabel)!=null?a:"Pagination"}),o=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.backToLabel)!=null?a:"Results"}),r=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.backToAriaLabel)!=null?a:"Back to results"}),i=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.prevLabel)!=null?a:"Previous"}),b=e.computed(()=>{var a,c;return[(c=(a=n.i18n)==null?void 0:a.prevAriaLabel)!=null?c:"Previous Page",n.prevExtraLabel].filter(u=>!!u).join(" - ")}),f=e.computed(()=>{var l,a;return(a=(l=n.i18n)==null?void 0:l.nextLabel)!=null?a:"Next"}),k=e.computed(()=>{var a,c;return[(c=(a=n.i18n)==null?void 0:a.nextAriaLabel)!=null?c:"Next Page",n.nextExtraLabel].filter(u=>!!u).join(" - ")});return(l,a)=>(e.openBlock(),e.createElementBlock("nav",{"aria-label":e.unref(s)},[e.createElementVNode("ul",{class:e.normalizeClass(["mds-pagination mds-text-align-right",t.classes])},[e.createElementVNode("li",h,[t.backToUrl&&e.unref(o)?(e.openBlock(),e.createElementBlock("a",{key:0,class:"mds-pagination__link mds-pagination__link--back",href:t.backToUrl,"aria-label":e.unref(r)},[t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0,"icon-name":"chevron-left",classes:"mds-icon--before"})),e.createTextVNode(e.toDisplayString(e.unref(m)(e.unref(o),40)),1)],8,v)):e.createCommentVNode("",!0)]),t.prevUrl&&e.unref(i)?(e.openBlock(),e.createElementBlock("li",x,[e.createElementVNode("a",{href:t.prevUrl,class:"mds-pagination__link mds-pagination__link--background","aria-label":e.unref(b)},[t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0,"icon-name":"chevron-left",classes:"mds-icon--before"})),e.createElementVNode("span",null,e.toDisplayString(e.unref(i)),1),t.prevExtraLabel?(e.openBlock(),e.createElementBlock("strong",B,e.toDisplayString(e.unref(m)(t.prevExtraLabel,40)),1)):e.createCommentVNode("",!0)],8,L)])):e.createCommentVNode("",!0),t.nextUrl&&e.unref(f)?(e.openBlock(),e.createElementBlock("li",E,[e.createElementVNode("a",{href:t.nextUrl,class:"mds-pagination__link mds-pagination__link--background","aria-label":e.unref(k)},[t.nextExtraLabel?(e.openBlock(),e.createElementBlock("strong",S,e.toDisplayString(e.unref(m)(t.nextExtraLabel,40)),1)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(f)),1),t.hideIcons?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:1,"icon-name":"chevron-right",classes:"mds-icon--after"}))],8,N)])):e.createCommentVNode("",!0)],2)],8,y))}};exports.MdsIcon=d;exports.MdsPagination=C;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js
RENAMED
|
File without changes
|
/package/{vite-build → vue-lib}/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|