alytus-ff 0.1.4 → 0.1.6
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/alytus-ff.es.js +39 -25
- package/dist/alytus-ff.umd.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/style.css +1 -0
- package/dist/vue-shims.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/index.ts +1 -1
- package/src/index.ts +3 -1
- package/src/vue-shims.d.ts +5 -0
- package/types/components/index.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/vite.config.d.ts +2 -0
- package/vite.config.ts +1 -1
package/dist/alytus-ff.es.js
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
if (typeof
|
|
4
|
-
return
|
|
5
|
-
const
|
|
6
|
-
return new Date(parseInt(
|
|
7
|
-
},
|
|
8
|
-
for (const
|
|
9
|
-
if (r
|
|
10
|
-
r
|
|
1
|
+
import { defineComponent as p, openBlock as i, createElementBlock as a, createElementVNode as o, toDisplayString as c, renderSlot as f } from "vue";
|
|
2
|
+
const h = (t) => {
|
|
3
|
+
if (typeof t == "object")
|
|
4
|
+
return t;
|
|
5
|
+
const e = t.substr(0, 10).split("-");
|
|
6
|
+
return new Date(parseInt(e[0], 10), parseInt(e[1], 10) - 1, e.length <= 2 ? 1 : parseInt(e[2], 10));
|
|
7
|
+
}, b = (t, e) => {
|
|
8
|
+
for (const r in t)
|
|
9
|
+
if (t[r].id === e.id) {
|
|
10
|
+
t[r] = e;
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
for (const
|
|
16
|
-
Object.prototype.hasOwnProperty.call(
|
|
17
|
-
},
|
|
18
|
-
for (let
|
|
19
|
-
if (r
|
|
20
|
-
|
|
13
|
+
t.push(e);
|
|
14
|
+
}, v = (t, e) => {
|
|
15
|
+
for (const r in e)
|
|
16
|
+
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
|
|
17
|
+
}, I = (t, e) => {
|
|
18
|
+
for (let r = 0; r < t.length; r++)
|
|
19
|
+
if (t[r].id === e) {
|
|
20
|
+
t.splice(r, 1);
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
|
-
}
|
|
24
|
-
n({
|
|
23
|
+
}, l = p({
|
|
25
24
|
name: "PageTitle",
|
|
26
25
|
props: {
|
|
27
26
|
title: {
|
|
@@ -29,10 +28,25 @@ n({
|
|
|
29
28
|
required: !0
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
|
-
})
|
|
31
|
+
}), d = (t, e) => {
|
|
32
|
+
const r = t.__vccOpts || t;
|
|
33
|
+
for (const [n, s] of e)
|
|
34
|
+
r[n] = s;
|
|
35
|
+
return r;
|
|
36
|
+
}, u = { class: "mt-6 mb-3 ec-page-title" }, m = { class: "text-h5 font-weight-bold" };
|
|
37
|
+
function y(t, e, r, n, s, _) {
|
|
38
|
+
return i(), a("div", u, [
|
|
39
|
+
o("span", m, c(t.title), 1),
|
|
40
|
+
o("div", null, [
|
|
41
|
+
f(t.$slots, "buttons")
|
|
42
|
+
])
|
|
43
|
+
]);
|
|
44
|
+
}
|
|
45
|
+
const $ = /* @__PURE__ */ d(l, [["render", y]]);
|
|
33
46
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
47
|
+
$ as PageTitle,
|
|
48
|
+
h as parseSysDate,
|
|
49
|
+
I as removeFromListById,
|
|
50
|
+
v as syncItemChanges,
|
|
51
|
+
b as syncToList
|
|
38
52
|
};
|
package/dist/alytus-ff.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s["Alytus-FF"]={},s.Vue))})(this,function(s,o){"use strict";const p=e=>{if(typeof e=="object")return e;const t=e.substr(0,10).split("-");return new Date(parseInt(t[0],10),parseInt(t[1],10)-1,t.length<=2?1:parseInt(t[2],10))},a=(e,t)=>{for(const n in e)if(e[n].id===t.id){e[n]=t;return}e.push(t)},c=(e,t)=>{for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},d=(e,t)=>{for(let n=0;n<e.length;n++)if(e[n].id===t){e.splice(n,1);return}},f=o.defineComponent({name:"PageTitle",props:{title:{type:String,required:!0}}}),u=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},l={class:"mt-6 mb-3 ec-page-title"},y={class:"text-h5 font-weight-bold"};function m(e,t,n,r,i,g){return o.openBlock(),o.createElementBlock("div",l,[o.createElementVNode("span",y,o.toDisplayString(e.title),1),o.createElementVNode("div",null,[o.renderSlot(e.$slots,"buttons")])])}const h=u(f,[["render",m]]);s.PageTitle=h,s.parseSysDate=p,s.removeFromListById=d,s.syncItemChanges=c,s.syncToList=a,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as PageTitle } from './Page/PageTitle.vue';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './utils';
|
|
2
|
-
export
|
|
2
|
+
export { default as PageTitle } from './components/Page/PageTitle.vue';
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ec-page-title,.ec-page-subtitle{display:flex;justify-content:space-between;align-items:center}.ec-page-title .v-btn,.ec-page-subtitle .v-btn{text-transform:unset;letter-spacing:.045em}
|
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as PageTitle } from './Page/PageTitle.vue';
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as PageTitle } from './Page/PageTitle.vue';
|
package/types/index.d.ts
CHANGED
package/vite.config.ts
CHANGED
|
@@ -6,7 +6,7 @@ export default defineConfig({
|
|
|
6
6
|
plugins: [
|
|
7
7
|
vue(),
|
|
8
8
|
dts({
|
|
9
|
-
outputDir: 'dist/types', // Output directory for .d.ts files
|
|
9
|
+
//outputDir: 'dist/types', // Output directory for .d.ts files
|
|
10
10
|
insertTypesEntry: true, // Generates an entry file for types
|
|
11
11
|
copyDtsFiles: true, // Copies .d.ts files to the output directory
|
|
12
12
|
})
|