alytus-ff 0.1.16 → 0.1.17
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as c, openBlock as i, createElementBlock as l, toDisplayString as s, createElementVNode as u, renderSlot as d } from "vue";
|
|
2
|
+
const _ = c({
|
|
3
3
|
name: "WelcomeText",
|
|
4
4
|
props: {
|
|
5
5
|
fullName: {
|
|
@@ -11,16 +11,16 @@ const f = l({
|
|
|
11
11
|
default: 0
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
}),
|
|
14
|
+
}), a = (e, n) => {
|
|
15
15
|
const t = e.__vccOpts || e;
|
|
16
|
-
for (const [
|
|
17
|
-
t[
|
|
16
|
+
for (const [r, o] of n)
|
|
17
|
+
t[r] = o;
|
|
18
18
|
return t;
|
|
19
19
|
};
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function f(e, n, t, r, o, p) {
|
|
21
|
+
return i(), l("h1", null, "Welcome, " + s(e.fullName) + " " + s(e.no), 1);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const x = /* @__PURE__ */ a(_, [["render", f], ["__scopeId", "data-v-34d102f4"]]), m = c({
|
|
24
24
|
name: "PageTitle",
|
|
25
25
|
props: {
|
|
26
26
|
title: {
|
|
@@ -29,17 +29,30 @@ const v = /* @__PURE__ */ i(f, [["render", _], ["__scopeId", "data-v-34d102f4"]]
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}), $ = { class: "mt-6 mb-3 ff-page-title" }, g = { class: "text-h5 font-weight-bold" };
|
|
32
|
-
function
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
function b(e, n, t, r, o, p) {
|
|
33
|
+
return i(), l("div", $, [
|
|
34
|
+
u("span", g, s(e.title), 1),
|
|
35
|
+
u("div", null, [
|
|
36
|
+
d(e.$slots, "buttons")
|
|
37
37
|
])
|
|
38
38
|
]);
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const N = /* @__PURE__ */ a(m, [["render", b]]), h = c({
|
|
41
|
+
name: "PageSubtitle",
|
|
42
|
+
props: {
|
|
43
|
+
subtitle: {
|
|
44
|
+
type: String,
|
|
45
|
+
required: !0
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}), S = { class: "text-h6 font-weight-bold mt-7 mb-4" };
|
|
49
|
+
function v(e, n, t, r, o, p) {
|
|
50
|
+
return i(), l("div", S, s(e.subtitle), 1);
|
|
51
|
+
}
|
|
52
|
+
const P = /* @__PURE__ */ a(h, [["render", v]]), T = (e) => e ? e.replace(/(?:\r\n|\r|\n)/g, "<br>") : "";
|
|
41
53
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
54
|
+
P as PageSubtitle,
|
|
55
|
+
N as PageTitle,
|
|
56
|
+
x as WelcomeText,
|
|
57
|
+
T as nl2br
|
|
45
58
|
};
|
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 a=e.defineComponent({name:"WelcomeText",props:{fullName:{type:String,required:!0},no:{type:Number,default:0}}}),l=(t,r)=>{const o=t.__vccOpts||t;for(const[i,s]of r)o[i]=s;return o};function p(t,r,o,i,s,c){return e.openBlock(),e.createElementBlock("h1",null,"Welcome, "+e.toDisplayString(t.fullName)+" "+e.toDisplayString(t.no),1)}const d=l(a,[["render",p],["__scopeId","data-v-34d102f4"]]),f=e.defineComponent({name:"PageTitle",props:{title:{type:String,required:!0}}}),u={class:"mt-6 mb-3 ff-page-title"},m={class:"text-h5 font-weight-bold"};function _(t,r,o,i,s,c){return e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("span",m,e.toDisplayString(t.title),1),e.createElementVNode("div",null,[e.renderSlot(t.$slots,"buttons")])])}const g=l(f,[["render",_]]),$=e.defineComponent({name:"PageSubtitle",props:{subtitle:{type:String,required:!0}}}),b={class:"text-h6 font-weight-bold mt-7 mb-4"};function h(t,r,o,i,s,c){return e.openBlock(),e.createElementBlock("div",b,e.toDisplayString(t.subtitle),1)}const y=l($,[["render",h]]),S=t=>t?t.replace(/(?:\r\n|\r|\n)/g,"<br>"):"";n.PageSubtitle=y,n.PageTitle=g,n.WelcomeText=d,n.nl2br=S,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
subtitle: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
subtitle: {
|
|
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,5 +1,6 @@
|
|
|
1
1
|
import { default as WelcomeText } from './components/WelcomeText.vue';
|
|
2
2
|
import { default as PageTitle } from './components/Page/PageTitle.vue';
|
|
3
|
+
import { default as PageSubtitle } from './components/Page/PageSubtitle.vue';
|
|
3
4
|
import { nl2br } from './utils/HtmlUtils.ts';
|
|
4
5
|
import { NameValuePair } from './types/Base.ts';
|
|
5
|
-
export { WelcomeText, PageTitle, nl2br, NameValuePair };
|
|
6
|
+
export { WelcomeText, PageTitle, PageSubtitle, nl2br, NameValuePair };
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="text-h6 font-weight-bold mt-7 mb-4">{{ subtitle }}</div>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script lang="ts">
|
|
6
|
+
import {defineComponent} from "vue";
|
|
7
|
+
|
|
8
|
+
export default defineComponent({
|
|
9
|
+
name: "PageSubtitle",
|
|
10
|
+
props: {
|
|
11
|
+
subtitle: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
})
|
|
17
|
+
</script>
|