bulade-ui 1.0.9 → 1.1.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.
Files changed (112) hide show
  1. package/miniprogram_dist/bld-checkbox/index.js +214 -0
  2. package/miniprogram_dist/bld-checkbox/index.js.map +1 -0
  3. package/miniprogram_dist/bld-checkbox/index.json +6 -0
  4. package/miniprogram_dist/bld-checkbox/index.wxml +67 -0
  5. package/miniprogram_dist/bld-checkbox/index.wxss +62 -0
  6. package/miniprogram_dist/bld-checkbox-group/index.js +184 -0
  7. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -0
  8. package/miniprogram_dist/bld-checkbox-group/index.json +4 -0
  9. package/miniprogram_dist/bld-checkbox-group/index.wxml +1 -0
  10. package/miniprogram_dist/bld-checkbox-group/index.wxss +0 -0
  11. package/miniprogram_dist/bld-cloud-image/index.js +2 -2
  12. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  13. package/miniprogram_dist/bld-collapse/index.js +163 -0
  14. package/miniprogram_dist/bld-collapse/index.js.map +1 -0
  15. package/miniprogram_dist/bld-collapse/index.json +3 -0
  16. package/miniprogram_dist/bld-collapse/index.wxml +9 -0
  17. package/miniprogram_dist/bld-collapse/index.wxss +7 -0
  18. package/miniprogram_dist/bld-empty-page/index.json +4 -1
  19. package/miniprogram_dist/bld-empty-page/index.wxml +1 -1
  20. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +2 -2
  21. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  22. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.json +2 -1
  23. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxml +1 -1
  24. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
  25. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  26. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js +2 -2
  27. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  28. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.json +2 -1
  29. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxml +1 -1
  30. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
  31. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  32. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
  33. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  34. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
  35. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  36. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
  37. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  38. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.json +2 -1
  39. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxml +1 -1
  40. package/miniprogram_dist/bld-icon/index.wxss +33 -1
  41. package/miniprogram_dist/bld-loading/index.js +2 -2
  42. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  43. package/miniprogram_dist/bld-nav-bar/index.js +2 -2
  44. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  45. package/miniprogram_dist/bld-notice-bar/index.js +2 -2
  46. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  47. package/miniprogram_dist/bld-overlay/index.js +2 -2
  48. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  49. package/miniprogram_dist/bld-page/index.js +2 -2
  50. package/miniprogram_dist/bld-page/index.js.map +1 -1
  51. package/miniprogram_dist/bld-radio/index.js +166 -0
  52. package/miniprogram_dist/bld-radio/index.js.map +1 -0
  53. package/miniprogram_dist/bld-radio/index.json +4 -0
  54. package/miniprogram_dist/bld-radio/index.wxml +24 -0
  55. package/miniprogram_dist/bld-radio/index.wxss +79 -0
  56. package/miniprogram_dist/bld-radio-group/index.js +182 -0
  57. package/miniprogram_dist/bld-radio-group/index.js.map +1 -0
  58. package/miniprogram_dist/bld-radio-group/index.json +4 -0
  59. package/miniprogram_dist/bld-radio-group/index.wxml +1 -0
  60. package/miniprogram_dist/bld-radio-group/index.wxss +0 -0
  61. package/miniprogram_dist/bld-retry/index.js +2 -2
  62. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  63. package/miniprogram_dist/bld-scroll-view/index.js +2 -2
  64. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  65. package/miniprogram_dist/bld-wrapper/index.js +2 -2
  66. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  67. package/miniprogram_dist/cell/index.js +2 -2
  68. package/miniprogram_dist/cell/index.js.map +1 -1
  69. package/miniprogram_dist/cell-group/index.js +2 -2
  70. package/miniprogram_dist/cell-group/index.js.map +1 -1
  71. package/miniprogram_dist/grid/index.js +2 -2
  72. package/miniprogram_dist/grid/index.js.map +1 -1
  73. package/miniprogram_dist/grid-item/index.js +2 -2
  74. package/miniprogram_dist/grid-item/index.js.map +1 -1
  75. package/miniprogram_dist/timeline/index.js +2 -2
  76. package/miniprogram_dist/timeline/index.js.map +1 -1
  77. package/miniprogram_dist/timeline-item/index.js +2 -2
  78. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/bld-checkbox/index.js +110 -0
  81. package/src/bld-checkbox/index.json +6 -0
  82. package/src/bld-checkbox/index.scss +72 -0
  83. package/src/bld-checkbox/index.wxml +67 -0
  84. package/src/bld-checkbox/index.wxss +62 -0
  85. package/src/bld-checkbox-group/index.js +84 -0
  86. package/src/bld-checkbox-group/index.json +4 -0
  87. package/src/bld-checkbox-group/index.wxml +1 -0
  88. package/src/bld-checkbox-group/index.wxss +0 -0
  89. package/src/bld-collapse/index.js +62 -0
  90. package/src/bld-collapse/index.json +3 -0
  91. package/src/bld-collapse/index.scss +7 -0
  92. package/src/bld-collapse/index.wxml +9 -0
  93. package/src/bld-collapse/index.wxss +7 -0
  94. package/src/bld-empty-page/index.json +4 -1
  95. package/src/bld-empty-page/index.wxml +1 -1
  96. package/src/bld-form/bld-form-item/bld-form-date/index.json +2 -1
  97. package/src/bld-form/bld-form-item/bld-form-date/index.wxml +1 -1
  98. package/src/bld-form/bld-form-item/bld-form-select-input/index.json +2 -1
  99. package/src/bld-form/bld-form-item/bld-form-select-input/index.wxml +1 -1
  100. package/src/bld-form/bld-form-item/bld-form-time/index.json +2 -1
  101. package/src/bld-form/bld-form-item/bld-form-time/index.wxml +1 -1
  102. package/src/bld-icon/index.scss +33 -1
  103. package/src/bld-icon/index.wxss +33 -1
  104. package/src/bld-radio/index.js +64 -0
  105. package/src/bld-radio/index.json +4 -0
  106. package/src/bld-radio/index.scss +68 -0
  107. package/src/bld-radio/index.wxml +24 -0
  108. package/src/bld-radio/index.wxss +79 -0
  109. package/src/bld-radio-group/index.js +83 -0
  110. package/src/bld-radio-group/index.json +4 -0
  111. package/src/bld-radio-group/index.wxml +1 -0
  112. package/src/bld-radio-group/index.wxss +0 -0
