cleek 2.4.52 → 2.4.55

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/dist/cleek.es.js CHANGED
@@ -29,7 +29,897 @@ var __objRest = (source2, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, onMounted, getCurrentInstance, unref as unref$1, createTextVNode, watch, onBeforeUnmount, withDirectives, isRef as isRef$1, vModelDynamic, renderList, vModelText, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, Teleport } from "vue";
32
+ import { watch, reactive, pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, onMounted, getCurrentInstance, unref as unref$1, createTextVNode, onBeforeUnmount, withDirectives, isRef as isRef$1, vModelDynamic, renderList, vModelText, withModifiers, Teleport, vModelRadio, vModelSelect, vModelCheckbox } from "vue";
33
+ function getDevtoolsGlobalHook() {
34
+ return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
35
+ }
36
+ function getTarget() {
37
+ return typeof navigator !== "undefined" && typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {};
38
+ }
39
+ const isProxyAvailable = typeof Proxy === "function";
40
+ const HOOK_SETUP = "devtools-plugin:setup";
41
+ const HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set";
42
+ class ApiProxy {
43
+ constructor(plugin2, hook) {
44
+ this.target = null;
45
+ this.targetQueue = [];
46
+ this.onQueue = [];
47
+ this.plugin = plugin2;
48
+ this.hook = hook;
49
+ const defaultSettings = {};
50
+ if (plugin2.settings) {
51
+ for (const id in plugin2.settings) {
52
+ const item = plugin2.settings[id];
53
+ defaultSettings[id] = item.defaultValue;
54
+ }
55
+ }
56
+ const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin2.id}`;
57
+ let currentSettings = Object.assign({}, defaultSettings);
58
+ try {
59
+ const raw = localStorage.getItem(localSettingsSaveId);
60
+ const data2 = JSON.parse(raw);
61
+ Object.assign(currentSettings, data2);
62
+ } catch (e) {
63
+ }
64
+ this.fallbacks = {
65
+ getSettings() {
66
+ return currentSettings;
67
+ },
68
+ setSettings(value) {
69
+ try {
70
+ localStorage.setItem(localSettingsSaveId, JSON.stringify(value));
71
+ } catch (e) {
72
+ }
73
+ currentSettings = value;
74
+ }
75
+ };
76
+ if (hook) {
77
+ hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
78
+ if (pluginId === this.plugin.id) {
79
+ this.fallbacks.setSettings(value);
80
+ }
81
+ });
82
+ }
83
+ this.proxiedOn = new Proxy({}, {
84
+ get: (_target, prop) => {
85
+ if (this.target) {
86
+ return this.target.on[prop];
87
+ } else {
88
+ return (...args) => {
89
+ this.onQueue.push({
90
+ method: prop,
91
+ args
92
+ });
93
+ };
94
+ }
95
+ }
96
+ });
97
+ this.proxiedTarget = new Proxy({}, {
98
+ get: (_target, prop) => {
99
+ if (this.target) {
100
+ return this.target[prop];
101
+ } else if (prop === "on") {
102
+ return this.proxiedOn;
103
+ } else if (Object.keys(this.fallbacks).includes(prop)) {
104
+ return (...args) => {
105
+ this.targetQueue.push({
106
+ method: prop,
107
+ args,
108
+ resolve: () => {
109
+ }
110
+ });
111
+ return this.fallbacks[prop](...args);
112
+ };
113
+ } else {
114
+ return (...args) => {
115
+ return new Promise((resolve) => {
116
+ this.targetQueue.push({
117
+ method: prop,
118
+ args,
119
+ resolve
120
+ });
121
+ });
122
+ };
123
+ }
124
+ }
125
+ });
126
+ }
127
+ async setRealTarget(target) {
128
+ this.target = target;
129
+ for (const item of this.onQueue) {
130
+ this.target.on[item.method](...item.args);
131
+ }
132
+ for (const item of this.targetQueue) {
133
+ item.resolve(await this.target[item.method](...item.args));
134
+ }
135
+ }
136
+ }
137
+ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
138
+ const descriptor = pluginDescriptor;
139
+ const target = getTarget();
140
+ const hook = getDevtoolsGlobalHook();
141
+ const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;
142
+ if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
143
+ hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);
144
+ } else {
145
+ const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;
146
+ const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
147
+ list.push({
148
+ pluginDescriptor: descriptor,
149
+ setupFn,
150
+ proxy
151
+ });
152
+ if (proxy)
153
+ setupFn(proxy.proxiedTarget);
154
+ }
155
+ }
156
+ /*!
157
+ * vuex v4.0.2
158
+ * (c) 2021 Evan You
159
+ * @license MIT
160
+ */
161
+ var storeKey = "store";
162
+ function forEachValue(obj, fn) {
163
+ Object.keys(obj).forEach(function(key) {
164
+ return fn(obj[key], key);
165
+ });
166
+ }
167
+ function isObject$2(obj) {
168
+ return obj !== null && typeof obj === "object";
169
+ }
170
+ function isPromise$1(val) {
171
+ return val && typeof val.then === "function";
172
+ }
173
+ function partial(fn, arg) {
174
+ return function() {
175
+ return fn(arg);
176
+ };
177
+ }
178
+ function genericSubscribe(fn, subs, options) {
179
+ if (subs.indexOf(fn) < 0) {
180
+ options && options.prepend ? subs.unshift(fn) : subs.push(fn);
181
+ }
182
+ return function() {
183
+ var i = subs.indexOf(fn);
184
+ if (i > -1) {
185
+ subs.splice(i, 1);
186
+ }
187
+ };
188
+ }
189
+ function resetStore(store, hot) {
190
+ store._actions = Object.create(null);
191
+ store._mutations = Object.create(null);
192
+ store._wrappedGetters = Object.create(null);
193
+ store._modulesNamespaceMap = Object.create(null);
194
+ var state = store.state;
195
+ installModule(store, state, [], store._modules.root, true);
196
+ resetStoreState(store, state, hot);
197
+ }
198
+ function resetStoreState(store, state, hot) {
199
+ var oldState = store._state;
200
+ store.getters = {};
201
+ store._makeLocalGettersCache = Object.create(null);
202
+ var wrappedGetters = store._wrappedGetters;
203
+ var computedObj = {};
204
+ forEachValue(wrappedGetters, function(fn, key) {
205
+ computedObj[key] = partial(fn, store);
206
+ Object.defineProperty(store.getters, key, {
207
+ get: function() {
208
+ return computedObj[key]();
209
+ },
210
+ enumerable: true
211
+ });
212
+ });
213
+ store._state = reactive({
214
+ data: state
215
+ });
216
+ if (store.strict) {
217
+ enableStrictMode(store);
218
+ }
219
+ if (oldState) {
220
+ if (hot) {
221
+ store._withCommit(function() {
222
+ oldState.data = null;
223
+ });
224
+ }
225
+ }
226
+ }
227
+ function installModule(store, rootState, path, module, hot) {
228
+ var isRoot = !path.length;
229
+ var namespace2 = store._modules.getNamespace(path);
230
+ if (module.namespaced) {
231
+ if (store._modulesNamespaceMap[namespace2] && false) {
232
+ console.error("[vuex] duplicate namespace " + namespace2 + " for the namespaced module " + path.join("/"));
233
+ }
234
+ store._modulesNamespaceMap[namespace2] = module;
235
+ }
236
+ if (!isRoot && !hot) {
237
+ var parentState = getNestedState(rootState, path.slice(0, -1));
238
+ var moduleName = path[path.length - 1];
239
+ store._withCommit(function() {
240
+ parentState[moduleName] = module.state;
241
+ });
242
+ }
243
+ var local = module.context = makeLocalContext(store, namespace2, path);
244
+ module.forEachMutation(function(mutation, key) {
245
+ var namespacedType = namespace2 + key;
246
+ registerMutation(store, namespacedType, mutation, local);
247
+ });
248
+ module.forEachAction(function(action, key) {
249
+ var type = action.root ? key : namespace2 + key;
250
+ var handler = action.handler || action;
251
+ registerAction(store, type, handler, local);
252
+ });
253
+ module.forEachGetter(function(getter, key) {
254
+ var namespacedType = namespace2 + key;
255
+ registerGetter(store, namespacedType, getter, local);
256
+ });
257
+ module.forEachChild(function(child, key) {
258
+ installModule(store, rootState, path.concat(key), child, hot);
259
+ });
260
+ }
261
+ function makeLocalContext(store, namespace2, path) {
262
+ var noNamespace = namespace2 === "";
263
+ var local = {
264
+ dispatch: noNamespace ? store.dispatch : function(_type, _payload, _options) {
265
+ var args = unifyObjectStyle(_type, _payload, _options);
266
+ var payload = args.payload;
267
+ var options = args.options;
268
+ var type = args.type;
269
+ if (!options || !options.root) {
270
+ type = namespace2 + type;
271
+ }
272
+ return store.dispatch(type, payload);
273
+ },
274
+ commit: noNamespace ? store.commit : function(_type, _payload, _options) {
275
+ var args = unifyObjectStyle(_type, _payload, _options);
276
+ var payload = args.payload;
277
+ var options = args.options;
278
+ var type = args.type;
279
+ if (!options || !options.root) {
280
+ type = namespace2 + type;
281
+ }
282
+ store.commit(type, payload, options);
283
+ }
284
+ };
285
+ Object.defineProperties(local, {
286
+ getters: {
287
+ get: noNamespace ? function() {
288
+ return store.getters;
289
+ } : function() {
290
+ return makeLocalGetters(store, namespace2);
291
+ }
292
+ },
293
+ state: {
294
+ get: function() {
295
+ return getNestedState(store.state, path);
296
+ }
297
+ }
298
+ });
299
+ return local;
300
+ }
301
+ function makeLocalGetters(store, namespace2) {
302
+ if (!store._makeLocalGettersCache[namespace2]) {
303
+ var gettersProxy = {};
304
+ var splitPos = namespace2.length;
305
+ Object.keys(store.getters).forEach(function(type) {
306
+ if (type.slice(0, splitPos) !== namespace2) {
307
+ return;
308
+ }
309
+ var localType = type.slice(splitPos);
310
+ Object.defineProperty(gettersProxy, localType, {
311
+ get: function() {
312
+ return store.getters[type];
313
+ },
314
+ enumerable: true
315
+ });
316
+ });
317
+ store._makeLocalGettersCache[namespace2] = gettersProxy;
318
+ }
319
+ return store._makeLocalGettersCache[namespace2];
320
+ }
321
+ function registerMutation(store, type, handler, local) {
322
+ var entry = store._mutations[type] || (store._mutations[type] = []);
323
+ entry.push(function wrappedMutationHandler(payload) {
324
+ handler.call(store, local.state, payload);
325
+ });
326
+ }
327
+ function registerAction(store, type, handler, local) {
328
+ var entry = store._actions[type] || (store._actions[type] = []);
329
+ entry.push(function wrappedActionHandler(payload) {
330
+ var res = handler.call(store, {
331
+ dispatch: local.dispatch,
332
+ commit: local.commit,
333
+ getters: local.getters,
334
+ state: local.state,
335
+ rootGetters: store.getters,
336
+ rootState: store.state
337
+ }, payload);
338
+ if (!isPromise$1(res)) {
339
+ res = Promise.resolve(res);
340
+ }
341
+ if (store._devtoolHook) {
342
+ return res.catch(function(err) {
343
+ store._devtoolHook.emit("vuex:error", err);
344
+ throw err;
345
+ });
346
+ } else {
347
+ return res;
348
+ }
349
+ });
350
+ }
351
+ function registerGetter(store, type, rawGetter, local) {
352
+ if (store._wrappedGetters[type]) {
353
+ return;
354
+ }
355
+ store._wrappedGetters[type] = function wrappedGetter(store2) {
356
+ return rawGetter(local.state, local.getters, store2.state, store2.getters);
357
+ };
358
+ }
359
+ function enableStrictMode(store) {
360
+ watch(function() {
361
+ return store._state.data;
362
+ }, function() {
363
+ }, { deep: true, flush: "sync" });
364
+ }
365
+ function getNestedState(state, path) {
366
+ return path.reduce(function(state2, key) {
367
+ return state2[key];
368
+ }, state);
369
+ }
370
+ function unifyObjectStyle(type, payload, options) {
371
+ if (isObject$2(type) && type.type) {
372
+ options = payload;
373
+ payload = type;
374
+ type = type.type;
375
+ }
376
+ return { type, payload, options };
377
+ }
378
+ var LABEL_VUEX_BINDINGS = "vuex bindings";
379
+ var MUTATIONS_LAYER_ID = "vuex:mutations";
380
+ var ACTIONS_LAYER_ID = "vuex:actions";
381
+ var INSPECTOR_ID = "vuex";
382
+ var actionId = 0;
383
+ function addDevtools(app, store) {
384
+ setupDevtoolsPlugin({
385
+ id: "org.vuejs.vuex",
386
+ app,
387
+ label: "Vuex",
388
+ homepage: "https://next.vuex.vuejs.org/",
389
+ logo: "https://vuejs.org/images/icons/favicon-96x96.png",
390
+ packageName: "vuex",
391
+ componentStateTypes: [LABEL_VUEX_BINDINGS]
392
+ }, function(api2) {
393
+ api2.addTimelineLayer({
394
+ id: MUTATIONS_LAYER_ID,
395
+ label: "Vuex Mutations",
396
+ color: COLOR_LIME_500
397
+ });
398
+ api2.addTimelineLayer({
399
+ id: ACTIONS_LAYER_ID,
400
+ label: "Vuex Actions",
401
+ color: COLOR_LIME_500
402
+ });
403
+ api2.addInspector({
404
+ id: INSPECTOR_ID,
405
+ label: "Vuex",
406
+ icon: "storage",
407
+ treeFilterPlaceholder: "Filter stores..."
408
+ });
409
+ api2.on.getInspectorTree(function(payload) {
410
+ if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
411
+ if (payload.filter) {
412
+ var nodes = [];
413
+ flattenStoreForInspectorTree(nodes, store._modules.root, payload.filter, "");
414
+ payload.rootNodes = nodes;
415
+ } else {
416
+ payload.rootNodes = [
417
+ formatStoreForInspectorTree(store._modules.root, "")
418
+ ];
419
+ }
420
+ }
421
+ });
422
+ api2.on.getInspectorState(function(payload) {
423
+ if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
424
+ var modulePath = payload.nodeId;
425
+ makeLocalGetters(store, modulePath);
426
+ payload.state = formatStoreForInspectorState(getStoreModule(store._modules, modulePath), modulePath === "root" ? store.getters : store._makeLocalGettersCache, modulePath);
427
+ }
428
+ });
429
+ api2.on.editInspectorState(function(payload) {
430
+ if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
431
+ var modulePath = payload.nodeId;
432
+ var path = payload.path;
433
+ if (modulePath !== "root") {
434
+ path = modulePath.split("/").filter(Boolean).concat(path);
435
+ }
436
+ store._withCommit(function() {
437
+ payload.set(store._state.data, path, payload.state.value);
438
+ });
439
+ }
440
+ });
441
+ store.subscribe(function(mutation, state) {
442
+ var data2 = {};
443
+ if (mutation.payload) {
444
+ data2.payload = mutation.payload;
445
+ }
446
+ data2.state = state;
447
+ api2.notifyComponentUpdate();
448
+ api2.sendInspectorTree(INSPECTOR_ID);
449
+ api2.sendInspectorState(INSPECTOR_ID);
450
+ api2.addTimelineEvent({
451
+ layerId: MUTATIONS_LAYER_ID,
452
+ event: {
453
+ time: Date.now(),
454
+ title: mutation.type,
455
+ data: data2
456
+ }
457
+ });
458
+ });
459
+ store.subscribeAction({
460
+ before: function(action, state) {
461
+ var data2 = {};
462
+ if (action.payload) {
463
+ data2.payload = action.payload;
464
+ }
465
+ action._id = actionId++;
466
+ action._time = Date.now();
467
+ data2.state = state;
468
+ api2.addTimelineEvent({
469
+ layerId: ACTIONS_LAYER_ID,
470
+ event: {
471
+ time: action._time,
472
+ title: action.type,
473
+ groupId: action._id,
474
+ subtitle: "start",
475
+ data: data2
476
+ }
477
+ });
478
+ },
479
+ after: function(action, state) {
480
+ var data2 = {};
481
+ var duration = Date.now() - action._time;
482
+ data2.duration = {
483
+ _custom: {
484
+ type: "duration",
485
+ display: duration + "ms",
486
+ tooltip: "Action duration",
487
+ value: duration
488
+ }
489
+ };
490
+ if (action.payload) {
491
+ data2.payload = action.payload;
492
+ }
493
+ data2.state = state;
494
+ api2.addTimelineEvent({
495
+ layerId: ACTIONS_LAYER_ID,
496
+ event: {
497
+ time: Date.now(),
498
+ title: action.type,
499
+ groupId: action._id,
500
+ subtitle: "end",
501
+ data: data2
502
+ }
503
+ });
504
+ }
505
+ });
506
+ });
507
+ }
508
+ var COLOR_LIME_500 = 8702998;
509
+ var COLOR_DARK = 6710886;
510
+ var COLOR_WHITE = 16777215;
511
+ var TAG_NAMESPACED = {
512
+ label: "namespaced",
513
+ textColor: COLOR_WHITE,
514
+ backgroundColor: COLOR_DARK
515
+ };
516
+ function extractNameFromPath(path) {
517
+ return path && path !== "root" ? path.split("/").slice(-2, -1)[0] : "Root";
518
+ }
519
+ function formatStoreForInspectorTree(module, path) {
520
+ return {
521
+ id: path || "root",
522
+ label: extractNameFromPath(path),
523
+ tags: module.namespaced ? [TAG_NAMESPACED] : [],
524
+ children: Object.keys(module._children).map(function(moduleName) {
525
+ return formatStoreForInspectorTree(module._children[moduleName], path + moduleName + "/");
526
+ })
527
+ };
528
+ }
529
+ function flattenStoreForInspectorTree(result, module, filter, path) {
530
+ if (path.includes(filter)) {
531
+ result.push({
532
+ id: path || "root",
533
+ label: path.endsWith("/") ? path.slice(0, path.length - 1) : path || "Root",
534
+ tags: module.namespaced ? [TAG_NAMESPACED] : []
535
+ });
536
+ }
537
+ Object.keys(module._children).forEach(function(moduleName) {
538
+ flattenStoreForInspectorTree(result, module._children[moduleName], filter, path + moduleName + "/");
539
+ });
540
+ }
541
+ function formatStoreForInspectorState(module, getters, path) {
542
+ getters = path === "root" ? getters : getters[path];
543
+ var gettersKeys = Object.keys(getters);
544
+ var storeState = {
545
+ state: Object.keys(module.state).map(function(key) {
546
+ return {
547
+ key,
548
+ editable: true,
549
+ value: module.state[key]
550
+ };
551
+ })
552
+ };
553
+ if (gettersKeys.length) {
554
+ var tree = transformPathsToObjectTree(getters);
555
+ storeState.getters = Object.keys(tree).map(function(key) {
556
+ return {
557
+ key: key.endsWith("/") ? extractNameFromPath(key) : key,
558
+ editable: false,
559
+ value: canThrow(function() {
560
+ return tree[key];
561
+ })
562
+ };
563
+ });
564
+ }
565
+ return storeState;
566
+ }
567
+ function transformPathsToObjectTree(getters) {
568
+ var result = {};
569
+ Object.keys(getters).forEach(function(key) {
570
+ var path = key.split("/");
571
+ if (path.length > 1) {
572
+ var target = result;
573
+ var leafKey = path.pop();
574
+ path.forEach(function(p2) {
575
+ if (!target[p2]) {
576
+ target[p2] = {
577
+ _custom: {
578
+ value: {},
579
+ display: p2,
580
+ tooltip: "Module",
581
+ abstract: true
582
+ }
583
+ };
584
+ }
585
+ target = target[p2]._custom.value;
586
+ });
587
+ target[leafKey] = canThrow(function() {
588
+ return getters[key];
589
+ });
590
+ } else {
591
+ result[key] = canThrow(function() {
592
+ return getters[key];
593
+ });
594
+ }
595
+ });
596
+ return result;
597
+ }
598
+ function getStoreModule(moduleMap, path) {
599
+ var names = path.split("/").filter(function(n) {
600
+ return n;
601
+ });
602
+ return names.reduce(function(module, moduleName, i) {
603
+ var child = module[moduleName];
604
+ if (!child) {
605
+ throw new Error('Missing module "' + moduleName + '" for path "' + path + '".');
606
+ }
607
+ return i === names.length - 1 ? child : child._children;
608
+ }, path === "root" ? moduleMap : moduleMap.root._children);
609
+ }
610
+ function canThrow(cb) {
611
+ try {
612
+ return cb();
613
+ } catch (e) {
614
+ return e;
615
+ }
616
+ }
617
+ var Module = function Module2(rawModule, runtime) {
618
+ this.runtime = runtime;
619
+ this._children = Object.create(null);
620
+ this._rawModule = rawModule;
621
+ var rawState = rawModule.state;
622
+ this.state = (typeof rawState === "function" ? rawState() : rawState) || {};
623
+ };
624
+ var prototypeAccessors$1 = { namespaced: { configurable: true } };
625
+ prototypeAccessors$1.namespaced.get = function() {
626
+ return !!this._rawModule.namespaced;
627
+ };
628
+ Module.prototype.addChild = function addChild(key, module) {
629
+ this._children[key] = module;
630
+ };
631
+ Module.prototype.removeChild = function removeChild(key) {
632
+ delete this._children[key];
633
+ };
634
+ Module.prototype.getChild = function getChild(key) {
635
+ return this._children[key];
636
+ };
637
+ Module.prototype.hasChild = function hasChild(key) {
638
+ return key in this._children;
639
+ };
640
+ Module.prototype.update = function update(rawModule) {
641
+ this._rawModule.namespaced = rawModule.namespaced;
642
+ if (rawModule.actions) {
643
+ this._rawModule.actions = rawModule.actions;
644
+ }
645
+ if (rawModule.mutations) {
646
+ this._rawModule.mutations = rawModule.mutations;
647
+ }
648
+ if (rawModule.getters) {
649
+ this._rawModule.getters = rawModule.getters;
650
+ }
651
+ };
652
+ Module.prototype.forEachChild = function forEachChild(fn) {
653
+ forEachValue(this._children, fn);
654
+ };
655
+ Module.prototype.forEachGetter = function forEachGetter(fn) {
656
+ if (this._rawModule.getters) {
657
+ forEachValue(this._rawModule.getters, fn);
658
+ }
659
+ };
660
+ Module.prototype.forEachAction = function forEachAction(fn) {
661
+ if (this._rawModule.actions) {
662
+ forEachValue(this._rawModule.actions, fn);
663
+ }
664
+ };
665
+ Module.prototype.forEachMutation = function forEachMutation(fn) {
666
+ if (this._rawModule.mutations) {
667
+ forEachValue(this._rawModule.mutations, fn);
668
+ }
669
+ };
670
+ Object.defineProperties(Module.prototype, prototypeAccessors$1);
671
+ var ModuleCollection = function ModuleCollection2(rawRootModule) {
672
+ this.register([], rawRootModule, false);
673
+ };
674
+ ModuleCollection.prototype.get = function get(path) {
675
+ return path.reduce(function(module, key) {
676
+ return module.getChild(key);
677
+ }, this.root);
678
+ };
679
+ ModuleCollection.prototype.getNamespace = function getNamespace(path) {
680
+ var module = this.root;
681
+ return path.reduce(function(namespace2, key) {
682
+ module = module.getChild(key);
683
+ return namespace2 + (module.namespaced ? key + "/" : "");
684
+ }, "");
685
+ };
686
+ ModuleCollection.prototype.update = function update$1(rawRootModule) {
687
+ update2([], this.root, rawRootModule);
688
+ };
689
+ ModuleCollection.prototype.register = function register(path, rawModule, runtime) {
690
+ var this$1$1 = this;
691
+ if (runtime === void 0)
692
+ runtime = true;
693
+ var newModule = new Module(rawModule, runtime);
694
+ if (path.length === 0) {
695
+ this.root = newModule;
696
+ } else {
697
+ var parent = this.get(path.slice(0, -1));
698
+ parent.addChild(path[path.length - 1], newModule);
699
+ }
700
+ if (rawModule.modules) {
701
+ forEachValue(rawModule.modules, function(rawChildModule, key) {
702
+ this$1$1.register(path.concat(key), rawChildModule, runtime);
703
+ });
704
+ }
705
+ };
706
+ ModuleCollection.prototype.unregister = function unregister(path) {
707
+ var parent = this.get(path.slice(0, -1));
708
+ var key = path[path.length - 1];
709
+ var child = parent.getChild(key);
710
+ if (!child) {
711
+ return;
712
+ }
713
+ if (!child.runtime) {
714
+ return;
715
+ }
716
+ parent.removeChild(key);
717
+ };
718
+ ModuleCollection.prototype.isRegistered = function isRegistered(path) {
719
+ var parent = this.get(path.slice(0, -1));
720
+ var key = path[path.length - 1];
721
+ if (parent) {
722
+ return parent.hasChild(key);
723
+ }
724
+ return false;
725
+ };
726
+ function update2(path, targetModule, newModule) {
727
+ targetModule.update(newModule);
728
+ if (newModule.modules) {
729
+ for (var key in newModule.modules) {
730
+ if (!targetModule.getChild(key)) {
731
+ return;
732
+ }
733
+ update2(path.concat(key), targetModule.getChild(key), newModule.modules[key]);
734
+ }
735
+ }
736
+ }
737
+ function createStore(options) {
738
+ return new Store(options);
739
+ }
740
+ var Store = function Store2(options) {
741
+ var this$1$1 = this;
742
+ if (options === void 0)
743
+ options = {};
744
+ var plugins2 = options.plugins;
745
+ if (plugins2 === void 0)
746
+ plugins2 = [];
747
+ var strict = options.strict;
748
+ if (strict === void 0)
749
+ strict = false;
750
+ var devtools = options.devtools;
751
+ this._committing = false;
752
+ this._actions = Object.create(null);
753
+ this._actionSubscribers = [];
754
+ this._mutations = Object.create(null);
755
+ this._wrappedGetters = Object.create(null);
756
+ this._modules = new ModuleCollection(options);
757
+ this._modulesNamespaceMap = Object.create(null);
758
+ this._subscribers = [];
759
+ this._makeLocalGettersCache = Object.create(null);
760
+ this._devtools = devtools;
761
+ var store = this;
762
+ var ref2 = this;
763
+ var dispatch2 = ref2.dispatch;
764
+ var commit2 = ref2.commit;
765
+ this.dispatch = function boundDispatch(type, payload) {
766
+ return dispatch2.call(store, type, payload);
767
+ };
768
+ this.commit = function boundCommit(type, payload, options2) {
769
+ return commit2.call(store, type, payload, options2);
770
+ };
771
+ this.strict = strict;
772
+ var state = this._modules.root.state;
773
+ installModule(this, state, [], this._modules.root);
774
+ resetStoreState(this, state);
775
+ plugins2.forEach(function(plugin2) {
776
+ return plugin2(this$1$1);
777
+ });
778
+ };
779
+ var prototypeAccessors = { state: { configurable: true } };
780
+ Store.prototype.install = function install(app, injectKey) {
781
+ app.provide(injectKey || storeKey, this);
782
+ app.config.globalProperties.$store = this;
783
+ var useDevtools = this._devtools !== void 0 ? this._devtools : false;
784
+ if (useDevtools) {
785
+ addDevtools(app, this);
786
+ }
787
+ };
788
+ prototypeAccessors.state.get = function() {
789
+ return this._state.data;
790
+ };
791
+ prototypeAccessors.state.set = function(v) {
792
+ };
793
+ Store.prototype.commit = function commit(_type, _payload, _options) {
794
+ var this$1$1 = this;
795
+ var ref2 = unifyObjectStyle(_type, _payload, _options);
796
+ var type = ref2.type;
797
+ var payload = ref2.payload;
798
+ var mutation = { type, payload };
799
+ var entry = this._mutations[type];
800
+ if (!entry) {
801
+ return;
802
+ }
803
+ this._withCommit(function() {
804
+ entry.forEach(function commitIterator(handler) {
805
+ handler(payload);
806
+ });
807
+ });
808
+ this._subscribers.slice().forEach(function(sub) {
809
+ return sub(mutation, this$1$1.state);
810
+ });
811
+ };
812
+ Store.prototype.dispatch = function dispatch(_type, _payload) {
813
+ var this$1$1 = this;
814
+ var ref2 = unifyObjectStyle(_type, _payload);
815
+ var type = ref2.type;
816
+ var payload = ref2.payload;
817
+ var action = { type, payload };
818
+ var entry = this._actions[type];
819
+ if (!entry) {
820
+ return;
821
+ }
822
+ try {
823
+ this._actionSubscribers.slice().filter(function(sub) {
824
+ return sub.before;
825
+ }).forEach(function(sub) {
826
+ return sub.before(action, this$1$1.state);
827
+ });
828
+ } catch (e) {
829
+ }
830
+ var result = entry.length > 1 ? Promise.all(entry.map(function(handler) {
831
+ return handler(payload);
832
+ })) : entry[0](payload);
833
+ return new Promise(function(resolve, reject) {
834
+ result.then(function(res) {
835
+ try {
836
+ this$1$1._actionSubscribers.filter(function(sub) {
837
+ return sub.after;
838
+ }).forEach(function(sub) {
839
+ return sub.after(action, this$1$1.state);
840
+ });
841
+ } catch (e) {
842
+ }
843
+ resolve(res);
844
+ }, function(error) {
845
+ try {
846
+ this$1$1._actionSubscribers.filter(function(sub) {
847
+ return sub.error;
848
+ }).forEach(function(sub) {
849
+ return sub.error(action, this$1$1.state, error);
850
+ });
851
+ } catch (e) {
852
+ }
853
+ reject(error);
854
+ });
855
+ });
856
+ };
857
+ Store.prototype.subscribe = function subscribe(fn, options) {
858
+ return genericSubscribe(fn, this._subscribers, options);
859
+ };
860
+ Store.prototype.subscribeAction = function subscribeAction(fn, options) {
861
+ var subs = typeof fn === "function" ? { before: fn } : fn;
862
+ return genericSubscribe(subs, this._actionSubscribers, options);
863
+ };
864
+ Store.prototype.watch = function watch$1(getter, cb, options) {
865
+ var this$1$1 = this;
866
+ return watch(function() {
867
+ return getter(this$1$1.state, this$1$1.getters);
868
+ }, cb, Object.assign({}, options));
869
+ };
870
+ Store.prototype.replaceState = function replaceState(state) {
871
+ var this$1$1 = this;
872
+ this._withCommit(function() {
873
+ this$1$1._state.data = state;
874
+ });
875
+ };
876
+ Store.prototype.registerModule = function registerModule(path, rawModule, options) {
877
+ if (options === void 0)
878
+ options = {};
879
+ if (typeof path === "string") {
880
+ path = [path];
881
+ }
882
+ this._modules.register(path, rawModule);
883
+ installModule(this, this.state, path, this._modules.get(path), options.preserveState);
884
+ resetStoreState(this, this.state);
885
+ };
886
+ Store.prototype.unregisterModule = function unregisterModule(path) {
887
+ var this$1$1 = this;
888
+ if (typeof path === "string") {
889
+ path = [path];
890
+ }
891
+ this._modules.unregister(path);
892
+ this._withCommit(function() {
893
+ var parentState = getNestedState(this$1$1.state, path.slice(0, -1));
894
+ delete parentState[path[path.length - 1]];
895
+ });
896
+ resetStore(this);
897
+ };
898
+ Store.prototype.hasModule = function hasModule(path) {
899
+ if (typeof path === "string") {
900
+ path = [path];
901
+ }
902
+ return this._modules.isRegistered(path);
903
+ };
904
+ Store.prototype.hotUpdate = function hotUpdate(newOptions) {
905
+ this._modules.update(newOptions);
906
+ resetStore(this, true);
907
+ };
908
+ Store.prototype._withCommit = function _withCommit(fn) {
909
+ var committing = this._committing;
910
+ this._committing = true;
911
+ fn();
912
+ this._committing = committing;
913
+ };
914
+ Object.defineProperties(Store.prototype, prototypeAccessors);
915
+ createStore({
916
+ state() {
917
+ return {
918
+ count: 1,
919
+ imagesFolderPath: "holis"
920
+ };
921
+ }
922
+ });
33
923
  function getBasePlacement(placement) {
34
924
  return placement.split("-")[0];
35
925
  }
@@ -3228,7 +4118,7 @@ Object.keys(_config).forEach(function(key) {
3228
4118
  return cb(config);
3229
4119
  });
3230
4120
  },
3231
- get: function get() {
4121
+ get: function get2() {
3232
4122
  return _config[key];
3233
4123
  }
3234
4124
  });
@@ -3910,14 +4800,14 @@ function domVariants(val, abstractCreator) {
3910
4800
  get: abstractCreator
3911
4801
  });
3912
4802
  Object.defineProperty(val, "html", {
3913
- get: function get() {
4803
+ get: function get2() {
3914
4804
  return val.abstract.map(function(a) {
3915
4805
  return toHtml(a);
3916
4806
  });
3917
4807
  }
3918
4808
  });
3919
4809
  Object.defineProperty(val, "node", {
3920
- get: function get() {
4810
+ get: function get2() {
3921
4811
  if (!IS_DOM)
3922
4812
  return;
3923
4813
  var container = DOCUMENT.createElement("div");
@@ -20120,7 +21010,7 @@ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
20120
21010
  throw this.reason;
20121
21011
  }
20122
21012
  };
20123
- CancelToken.prototype.subscribe = function subscribe(listener3) {
21013
+ CancelToken.prototype.subscribe = function subscribe2(listener3) {
20124
21014
  if (this.reason) {
20125
21015
  listener3(this.reason);
20126
21016
  return;
@@ -21333,7 +22223,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
21333
22223
  });
21334
22224
  var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4bfc21c8"]]);
21335
22225
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
21336
- const _withScopeId$4 = (n) => (pushScopeId("data-v-46510d24"), n = n(), popScopeId(), n);
22226
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-13fd1fa4"), n = n(), popScopeId(), n);
21337
22227
  const _hoisted_1$f = { class: "ck-table__pagination" };
21338
22228
  const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
21339
22229
  const _hoisted_3$7 = ["onClick"];
@@ -21425,6 +22315,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21425
22315
  currentPageLocal.value = newValue;
21426
22316
  }
21427
22317
  }
22318
+ function onClickArrowRight() {
22319
+ console.log("hasArrowRight", hasArrowRight.value);
22320
+ if (!hasArrowRight.value)
22321
+ return;
22322
+ currentPageLocal.value = props.currentPage + 1;
22323
+ }
21428
22324
  onMounted(() => {
21429
22325
  cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
21430
22326
  });
@@ -21470,7 +22366,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21470
22366
  ]),
21471
22367
  createElementVNode("div", {
21472
22368
  class: normalizeClass(["ck-table__pagination--arrow-right", { disabled: !unref$1(hasArrowRight) }]),
21473
- onClick: _cache[4] || (_cache[4] = ($event) => currentPageLocal.value = __props.currentPage + 1)
22369
+ onClick: _cache[4] || (_cache[4] = ($event) => onClickArrowRight())
21474
22370
  }, [
21475
22371
  createVNode(CkIcon, {
21476
22372
  icon: unref$1(hasArrowRight) ? "angle-right" : "grip-lines-vertical"
@@ -21481,7 +22377,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21481
22377
  };
21482
22378
  }
21483
22379
  });
21484
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-46510d24"]]);
22380
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-13fd1fa4"]]);
21485
22381
  const EMPTY_OBJ = {};
21486
22382
  const NOOP = () => {
21487
22383
  };
@@ -22319,10 +23215,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
22319
23215
  });
22320
23216
  var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-113ac83f"]]);
22321
23217
  var ckPopup_vue_vue_type_style_index_0_lang = "";
22322
- const _hoisted_1$d = {
22323
- key: 0,
22324
- class: "ck-popup"
22325
- };
23218
+ const _hoisted_1$d = { class: "ck-popup" };
22326
23219
  const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
22327
23220
  const _hoisted_3$5 = {
22328
23221
  key: 0,
@@ -22481,62 +23374,67 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
22481
23374
  cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
22482
23375
  });
22483
23376
  return (_ctx, _cache) => {
22484
- return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
22485
- _hoisted_2$9,
22486
- createElementVNode("div", {
22487
- class: "popup-container",
22488
- onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
22489
- }, [
23377
+ return unref$1(isActive) ? (openBlock(), createBlock(Teleport, {
23378
+ key: 0,
23379
+ to: "body"
23380
+ }, [
23381
+ createElementVNode("div", _hoisted_1$d, [
23382
+ _hoisted_2$9,
22490
23383
  createElementVNode("div", {
22491
- class: normalizeClass(["ck-popup__content", unref$1(computedClassContent)]),
22492
- onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22493
- }, ["stop"])),
22494
- style: normalizeStyle(unref$1(computedStyleContent))
23384
+ class: "popup-container",
23385
+ onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
22495
23386
  }, [
22496
23387
  createElementVNode("div", {
22497
- class: normalizeClass(["ck-popup__slot-header", unref$1(computedClassHeader)]),
22498
- style: normalizeStyle(unref$1(computedStyleHeader))
23388
+ class: normalizeClass(["ck-popup__content", unref$1(computedClassContent)]),
23389
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
23390
+ }, ["stop"])),
23391
+ style: normalizeStyle(unref$1(computedStyleContent))
22499
23392
  }, [
22500
- __props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
22501
- renderSlot(_ctx.$slots, "header"),
22502
- unref$1(isCloseBtnVisible) ? (openBlock(), createBlock(CkIcon, {
22503
- key: 1,
22504
- class: "icon-close",
22505
- icon: "times",
22506
- onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
22507
- })) : createCommentVNode("", true)
22508
- ], 6),
22509
- createElementVNode("div", _hoisted_4$5, [
22510
- renderSlot(_ctx.$slots, "default")
22511
- ]),
22512
- _ctx.$slots.footer || __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
22513
- renderSlot(_ctx.$slots, "footer"),
22514
- __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
22515
- __props.confirmButtons || __props.cancelButton ? (openBlock(), createBlock(CkButton, {
22516
- key: 0,
22517
- class: "cancel-button",
22518
- color: "danger",
22519
- type: unref$1(realCancelBtnType),
22520
- onClick: _cache[1] || (_cache[1] = ($event) => onCancel())
22521
- }, {
22522
- default: withCtx(() => [
22523
- createTextVNode(toDisplayString(unref$1(realCancelBtnText)), 1)
22524
- ]),
22525
- _: 1
22526
- }, 8, ["type"])) : createCommentVNode("", true),
22527
- __props.confirmButtons || __props.acceptButton ? (openBlock(), createBlock(CkButton, {
23393
+ createElementVNode("div", {
23394
+ class: normalizeClass(["ck-popup__slot-header", unref$1(computedClassHeader)]),
23395
+ style: normalizeStyle(unref$1(computedStyleHeader))
23396
+ }, [
23397
+ __props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
23398
+ renderSlot(_ctx.$slots, "header"),
23399
+ unref$1(isCloseBtnVisible) ? (openBlock(), createBlock(CkIcon, {
22528
23400
  key: 1,
22529
- type: unref$1(realAcceptBtnType),
22530
- onClick: _cache[2] || (_cache[2] = ($event) => onAccept())
22531
- }, {
22532
- default: withCtx(() => [
22533
- createTextVNode(toDisplayString(unref$1(realAcceptBtnText)), 1)
22534
- ]),
22535
- _: 1
22536
- }, 8, ["type"])) : createCommentVNode("", true)
23401
+ class: "icon-close",
23402
+ icon: "times",
23403
+ onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
23404
+ })) : createCommentVNode("", true)
23405
+ ], 6),
23406
+ createElementVNode("div", _hoisted_4$5, [
23407
+ renderSlot(_ctx.$slots, "default")
23408
+ ]),
23409
+ _ctx.$slots.footer || __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
23410
+ renderSlot(_ctx.$slots, "footer"),
23411
+ __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
23412
+ __props.confirmButtons || __props.cancelButton ? (openBlock(), createBlock(CkButton, {
23413
+ key: 0,
23414
+ class: "cancel-button",
23415
+ color: "danger",
23416
+ type: unref$1(realCancelBtnType),
23417
+ onClick: _cache[1] || (_cache[1] = ($event) => onCancel())
23418
+ }, {
23419
+ default: withCtx(() => [
23420
+ createTextVNode(toDisplayString(unref$1(realCancelBtnText)), 1)
23421
+ ]),
23422
+ _: 1
23423
+ }, 8, ["type"])) : createCommentVNode("", true),
23424
+ __props.confirmButtons || __props.acceptButton ? (openBlock(), createBlock(CkButton, {
23425
+ key: 1,
23426
+ type: unref$1(realAcceptBtnType),
23427
+ onClick: _cache[2] || (_cache[2] = ($event) => onAccept())
23428
+ }, {
23429
+ default: withCtx(() => [
23430
+ createTextVNode(toDisplayString(unref$1(realAcceptBtnText)), 1)
23431
+ ]),
23432
+ _: 1
23433
+ }, 8, ["type"])) : createCommentVNode("", true)
23434
+ ])) : createCommentVNode("", true)
22537
23435
  ])) : createCommentVNode("", true)
22538
- ])) : createCommentVNode("", true)
22539
- ], 6)
23436
+ ], 6)
23437
+ ])
22540
23438
  ])
22541
23439
  ])) : createCommentVNode("", true);
22542
23440
  };
@@ -22842,7 +23740,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22842
23740
  };
22843
23741
  }
22844
23742
  });
22845
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-64f91af6"]]);
23743
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-577dcdfc"]]);
22846
23744
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
22847
23745
  const _hoisted_1$a = ["color"];
22848
23746
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
@@ -22887,7 +23785,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22887
23785
  };
22888
23786
  }
22889
23787
  });
22890
- var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ad665c4a"]]);
23788
+ var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c7cdf0ec"]]);
22891
23789
  var ckDiv_vue_vue_type_style_index_0_lang = "";
22892
23790
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
22893
23791
  props: {
@@ -23158,6 +24056,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23158
24056
  },
23159
24057
  set(val) {
23160
24058
  emits("update:modelValue", val);
24059
+ emits("change");
23161
24060
  }
23162
24061
  });
23163
24062
  const filteredOptions = computed$2(() => {
@@ -23269,9 +24168,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23269
24168
  function onClick2(event) {
23270
24169
  emits("click", event);
23271
24170
  }
23272
- function onChange2(event) {
23273
- emits("change", event);
23274
- }
23275
24171
  function getOptionValue(option) {
23276
24172
  if (props.reduceValueFunction)
23277
24173
  return props.reduceValueFunction(option);
@@ -23299,7 +24195,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23299
24195
  computedStyle,
23300
24196
  computedClassSelect,
23301
24197
  getOptionValue,
23302
- onChange2,
23303
24198
  onClick2,
23304
24199
  filteredOptions
23305
24200
  ]);
@@ -23344,8 +24239,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23344
24239
  class: normalizeClass(unref$1(computedClassSelect)),
23345
24240
  style: normalizeStyle(unref$1(computedStyleSelect)),
23346
24241
  disabled: __props.disabled,
23347
- onClick: _cache[2] || (_cache[2] = ($event) => onClick2($event)),
23348
- onChange: _cache[3] || (_cache[3] = ($event) => onChange2($event))
24242
+ onClick: _cache[2] || (_cache[2] = ($event) => onClick2($event))
23349
24243
  }, [
23350
24244
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredOptions), (option) => {
23351
24245
  return openBlock(), createElementBlock("option", {
@@ -23353,14 +24247,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23353
24247
  key: option
23354
24248
  }, toDisplayString(getOptionName(option)), 9, _hoisted_2$5);
23355
24249
  }), 128))
23356
- ], 46, _hoisted_1$7), [
24250
+ ], 14, _hoisted_1$7), [
23357
24251
  [vModelSelect, unref$1(value)]
23358
24252
  ])
23359
24253
  ], 4);
23360
24254
  };
23361
24255
  }
23362
24256
  });
23363
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5aafba97"]]);
24257
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-d0d09d48"]]);
23364
24258
  var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
23365
24259
  const _hoisted_1$6 = {
23366
24260
  key: 0,
@@ -24087,11 +24981,11 @@ function getCleekOptions(userOptions) {
24087
24981
  setRootColors(options.colors);
24088
24982
  return options;
24089
24983
  }
24090
- const install = function installCleek(app, options) {
24984
+ const install2 = function installCleek(app, options) {
24091
24985
  app.config.globalProperties.$cleekOptions = getCleekOptions(options);
24092
24986
  app.use(plugin);
24093
24987
  Object.entries(components).forEach(([componentName, component]) => {
24094
24988
  app.component(componentName, component);
24095
24989
  });
24096
24990
  };
24097
- export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$e as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, CkTr, ckNotify, install as default };
24991
+ export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$e as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, CkTr, ckNotify, install2 as default };