alytus-ff 0.1.8 → 0.1.10

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.
@@ -0,0 +1,2 @@
1
+ export * from './utils';
2
+ export { PageTitle } from './components';
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "alytus-ff",
4
- "version": "0.1.8",
4
+ "version": "0.1.10",
5
5
  "description": "Frontend framework",
6
6
  "main": "src/index.ts",
7
7
  "module": "dist/index.es.js",
8
- "types": "dist/index.d.ts",
8
+ "types": "dist/types/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": "./dist/index.es.js",
@@ -16,7 +16,8 @@
16
16
  },
17
17
  "scripts": {
18
18
  "build": "vite build",
19
- "build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types"
19
+ "build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types",
20
+ "type-check": "tsc --noEmit"
20
21
  },
21
22
  "author": "EG",
22
23
  "license": "ISC",
@@ -0,0 +1,2 @@
1
+ export { default as PageTitle } from './Page/PageTitle.vue';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
package/src/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import "./styles/main.scss";
2
+ export * from "./utils";
3
+ export { PageTitle } from "./components";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAA"}
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./styles/main.scss"
2
2
  export * from "./utils"
3
- export * from "./components"
3
+ export {PageTitle} from "./components"
@@ -0,0 +1,3 @@
1
+ export * from "./date";
2
+ export * from "./data_sync";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA"}
package/tsconfig.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "declaration": true, // Generate declaration files (.d.ts)
4
4
  "declarationDir": "types", // Specify the output directory for declaration files
5
- "emitDeclarationOnly": true, // Only emit .d.ts files, no JavaScript
5
+ // "emitDeclarationOnly": true, // Only emit .d.ts files, no JavaScript
6
6
  "target": "esnext",
7
7
  "module": "esnext",
8
8
  "moduleResolution": "node",
package/types/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./styles/main.scss";
2
2
  export * from "./utils";
3
- export * from "./components";
3
+ export { PageTitle } from "./components";
@@ -0,0 +1,3 @@
1
+ export type Dict = {
2
+ [name: string]: any;
3
+ };
@@ -0,0 +1,6 @@
1
+ import { Dict } from "@/types/base";
2
+ export declare const syncToList: (collection: Dict[], item: Dict) => void;
3
+ export declare const syncItemChanges: (obj: Dict, changes: Dict) => void;
4
+ export declare const removeFromListById: (collection: {
5
+ id: number;
6
+ }[], item_id: number) => void;
@@ -0,0 +1 @@
1
+ export declare const parseSysDate: (d_str: string) => Date;
@@ -0,0 +1,2 @@
1
+ export * from "./date";
2
+ export * from "./data_sync";
package/vite.config.ts CHANGED
@@ -6,7 +6,8 @@ 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
+ outDir: 'dist/types', // Output directory for .d.ts files
10
11
  insertTypesEntry: true, // Generates an entry file for types
11
12
  copyDtsFiles: true, // Copies .d.ts files to the output directory
12
13
  })
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './utils';
2
- export * from './components';
File without changes
File without changes
File without changes
File without changes
File without changes