@@ -0,0 +1,163 @@
1
+ module.exports =
2
+ /******/ (function(modules) { // webpackBootstrap
3
+ /******/ // The module cache
4
+ /******/ var installedModules = {};
5
+ /******/
6
+ /******/ // The require function
7
+ /******/ function __webpack_require__(moduleId) {
8
+ /******/
9
+ /******/ // Check if module is in cache
10
+ /******/ if(installedModules[moduleId]) {
11
+ /******/ return installedModules[moduleId].exports;
12
+ /******/ }
13
+ /******/ // Create a new module (and put it into the cache)
14
+ /******/ var module = installedModules[moduleId] = {
15
+ /******/ i: moduleId,
16
+ /******/ l: false,
17
+ /******/ exports: {}
18
+ /******/ };
19
+ /******/
20
+ /******/ // Execute the module function
21
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
+ /******/
23
+ /******/ // Flag the module as loaded
24
+ /******/ module.l = true;
25
+ /******/
26
+ /******/ // Return the exports of the module
27
+ /******/ return module.exports;
28
+ /******/ }
29
+ /******/
30
+ /******/
31
+ /******/ // expose the modules object (__webpack_modules__)
32
+ /******/ __webpack_require__.m = modules;
33
+ /******/
34
+ /******/ // expose the module cache
35
+ /******/ __webpack_require__.c = installedModules;
36
+ /******/
37
+ /******/ // define getter function for harmony exports
38
+ /******/ __webpack_require__.d = function(exports, name, getter) {
39
+ /******/ if(!__webpack_require__.o(exports, name)) {
40
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
+ /******/ }
42
+ /******/ };
43
+ /******/
44
+ /******/ // define __esModule on exports
45
+ /******/ __webpack_require__.r = function(exports) {
46
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
+ /******/ }
49
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
+ /******/ };
51
+ /******/
52
+ /******/ // create a fake namespace object
53
+ /******/ // mode & 1: value is a module id, require it
54
+ /******/ // mode & 2: merge all properties of value into the ns
55
+ /******/ // mode & 4: return value when already ns object
56
+ /******/ // mode & 8|1: behave like require
57
+ /******/ __webpack_require__.t = function(value, mode) {
58
+ /******/ if(mode & 1) value = __webpack_require__(value);
59
+ /******/ if(mode & 8) return value;
60
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
+ /******/ var ns = Object.create(null);
62
+ /******/ __webpack_require__.r(ns);
63
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
+ /******/ return ns;
66
+ /******/ };
67
+ /******/
68
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
69
+ /******/ __webpack_require__.n = function(module) {
70
+ /******/ var getter = module && module.__esModule ?
71
+ /******/ function getDefault() { return module['default']; } :
72
+ /******/ function getModuleExports() { return module; };
73
+ /******/ __webpack_require__.d(getter, 'a', getter);
74
+ /******/ return getter;
75
+ /******/ };
76
+ /******/
77
+ /******/ // Object.prototype.hasOwnProperty.call
78
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
+ /******/
80
+ /******/ // __webpack_public_path__
81
+ /******/ __webpack_require__.p = "";
82
+ /******/
83
+ /******/
84
+ /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = 41);
86
+ /******/ })
87
+ /************************************************************************/
88
+ /******/ ({
89
+
90
+ /***/ 41:
91
+ /***/ (function(module, exports, __webpack_require__) {
92
+
93
+ "use strict";
94
+
95
+
96
+ Component({
97
+ options: {
98
+ addGlobalClass: true
99
+ },
100
+
101
+ properties: {
102
+ duration: {
103
+ type: Number,
104
+ value: 300
105
+ },
106
+ visible: {
107
+ type: Boolean,
108
+ value: false
109
+ }
110
+ },
111
+
112
+ data: {
113
+ contentHeight: 0, // 内容区域高度
114
+ isReady: false
115
+ },
116
+
117
+ observers: {
118
+ visible: function visible(val) {
119
+ if (val && this.data.isReady) {
120
+ this.getContainerHeight();
121
+ } else {
122
+ this.setData({
123
+ contentHeight: 0
124
+ });
125
+ }
126
+ }
127
+ },
128
+
129
+ lifetimes: {
130
+ ready: function ready() {
131
+ this.data.isReady = true;
132
+
133
+ if (this.data.visible) {
134
+ this.getContainerHeight();
135
+ }
136
+ }
137
+ },
138
+
139
+ methods: {
140
+ getContainerHeight: function getContainerHeight() {
141
+ var _this = this;
142
+
143
+ var query = this.createSelectorQuery();
144
+ query.select('.m-collapse__content').boundingClientRect();
145
+
146
+ query.exec(function (res) {
147
+ var contentHeight = res[0].height;
148
+
149
+ _this.setData({
150
+ contentHeight: contentHeight
151
+ });
152
+ });
153
+ },
154
+ onTransitionEnd: function onTransitionEnd() {
155
+ this.triggerEvent('on-change', this.data.visible);
156
+ }
157
+ }
158
+ });
159
+
160
+ /***/ })
161
+
162
+ /******/ });
163
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-collapse/index.js"],"names":["Component","options","addGlobalClass","properties","duration","type","Number","value","visible","Boolean","data","contentHeight","isReady","observers","val","getContainerHeight","setData","lifetimes","ready","methods","query","createSelectorQuery","select","boundingClientRect","exec","res","height","onTransitionEnd","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;;AAKRC,cAAY;AACVC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO;AAFC,KADA;AAKVC,aAAS;AACPH,YAAMI,OADC;AAEPF,aAAO;AAFA;AALC,GALJ;;AAgBRG,QAAM;AACJC,mBAAe,CADX,EACgB;AACpBC,aAAS;AAFL,GAhBE;;AAqBRC,aAAW;AACTL,WADS,mBACDM,GADC,EACI;AACX,UAAIA,OAAO,KAAKJ,IAAL,CAAUE,OAArB,EAA8B;AAC5B,aAAKG,kBAAL;AACD,OAFD,MAEO;AACL,aAAKC,OAAL,CAAa;AACXL,yBAAe;AADJ,SAAb;AAGD;AACF;AATQ,GArBH;;AAiCRM,aAAW;AACTC,SADS,mBACD;AACN,WAAKR,IAAL,CAAUE,OAAV,GAAoB,IAApB;;AAEA,UAAI,KAAKF,IAAL,CAAUF,OAAd,EAAuB;AACrB,aAAKO,kBAAL;AACD;AACF;AAPQ,GAjCH;;AA2CRI,WAAS;AACPJ,sBADO,gCACc;AAAA;;AACnB,UAAMK,QAAQ,KAAKC,mBAAL,EAAd;AACAD,YAAME,MAAN,CAAa,sBAAb,EAAqCC,kBAArC;;AAEAH,YAAMI,IAAN,CAAW,eAAO;AAChB,YAAMb,gBAAgBc,IAAI,CAAJ,EAAOC,MAA7B;;AAEA,cAAKV,OAAL,CAAa;AACXL;AADW,SAAb;AAGD,OAND;AAOD,KAZM;AAcPgB,mBAdO,6BAcW;AAChB,WAAKC,YAAL,CAAkB,WAAlB,EAA+B,KAAKlB,IAAL,CAAUF,OAAzC;AACD;AAhBM;AA3CD,CAAV,E","file":"bld-collapse/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n","Component({\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n duration: {\n type: Number,\n value: 300\n },\n visible: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n contentHeight: 0, // 内容区域高度\n isReady: false\n },\n\n observers: {\n visible(val) {\n if (val && this.data.isReady) {\n this.getContainerHeight()\n } else {\n this.setData({\n contentHeight: 0\n })\n }\n }\n },\n\n lifetimes: {\n ready() {\n this.data.isReady = true\n\n if (this.data.visible) {\n this.getContainerHeight()\n }\n }\n },\n\n methods: {\n getContainerHeight() {\n const query = this.createSelectorQuery()\n query.select('.m-collapse__content').boundingClientRect()\n\n query.exec(res => {\n const contentHeight = res[0].height\n\n this.setData({\n contentHeight\n })\n })\n },\n\n onTransitionEnd() {\n this.triggerEvent('on-change', this.data.visible)\n }\n }\n});\n"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ {
2
+ "component": true
3
+ }
@@ -0,0 +1,9 @@
1
+ <view
2
+ class="m-collapse"
3
+ style="height: {{ contentHeight }}px; transition-duration: {{ duration }}ms;"
4
+ bind:transitionend="onTransitionEnd"
5
+ >
6
+ <view class="m-collapse__content">
7
+ <slot />
8
+ </view>
9
+ </view>
@@ -0,0 +1,7 @@
1
+ .m-collapse {
2
+ transition-property: height;
3
+ transition-duration: 0.3s;
4
+ transition-timing-function: ease-in-out;
5
+ overflow: hidden;
6
+ height: 0;
7
+ }
@@ -1,3 +1,6 @@
1
1
  {
2
- "component": true
2
+ "component": true,
3
+ "usingComponents": {
4
+ "bld-cloud-image": "../bld-cloud-image/index"
5
+ }
3
6
  }
@@ -2,7 +2,7 @@
2
2
  class="empty iclass"
3
3
  style="padding: {{ padding }}"
4
4
  >
5
- <cloud-image
5
+ <bld-cloud-image
6
6
  wx:if="{{ showImage }}"
7
7
  iclass="img iclass"
8
8
  src="{{ imageSrc }}"
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 9);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 10);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 9:
90
+ /***/ 10:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,SAASA,OAAT,GAAmB;AACjB,MAAMC,OAAO,IAAIC,IAAJ,EAAb;AACA,MAAMC,QAAQF,KAAKG,WAAL,KAAqB,IAAnC;AACA,MAAMC,SAASJ,KAAKK,QAAL,EAAf;AACA,MAAMC,OAAON,KAAKO,OAAL,KAAiB,CAA9B;AACA,SAAO,CAACL,KAAD,EAAQE,MAAR,EAAgBE,IAAhB,CAAP;AACD;AACDE,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,aAA1C,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACV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AAsC;AAC3C,aAAKK,OAAL,CAAa,EAAb;AACA,YAAIL,IAAI,CAAJ,IAAS,EAAb,EAAiB;AACf,eAAKM,MAAL,CAAY,EAAZ;AACD;AACF,OALM,MAKA;AACL,aAAKD,OAAL,CAAa,EAAb;AACA,YAAIL,IAAI,CAAJ,IAAS,EAAb,EAAiB;AACf,eAAKM,MAAL,CAAY,EAAZ;AACD;AACF;AACF,KApFM;AAqFPC,YArFO,oBAqFE7B,KArFF,EAqFS;AACd,UAAMjB,SAAS,EAAf;AACA,WAAK,IAAI2B,IAAI,CAAb,EAAgBA,KAAKV,KAArB,EAA4BU,GAA5B,EAAiC;AAC/B3B,eAAO4B,IAAP,CAAYD,CAAZ;AACD;AACD,WAAKE,OAAL,CAAa;AACX7B,gBAAQA;AADG,OAAb;AAGD,KA7FM;AA8FP4C,WA9FO,mBA8FC1B,GA9FD,EA8FM;AACX,UAAMhB,OAAO,EAAb;AACA,WAAK,IAAIyB,IAAI,CAAb,EAAgBA,KAAKT,GAArB,EAA0BS,GAA1B,EAA+B;AAC7BzB,aAAK0B,IAAL,CAAUD,CAAV;AACD;AACD,WAAKE,OAAL,CAAa;AACX3B,cAAMA;AADK,OAAb;AAGD,KAtGM;AAuGP2C,UAvGO,kBAuGAE,MAvGA,EAuGQ;AACb,UAAM3B,cAAc,KAAKL,IAAL,CAAUK,WAA9B;;AAEAA,kBAAY,CAAZ,IAAiB2B,MAAjB;AACA,WAAKlB,OAAL,CAAa;AACXT,qBAAaA;AADF,OAAb;AAGD;AA9GM;AA/CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-date/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAE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S,EAAf;AACA,WAAK,IAAI2B,IAAI,CAAb,EAAgBA,KAAKV,KAArB,EAA4BU,GAA5B,EAAiC;AAC/B3B,eAAO4B,IAAP,CAAYD,CAAZ;AACD;AACD,WAAKE,OAAL,CAAa;AACX7B,gBAAQA;AADG,OAAb;AAGD,KA7FM;AA8FP4C,WA9FO,mBA8FC1B,GA9FD,EA8FM;AACX,UAAMhB,OAAO,EAAb;AACA,WAAK,IAAIyB,IAAI,CAAb,EAAgBA,KAAKT,GAArB,EAA0BS,GAA1B,EAA+B;AAC7BzB,aAAK0B,IAAL,CAAUD,CAAV;AACD;AACD,WAAKE,OAAL,CAAa;AACX3B,cAAMA;AADK,OAAb;AAGD,KAtGM;AAuGP2C,UAvGO,kBAuGAE,MAvGA,EAuGQ;AACb,UAAM3B,cAAc,KAAKL,IAAL,CAAUK,WAA9B;;AAEAA,kBAAY,CAAZ,IAAiB2B,MAAjB;AACA,WAAKlB,OAAL,CAAa;AACXT,qBAAaA;AADF,OAAb;AAGD;AA9GM;AA/CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-date/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\n"],"sourceRoot":""}
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "component": true,
3
3
  "usingComponents": {
4
- "bld-half-screen":"../../../bld-half-screen/index"
4
+ "bld-half-screen":"../../../bld-half-screen/index",
5
+ "bld-cloud-image": "../../../bld-cloud-image/index"
5
6
  }
