y-design-ssr 0.0.20 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/button.js +6 -17
- package/libs/cell.js +6 -18
- package/libs/checkbox.css +2 -0
- package/libs/checkbox.js +469 -32
- package/libs/checkboxGroup.js +262 -60
- package/libs/col.css +2 -0
- package/libs/col.js +180 -45
- package/libs/countdown.js +6 -18
- package/libs/dialog.js +10 -21
- package/libs/empty.js +9 -20
- package/libs/form.js +35 -53
- package/libs/formItem.js +793 -49
- package/libs/icon.js +6 -18
- package/libs/input.js +6 -18
- package/libs/list.js +6 -18
- package/libs/loading.js +9 -24
- package/libs/mask.js +6 -18
- package/libs/popup.js +6 -18
- package/libs/progress.js +6 -18
- package/libs/pullrefresh.js +8 -20
- package/libs/row.js +43 -68
- package/libs/slider.js +6 -18
- package/libs/stepper.js +6 -18
- package/libs/style.js +6 -22
- package/libs/swipe.js +593 -96
- package/libs/swipeItem.css +2 -0
- package/libs/swipeItem.js +1323 -62
- package/libs/switch.js +6 -18
- package/libs/tab.css +4 -0
- package/libs/tab.js +2742 -127
- package/libs/tabs.css +2 -0
- package/libs/tabs.js +495 -148
- package/libs/toast.js +9 -20
- package/libs/tooltip.js +9 -20
- package/libs/yui.css +4 -4
- package/libs/yui.js +326 -343
- package/package.json +1 -1
- package/libs/locale.js +0 -1166
package/libs/button.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("yui-lib", ["vue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["yui-lib"] = factory(require("vue"));
|
|
8
|
+
else
|
|
9
|
+
root["yui-lib"] = factory(root["vue"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__4103__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
@@ -3141,23 +3141,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__4103__;
|
|
|
3141
3141
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
3142
3142
|
/******/ }();
|
|
3143
3143
|
/******/
|
|
3144
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
3145
|
-
/******/ !function() {
|
|
3146
|
-
/******/ // define __esModule on exports
|
|
3147
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
3148
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
3149
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3150
|
-
/******/ }
|
|
3151
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
3152
|
-
/******/ };
|
|
3153
|
-
/******/ }();
|
|
3154
|
-
/******/
|
|
3155
3144
|
/************************************************************************/
|
|
3156
3145
|
var __webpack_exports__ = {};
|
|
3157
3146
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
3158
3147
|
!function() {
|
|
3159
3148
|
"use strict";
|
|
3160
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3161
3149
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8309);
|
|
3162
3150
|
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
3163
3151
|
/* harmony import */ var _src_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1222);
|
|
@@ -3181,6 +3169,7 @@ _src_button__WEBPACK_IMPORTED_MODULE_1__/* .default.install */ .Z.install = func
|
|
|
3181
3169
|
|
|
3182
3170
|
/* harmony default export */ __webpack_exports__["default"] = (_src_button__WEBPACK_IMPORTED_MODULE_1__/* .default */ .Z);
|
|
3183
3171
|
}();
|
|
3172
|
+
__webpack_exports__ = __webpack_exports__.default;
|
|
3184
3173
|
/******/ return __webpack_exports__;
|
|
3185
3174
|
/******/ })()
|
|
3186
3175
|
;
|
package/libs/cell.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("yui-lib", ["vue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["yui-lib"] = factory(require("vue"));
|
|
8
|
+
else
|
|
9
|
+
root["yui-lib"] = factory(root["vue"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__4103__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
@@ -3323,24 +3323,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__4103__;
|
|
|
3323
3323
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
3324
3324
|
/******/ }();
|
|
3325
3325
|
/******/
|
|
3326
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
3327
|
-
/******/ !function() {
|
|
3328
|
-
/******/ // define __esModule on exports
|
|
3329
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
3330
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
3331
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3332
|
-
/******/ }
|
|
3333
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
3334
|
-
/******/ };
|
|
3335
|
-
/******/ }();
|
|
3336
|
-
/******/
|
|
3337
3326
|
/************************************************************************/
|
|
3338
3327
|
var __webpack_exports__ = {};
|
|
3339
3328
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
3340
3329
|
!function() {
|
|
3341
3330
|
"use strict";
|
|
3342
|
-
// ESM COMPAT FLAG
|
|
3343
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3344
3331
|
|
|
3345
3332
|
// EXPORTS
|
|
3346
3333
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -3497,6 +3484,7 @@ cell.install = function (app) {
|
|
|
3497
3484
|
|
|
3498
3485
|
/* harmony default export */ var packages_cell = (cell);
|
|
3499
3486
|
}();
|
|
3487
|
+
__webpack_exports__ = __webpack_exports__.default;
|
|
3500
3488
|
/******/ return __webpack_exports__;
|
|
3501
3489
|
/******/ })()
|
|
3502
3490
|
;
|
package/libs/checkbox.css
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
@font-face{font-weight:normal;font-family:"y-icon";src:url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron");src:url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron#iefix") format("embedded-opentype"),url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/d235a87c.ttf?cmrron") format("truetype"),url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/a13b82e6.woff?cmrron") format("woff"),url("https://imgservices-1252317822.image.myqcloud.com/image/031920220182811/a73151ca.svg?cmrron#y-icon") format("svg");font-style:normal;font-display:block}.y-icon--warning::before{content:"\e92a"}.y-icon--warning-o::before{content:"\e929"}.y-icon--image-fail::before{content:"\e924"}.y-icon--circle-arrow-left::before{content:"\e920"}.y-icon--circle-arrow::before{content:"\e921"}.y-icon--circle-arrow-up::before{content:"\e922"}.y-icon--circle-arrow-down::before{content:"\e923"}.y-icon--reward::before{content:"\e900"}.y-icon--input-ban::before{content:"\e901"}.y-icon--success::before{content:"\e902"}.y-icon--crown::before{content:"\e903"}.y-icon--gift::before{content:"\e904"}.y-icon--clock::before{content:"\e905"}.y-icon--cartoon::before{content:"\e906"}.y-icon--boy::before{content:"\e907"}.y-icon--chat::before{content:"\e908"}.y-icon--file::before{content:"\e909"}.y-icon--audio::before{content:"\e90a"}.y-icon--img-bad::before{content:"\e90b"}.y-icon--flower::before{content:"\e90c"}.y-icon--circle-question::before{content:"\e90d"}.y-icon--pause::before{content:"\e90e"}.y-icon--pill-o::before{content:"\e90f"}.y-icon--pill::before{content:"\e910"}.y-icon--play::before{content:"\e912"}.y-icon--play-o::before{content:"\e913"}.y-icon--thumb-down-o::before{content:"\e914"}.y-icon--thumb-down::before{content:"\e915"}.y-icon--i-card::before{content:"\e916"}.y-icon--input-ok::before{content:"\e918"}.y-icon--close-o::before{content:"\e919"}.y-icon--success-o::before{content:"\e91a"}.y-icon--ok::before{content:"\e91b"}.y-icon--no::before{content:"\e91c"}.y-icon--jinhao::before{content:"\e91d"}.y-icon--fire::before{content:"\e91e"}.y-icon--add-book::before{content:"\e91f"}.y-icon--speed::before{content:"\e925"}.y-icon--chat-o::before{content:"\e926"}.y-icon--dian::before{content:"\e927"}.y-icon--qidian::before{content:"\e928"}.y-icon--favorite::before{content:"\e92e"}.y-icon--favorite-o::before{content:"\e92f"}.y-icon--circle-pause::before{content:"\e932"}.y-icon--retreat::before{content:"\e933"}.y-icon--next::before{content:"\e934"}.y-icon--heart-o::before{content:"\e935"}.y-icon--heart::before{content:"\e936"}.y-icon--circle-favorite::before{content:"\e937"}.y-icon--cirle-pause::before{content:"\e93b"}.y-icon--thumb-up-o::before{content:"\e93c"}.y-icon--thumb-up::before{content:"\e93d"}.y-icon--loading::before{content:"\e93e"}.y-icon--at::before{content:"\e93f"}.y-icon--bookmark::before{content:"\e940"}.y-icon--mark::before{content:"\e941"}.y-icon--undo::before{content:"\e942"}.y-icon--local::before{content:"\e943"}.y-icon--catalog::before{content:"\e944"}.y-icon--share::before{content:"\e945"}.y-icon--more::before{content:"\e946"}.y-icon--more-2::before{content:"\e947"}.y-icon--done::before{content:"\e948"}.y-icon--shopping::before{content:"\e949"}.y-icon--circle-close::before{content:"\e94a"}.y-icon--cross::before{content:"\e94b"}.y-icon--info::before{content:"\e94c"}.y-icon--user-done::before{content:"\e94d"}.y-icon--add-user::before{content:"\e94e"}.y-icon--red-packet::before{content:"\e94f"}.y-icon--exchange::before{content:"\e950"}.y-icon--add-fav::before{content:"\e952"}.y-icon--arrow::before{content:"\e953"}.y-icon--arrow-down::before{content:"\e911"}.y-icon--arrow-up::before{content:"\e917"}.y-icon--arrow-left::before{content:"\e954"}.y-icon--trophy::before{content:"\e955"}.y-icon--rank::before{content:"\e956"}.y-icon--ban::before{content:"\e958"}.y-icon--clock-o::before{content:"\e95a"}.y-icon--count-down::before{content:"\e95b"}.y-icon--link::before{content:"\e95c"}.y-icon--girl::before{content:"\e95f"}.y-icon--sort::before{content:"\e960"}.y-icon--cv::before{content:"\e961"}.y-icon--download::before{content:"\e962"}.y-icon--zoom-out::before{content:"\e963"}.y-icon--restore::before{content:"\e964"}.y-icon--filter::before{content:"\e965"}.y-icon--filter-done::before{content:"\e966"}.y-icon--trash::before{content:"\e967"}.y-icon--slide-up::before{content:"\e968"}.y-icon--quote::before{content:"\e969"}.y-icon--setup::before{content:"\e96a"}.y-icon--sort-flip::before{content:"\e96b"}.y-icon--video::before{content:"\e96c"}.y-icon--phone::before{content:"\e96d"}.y-icon--book::before{content:"\e96e"}.y-icon--refresh::before{content:"\e96f"}.y-icon--mail::before{content:"\e970"}.y-icon--search::before{content:"\e971"}.y-icon--unlock::before{content:"\e972"}.y-icon--lock::before{content:"\e973"}.y-icon--lock-o::before{content:"\e974"}.y-icon--notice-off::before{content:"\e975"}.y-icon--notice-o::before{content:"\e976"}.y-icon--add::before{content:"\e978"}.y-icon--mute::before{content:"\e97a"}.y-icon--sound::before{content:"\e97b"}.y-icon--post::before{content:"\e97c"}.y-icon--image::before{content:"\e97d"}.y-icon--image-o::before{content:"\e97e"}.y-icon--slide-down::before{content:"\1f3b5"}.y-icon--restore1::before{content:"\e980"}.y-icon--card::before{content:"\e981"}.y-icon--circle-question-o::before{content:"\e982"}.y-icon--user::before{content:"\e983"}.y-icon--money::before{content:"\e984"}.y-icon--voice::before{content:"\e985"}.y-icon--ticket::before{content:"\e986"}.y-icon--cloud::before{content:"\e987"}.y-icon--reload::before{content:"\e988"}.y-icon--transmit::before{content:"\e989"}.y-icon--gif::before{content:"\e98b"}.y-icon{position:relative;display:inline-block;font-family:y-icon, sans-serif !important;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;font-size:inherit;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.y-icon__dot,.y-icon__badge{position:absolute;top:0;right:0;padding:0;height:8px;width:8px;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1;color:#fff;color:var(--Surface_8);font-weight:500;font-size:12px;text-align:center;background-color:#68e38b;background-color:var(--Primary);border-radius:100%;-webkit-transform-origin:100%;transform-origin:100%;-webkit-transform:scale(1) translate(50%, -50%);transform:scale(1) translate(50%, -50%)}.y-icon__badge{width:auto;height:auto;border-radius:16px;padding:2.4px 4.8px;-webkit-transform:scale(0.85) translate(50%, -50%);transform:scale(0.85) translate(50%, -50%)}.y-icon__node{display:inline-block;width:1em;height:1em}.y-icon__image{width:90%;height:90%;-o-object-fit:contain;object-fit:contain}
|
|
2
2
|
|
|
3
|
+
.y-checkbox-group--horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}
|
|
4
|
+
|
|
3
5
|
.y-checkbox{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:16px}.y-checkbox--disabled{cursor:not-allowed;opacity:0.4}.y-checkbox--horizontal{margin-right:16px}.y-checkbox--mini{font-size:10px}.y-checkbox--small{font-size:12px}.y-checkbox--middle{font-size:14px}.y-checkbox--large{font-size:16px}.y-checkbox__icon{border:1px solid rgba(0,0,0,0.08);border:1px solid var(--Outline);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:background-color 0.3s, border-color 0.3s;transition:background-color 0.3s, border-color 0.3s;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;width:1.25em;height:1.25em;width:calc(1em + 4px);height:calc(1em + 4px);color:#fff;color:var(--Surface_8)}.y-checkbox__icon--checked{background-color:#68e38b;background-color:var(--Primary);border-width:0}.y-checkbox__icon--square{border-radius:4px}.y-checkbox__label{margin-left:8px}
|
|
4
6
|
|