@egova/egova-api 1.3.26 → 1.3.27

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.
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = "d345");
85
+ /******/ return __webpack_require__(__webpack_require__.s = "cb40");
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3988,529 +3988,44 @@ module.exports = function (argument) {
3988
3988
 
3989
3989
  /***/ }),
3990
3990
 
3991
- /***/ "b042":
3991
+ /***/ "b061":
3992
+ /***/ (function(module, exports) {
3993
+
3994
+ var g;
3995
+
3996
+ // This works in non-strict mode
3997
+ g = (function() {
3998
+ return this;
3999
+ })();
4000
+
4001
+ try {
4002
+ // This works if eval is allowed (see CSP)
4003
+ g = g || new Function("return this")();
4004
+ } catch (e) {
4005
+ // This works if the window reference is available
4006
+ if (typeof window === "object") g = window;
4007
+ }
4008
+
4009
+ // g can still be undefined, but nothing to do about it...
4010
+ // We return undefined, instead of nothing here, so it's
4011
+ // easier to handle this case. if(!global) { ...}
4012
+
4013
+ module.exports = g;
4014
+
4015
+
4016
+ /***/ }),
4017
+
4018
+ /***/ "b156":
3992
4019
  /***/ (function(module, exports, __webpack_require__) {
3993
4020
 
4021
+ // extracted by mini-css-extract-plugin
3994
4022
 
3995
- /*!
3996
- * vue-awesome-swiper v4.1.1
3997
- * Copyright (c) Surmon. All rights reserved.
3998
- * Released under the MIT License.
3999
- * Surmon <https://github.com/surmon-china>
4000
- */
4023
+ /***/ }),
4001
4024
 
