bkui-vue 0.0.1-beta.387 → 0.0.1-beta.389

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 (150) hide show
  1. package/dist/index.cjs.js +22 -22
  2. package/dist/index.esm.js +1 -0
  3. package/dist/index.umd.js +23 -23
  4. package/lib/affix/index.js +353 -1
  5. package/lib/alert/index.js +251 -1
  6. package/lib/animate-number/index.js +226 -1
  7. package/lib/backtop/index.js +260 -1
  8. package/lib/badge/index.js +274 -1
  9. package/lib/breadcrumb/index.js +329 -1
  10. package/lib/button/index.js +371 -1
  11. package/lib/card/index.js +326 -1
  12. package/lib/cascader/index.js +2168 -1
  13. package/lib/checkbox/index.js +571 -1
  14. package/lib/code-diff/index.js +5520 -1
  15. package/lib/collapse/index.js +698 -1
  16. package/lib/color-picker/index.js +2816 -1
  17. package/lib/components.js +759 -1
  18. package/lib/container/index.js +369 -1
  19. package/lib/date-picker/index.js +5601 -1
  20. package/lib/dialog/index.js +545 -1
  21. package/lib/directives/index.js +1428 -2
  22. package/lib/dist.index.js +166 -1
  23. package/lib/divider/index.js +512 -1
  24. package/lib/dropdown/index.js +414 -1
  25. package/lib/exception/index.js +405 -1
  26. package/lib/fixed-navbar/index.js +214 -1
  27. package/lib/form/index.js +986 -1
  28. package/lib/icon/angle-double-down-line.js +426 -1
  29. package/lib/icon/angle-double-left-line.js +426 -1
  30. package/lib/icon/angle-double-left.js +426 -1
  31. package/lib/icon/angle-double-right-line.js +426 -1
  32. package/lib/icon/angle-double-right.js +426 -1
  33. package/lib/icon/angle-double-up-line.js +426 -1
  34. package/lib/icon/angle-down-fill.js +426 -1
  35. package/lib/icon/angle-down-line.js +426 -1
  36. package/lib/icon/angle-down.js +426 -1
  37. package/lib/icon/angle-left.js +426 -1
  38. package/lib/icon/angle-right.js +426 -1
  39. package/lib/icon/angle-up-fill.js +426 -1
  40. package/lib/icon/angle-up.js +426 -1
  41. package/lib/icon/archive-fill.js +426 -1
  42. package/lib/icon/arrows-left.js +426 -1
  43. package/lib/icon/arrows-right.js +426 -1
  44. package/lib/icon/audio-fill.js +426 -1
  45. package/lib/icon/bk.js +426 -1
  46. package/lib/icon/circle.js +426 -1
  47. package/lib/icon/close-line.js +426 -1
  48. package/lib/icon/close.js +426 -1
  49. package/lib/icon/code.js +426 -1
  50. package/lib/icon/cog-shape.js +426 -1
  51. package/lib/icon/collapse-left.js +426 -1
  52. package/lib/icon/copy.js +426 -1
  53. package/lib/icon/data-shape.js +426 -1
  54. package/lib/icon/del.js +426 -1
  55. package/lib/icon/doc-fill.js +426 -1
  56. package/lib/icon/done.js +426 -1
  57. package/lib/icon/down-shape.js +426 -1
  58. package/lib/icon/down-small.js +426 -1
  59. package/lib/icon/edit-line.js +426 -1
  60. package/lib/icon/ellipsis.js +426 -1
  61. package/lib/icon/enlarge-line.js +426 -1
  62. package/lib/icon/error.js +426 -1
  63. package/lib/icon/excel-fill.js +426 -1
  64. package/lib/icon/exclamation-circle-shape.js +426 -1
  65. package/lib/icon/eye.js +426 -1
  66. package/lib/icon/filliscreen-line.js +426 -1
  67. package/lib/icon/folder-open.js +426 -1
  68. package/lib/icon/folder-shape-open.js +426 -1
  69. package/lib/icon/folder-shape.js +426 -1
  70. package/lib/icon/folder.js +426 -1
  71. package/lib/icon/funnel.js +426 -1
  72. package/lib/icon/help-document-fill.js +426 -1
  73. package/lib/icon/help-fill.js +426 -1
  74. package/lib/icon/help.js +426 -1
  75. package/lib/icon/image-fill.js +426 -1
  76. package/lib/icon/img-placehoulder.js +448 -1
  77. package/lib/icon/index.js +2275 -1
  78. package/lib/icon/info-line.js +448 -1
  79. package/lib/icon/info.js +448 -1
  80. package/lib/icon/left-shape.js +448 -1
  81. package/lib/icon/left-turn-line.js +448 -1
  82. package/lib/icon/narrow-line.js +448 -1
  83. package/lib/icon/original.js +448 -1
  84. package/lib/icon/pdf-fill.js +448 -1
  85. package/lib/icon/play-shape.js +448 -1
  86. package/lib/icon/plus.js +448 -1
  87. package/lib/icon/ppt-fill.js +448 -1
  88. package/lib/icon/qq.js +448 -1
  89. package/lib/icon/right-shape.js +448 -1
  90. package/lib/icon/right-turn-line.js +448 -1
  91. package/lib/icon/search.js +448 -1
  92. package/lib/icon/share.js +448 -1
  93. package/lib/icon/spinner.js +448 -1
  94. package/lib/icon/success.js +448 -1
  95. package/lib/icon/switcher-loading.js +448 -1
  96. package/lib/icon/text-file.js +448 -1
  97. package/lib/icon/text-fill.js +448 -1
  98. package/lib/icon/transfer.js +448 -1
  99. package/lib/icon/tree-application-shape.js +448 -1
  100. package/lib/icon/unfull-screen.js +448 -1
  101. package/lib/icon/unvisible.js +448 -1
  102. package/lib/icon/up-shape.js +448 -1
  103. package/lib/icon/upload.js +448 -1
  104. package/lib/icon/video-fill.js +448 -1
  105. package/lib/icon/warn.js +448 -1
  106. package/lib/icon/weixin.js +448 -1
  107. package/lib/image/index.js +873 -1
  108. package/lib/index.js +169 -1
  109. package/lib/info-box/index.js +1784 -1
  110. package/lib/input/index.js +846 -1
  111. package/lib/link/index.js +226 -1
  112. package/lib/loading/index.js +309 -1
  113. package/lib/menu/index.js +796 -1
  114. package/lib/message/index.js +401 -1
  115. package/lib/modal/index.js +395 -1
  116. package/lib/navigation/index.js +431 -1
  117. package/lib/notify/index.js +430 -1
  118. package/lib/overflow-title/index.js +512 -1
  119. package/lib/pagination/index.js +1026 -1
  120. package/lib/plugin-popover/index.js +2448 -1
  121. package/lib/plugins/index.js +130 -1
  122. package/lib/popover/index.js +2454 -1
  123. package/lib/popover2/index.js +172 -1
  124. package/lib/preset.js +129 -1
  125. package/lib/process/index.js +1417 -1
  126. package/lib/progress/index.js +479 -1
  127. package/lib/radio/index.js +649 -1
  128. package/lib/rate/index.js +358 -1
  129. package/lib/resize-layout/index.js +495 -1
  130. package/lib/search-select/index.js +3388 -1
  131. package/lib/select/index.js +2819 -1
  132. package/lib/shared/index.js +2813 -1
  133. package/lib/sideslider/index.js +1362 -1
  134. package/lib/slider/index.js +2060 -1
  135. package/lib/steps/index.js +1504 -1
  136. package/lib/swiper/index.js +374 -1
  137. package/lib/switcher/index.js +308 -1
  138. package/lib/tab/index.js +919 -1
  139. package/lib/table/index.js +6635 -1
  140. package/lib/table-column/index.js +737 -1
  141. package/lib/tag/index.js +278 -1
  142. package/lib/tag-input/index.js +1897 -1
  143. package/lib/time-picker/index.js +142 -1
  144. package/lib/timeline/index.js +315 -1
  145. package/lib/transfer/index.js +658 -1
  146. package/lib/tree/index.js +2917 -1
  147. package/lib/upload/index.js +3735 -1
  148. package/lib/virtual-render/index.js +825 -1
  149. package/package.json +1 -3
  150. package/lib/directives/index.js.LICENSE.txt +0 -14
