alytus-ff 0.1.0
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/.idea/alytus-ff.iml +8 -0
- package/.idea/inspectionProfiles/Project_Default.xml +31 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- package/.idea/misc.xml +7 -0
- package/.idea/modules.xml +8 -0
- package/README.md +3 -0
- package/dist/my-component.es.js +29 -0
- package/dist/my-component.umd.js +1 -0
- package/dist/style.css +1 -0
- package/index.js +10 -0
- package/package.json +23 -0
- package/src/components/Page/MyComponent.vue +29 -0
- package/vite.config.js +26 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
+
<option name="myValues">
|
|
7
|
+
<value>
|
|
8
|
+
<list size="15">
|
|
9
|
+
<item index="0" class="java.lang.String" itemvalue="nobr" />
|
|
10
|
+
<item index="1" class="java.lang.String" itemvalue="noembed" />
|
|
11
|
+
<item index="2" class="java.lang.String" itemvalue="comment" />
|
|
12
|
+
<item index="3" class="java.lang.String" itemvalue="noscript" />
|
|
13
|
+
<item index="4" class="java.lang.String" itemvalue="embed" />
|
|
14
|
+
<item index="5" class="java.lang.String" itemvalue="script" />
|
|
15
|
+
<item index="6" class="java.lang.String" itemvalue="fieldgroupchilds" />
|
|
16
|
+
<item index="7" class="java.lang.String" itemvalue="innertaskslist" />
|
|
17
|
+
<item index="8" class="java.lang.String" itemvalue="creditlimitrequestdialog" />
|
|
18
|
+
<item index="9" class="java.lang.String" itemvalue="datefield" />
|
|
19
|
+
<item index="10" class="java.lang.String" itemvalue="vuesignaturepad" />
|
|
20
|
+
<item index="11" class="java.lang.String" itemvalue="filesfield" />
|
|
21
|
+
<item index="12" class="java.lang.String" itemvalue="contractcalculationsummary" />
|
|
22
|
+
<item index="13" class="java.lang.String" itemvalue="creditlimitrequireddocumentscomment" />
|
|
23
|
+
<item index="14" class="java.lang.String" itemvalue="ServiceDescription" />
|
|
24
|
+
</list>
|
|
25
|
+
</value>
|
|
26
|
+
</option>
|
|
27
|
+
<option name="myCustomValuesEnabled" value="true" />
|
|
28
|
+
</inspection_tool>
|
|
29
|
+
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
30
|
+
</profile>
|
|
31
|
+
</component>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="Black">
|
|
4
|
+
<option name="sdkName" value="Python 2.7" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
|
|
7
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/alytus-ff.iml" filepath="$PROJECT_DIR$/.idea/alytus-ff.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { openBlock as i, createElementBlock as p, createElementVNode as c, toDisplayString as l } from "vue";
|
|
2
|
+
const a = (e, n) => {
|
|
3
|
+
const t = e.__vccOpts || e;
|
|
4
|
+
for (const [o, r] of n)
|
|
5
|
+
t[o] = r;
|
|
6
|
+
return t;
|
|
7
|
+
}, s = {
|
|
8
|
+
name: "MyComponent",
|
|
9
|
+
props: {
|
|
10
|
+
title: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "Hello World"
|
|
13
|
+
},
|
|
14
|
+
description: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "This is a Vue component."
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
function d(e, n, t, o, r, _) {
|
|
21
|
+
return i(), p("div", null, [
|
|
22
|
+
c("h1", null, l(t.title), 1),
|
|
23
|
+
c("p", null, l(t.description), 1)
|
|
24
|
+
]);
|
|
25
|
+
}
|
|
26
|
+
const m = /* @__PURE__ */ a(s, [["render", d], ["__scopeId", "data-v-03abd607"]]);
|
|
27
|
+
export {
|
|
28
|
+
m as MyComponent
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.MyComponent={},t.Vue))})(this,function(t,e){"use strict";const d=(o,i)=>{const n=o.__vccOpts||o;for(const[r,c]of i)n[r]=c;return n},p={name:"MyComponent",props:{title:{type:String,default:"Hello World"},description:{type:String,default:"This is a Vue component."}}};function s(o,i,n,r,c,f){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("h1",null,e.toDisplayString(n.title),1),e.createElementVNode("p",null,e.toDisplayString(n.description),1)])}const l=d(p,[["render",s],["__scopeId","data-v-03abd607"]]);t.MyComponent=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
h1[data-v-03abd607]{color:#42b983}
|
package/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// index.js
|
|
2
|
+
|
|
3
|
+
// Import the Vue component
|
|
4
|
+
import MyComponent from './src/components/Page/MyComponent.vue';
|
|
5
|
+
|
|
6
|
+
// Export it as the default export (optional)
|
|
7
|
+
// export default MyComponent;
|
|
8
|
+
|
|
9
|
+
// Alternatively, you can use named exports
|
|
10
|
+
export { MyComponent };
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "module",
|
|
3
|
+
"name": "alytus-ff",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Frontend framework",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
9
|
+
"build-only": "vite build",
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
+
},
|
|
12
|
+
"author": "EG",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"vue": "^3.4.38"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
|
19
|
+
"@vue/compiler-sfc": "^3.4.38",
|
|
20
|
+
"typescript": "^5.5.4",
|
|
21
|
+
"vite": "^5.4.2"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- MyComponent.vue -->
|
|
2
|
+
<template>
|
|
3
|
+
<div>
|
|
4
|
+
<h1>{{ title }}</h1>
|
|
5
|
+
<p>{{ description }}</p>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
export default {
|
|
11
|
+
name: 'MyComponent',
|
|
12
|
+
props: {
|
|
13
|
+
title: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: 'Hello World'
|
|
16
|
+
},
|
|
17
|
+
description: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: 'This is a Vue component.'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
h1 {
|
|
27
|
+
color: #42b983;
|
|
28
|
+
}
|
|
29
|
+
</style>
|
package/vite.config.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// vite.config.js
|
|
2
|
+
import { defineConfig } from 'vite';
|
|
3
|
+
import vue from '@vitejs/plugin-vue';
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [vue()],
|
|
7
|
+
build: {
|
|
8
|
+
lib: {
|
|
9
|
+
entry: './index.js',
|
|
10
|
+
name: 'MyComponent',
|
|
11
|
+
fileName: (format) => `my-component.${format}.js`
|
|
12
|
+
},
|
|
13
|
+
rollupOptions: {
|
|
14
|
+
// make sure to externalize dependencies that shouldn't be bundled
|
|
15
|
+
// into your library
|
|
16
|
+
external: ['vue'],
|
|
17
|
+
output: {
|
|
18
|
+
// Provide global variables to use in the UMD build
|
|
19
|
+
// for externalized deps
|
|
20
|
+
globals: {
|
|
21
|
+
vue: 'Vue'
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|