4002
- (function(g,f){ true?f(exports,__webpack_require__("d670"),__webpack_require__("8bbf")):undefined;}(this,(function(exports, SwiperClass, Vue){'use strict';SwiperClass=SwiperClass&&Object.prototype.hasOwnProperty.call(SwiperClass,'default')?SwiperClass['default']:SwiperClass;Vue=Vue&&Object.prototype.hasOwnProperty.call(Vue,'default')?Vue['default']:Vue;/**
4003
- * @file vue-awesome-swiper
4004
- * @module constants
4005
- * @author Surmon <https://github.com/surmon-china>
4006
- */
4007
- var CoreNames;
4008
- (function (CoreNames) {
4009
- CoreNames["SwiperComponent"] = "Swiper";
4010
- CoreNames["SwiperSlideComponent"] = "SwiperSlide";
4011
- CoreNames["SwiperDirective"] = "swiper";
4012
- CoreNames["SwiperInstance"] = "$swiper";
4013
- })(CoreNames || (CoreNames = {}));
4014
- var DEFAULT_CLASSES = Object.freeze({
4015
- containerClass: 'swiper-container',
4016
- wrapperClass: 'swiper-wrapper',
4017
- slideClass: 'swiper-slide'
4018
- });
4019
- var ComponentEvents;
4020
- (function (ComponentEvents) {
4021
- ComponentEvents["Ready"] = "ready";
4022
- ComponentEvents["ClickSlide"] = "clickSlide";
4023
- })(ComponentEvents || (ComponentEvents = {}));
4024
- var ComponentPropNames;
4025
- (function (ComponentPropNames) {
4026
- ComponentPropNames["AutoUpdate"] = "autoUpdate";
4027
- ComponentPropNames["AutoDestroy"] = "autoDestroy";
4028
- ComponentPropNames["DeleteInstanceOnDestroy"] = "deleteInstanceOnDestroy";
4029
- ComponentPropNames["CleanupStylesOnDestroy"] = "cleanupStylesOnDestroy";
4030
- })(ComponentPropNames || (ComponentPropNames = {}));
4031
- // https://swiperjs.com/api/#events
4032
- var SWIPER_EVENTS = [
4033
- 'init',
4034
- 'beforeDestroy',
4035
- 'slideChange',
4036
- 'slideChangeTransitionStart',
4037
- 'slideChangeTransitionEnd',
4038
- 'slideNextTransitionStart',
4039
- 'slideNextTransitionEnd',
4040
- 'slidePrevTransitionStart',
4041
- 'slidePrevTransitionEnd',
4042
- 'transitionStart',
4043
- 'transitionEnd',
4044
- 'touchStart',
4045
- 'touchMove',
4046
- 'touchMoveOpposite',
4047
- 'sliderMove',
4048
- 'touchEnd',
4049
- 'click',
4050
- 'tap',
4051
- 'doubleTap',
4052
- 'imagesReady',
4053
- 'progress',
4054
- 'reachBeginning',
4055
- 'reachEnd',
4056
- 'fromEdge',
4057
- 'setTranslate',
4058
- 'setTransition',
4059
- 'resize',
4060
- 'observerUpdate',
4061
- 'beforeLoopFix',
4062
- 'loopFix'
4063
- ];/*! *****************************************************************************
4064
- Copyright (c) Microsoft Corporation. All rights reserved.
4065
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4066
- this file except in compliance with the License. You may obtain a copy of the
4067
- License at http://www.apache.org/licenses/LICENSE-2.0
4068
-
4069
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
4070
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
4071
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
4072
- MERCHANTABLITY OR NON-INFRINGEMENT.
4073
-
4074
- See the Apache Version 2.0 License for specific language governing permissions
4075
- and limitations under the License.
4076
- ***************************************************************************** */
4077
-
4078
- function __spreadArrays() {
4079
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
4080
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
4081
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
4082
- r[k] = a[j];
4083
- return r;
4084
- }/**
4085
- * @file vue-awesome-swiper
4086
- * @module utils
4087
- * @author Surmon <https://github.com/surmon-china>
4088
- */
4089
- var kebabcase = function (string) {
4090
- return string
4091
- .replace(/([a-z])([A-Z])/g, '$1-$2')
4092
- .replace(/\s+/g, '-')
4093
- .toLowerCase();
4094
- };/**
4095
- * @file vue-awesome-swiper
4096
- * @module event
4097
- * @author Surmon <https://github.com/surmon-china>
4098
- */
4099
- var handleClickSlideEvent = function (swiper, event, emit) {
4100
- var _a, _b, _c;
4101
- if (swiper && !(swiper.destroyed)) {
4102
- var eventPath = ((_a = event.composedPath) === null || _a === void 0 ? void 0 : _a.call(event)) || event.path;
4103
- if ((event === null || event === void 0 ? void 0 : event.target) && eventPath) {
4104
- var slides_1 = Array.from(swiper.slides);
4105
- var paths = Array.from(eventPath);
4106
- // Click slide || slide[children]
4107
- if (slides_1.includes(event.target) || paths.some(function (item) { return slides_1.includes(item); })) {
4108
- var clickedIndex = swiper.clickedIndex;
4109
- var reallyIndex = Number((_c = (_b = swiper.clickedSlide) === null || _b === void 0 ? void 0 : _b.dataset) === null || _c === void 0 ? void 0 : _c.swiperSlideIndex);
4110
- var reallyIndexValue = Number.isInteger(reallyIndex) ? reallyIndex : null;
4111
- emit(ComponentEvents.ClickSlide, clickedIndex, reallyIndexValue);
4112
- emit(kebabcase(ComponentEvents.ClickSlide), clickedIndex, reallyIndexValue);
4113
- }
4114
- }
4115
- }
4116
- };
4117
- var bindSwiperEvents = function (swiper, emit) {
4118
- SWIPER_EVENTS.forEach(function (eventName) {
4119
- swiper.on(eventName, function () {
4120
- var arguments$1 = arguments;
4121
-
4122
- var args = [];
4123
- for (var _i = 0; _i < arguments.length; _i++) {
4124
- args[_i] = arguments$1[_i];
4125
- }
4126
- emit.apply(void 0, __spreadArrays([eventName], args));
4127
- var kebabcaseName = kebabcase(eventName);
4128
- if (kebabcaseName !== eventName) {
4129
- emit.apply(void 0, __spreadArrays([kebabcaseName], args));
4130
- }
4131
- });
4132
- });
4133
- };/**
4134
- * @file vue-awesome-swiper
4135
- * @module directive
4136
- * @author Surmon <https://github.com/surmon-china>
4137
- */
4138
- var INSTANCE_NAME_KEY = 'instanceName';
4139
- function getDirective(SwiperClass, globalOptions) {
4140
- var getStandardisedOptionByAttrs = function (vnode, key) {
4141
- var _a, _b, _c, _d;
4142
- var value = (_b = (_a = vnode.data) === null || _a === void 0 ? void 0 : _a.attrs) === null || _b === void 0 ? void 0 : _b[key];
4143
- return value !== undefined
4144
- ? value
4145
- : (_d = (_c = vnode.data) === null || _c === void 0 ? void 0 : _c.attrs) === null || _d === void 0 ? void 0 : _d[kebabcase(key)];
4146
- };
4147
- // Get swiper instace name in directive
4148
- var getSwiperInstanceName = function (element, binding, vnode) {
4149
- return (binding.arg ||
4150
- getStandardisedOptionByAttrs(vnode, INSTANCE_NAME_KEY) ||
4151
- element.id ||
4152
- CoreNames.SwiperInstance);
4153
- };
4154
- var getSwiperInstance = function (element, binding, vnode) {
4155
- var instanceName = getSwiperInstanceName(element, binding, vnode);
4156
- return vnode.context[instanceName] || null;
4157
- };
4158
- var getSwipeOptions = function (binding) {
4159
- return binding.value || globalOptions;
4160
- };
4161
- var getBooleanValueByInput = function (input) {
4162
- return [true, undefined, null, ''].includes(input);
4163
- };
4164
- // Emit event in Vue directive
4165
- var getEventEmiter = function (vnode) {
4166
- var _a, _b;
4167
- var handlers = ((_a = vnode.data) === null || _a === void 0 ? void 0 : _a.on) || ((_b = vnode.componentOptions) === null || _b === void 0 ? void 0 : _b.listeners);
4168
- return function (name) {
4169
- var arguments$1 = arguments;
4170
-
4171
- var args = [];
4172
- for (var _i = 1; _i < arguments.length; _i++) {
4173
- args[_i - 1] = arguments$1[_i];
4174
- }
4175
- var _a;
4176
- var handle = (_a = handlers) === null || _a === void 0 ? void 0 : _a[name];
4177
- if (handle) {
4178
- handle.fns.apply(handle, args);
4179
- }
4180
- };
4181
- };
4182
- return {
4183
- // Init
4184
- bind: function (element, binding, vnode) {
4185
- // auto class name
4186
- if (element.className.indexOf(DEFAULT_CLASSES.containerClass) === -1) {
4187
- element.className += ((element.className ? ' ' : '') + DEFAULT_CLASSES.containerClass);
4188
- }
4189
- // bind click event
4190
- element.addEventListener('click', function (event) {
4191
- var emitEvent = getEventEmiter(vnode);
4192
- var swiper = getSwiperInstance(element, binding, vnode);
4193
- handleClickSlideEvent(swiper, event, emitEvent);
4194
- });
4195
- },
4196
- // DOM inserted
4197
- inserted: function (element, binding, vnode) {
4198
- var context = vnode.context;
4199
- var swiperOptions = getSwipeOptions(binding);
4200
- var instanceName = getSwiperInstanceName(element, binding, vnode);
4201
- var emitEvent = getEventEmiter(vnode);
4202
- var vueContext = context;
4203
- var swiper = vueContext === null || vueContext === void 0 ? void 0 : vueContext[instanceName];
4204
- // Swiper will destroy but not delete instance, when used <keep-alive>
4205
- if (!swiper || swiper.destroyed) {
4206
- swiper = new SwiperClass(element, swiperOptions);
4207
- vueContext[instanceName] = swiper;
4208
- bindSwiperEvents(swiper, emitEvent);
4209
- emitEvent(ComponentEvents.Ready, swiper);
4210
- // MARK: Reinstance when the nexttick with <keep-alive>
4211
- // Vue.nextTick(instancing) | setTimeout(instancing)
4212
- }
4213
- },
4214
- // On options changed or DOM updated
4215
- componentUpdated: function (element, binding, vnode) {
4216
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
4217
- var autoUpdate = getStandardisedOptionByAttrs(vnode, ComponentPropNames.AutoUpdate);
4218
- if (getBooleanValueByInput(autoUpdate)) {
4219
- var swiper = getSwiperInstance(element, binding, vnode);
4220
- if (swiper) {
4221
- var swiperOptions = getSwipeOptions(binding);
4222
- var isLoop = swiperOptions.loop;
4223
- if (isLoop) {
4224
- (_b = (_a = swiper) === null || _a === void 0 ? void 0 : _a.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(_a);
4225
- }
4226
- (_c = swiper === null || swiper === void 0 ? void 0 : swiper.update) === null || _c === void 0 ? void 0 : _c.call(swiper);
4227
- (_e = (_d = swiper.navigation) === null || _d === void 0 ? void 0 : _d.update) === null || _e === void 0 ? void 0 : _e.call(_d);
4228
- (_g = (_f = swiper.pagination) === null || _f === void 0 ? void 0 : _f.render) === null || _g === void 0 ? void 0 : _g.call(_f);
4229
- (_j = (_h = swiper.pagination) === null || _h === void 0 ? void 0 : _h.update) === null || _j === void 0 ? void 0 : _j.call(_h);
4230
- if (isLoop) {
4231
- (_l = (_k = swiper) === null || _k === void 0 ? void 0 : _k.loopCreate) === null || _l === void 0 ? void 0 : _l.call(_k);
4232
- (_m = swiper === null || swiper === void 0 ? void 0 : swiper.update) === null || _m === void 0 ? void 0 : _m.call(swiper);
4233
- }
4234
- }
4235
- }
4236
- },
4237
- // Destroy this directive
4238
- unbind: function (element, binding, vnode) {
4239
- var _a;
4240
- var autoDestroy = getStandardisedOptionByAttrs(vnode, ComponentPropNames.AutoDestroy);
4241
- if (getBooleanValueByInput(autoDestroy)) {
4242
- var swiper = getSwiperInstance(element, binding, vnode);
4243
- if (swiper && swiper.initialized) {
4244
- (_a = swiper === null || swiper === void 0 ? void 0 : swiper.destroy) === null || _a === void 0 ? void 0 : _a.call(swiper, getBooleanValueByInput(getStandardisedOptionByAttrs(vnode, ComponentPropNames.DeleteInstanceOnDestroy)), getBooleanValueByInput(getStandardisedOptionByAttrs(vnode, ComponentPropNames.CleanupStylesOnDestroy)));
4245
- }
4246
- }
4247
- }
4248
- };
4249
- }/**
4250
- * @file vue-awesome-swiper
4251
- * @module SwiperComponent
4252
- * @author Surmon <https://github.com/surmon-china>
4253
- */
4254
- var SlotNames;
4255
- (function (SlotNames) {
4256
- SlotNames["ParallaxBg"] = "parallax-bg";
4257
- SlotNames["Pagination"] = "pagination";
4258
- SlotNames["Scrollbar"] = "scrollbar";
4259
- SlotNames["PrevButton"] = "button-prev";
4260
- SlotNames["NextButton"] = "button-next";
4261
- })(SlotNames || (SlotNames = {}));
4262
- function getSwiperComponent(SwiperClass) {
4263
- var _a;
4264
- return Vue.extend({
4265
- name: CoreNames.SwiperComponent,
4266
- props: (_a = {
4267
- defaultOptions: {
4268
- type: Object,
4269
- required: false,
4270
- default: function () { return ({}); }
4271
- },
4272
- // eslint-disable-next-line vue/require-default-prop
4273
- options: {
4274
- type: Object,
4275
- required: false
4276
- }
4277
- },
4278
- _a[ComponentPropNames.AutoUpdate] = {
4279
- type: Boolean,
4280
- default: true
4281
- },
4282
- // https://github.com/surmon-china/vue-awesome-swiper/pull/550/files
4283
- _a[ComponentPropNames.AutoDestroy] = {
4284
- type: Boolean,
4285
- default: true
4286
- },
4287
- // https://github.com/surmon-china/vue-awesome-swiper/pull/388
4288
- _a[ComponentPropNames.DeleteInstanceOnDestroy] = {
4289
- type: Boolean,
4290
- required: false,
4291
- default: true
4292
- },
4293
- _a[ComponentPropNames.CleanupStylesOnDestroy] = {
4294
- type: Boolean,
4295
- required: false,
4296
- default: true
4297
- },
4298
- _a),
4299
- data: function () {
4300
- var _a;
4301
- return _a = {},
4302
- _a[CoreNames.SwiperInstance] = null,
4303
- _a;
4304
- },
4305
- computed: {
4306
- swiperInstance: {
4307
- cache: false,
4308
- set: function (swiper) {
4309
- this[CoreNames.SwiperInstance] = swiper;
4310
- },
4311
- get: function () {
4312
- return this[CoreNames.SwiperInstance];
4313
- }
4314
- },
4315
- swiperOptions: function () {
4316
- return this.options || this.defaultOptions;
4317
- },
4318
- wrapperClass: function () {
4319
- return this.swiperOptions.wrapperClass || DEFAULT_CLASSES.wrapperClass;
4320
- }
4321
- },
4322
- methods: {
4323
- // Feature: click event
4324
- handleSwiperClick: function (event) {
4325
- handleClickSlideEvent(this.swiperInstance, event, this.$emit.bind(this));
4326
- },
4327
- autoReLoopSwiper: function () {
4328
- var _a, _b;
4329
- if (this.swiperInstance && this.swiperOptions.loop) {
4330
- // https://github.com/surmon-china/vue-awesome-swiper/issues/593
4331
- // https://github.com/surmon-china/vue-awesome-swiper/issues/544
4332
- // https://github.com/surmon-china/vue-awesome-swiper/pull/545/files
4333
- var swiper = this.swiperInstance;
4334
- (_a = swiper === null || swiper === void 0 ? void 0 : swiper.loopDestroy) === null || _a === void 0 ? void 0 : _a.call(swiper);
4335
- (_b = swiper === null || swiper === void 0 ? void 0 : swiper.loopCreate) === null || _b === void 0 ? void 0 : _b.call(swiper);
4336
- }
4337
- },
4338
- updateSwiper: function () {
4339
- var _a, _b, _c, _d, _e, _f, _g, _h;
4340
- if (this[ComponentPropNames.AutoUpdate] && this.swiperInstance) {
4341
- this.autoReLoopSwiper();
4342
- (_b = (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.update) === null || _b === void 0 ? void 0 : _b.call(_a);
4343
- (_d = (_c = this.swiperInstance.navigation) === null || _c === void 0 ? void 0 : _c.update) === null || _d === void 0 ? void 0 : _d.call(_c);
4344
- (_f = (_e = this.swiperInstance.pagination) === null || _e === void 0 ? void 0 : _e.render) === null || _f === void 0 ? void 0 : _f.call(_e);
4345
- (_h = (_g = this.swiperInstance.pagination) === null || _g === void 0 ? void 0 : _g.update) === null || _h === void 0 ? void 0 : _h.call(_g);
4346
- }
4347
- },
4348
- destroySwiper: function () {
4349
- var _a, _b;
4350
- if (this[ComponentPropNames.AutoDestroy] && this.swiperInstance) {
4351
- // https://github.com/surmon-china/vue-awesome-swiper/pull/341
4352
- // https://github.com/surmon-china/vue-awesome-swiper/issues/340
4353
- if (this.swiperInstance.initialized) {
4354
- (_b = (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a, this[ComponentPropNames.DeleteInstanceOnDestroy], this[ComponentPropNames.CleanupStylesOnDestroy]);
4355
- }
4356
- }
4357
- },
4358
- initSwiper: function () {
4359
- this.swiperInstance = new SwiperClass(this.$el, this.swiperOptions);
4360
- bindSwiperEvents(this.swiperInstance, this.$emit.bind(this));
4361
- this.$emit(ComponentEvents.Ready, this.swiperInstance);
4362
- }
4363
- },
4364
- mounted: function () {
4365
- if (!this.swiperInstance) {
4366
- this.initSwiper();
4367
- }
4368
- },
4369
- // Update swiper when the parent component activated with `keep-alive`.
4370
- activated: function () {
4371
- this.updateSwiper();
4372
- },
4373
- updated: function () {
4374
- this.updateSwiper();
4375
- },
4376
- beforeDestroy: function () {
4377
- // https://github.com/surmon-china/vue-awesome-swiper/commit/2924a9d4d3d1cf51c0d46076410b1f804b2b8a43#diff-7f4e0261ac562c0f354cb91a1ca8864f
4378
- this.$nextTick(this.destroySwiper);
4379
- },
4380
- render: function (createElement) {
4381
- return createElement('div', {
4382
- staticClass: DEFAULT_CLASSES.containerClass,
4383
- on: {
4384
- click: this.handleSwiperClick
4385
- }
4386
- }, [
4387
- this.$slots[SlotNames.ParallaxBg],
4388
- createElement('div', {
4389
- class: this.wrapperClass
4390
- }, this.$slots.default),
4391
- this.$slots[SlotNames.Pagination],
4392
- this.$slots[SlotNames.PrevButton],
4393
- this.$slots[SlotNames.NextButton],
4394
- this.$slots[SlotNames.Scrollbar]
4395
- ]);
4396
- }
4397
- });
4398
- }/**
4399
- * @file vue-awesome-swiper
4400
- * @module SwiperSlideComponent
4401
- * @author Surmon <https://github.com/surmon-china>
4402
- */
4403
- var SwiperSlideComponent = Vue.extend({
4404
- name: CoreNames.SwiperSlideComponent,
4405
- computed: {
4406
- slideClass: function () {
4407
- var _a, _b;
4408
- return ((_b = (_a = this.$parent) === null || _a === void 0 ? void 0 : _a.swiperOptions) === null || _b === void 0 ? void 0 : _b.slideClass) || DEFAULT_CLASSES.slideClass;
4409
- }
4410
- },
4411
- methods: {
4412
- update: function () {
4413
- var _a;
4414
- var parent = this.$parent;
4415
- // https://github.com/surmon-china/vue-awesome-swiper/issues/632
4416
- if (parent[ComponentPropNames.AutoUpdate]) {
4417
- (_a = parent === null || parent === void 0 ? void 0 : parent.swiperInstance) === null || _a === void 0 ? void 0 : _a.update();
4418
- }
4419
- }
4420
- },
4421
- mounted: function () {
4422
- this.update();
4423
- },
4424
- updated: function () {
4425
- this.update();
4426
- },
4427
- render: function (createElement) {
4428
- return createElement('div', {
4429
- class: this.slideClass
4430
- }, this.$slots.default);
4431
- }
4432
- });/**
4433
- * @file vue-awesome-swiper
4434
- * @module exporter
4435
- * @author Surmon <https://github.com/surmon-china>
4436
- */
4437
- var getInstaller = function (SwiperClass) {
4438
- var install = function (Vue, globalOptions) {
4439
- if (install.installed)
4440
- { return; }
4441
- var SwiperComponent = getSwiperComponent(SwiperClass);
4442
- if (globalOptions) {
4443
- SwiperComponent.options.props.defaultOptions.default = function () { return globalOptions; };
4444
- }
4445
- Vue.component(CoreNames.SwiperComponent, SwiperComponent);
4446
- Vue.component(CoreNames.SwiperSlideComponent, SwiperSlideComponent);
4447
- Vue.directive(CoreNames.SwiperDirective, getDirective(SwiperClass, globalOptions));
4448
- install.installed = true;
4449
- };
4450
- return install;
4451
- };
4452
- function exporter(SwiperClass) {
4453
- var _a;
4454
- return _a = {
4455
- version: '4.1.1',
4456
- install: getInstaller(SwiperClass),
4457
- directive: getDirective(SwiperClass)
4458
- },
4459
- _a[CoreNames.SwiperComponent] = getSwiperComponent(SwiperClass),
4460
- _a[CoreNames.SwiperSlideComponent] = SwiperSlideComponent,
4461
- _a;
4462
- }/**
4463
- * @file vue-awesome-swiper
4464
- * @module default-export
4465
- * @author Surmon <https://github.com/surmon-china>
4466
- */
4467
- var VueAwesomeSwiper = exporter(SwiperClass);
4468
- var version = VueAwesomeSwiper.version;
4469
- var install = VueAwesomeSwiper.install;
4470
- var directive = VueAwesomeSwiper.directive;
4471
- var Swiper = VueAwesomeSwiper.Swiper;
4472
- var SwiperSlide = VueAwesomeSwiper.SwiperSlide;exports.Swiper=Swiper;exports.SwiperSlide=SwiperSlide;exports.default=VueAwesomeSwiper;exports.directive=directive;exports.install=install;exports.version=version;Object.defineProperty(exports,'__esModule',{value:true});})));
4473
-
4474
- /***/ }),
4475
-
4476
- /***/ "b061":
4477
- /***/ (function(module, exports) {
4478
-
4479
- var g;
4480
-
4481
- // This works in non-strict mode
4482
- g = (function() {
4483
- return this;
4484
- })();
4485
-
4486
- try {
4487
- // This works if eval is allowed (see CSP)
4488
- g = g || new Function("return this")();
4489
- } catch (e) {
4490
- // This works if the window reference is available
4491
- if (typeof window === "object") g = window;
4492
- }
4493
-
4494
- // g can still be undefined, but nothing to do about it...
4495
- // We return undefined, instead of nothing here, so it's
4496
- // easier to handle this case. if(!global) { ...}
4497
-
4498
- module.exports = g;
4499
-
4500
-
4501
- /***/ }),
4502
-
4503
- /***/ "b156":
4504
- /***/ (function(module, exports, __webpack_require__) {
4505
-
4506
- // extracted by mini-css-extract-plugin
4507
-
4508
- /***/ }),
4509
-
4510
- /***/ "b61c":
4511
- /***/ (function(module, exports, __webpack_require__) {
4512
-
4513
- // extracted by mini-css-extract-plugin
4025
+ /***/ "b61c":
4026
+ /***/ (function(module, exports, __webpack_require__) {
4027
+
4028
+ // extracted by mini-css-extract-plugin
4514
4029
 
4515
4030
  /***/ }),
4516
4031
 
@@ -4678,126 +4193,7 @@ module.exports = DESCRIPTORS && fails(function () {
4678
4193
 
4679
4194
  /***/ }),
4680
4195
 
4681
- /***/ "ccf6":
4682
- /***/ (function(module, exports) {
4683
-
4684
- module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-wrapper\">\r\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\r\n <!-- 左侧内容 -->\r\n <section slot=\"left\" class=\"left-split-pane\">\r\n <u-type-tree :taskCategoryID=\"taskCategoryID\" :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\">\r\n </u-type-tree>\r\n </section>\r\n <!-- 分割线 -->\r\n <section class=\"trigger\" slot=\"trigger\"></section>\r\n <!-- 右侧内容 -->\r\n <section slot=\"right\" class=\"right-split-pane\">\r\n <section class=\"search-wrapper\">\r\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\r\n <i-form-item label=\"名称\" prop=\"name\">\r\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"编码\" prop=\"code\">\r\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <div class=\"btns\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\r\n </div>\r\n </section>\r\n <section class=\"actions-wrapper\">\r\n <div class=\"action-item action-text\" @click=\"onAdd()\" :class=\"currentNode.id === 'virtual_root_directory' ? 'icon-button-disabled' : ''\">\r\n <i class=\"iconfont icon-add\"></i>\r\n <div>新增</div>\r\n </div>\r\n <div class=\"action-item action-text\" :class=\"(selection.length && !isContainsPublished) ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>批量删除</span>\r\n </div>\r\n </section>\r\n <section class=\"main-wrapper\">\r\n <template v-if=\"list&&list.length\">\r\n <i-table class=\"diy-table diy-table-scorll\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\" @on-row-click=\"onRowClick\">\r\n <template slot=\"status\" slot-scope=\"{row,index}\">\r\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\r\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"未发布\"}}</span>\r\n </template>\r\n <template slot=\"authFlag\" slot-scope=\"{row,index}\">\r\n <i-switch class=\"diy-switch\" :value=\"row.authFlag\" :true-value=\"1\" :false-value=\"0\" @on-change=\"onAuthFlagChange($event, row, index)\">\r\n <span slot=\"open\">是</span>\r\n <span slot=\"close\">否</span>\r\n </i-switch>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i @click=\"onDetail(row)\" title=\"查看\" class=\"iconfont icon-a-xinzengzhibiaobeifen9\"></i>\r\n <i @click=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi1\"> </i>\r\n <template v-if=\"row.status!=='PUBLISHED'\">\r\n <i @click=\"onEdit(row)\" title=\"编辑\" class=\"iconfont icon-Edit\"></i>\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </template>\r\n </div>\r\n </template>\r\n </i-table>\r\n <i-page\r\n class=\"diy-page\"\r\n show-total\r\n show-sizer\r\n show-elevator\r\n :total=\"paging.totalCount\"\r\n :current=\"paging.pageIndex\"\r\n :page-size=\"paging.pageSize\"\r\n @on-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n ></i-page>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </section>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n <i-modal draggable sticky reset-drag-position v-model=\"showCopyModal\" class=\"diy-modal combine-copy-modal\" :mask-closable=\"false\" title=\"复制接口\">\r\n <i-form :label-width=\"100\" class=\"diy-form\" v-model=\"copyData\" label-colon>\r\n <i-form-item label=\"接口名称\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口编码\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.code\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"选择分组\" required>\r\n <u-tree-selector :treeData=\"treeData\" leaf-name=\"copy\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\"> </u-tree-selector>\r\n </i-form-item>\r\n </i-form>\r\n <footer slot=\"footer\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onCopyConfirm\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCopyCancel\">取消</i-button>\r\n </footer>\r\n </i-modal>\r\n</article>\r\n"
4685
-
4686
- /***/ }),
4687
-
4688
- /***/ "cd69":
4689
- /***/ (function(module, exports, __webpack_require__) {
4690
-
4691
- "use strict";
4692
-
4693
- var ceil = Math.ceil;
4694
- var floor = Math.floor;
4695
-
4696
- // `Math.trunc` method
4697
- // https://tc39.es/ecma262/#sec-math.trunc
4698
- // eslint-disable-next-line es/no-math-trunc -- safe
4699
- module.exports = Math.trunc || function trunc(x) {
4700
- var n = +x;
4701
- return (n > 0 ? floor : ceil)(n);
4702
- };
4703
-
4704
-
4705
- /***/ }),
4706
-
4707
- /***/ "ce8f":
4708
- /***/ (function(module, exports) {
4709
-
4710
- module.exports = require("@egova/flagwind-web/dist/flagwind-web.umd.js");
4711
-
4712
- /***/ }),
4713
-
4714
- /***/ "ce97":
4715
- /***/ (function(module, exports, __webpack_require__) {
4716
-
4717
- "use strict";
4718
-
4719
- var classof = __webpack_require__("aaa6");
4720
-
4721
- var $String = String;
4722
-
4723
- module.exports = function (argument) {
4724
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
4725
- return $String(argument);
4726
- };
4727
-
4728
-
4729
- /***/ }),
4730
-
4731
- /***/ "cebe":
4732
- /***/ (function(module, exports) {
4733
-
4734
- module.exports = require("axios");
4735
-
4736
- /***/ }),
4737
-
4738
- /***/ "cf8c":
4739
- /***/ (function(module, exports, __webpack_require__) {
4740
-
4741
- "use strict";
4742
-
4743
- var toIndexedObject = __webpack_require__("485f");
4744
- var toAbsoluteIndex = __webpack_require__("575c");
4745
- var lengthOfArrayLike = __webpack_require__("d631");
4746
-
4747
- // `Array.prototype.{ indexOf, includes }` methods implementation
4748
- var createMethod = function (IS_INCLUDES) {
4749
- return function ($this, el, fromIndex) {
4750
- var O = toIndexedObject($this);
4751
- var length = lengthOfArrayLike(O);
4752
- var index = toAbsoluteIndex(fromIndex, length);
4753
- var value;
4754
- // Array#includes uses SameValueZero equality algorithm
4755
- // eslint-disable-next-line no-self-compare -- NaN check
4756
- if (IS_INCLUDES && el !== el) while (length > index) {
4757
- value = O[index++];
4758
- // eslint-disable-next-line no-self-compare -- NaN check
4759
- if (value !== value) return true;
4760
- // Array#indexOf ignores holes, Array#includes - not
4761
- } else for (;length > index; index++) {
4762
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
4763
- } return !IS_INCLUDES && -1;
4764
- };
4765
- };
4766
-
4767
- module.exports = {
4768
- // `Array.prototype.includes` method
4769
- // https://tc39.es/ecma262/#sec-array.prototype.includes
4770
- includes: createMethod(true),
4771
- // `Array.prototype.indexOf` method
4772
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
4773
- indexOf: createMethod(false)
4774
- };
4775
-
4776
-
4777
- /***/ }),
4778
-
4779
- /***/ "cfb3":
4780
- /***/ (function(module, exports) {
4781
-
4782
- module.exports = "<article class=\"project-list\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"condition.name\"\r\n search\r\n @on-search=\"onQuery\"\r\n placeholder=\"输入关键字检索\"\r\n ></i-input>\r\n </header>\r\n <main>\r\n <header class=\"tool-bar\">\r\n <span>项目列表</span>\r\n <div class=\"right-tool\">\r\n <div class=\"action-btn\">\r\n <i-upload\r\n class=\"action-item\"\r\n :action=\"uploadAction\"\r\n accept=\".json\"\r\n :headers=\"headers\"\r\n :show-upload-list=\"false\"\r\n :format=\"['json']\"\r\n :on-success=\"onSuccess\"\r\n :before-upload=\"onBeforeUpload\"\r\n :on-format-error=\"onFormatError\"\r\n >\r\n <i class=\"api-icon icon-import\"></i>\r\n <div>导入项目</div>\r\n </i-upload>\r\n </div>\r\n <div class=\"action-btn\" @click=\"onComment\">\r\n <i\r\n class=\"api-icon icon-star\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <div>查看项目动态</div>\r\n </div>\r\n <i\r\n class=\"api-icon icon-list\"\r\n :class=\"{'active': type === 'list'}\"\r\n title=\"列表展示\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <i\r\n class=\"api-icon icon-card\"\r\n :class=\"{'active': type === 'card'}\"\r\n title=\"卡片展示\"\r\n @click=\"onCheckType('card')\"\r\n ></i>\r\n </div>\r\n </header>\r\n <main>\r\n <section class=\"projects\" v-if=\"type==='card'\">\r\n <div class=\"project-card\" @click=\"onAdd\">\r\n <div class=\"add-card\">\r\n <i-icon type=\"md-add\" />\r\n <p>新建项目</p>\r\n </div>\r\n </div>\r\n <u-card\r\n v-for=\"item in dataList\"\r\n :data=\"item\"\r\n :key=\"item.id\"\r\n @on-delete=\"onDelete\"\r\n @on-detail=\"onDetail\"\r\n @on-edit=\"onEdit\"\r\n @on-export=\"onExport\"\r\n ></u-card>\r\n </section>\r\n <section class=\"projects\" v-else>\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <span @click=\"onExport(row)\" class=\"action-btn export\"\r\n ><i class=\"api-icon icon-export projects-icon-export\" title=\"导出此项目\"></i\r\n ></span>\r\n <span @click=\"onDetail(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-detail\" title=\"详情\"></i\r\n ></span>\r\n <span @click=\"onEdit(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-edit\" title=\"修改\"></i\r\n ></span>\r\n <u-confirm\r\n title=\"删除项目\"\r\n @on-ok=\"onDelete(row)\"\r\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\r\n >\r\n <span class=\"action-btn delete\"\r\n ><i\r\n class=\"api-icon icon-delete\"\r\n title=\"删除\"\r\n ></i\r\n ></span>\r\n </u-confirm>\r\n </template>\r\n </i-table>\r\n </section>\r\n </main>\r\n </main>\r\n <u-add-modal :visiable.sync=\"showAddModal\" :data=\"current\">\r\n <footer slot=\"footer\">\r\n <i-button @click=\"showAddModal = false\">取消</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary \" @click=\"onSave\"\r\n >确定</i-button\r\n >\r\n </footer>\r\n </u-add-modal>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n</article>\r\n"
4783
-
4784
- /***/ }),
4785
-
4786
- /***/ "cfde":
4787
- /***/ (function(module, exports, __webpack_require__) {
4788
-
4789
- // extracted by mini-css-extract-plugin
4790
-
4791
- /***/ }),
4792
-
4793
- /***/ "d30a":
4794
- /***/ (function(module, exports) {
4795
-
4796
- module.exports = "<div class=\"u-selector-tree-node\" @click=\"onClickNode\">\r\n <i-icon v-if=\"!data.children\" type=\"ios-bookmark-outline\" />\r\n <template v-else>\r\n<!-- <i-->\r\n<!-- class=\"iconfont\"-->\r\n<!-- :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"-->\r\n<!-- ></i>-->\r\n <i class=\"iconfont icon-bumenkaohe\"></i>\r\n </template>\r\n <span>{{data.title}}</span>\r\n</div>\r\n"
4797
-
4798
- /***/ }),
4799
-
4800
- /***/ "d345":
4196
+ /***/ "cb40":
4801
4197
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4802
4198
 
4803
4199
  "use strict";
@@ -4812,7 +4208,7 @@ __webpack_require__.d(__webpack_exports__, "ProjectDetail", function() { return
4812
4208
  __webpack_require__.d(__webpack_exports__, "ProjectList", function() { return /* reexport */ views_project_list; });
4813
4209
  __webpack_require__.d(__webpack_exports__, "injectEnableUserCenterCookie", function() { return /* reexport */ injectEnableUserCenterCookie; });
4814
4210
 
4815
- // CONCATENATED MODULE: ./node_modules/.pnpm/@vue+cli-service@4.5.19_4j72uuzxhpprprr3owyhj65lvq/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
4211
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@vue+cli-service@4.5.19_raw-loader@1.0.0_sass-load_6c5aczzntsl4dewyqjyegjkf6q/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
4816
4212
  // This file is imported into lib/wc client bundles.
4817
4213
 
4818
4214
  if (typeof window !== 'undefined') {
@@ -7570,9 +6966,12 @@ var project_combine_ProjectCombineManage = /** @class */function (_super) {
7570
6966
  return [4 /*yield*/, this.service.changeStatus(id, value ? 1 : 0)];
7571
6967
  case 1:
7572
6968
  res = _a.sent();
7573
- if (!(res === null || res === void 0 ? void 0 : res.hasError)) {
7574
- row.status = value ? "PUBLISHED" : "NOT_PUBLISHED";
7575
- }
6969
+ if (!!(res === null || res === void 0 ? void 0 : res.hasError)) return [3 /*break*/, 3];
6970
+ return [4 /*yield*/, this.doQuery()];
6971
+ case 2:
6972
+ _a.sent();
6973
+ _a.label = 3;
6974
+ case 3:
7576
6975
  return [2 /*return*/];
7577
6976
  }
7578
6977
  });
@@ -15576,8 +14975,8 @@ var tree_ProjectTree = /** @class */function (_super) {
15576
14975
  return ProjectTree;
15577
14976
  }(flagwind_web_["Component"]);
15578
14977
  /* harmony default export */ var views_project_detail_tree = (tree_ProjectTree);
15579
- // EXTERNAL MODULE: ./node_modules/.pnpm/vue-awesome-swiper@4.1.1_swiper@6.8.4+vue@2.7.16/node_modules/vue-awesome-swiper/dist/vue-awesome-swiper.js
15580
- var vue_awesome_swiper = __webpack_require__("b042");
14978
+ // EXTERNAL MODULE: ./node_modules/.pnpm/vue-awesome-swiper@4.1.1_swiper@6.8.4_vue@2.7.16/node_modules/vue-awesome-swiper/dist/vue-awesome-swiper.js
14979
+ var vue_awesome_swiper = __webpack_require__("ed38");
15581
14980
 
15582
14981
  // CONCATENATED MODULE: ./src/views/project-detail/index.ts
15583
14982
 
@@ -15930,110 +15329,229 @@ var project_detail_ProjectDetail = /** @class */function (_super) {
15930
15329
 
15931
15330
  external_vue_default.a.use(external_halo_math_default.a);
15932
15331
 
15933
- // CONCATENATED MODULE: ./node_modules/.pnpm/@vue+cli-service@4.5.19_4j72uuzxhpprprr3owyhj65lvq/node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
15332
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@vue+cli-service@4.5.19_raw-loader@1.0.0_sass-load_6c5aczzntsl4dewyqjyegjkf6q/node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
15934
15333
 
15935
15334
 
15936
15335
 
15937
15336
 
15938
15337
  /***/ }),
15939
15338
 
15940
- /***/ "d371":
15941
- /***/ (function(module, exports, __webpack_require__) {
15942
-
15943
- "use strict";
15944
-
15945
- var DESCRIPTORS = __webpack_require__("e900");
15946
- var uncurryThis = __webpack_require__("720f");
15947
- var defineBuiltInAccessor = __webpack_require__("889b");
15948
-
15949
- var URLSearchParamsPrototype = URLSearchParams.prototype;
15950
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
15951
-
15952
- // `URLSearchParams.prototype.size` getter
15953
- // https://github.com/whatwg/url/pull/734
15954
- if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
15955
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
15956
- get: function size() {
15957
- var count = 0;
15958
- forEach(this, function () { count++; });
15959
- return count;
15960
- },
15961
- configurable: true,
15962
- enumerable: true
15963
- });
15964
- }
15339
+ /***/ "ccf6":
15340
+ /***/ (function(module, exports) {
15965
15341
 
15342
+ module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-wrapper\">\r\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\r\n <!-- 左侧内容 -->\r\n <section slot=\"left\" class=\"left-split-pane\">\r\n <u-type-tree :taskCategoryID=\"taskCategoryID\" :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\">\r\n </u-type-tree>\r\n </section>\r\n <!-- 分割线 -->\r\n <section class=\"trigger\" slot=\"trigger\"></section>\r\n <!-- 右侧内容 -->\r\n <section slot=\"right\" class=\"right-split-pane\">\r\n <section class=\"search-wrapper\">\r\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\r\n <i-form-item label=\"名称\" prop=\"name\">\r\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"编码\" prop=\"code\">\r\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <div class=\"btns\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\r\n </div>\r\n </section>\r\n <section class=\"actions-wrapper\">\r\n <div class=\"action-item action-text\" @click=\"onAdd()\" :class=\"currentNode.id === 'virtual_root_directory' ? 'icon-button-disabled' : ''\">\r\n <i class=\"iconfont icon-add\"></i>\r\n <div>新增</div>\r\n </div>\r\n <div class=\"action-item action-text\" :class=\"(selection.length && !isContainsPublished) ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\r\n <i class=\"iconfont icon-delete\"></i>\r\n <span>批量删除</span>\r\n </div>\r\n </section>\r\n <section class=\"main-wrapper\">\r\n <template v-if=\"list&&list.length\">\r\n <i-table class=\"diy-table diy-table-scorll\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\" @on-row-click=\"onRowClick\">\r\n <template slot=\"status\" slot-scope=\"{row,index}\">\r\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\r\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"未发布\"}}</span>\r\n </template>\r\n <template slot=\"authFlag\" slot-scope=\"{row,index}\">\r\n <i-switch class=\"diy-switch\" :value=\"row.authFlag\" :true-value=\"1\" :false-value=\"0\" @on-change=\"onAuthFlagChange($event, row, index)\">\r\n <span slot=\"open\">是</span>\r\n <span slot=\"close\">否</span>\r\n </i-switch>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i @click=\"onDetail(row)\" title=\"查看\" class=\"iconfont icon-a-xinzengzhibiaobeifen9\"></i>\r\n <i @click=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi1\"> </i>\r\n <template v-if=\"row.status!=='PUBLISHED'\">\r\n <i @click=\"onEdit(row)\" title=\"编辑\" class=\"iconfont icon-Edit\"></i>\r\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </template>\r\n </div>\r\n </template>\r\n </i-table>\r\n <i-page\r\n class=\"diy-page\"\r\n show-total\r\n show-sizer\r\n show-elevator\r\n :total=\"paging.totalCount\"\r\n :current=\"paging.pageIndex\"\r\n :page-size=\"paging.pageSize\"\r\n @on-change=\"onPageIndexChange\"\r\n @on-page-size-change=\"onPageSizeChange\"\r\n ></i-page>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </section>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n <i-modal draggable sticky reset-drag-position v-model=\"showCopyModal\" class=\"diy-modal combine-copy-modal\" :mask-closable=\"false\" title=\"复制接口\">\r\n <i-form :label-width=\"100\" class=\"diy-form\" v-model=\"copyData\" label-colon>\r\n <i-form-item label=\"接口名称\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.name\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"接口编码\" required>\r\n <i-input class=\"diy-input\" v-model=\"copyData.code\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"选择分组\" required>\r\n <u-tree-selector :treeData=\"treeData\" leaf-name=\"copy\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\"> </u-tree-selector>\r\n </i-form-item>\r\n </i-form>\r\n <footer slot=\"footer\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onCopyConfirm\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onCopyCancel\">取消</i-button>\r\n </footer>\r\n </i-modal>\r\n</article>\r\n"
15966
15343
 
15967
15344
  /***/ }),
15968
15345
 
15969
- /***/ "d5e3":
15346
+ /***/ "cd69":
15970
15347
  /***/ (function(module, exports, __webpack_require__) {
15971
15348
 
15972
15349
  "use strict";
15973
15350
 
15974
- var fails = __webpack_require__("10a7");
15975
- var createPropertyDescriptor = __webpack_require__("f2e2");
15351
+ var ceil = Math.ceil;
15352
+ var floor = Math.floor;
15976
15353
 
15977
- module.exports = !fails(function () {
15978
- var error = new Error('a');
15979
- if (!('stack' in error)) return true;
15980
- // eslint-disable-next-line es/no-object-defineproperty -- safe
15981
- Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
15982
- return error.stack !== 7;
15983
- });
15354
+ // `Math.trunc` method
15355
+ // https://tc39.es/ecma262/#sec-math.trunc
15356
+ // eslint-disable-next-line es/no-math-trunc -- safe
15357
+ module.exports = Math.trunc || function trunc(x) {
15358
+ var n = +x;
15359
+ return (n > 0 ? floor : ceil)(n);
15360
+ };
15984
15361
 
15985
15362
 
15986
15363
  /***/ }),
15987
15364
 
15988
- /***/ "d631":
15989
- /***/ (function(module, exports, __webpack_require__) {
15990
-
15991
- "use strict";
15992
-
15993
- var toLength = __webpack_require__("8a91");
15994
-
15995
- // `LengthOfArrayLike` abstract operation
15996
- // https://tc39.es/ecma262/#sec-lengthofarraylike
15997
- module.exports = function (obj) {
15998
- return toLength(obj.length);
15999
- };
15365
+ /***/ "ce8f":
15366
+ /***/ (function(module, exports) {
16000
15367
 
15368
+ module.exports = require("@egova/flagwind-web/dist/flagwind-web.umd.js");
16001
15369
 
16002
15370
  /***/ }),
16003
15371
 
16004
- /***/ "d631e":
15372
+ /***/ "ce97":
16005
15373
  /***/ (function(module, exports, __webpack_require__) {
16006
15374
 
16007
15375
  "use strict";
16008
15376
 
16009
- var fails = __webpack_require__("10a7");
16010
-
16011
- module.exports = function (METHOD_NAME, argument) {
16012
- var method = [][METHOD_NAME];
16013
- return !!method && fails(function () {
16014
- // eslint-disable-next-line no-useless-call -- required for testing
16015
- method.call(null, argument || function () { return 1; }, 1);
16016
- });
16017
- };
16018
-
15377
+ var classof = __webpack_require__("aaa6");
16019
15378
 
16020
- /***/ }),
15379
+ var $String = String;
16021
15380
 
16022
- /***/ "d63e":
16023
- /***/ (function(module, exports) {
15381
+ module.exports = function (argument) {
15382
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
15383
+ return $String(argument);
15384
+ };
16024
15385
 
16025
- module.exports = "<article class=\"project-detail\">\r\n <header>\r\n <div class=\"environment\">\r\n <i class=\"iconfont icon-zhankai\" @click=\"onBack\"></i>\r\n <p>{{projectName}}</p>\r\n <!-- <span>环境变量:</span> -->\r\n <!-- <i-select class=\"diy-select\"></i-select> -->\r\n </div>\r\n <div class=\"btns\">\r\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onOpenGlobalModal\"> <i class=\"api-icon icon-setting\"></i>全局参数设置</i-button> -->\r\n <!-- <i-button type=\"success\" ghost class=\"diy-btn-success\" @click=\"onOpenCurrentModal\"><i class=\"api-icon icon-view\"></i>查看当前变量</i-button> -->\r\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary security-btn\" ghost @click=\"onSecurity\"><i class=\"iconfont icon-xinzengzhibiao\"></i>授权认证</i-button>\r\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onOpenEnvModal\"><i class=\"iconfont icon-bianliang\"></i>环境变量</i-button>\r\n <i-button v-show=\"active.id\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onToggleLayout\"><i class=\"api-icon icon-switch\"></i>切换布局</i-button>\r\n </div>\r\n </header>\r\n <!-- <main> -->\r\n <i-split v-model=\"split\" min=\"200px\" max=\"900px\">\r\n <u-tree slot=\"left\" @on-check-interface=\"onCheckInterface\" @on-edit-interface-success=\"onEditInterfaceSuccess\" :project-id=\"projectId\" @on-success=\"onBatchSuccess\" @on-delete-interface=\"onDeleteInterface\" @on-reset=\"onReset\" @tree-data=\"getTreeData\"></u-tree>\r\n <section slot=\"right\" class=\"interface-box\">\r\n <header class=\"interface-bar\">\r\n <swiper class=\"swiper\" :options=\"swiperOption\" @click-slide=\"onClickSlide\" @ready=\"onSwiperReadied\">\r\n <swiper-slide class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\"\r\n ><span>{{item.name}}</span> <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon\r\n ></swiper-slide>\r\n </swiper>\r\n <!-- <div class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\">\r\n <span>{{item.name}}</span>\r\n <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon>\r\n </div> -->\r\n </header>\r\n <u-settings ref=\"interface-settings\" :interface-model.sync=\"active\" :project-id=\"projectId\" v-if=\"active.id\" :lengthwise=\"lengthwise\" :projectTree=\"projectTree\"></u-settings>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <!-- </main> -->\r\n <u-global-modal :visiable.sync=\"showGlobalModal\">\r\n <footer slot=\"footer\">\r\n <i-button @click=\"showGlobalModal = false\">取消</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\">确定</i-button>\r\n </footer>\r\n </u-global-modal>\r\n <u-current-modal :visiable.sync=\"showCurrentModal\"> </u-current-modal>\r\n <u-security-modal v-model=\"showSecurity\" :projectID=\"projectId\"></u-security-modal>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"onEnvironmentRefresh\"></u-environment-modal>\r\n</article>\r\n"
16026
15386
 
16027
15387
  /***/ }),
16028
15388
 
16029
- /***/ "d670":
15389
+ /***/ "cebe":
16030
15390
  /***/ (function(module, exports) {
16031
15391
 
16032
- module.exports = require("swiper");
15392
+ module.exports = require("axios");
16033
15393
 
16034
15394
  /***/ }),
16035
15395
 
16036
- /***/ "d803":
15396
+ /***/ "cf8c":
15397
+ /***/ (function(module, exports, __webpack_require__) {
15398
+
15399
+ "use strict";
15400
+
15401
+ var toIndexedObject = __webpack_require__("485f");
15402
+ var toAbsoluteIndex = __webpack_require__("575c");
15403
+ var lengthOfArrayLike = __webpack_require__("d631");
15404
+
15405
+ // `Array.prototype.{ indexOf, includes }` methods implementation
15406
+ var createMethod = function (IS_INCLUDES) {
15407
+ return function ($this, el, fromIndex) {
15408
+ var O = toIndexedObject($this);
15409
+ var length = lengthOfArrayLike(O);
15410
+ var index = toAbsoluteIndex(fromIndex, length);
15411
+ var value;
15412
+ // Array#includes uses SameValueZero equality algorithm
15413
+ // eslint-disable-next-line no-self-compare -- NaN check
15414
+ if (IS_INCLUDES && el !== el) while (length > index) {
15415
+ value = O[index++];
15416
+ // eslint-disable-next-line no-self-compare -- NaN check
15417
+ if (value !== value) return true;
15418
+ // Array#indexOf ignores holes, Array#includes - not
15419
+ } else for (;length > index; index++) {
15420
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
15421
+ } return !IS_INCLUDES && -1;
15422
+ };
15423
+ };
15424
+
15425
+ module.exports = {
15426
+ // `Array.prototype.includes` method
15427
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
15428
+ includes: createMethod(true),
15429
+ // `Array.prototype.indexOf` method
15430
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
15431
+ indexOf: createMethod(false)
15432
+ };
15433
+
15434
+
15435
+ /***/ }),
15436
+
15437
+ /***/ "cfb3":
15438
+ /***/ (function(module, exports) {
15439
+
15440
+ module.exports = "<article class=\"project-list\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"condition.name\"\r\n search\r\n @on-search=\"onQuery\"\r\n placeholder=\"输入关键字检索\"\r\n ></i-input>\r\n </header>\r\n <main>\r\n <header class=\"tool-bar\">\r\n <span>项目列表</span>\r\n <div class=\"right-tool\">\r\n <div class=\"action-btn\">\r\n <i-upload\r\n class=\"action-item\"\r\n :action=\"uploadAction\"\r\n accept=\".json\"\r\n :headers=\"headers\"\r\n :show-upload-list=\"false\"\r\n :format=\"['json']\"\r\n :on-success=\"onSuccess\"\r\n :before-upload=\"onBeforeUpload\"\r\n :on-format-error=\"onFormatError\"\r\n >\r\n <i class=\"api-icon icon-import\"></i>\r\n <div>导入项目</div>\r\n </i-upload>\r\n </div>\r\n <div class=\"action-btn\" @click=\"onComment\">\r\n <i\r\n class=\"api-icon icon-star\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <div>查看项目动态</div>\r\n </div>\r\n <i\r\n class=\"api-icon icon-list\"\r\n :class=\"{'active': type === 'list'}\"\r\n title=\"列表展示\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <i\r\n class=\"api-icon icon-card\"\r\n :class=\"{'active': type === 'card'}\"\r\n title=\"卡片展示\"\r\n @click=\"onCheckType('card')\"\r\n ></i>\r\n </div>\r\n </header>\r\n <main>\r\n <section class=\"projects\" v-if=\"type==='card'\">\r\n <div class=\"project-card\" @click=\"onAdd\">\r\n <div class=\"add-card\">\r\n <i-icon type=\"md-add\" />\r\n <p>新建项目</p>\r\n </div>\r\n </div>\r\n <u-card\r\n v-for=\"item in dataList\"\r\n :data=\"item\"\r\n :key=\"item.id\"\r\n @on-delete=\"onDelete\"\r\n @on-detail=\"onDetail\"\r\n @on-edit=\"onEdit\"\r\n @on-export=\"onExport\"\r\n ></u-card>\r\n </section>\r\n <section class=\"projects\" v-else>\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <span @click=\"onExport(row)\" class=\"action-btn export\"\r\n ><i class=\"api-icon icon-export projects-icon-export\" title=\"导出此项目\"></i\r\n ></span>\r\n <span @click=\"onDetail(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-detail\" title=\"详情\"></i\r\n ></span>\r\n <span @click=\"onEdit(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-edit\" title=\"修改\"></i\r\n ></span>\r\n <u-confirm\r\n title=\"删除项目\"\r\n @on-ok=\"onDelete(row)\"\r\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\r\n >\r\n <span class=\"action-btn delete\"\r\n ><i\r\n class=\"api-icon icon-delete\"\r\n title=\"删除\"\r\n ></i\r\n ></span>\r\n </u-confirm>\r\n </template>\r\n </i-table>\r\n </section>\r\n </main>\r\n </main>\r\n <u-add-modal :visiable.sync=\"showAddModal\" :data=\"current\">\r\n <footer slot=\"footer\">\r\n <i-button @click=\"showAddModal = false\">取消</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary \" @click=\"onSave\"\r\n >确定</i-button\r\n >\r\n </footer>\r\n </u-add-modal>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n</article>\r\n"
15441
+
15442
+ /***/ }),
15443
+
15444
+ /***/ "cfde":
15445
+ /***/ (function(module, exports, __webpack_require__) {
15446
+
15447
+ // extracted by mini-css-extract-plugin
15448
+
15449
+ /***/ }),
15450
+
15451
+ /***/ "d30a":
15452
+ /***/ (function(module, exports) {
15453
+
15454
+ module.exports = "<div class=\"u-selector-tree-node\" @click=\"onClickNode\">\r\n <i-icon v-if=\"!data.children\" type=\"ios-bookmark-outline\" />\r\n <template v-else>\r\n<!-- <i-->\r\n<!-- class=\"iconfont\"-->\r\n<!-- :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"-->\r\n<!-- ></i>-->\r\n <i class=\"iconfont icon-bumenkaohe\"></i>\r\n </template>\r\n <span>{{data.title}}</span>\r\n</div>\r\n"
15455
+
15456
+ /***/ }),
15457
+
15458
+ /***/ "d371":
15459
+ /***/ (function(module, exports, __webpack_require__) {
15460
+
15461
+ "use strict";
15462
+
15463
+ var DESCRIPTORS = __webpack_require__("e900");
15464
+ var uncurryThis = __webpack_require__("720f");
15465
+ var defineBuiltInAccessor = __webpack_require__("889b");
15466
+
15467
+ var URLSearchParamsPrototype = URLSearchParams.prototype;
15468
+ var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
15469
+
15470
+ // `URLSearchParams.prototype.size` getter
15471
+ // https://github.com/whatwg/url/pull/734
15472
+ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
15473
+ defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
15474
+ get: function size() {
15475
+ var count = 0;
15476
+ forEach(this, function () { count++; });
15477
+ return count;
15478
+ },
15479
+ configurable: true,
15480
+ enumerable: true
15481
+ });
15482
+ }
15483
+
15484
+
15485
+ /***/ }),
15486
+
15487
+ /***/ "d5e3":
15488
+ /***/ (function(module, exports, __webpack_require__) {
15489
+
15490
+ "use strict";
15491
+
15492
+ var fails = __webpack_require__("10a7");
15493
+ var createPropertyDescriptor = __webpack_require__("f2e2");
15494
+
15495
+ module.exports = !fails(function () {
15496
+ var error = new Error('a');
15497
+ if (!('stack' in error)) return true;
15498
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
15499
+ Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
15500
+ return error.stack !== 7;
15501
+ });
15502
+
15503
+
15504
+ /***/ }),
15505
+
15506
+ /***/ "d631":
15507
+ /***/ (function(module, exports, __webpack_require__) {
15508
+
15509
+ "use strict";
15510
+
15511
+ var toLength = __webpack_require__("8a91");
15512
+
15513
+ // `LengthOfArrayLike` abstract operation
15514
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
15515
+ module.exports = function (obj) {
15516
+ return toLength(obj.length);
15517
+ };
15518
+
15519
+
15520
+ /***/ }),
15521
+
15522
+ /***/ "d631e":
15523
+ /***/ (function(module, exports, __webpack_require__) {
15524
+
15525
+ "use strict";
15526
+
15527
+ var fails = __webpack_require__("10a7");
15528
+
15529
+ module.exports = function (METHOD_NAME, argument) {
15530
+ var method = [][METHOD_NAME];
15531
+ return !!method && fails(function () {
15532
+ // eslint-disable-next-line no-useless-call -- required for testing
15533
+ method.call(null, argument || function () { return 1; }, 1);
15534
+ });
15535
+ };
15536
+
15537
+
15538
+ /***/ }),
15539
+
15540
+ /***/ "d63e":
15541
+ /***/ (function(module, exports) {
15542
+
15543
+ module.exports = "<article class=\"project-detail\">\r\n <header>\r\n <div class=\"environment\">\r\n <i class=\"iconfont icon-zhankai\" @click=\"onBack\"></i>\r\n <p>{{projectName}}</p>\r\n <!-- <span>环境变量:</span> -->\r\n <!-- <i-select class=\"diy-select\"></i-select> -->\r\n </div>\r\n <div class=\"btns\">\r\n <!-- <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onOpenGlobalModal\"> <i class=\"api-icon icon-setting\"></i>全局参数设置</i-button> -->\r\n <!-- <i-button type=\"success\" ghost class=\"diy-btn-success\" @click=\"onOpenCurrentModal\"><i class=\"api-icon icon-view\"></i>查看当前变量</i-button> -->\r\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary security-btn\" ghost @click=\"onSecurity\"><i class=\"iconfont icon-xinzengzhibiao\"></i>授权认证</i-button>\r\n <i-button v-if=\"projectId && projectName\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onOpenEnvModal\"><i class=\"iconfont icon-bianliang\"></i>环境变量</i-button>\r\n <i-button v-show=\"active.id\" type=\"primary\" class=\"diy-btn-primary\" ghost @click=\"onToggleLayout\"><i class=\"api-icon icon-switch\"></i>切换布局</i-button>\r\n </div>\r\n </header>\r\n <!-- <main> -->\r\n <i-split v-model=\"split\" min=\"200px\" max=\"900px\">\r\n <u-tree slot=\"left\" @on-check-interface=\"onCheckInterface\" @on-edit-interface-success=\"onEditInterfaceSuccess\" :project-id=\"projectId\" @on-success=\"onBatchSuccess\" @on-delete-interface=\"onDeleteInterface\" @on-reset=\"onReset\" @tree-data=\"getTreeData\"></u-tree>\r\n <section slot=\"right\" class=\"interface-box\">\r\n <header class=\"interface-bar\">\r\n <swiper class=\"swiper\" :options=\"swiperOption\" @click-slide=\"onClickSlide\" @ready=\"onSwiperReadied\">\r\n <swiper-slide class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\"\r\n ><span>{{item.name}}</span> <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon\r\n ></swiper-slide>\r\n </swiper>\r\n <!-- <div class=\"tag\" @click=\"onClickTag(item)\" :class=\"{'active': item.id === active.id}\" v-for=\"(item,index) in openInterfaceList\" :key=\"item.id\">\r\n <span>{{item.name}}</span>\r\n <i-icon type=\"md-close\" @click.stop=\"onClose(index)\"></i-icon>\r\n </div> -->\r\n </header>\r\n <u-settings ref=\"interface-settings\" :interface-model.sync=\"active\" :project-id=\"projectId\" v-if=\"active.id\" :lengthwise=\"lengthwise\" :projectTree=\"projectTree\"></u-settings>\r\n </section>\r\n </i-split>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <!-- </main> -->\r\n <u-global-modal :visiable.sync=\"showGlobalModal\">\r\n <footer slot=\"footer\">\r\n <i-button @click=\"showGlobalModal = false\">取消</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\">确定</i-button>\r\n </footer>\r\n </u-global-modal>\r\n <u-current-modal :visiable.sync=\"showCurrentModal\"> </u-current-modal>\r\n <u-security-modal v-model=\"showSecurity\" :projectID=\"projectId\"></u-security-modal>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"onEnvironmentRefresh\"></u-environment-modal>\r\n</article>\r\n"
15544
+
15545
+ /***/ }),
15546
+
15547
+ /***/ "d670":
15548
+ /***/ (function(module, exports) {
15549
+
15550
+ module.exports = require("swiper");
15551
+
15552
+ /***/ }),
15553
+
15554
+ /***/ "d803":
16037
15555
  /***/ (function(module, exports, __webpack_require__) {
16038
15556
 
16039
15557
  "use strict";
@@ -16434,6 +15952,491 @@ module.exports = NATIVE_SYMBOL
16434
15952
  && typeof Symbol.iterator == 'symbol';
16435
15953
 
16436
15954
 
15955
+ /***/ }),
15956
+
15957
+ /***/ "ed38":
15958
+ /***/ (function(module, exports, __webpack_require__) {
15959
+
15960
+
15961
+ /*!
15962
+ * vue-awesome-swiper v4.1.1
15963
+ * Copyright (c) Surmon. All rights reserved.
15964
+ * Released under the MIT License.
15965
+ * Surmon <https://github.com/surmon-china>
15966
+ */
15967
+
15968
+ (function(g,f){ true?f(exports,__webpack_require__("d670"),__webpack_require__("8bbf")):undefined;}(this,(function(exports, SwiperClass, Vue){'use strict';SwiperClass=SwiperClass&&Object.prototype.hasOwnProperty.call(SwiperClass,'default')?SwiperClass['default']:SwiperClass;Vue=Vue&&Object.prototype.hasOwnProperty.call(Vue,'default')?Vue['default']:Vue;/**
15969
+ * @file vue-awesome-swiper
15970
+ * @module constants
15971
+ * @author Surmon <https://github.com/surmon-china>
15972
+ */
15973
+ var CoreNames;
15974
+ (function (CoreNames) {
15975
+ CoreNames["SwiperComponent"] = "Swiper";
15976
+ CoreNames["SwiperSlideComponent"] = "SwiperSlide";
15977
+ CoreNames["SwiperDirective"] = "swiper";
15978
+ CoreNames["SwiperInstance"] = "$swiper";
15979
+ })(CoreNames || (CoreNames = {}));
15980
+ var DEFAULT_CLASSES = Object.freeze({
15981
+ containerClass: 'swiper-container',
15982
+ wrapperClass: 'swiper-wrapper',
15983
+ slideClass: 'swiper-slide'
15984
+ });
15985
+ var ComponentEvents;
15986
+ (function (ComponentEvents) {
15987
+ ComponentEvents["Ready"] = "ready";
15988
+ ComponentEvents["ClickSlide"] = "clickSlide";
15989
+ })(ComponentEvents || (ComponentEvents = {}));
15990
+ var ComponentPropNames;
15991
+ (function (ComponentPropNames) {
15992
+ ComponentPropNames["AutoUpdate"] = "autoUpdate";
15993
+ ComponentPropNames["AutoDestroy"] = "autoDestroy";
15994
+ ComponentPropNames["DeleteInstanceOnDestroy"] = "deleteInstanceOnDestroy";
15995
+ ComponentPropNames["CleanupStylesOnDestroy"] = "cleanupStylesOnDestroy";
15996
+ })(ComponentPropNames || (ComponentPropNames = {}));
15997
+ // https://swiperjs.com/api/#events
15998
+ var SWIPER_EVENTS = [
15999
+ 'init',
16000
+ 'beforeDestroy',
16001
+ 'slideChange',
16002
+ 'slideChangeTransitionStart',
16003
+ 'slideChangeTransitionEnd',
16004
+ 'slideNextTransitionStart',
16005
+ 'slideNextTransitionEnd',
16006
+ 'slidePrevTransitionStart',
16007
+ 'slidePrevTransitionEnd',
16008
+ 'transitionStart',
16009
+ 'transitionEnd',
16010
+ 'touchStart',
16011
+ 'touchMove',
16012
+ 'touchMoveOpposite',
16013
+ 'sliderMove',
16014
+ 'touchEnd',
16015
+ 'click',
16016
+ 'tap',
16017
+ 'doubleTap',
16018
+ 'imagesReady',
16019
+ 'progress',
16020
+ 'reachBeginning',
16021
+ 'reachEnd',
16022
+ 'fromEdge',
16023
+ 'setTranslate',
16024
+ 'setTransition',
16025
+ 'resize',
16026
+ 'observerUpdate',
16027
+ 'beforeLoopFix',
16028
+ 'loopFix'
16029
+ ];/*! *****************************************************************************
16030
+ Copyright (c) Microsoft Corporation. All rights reserved.
16031
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
16032
+ this file except in compliance with the License. You may obtain a copy of the
16033
+ License at http://www.apache.org/licenses/LICENSE-2.0
16034
+
16035
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16036
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16037
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16038
+ MERCHANTABLITY OR NON-INFRINGEMENT.
16039
+
16040
+ See the Apache Version 2.0 License for specific language governing permissions
16041
+ and limitations under the License.
16042
+ ***************************************************************************** */
16043
+
16044
+ function __spreadArrays() {
16045
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
16046
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
16047
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
16048
+ r[k] = a[j];
16049
+ return r;
16050
+ }/**
16051
+ * @file vue-awesome-swiper
16052
+ * @module utils
16053
+ * @author Surmon <https://github.com/surmon-china>
16054
+ */
16055
+ var kebabcase = function (string) {
16056
+ return string
16057
+ .replace(/([a-z])([A-Z])/g, '$1-$2')
16058
+ .replace(/\s+/g, '-')
16059
+ .toLowerCase();
16060
+ };/**
16061
+ * @file vue-awesome-swiper
16062
+ * @module event
16063
+ * @author Surmon <https://github.com/surmon-china>
16064
+ */
16065
+ var handleClickSlideEvent = function (swiper, event, emit) {
16066
+ var _a, _b, _c;
16067
+ if (swiper && !(swiper.destroyed)) {
16068
+ var eventPath = ((_a = event.composedPath) === null || _a === void 0 ? void 0 : _a.call(event)) || event.path;
16069
+ if ((event === null || event === void 0 ? void 0 : event.target) && eventPath) {
16070
+ var slides_1 = Array.from(swiper.slides);
16071
+ var paths = Array.from(eventPath);
16072
+ // Click slide || slide[children]
16073
+ if (slides_1.includes(event.target) || paths.some(function (item) { return slides_1.includes(item); })) {
16074
+ var clickedIndex = swiper.clickedIndex;
16075
+ var reallyIndex = Number((_c = (_b = swiper.clickedSlide) === null || _b === void 0 ? void 0 : _b.dataset) === null || _c === void 0 ? void 0 : _c.swiperSlideIndex);
16076
+ var reallyIndexValue = Number.isInteger(reallyIndex) ? reallyIndex : null;
16077
+ emit(ComponentEvents.ClickSlide, clickedIndex, reallyIndexValue);
16078
+ emit(kebabcase(ComponentEvents.ClickSlide), clickedIndex, reallyIndexValue);
16079
+ }
16080
+ }
16081
+ }
16082
+ };
16083
+ var bindSwiperEvents = function (swiper, emit) {
16084
+ SWIPER_EVENTS.forEach(function (eventName) {
16085
+ swiper.on(eventName, function () {
16086
+ var arguments$1 = arguments;
16087
+
16088
+ var args = [];
16089
+ for (var _i = 0; _i < arguments.length; _i++) {
16090
+ args[_i] = arguments$1[_i];
16091
+ }
16092
+ emit.apply(void 0, __spreadArrays([eventName], args));
16093
+ var kebabcaseName = kebabcase(eventName);
16094
+ if (kebabcaseName !== eventName) {
16095
+ emit.apply(void 0, __spreadArrays([kebabcaseName], args));
16096
+ }
16097
+ });
16098
+ });
16099
+ };/**
16100
+ * @file vue-awesome-swiper
16101
+ * @module directive
16102
+ * @author Surmon <https://github.com/surmon-china>
16103
+ */
16104
+ var INSTANCE_NAME_KEY = 'instanceName';
16105
+ function getDirective(SwiperClass, globalOptions) {
16106
+ var getStandardisedOptionByAttrs = function (vnode, key) {
16107
+ var _a, _b, _c, _d;
16108
+ var value = (_b = (_a = vnode.data) === null || _a === void 0 ? void 0 : _a.attrs) === null || _b === void 0 ? void 0 : _b[key];
16109
+ return value !== undefined
16110
+ ? value
16111
+ : (_d = (_c = vnode.data) === null || _c === void 0 ? void 0 : _c.attrs) === null || _d === void 0 ? void 0 : _d[kebabcase(key)];
16112
+ };
16113
+ // Get swiper instace name in directive
16114
+ var getSwiperInstanceName = function (element, binding, vnode) {
16115
+ return (binding.arg ||
16116
+ getStandardisedOptionByAttrs(vnode, INSTANCE_NAME_KEY) ||
16117
+ element.id ||
16118
+ CoreNames.SwiperInstance);
16119
+ };
16120
+ var getSwiperInstance = function (element, binding, vnode) {
16121
+ var instanceName = getSwiperInstanceName(element, binding, vnode);
16122
+ return vnode.context[instanceName] || null;
16123
+ };
16124
+ var getSwipeOptions = function (binding) {
16125
+ return binding.value || globalOptions;
16126
+ };
16127
+ var getBooleanValueByInput = function (input) {
16128
+ return [true, undefined, null, ''].includes(input);
16129
+ };
16130
+ // Emit event in Vue directive
16131
+ var getEventEmiter = function (vnode) {
16132
+ var _a, _b;
16133
+ var handlers = ((_a = vnode.data) === null || _a === void 0 ? void 0 : _a.on) || ((_b = vnode.componentOptions) === null || _b === void 0 ? void 0 : _b.listeners);
16134
+ return function (name) {
16135
+ var arguments$1 = arguments;
16136
+
16137
+ var args = [];
16138
+ for (var _i = 1; _i < arguments.length; _i++) {
16139
+ args[_i - 1] = arguments$1[_i];
16140
+ }
16141
+ var _a;
16142
+ var handle = (_a = handlers) === null || _a === void 0 ? void 0 : _a[name];
16143
+ if (handle) {
16144
+ handle.fns.apply(handle, args);
16145
+ }
16146
+ };
16147
+ };
16148
+ return {
16149
+ // Init
16150
+ bind: function (element, binding, vnode) {
16151
+ // auto class name
16152
+ if (element.className.indexOf(DEFAULT_CLASSES.containerClass) === -1) {
16153
+ element.className += ((element.className ? ' ' : '') + DEFAULT_CLASSES.containerClass);
16154
+ }
16155
+ // bind click event
16156
+ element.addEventListener('click', function (event) {
16157
+ var emitEvent = getEventEmiter(vnode);
16158
+ var swiper = getSwiperInstance(element, binding, vnode);
16159
+ handleClickSlideEvent(swiper, event, emitEvent);
16160
+ });
16161
+ },
16162
+ // DOM inserted
16163
+ inserted: function (element, binding, vnode) {
16164
+ var context = vnode.context;
16165
+ var swiperOptions = getSwipeOptions(binding);
16166
+ var instanceName = getSwiperInstanceName(element, binding, vnode);
16167
+ var emitEvent = getEventEmiter(vnode);
16168
+ var vueContext = context;
16169
+ var swiper = vueContext === null || vueContext === void 0 ? void 0 : vueContext[instanceName];
16170
+ // Swiper will destroy but not delete instance, when used <keep-alive>
16171
+ if (!swiper || swiper.destroyed) {
16172
+ swiper = new SwiperClass(element, swiperOptions);
16173
+ vueContext[instanceName] = swiper;
16174
+ bindSwiperEvents(swiper, emitEvent);
16175
+ emitEvent(ComponentEvents.Ready, swiper);
16176
+ // MARK: Reinstance when the nexttick with <keep-alive>
16177
+ // Vue.nextTick(instancing) | setTimeout(instancing)
16178
+ }
16179
+ },
16180
+ // On options changed or DOM updated
16181
+ componentUpdated: function (element, binding, vnode) {
16182
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
16183
+ var autoUpdate = getStandardisedOptionByAttrs(vnode, ComponentPropNames.AutoUpdate);
16184
+ if (getBooleanValueByInput(autoUpdate)) {
16185
+ var swiper = getSwiperInstance(element, binding, vnode);
16186
+ if (swiper) {
16187
+ var swiperOptions = getSwipeOptions(binding);
16188
+ var isLoop = swiperOptions.loop;
16189
+ if (isLoop) {
16190
+ (_b = (_a = swiper) === null || _a === void 0 ? void 0 : _a.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(_a);
16191
+ }
16192
+ (_c = swiper === null || swiper === void 0 ? void 0 : swiper.update) === null || _c === void 0 ? void 0 : _c.call(swiper);
16193
+ (_e = (_d = swiper.navigation) === null || _d === void 0 ? void 0 : _d.update) === null || _e === void 0 ? void 0 : _e.call(_d);
16194
+ (_g = (_f = swiper.pagination) === null || _f === void 0 ? void 0 : _f.render) === null || _g === void 0 ? void 0 : _g.call(_f);
16195
+ (_j = (_h = swiper.pagination) === null || _h === void 0 ? void 0 : _h.update) === null || _j === void 0 ? void 0 : _j.call(_h);
16196
+ if (isLoop) {
16197
+ (_l = (_k = swiper) === null || _k === void 0 ? void 0 : _k.loopCreate) === null || _l === void 0 ? void 0 : _l.call(_k);
16198
+ (_m = swiper === null || swiper === void 0 ? void 0 : swiper.update) === null || _m === void 0 ? void 0 : _m.call(swiper);
16199
+ }
16200
+ }
16201
+ }
16202
+ },
16203
+ // Destroy this directive
16204
+ unbind: function (element, binding, vnode) {
16205
+ var _a;
16206
+ var autoDestroy = getStandardisedOptionByAttrs(vnode, ComponentPropNames.AutoDestroy);
16207
+ if (getBooleanValueByInput(autoDestroy)) {
16208
+ var swiper = getSwiperInstance(element, binding, vnode);
16209
+ if (swiper && swiper.initialized) {
16210
+ (_a = swiper === null || swiper === void 0 ? void 0 : swiper.destroy) === null || _a === void 0 ? void 0 : _a.call(swiper, getBooleanValueByInput(getStandardisedOptionByAttrs(vnode, ComponentPropNames.DeleteInstanceOnDestroy)), getBooleanValueByInput(getStandardisedOptionByAttrs(vnode, ComponentPropNames.CleanupStylesOnDestroy)));
16211
+ }
16212
+ }
16213
+ }
16214
+ };
16215
+ }/**
16216
+ * @file vue-awesome-swiper
16217
+ * @module SwiperComponent
16218
+ * @author Surmon <https://github.com/surmon-china>
16219
+ */
16220
+ var SlotNames;
16221
+ (function (SlotNames) {
16222
+ SlotNames["ParallaxBg"] = "parallax-bg";
16223
+ SlotNames["Pagination"] = "pagination";
16224
+ SlotNames["Scrollbar"] = "scrollbar";
16225
+ SlotNames["PrevButton"] = "button-prev";
16226
+ SlotNames["NextButton"] = "button-next";
16227
+ })(SlotNames || (SlotNames = {}));
16228
+ function getSwiperComponent(SwiperClass) {
16229
+ var _a;
16230
+ return Vue.extend({
16231
+ name: CoreNames.SwiperComponent,
16232
+ props: (_a = {
16233
+ defaultOptions: {
16234
+ type: Object,
16235
+ required: false,
16236
+ default: function () { return ({}); }
16237
+ },
16238
+ // eslint-disable-next-line vue/require-default-prop
16239
+ options: {
16240
+ type: Object,
16241
+ required: false
16242
+ }
16243
+ },
16244
+ _a[ComponentPropNames.AutoUpdate] = {
16245
+ type: Boolean,
16246
+ default: true
16247
+ },
16248
+ // https://github.com/surmon-china/vue-awesome-swiper/pull/550/files
16249
+ _a[ComponentPropNames.AutoDestroy] = {
16250
+ type: Boolean,
16251
+ default: true
16252
+ },
16253
+ // https://github.com/surmon-china/vue-awesome-swiper/pull/388
16254
+ _a[ComponentPropNames.DeleteInstanceOnDestroy] = {
16255
+ type: Boolean,
16256
+ required: false,
16257
+ default: true
16258
+ },
16259
+ _a[ComponentPropNames.CleanupStylesOnDestroy] = {
16260
+ type: Boolean,
16261
+ required: false,
16262
+ default: true
16263
+ },
16264
+ _a),
16265
+ data: function () {
16266
+ var _a;
16267
+ return _a = {},
16268
+ _a[CoreNames.SwiperInstance] = null,
16269
+ _a;
16270
+ },
16271
+ computed: {
16272
+ swiperInstance: {
16273
+ cache: false,
16274
+ set: function (swiper) {
16275
+ this[CoreNames.SwiperInstance] = swiper;
16276
+ },
16277
+ get: function () {
16278
+ return this[CoreNames.SwiperInstance];
16279
+ }
16280
+ },
16281
+ swiperOptions: function () {
16282
+ return this.options || this.defaultOptions;
16283
+ },
16284
+ wrapperClass: function () {
16285
+ return this.swiperOptions.wrapperClass || DEFAULT_CLASSES.wrapperClass;
16286
+ }
16287
+ },
16288
+ methods: {
16289
+ // Feature: click event
16290
+ handleSwiperClick: function (event) {
16291
+ handleClickSlideEvent(this.swiperInstance, event, this.$emit.bind(this));
16292
+ },
16293
+ autoReLoopSwiper: function () {
16294
+ var _a, _b;
16295
+ if (this.swiperInstance && this.swiperOptions.loop) {
16296
+ // https://github.com/surmon-china/vue-awesome-swiper/issues/593
16297
+ // https://github.com/surmon-china/vue-awesome-swiper/issues/544
16298
+ // https://github.com/surmon-china/vue-awesome-swiper/pull/545/files
16299
+ var swiper = this.swiperInstance;
16300
+ (_a = swiper === null || swiper === void 0 ? void 0 : swiper.loopDestroy) === null || _a === void 0 ? void 0 : _a.call(swiper);
16301
+ (_b = swiper === null || swiper === void 0 ? void 0 : swiper.loopCreate) === null || _b === void 0 ? void 0 : _b.call(swiper);
16302
+ }
16303
+ },
16304
+ updateSwiper: function () {
16305
+ var _a, _b, _c, _d, _e, _f, _g, _h;
16306
+ if (this[ComponentPropNames.AutoUpdate] && this.swiperInstance) {
16307
+ this.autoReLoopSwiper();
16308
+ (_b = (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.update) === null || _b === void 0 ? void 0 : _b.call(_a);
16309
+ (_d = (_c = this.swiperInstance.navigation) === null || _c === void 0 ? void 0 : _c.update) === null || _d === void 0 ? void 0 : _d.call(_c);
16310
+ (_f = (_e = this.swiperInstance.pagination) === null || _e === void 0 ? void 0 : _e.render) === null || _f === void 0 ? void 0 : _f.call(_e);
16311
+ (_h = (_g = this.swiperInstance.pagination) === null || _g === void 0 ? void 0 : _g.update) === null || _h === void 0 ? void 0 : _h.call(_g);
16312
+ }
16313
+ },
16314
+ destroySwiper: function () {
16315
+ var _a, _b;
16316
+ if (this[ComponentPropNames.AutoDestroy] && this.swiperInstance) {
16317
+ // https://github.com/surmon-china/vue-awesome-swiper/pull/341
16318
+ // https://github.com/surmon-china/vue-awesome-swiper/issues/340
16319
+ if (this.swiperInstance.initialized) {
16320
+ (_b = (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a, this[ComponentPropNames.DeleteInstanceOnDestroy], this[ComponentPropNames.CleanupStylesOnDestroy]);
16321
+ }
16322
+ }
16323
+ },
16324
+ initSwiper: function () {
16325
+ this.swiperInstance = new SwiperClass(this.$el, this.swiperOptions);
16326
+ bindSwiperEvents(this.swiperInstance, this.$emit.bind(this));
16327
+ this.$emit(ComponentEvents.Ready, this.swiperInstance);
16328
+ }
16329
+ },
16330
+ mounted: function () {
16331
+ if (!this.swiperInstance) {
16332
+ this.initSwiper();
16333
+ }
16334
+ },
16335
+ // Update swiper when the parent component activated with `keep-alive`.
16336
+ activated: function () {
16337
+ this.updateSwiper();
16338
+ },
16339
+ updated: function () {
16340
+ this.updateSwiper();
16341
+ },
16342
+ beforeDestroy: function () {
16343
+ // https://github.com/surmon-china/vue-awesome-swiper/commit/2924a9d4d3d1cf51c0d46076410b1f804b2b8a43#diff-7f4e0261ac562c0f354cb91a1ca8864f
16344
+ this.$nextTick(this.destroySwiper);
16345
+ },
16346
+ render: function (createElement) {
16347
+ return createElement('div', {
16348
+ staticClass: DEFAULT_CLASSES.containerClass,
16349
+ on: {
16350
+ click: this.handleSwiperClick
16351
+ }
16352
+ }, [
16353
+ this.$slots[SlotNames.ParallaxBg],
16354
+ createElement('div', {
16355
+ class: this.wrapperClass
16356
+ }, this.$slots.default),
16357
+ this.$slots[SlotNames.Pagination],
16358
+ this.$slots[SlotNames.PrevButton],
16359
+ this.$slots[SlotNames.NextButton],
16360
+ this.$slots[SlotNames.Scrollbar]
16361
+ ]);
16362
+ }
16363
+ });
16364
+ }/**
16365
+ * @file vue-awesome-swiper
16366
+ * @module SwiperSlideComponent
16367
+ * @author Surmon <https://github.com/surmon-china>
16368
+ */
16369
+ var SwiperSlideComponent = Vue.extend({
16370
+ name: CoreNames.SwiperSlideComponent,
16371
+ computed: {
16372
+ slideClass: function () {
16373
+ var _a, _b;
16374
+ return ((_b = (_a = this.$parent) === null || _a === void 0 ? void 0 : _a.swiperOptions) === null || _b === void 0 ? void 0 : _b.slideClass) || DEFAULT_CLASSES.slideClass;
16375
+ }
16376
+ },
16377
+ methods: {
16378
+ update: function () {
16379
+ var _a;
16380
+ var parent = this.$parent;
16381
+ // https://github.com/surmon-china/vue-awesome-swiper/issues/632
16382
+ if (parent[ComponentPropNames.AutoUpdate]) {
16383
+ (_a = parent === null || parent === void 0 ? void 0 : parent.swiperInstance) === null || _a === void 0 ? void 0 : _a.update();
16384
+ }
16385
+ }
16386
+ },
16387
+ mounted: function () {
16388
+ this.update();
16389
+ },
16390
+ updated: function () {
16391
+ this.update();
16392
+ },
16393
+ render: function (createElement) {
16394
+ return createElement('div', {
16395
+ class: this.slideClass
16396
+ }, this.$slots.default);
16397
+ }
16398
+ });/**
16399
+ * @file vue-awesome-swiper
16400
+ * @module exporter
16401
+ * @author Surmon <https://github.com/surmon-china>
16402
+ */
16403
+ var getInstaller = function (SwiperClass) {
16404
+ var install = function (Vue, globalOptions) {
16405
+ if (install.installed)
16406
+ { return; }
16407
+ var SwiperComponent = getSwiperComponent(SwiperClass);
16408
+ if (globalOptions) {
16409
+ SwiperComponent.options.props.defaultOptions.default = function () { return globalOptions; };
16410
+ }
16411
+ Vue.component(CoreNames.SwiperComponent, SwiperComponent);
16412
+ Vue.component(CoreNames.SwiperSlideComponent, SwiperSlideComponent);
16413
+ Vue.directive(CoreNames.SwiperDirective, getDirective(SwiperClass, globalOptions));
16414
+ install.installed = true;
16415
+ };
16416
+ return install;
16417
+ };
16418
+ function exporter(SwiperClass) {
16419
+ var _a;
16420
+ return _a = {
16421
+ version: '4.1.1',
16422
+ install: getInstaller(SwiperClass),
16423
+ directive: getDirective(SwiperClass)
16424
+ },
16425
+ _a[CoreNames.SwiperComponent] = getSwiperComponent(SwiperClass),
16426
+ _a[CoreNames.SwiperSlideComponent] = SwiperSlideComponent,
16427
+ _a;
16428
+ }/**
16429
+ * @file vue-awesome-swiper
16430
+ * @module default-export
16431
+ * @author Surmon <https://github.com/surmon-china>
16432
+ */
16433
+ var VueAwesomeSwiper = exporter(SwiperClass);
16434
+ var version = VueAwesomeSwiper.version;
16435
+ var install = VueAwesomeSwiper.install;
16436
+ var directive = VueAwesomeSwiper.directive;
16437
+ var Swiper = VueAwesomeSwiper.Swiper;
16438
+ var SwiperSlide = VueAwesomeSwiper.SwiperSlide;exports.Swiper=Swiper;exports.SwiperSlide=SwiperSlide;exports.default=VueAwesomeSwiper;exports.directive=directive;exports.install=install;exports.version=version;Object.defineProperty(exports,'__esModule',{value:true});})));
16439
+
16437
16440
  /***/ }),
16438
16441
 
16439
16442
  /***/ "ef27":