@swj_ld/ld-component-library 1.0.0 → 1.0.1

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.

Potentially problematic release.


This version of @swj_ld/ld-component-library might be problematic. Click here for more details.

@@ -1 +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.LdComponentLibrary={},t.Vue))})(this,function(t,e){"use strict";const r=((o,s)=>{const n=o.__vccOpts||o;for(const[i,d]of s)n[i]=d;return n})(e.defineComponent({__name:"LdEmpty",props:{description:{default:"暂无内容"},top:{default:"46%"}},setup(o){return(s,n)=>{const i=e.resolveComponent("sar-empty");return e.openBlock(),e.createElementBlock("view",{class:"empty-wrap",style:e.normalizeStyle({top:o.top})},[e.createVNode(i,{description:o.description,"root-style":{"--sar-empty-description-margin-top":0,"--sar-empty-description-font-size":"28rpx","--sar-empty-description-font-weight":"300","--sar-empty-description-color":"#151515","--sar-empty-extra-margin-top":0}},{icon:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("image",{src:"/assets/images/nodata.png",class:"image-box"},null,-1)])]),default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["description"])],4)}}}),[["__scopeId","data-v-ac2729c0"]]),p={LdEmpty:r};t.LdEmpty=r,t.default=p,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(t,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,e(t.LdComponentLibrary={},t.Vue))})(this,function(t,e){"use strict";const r=((o,s)=>{const n=o.__vccOpts||o;for(const[i,d]of s)n[i]=d;return n})(e.defineComponent({__name:"LdEmpty",props:{description:{default:"暂无内容"},top:{default:"46%"}},setup(o){return(s,n)=>{const i=e.resolveComponent("sar-empty");return e.openBlock(),e.createElementBlock("view",{class:"empty-wrap",style:e.normalizeStyle({top:o.top})},[e.createVNode(i,{description:o.description,"root-style":{"--sar-empty-description-margin-top":0,"--sar-empty-description-font-size":"28rpx","--sar-empty-description-font-weight":"300","--sar-empty-description-color":"#151515","--sar-empty-extra-margin-top":0}},{icon:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("image",{src:"/assets/images/nodata.png",class:"image-box"},null,-1)])]),default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["description"])],4)}}}),[["__scopeId","data-v-ac2729c0"]]),p={LdEmpty:r};t.LdEmpty=r,t.default=p,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swj_ld/ld-component-library",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/types/index.d.ts",
@@ -12,12 +12,10 @@
12
12
  "main": "dist/ld-component-library.umd.js",
13
13
  "module": "dist/ld-component-library.es.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "files": ["dist", "src"],
16
- "scripts": {
17
- "build": "vite build",
18
- "type-check": "vue-tsc --noEmit",
19
- "dev": "vite"
20
- },
15
+ "files": [
16
+ "dist",
17
+ "src"
18
+ ],
21
19
  "peerDependencies": {
22
20
  "sard-uniapp": "^x.x.x",
23
21
  "vue": "^3.3.4"
@@ -28,5 +26,10 @@
28
26
  "vite": "^5.0.0",
29
27
  "vite-plugin-dts": "^3.6.4",
30
28
  "vue-tsc": "^1.8.27"
29
+ },
30
+ "scripts": {
31
+ "build": "vite build",
32
+ "type-check": "vue-tsc --noEmit",
33
+ "dev": "vite"
31
34
  }
32
- }
35
+ }