@useinsider/guido 1.0.0-beta.f2786f4 → 1.0.0-beta.f2fcf4d
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/README.md +89 -166
- package/dist/@types/generic.d.ts +4 -1
- package/dist/components/Guido.vue.d.ts +0 -2
- package/dist/components/Guido.vue.js +7 -7
- package/dist/components/Guido.vue2.js +11 -18
- package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue.js +8 -8
- package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue2.js +6 -14
- package/dist/components/organisms/top-bar/HeaderRightSlot.vue.d.ts +1 -1
- package/dist/components/organisms/top-bar/HeaderRightSlot.vue.js +9 -9
- package/dist/components/organisms/top-bar/HeaderRightSlot.vue2.js +9 -7
- package/dist/composables/useStripo.d.ts +1 -1
- package/dist/composables/useStripo.js +24 -37
- package/dist/composables/useTemplates.d.ts +1 -1
- package/dist/enums/defaults.enum.d.ts +18 -0
- package/dist/guido.css +1 -1
- package/dist/library.d.ts +0 -1
- package/dist/stores/counter.d.ts +12 -0
- package/package.json +1 -1
- package/dist/components/organisms/top-bar/HeaderViewOptions.vue.d.ts +0 -2
- package/dist/components/organisms/top-bar/HeaderViewOptions.vue.js +0 -18
- package/dist/components/organisms/top-bar/HeaderViewOptions.vue2.js +0 -15
- package/dist/composables/useTranslations.js +0 -20
- package/dist/enums/defaults.d.ts +0 -2
- package/dist/enums/defaults.js +0 -6
- package/dist/guido.png +0 -0
- package/dist/node_modules/lodash-es/_Hash.js +0 -20
- package/dist/node_modules/lodash-es/_ListCache.js +0 -20
- package/dist/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/lodash-es/_MapCache.js +0 -20
- package/dist/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -10
- package/dist/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/lodash-es/_baseIsNative.js +0 -16
- package/dist/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/lodash-es/_getRawTag.js +0 -15
- package/dist/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -12
- package/dist/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/lodash-es/_toSource.js +0 -17
- package/dist/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/lodash-es/isFunction.js +0 -12
- package/dist/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/lodash-es/memoize.js +0 -18
- package/dist/node_modules/pinia/dist/pinia.js +0 -314
- package/dist/node_modules/pinia/node_modules/vue-demi/lib/index.js +0 -11
- package/dist/stores/editor.d.ts +0 -4
- package/dist/stores/editor.js +0 -10
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import r from "./HeaderViewOptions.vue2.js";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import s from "../../../_virtual/_plugin-vue2_normalizer.js";
|
|
4
|
-
var n = function() {
|
|
5
|
-
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
6
|
-
return o(e.InSegments, { attrs: { id: "guido__view-option-selection", "with-icon": "", "segment-list": e.segmentList, selected: e.editorStore.editorVisualMode } });
|
|
7
|
-
}, i = [], _ = /* @__PURE__ */ s(
|
|
8
|
-
r,
|
|
9
|
-
n,
|
|
10
|
-
i,
|
|
11
|
-
!1,
|
|
12
|
-
null,
|
|
13
|
-
"f67c82be"
|
|
14
|
-
);
|
|
15
|
-
const f = _.exports;
|
|
16
|
-
export {
|
|
17
|
-
f as default
|
|
18
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e } from "vue";
|
|
2
|
-
import { useEditorStore as t } from "../../../stores/editor.js";
|
|
3
|
-
import { InSegments as o } from "@useinsider/design-system-vue";
|
|
4
|
-
const a = /* @__PURE__ */ e({
|
|
5
|
-
__name: "HeaderViewOptions",
|
|
6
|
-
setup(n) {
|
|
7
|
-
return { __sfc: !0, editorStore: t(), segmentList: [
|
|
8
|
-
{ text: "", icon: "line-desktop", value: "desktop" },
|
|
9
|
-
{ text: "", icon: "line-menu-mobileapp", value: "mobile" }
|
|
10
|
-
], InSegments: o };
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
a as default
|
|
15
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import memoize from "../node_modules/lodash-es/memoize.js";
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
const useTranslations = () => {
|
|
4
|
-
const translations = ref(eval(window.GuidoConfig.translationsPath)), trans = (n, t) => {
|
|
5
|
-
const r = translations.value[n];
|
|
6
|
-
return r ? t ? Object.entries(t).reduce(
|
|
7
|
-
(e, [o, s]) => e.replace(new RegExp(`{${o}}`, "g"), String(s)),
|
|
8
|
-
r
|
|
9
|
-
) : r : (console.warn(`Translation key not found: ${n}`), n);
|
|
10
|
-
};
|
|
11
|
-
return {
|
|
12
|
-
trans: memoize(
|
|
13
|
-
trans,
|
|
14
|
-
(n, t) => !t || Object.keys(t).length === 0 ? n : JSON.stringify({ key: n, params: t })
|
|
15
|
-
)
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
useTranslations
|
|
20
|
-
};
|
package/dist/enums/defaults.d.ts
DELETED
package/dist/enums/defaults.js
DELETED
package/dist/guido.png
DELETED
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import p from "./_hashClear.js";
|
|
2
|
-
import a from "./_hashDelete.js";
|
|
3
|
-
import l from "./_hashGet.js";
|
|
4
|
-
import s from "./_hashHas.js";
|
|
5
|
-
import m from "./_hashSet.js";
|
|
6
|
-
function t(o) {
|
|
7
|
-
var e = -1, h = o == null ? 0 : o.length;
|
|
8
|
-
for (this.clear(); ++e < h; ) {
|
|
9
|
-
var r = o[e];
|
|
10
|
-
this.set(r[0], r[1]);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
t.prototype.clear = p;
|
|
14
|
-
t.prototype.delete = a;
|
|
15
|
-
t.prototype.get = l;
|
|
16
|
-
t.prototype.has = s;
|
|
17
|
-
t.prototype.set = m;
|
|
18
|
-
export {
|
|
19
|
-
t as default
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import p from "./_listCacheClear.js";
|
|
2
|
-
import a from "./_listCacheDelete.js";
|
|
3
|
-
import i from "./_listCacheGet.js";
|
|
4
|
-
import h from "./_listCacheHas.js";
|
|
5
|
-
import s from "./_listCacheSet.js";
|
|
6
|
-
function t(e) {
|
|
7
|
-
var o = -1, l = e == null ? 0 : e.length;
|
|
8
|
-
for (this.clear(); ++o < l; ) {
|
|
9
|
-
var r = e[o];
|
|
10
|
-
this.set(r[0], r[1]);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
t.prototype.clear = p;
|
|
14
|
-
t.prototype.delete = a;
|
|
15
|
-
t.prototype.get = i;
|
|
16
|
-
t.prototype.has = h;
|
|
17
|
-
t.prototype.set = s;
|
|
18
|
-
export {
|
|
19
|
-
t as default
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import r from "./_mapCacheClear.js";
|
|
2
|
-
import m from "./_mapCacheDelete.js";
|
|
3
|
-
import h from "./_mapCacheGet.js";
|
|
4
|
-
import l from "./_mapCacheHas.js";
|
|
5
|
-
import c from "./_mapCacheSet.js";
|
|
6
|
-
function e(t) {
|
|
7
|
-
var o = -1, a = t == null ? 0 : t.length;
|
|
8
|
-
for (this.clear(); ++o < a; ) {
|
|
9
|
-
var p = t[o];
|
|
10
|
-
this.set(p[0], p[1]);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
e.prototype.clear = r;
|
|
14
|
-
e.prototype.delete = m;
|
|
15
|
-
e.prototype.get = h;
|
|
16
|
-
e.prototype.has = l;
|
|
17
|
-
e.prototype.set = c;
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import t from "./_Symbol.js";
|
|
2
|
-
import e from "./_getRawTag.js";
|
|
3
|
-
import o from "./_objectToString.js";
|
|
4
|
-
var i = "[object Null]", f = "[object Undefined]", r = t ? t.toStringTag : void 0;
|
|
5
|
-
function m(n) {
|
|
6
|
-
return n == null ? n === void 0 ? f : i : r && r in Object(n) ? e(n) : o(n);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
m as default
|
|
10
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import o from "./isFunction.js";
|
|
2
|
-
import e from "./_isMasked.js";
|
|
3
|
-
import a from "./isObject.js";
|
|
4
|
-
import n from "./_toSource.js";
|
|
5
|
-
var p = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, c = Object.prototype, f = s.toString, m = c.hasOwnProperty, u = RegExp(
|
|
6
|
-
"^" + f.call(m).replace(p, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7
|
-
);
|
|
8
|
-
function O(r) {
|
|
9
|
-
if (!a(r) || e(r))
|
|
10
|
-
return !1;
|
|
11
|
-
var t = o(r) ? u : i;
|
|
12
|
-
return t.test(n(r));
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
O as default
|
|
16
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import e from "./_Symbol.js";
|
|
2
|
-
var o = Object.prototype, c = o.hasOwnProperty, f = o.toString, r = e ? e.toStringTag : void 0;
|
|
3
|
-
function p(t) {
|
|
4
|
-
var a = c.call(t, r), n = t[r];
|
|
5
|
-
try {
|
|
6
|
-
t[r] = void 0;
|
|
7
|
-
var i = !0;
|
|
8
|
-
} catch {
|
|
9
|
-
}
|
|
10
|
-
var g = f.call(t);
|
|
11
|
-
return i && (a ? t[r] = n : delete t[r]), g;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
p as default
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import e from "./_nativeCreate.js";
|
|
2
|
-
var n = "__lodash_hash_undefined__", o = Object.prototype, _ = o.hasOwnProperty;
|
|
3
|
-
function h(a) {
|
|
4
|
-
var r = this.__data__;
|
|
5
|
-
if (e) {
|
|
6
|
-
var t = r[a];
|
|
7
|
-
return t === n ? void 0 : t;
|
|
8
|
-
}
|
|
9
|
-
return _.call(r, a) ? r[a] : void 0;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
h as default
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import s from "./_assocIndexOf.js";
|
|
2
|
-
var i = Array.prototype, l = i.splice;
|
|
3
|
-
function n(r) {
|
|
4
|
-
var e = this.__data__, a = s(e, r);
|
|
5
|
-
if (a < 0)
|
|
6
|
-
return !1;
|
|
7
|
-
var t = e.length - 1;
|
|
8
|
-
return a == t ? e.pop() : l.call(e, a, 1), --this.size, !0;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
n as default
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import o from "./_baseGetTag.js";
|
|
2
|
-
import r from "./isObject.js";
|
|
3
|
-
var e = "[object AsyncFunction]", a = "[object Function]", c = "[object GeneratorFunction]", i = "[object Proxy]";
|
|
4
|
-
function g(n) {
|
|
5
|
-
if (!r(n))
|
|
6
|
-
return !1;
|
|
7
|
-
var t = o(n);
|
|
8
|
-
return t == a || t == c || t == e || t == i;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
g as default
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import h from "./_MapCache.js";
|
|
2
|
-
var p = "Expected a function";
|
|
3
|
-
function o(r, e) {
|
|
4
|
-
if (typeof r != "function" || e != null && typeof e != "function")
|
|
5
|
-
throw new TypeError(p);
|
|
6
|
-
var t = function() {
|
|
7
|
-
var c = arguments, n = e ? e.apply(this, c) : c[0], a = t.cache;
|
|
8
|
-
if (a.has(n))
|
|
9
|
-
return a.get(n);
|
|
10
|
-
var i = r.apply(this, c);
|
|
11
|
-
return t.cache = a.set(n, i) || a, i;
|
|
12
|
-
};
|
|
13
|
-
return t.cache = new (o.Cache || h)(), t;
|
|
14
|
-
}
|
|
15
|
-
o.Cache = h;
|
|
16
|
-
export {
|
|
17
|
-
o as default
|
|
18
|
-
};
|