6
7
  }
@@ -14,7 +14,7 @@
14
14
  </view>
15
15
  <view class="item-value-box">
16
16
  <view class="item-value-text form-value {{text?text:'value-placeholder'}}">{{text?text:"请选择"+label}}</view>
17
- <cloud-image
17
+ <bld-cloud-image
18
18
  iclass="arrow-icon select-icon"
19
19
  src="my/arrow.png"
20
20
  />
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 10);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 11);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 10:
90
+ /***/ 11:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n type: {\n type: String,\n value: \"text\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n },\n data: {\n // value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n type: {\n type: String,\n value: \"text\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n },\n data: {\n // value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 11);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 12);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 11:
90
+ /***/ 12:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,aAA1C,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,UAAM;AACJN,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVK,cAAU;AACRP,YAAMC,MADE;AAERC,aAAO;AAFC,KArBA;AAyBVM,cAAU;AACRR,YAAMC,MADE;AAERC,aAAO;AAFC,KAzBA;AA6BVO,gBAAY;AACVT,YAAMI,OADI;AAEVF,aAAO;AAFG,KA7BF;AAiCVQ,cAAU;AACRV,YAAMI,OADE;AAERF,aAAO;AAFC,KAjCA;AAqCVS,gBAAY;AACVX,YAAMI,OADI;AAEVF,aAA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WAAKa,OAAL,CAAa;AACXJ,yBAAiB;AADN,OAAb;AAGD,KAtBM;AAuBPM,WAvBO,qBAuBG;AACR,WAAKF,OAAL,CAAa;AACXL,cAAM,KAAKD,IAAL,CAAUL;AADL,OAAb;AAGD,KA3BM;AA4BPkB,eA5BO,uBA4BKC,CA5BL,EA4BQ;AACb,UAAI,CAACA,EAAEC,aAAF,CAAgBC,OAAhB,CAAwBvB,QAA7B,EAAuC;AACrC,aAAKa,OAAL,CAAa;AACXH,uBAAaW,EAAEC,aAAF,CAAgBC,OAAhB,CAAwB/B;AAD1B,SAAb;AAGD;AACF,KAlCM;AAmCPgC,gBAnCO,0BAmCQ;AACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n text: {\n type: String,\n value: \"\",\n },\n keyValue: {\n type: String,\n value: \"value\",\n },\n keyLabel: {\n type: String,\n value: \"label\",\n },\n showAction: {\n type: Boolean,\n value: false,\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showFilter: {\n type: Boolean,\n value: true,\n },\n listData: {\n type: Array,\n value: [],\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n placeholder: {\n type: String,\n value: \"\",\n },\n valuePlaceholder: {\n type: String,\n value: \"\",\n },\n },\n data: {\n list: [],\n showActionsheet: false,\n selectValue: \"\",\n inputValue: \"\",\n },\n\n observers: {\n showAction: function () {\n this.setData({\n showActionsheet: this.properties.showAction,\n selectValue: this.data.value,\n });\n },\n value: function () {\n this.initSelectText();\n },\n list: function () {\n this.initSelectText();\n },\n listData: function () {\n this.getList();\n },\n },\n lifetimes: {\n ready() {\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n },\n\n methods: {\n initSelectText() {\n if (!this.data.value) {\n this.setData({\n selectValue: \"\",\n inputValue: \"\",\n });\n\n return;\n }\n\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n getList() {\n this.setData({\n list: this.data.listData,\n });\n },\n chooseRadio(e) {\n if (!e.currentTarget.dataset.disabled) {\n this.setData({\n selectValue: e.currentTarget.dataset.value,\n });\n }\n },\n handelChoose() {\n this.setData({\n value: this.data.selectValue,\n showActionsheet: false,\n });\n this.triggerEvent(\"valueChange\");\n },\n inputValueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n this.triggerEvent(\"valueChange\");\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,aAA1C,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,UAAM;AACJN,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVK,cAAU;AACRP,YAAMC,MADE;AAERC,aAAO;AAFC,KArBA;AAyBVM,cAAU;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D;;AAED,WAAKE,OAAL,CAAa;AACXH,qBAAa,KAAKH,IAAL,CAAUf,KADZ;AAEXmB,oBAAY,KAAKJ,IAAL,CAAUf;AAFX,OAAb;AAID,KAfM;AAgBP2B,eAhBO,yBAgBO;AACZ,UAAI,KAAKZ,IAAL,CAAUP,QAAd,EAAwB;;AAExB,WAAKa,OAAL,CAAa;AACXJ,yBAAiB;AADN,OAAb;AAGD,KAtBM;AAuBPM,WAvBO,qBAuBG;AACR,WAAKF,OAAL,CAAa;AACXL,cAAM,KAAKD,IAAL,CAAUL;AADL,OAAb;AAGD,KA3BM;AA4BPkB,eA5BO,uBA4BKC,CA5BL,EA4BQ;AACb,UAAI,CAACA,EAAEC,aAAF,CAAgBC,OAAhB,CAAwBvB,QAA7B,EAAuC;AACrC,aAAKa,OAAL,CAAa;AACXH,uBAAaW,EAAEC,aAAF,CAAgBC,OAAhB,CAAwB/B;AAD1B,SAAb;AAGD;AACF,KAlCM;AAmCPgC,gBAnCO,0BAmCQ;AACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n text: {\n type: String,\n value: \"\",\n },\n keyValue: {\n type: String,\n value: \"value\",\n },\n keyLabel: {\n type: String,\n value: \"label\",\n },\n showAction: {\n type: Boolean,\n value: false,\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showFilter: {\n type: Boolean,\n value: true,\n },\n listData: {\n type: Array,\n value: [],\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n placeholder: {\n type: String,\n value: \"\",\n },\n valuePlaceholder: {\n type: String,\n value: \"\",\n },\n },\n data: {\n list: [],\n showActionsheet: false,\n selectValue: \"\",\n inputValue: \"\",\n },\n\n observers: {\n showAction: function () {\n this.setData({\n showActionsheet: this.properties.showAction,\n selectValue: this.data.value,\n });\n },\n value: function () {\n this.initSelectText();\n },\n list: function () {\n this.initSelectText();\n },\n listData: function () {\n this.getList();\n },\n },\n lifetimes: {\n ready() {\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n },\n\n methods: {\n initSelectText() {\n if (!this.data.value) {\n this.setData({\n selectValue: \"\",\n inputValue: \"\",\n });\n\n return;\n }\n\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n getList() {\n this.setData({\n list: this.data.listData,\n });\n },\n chooseRadio(e) {\n if (!e.currentTarget.dataset.disabled) {\n this.setData({\n selectValue: e.currentTarget.dataset.value,\n });\n }\n },\n handelChoose() {\n this.setData({\n value: this.data.selectValue,\n showActionsheet: false,\n });\n this.triggerEvent(\"valueChange\");\n },\n inputValueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n this.triggerEvent(\"valueChange\");\n },\n },\n});\n"],"sourceRoot":""}
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "component": true,
3
3
  "usingComponents": {
4
- "bld-half-screen":"../../../bld-half-screen/index"
4
+ "bld-half-screen":"../../../bld-half-screen/index",
5
+ "bld-cloud-image": "../../../bld-cloud-image/index"
5
6
  }
