@bagelink/vue 1.4.32 → 1.4.34
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/components/Modal.vue.d.ts +2 -0
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/richTextTypes.d.ts +1 -1
- package/dist/components/form/inputs/RichText/richTextTypes.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/media.d.ts +1 -1
- package/dist/components/form/inputs/RichText/utils/media.d.ts.map +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/plugins/modalTypes.d.ts +1 -0
- package/dist/plugins/modalTypes.d.ts.map +1 -1
- package/dist/plugins/useModal.d.ts +20 -0
- package/dist/plugins/useModal.d.ts.map +1 -0
- package/dist/style.css +81 -111
- package/package.json +3 -3
- package/src/components/Modal.vue +3 -0
- package/src/components/ModalConfirm.vue +1 -1
- package/src/components/form/inputs/RichText/richTextTypes.ts +1 -1
- package/src/components/form/inputs/RichText/utils/media.ts +1 -1
- package/src/index.ts +1 -1
- package/src/plugins/modalTypes.ts +1 -0
- package/src/styles/inputs.css +1 -36
- package/src/styles/modal.css +81 -87
- /package/src/plugins/{modal.ts → useModal.ts} +0 -0
|
@@ -7,6 +7,7 @@ interface ModalProps {
|
|
|
7
7
|
dismissable?: boolean;
|
|
8
8
|
actions?: BtnOptions[];
|
|
9
9
|
visible?: boolean;
|
|
10
|
+
zIndex?: number;
|
|
10
11
|
}
|
|
11
12
|
declare function closeModal(): void;
|
|
12
13
|
declare function __VLS_template(): {
|
|
@@ -30,6 +31,7 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {
|
|
|
30
31
|
thin: boolean;
|
|
31
32
|
dismissable: boolean;
|
|
32
33
|
visible: boolean;
|
|
34
|
+
zIndex: number;
|
|
33
35
|
side: boolean;
|
|
34
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"AAyKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAc/C,OAAO,qBAAqB,CAAA;AAE5B,UAAU,UAAU;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CACf;AAiCD,iBAAS,UAAU,SAGlB;AA0BD,iBAAS,cAAc;WAmKT,OAAO,IAA6B;;yBAZrB,GAAG;yBACF,GAAG;wBACJ,GAAG;;;;EAe/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;UAhQb,OAAO;iBAIA,OAAO;aAEX,OAAO;YACR,MAAM;UANR,OAAO;wFAyQb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalConfirm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalConfirm.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,KAAK,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACjC,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"ModalConfirm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalConfirm.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,KAAK,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACjC,CAAC;;;;;;AAmIF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAmCA,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAzBC,CAAC;;;;;8FAIJ,CAAC;;;6BAErB,CAAC;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAmCA,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAzBC,CAAC;;;;;8FAIJ,CAAC;;;6BAErB,CAAC;;;;;;;;;;;;;;qDAJ+B,CAAC;;+CAGhC,CAAC;;;;2CAKJ,CAAC;;;gBAgSkB,QAAQ;;;0BAhOR,MAAM,GAAG,MAAM;;;;;;;;;EAuTlC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalApi } from '../../../../plugins/
|
|
1
|
+
import { ModalApi } from '../../../../plugins/useModal';
|
|
2
2
|
export interface EditorDebuggerInstance {
|
|
3
3
|
logCommand: (command: string, value: string | undefined, state: any) => void;
|
|
4
4
|
logPaste: (data: DataTransfer, state: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"richTextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/richTextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"richTextTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/richTextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAA;AAE5D,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IAC5E,QAAQ,EAAE,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CAAA;IACnB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;IACnB,KAAK,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,oBAAoB,CAAA;CAC5B;AAED,MAAM,MAAM,iBAAiB,GAC1B,MAAM,GACN,QAAQ,GACR,WAAW,GACX,aAAa,GACb,aAAa,GACb,eAAe,GACf,MAAM,GACN,OAAO,GACP,OAAO,GACP,OAAO,GACP,WAAW,GACX,UAAU,CAAA;AAEb,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAElE,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAA;AAExC,MAAM,MAAM,aAAa,GAAG,mBAAmB,EAAE,CAAA;AAEjD,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModalApi } from '../../../../../plugins/
|
|
1
|
+
import { ModalApi } from '../../../../../plugins/useModal';
|
|
2
2
|
import { EditorState } from '../richTextTypes';
|
|
3
3
|
export declare function insertImage(modal: ModalApi, state: EditorState): void;
|
|
4
4
|
export declare function insertLink(modal: ModalApi, state: EditorState): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/media.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/media.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAE/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,QA+C9D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,QAoB7D;AAED,MAAM,WAAW,oBAAoB;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE;AAEjH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,QA4D9D"}
|
package/dist/index.cjs
CHANGED
|
@@ -34948,7 +34948,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
34948
34948
|
width: {},
|
|
34949
34949
|
dismissable: { type: Boolean, default: true },
|
|
34950
34950
|
actions: {},
|
|
34951
|
-
visible: { type: Boolean, default: false }
|
|
34951
|
+
visible: { type: Boolean, default: false },
|
|
34952
|
+
zIndex: { default: 99 }
|
|
34952
34953
|
},
|
|
34953
34954
|
emits: ["update:visible"],
|
|
34954
34955
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -34993,6 +34994,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
34993
34994
|
return (_ctx, _cache) => {
|
|
34994
34995
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34995
34996
|
class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isVisible), "bg-lignt": false }]),
|
|
34997
|
+
style: vue.normalizeStyle({ zIndex: _ctx.zIndex }),
|
|
34996
34998
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
34997
34999
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
34998
35000
|
}, [
|
|
@@ -35047,7 +35049,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
35047
35049
|
}),
|
|
35048
35050
|
_: 3
|
|
35049
35051
|
}, 8, ["style", "thin"])
|
|
35050
|
-
],
|
|
35052
|
+
], 38);
|
|
35051
35053
|
};
|
|
35052
35054
|
}
|
|
35053
35055
|
});
|
|
@@ -35082,7 +35084,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
35082
35084
|
title: vue.unref(title),
|
|
35083
35085
|
width: "380px",
|
|
35084
35086
|
dismissable: false,
|
|
35085
|
-
class: "txt-center"
|
|
35087
|
+
class: "txt-center",
|
|
35088
|
+
zIndex: 9999
|
|
35086
35089
|
}, {
|
|
35087
35090
|
footer: vue.withCtx(() => [
|
|
35088
35091
|
vue.createVNode(vue.unref(Btn), {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export * from './components';
|
|
|
2
2
|
export * from './components/form/useBagelFormState';
|
|
3
3
|
export * from './composables';
|
|
4
4
|
export { bagelInjectionKey, type BagelOptions, BagelVue, i18nTInjectionKey, useBagel, useI18nT, } from './plugins/bagel';
|
|
5
|
-
export { ModalPlugin, useModal } from './plugins/
|
|
5
|
+
export { ModalPlugin, useModal } from './plugins/useModal';
|
|
6
6
|
export * from './types';
|
|
7
7
|
export * from './utils';
|
|
8
8
|
export * from './utils/allCountries';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,qCAAqC,CAAA;AACnD,cAAc,eAAe,CAAA;AAC7B,OAAO,EACN,iBAAiB,EACjB,KAAK,YAAY,EACjB,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,QAAQ,GACR,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,qCAAqC,CAAA;AACnD,cAAc,eAAe,CAAA;AAC7B,OAAO,EACN,iBAAiB,EACjB,KAAK,YAAY,EACjB,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,QAAQ,GACR,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC1D,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,OAAO,oBAAoB,CAAA;AAE3B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -34946,7 +34946,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
34946
34946
|
width: {},
|
|
34947
34947
|
dismissable: { type: Boolean, default: true },
|
|
34948
34948
|
actions: {},
|
|
34949
|
-
visible: { type: Boolean, default: false }
|
|
34949
|
+
visible: { type: Boolean, default: false },
|
|
34950
|
+
zIndex: { default: 99 }
|
|
34950
34951
|
},
|
|
34951
34952
|
emits: ["update:visible"],
|
|
34952
34953
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -34991,6 +34992,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
34991
34992
|
return (_ctx, _cache) => {
|
|
34992
34993
|
return openBlock(), createElementBlock("div", {
|
|
34993
34994
|
class: normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": unref(isVisible), "bg-lignt": false }]),
|
|
34995
|
+
style: normalizeStyle({ zIndex: _ctx.zIndex }),
|
|
34994
34996
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
34995
34997
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
34996
34998
|
}, [
|
|
@@ -35045,7 +35047,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
35045
35047
|
}),
|
|
35046
35048
|
_: 3
|
|
35047
35049
|
}, 8, ["style", "thin"])
|
|
35048
|
-
],
|
|
35050
|
+
], 38);
|
|
35049
35051
|
};
|
|
35050
35052
|
}
|
|
35051
35053
|
});
|
|
@@ -35080,7 +35082,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
35080
35082
|
title: unref(title),
|
|
35081
35083
|
width: "380px",
|
|
35082
35084
|
dismissable: false,
|
|
35083
|
-
class: "txt-center"
|
|
35085
|
+
class: "txt-center",
|
|
35086
|
+
zIndex: 9999
|
|
35084
35087
|
}, {
|
|
35085
35088
|
footer: withCtx(() => [
|
|
35086
35089
|
createVNode(unref(Btn), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modalTypes.d.ts","sourceRoot":"","sources":["../../src/plugins/modalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,MAAM,WAAW,YAAY;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"modalTypes.d.ts","sourceRoot":"","sources":["../../src/plugins/modalTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EA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O,CAAA;IACnB,SAAS,CAAC,EAAE,UAAU,EAAE,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InjectionKey, Plugin } from 'vue';
|
|
2
|
+
import { ConfirmModalUserOptions, ModalComponentProps, ModalFormComponentProps, ModalFormOptions, ModalOptions } from './modalTypes';
|
|
3
|
+
export interface ModalApi {
|
|
4
|
+
showModal: <T extends {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>(options: ModalOptions, slots?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}) => ModalComponentProps<T> | undefined;
|
|
9
|
+
showModalForm: <T extends {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>(options: ModalFormOptions<T>, slots?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}) => ModalFormComponentProps<T> | undefined;
|
|
14
|
+
hideModal: (index?: number) => void;
|
|
15
|
+
confirmModal: (options: ConfirmModalUserOptions) => Promise<boolean>;
|
|
16
|
+
}
|
|
17
|
+
export declare const ModalSymbol: InjectionKey<ModalApi>;
|
|
18
|
+
export declare function useModal(): ModalApi;
|
|
19
|
+
export declare const ModalPlugin: Plugin;
|
|
20
|
+
//# sourceMappingURL=useModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../src/plugins/useModal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAE/C,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAuB,uBAAuB,EAAE,gBAAgB,EAAE,YAAY,EAAa,MAAM,cAAc,CAAA;AAIzK,MAAM,WAAW,QAAQ;IACxB,SAAS,EAAE,CAAC,CAAC,SAAS;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAK,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IAC1I,aAAa,EAAE,CAAC,CAAC,SAAS;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAK,uBAAuB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IACzJ,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,YAAY,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CACpE;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAmB,CAAA;AAElE,wBAAgB,QAAQ,IAAI,QAAQ,CAInC;AAED,eAAO,MAAM,WAAW,EAAE,MAuEzB,CAAA"}
|
package/dist/style.css
CHANGED
|
@@ -3760,145 +3760,140 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
3760
3760
|
cursor: pointer;
|
|
3761
3761
|
}
|
|
3762
3762
|
.bg-dark {
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
overflow-x: hidden;
|
|
3763
|
+
position: fixed;
|
|
3764
|
+
top: 0;
|
|
3765
|
+
right: 0;
|
|
3766
|
+
left: 0;
|
|
3767
|
+
bottom: 0;
|
|
3768
|
+
background-color: var(--bgl-dark-bg);
|
|
3769
|
+
pointer-events: none;
|
|
3770
|
+
opacity: 0;
|
|
3771
|
+
transition: all ease-in-out 0.3s;
|
|
3772
|
+
max-height: 100vh;
|
|
3773
|
+
overflow: scroll;
|
|
3774
|
+
margin: 0 auto;
|
|
3775
|
+
width: 100%;
|
|
3776
|
+
display: grid;
|
|
3777
|
+
align-items: center;
|
|
3778
|
+
overflow-x: hidden;
|
|
3780
3779
|
}
|
|
3781
3780
|
|
|
3782
|
-
|
|
3783
3781
|
.bg-lignt {
|
|
3784
|
-
|
|
3782
|
+
background-color: var(--bgl-white);
|
|
3785
3783
|
}
|
|
3786
3784
|
|
|
3787
3785
|
.modal {
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3786
|
+
width: 96%;
|
|
3787
|
+
max-width: 720px;
|
|
3788
|
+
/* transform: scale(0.5); */
|
|
3789
|
+
/* opacity: 0; */
|
|
3790
|
+
transition: all ease-in-out 0.18s;
|
|
3791
|
+
margin-left: auto;
|
|
3792
|
+
margin-right: auto;
|
|
3793
|
+
height: fit-content;
|
|
3796
3794
|
}
|
|
3797
3795
|
|
|
3798
3796
|
.is-active .modal {
|
|
3799
|
-
|
|
3800
|
-
|
|
3797
|
+
animation: 200ms ease bgl-modal-animation;
|
|
3801
3798
|
}
|
|
3802
3799
|
|
|
3803
3800
|
@keyframes bgl-modal-animation {
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
to {
|
|
3810
|
-
scale: 1;
|
|
3811
|
-
transform: translateY(0);
|
|
3801
|
+
from {
|
|
3802
|
+
scale: 0.7;
|
|
3803
|
+
transform: translateY(2rem);
|
|
3804
|
+
}
|
|
3812
3805
|
|
|
3813
|
-
|
|
3806
|
+
to {
|
|
3807
|
+
scale: 1;
|
|
3808
|
+
transform: translateY(0);
|
|
3809
|
+
}
|
|
3814
3810
|
}
|
|
3815
3811
|
|
|
3816
3812
|
.small-modal .modal {
|
|
3817
|
-
|
|
3818
|
-
|
|
3813
|
+
max-width: 300px;
|
|
3814
|
+
text-align: center;
|
|
3819
3815
|
}
|
|
3820
3816
|
|
|
3821
3817
|
.tool-bar {
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3818
|
+
margin: -1rem -1rem 1rem;
|
|
3819
|
+
display: flex;
|
|
3820
|
+
justify-content: space-between;
|
|
3821
|
+
position: -webkit-sticky;
|
|
3822
|
+
position: sticky;
|
|
3823
|
+
padding-top: 0rem;
|
|
3824
|
+
top: 0rem;
|
|
3825
|
+
z-index: 3;
|
|
3826
|
+
background: var(--bgl-popup-bg);
|
|
3827
|
+
border-radius: var(--card-border-radius);
|
|
3832
3828
|
}
|
|
3833
3829
|
|
|
3834
3830
|
.modal-size {
|
|
3835
|
-
|
|
3831
|
+
cursor: pointer;
|
|
3836
3832
|
}
|
|
3837
3833
|
|
|
3838
3834
|
.is-side .modal {
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3835
|
+
inset-inline-end: -1720px;
|
|
3836
|
+
opacity: 1;
|
|
3837
|
+
max-width: 600px;
|
|
3838
|
+
width: 90%;
|
|
3839
|
+
margin-top: 1rem;
|
|
3840
|
+
margin-bottom: 1rem;
|
|
3841
|
+
margin-inline-start: auto;
|
|
3842
|
+
margin-inline-end: 20px;
|
|
3843
|
+
min-height: calc(100vh - 40px);
|
|
3844
|
+
transform: translateX(100%);
|
|
3849
3845
|
}
|
|
3850
3846
|
|
|
3851
3847
|
.is-active .modal {
|
|
3852
|
-
|
|
3853
|
-
|
|
3848
|
+
opacity: 1;
|
|
3849
|
+
box-shadow: 6px 6px 20px 20px #0000001c;
|
|
3854
3850
|
}
|
|
3855
3851
|
|
|
3856
3852
|
.bg-lignt .modal {
|
|
3857
|
-
|
|
3853
|
+
border: 1px solid var(--border-color);
|
|
3858
3854
|
}
|
|
3859
3855
|
|
|
3860
3856
|
.bg-lignt.is-active .modal {
|
|
3861
|
-
|
|
3857
|
+
box-shadow: none;
|
|
3862
3858
|
}
|
|
3863
3859
|
|
|
3864
3860
|
.is-active.is-side .modal {
|
|
3865
|
-
|
|
3866
|
-
|
|
3861
|
+
inset-inline-end: 0px;
|
|
3862
|
+
transform: translateX(0%);
|
|
3867
3863
|
}
|
|
3868
3864
|
|
|
3869
3865
|
.bg-dark.is-active {
|
|
3870
|
-
|
|
3871
|
-
|
|
3866
|
+
opacity: 1;
|
|
3867
|
+
pointer-events: all;
|
|
3872
3868
|
}
|
|
3873
3869
|
|
|
3874
3870
|
body:has(.bg-dark.is-active) {
|
|
3875
|
-
|
|
3871
|
+
overflow: hidden;
|
|
3876
3872
|
}
|
|
3877
3873
|
|
|
3878
3874
|
.is-side.bg-dark.is-active {
|
|
3879
|
-
|
|
3880
|
-
|
|
3875
|
+
opacity: 1;
|
|
3876
|
+
align-items: stretch;
|
|
3881
3877
|
}
|
|
3882
3878
|
|
|
3883
3879
|
.is-side.is-active .modal {
|
|
3884
|
-
|
|
3880
|
+
pointer-events: all;
|
|
3885
3881
|
}
|
|
3886
3882
|
|
|
3887
3883
|
@media screen and (max-width: 910px) {
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
.is-active.is-side .modal {
|
|
3895
|
-
margin-inline-end: 2%;
|
|
3896
|
-
margin-inline-start: 2%;
|
|
3897
|
-
width: 98%;
|
|
3898
|
-
|
|
3899
|
-
}
|
|
3884
|
+
.tool-bar {
|
|
3885
|
+
margin: -1rem 0rem 1rem;
|
|
3886
|
+
padding-bottom: 1rem;
|
|
3887
|
+
align-items: center;
|
|
3888
|
+
}
|
|
3900
3889
|
|
|
3890
|
+
.is-active.is-side .modal {
|
|
3891
|
+
margin-inline-end: 2%;
|
|
3892
|
+
margin-inline-start: 2%;
|
|
3893
|
+
width: 98%;
|
|
3894
|
+
}
|
|
3901
3895
|
}
|
|
3896
|
+
|
|
3902
3897
|
.modal{
|
|
3903
3898
|
color: var(--bgl-popup-text);
|
|
3904
3899
|
/* display: flex;
|
|
@@ -15367,31 +15362,6 @@ select {
|
|
|
15367
15362
|
margin-bottom: 0.5rem;
|
|
15368
15363
|
width: 100%;
|
|
15369
15364
|
color: var(--bgl-text-color);
|
|
15370
|
-
}.bagel-input::-webkit-input-placeholder .bagel-input label {
|
|
15371
|
-
display: block;
|
|
15372
|
-
font-size: var(--label-font-size);
|
|
15373
|
-
margin-bottom: 2px;
|
|
15374
|
-
line-height: 1.3;
|
|
15375
|
-
}.bagel-input::-moz-placeholder .bagel-input label {
|
|
15376
|
-
display: block;
|
|
15377
|
-
font-size: var(--label-font-size);
|
|
15378
|
-
margin-bottom: 2px;
|
|
15379
|
-
line-height: 1.3;
|
|
15380
|
-
}.bagel-input:-ms-input-placeholder .bagel-input label {
|
|
15381
|
-
display: block;
|
|
15382
|
-
font-size: var(--label-font-size);
|
|
15383
|
-
margin-bottom: 2px;
|
|
15384
|
-
line-height: 1.3;
|
|
15385
|
-
}.bagel-input::-ms-input-placeholder .bagel-input label {
|
|
15386
|
-
display: block;
|
|
15387
|
-
font-size: var(--label-font-size);
|
|
15388
|
-
margin-bottom: 2px;
|
|
15389
|
-
line-height: 1.3;
|
|
15390
|
-
}.bagel-input::placeholder .bagel-input label {
|
|
15391
|
-
display: block;
|
|
15392
|
-
font-size: var(--label-font-size);
|
|
15393
|
-
margin-bottom: 2px;
|
|
15394
|
-
line-height: 1.3;
|
|
15395
15365
|
}.bagel-input::-webkit-input-placeholder {
|
|
15396
15366
|
color: var(--placeholder-color);
|
|
15397
15367
|
}.bagel-input::-moz-placeholder {
|
|
@@ -15546,7 +15516,7 @@ select {
|
|
|
15546
15516
|
.bagel-input.light-input select:focus-visible,
|
|
15547
15517
|
.bagel-input.light-input textarea:focus-visible {
|
|
15548
15518
|
box-shadow: inset 0 0 2px var(--bgl-popup-text) !important;
|
|
15549
|
-
}.bagel-input input[type='number']
|
|
15519
|
+
}.bagel-input input[type='number']::-webkit-inner-spin-button,
|
|
15550
15520
|
.bagel-input input[type='number']::-webkit-outer-spin-button {
|
|
15551
15521
|
-webkit-appearance: none;
|
|
15552
15522
|
}.label-count-0 label {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.34",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"@vueuse/core": "^13.3.0",
|
|
90
90
|
"axios": "^1.9.0",
|
|
91
91
|
"floating-vue": "^5.2.2",
|
|
92
|
-
"libphonenumber-js": "1.12.
|
|
93
|
-
"signature_pad": "^5.0.
|
|
92
|
+
"libphonenumber-js": "1.12.9",
|
|
93
|
+
"signature_pad": "^5.0.8"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"dev": "tsx watch src/index.ts",
|
package/src/components/Modal.vue
CHANGED
|
@@ -23,12 +23,14 @@ interface ModalProps {
|
|
|
23
23
|
dismissable?: boolean
|
|
24
24
|
actions?: BtnOptions[]
|
|
25
25
|
visible?: boolean
|
|
26
|
+
zIndex?: number
|
|
26
27
|
}
|
|
27
28
|
const props = withDefaults(defineProps<ModalProps>(), {
|
|
28
29
|
thin: false,
|
|
29
30
|
side: false,
|
|
30
31
|
dismissable: true,
|
|
31
32
|
visible: false,
|
|
33
|
+
zIndex: 99,
|
|
32
34
|
})
|
|
33
35
|
|
|
34
36
|
const emit = defineEmits(['update:visible'])
|
|
@@ -77,6 +79,7 @@ onUnmounted(() => {
|
|
|
77
79
|
<template>
|
|
78
80
|
<div
|
|
79
81
|
class="bg-dark"
|
|
82
|
+
:style="{ zIndex }"
|
|
80
83
|
:class="{ 'is-side': side, 'is-active': isVisible, 'bg-lignt': false }"
|
|
81
84
|
@click="() => (dismissable ? closeModal() : '')"
|
|
82
85
|
@keydown.esc="closeModal"
|
|
@@ -28,7 +28,7 @@ const cancelBtnColor: ThemeType = props.cancelBtnColor || 'gray'
|
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<template>
|
|
31
|
-
<Modal :title="title" width="380px" :dismissable="false" class="txt-center">
|
|
31
|
+
<Modal :title="title" width="380px" :dismissable="false" class="txt-center" :zIndex="9999">
|
|
32
32
|
<p class="pb-05 pretty">
|
|
33
33
|
{{ message }}
|
|
34
34
|
</p>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseBagelField } from '@bagelink/vue'
|
|
2
|
-
import type { ModalApi } from '../../../../../plugins/
|
|
2
|
+
import type { ModalApi } from '../../../../../plugins/useModal'
|
|
3
3
|
|
|
4
4
|
import type { EditorState } from '../richTextTypes'
|
|
5
5
|
import { bagelFormUtils as bglFrmUtil } from '@bagelink/vue'
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ export {
|
|
|
9
9
|
useBagel,
|
|
10
10
|
useI18nT,
|
|
11
11
|
} from './plugins/bagel'
|
|
12
|
-
export { ModalPlugin, useModal } from './plugins/
|
|
12
|
+
export { ModalPlugin, useModal } from './plugins/useModal'
|
|
13
13
|
export * from './types'
|
|
14
14
|
export * from './utils'
|
|
15
15
|
export * from './utils/allCountries'
|
package/src/styles/inputs.css
CHANGED
|
@@ -21,41 +21,6 @@ select {
|
|
|
21
21
|
color: var(--bgl-text-color);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.bagel-input::-webkit-input-placeholder .bagel-input label {
|
|
25
|
-
display: block;
|
|
26
|
-
font-size: var(--label-font-size);
|
|
27
|
-
margin-bottom: 2px;
|
|
28
|
-
line-height: 1.3;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.bagel-input::-moz-placeholder .bagel-input label {
|
|
32
|
-
display: block;
|
|
33
|
-
font-size: var(--label-font-size);
|
|
34
|
-
margin-bottom: 2px;
|
|
35
|
-
line-height: 1.3;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.bagel-input:-ms-input-placeholder .bagel-input label {
|
|
39
|
-
display: block;
|
|
40
|
-
font-size: var(--label-font-size);
|
|
41
|
-
margin-bottom: 2px;
|
|
42
|
-
line-height: 1.3;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.bagel-input::-ms-input-placeholder .bagel-input label {
|
|
46
|
-
display: block;
|
|
47
|
-
font-size: var(--label-font-size);
|
|
48
|
-
margin-bottom: 2px;
|
|
49
|
-
line-height: 1.3;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.bagel-input::placeholder .bagel-input label {
|
|
53
|
-
display: block;
|
|
54
|
-
font-size: var(--label-font-size);
|
|
55
|
-
margin-bottom: 2px;
|
|
56
|
-
line-height: 1.3;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
24
|
.bagel-input::-webkit-input-placeholder {
|
|
60
25
|
color: var(--placeholder-color);
|
|
61
26
|
}
|
|
@@ -284,7 +249,7 @@ select {
|
|
|
284
249
|
box-shadow: inset 0 0 2px var(--bgl-popup-text) !important;
|
|
285
250
|
}
|
|
286
251
|
|
|
287
|
-
.bagel-input input[type='number']
|
|
252
|
+
.bagel-input input[type='number']::-webkit-inner-spin-button,
|
|
288
253
|
.bagel-input input[type='number']::-webkit-outer-spin-button {
|
|
289
254
|
-webkit-appearance: none;
|
|
290
255
|
}
|
package/src/styles/modal.css
CHANGED
|
@@ -1,140 +1,134 @@
|
|
|
1
1
|
.bg-dark {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
overflow-x: hidden;
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
background-color: var(--bgl-dark-bg);
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
opacity: 0;
|
|
10
|
+
transition: all ease-in-out 0.3s;
|
|
11
|
+
max-height: 100vh;
|
|
12
|
+
overflow: scroll;
|
|
13
|
+
margin: 0 auto;
|
|
14
|
+
width: 100%;
|
|
15
|
+
display: grid;
|
|
16
|
+
align-items: center;
|
|
17
|
+
overflow-x: hidden;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
|
-
|
|
22
20
|
.bg-lignt {
|
|
23
|
-
|
|
21
|
+
background-color: var(--bgl-white);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
.modal {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
width: 96%;
|
|
26
|
+
max-width: 720px;
|
|
27
|
+
/* transform: scale(0.5); */
|
|
28
|
+
/* opacity: 0; */
|
|
29
|
+
transition: all ease-in-out 0.18s;
|
|
30
|
+
margin-left: auto;
|
|
31
|
+
margin-right: auto;
|
|
32
|
+
height: fit-content;
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
.is-active .modal {
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
animation: 200ms ease bgl-modal-animation;
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
@keyframes bgl-modal-animation {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
from {
|
|
41
|
+
scale: 0.7;
|
|
42
|
+
transform: translateY(2rem);
|
|
43
|
+
}
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
45
|
+
to {
|
|
46
|
+
scale: 1;
|
|
47
|
+
transform: translateY(0);
|
|
48
|
+
}
|
|
53
49
|
}
|
|
54
50
|
|
|
55
51
|
.small-modal .modal {
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
max-width: 300px;
|
|
53
|
+
text-align: center;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
.tool-bar {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
57
|
+
margin: -1rem -1rem 1rem;
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
position: -webkit-sticky;
|
|
61
|
+
position: sticky;
|
|
62
|
+
padding-top: 0rem;
|
|
63
|
+
top: 0rem;
|
|
64
|
+
z-index: 3;
|
|
65
|
+
background: var(--bgl-popup-bg);
|
|
66
|
+
border-radius: var(--card-border-radius);
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
.modal-size {
|
|
74
|
-
|
|
70
|
+
cursor: pointer;
|
|
75
71
|
}
|
|
76
72
|
|
|
77
73
|
.is-side .modal {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
74
|
+
inset-inline-end: -1720px;
|
|
75
|
+
opacity: 1;
|
|
76
|
+
max-width: 600px;
|
|
77
|
+
width: 90%;
|
|
78
|
+
margin-top: 1rem;
|
|
79
|
+
margin-bottom: 1rem;
|
|
80
|
+
margin-inline-start: auto;
|
|
81
|
+
margin-inline-end: 20px;
|
|
82
|
+
min-height: calc(100vh - 40px);
|
|
83
|
+
transform: translateX(100%);
|
|
88
84
|
}
|
|
89
85
|
|
|
90
86
|
.is-active .modal {
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
opacity: 1;
|
|
88
|
+
box-shadow: 6px 6px 20px 20px #0000001c;
|
|
93
89
|
}
|
|
94
90
|
|
|
95
91
|
.bg-lignt .modal {
|
|
96
|
-
|
|
92
|
+
border: 1px solid var(--border-color);
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
.bg-lignt.is-active .modal {
|
|
100
|
-
|
|
96
|
+
box-shadow: none;
|
|
101
97
|
}
|
|
102
98
|
|
|
103
99
|
.is-active.is-side .modal {
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
inset-inline-end: 0px;
|
|
101
|
+
transform: translateX(0%);
|
|
106
102
|
}
|
|
107
103
|
|
|
108
104
|
.bg-dark.is-active {
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
opacity: 1;
|
|
106
|
+
pointer-events: all;
|
|
111
107
|
}
|
|
112
108
|
|
|
113
109
|
body:has(.bg-dark.is-active) {
|
|
114
|
-
|
|
110
|
+
overflow: hidden;
|
|
115
111
|
}
|
|
116
112
|
|
|
117
113
|
.is-side.bg-dark.is-active {
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
opacity: 1;
|
|
115
|
+
align-items: stretch;
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
.is-side.is-active .modal {
|
|
123
|
-
|
|
119
|
+
pointer-events: all;
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
@media screen and (max-width: 910px) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
123
|
+
.tool-bar {
|
|
124
|
+
margin: -1rem 0rem 1rem;
|
|
125
|
+
padding-bottom: 1rem;
|
|
126
|
+
align-items: center;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.is-active.is-side .modal {
|
|
130
|
+
margin-inline-end: 2%;
|
|
131
|
+
margin-inline-start: 2%;
|
|
132
|
+
width: 98%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
File without changes
|