@leshi/silicon 0.0.10 → 0.0.12

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/README.md CHANGED
@@ -1,19 +1,4 @@
1
- ## 本地开发
2
-
3
- 1. 在目标项目执行`yalc add silicon`
4
- 2. 在目标项目的 `vite.config.js` 里添加
5
- ```javascript
6
- export default defineConfig({
7
- optimizeDeps: {
8
- exclude: ['silicon']
9
- },
10
- server: {
11
- watch: {
12
- // 2. 👈 致命关键:默认规则是忽略 node_modules,通过叹号 ! 强行把 silicon 从忽略名单里剔除!
13
- ignored: ['!**/node_modules/silicon/**']
14
- }
15
- }
16
- })
17
- ```
18
- 3. 在本项目执行 `npm run dev`
19
- 4. 本项目的类型、函数名等变化时,目标项目虽然也会跟着变,但是 IDE 的提示不会更新,因为 ts 的文件没更新,此时执行一下 `npm run build` 即可
1
+ ## 本地启动
2
+ 1. 执行 `npm run dev`
3
+ 2. w2 绑定 `127.0.0.1:3333 www.le.com`
4
+ 3. 访问`https://www.le.com`,页面的测试代码在 playground 文件夹里
@@ -1,5 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  title: string;
3
+ dataList: object[];
3
4
  };
4
5
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
6
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ smallPackageList: PackageInfo[];
3
+ bigPackageList: PackageInfo[];
4
+ isLogin: boolean;
5
+ outUserInfo: UserInfo | null;
6
+ vipType?: 1 | 9;
7
+ };
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ close: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onClose?: ((...args: any[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -1,3 +1,5 @@
1
- declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
1
+ interface PreCashierProps {
2
+ vipType?: 1 | 9;
3
+ }
4
+ export declare const openCashier: (options?: PreCashierProps) => Promise<void>;
5
+ export {};