alytus-ff 0.1.13 → 0.1.15
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.js +30 -12
- package/dist/alytus-ff.umd.cjs +1 -1
- package/dist/components/Page/PageTitle.vue.d.ts +12 -0
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Page/PageTitle.vue +20 -0
package/dist/alytus-ff.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as l, openBlock as a, createElementBlock as p, toDisplayString as s, createElementVNode as c, renderSlot as u } from "vue";
|
|
2
|
+
const f = l({
|
|
3
3
|
name: "WelcomeText",
|
|
4
4
|
props: {
|
|
5
5
|
fullName: {
|
|
@@ -11,17 +11,35 @@ const s = l({
|
|
|
11
11
|
default: 0
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
}),
|
|
15
|
-
const
|
|
16
|
-
for (const [
|
|
17
|
-
|
|
18
|
-
return
|
|
14
|
+
}), i = (e, n) => {
|
|
15
|
+
const t = e.__vccOpts || e;
|
|
16
|
+
for (const [o, r] of n)
|
|
17
|
+
t[o] = r;
|
|
18
|
+
return t;
|
|
19
19
|
};
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function _(e, n, t, o, r, d) {
|
|
21
|
+
return a(), p("h1", null, "Welcome, " + s(e.fullName) + " " + s(e.no), 1);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const v = /* @__PURE__ */ i(f, [["render", _], ["__scopeId", "data-v-34d102f4"]]), m = l({
|
|
24
|
+
name: "PageTitle",
|
|
25
|
+
props: {
|
|
26
|
+
title: {
|
|
27
|
+
type: String,
|
|
28
|
+
required: !0
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}), $ = { class: "mt-6 mb-3 ff-page-title" }, g = { class: "text-h5 font-weight-bold" };
|
|
32
|
+
function h(e, n, t, o, r, d) {
|
|
33
|
+
return a(), p("div", $, [
|
|
34
|
+
c("span", g, s(e.title), 1),
|
|
35
|
+
c("div", null, [
|
|
36
|
+
u(e.$slots, "buttons")
|
|
37
|
+
])
|
|
38
|
+
]);
|
|
39
|
+
}
|
|
40
|
+
const y = /* @__PURE__ */ i(m, [["render", h]]), N = (e) => e ? e.replace(/(?:\r\n|\r|\n)/g, "<br>") : "";
|
|
24
41
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
42
|
+
y as PageTitle,
|
|
43
|
+
v as WelcomeText,
|
|
44
|
+
N as nl2br
|
|
27
45
|
};
|
package/dist/alytus-ff.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n["Alytus FF"]={},n.Vue))})(this,function(n,e){"use strict";const
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n["Alytus FF"]={},n.Vue))})(this,function(n,e){"use strict";const c=e.defineComponent({name:"WelcomeText",props:{fullName:{type:String,required:!0},no:{type:Number,default:0}}}),s=(t,r)=>{const o=t.__vccOpts||t;for(const[i,l]of r)o[i]=l;return o};function d(t,r,o,i,l,y){return e.openBlock(),e.createElementBlock("h1",null,"Welcome, "+e.toDisplayString(t.fullName)+" "+e.toDisplayString(t.no),1)}const p=s(c,[["render",d],["__scopeId","data-v-34d102f4"]]),a=e.defineComponent({name:"PageTitle",props:{title:{type:String,required:!0}}}),f={class:"mt-6 mb-3 ff-page-title"},u={class:"text-h5 font-weight-bold"};function m(t,r,o,i,l,y){return e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("span",u,e.toDisplayString(t.title),1),e.createElementVNode("div",null,[e.renderSlot(t.$slots,"buttons")])])}const _=s(a,[["render",m]]),g=t=>t?t.replace(/(?:\r\n|\r|\n)/g,"<br>"):"";n.PageTitle=_,n.WelcomeText=p,n.nl2br=g,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as WelcomeText } from './components/WelcomeText.vue';
|
|
2
|
+
import { default as PageTitle } from './components/Page/PageTitle.vue';
|
|
2
3
|
import { nl2br } from './utils/HtmlUtils.ts';
|
|
3
4
|
import { NameValuePair } from './types/Base.ts';
|
|
4
|
-
export { WelcomeText, nl2br, NameValuePair };
|
|
5
|
+
export { WelcomeText, PageTitle, nl2br, NameValuePair };
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
h1[data-v-34d102f4]{color:#f354f2}
|
|
1
|
+
.ff-page-title,.ff-page-subtitle{display:flex;justify-content:space-between;align-items:center}.ff-page-title .v-btn,.ff-page-subtitle .v-btn{text-transform:unset;letter-spacing:.045em}h1[data-v-34d102f4]{color:#f354f2}
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="mt-6 mb-3 ff-page-title">
|
|
3
|
+
<span class="text-h5 font-weight-bold">{{ title }}</span>
|
|
4
|
+
<div><slot name="buttons"></slot></div>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script lang="ts">
|
|
9
|
+
import {defineComponent} from "vue";
|
|
10
|
+
|
|
11
|
+
export default defineComponent({
|
|
12
|
+
name: "PageTitle",
|
|
13
|
+
props: {
|
|
14
|
+
title: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
</script>
|