@@ -1 +1,512 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["../shared","vue","vue-types"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("vue-types")):t(e["../shared"],e.vue,e["vue-types"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t},210:e=>{e.exports=o}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{default:()=>h});var e,t,o,r,n,a,c,d,f,l,u,p,T,v=i(4212),O=i(748),y=i(210);(0,y.createTypes)({}),function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(e||(e={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(t||(t={})),function(e){e.IF="if",e.SHOW="show"}(o||(o={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(r||(r={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(n||(n={})),function(e){e.AUTO="auto",e.AUTO_START="auto-start",e.AUTO_END="auto-end",e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left",e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end",e.RIGHT_START="right-start",e.RIGHT_END="right-end",e.LEFT_START="left-start",e.LEFT_END="left-end"}(a||(a={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(c||(c={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(d||(d={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(f||(f={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(l||(l={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(u||(u={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(p||(p={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(T||(T={}));var E={direction:(0,y.toType)("direction",{}).def(l.HORIZONTAL),align:(0,y.toType)("align",{default:r.LEFT}).def(r.LEFT).def(v.AlignEnum.CENTER),color:v.PropTypes.string.def("#dde4eb"),width:v.PropTypes.number.def(1),type:(0,y.toType)("lineType",{}).def(u.DASHED)};const R=(0,O.defineComponent)({name:"Divider",props:E,render:function(){var e,t=this;return this.$slots.default&&(e=(0,O.createVNode)("div",{class:[(0,v.resolveClassName)("divider-info"),(0,v.resolveClassName)("divider-info-".concat(this.align))]},[this.$slots.default()])),(0,O.createVNode)("div",{class:[(0,v.resolveClassName)("divider"),(0,v.resolveClassName)("divider-".concat(this.direction))],style:"vertical"===t.direction?{borderRight:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}:{borderBottom:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}},[e])}}),h=(0,v.withInstall)(R)})(),s})()));
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("vue-types"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "vue-types"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("vue-types")) : factory(root["../shared"], root["vue"], root["vue-types"]);
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__210__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 4212:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 748:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
26
+
27
+ /***/ }),
28
+
29
+ /***/ 210:
30
+ /***/ ((module) => {
31
+
32
+ module.exports = __WEBPACK_EXTERNAL_MODULE__210__;
33
+
34
+ /***/ })
35
+
36
+ /******/ });
37
+ /************************************************************************/
38
+ /******/ // The module cache
39
+ /******/ var __webpack_module_cache__ = {};
40
+ /******/
41
+ /******/ // The require function
42
+ /******/ function __webpack_require__(moduleId) {
43
+ /******/ // Check if module is in cache
44
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
45
+ /******/ if (cachedModule !== undefined) {
46
+ /******/ return cachedModule.exports;
47
+ /******/ }
48
+ /******/ // Create a new module (and put it into the cache)
49
+ /******/ var module = __webpack_module_cache__[moduleId] = {
50
+ /******/ // no module.id needed
51
+ /******/ // no module.loaded needed
52
+ /******/ exports: {}
53
+ /******/ };
54
+ /******/
55
+ /******/ // Execute the module function
56
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
57
+ /******/
58
+ /******/ // Return the exports of the module
59
+ /******/ return module.exports;
60
+ /******/ }
61
+ /******/
62
+ /************************************************************************/
63
+ /******/ /* webpack/runtime/define property getters */
64
+ /******/ (() => {
65
+ /******/ // define getter functions for harmony exports
66
+ /******/ __webpack_require__.d = (exports, definition) => {
67
+ /******/ for(var key in definition) {
68
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
69
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
70
+ /******/ }
71
+ /******/ }
72
+ /******/ };
73
+ /******/ })();
74
+ /******/
75
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
76
+ /******/ (() => {
77
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
78
+ /******/ })();
79
+ /******/
80
+ /******/ /* webpack/runtime/make namespace object */
81
+ /******/ (() => {
82
+ /******/ // define __esModule on exports
83
+ /******/ __webpack_require__.r = (exports) => {
84
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
85
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
86
+ /******/ }
87
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
88
+ /******/ };
89
+ /******/ })();
90
+ /******/
91
+ /************************************************************************/
92
+ var __webpack_exports__ = {};
93
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
94
+ (() => {
95
+ // ESM COMPAT FLAG
96
+ __webpack_require__.r(__webpack_exports__);
97
+
98
+ // EXPORTS
99
+ __webpack_require__.d(__webpack_exports__, {
100
+ "default": () => (/* binding */ src)
101
+ });
102
+
103
+ // EXTERNAL MODULE: external "../shared"
104
+ var external_shared_ = __webpack_require__(4212);
105
+ // EXTERNAL MODULE: external "vue"
106
+ var external_vue_ = __webpack_require__(748);
107
+ // EXTERNAL MODULE: external "vue-types"
108
+ var external_vue_types_ = __webpack_require__(210);
109
+ ;// CONCATENATED MODULE: ../../packages/shared/src/vue-types.ts
110
+
111
+
112
+
113
+
114
+
115
+
116
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
117
+
118
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
119
+
120
+
121
+ var propTypesNS = (0,external_vue_types_.createTypes)({}); // 用于创建字符串列表映射至 `K: V` 的函数
122
+
123
+ function stringEnum(o) {
124
+ return o.reduce(function (res, key) {
125
+ res[key] = key;
126
+ return res;
127
+ }, Object.create(null));
128
+ }
129
+ var SizeEnum;
130
+
131
+ (function (SizeEnum) {
132
+ SizeEnum["SMALL"] = "small";
133
+ SizeEnum["LARGE"] = "large";
134
+ SizeEnum["DEFAULT"] = "default";
135
+ })(SizeEnum || (SizeEnum = {}));
136
+
137
+ var Placements;
138
+
139
+ (function (Placements) {
140
+ Placements["Top"] = "top";
141
+ Placements["Left"] = "left";
142
+ Placements["Right"] = "right";
143
+ Placements["Bottom"] = "bottom";
144
+ })(Placements || (Placements = {}));
145
+
146
+ var RenderDirectiveEnum;
147
+
148
+ (function (RenderDirectiveEnum) {
149
+ RenderDirectiveEnum["IF"] = "if";
150
+ RenderDirectiveEnum["SHOW"] = "show";
151
+ })(RenderDirectiveEnum || (RenderDirectiveEnum = {}));
152
+
153
+ function renderDirectiveType() {
154
+ return toType('renderDirective', {
155
+ "default": RenderDirectiveEnum.SHOW
156
+ });
157
+ }
158
+ ;
159
+ var AlignEnum;
160
+
161
+ (function (AlignEnum) {
162
+ AlignEnum["LEFT"] = "left";
163
+ AlignEnum["CENTER"] = "center";
164
+ AlignEnum["RIGHT"] = "right";
165
+ })(AlignEnum || (AlignEnum = {}));
166
+
167
+ function alignType() {
168
+ return (0,external_vue_types_.toType)('align', {
169
+ "default": AlignEnum.LEFT
170
+ }).def(AlignEnum.LEFT);
171
+ }
172
+ ;
173
+ var ThemeEnum;
174
+
175
+ (function (ThemeEnum) {
176
+ ThemeEnum["PRIMARY"] = "primary";
177
+ ThemeEnum["WARNING"] = "warning";
178
+ ThemeEnum["SUCCESS"] = "success";
179
+ ThemeEnum["DANGER"] = "danger";
180
+ })(ThemeEnum || (ThemeEnum = {}));
181
+ /** 弹层出现位置选项 */
182
+
183
+
184
+ var PlacementEnum;
185
+
186
+ (function (PlacementEnum) {
187
+ PlacementEnum["AUTO"] = "auto";
188
+ PlacementEnum["AUTO_START"] = "auto-start";
189
+ PlacementEnum["AUTO_END"] = "auto-end";
190
+ PlacementEnum["TOP"] = "top";
191
+ PlacementEnum["RIGHT"] = "right";
192
+ PlacementEnum["BOTTOM"] = "bottom";
193
+ PlacementEnum["LEFT"] = "left";
194
+ PlacementEnum["TOP_START"] = "top-start";
195
+ PlacementEnum["TOP_END"] = "top-end";
196
+ PlacementEnum["BOTTOM_START"] = "bottom-start";
197
+ PlacementEnum["BOTTOM_END"] = "bottom-end";
198
+ PlacementEnum["RIGHT_START"] = "right-start";
199
+ PlacementEnum["RIGHT_END"] = "right-end";
200
+ PlacementEnum["LEFT_START"] = "left-start";
201
+ PlacementEnum["LEFT_END"] = "left-end";
202
+ })(PlacementEnum || (PlacementEnum = {}));
203
+
204
+ function placementType() {
205
+ return toType('placement', {}).def(PlacementEnum.BOTTOM);
206
+ }
207
+ ;
208
+ /** 弹层触发选项 */
209
+
210
+ var TriggerEnum;
211
+
212
+ (function (TriggerEnum) {
213
+ TriggerEnum["HOVER"] = "hover";
214
+ TriggerEnum["CLICK"] = "click";
215
+ TriggerEnum["MANUAL"] = "manual";
216
+ })(TriggerEnum || (TriggerEnum = {}));
217
+
218
+ function triggerType() {
219
+ return toType('trigger', {}).def(TriggerEnum.HOVER);
220
+ }
221
+ ;
222
+ /** 内容渲染类型:目前是在popover内容渲染时使用 */
223
+
224
+ var RenderType;
225
+
226
+ (function (RenderType) {
227
+ RenderType["AUTO"] = "auto";
228
+ RenderType["SHOWN"] = "shown"; // 默认不渲染,只有在popover弹出之后才会渲染
229
+ })(RenderType || (RenderType = {}));
230
+
231
+ function renderType() {
232
+ return toType('trigger', {}).def(RenderType.AUTO);
233
+ }
234
+ ;
235
+ var DialogTypeEnum;
236
+
237
+ (function (DialogTypeEnum) {
238
+ DialogTypeEnum["SHOW"] = "show";
239
+ DialogTypeEnum["OPERATION"] = "operation";
240
+ DialogTypeEnum["CONFIRM"] = "confirm";
241
+ DialogTypeEnum["PROCESS"] = "process";
242
+ })(DialogTypeEnum || (DialogTypeEnum = {}));
243
+
244
+ function dialogTypeUnion() {
245
+ return toType('dialogType', {
246
+ "default": DialogTypeEnum.OPERATION
247
+ });
248
+ }
249
+ var DirectionEnum;
250
+
251
+ (function (DirectionEnum) {
252
+ DirectionEnum["HORIZONTAL"] = "horizontal";
253
+ DirectionEnum["VERTICAL"] = "vertical";
254
+ })(DirectionEnum || (DirectionEnum = {}));
255
+
256
+ function directionType() {
257
+ return (0,external_vue_types_.toType)('direction', {}).def(DirectionEnum.HORIZONTAL);
258
+ }
259
+ var LineStyleEnum;
260
+
261
+ (function (LineStyleEnum) {
262
+ LineStyleEnum["DASHED"] = "dashed";
263
+ LineStyleEnum["SOLID"] = "solid";
264
+ })(LineStyleEnum || (LineStyleEnum = {}));
265
+
266
+ function lineStyleType() {
267
+ return (0,external_vue_types_.toType)('lineType', {}).def(LineStyleEnum.DASHED);
268
+ }
269
+ ;
270
+ var TagThemeEnum;
271
+
272
+ (function (TagThemeEnum) {
273
+ TagThemeEnum["SUCCESS"] = "success";
274
+ TagThemeEnum["INFO"] = "info";
275
+ TagThemeEnum["WARNING"] = "warning";
276
+ TagThemeEnum["DANGER"] = "danger";
277
+ })(TagThemeEnum || (TagThemeEnum = {}));
278
+
279
+ function TagThemeType() {
280
+ return toType('tagTheme', {}).def();
281
+ }
282
+ var InputBehaviorEnum;
283
+
284
+ (function (InputBehaviorEnum) {
285
+ InputBehaviorEnum["SIMPLICITY"] = "simplicity";
286
+ InputBehaviorEnum["NORMAL"] = "normal";
287
+ })(InputBehaviorEnum || (InputBehaviorEnum = {}));
288
+
289
+ function InputBehaviorType() {
290
+ return toType('behavior', {}).def(InputBehaviorEnum.NORMAL);
291
+ }
292
+ ;
293
+ var PropTypes = /*#__PURE__*/(/* unused pure expression or super */ null && (function (_propTypesNS) {
294
+ _inherits(PropTypes, _propTypesNS);
295
+
296
+ var _super = _createSuper(PropTypes);
297
+
298
+ function PropTypes() {
299
+ _classCallCheck(this, PropTypes);
300
+
301
+ return _super.apply(this, arguments);
302
+ }
303
+
304
+ _createClass(PropTypes, null, [{
305
+ key: "size",
306
+ value: function size() {
307
+ var defaultList = ['small', 'default', 'large'];
308
+ return toType('Size', {
309
+ validator: function validator(val) {
310
+ if (!val || defaultList.includes(val)) {
311
+ return true;
312
+ }
313
+
314
+ console.error("invalid theme, ".concat(val, ", the theme must be one of \u3010").concat(defaultList.join(' | '), "\u3011"));
315
+ return false;
316
+ },
317
+ "default": 'default'
318
+ });
319
+ }
320
+ }, {
321
+ key: "theme",
322
+ value: function theme() {
323
+ var themes = ['primary', 'warning', 'success', 'danger'];
324
+ return toType('Theme', {
325
+ validator: function validator(val) {
326
+ if (!val || themes.includes(val)) {
327
+ return true;
328
+ }
329
+
330
+ console.error("invalid theme, ".concat(val, ", the theme must be one of \u3010").concat(themes.join(' | '), "\u3011"));
331
+ return false;
332
+ }
333
+ });
334
+ }
335
+ }, {
336
+ key: "placement",
337
+ value: function placement() {
338
+ var placements = ['top', 'left', 'right', 'bottom'];
339
+ return toType('Placements', {
340
+ validator: function validator(val) {
341
+ if (!val || placements.includes(val)) {
342
+ return true;
343
+ }
344
+
345
+ console.error("invalid placements, ".concat(val, ", the placement must be one of \u3010").concat(placements.join(' | '), "\u3011"));
346
+ return false;
347
+ },
348
+ "default": 'top'
349
+ });
350
+ }
351
+ }, {
352
+ key: "style",
353
+ value: function style() {
354
+ return toType('Style', {
355
+ type: [String, Object]
356
+ });
357
+ }
358
+ }, {
359
+ key: "position",
360
+ value: function position() {
361
+ var positions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
362
+ return toType('positions', {
363
+ type: String,
364
+ validator: function validator(val) {
365
+ if (!val || positions.includes(val)) {
366
+ return true;
367
+ }
368
+
369
+ console.error("invalid positions, ".concat(val, ", the position must be one of \u3010").concat(positions.join(' | '), "\u3011"));
370
+ return false;
371
+ },
372
+ "default": 'top-center'
373
+ });
374
+ }
375
+ }]);
376
+
377
+ return PropTypes;
378
+ }(propTypesNS)));
379
+ ;// CONCATENATED MODULE: ../../packages/divider/src/props.ts
380
+ /*
381
+ * Tencent is pleased to support the open source community by making
382
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
383
+ *
384
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
385
+ *
386
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
387
+ *
388
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
389
+ *
390
+ * ---------------------------------------------------
391
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
392
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
393
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
394
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
395
+ *
396
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
397
+ * the Software.
398
+ *
399
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
400
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
401
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
402
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
403
+ * IN THE SOFTWARE.
404
+ */
405
+
406
+
407
+ var dividerProps = {
408
+ direction: directionType(),
409
+ align: alignType().def(external_shared_.AlignEnum.CENTER),
410
+ color: external_shared_.PropTypes.string.def('#dde4eb'),
411
+ width: external_shared_.PropTypes.number.def(1),
412
+ type: lineStyleType()
413
+ };
414
+ ;// CONCATENATED MODULE: ../../packages/divider/src/divider.tsx
415
+
416
+
417
+ /*
418
+ * Tencent is pleased to support the open source community by making
419
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
420
+ *
421
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
422
+ *
423
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
424
+ *
425
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
426
+ *
427
+ * ---------------------------------------------------
428
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
429
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
430
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
431
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
432
+ *
433
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
434
+ * the Software.
435
+ *
436
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
437
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
438
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
439
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
440
+ * IN THE SOFTWARE.
441
+ */
442
+
443
+
444
+
445
+ /* harmony default export */ const divider = ((0,external_vue_.defineComponent)({
446
+ name: 'Divider',
447
+ props: dividerProps,
448
+ render: function render() {
449
+ var _this = this;
450
+
451
+ var styles = function styles() {
452
+ if (_this.direction === 'vertical') {
453
+ return {
454
+ borderRight: "".concat(_this.width, "px ").concat(_this.type, " ").concat(_this.color)
455
+ };
456
+ }
457
+
458
+ return {
459
+ borderBottom: "".concat(_this.width, "px ").concat(_this.type, " ").concat(_this.color)
460
+ };
461
+ };
462
+
463
+ var slots;
464
+
465
+ if (this.$slots["default"]) {
466
+ slots = (0,external_vue_.createVNode)("div", {
467
+ "class": [(0,external_shared_.resolveClassName)('divider-info'), (0,external_shared_.resolveClassName)("divider-info-".concat(this.align))]
468
+ }, [this.$slots["default"]()]);
469
+ }
470
+
471
+ return (0,external_vue_.createVNode)("div", {
472
+ "class": [(0,external_shared_.resolveClassName)('divider'), (0,external_shared_.resolveClassName)("divider-".concat(this.direction))],
473
+ "style": styles()
474
+ }, [slots]);
475
+ }
476
+ }));
477
+ ;// CONCATENATED MODULE: ../../packages/divider/src/index.ts
478
+ /*
479
+ * Tencent is pleased to support the open source community by making
480
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
481
+ *
482
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
483
+ *
484
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
485
+ *
486
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
487
+ *
488
+ * ---------------------------------------------------
489
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
490
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
491
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
492
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
493
+ *
494
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
495
+ * the Software.
496
+ *
497
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
498
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
499
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
500
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
501
+ * IN THE SOFTWARE.
502
+ */
503
+
504
+
505
+ var BkDivider = (0,external_shared_.withInstall)(divider);
506
+ /* harmony default export */ const src = (BkDivider);
507
+ })();
508
+
509
+ /******/ return __webpack_exports__;
510
+ /******/ })()
511
+ ;
512
+ });