@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.
Files changed (68) hide show
  1. package/README.md +89 -166
  2. package/dist/@types/generic.d.ts +4 -1
  3. package/dist/components/Guido.vue.d.ts +0 -2
  4. package/dist/components/Guido.vue.js +7 -7
  5. package/dist/components/Guido.vue2.js +11 -18
  6. package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue.js +8 -8
  7. package/dist/components/organisms/top-bar/HeaderMiddleSlot.vue2.js +6 -14
  8. package/dist/components/organisms/top-bar/HeaderRightSlot.vue.d.ts +1 -1
  9. package/dist/components/organisms/top-bar/HeaderRightSlot.vue.js +9 -9
  10. package/dist/components/organisms/top-bar/HeaderRightSlot.vue2.js +9 -7
  11. package/dist/composables/useStripo.d.ts +1 -1
  12. package/dist/composables/useStripo.js +24 -37
  13. package/dist/composables/useTemplates.d.ts +1 -1
  14. package/dist/enums/defaults.enum.d.ts +18 -0
  15. package/dist/guido.css +1 -1
  16. package/dist/library.d.ts +0 -1
  17. package/dist/stores/counter.d.ts +12 -0
  18. package/package.json +1 -1
  19. package/dist/components/organisms/top-bar/HeaderViewOptions.vue.d.ts +0 -2
  20. package/dist/components/organisms/top-bar/HeaderViewOptions.vue.js +0 -18
  21. package/dist/components/organisms/top-bar/HeaderViewOptions.vue2.js +0 -15
  22. package/dist/composables/useTranslations.js +0 -20
  23. package/dist/enums/defaults.d.ts +0 -2
  24. package/dist/enums/defaults.js +0 -6
  25. package/dist/guido.png +0 -0
  26. package/dist/node_modules/lodash-es/_Hash.js +0 -20
  27. package/dist/node_modules/lodash-es/_ListCache.js +0 -20
  28. package/dist/node_modules/lodash-es/_Map.js +0 -6
  29. package/dist/node_modules/lodash-es/_MapCache.js +0 -20
  30. package/dist/node_modules/lodash-es/_Symbol.js +0 -5
  31. package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -10
  32. package/dist/node_modules/lodash-es/_baseGetTag.js +0 -10
  33. package/dist/node_modules/lodash-es/_baseIsNative.js +0 -16
  34. package/dist/node_modules/lodash-es/_coreJsData.js +0 -5
  35. package/dist/node_modules/lodash-es/_freeGlobal.js +0 -4
  36. package/dist/node_modules/lodash-es/_getMapData.js +0 -8
  37. package/dist/node_modules/lodash-es/_getNative.js +0 -9
  38. package/dist/node_modules/lodash-es/_getRawTag.js +0 -15
  39. package/dist/node_modules/lodash-es/_getValue.js +0 -6
  40. package/dist/node_modules/lodash-es/_hashClear.js +0 -7
  41. package/dist/node_modules/lodash-es/_hashDelete.js +0 -7
  42. package/dist/node_modules/lodash-es/_hashGet.js +0 -13
  43. package/dist/node_modules/lodash-es/_hashHas.js +0 -9
  44. package/dist/node_modules/lodash-es/_hashSet.js +0 -9
  45. package/dist/node_modules/lodash-es/_isKeyable.js +0 -7
  46. package/dist/node_modules/lodash-es/_isMasked.js +0 -11
  47. package/dist/node_modules/lodash-es/_listCacheClear.js +0 -6
  48. package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -12
  49. package/dist/node_modules/lodash-es/_listCacheGet.js +0 -8
  50. package/dist/node_modules/lodash-es/_listCacheHas.js +0 -7
  51. package/dist/node_modules/lodash-es/_listCacheSet.js +0 -8
  52. package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -13
  53. package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  54. package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -7
  55. package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -7
  56. package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -8
  57. package/dist/node_modules/lodash-es/_nativeCreate.js +0 -5
  58. package/dist/node_modules/lodash-es/_objectToString.js +0 -7
  59. package/dist/node_modules/lodash-es/_root.js +0 -5
  60. package/dist/node_modules/lodash-es/_toSource.js +0 -17
  61. package/dist/node_modules/lodash-es/eq.js +0 -6
  62. package/dist/node_modules/lodash-es/isFunction.js +0 -12
  63. package/dist/node_modules/lodash-es/isObject.js +0 -7
  64. package/dist/node_modules/lodash-es/memoize.js +0 -18
  65. package/dist/node_modules/pinia/dist/pinia.js +0 -314
  66. package/dist/node_modules/pinia/node_modules/vue-demi/lib/index.js +0 -11
  67. package/dist/stores/editor.d.ts +0 -4
  68. 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
