sprintify-ui 0.6.28 → 0.6.30
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/sprintify-ui.es.js
CHANGED
|
@@ -5761,7 +5761,7 @@ const Hw = ["value", "name", "disabled", "required"], qw = ["value"], wu = "", x
|
|
|
5761
5761
|
])
|
|
5762
5762
|
], 64));
|
|
5763
5763
|
}
|
|
5764
|
-
}), Yw = { class: "relative transform overflow-hidden rounded-lg bg-white
|
|
5764
|
+
}), Yw = { class: "relative transform overflow-hidden rounded-lg bg-white ring-1 ring-black ring-opacity-10 p-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg" }, Kw = { class: "sm:flex sm:items-start" }, Qw = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Zw = {
|
|
5765
5765
|
id: "modal-title",
|
|
5766
5766
|
class: "text-base font-medium leading-6 text-slate-900"
|
|
5767
5767
|
}, Xw = { class: "mt-2" }, Jw = { class: "text-sm font-light text-slate-600" }, ex = { class: "mt-5 sm:mt-4 sm:flex sm:flex-row-reverse" }, Hm = /* @__PURE__ */ _e({
|
|
@@ -45239,7 +45239,9 @@ const FB = 100, t4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
45239
45239
|
},
|
|
45240
45240
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
45241
45241
|
parseQueryString(n) {
|
|
45242
|
-
return Lf.parse(n
|
|
45242
|
+
return Lf.parse(n, {
|
|
45243
|
+
comma: !0
|
|
45244
|
+
});
|
|
45243
45245
|
},
|
|
45244
45246
|
countries: [],
|
|
45245
45247
|
regions: []
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import BaseClipboard from './BaseClipboard.vue';
|
|
2
|
+
import BaseModalCenter from './BaseModalCenter.vue';
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
title: 'Components/BaseClipboard',
|
|
@@ -30,3 +31,25 @@ export const Demo = Template.bind({});
|
|
|
30
31
|
Demo.args = {
|
|
31
32
|
value: '168.192.0.1',
|
|
32
33
|
};
|
|
34
|
+
|
|
35
|
+
const TemplateModal = (args) => ({
|
|
36
|
+
components: { BaseClipboard, BaseModalCenter },
|
|
37
|
+
setup() {
|
|
38
|
+
return { args };
|
|
39
|
+
},
|
|
40
|
+
template: `
|
|
41
|
+
<BaseModalCenter :model-value="true" :close-on-outside-click="true"
|
|
42
|
+
:show-close-button="true">
|
|
43
|
+
<div class="p-5">
|
|
44
|
+
<BaseClipboard v-bind="args" class="mb-3">
|
|
45
|
+
<span class="underline text-blue-600">{{ args.value }}</span>
|
|
46
|
+
</BaseClipboard>
|
|
47
|
+
</div>
|
|
48
|
+
</BaseModalCenter>
|
|
49
|
+
`,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export const Modal = TemplateModal.bind({});
|
|
53
|
+
Modal.args = {
|
|
54
|
+
value: 'testtest',
|
|
55
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="relative transform overflow-hidden rounded-lg bg-white
|
|
3
|
+
class="relative transform overflow-hidden rounded-lg bg-white ring-1 ring-black ring-opacity-10 p-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"
|
|
4
4
|
>
|
|
5
5
|
<div class="sm:flex sm:items-start">
|
|
6
6
|
<div
|
package/src/index.ts
CHANGED
|
@@ -46,7 +46,9 @@ const config = {
|
|
|
46
46
|
},
|
|
47
47
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
48
|
parseQueryString(params: string): Record<string, any> {
|
|
49
|
-
return QueryString.parse(params
|
|
49
|
+
return QueryString.parse(params, {
|
|
50
|
+
comma: true,
|
|
51
|
+
});
|
|
50
52
|
},
|
|
51
53
|
countries: [] as Country[],
|
|
52
54
|
regions: [] as Region[],
|