6
7
  }
@@ -14,7 +14,7 @@
14
14
  </view>
15
15
  <view class="item-value-box">
16
16
  <text overflow="ellipsis" class="item-value-text form-value {{value?'':'value-placeholder'}}">{{value?value:valuePlaceholder?valuePlaceholder:showPlaceholder?"请选择"+label:""}}</text>
17
- <cloud-image
17
+ <bld-cloud-image
18
18
  iclass="arrow-icon select-icon"
19
19
  src="my/arrow.png"
20
20
  />
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 12);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 13);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 12:
90
+ /***/ 13:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;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I,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-step/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n step: {\n type: Number,\n value: 1,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n reduce() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) - Number(this.data.step),\n });\n }\n },\n add() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) + Number(this.data.step),\n });\n }\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,UAAM;AACJP,YAAMQ,MADF;AAEJN,aAAO;AAFH;AArBI,GALJ;AA+BRO,QAAM;AACJP,WAAO;AADH,GA/BE;AAkCRQ,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTV,KADS,GACCU,MAAMC,MADP,CACTX,KADS;;;AAGjB,WAAKY,OAAL,CAAa;AACXZ,eAAOA;AADI,OAAb;AAGD,KAPM;AAQPa,UARO,oBAQE;AACP,UAAI,KAAKN,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF,KAdM;AAePS,OAfO,iBAeD;AACJ,UAAI,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-step/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 13);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n step: {\n type: Number,\n value: 1,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n reduce() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) - Number(this.data.step),\n });\n }\n },\n add() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) + Number(this.data.step),\n });\n }\n },\n },\n});\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 13);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 14);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 13:
90
+ /***/ 14:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form/bld-form-item/bld-form-switch/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 13);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\"\n },\n labelWidth: {\n type: String,\n value: \"auto\"\n },\n\n value: {\n type: Boolean,\n value: false\n },\n disabled: {\n type: Boolean,\n value: false\n },\n color: {\n type: String,\n value: \"#FF0007\"\n }\n },\n data: {},\n lifetimes: {},\n methods: {\n switchChange(event) {\n let { value } = event.detail\n this.setData({\n value: value\n })\n this.triggerEvent('bldSwitchChange', value);\n }\n }\n})\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form/bld-form-item/bld-form-switch/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 14);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\"\n },\n labelWidth: {\n type: String,\n value: \"auto\"\n },\n\n value: {\n type: Boolean,\n value: false\n },\n disabled: {\n type: Boolean,\n value: false\n },\n color: {\n type: String,\n value: \"#FF0007\"\n }\n },\n data: {},\n lifetimes: {},\n methods: {\n switchChange(event) {\n let { value } = event.detail\n this.setData({\n value: value\n })\n this.triggerEvent('bldSwitchChange', value);\n }\n }\n})\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 14);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 15);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 14:
90
+ /***/ 15:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-textarea/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 14);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n autoHeight: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-textarea/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 15);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n autoHeight: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 15);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 16);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 15:
90
+ /***/ 16:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";