- };
@@ -1,2 +0,0 @@
1
- import type { GuidoConfig } from '@@/Types/generic';
2
- export declare const DefaultGuidoConfig: GuidoConfig;
@@ -1,6 +0,0 @@
1
- const n = {
2
- translationsPath: "window.trans.en"
3
- };
4
- export {
5
- n as DefaultGuidoConfig
6
- };
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,6 +0,0 @@
1
- import o from "./_getNative.js";
2
- import r from "./_root.js";
3
- var p = o(r, "Map");
4
- export {
5
- p as default
6
- };
@@ -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,5 +0,0 @@
1
- import o from "./_root.js";
2
- var m = o.Symbol;
3
- export {
4
- m as default
5
- };
@@ -1,10 +0,0 @@
1
- import r from "./eq.js";
2
- function o(t, n) {
3
- for (var e = t.length; e--; )
4
- if (r(t[e][0], n))
5
- return e;
6
- return -1;
7
- }
8
- export {
9
- o as default
10
- };
@@ -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,5 +0,0 @@
1
- import r from "./_root.js";
2
- var a = r["__core-js_shared__"];
3
- export {
4
- a as default
5
- };
@@ -1,4 +0,0 @@
1
- var l = typeof global == "object" && global && global.Object === Object && global;
2
- export {
3
- l as default
4
- };
@@ -1,8 +0,0 @@
1
- import e from "./_isKeyable.js";
2
- function n(r, a) {
3
- var t = r.__data__;
4
- return e(a) ? t[typeof a == "string" ? "string" : "hash"] : t.map;
5
- }
6
- export {
7
- n as default
8
- };
@@ -1,9 +0,0 @@
1
- import r from "./_baseIsNative.js";
2
- import i from "./_getValue.js";
3
- function f(t, a) {
4
- var e = i(t, a);
5
- return r(e) ? e : void 0;
6
- }
7
- export {
8
- f as default
9
- };
@@ -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,6 +0,0 @@
1
- function u(e, n) {
2
- return e == null ? void 0 : e[n];
3
- }
4
- export {
5
- u as default
6
- };
@@ -1,7 +0,0 @@
1
- import t from "./_nativeCreate.js";
2
- function e() {
3
- this.__data__ = t ? t(null) : {}, this.size = 0;
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,7 +0,0 @@
1
- function s(t) {
2
- var e = this.has(t) && delete this.__data__[t];
3
- return this.size -= e ? 1 : 0, e;
4
- }
5
- export {
6
- s as default
7
- };
@@ -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,9 +0,0 @@
1
- import r from "./_nativeCreate.js";
2
- var e = Object.prototype, o = e.hasOwnProperty;
3
- function p(t) {
4
- var a = this.__data__;
5
- return r ? a[t] !== void 0 : o.call(a, t);
6
- }
7
- export {
8
- p as default
9
- };
@@ -1,9 +0,0 @@
1
- import e from "./_nativeCreate.js";
2
- var h = "__lodash_hash_undefined__";
3
- function s(t, a) {
4
- var _ = this.__data__;
5
- return this.size += this.has(t) ? 0 : 1, _[t] = e && a === void 0 ? h : a, this;
6
- }
7
- export {
8
- s as default
9
- };
@@ -1,7 +0,0 @@
1
- function e(t) {
2
- var o = typeof t;
3
- return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? t !== "__proto__" : t === null;
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,11 +0,0 @@
1
- import e from "./_coreJsData.js";
2
- var a = function() {
3
- var r = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
4
- return r ? "Symbol(src)_1." + r : "";
5
- }();
6
- function t(r) {
7
- return !!a && a in r;
8
- }
9
- export {
10
- t as default
11
- };
@@ -1,6 +0,0 @@
1
- function t() {
2
- this.__data__ = [], this.size = 0;
3
- }
4
- export {
5
- t as default
6
- };
@@ -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,8 +0,0 @@
1
- import d from "./_assocIndexOf.js";
2
- function i(e) {
3
- var t = this.__data__, a = d(t, e);
4
- return a < 0 ? void 0 : t[a][1];
5
- }
6
- export {
7
- i as default
8
- };
@@ -1,7 +0,0 @@
1
- import a from "./_assocIndexOf.js";
2
- function e(t) {
3
- return a(this.__data__, t) > -1;
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,8 +0,0 @@
1
- import e from "./_assocIndexOf.js";
2
- function d(s, i) {
3
- var t = this.__data__, a = e(t, s);
4
- return a < 0 ? (++this.size, t.push([s, i])) : t[a][1] = i, this;
5
- }
6
- export {
7
- d as default
8
- };
@@ -1,13 +0,0 @@
1
- import a from "./_Hash.js";
2
- import t from "./_ListCache.js";
3
- import e from "./_Map.js";
4
- function o() {
5
- this.size = 0, this.__data__ = {
6
- hash: new a(),
7
- map: new (e || t)(),
8
- string: new a()
9
- };
10
- }
11
- export {
12
- o as default
13
- };
@@ -1,8 +0,0 @@
1
- import a from "./_getMapData.js";
2
- function i(e) {
3
- var t = a(this, e).delete(e);
4
- return this.size -= t ? 1 : 0, t;
5
- }
6
- export {
7
- i as default
8
- };
@@ -1,7 +0,0 @@
1
- import a from "./_getMapData.js";
2
- function r(t) {
3
- return a(this, t).get(t);
4
- }
5
- export {
6
- r as default
7
- };
@@ -1,7 +0,0 @@
1
- import t from "./_getMapData.js";
2
- function e(a) {
3
- return t(this, a).has(a);
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,8 +0,0 @@
1
- import s from "./_getMapData.js";
2
- function h(a, e) {
3
- var t = s(this, a), i = t.size;
4
- return t.set(a, e), this.size += t.size == i ? 0 : 1, this;
5
- }
6
- export {
7
- h as default
8
- };
@@ -1,5 +0,0 @@
1
- import e from "./_getNative.js";
2
- var a = e(Object, "create");
3
- export {
4
- a as default
5
- };
@@ -1,7 +0,0 @@
1
- var o = Object.prototype, r = o.toString;
2
- function e(t) {
3
- return r.call(t);
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,5 +0,0 @@
1
- import e from "./_freeGlobal.js";
2
- var t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
3
- export {
4
- r as default
5
- };
@@ -1,17 +0,0 @@
1
- var o = Function.prototype, n = o.toString;
2
- function e(t) {
3
- if (t != null) {
4
- try {
5
- return n.call(t);
6
- } catch {
7
- }
8
- try {
9
- return t + "";
10
- } catch {
11
- }
12
- }
13
- return "";
14
- }
15
- export {
16
- e as default
17
- };
@@ -1,6 +0,0 @@
1
- function t(n, f) {
2
- return n === f || n !== n && f !== f;
3
- }
4
- export {
5
- t as default
6
- };
@@ -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,7 +0,0 @@
1
- function n(t) {
2
- var e = typeof t;
3
- return t != null && (e == "object" || e == "function");
4
- }
5
- export {
6
- n as default
7
- };
@@ -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
- };