@nmorph/nmorph-ui-kit 2.2.35 → 2.2.37
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/assets/icons/baseball.svg.js +28 -0
- package/dist/assets/icons/basketball.svg.js +21 -0
- package/dist/assets/icons/bowl.svg.js +21 -0
- package/dist/assets/icons/box.svg.js +35 -0
- package/dist/assets/icons/briefcase.svg.js +21 -0
- package/dist/assets/icons/brush-filled.svg.js +21 -0
- package/dist/assets/icons/brush.svg.js +21 -0
- package/dist/assets/icons/camera-filled.svg.js +21 -0
- package/dist/assets/icons/chevron-double-left.svg.js +28 -0
- package/dist/assets/icons/chevron-double-right.svg.js +28 -0
- package/dist/assets/icons/chevron-double-up.svg.js +28 -0
- package/dist/assets/icons/chevron-left.svg.js +21 -0
- package/dist/assets/icons/chevron-right.svg.js +21 -0
- package/dist/assets/icons/chevron-up.svg.js +21 -0
- package/dist/assets/icons/chicken.svg.js +21 -0
- package/dist/assets/icons/clipboard-check.svg.js +25 -0
- package/dist/assets/icons/clipboard.svg.js +25 -0
- package/dist/assets/icons/close-bold.svg.js +21 -0
- package/dist/assets/icons/cold-drink.svg.js +21 -0
- package/dist/assets/icons/comment.svg.js +21 -0
- package/dist/assets/icons/database.svg.js +25 -0
- package/dist/assets/icons/drag-handle.svg.js +21 -0
- package/dist/assets/icons/external-link.svg.js +28 -0
- package/dist/assets/icons/filter-off.svg.js +28 -0
- package/dist/assets/icons/fingerprint.svg.js +44 -0
- package/dist/assets/icons/folder-remove.svg.js +21 -0
- package/dist/assets/icons/goblet.svg.js +21 -0
- package/dist/assets/icons/ice-tea.svg.js +21 -0
- package/dist/assets/icons/inbox.svg.js +25 -0
- package/dist/assets/icons/mail.svg.js +25 -0
- package/dist/assets/icons/odometer.svg.js +35 -0
- package/dist/assets/icons/open.svg.js +28 -0
- package/dist/assets/icons/pagination.svg.js +8 -0
- package/dist/assets/icons/redo.svg.js +21 -0
- package/dist/assets/icons/save.svg.js +25 -0
- package/dist/assets/icons/server.svg.js +32 -0
- package/dist/assets/icons/shield-check.svg.js +25 -0
- package/dist/assets/icons/shield.svg.js +25 -0
- package/dist/assets/icons/sliders.svg.js +31 -0
- package/dist/assets/icons/stopwatch.svg.js +28 -0
- package/dist/assets/icons/suitcase-line.svg.js +22 -0
- package/dist/assets/icons/undo.svg.js +21 -0
- package/dist/assets/icons/video-camera.svg.js +21 -0
- package/dist/components/basic/nmorph-button/NmorphButton.vue.js +10 -10
- package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +13 -13
- package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +3 -3
- package/dist/components/basic/nmorph-icon/NmorphIcons.js +617 -529
- package/dist/components/basic/nmorph-layout/NmorphLayout.css +1 -0
- package/dist/components/basic/nmorph-layout/NmorphLayout.vue.js +50 -0
- package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +29 -0
- package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +1 -1
- package/dist/components/basic/nmorph-scroll/NmorphScroll.css +1 -0
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +6 -4
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +1 -0
- package/dist/components/basic/nmorph-space/NmorphSpace.css +1 -0
- package/dist/components/basic/nmorph-space/NmorphSpace.vue.js +21 -0
- package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +41 -0
- package/dist/components/data/nmorph-avatar/NmorphAvatar.css +1 -1
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +15 -15
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +6 -6
- package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +37 -36
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +41 -40
- package/dist/components/data/nmorph-card/NmorphCard.vue2.js +15 -14
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +5 -9
- package/dist/components/data/nmorph-empty/NmorphEmpty.vue.js +3 -3
- package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +17 -14
- package/dist/components/data/nmorph-image/NmorphImage.css +1 -0
- package/dist/components/data/nmorph-image/NmorphImage.vue.js +14 -12
- package/dist/components/data/nmorph-image/NmorphImage.vue2.js +3 -2
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +36 -35
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +31 -31
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +36 -38
- package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +19 -18
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.css +1 -0
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue.js +59 -0
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +51 -0
- package/dist/components/data/nmorph-qr-code/qr-code.js +568 -0
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +1 -1
- package/dist/components/data/nmorph-table/NmorphTable.vue2.js +39 -43
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.css +1 -0
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue.js +86 -0
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +61 -0
- package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +1 -1
- package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +7 -6
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.css +1 -1
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.js +25 -20
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +37 -37
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.css +1 -0
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue.js +81 -0
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +48 -0
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +26 -25
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +30 -30
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +59 -64
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +5 -5
- package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +5 -5
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +20 -19
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.js +13 -13
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue2.js +28 -27
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +16 -16
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +20 -17
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +7 -7
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +2 -2
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +1 -1
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +3 -6
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +21 -21
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +92 -84
- package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +1 -1
- package/dist/components/form/nmorph-select/NmorphSelect.vue.js +5 -5
- package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +66 -74
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +4 -4
- package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +18 -17
- package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue2.js +1 -1
- package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +25 -24
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue.js +1 -1
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +22 -21
- package/dist/components/form/nmorph-text-input/NmorphTextInput.css +1 -0
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +4 -2
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +17 -19
- package/dist/components/form/nmorph-textarea/NmorphTextarea.css +1 -0
- package/dist/components/form/nmorph-textarea/NmorphTextarea.vue.js +41 -0
- package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +67 -0
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.css +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +43 -42
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +38 -28
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +32 -31
- package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue2.js +1 -1
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue2.js +1 -1
- package/dist/hooks/use-common-styles.js +18 -278
- package/dist/hooks/use-virtual-list.js +38 -32
- package/dist/icons.js +621 -533
- package/dist/index.es.js +780 -678
- package/dist/index.umd.js +25 -285
- package/dist/package.json.js +1 -1
- package/dist/src/components/basic/index.d.ts +2 -0
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +48 -3
- package/dist/src/components/basic/nmorph-layout/NmorphLayout.vue.d.ts +22 -0
- package/dist/src/components/basic/nmorph-space/NmorphSpace.vue.d.ts +33 -0
- package/dist/src/components/data/index.d.ts +4 -0
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-qr-code/NmorphQRCode.vue.d.ts +34 -0
- package/dist/src/components/data/nmorph-qr-code/qr-code.d.ts +12 -0
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue.d.ts +46 -0
- package/dist/src/components/data/nmorph-virtual-list/types.d.ts +4 -0
- package/dist/src/components/feedback/index.d.ts +1 -0
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +4 -4
- package/dist/src/components/feedback/nmorph-drawer/NmorphDrawer.vue.d.ts +40 -0
- package/dist/src/components/form/index.d.ts +1 -0
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +48 -0
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +1 -1
- package/dist/src/hooks/use-virtual-list.d.ts +6 -0
- package/dist/src/types/index.d.ts +2 -1
- package/dist/src/utils/common.d.ts +5 -0
- package/dist/src/utils/create-modifiers.d.ts +4 -2
- package/dist/style.css +1 -1
- package/dist/utils/common.js +9 -2
- package/dist/utils/create-modifiers.js +6 -6
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function c(l, e) {
|
|
7
|
+
return t(), o("svg", r, [...e[0] || (e[0] = [
|
|
8
|
+
n(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const s = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
s as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as a, createElementVNode as h } from "vue";
|
|
2
|
+
const o = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function n(r, e) {
|
|
7
|
+
return t(), a("svg", o, [...e[0] || (e[0] = [
|
|
8
|
+
h(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const v = { render: n };
|
|
18
|
+
export {
|
|
19
|
+
v as default,
|
|
20
|
+
n as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(d, e) {
|
|
7
|
+
return l(), o("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
t(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "M6 5h20l4 12v10H2V17Zm2.2 3-3 9H11l2 4h6l2-4h5.8l-3-9ZM4 19v6h24v-6h-5.8l-2 4h-8.4l-2-4Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const v = { render: r };
|
|
22
|
+
export {
|
|
23
|
+
v as default,
|
|
24
|
+
r as render
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(d, e) {
|
|
7
|
+
return t(), l("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
o(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "M4 7h24v18H4Zm2.8 2 9.2 7 9.2-7ZM26 11.1l-10 7.7-10-7.7V23h20Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const i = { render: r };
|
|
22
|
+
export {
|
|
23
|
+
i as default,
|
|
24
|
+
r as render
|
|
25
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as l, createElementVNode as e } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function r(a, t) {
|
|
7
|
+
return o(), l("svg", n, [...t[0] || (t[0] = [
|
|
8
|
+
e(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
),
|
|
15
|
+
e(
|
|
16
|
+
"path",
|
|
17
|
+
{ d: "M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0" },
|
|
18
|
+
null,
|
|
19
|
+
-1
|
|
20
|
+
/* CACHED */
|
|
21
|
+
),
|
|
22
|
+
e(
|
|
23
|
+
"path",
|
|
24
|
+
{ d: "M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928" },
|
|
25
|
+
null,
|
|
26
|
+
-1
|
|
27
|
+
/* CACHED */
|
|
28
|
+
)
|
|
29
|
+
])]);
|
|
30
|
+
}
|
|
31
|
+
const m = { render: r };
|
|
32
|
+
export {
|
|
33
|
+
m as default,
|
|
34
|
+
r as render
|
|
35
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { openBlock as n, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function a(l, e) {
|
|
7
|
+
return n(), o("svg", r, [...e[0] || (e[0] = [
|
|
8
|
+
t(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
),
|
|
15
|
+
t(
|
|
16
|
+
"path",
|
|
17
|
+
{ d: "M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088" },
|
|
18
|
+
null,
|
|
19
|
+
-1
|
|
20
|
+
/* CACHED */
|
|
21
|
+
)
|
|
22
|
+
])]);
|
|
23
|
+
}
|
|
24
|
+
const m = { render: a };
|
|
25
|
+
export {
|
|
26
|
+
m as default,
|
|
27
|
+
a as render
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function l(s, e) {
|
|
7
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
r(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M19 7h6l-6-6v4h-6C6.9 5 2 9.9 2 16s4.9 11 11 11h7v-3h-7c-4.4 0-8-3.6-8-8s3.6-8 8-8h6Z" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const d = { render: l };
|
|
18
|
+
export {
|
|
19
|
+
d as default,
|
|
20
|
+
l as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as l } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(v, e) {
|
|
7
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
l(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "M4 2h20l4 4v24H4Zm2 2v24h20V7.2L22.8 4H22v9H10V4Zm6 0v7h8V4Zm-2 16h12v8H10Zm2 2v4h8v-4Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const m = { render: r };
|
|
22
|
+
export {
|
|
23
|
+
m as default,
|
|
24
|
+
r as render
|
|
25
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { openBlock as r, createElementBlock as l, createElementVNode as t } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function o(v, e) {
|
|
7
|
+
return r(), l("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
t(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "M4 4h24v10H4Zm3 3v4h18V7ZM4 18h24v10H4Zm3 3v4h18v-4Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
),
|
|
19
|
+
t(
|
|
20
|
+
"path",
|
|
21
|
+
{ d: "M23 8v2h-2V8ZM23 22v2h-2v-2Z" },
|
|
22
|
+
null,
|
|
23
|
+
-1
|
|
24
|
+
/* CACHED */
|
|
25
|
+
)
|
|
26
|
+
])]);
|
|
27
|
+
}
|
|
28
|
+
const h = { render: o };
|
|
29
|
+
export {
|
|
30
|
+
h as default,
|
|
31
|
+
o as render
|
|
32
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(d, e) {
|
|
7
|
+
return t(), l("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
o(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "m16 2 11 4v8c0 7.4-4.6 12.8-11 16-6.4-3.2-11-8.6-11-16V6Zm0 3.2L8 8v6c0 5.8 3.2 10.2 8 12.8 4.8-2.6 8-7 8-12.8V8Zm-1.2 13.2-3.3-3.2L9.7 17l5.2 5 7.6-8.3-1.8-1.7Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const m = { render: r };
|
|
22
|
+
export {
|
|
23
|
+
m as default,
|
|
24
|
+
r as render
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as l } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(d, e) {
|
|
7
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
l(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
"fill-rule": "evenodd",
|
|
12
|
+
d: "m16 2 11 4v8c0 7.4-4.6 12.8-11 16-6.4-3.2-11-8.6-11-16V6Zm0 3.2L8 8v6c0 5.8 3.2 10.2 8 12.8 4.8-2.6 8-7 8-12.8V8Z",
|
|
13
|
+
"clip-rule": "evenodd"
|
|
14
|
+
},
|
|
15
|
+
null,
|
|
16
|
+
-1
|
|
17
|
+
/* CACHED */
|
|
18
|
+
)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const s = { render: r };
|
|
22
|
+
export {
|
|
23
|
+
s as default,
|
|
24
|
+
r as render
|
|
25
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { openBlock as n, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const l = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function r(s, e) {
|
|
7
|
+
return n(), o("svg", l, [...e[0] || (e[0] = [
|
|
8
|
+
t(
|
|
9
|
+
"path",
|
|
10
|
+
{
|
|
11
|
+
fill: "none",
|
|
12
|
+
d: "M5 8h7M20 8h7M5 16h13M26 16h1M5 24h5M18 24h9"
|
|
13
|
+
},
|
|
14
|
+
null,
|
|
15
|
+
-1
|
|
16
|
+
/* CACHED */
|
|
17
|
+
),
|
|
18
|
+
t(
|
|
19
|
+
"path",
|
|
20
|
+
{ d: "M16 4c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4M22 12c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4M14 20c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4" },
|
|
21
|
+
null,
|
|
22
|
+
-1
|
|
23
|
+
/* CACHED */
|
|
24
|
+
)
|
|
25
|
+
])]);
|
|
26
|
+
}
|
|
27
|
+
const h = { render: r };
|
|
28
|
+
export {
|
|
29
|
+
h as default,
|
|
30
|
+
r as render
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function l(a, t) {
|
|
7
|
+
return o(), n("svg", r, [...t[0] || (t[0] = [
|
|
8
|
+
e(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
),
|
|
15
|
+
e(
|
|
16
|
+
"path",
|
|
17
|
+
{ d: "M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z" },
|
|
18
|
+
null,
|
|
19
|
+
-1
|
|
20
|
+
/* CACHED */
|
|
21
|
+
)
|
|
22
|
+
])]);
|
|
23
|
+
}
|
|
24
|
+
const s = { render: l };
|
|
25
|
+
export {
|
|
26
|
+
s as default,
|
|
27
|
+
l as render
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { openBlock as c, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
"xml:space": "preserve",
|
|
5
|
+
viewBox: "0 0 1024 1024"
|
|
6
|
+
};
|
|
7
|
+
function o(s, e) {
|
|
8
|
+
return c(), t("svg", n, [...e[0] || (e[0] = [
|
|
9
|
+
r(
|
|
10
|
+
"path",
|
|
11
|
+
{ d: "M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z" },
|
|
12
|
+
null,
|
|
13
|
+
-1
|
|
14
|
+
/* CACHED */
|
|
15
|
+
)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const l = { render: o };
|
|
19
|
+
export {
|
|
20
|
+
l as default,
|
|
21
|
+
o as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 32 32"
|
|
5
|
+
};
|
|
6
|
+
function l(s, e) {
|
|
7
|
+
return t(), o("svg", r, [...e[0] || (e[0] = [
|
|
8
|
+
n(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M13 7H7l6-6v4h6c6.1 0 11 4.9 11 11s-4.9 11-11 11h-7v-3h7c4.4 0 8-3.6 8-8s-3.6-8-8-8h-6Z" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const d = { render: l };
|
|
18
|
+
export {
|
|
19
|
+
d as default,
|
|
20
|
+
l as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
viewBox: "0 0 1024 1024"
|
|
5
|
+
};
|
|
6
|
+
function a(l, e) {
|
|
7
|
+
return t(), o("svg", n, [...e[0] || (e[0] = [
|
|
8
|
+
r(
|
|
9
|
+
"path",
|
|
10
|
+
{ d: "M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z" },
|
|
11
|
+
null,
|
|
12
|
+
-1
|
|
13
|
+
/* CACHED */
|
|
14
|
+
)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const m = { render: a };
|
|
18
|
+
export {
|
|
19
|
+
m as default,
|
|
20
|
+
a as render
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './NmorphButton.css';
|
|
2
2
|
import d from "./NmorphButton.vue2.js";
|
|
3
|
-
import { openBlock as e, createElementBlock as r, normalizeStyle as s, normalizeClass as c, createElementVNode as m, createBlock as
|
|
3
|
+
import { openBlock as e, createElementBlock as r, normalizeStyle as s, normalizeClass as c, createElementVNode as m, createBlock as l, withCtx as a, createVNode as p, renderSlot as n, Fragment as f, createCommentVNode as i, toDisplayString as h } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import y from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
6
|
const _ = ["disabled", "loading", "type", "tabindex"], b = { key: 1 };
|
|
@@ -20,17 +20,17 @@ function k(t, N, g, o, S, B) {
|
|
|
20
20
|
type: o.props.type,
|
|
21
21
|
tabindex: o.props.tabindex
|
|
22
22
|
}, [
|
|
23
|
-
o.props.loading ? (e(),
|
|
23
|
+
o.props.loading ? (e(), l(o.NmorphIcon, {
|
|
24
24
|
key: 0,
|
|
25
25
|
size: o.loadingButtonSize
|
|
26
26
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
p(o.
|
|
27
|
+
default: a(() => [
|
|
28
|
+
p(o.NmorphIconLoader)
|
|
29
29
|
]),
|
|
30
30
|
_: 1
|
|
31
31
|
/* STABLE */
|
|
32
|
-
}, 8, ["size"])) : o.hasIconOnlySlot ? (e(),
|
|
33
|
-
default:
|
|
32
|
+
}, 8, ["size"])) : o.hasIconOnlySlot ? (e(), l(o.NmorphIcon, { key: 1 }, {
|
|
33
|
+
default: a(() => [
|
|
34
34
|
n(t.$slots, "icon-only")
|
|
35
35
|
]),
|
|
36
36
|
_: 3
|
|
@@ -39,13 +39,13 @@ function k(t, N, g, o, S, B) {
|
|
|
39
39
|
f,
|
|
40
40
|
{ key: 2 },
|
|
41
41
|
[
|
|
42
|
-
o.hasIconSlot ? (e(),
|
|
43
|
-
default:
|
|
42
|
+
o.hasIconSlot ? (e(), l(o.NmorphIcon, { key: 0 }, {
|
|
43
|
+
default: a(() => [
|
|
44
44
|
n(t.$slots, "icon")
|
|
45
45
|
]),
|
|
46
46
|
_: 3
|
|
47
47
|
/* FORWARDED */
|
|
48
|
-
})) :
|
|
48
|
+
})) : i("v-if", !0),
|
|
49
49
|
n(t.$slots, "default"),
|
|
50
50
|
o.props.text !== void 0 ? (e(), r(
|
|
51
51
|
"span",
|
|
@@ -53,7 +53,7 @@ function k(t, N, g, o, S, B) {
|
|
|
53
53
|
h(o.props.text),
|
|
54
54
|
1
|
|
55
55
|
/* TEXT */
|
|
56
|
-
)) :
|
|
56
|
+
)) : i("v-if", !0),
|
|
57
57
|
n(t.$slots, "append")
|
|
58
58
|
],
|
|
59
59
|
64
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './NmorphButton.css';
|
|
2
2
|
import { defineComponent as c, useSlots as m, computed as o, ref as h } from "vue";
|
|
3
3
|
import { NmorphComponentHeight as y } from "../../../types/index.js";
|
|
4
|
-
import { useModifiers as
|
|
5
|
-
import
|
|
4
|
+
import { useModifiers as b } from "../../../utils/create-modifiers.js";
|
|
5
|
+
import g from "../../../assets/icons/loading.svg.js";
|
|
6
6
|
import q from "../nmorph-icon/NmorphIcon.vue.js";
|
|
7
|
-
const
|
|
7
|
+
const x = /* @__PURE__ */ c({
|
|
8
8
|
__name: "NmorphButton",
|
|
9
9
|
props: {
|
|
10
10
|
styleType: { type: null, required: !1, default: "default" },
|
|
@@ -25,16 +25,16 @@ const $ = /* @__PURE__ */ c({
|
|
|
25
25
|
},
|
|
26
26
|
setup(i, { expose: u }) {
|
|
27
27
|
const e = i, t = m(), s = o(() => !!t.icon), r = o(() => !!t["icon-only"]), p = o(
|
|
28
|
-
() =>
|
|
29
|
-
nmorph: [y[e.height],
|
|
28
|
+
() => b({
|
|
29
|
+
nmorph: [y[e.height], e.fill && "fill"],
|
|
30
30
|
"nmorph-button": [
|
|
31
31
|
e.styleType,
|
|
32
32
|
e.shape,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
e.disabled && "disabled",
|
|
34
|
+
e.accentBgOnHover && "accent-bg-on-hover",
|
|
35
|
+
e.ripple && "ripple",
|
|
36
|
+
r.value && "icon-only",
|
|
37
|
+
e.color && "custom-color"
|
|
38
38
|
]
|
|
39
39
|
})
|
|
40
40
|
), l = h(null), n = {
|
|
@@ -49,12 +49,12 @@ const $ = /* @__PURE__ */ c({
|
|
|
49
49
|
u({ buttonDOMElement: l });
|
|
50
50
|
const a = { props: e, slots: t, hasIconSlot: s, hasIconOnlySlot: r, modifiers: p, buttonDOMElement: l, iconSizeMap: n, loadingButtonSize: d, buttonColorStyles: f, get NmorphIcon() {
|
|
51
51
|
return q;
|
|
52
|
-
}, get
|
|
53
|
-
return
|
|
52
|
+
}, get NmorphIconLoader() {
|
|
53
|
+
return g;
|
|
54
54
|
} };
|
|
55
55
|
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
x as default
|
|
60
60
|
};
|
|
@@ -14,9 +14,9 @@ const p = /* @__PURE__ */ h({
|
|
|
14
14
|
const e = r, d = i(
|
|
15
15
|
() => l({
|
|
16
16
|
"nmorph-icon": [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
!e.width && !e.height && e.size,
|
|
18
|
+
e.width && "custom-width",
|
|
19
|
+
e.height && "custom-height"
|
|
20
20
|
]
|
|
21
21
|
})
|
|
22
22
|
), n = i(() => {
|