@uzum-tech/ui 1.3.0 → 1.3.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.
- package/dist/index.js +40 -64
- package/dist/index.prod.js +1 -1
- package/es/_internal/icons/CheckmarkCircle.d.ts +2 -0
- package/es/_internal/icons/CheckmarkCircle.js +9 -0
- package/es/_internal/icons/DismissCircle.d.ts +2 -0
- package/es/_internal/icons/DismissCircle.js +9 -0
- package/es/_internal/icons/Edit.d.ts +2 -0
- package/es/_internal/icons/Edit.js +9 -0
- package/es/_internal/icons/index.d.ts +3 -0
- package/es/_internal/icons/index.js +3 -0
- package/es/steps/src/Step.js +1 -2
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/icons/CheckmarkCircle.d.ts +2 -0
- package/lib/_internal/icons/CheckmarkCircle.js +11 -0
- package/lib/_internal/icons/DismissCircle.d.ts +2 -0
- package/lib/_internal/icons/DismissCircle.js +11 -0
- package/lib/_internal/icons/Edit.d.ts +2 -0
- package/lib/_internal/icons/Edit.js +11 -0
- package/lib/_internal/icons/index.d.ts +3 -0
- package/lib/_internal/icons/index.js +7 -1
- package/lib/steps/src/Step.js +3 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h, defineComponent } from 'vue';
|
|
2
|
+
export default defineComponent({
|
|
3
|
+
name: 'CheckmarkCircle',
|
|
4
|
+
render() {
|
|
5
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
6
|
+
h("g", { fill: "none" },
|
|
7
|
+
h("path", { d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm-1.25 9.94l4.47-4.47a.75.75 0 0 1 1.133.976l-.073.084l-5 5a.75.75 0 0 1-.976.073l-.084-.073l-2.5-2.5a.75.75 0 0 1 .976-1.133l.084.073l1.97 1.97l4.47-4.47l-4.47 4.47z", fill: "currentColor" }))));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h, defineComponent } from 'vue';
|
|
2
|
+
export default defineComponent({
|
|
3
|
+
name: 'DismissCircle',
|
|
4
|
+
render() {
|
|
5
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
6
|
+
h("g", { fill: "none" },
|
|
7
|
+
h("path", { d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm3.446 4.897l.084.073a.75.75 0 0 1 .073.976l-.073.084L13.061 12l2.47 2.47a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L12 13.061l-2.47 2.47a.75.75 0 0 1-.976.072l-.084-.073a.75.75 0 0 1-.073-.976l.073-.084L10.939 12l-2.47-2.47a.75.75 0 0 1-.072-.976l.073-.084a.75.75 0 0 1 .976-.073l.084.073L12 10.939l2.47-2.47a.75.75 0 0 1 .976-.072z", fill: "currentColor" }))));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h, defineComponent } from 'vue';
|
|
2
|
+
export default defineComponent({
|
|
3
|
+
name: 'Edit',
|
|
4
|
+
render() {
|
|
5
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
6
|
+
h("g", { fill: "none" },
|
|
7
|
+
h("path", { d: "M21.03 2.97a3.578 3.578 0 0 1 0 5.06L9.062 20a2.25 2.25 0 0 1-.999.58l-5.116 1.395a.75.75 0 0 1-.92-.921l1.395-5.116a2.25 2.25 0 0 1 .58-.999L15.97 2.97a3.578 3.578 0 0 1 5.06 0zM15 6.06L5.062 16a.75.75 0 0 0-.193.333l-1.05 3.85l3.85-1.05A.75.75 0 0 0 8 18.938L17.94 9L15 6.06zm2.03-2.03l-.97.97L19 7.94l.97-.97a2.079 2.079 0 0 0-2.94-2.94z", fill: "currentColor" }))));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -44,3 +44,6 @@ export { default as ResizeSmallIcon } from './ResizeSmall';
|
|
|
44
44
|
export { default as InfoOutlineIcon } from './InfoOutline';
|
|
45
45
|
export { default as InactiveIcon } from './Inactive';
|
|
46
46
|
export { default as ClearSmallIcon } from './ClearSmall';
|
|
47
|
+
export { default as EditIcon } from './Edit';
|
|
48
|
+
export { default as CheckmarkCircleIcon } from './CheckmarkCircle';
|
|
49
|
+
export { default as DismissCircleIcon } from './DismissCircle';
|
|
@@ -44,3 +44,6 @@ export { default as ResizeSmallIcon } from './ResizeSmall';
|
|
|
44
44
|
export { default as InfoOutlineIcon } from './InfoOutline';
|
|
45
45
|
export { default as InactiveIcon } from './Inactive';
|
|
46
46
|
export { default as ClearSmallIcon } from './ClearSmall';
|
|
47
|
+
export { default as EditIcon } from './Edit';
|
|
48
|
+
export { default as CheckmarkCircleIcon } from './CheckmarkCircle';
|
|
49
|
+
export { default as DismissCircleIcon } from './DismissCircle';
|
package/es/steps/src/Step.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h, defineComponent, computed, inject } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { CheckmarkIcon as FinishedIcon, CloseIcon as ErrorIcon } from '../../_internal/icons';
|
|
2
|
+
import { EditIcon, CheckmarkIcon as FinishedIcon, CloseIcon as ErrorIcon, CheckmarkCircleIcon as HistoryFinishIcon, DismissCircleIcon as HistoryErrorIcon } from '../../_internal/icons';
|
|
4
3
|
import { UIconSwitchTransition, UBaseIcon } from '../../_internal';
|
|
5
4
|
import { call, createKey, resolveSlot, resolveWrappedSlot, throwError } from '../../_utils';
|
|
6
5
|
import { stepsInjectionKey } from './Steps';
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.3.
|
|
1
|
+
declare const _default: "1.3.1";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.3.
|
|
1
|
+
export default '1.3.1';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vue_1 = require("vue");
|
|
4
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
5
|
+
name: 'CheckmarkCircle',
|
|
6
|
+
render() {
|
|
7
|
+
return ((0, vue_1.h)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
8
|
+
(0, vue_1.h)("g", { fill: "none" },
|
|
9
|
+
(0, vue_1.h)("path", { d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm-1.25 9.94l4.47-4.47a.75.75 0 0 1 1.133.976l-.073.084l-5 5a.75.75 0 0 1-.976.073l-.084-.073l-2.5-2.5a.75.75 0 0 1 .976-1.133l.084.073l1.97 1.97l4.47-4.47l-4.47 4.47z", fill: "currentColor" }))));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vue_1 = require("vue");
|
|
4
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
5
|
+
name: 'DismissCircle',
|
|
6
|
+
render() {
|
|
7
|
+
return ((0, vue_1.h)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
8
|
+
(0, vue_1.h)("g", { fill: "none" },
|
|
9
|
+
(0, vue_1.h)("path", { d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm3.446 4.897l.084.073a.75.75 0 0 1 .073.976l-.073.084L13.061 12l2.47 2.47a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L12 13.061l-2.47 2.47a.75.75 0 0 1-.976.072l-.084-.073a.75.75 0 0 1-.073-.976l.073-.084L10.939 12l-2.47-2.47a.75.75 0 0 1-.072-.976l.073-.084a.75.75 0 0 1 .976-.073l.084.073L12 10.939l2.47-2.47a.75.75 0 0 1 .976-.072z", fill: "currentColor" }))));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vue_1 = require("vue");
|
|
4
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
5
|
+
name: 'Edit',
|
|
6
|
+
render() {
|
|
7
|
+
return ((0, vue_1.h)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
8
|
+
(0, vue_1.h)("g", { fill: "none" },
|
|
9
|
+
(0, vue_1.h)("path", { d: "M21.03 2.97a3.578 3.578 0 0 1 0 5.06L9.062 20a2.25 2.25 0 0 1-.999.58l-5.116 1.395a.75.75 0 0 1-.92-.921l1.395-5.116a2.25 2.25 0 0 1 .58-.999L15.97 2.97a3.578 3.578 0 0 1 5.06 0zM15 6.06L5.062 16a.75.75 0 0 0-.193.333l-1.05 3.85l3.85-1.05A.75.75 0 0 0 8 18.938L17.94 9L15 6.06zm2.03-2.03l-.97.97L19 7.94l.97-.97a2.079 2.079 0 0 0-2.94-2.94z", fill: "currentColor" }))));
|
|
10
|
+
}
|
|
11
|
+
});
|
|
@@ -44,3 +44,6 @@ export { default as ResizeSmallIcon } from './ResizeSmall';
|
|
|
44
44
|
export { default as InfoOutlineIcon } from './InfoOutline';
|
|
45
45
|
export { default as InactiveIcon } from './Inactive';
|
|
46
46
|
export { default as ClearSmallIcon } from './ClearSmall';
|
|
47
|
+
export { default as EditIcon } from './Edit';
|
|
48
|
+
export { default as CheckmarkCircleIcon } from './CheckmarkCircle';
|
|
49
|
+
export { default as DismissCircleIcon } from './DismissCircle';
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ClearSmallIcon = exports.InactiveIcon = exports.InfoOutlineIcon = exports.ResizeSmallIcon = exports.PhotoIcon = exports.FileIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.RotateCounterclockwiseIcon = exports.RotateClockwiseIcon = exports.ArrowBackIcon = exports.RetryIcon = exports.ToIcon = exports.ChevronDownFilledIcon = exports.ClearIcon = exports.ChevronDownIcon = exports.CancelIcon = exports.WarningIcon = exports.TimeIcon = exports.SwitcherIcon = exports.SuccessIcon = exports.SearchIcon = exports.RemoveIcon = exports.MoreIcon = exports.InfoIcon = exports.ForwardIcon = exports.FilterIcon = exports.FastForwardIcon = exports.FastBackwardIcon = exports.ErrorIcon = exports.EmptyIcon = exports.DownloadIcon = exports.TrashIcon = exports.EyeOffIcon = exports.EyeIcon = exports.CloseIcon = exports.ChevronDownOutline = exports.ChevronRightIcon = exports.ChevronLeftIcon = exports.CheckmarkIcon = exports.DateIcon = exports.BackwardIcon = exports.AttachIcon = exports.ArrowUpIcon = exports.ArrowDownIcon = exports.AddIcon = void 0;
|
|
6
|
+
exports.DismissCircleIcon = exports.CheckmarkCircleIcon = exports.EditIcon = exports.ClearSmallIcon = exports.InactiveIcon = exports.InfoOutlineIcon = exports.ResizeSmallIcon = exports.PhotoIcon = exports.FileIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.RotateCounterclockwiseIcon = exports.RotateClockwiseIcon = exports.ArrowBackIcon = exports.RetryIcon = exports.ToIcon = exports.ChevronDownFilledIcon = exports.ClearIcon = exports.ChevronDownIcon = exports.CancelIcon = exports.WarningIcon = exports.TimeIcon = exports.SwitcherIcon = exports.SuccessIcon = exports.SearchIcon = exports.RemoveIcon = exports.MoreIcon = exports.InfoIcon = exports.ForwardIcon = exports.FilterIcon = exports.FastForwardIcon = exports.FastBackwardIcon = exports.ErrorIcon = exports.EmptyIcon = exports.DownloadIcon = exports.TrashIcon = exports.EyeOffIcon = exports.EyeIcon = exports.CloseIcon = exports.ChevronDownOutline = exports.ChevronRightIcon = exports.ChevronLeftIcon = exports.CheckmarkIcon = exports.DateIcon = exports.BackwardIcon = exports.AttachIcon = exports.ArrowUpIcon = exports.ArrowDownIcon = exports.AddIcon = void 0;
|
|
7
7
|
var Add_1 = require("./Add");
|
|
8
8
|
Object.defineProperty(exports, "AddIcon", { enumerable: true, get: function () { return __importDefault(Add_1).default; } });
|
|
9
9
|
var ArrowDown_1 = require("./ArrowDown");
|
|
@@ -96,3 +96,9 @@ var Inactive_1 = require("./Inactive");
|
|
|
96
96
|
Object.defineProperty(exports, "InactiveIcon", { enumerable: true, get: function () { return __importDefault(Inactive_1).default; } });
|
|
97
97
|
var ClearSmall_1 = require("./ClearSmall");
|
|
98
98
|
Object.defineProperty(exports, "ClearSmallIcon", { enumerable: true, get: function () { return __importDefault(ClearSmall_1).default; } });
|
|
99
|
+
var Edit_1 = require("./Edit");
|
|
100
|
+
Object.defineProperty(exports, "EditIcon", { enumerable: true, get: function () { return __importDefault(Edit_1).default; } });
|
|
101
|
+
var CheckmarkCircle_1 = require("./CheckmarkCircle");
|
|
102
|
+
Object.defineProperty(exports, "CheckmarkCircleIcon", { enumerable: true, get: function () { return __importDefault(CheckmarkCircle_1).default; } });
|
|
103
|
+
var DismissCircle_1 = require("./DismissCircle");
|
|
104
|
+
Object.defineProperty(exports, "DismissCircleIcon", { enumerable: true, get: function () { return __importDefault(DismissCircle_1).default; } });
|
package/lib/steps/src/Step.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stepProps = void 0;
|
|
4
4
|
const vue_1 = require("vue");
|
|
5
|
-
const fluent_1 = require("@vicons/fluent");
|
|
6
5
|
const icons_1 = require("../../_internal/icons");
|
|
7
6
|
const _internal_1 = require("../../_internal");
|
|
8
7
|
const _utils_1 = require("../../_utils");
|
|
@@ -129,19 +128,19 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
129
128
|
const renderFinishIcon = (variant = 'default') => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "finish" }, {
|
|
130
129
|
default: () => variant === 'history'
|
|
131
130
|
? (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [
|
|
132
|
-
(0, vue_1.h)(
|
|
131
|
+
(0, vue_1.h)(icons_1.CheckmarkCircleIcon, null)
|
|
133
132
|
])
|
|
134
133
|
: (0, _utils_1.resolveSlot)(stepsSlots['finish-icon'], () => [(0, vue_1.h)(icons_1.CheckmarkIcon, null)])
|
|
135
134
|
}));
|
|
136
135
|
const renderErrorIcon = (variant = 'default') => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "error" }, {
|
|
137
136
|
default: () => variant === 'history'
|
|
138
137
|
? (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [
|
|
139
|
-
(0, vue_1.h)(
|
|
138
|
+
(0, vue_1.h)(icons_1.DismissCircleIcon, null)
|
|
140
139
|
])
|
|
141
140
|
: (0, _utils_1.resolveSlot)(stepsSlots['error-icon'], () => [(0, vue_1.h)(icons_1.CloseIcon, null)])
|
|
142
141
|
}));
|
|
143
142
|
const renderHistoryIcon = () => ((0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "history" }, {
|
|
144
|
-
default: () => (0, _utils_1.resolveSlot)(stepsSlots['history-icon'], () => [(0, vue_1.h)(
|
|
143
|
+
default: () => (0, _utils_1.resolveSlot)(stepsSlots['history-icon'], () => [(0, vue_1.h)(icons_1.EditIcon, null)])
|
|
145
144
|
}));
|
|
146
145
|
const renderInternalIndex = () => ((0, vue_1.h)("div", { key: props.internalIndex, class: `${mergedClsPrefixRef.value}-step-indicator-slot__index` }, props.internalIndex));
|
|
147
146
|
return {
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.3.
|
|
1
|
+
declare const _default: "1.3.1";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED