@bagelink/vue 0.0.471 → 0.0.475
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/components/Btn.vue.d.ts +2 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/index.cjs +13 -6
- package/dist/index.mjs +13 -6
- package/dist/style.css +70 -67
- package/package.json +1 -1
- package/src/components/Btn.vue +8 -5
- package/src/components/TableSchema.vue +3 -0
|
@@ -4,6 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
4
4
|
disabled?: boolean | undefined;
|
|
5
5
|
icon?: MaterialIcons | undefined;
|
|
6
6
|
'icon.end'?: MaterialIcons | undefined;
|
|
7
|
+
'icon-end'?: MaterialIcons | undefined;
|
|
7
8
|
color?: ThemeType | undefined;
|
|
8
9
|
theme?: ThemeType | undefined;
|
|
9
10
|
flat?: boolean | undefined;
|
|
@@ -30,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
30
31
|
disabled?: boolean | undefined;
|
|
31
32
|
icon?: MaterialIcons | undefined;
|
|
32
33
|
'icon.end'?: MaterialIcons | undefined;
|
|
34
|
+
'icon-end'?: MaterialIcons | undefined;
|
|
33
35
|
color?: ThemeType | undefined;
|
|
34
36
|
theme?: ThemeType | undefined;
|
|
35
37
|
flat?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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S,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -5519,6 +5519,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5519
5519
|
disabled: { type: Boolean, default: false },
|
|
5520
5520
|
icon: {},
|
|
5521
5521
|
"icon.end": {},
|
|
5522
|
+
"icon-end": {},
|
|
5522
5523
|
color: {},
|
|
5523
5524
|
theme: {},
|
|
5524
5525
|
flat: { type: Boolean },
|
|
@@ -5535,8 +5536,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5535
5536
|
},
|
|
5536
5537
|
setup(__props) {
|
|
5537
5538
|
vue.useCssVars((_ctx) => ({
|
|
5538
|
-
"
|
|
5539
|
-
"
|
|
5539
|
+
"3607ab92": computedBackgroundColor.value,
|
|
5540
|
+
"7910b026": cumputedTextColor.value
|
|
5540
5541
|
}));
|
|
5541
5542
|
const props2 = __props;
|
|
5542
5543
|
const slots = vue.useSlots();
|
|
@@ -5572,10 +5573,16 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5572
5573
|
"blue": getThemeColors({})
|
|
5573
5574
|
};
|
|
5574
5575
|
const cumputedTextColor = vue.computed(
|
|
5575
|
-
() =>
|
|
5576
|
+
() => {
|
|
5577
|
+
var _a2;
|
|
5578
|
+
return ((_a2 = themes[computedTheme.value]) == null ? void 0 : _a2.color) || computedDefaultColors.value.color;
|
|
5579
|
+
}
|
|
5576
5580
|
);
|
|
5577
5581
|
const computedBackgroundColor = vue.computed(
|
|
5578
|
-
() =>
|
|
5582
|
+
() => {
|
|
5583
|
+
var _a2;
|
|
5584
|
+
return ((_a2 = themes[computedTheme.value]) == null ? void 0 : _a2.backgroundColor) || computedDefaultColors.value.backgroundColor;
|
|
5585
|
+
}
|
|
5579
5586
|
);
|
|
5580
5587
|
return (_ctx, _cache) => {
|
|
5581
5588
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.to ? "router-link" : _ctx.is), {
|
|
@@ -5614,7 +5621,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5614
5621
|
};
|
|
5615
5622
|
}
|
|
5616
5623
|
});
|
|
5617
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5624
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-51ee7ea7"]]);
|
|
5618
5625
|
const _hoisted_1$F = {
|
|
5619
5626
|
key: 0,
|
|
5620
5627
|
class: "tool-bar"
|
|
@@ -6185,7 +6192,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6185
6192
|
};
|
|
6186
6193
|
}
|
|
6187
6194
|
});
|
|
6188
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
6195
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-6cb0708f"]]);
|
|
6189
6196
|
const _sfc_main$C = {};
|
|
6190
6197
|
const _hoisted_1$z = { class: "flex space-between" };
|
|
6191
6198
|
function _sfc_render$1(_ctx, _cache) {
|
package/dist/index.mjs
CHANGED
|
@@ -5517,6 +5517,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5517
5517
|
disabled: { type: Boolean, default: false },
|
|
5518
5518
|
icon: {},
|
|
5519
5519
|
"icon.end": {},
|
|
5520
|
+
"icon-end": {},
|
|
5520
5521
|
color: {},
|
|
5521
5522
|
theme: {},
|
|
5522
5523
|
flat: { type: Boolean },
|
|
@@ -5533,8 +5534,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5533
5534
|
},
|
|
5534
5535
|
setup(__props) {
|
|
5535
5536
|
useCssVars((_ctx) => ({
|
|
5536
|
-
"
|
|
5537
|
-
"
|
|
5537
|
+
"3607ab92": computedBackgroundColor.value,
|
|
5538
|
+
"7910b026": cumputedTextColor.value
|
|
5538
5539
|
}));
|
|
5539
5540
|
const props2 = __props;
|
|
5540
5541
|
const slots = useSlots();
|
|
@@ -5570,10 +5571,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5570
5571
|
"blue": getThemeColors({})
|
|
5571
5572
|
};
|
|
5572
5573
|
const cumputedTextColor = computed(
|
|
5573
|
-
() =>
|
|
5574
|
+
() => {
|
|
5575
|
+
var _a2;
|
|
5576
|
+
return ((_a2 = themes[computedTheme.value]) == null ? void 0 : _a2.color) || computedDefaultColors.value.color;
|
|
5577
|
+
}
|
|
5574
5578
|
);
|
|
5575
5579
|
const computedBackgroundColor = computed(
|
|
5576
|
-
() =>
|
|
5580
|
+
() => {
|
|
5581
|
+
var _a2;
|
|
5582
|
+
return ((_a2 = themes[computedTheme.value]) == null ? void 0 : _a2.backgroundColor) || computedDefaultColors.value.backgroundColor;
|
|
5583
|
+
}
|
|
5577
5584
|
);
|
|
5578
5585
|
return (_ctx, _cache) => {
|
|
5579
5586
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? "router-link" : _ctx.is), {
|
|
@@ -5612,7 +5619,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5612
5619
|
};
|
|
5613
5620
|
}
|
|
5614
5621
|
});
|
|
5615
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5622
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-51ee7ea7"]]);
|
|
5616
5623
|
const _hoisted_1$F = {
|
|
5617
5624
|
key: 0,
|
|
5618
5625
|
class: "tool-bar"
|
|
@@ -6183,7 +6190,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6183
6190
|
};
|
|
6184
6191
|
}
|
|
6185
6192
|
});
|
|
6186
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
6193
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-6cb0708f"]]);
|
|
6187
6194
|
const _sfc_main$C = {};
|
|
6188
6195
|
const _hoisted_1$z = { class: "flex space-between" };
|
|
6189
6196
|
function _sfc_render$1(_ctx, _cache) {
|
package/dist/style.css
CHANGED
|
@@ -248,19 +248,19 @@
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
a[data-v-
|
|
251
|
+
a[data-v-51ee7ea7] {
|
|
252
252
|
text-decoration: none;
|
|
253
253
|
}
|
|
254
|
-
.loading[data-v-
|
|
254
|
+
.loading[data-v-51ee7ea7] {
|
|
255
255
|
border: 1px solid var(--bgl-white);
|
|
256
256
|
border-bottom: 2px solid var(--bgl-white);
|
|
257
|
-
animation: spin-
|
|
257
|
+
animation: spin-51ee7ea7 1s linear infinite;
|
|
258
258
|
border-radius: 100px;
|
|
259
259
|
width: 1rem;
|
|
260
260
|
height: 1rem;
|
|
261
261
|
margin: auto;
|
|
262
262
|
}
|
|
263
|
-
@keyframes spin-
|
|
263
|
+
@keyframes spin-51ee7ea7 {
|
|
264
264
|
0% {
|
|
265
265
|
transform: rotate(0deg);
|
|
266
266
|
}
|
|
@@ -268,7 +268,7 @@ a[data-v-211db910] {
|
|
|
268
268
|
transform: rotate(360deg);
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
.bgl_btn-icon[data-v-
|
|
271
|
+
.bgl_btn-icon[data-v-51ee7ea7] {
|
|
272
272
|
height: var(--btn-height);
|
|
273
273
|
width: var(--btn-height);
|
|
274
274
|
border-radius: 100%;
|
|
@@ -278,101 +278,101 @@ a[data-v-211db910] {
|
|
|
278
278
|
flex-shrink: 0;
|
|
279
279
|
transition: var(--bgl-transition);
|
|
280
280
|
}
|
|
281
|
-
.bgl_btn[data-v-
|
|
281
|
+
.bgl_btn[data-v-51ee7ea7] {
|
|
282
282
|
padding-left: var(--btn-padding);
|
|
283
283
|
padding-right: var(--btn-padding);
|
|
284
284
|
transition: var(--bgl-transition);
|
|
285
285
|
text-decoration: none;
|
|
286
286
|
}
|
|
287
|
-
.bgl_btn[disabled="true"][data-v-
|
|
287
|
+
.bgl_btn[disabled="true"][data-v-51ee7ea7] {
|
|
288
288
|
opacity: 0.5;
|
|
289
289
|
cursor: not-allowed;
|
|
290
290
|
}
|
|
291
|
-
.bgl_btn-flex[data-v-
|
|
291
|
+
.bgl_btn-flex[data-v-51ee7ea7] {
|
|
292
292
|
display: flex;
|
|
293
293
|
align-items: center;
|
|
294
294
|
gap: 0.5rem;
|
|
295
295
|
justify-content: center;
|
|
296
296
|
}
|
|
297
|
-
.bgl_btn .bgl_.bgl_icon-font[data-v-
|
|
297
|
+
.bgl_btn .bgl_.bgl_icon-font[data-v-51ee7ea7] {
|
|
298
298
|
font-size: calc(var(--input-font-size) * 1.3);
|
|
299
299
|
}
|
|
300
|
-
.bgl_btn[data-v-
|
|
301
|
-
.bgl_btn-icon[data-v-
|
|
302
|
-
background-color: var(--
|
|
303
|
-
color: var(--
|
|
300
|
+
.bgl_btn[data-v-51ee7ea7],
|
|
301
|
+
.bgl_btn-icon[data-v-51ee7ea7] {
|
|
302
|
+
background-color: var(--3607ab92);
|
|
303
|
+
color: var(--7910b026);
|
|
304
304
|
}
|
|
305
|
-
.bgl_btn[data-v-
|
|
306
|
-
.bgl_btn-icon[data-v-
|
|
305
|
+
.bgl_btn[data-v-51ee7ea7]:hover,
|
|
306
|
+
.bgl_btn-icon[data-v-51ee7ea7]:hover {
|
|
307
307
|
filter: var(--bgl-hover-filter);
|
|
308
308
|
}
|
|
309
|
-
.bgl_btn[data-v-
|
|
310
|
-
.bgl_btn-icon[data-v-
|
|
309
|
+
.bgl_btn[data-v-51ee7ea7]:active,
|
|
310
|
+
.bgl_btn-icon[data-v-51ee7ea7]:active {
|
|
311
311
|
filter: var(--bgl-active-filter);
|
|
312
312
|
}
|
|
313
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
313
|
+
.bgl_btn.bgl_flatBtn[data-v-51ee7ea7] {
|
|
314
314
|
padding-left: var(--btn-padding);
|
|
315
315
|
padding-right: var(--btn-padding);
|
|
316
316
|
background: transparent;
|
|
317
317
|
}
|
|
318
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
318
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-51ee7ea7] {
|
|
319
319
|
background: transparent;
|
|
320
320
|
}
|
|
321
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
322
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
321
|
+
.bgl_btn.bgl_flatBtn[data-v-51ee7ea7]:hover,
|
|
322
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-51ee7ea7]:hover {
|
|
323
323
|
filter: var(--bgl-active-filter);
|
|
324
324
|
}
|
|
325
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
326
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
325
|
+
.bgl_btn.bgl_flatBtn[data-v-51ee7ea7]:active,
|
|
326
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-51ee7ea7]:active {
|
|
327
327
|
background: var(--bgl-gray);
|
|
328
328
|
filter: var(--bgl-hover-filter);
|
|
329
329
|
}
|
|
330
|
-
.bgl_btn.bgl_flatBtn.red[data-v-
|
|
331
|
-
.bgl_btn-icon.bgl_flatBtn.red[data-v-
|
|
330
|
+
.bgl_btn.bgl_flatBtn.red[data-v-51ee7ea7],
|
|
331
|
+
.bgl_btn-icon.bgl_flatBtn.red[data-v-51ee7ea7] {
|
|
332
332
|
color: var(--bgl-red);
|
|
333
333
|
}
|
|
334
|
-
.bgl_btn.bgl_flatBtn.white[data-v-
|
|
335
|
-
.bgl_btn-icon.bgl_flatBtn.white[data-v-
|
|
334
|
+
.bgl_btn.bgl_flatBtn.white[data-v-51ee7ea7],
|
|
335
|
+
.bgl_btn-icon.bgl_flatBtn.white[data-v-51ee7ea7] {
|
|
336
336
|
color: var(--bgl-white);
|
|
337
337
|
}
|
|
338
|
-
.bgl_btn.bgl_flatBtn.light[data-v-
|
|
339
|
-
.bgl_btn-icon.bgl_flatBtn.light[data-v-
|
|
338
|
+
.bgl_btn.bgl_flatBtn.light[data-v-51ee7ea7],
|
|
339
|
+
.bgl_btn-icon.bgl_flatBtn.light[data-v-51ee7ea7] {
|
|
340
340
|
color: var(--bgl-primary-tint);
|
|
341
341
|
}
|
|
342
|
-
.bgl_btn.bgl_flatBtn.black[data-v-
|
|
343
|
-
.bgl_btn-icon.bgl_flatBtn.black[data-v-
|
|
342
|
+
.bgl_btn.bgl_flatBtn.black[data-v-51ee7ea7],
|
|
343
|
+
.bgl_btn-icon.bgl_flatBtn.black[data-v-51ee7ea7] {
|
|
344
344
|
color: var(--bgl-black);
|
|
345
345
|
}
|
|
346
|
-
.bgl_btn.bgl_flatBtn.gray[data-v-
|
|
347
|
-
.bgl_btn-icon.bgl_flatBtn.gray[data-v-
|
|
346
|
+
.bgl_btn.bgl_flatBtn.gray[data-v-51ee7ea7],
|
|
347
|
+
.bgl_btn-icon.bgl_flatBtn.gray[data-v-51ee7ea7] {
|
|
348
348
|
color: var(--bgl-gray);
|
|
349
349
|
}
|
|
350
|
-
.bgl_btn.thin[data-v-
|
|
350
|
+
.bgl_btn.thin[data-v-51ee7ea7] {
|
|
351
351
|
padding-left: calc(var(--btn-padding) / 2);
|
|
352
352
|
padding-right: calc(var(--btn-padding) / 2);
|
|
353
353
|
}
|
|
354
|
-
.bgl_btn.round[data-v-
|
|
354
|
+
.bgl_btn.round[data-v-51ee7ea7] {
|
|
355
355
|
border-radius: calc(var(--btn-border-radius) * 2);
|
|
356
356
|
}
|
|
357
|
-
.bgl_btn-icon.thin[data-v-
|
|
357
|
+
.bgl_btn-icon.thin[data-v-51ee7ea7] {
|
|
358
358
|
height: calc(var(--btn-height) / 1.5);
|
|
359
359
|
width: calc(var(--btn-height) / 1.5);
|
|
360
360
|
line-height: 1;
|
|
361
361
|
}
|
|
362
|
-
[dir="rtl"] .bgl_.bgl_icon-font[data-v-
|
|
362
|
+
[dir="rtl"] .bgl_.bgl_icon-font[data-v-51ee7ea7] {
|
|
363
363
|
transform: rotateY(180deg);
|
|
364
364
|
}
|
|
365
|
-
.bgl_btn-border[data-v-
|
|
366
|
-
outline: 1px solid var(--
|
|
367
|
-
color: var(--
|
|
365
|
+
.bgl_btn-border[data-v-51ee7ea7] {
|
|
366
|
+
outline: 1px solid var(--3607ab92);
|
|
367
|
+
color: var(--3607ab92);
|
|
368
368
|
background: transparent;
|
|
369
369
|
}
|
|
370
|
-
.bgl_btn-border[data-v-
|
|
370
|
+
.bgl_btn-border[data-v-51ee7ea7]:hover {
|
|
371
371
|
color: var(--bgl-white);
|
|
372
|
-
background: var(--
|
|
372
|
+
background: var(--3607ab92);
|
|
373
373
|
filter: brightness(100%);
|
|
374
374
|
}
|
|
375
|
-
.bgl_btn-border[data-v-
|
|
375
|
+
.bgl_btn-border[data-v-51ee7ea7]:active {
|
|
376
376
|
filter: brightness(80%);
|
|
377
377
|
}
|
|
378
378
|
.bg-dark {
|
|
@@ -637,41 +637,41 @@ a[data-v-211db910] {
|
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
.list-arrows[data-v-
|
|
640
|
+
.list-arrows[data-v-6cb0708f] {
|
|
641
641
|
opacity: 0;
|
|
642
642
|
}
|
|
643
|
-
.list-arrows .bgl_icon-font[data-v-
|
|
643
|
+
.list-arrows .bgl_icon-font[data-v-6cb0708f] {
|
|
644
644
|
transition: all ease-in-out 0.2s;
|
|
645
645
|
}
|
|
646
|
-
.list-arrows.sorted[data-v-
|
|
646
|
+
.list-arrows.sorted[data-v-6cb0708f] {
|
|
647
647
|
opacity: 1;
|
|
648
648
|
}
|
|
649
|
-
.col img[data-v-
|
|
649
|
+
.col img[data-v-6cb0708f] {
|
|
650
650
|
height: 35px;
|
|
651
651
|
margin-top: -14px;
|
|
652
652
|
margin-bottom: -14px;
|
|
653
653
|
border-radius: 5px;
|
|
654
654
|
}
|
|
655
|
-
.list-arrows.sorted .desc[data-v-
|
|
655
|
+
.list-arrows.sorted .desc[data-v-6cb0708f] {
|
|
656
656
|
transform: rotate(180deg);
|
|
657
657
|
}
|
|
658
|
-
table[data-v-
|
|
658
|
+
table[data-v-6cb0708f] {
|
|
659
659
|
border-collapse: separate;
|
|
660
660
|
border-spacing: 0 15px;
|
|
661
661
|
border-collapse: collapse;
|
|
662
662
|
}
|
|
663
|
-
th[data-v-
|
|
663
|
+
th[data-v-6cb0708f] {
|
|
664
664
|
font-weight: 400;
|
|
665
665
|
}
|
|
666
|
-
.embedded-field[data-v-
|
|
666
|
+
.embedded-field[data-v-6cb0708f] {
|
|
667
667
|
margin-bottom: -0.2rem;
|
|
668
668
|
margin-top: -0.2rem;
|
|
669
669
|
}
|
|
670
|
-
.row[data-v-
|
|
670
|
+
.row[data-v-6cb0708f] {
|
|
671
671
|
border-bottom: 1px solid var(--border-color);
|
|
672
672
|
cursor: pointer;
|
|
673
673
|
}
|
|
674
|
-
.row.first-row[data-v-
|
|
674
|
+
.row.first-row[data-v-6cb0708f] {
|
|
675
675
|
font-size: 0.8rem;
|
|
676
676
|
color: var(--bgl-black-tint);
|
|
677
677
|
position: sticky;
|
|
@@ -681,10 +681,10 @@ th[data-v-20b71889] {
|
|
|
681
681
|
height: 50px;
|
|
682
682
|
vertical-align: bottom;
|
|
683
683
|
}
|
|
684
|
-
.row.first-row input[type=checkbox][data-v-
|
|
684
|
+
.row.first-row input[type=checkbox][data-v-6cb0708f]{
|
|
685
685
|
margin-bottom: 0.7rem;
|
|
686
686
|
}
|
|
687
|
-
.row.first-row[data-v-
|
|
687
|
+
.row.first-row[data-v-6cb0708f]::after {
|
|
688
688
|
content: '';
|
|
689
689
|
border-bottom: 1px solid var(--border-color);
|
|
690
690
|
position: absolute;
|
|
@@ -692,27 +692,30 @@ th[data-v-20b71889] {
|
|
|
692
692
|
right: 0;
|
|
693
693
|
bottom: -1px;
|
|
694
694
|
}
|
|
695
|
-
.first-row .col[data-v-
|
|
695
|
+
.first-row .col[data-v-6cb0708f] {
|
|
696
696
|
cursor: pointer;
|
|
697
697
|
background: var(--bgl-white);
|
|
698
698
|
}
|
|
699
|
-
.col[data-v-
|
|
699
|
+
.col[data-v-6cb0708f] {
|
|
700
700
|
white-space: nowrap;
|
|
701
701
|
padding: 0.75rem 0.5rem;
|
|
702
702
|
transition: var(--bgl-transition);
|
|
703
703
|
line-height: 1;
|
|
704
704
|
align-items: center;
|
|
705
705
|
}
|
|
706
|
-
.col
|
|
706
|
+
.col[data-v-6cb0708f]:has(.bagel-input) {
|
|
707
|
+
padding: 0rem;
|
|
708
|
+
}
|
|
709
|
+
.col > div[data-v-6cb0708f] {
|
|
707
710
|
display: flex;
|
|
708
711
|
gap: 0.5rem;
|
|
709
712
|
}
|
|
710
|
-
.max-col-width[data-v-
|
|
713
|
+
.max-col-width[data-v-6cb0708f] {
|
|
711
714
|
max-width: 30vw;
|
|
712
715
|
overflow: hidden;
|
|
713
716
|
text-overflow: ellipsis;
|
|
714
717
|
}
|
|
715
|
-
.col.check .bgl_icon-font[data-v-
|
|
718
|
+
.col.check .bgl_icon-font[data-v-6cb0708f] {
|
|
716
719
|
border-radius: 100%;
|
|
717
720
|
background: var(--bgl-blue-20);
|
|
718
721
|
color: var(--bgl-primary);
|
|
@@ -723,31 +726,31 @@ th[data-v-20b71889] {
|
|
|
723
726
|
justify-content: center;
|
|
724
727
|
margin-top: -2px;
|
|
725
728
|
}
|
|
726
|
-
.rows[data-v-
|
|
729
|
+
.rows[data-v-6cb0708f] {
|
|
727
730
|
font-size: 0.8125em;
|
|
728
731
|
}
|
|
729
|
-
.table-list[data-v-
|
|
732
|
+
.table-list[data-v-6cb0708f] {
|
|
730
733
|
height: 100%;
|
|
731
734
|
position: relative;
|
|
732
735
|
padding-left: 0 !important;
|
|
733
736
|
padding-right: 0 !important;
|
|
734
737
|
overflow: auto;
|
|
735
738
|
}
|
|
736
|
-
.BagelTable .table-list[data-v-
|
|
739
|
+
.BagelTable .table-list[data-v-6cb0708f] {
|
|
737
740
|
overflow: unset;
|
|
738
741
|
}
|
|
739
|
-
.row-item[data-v-
|
|
742
|
+
.row-item[data-v-6cb0708f] {
|
|
740
743
|
height: 50px;
|
|
741
744
|
transition: all 200ms ease;
|
|
742
745
|
}
|
|
743
|
-
.row-item[data-v-
|
|
746
|
+
.row-item[data-v-6cb0708f]:hover {
|
|
744
747
|
background: var(--bgl-gray-light);
|
|
745
748
|
}
|
|
746
|
-
.row-item input[type=checkbox][data-v-
|
|
749
|
+
.row-item input[type=checkbox][data-v-6cb0708f]{
|
|
747
750
|
margin-top: 0.45rem !important;
|
|
748
751
|
accent-color: var(--bgl-primary);
|
|
749
752
|
}
|
|
750
|
-
.infinite-wrapper[data-v-
|
|
753
|
+
.infinite-wrapper[data-v-6cb0708f] {
|
|
751
754
|
overflow-y: auto;
|
|
752
755
|
width: 100%;
|
|
753
756
|
}
|
package/package.json
CHANGED
package/src/components/Btn.vue
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { useSlots } from 'vue'
|
|
3
|
+
import type { MaterialIcons, ThemeType } from '@bagelink/vue'
|
|
4
|
+
import { MaterialIcon } from '@bagelink/vue'
|
|
3
5
|
|
|
4
6
|
const props = withDefaults(
|
|
5
7
|
defineProps<{
|
|
6
8
|
'disabled'?: boolean
|
|
7
9
|
'icon'?: MaterialIcons
|
|
10
|
+
// eslint-disable-next-line vue/prop-name-casing TODO: remove/deprecate
|
|
8
11
|
'icon.end'?: MaterialIcons
|
|
12
|
+
'icon-end'?: MaterialIcons
|
|
9
13
|
'color'?: ThemeType
|
|
10
14
|
'theme'?: ThemeType
|
|
11
15
|
'flat'?: boolean
|
|
@@ -31,9 +35,8 @@ const props = withDefaults(
|
|
|
31
35
|
border: false,
|
|
32
36
|
},
|
|
33
37
|
)
|
|
38
|
+
|
|
34
39
|
const slots = useSlots()
|
|
35
|
-
import type { MaterialIcons, ThemeType } from '@bagelink/vue'
|
|
36
|
-
import { MaterialIcon } from '@bagelink/vue'
|
|
37
40
|
|
|
38
41
|
const computedTheme = $computed(
|
|
39
42
|
() => {
|
|
@@ -59,7 +62,7 @@ function getThemeColors(theme: Partial<typeof computedDefaultColors>): typeof co
|
|
|
59
62
|
})
|
|
60
63
|
}
|
|
61
64
|
|
|
62
|
-
const themes: { [key in ThemeType]: typeof computedDefaultColors } = {
|
|
65
|
+
const themes: Partial<{ [key in ThemeType]: typeof computedDefaultColors }> = {
|
|
63
66
|
'red': getThemeColors({ backgroundColor: 'var(--bgl-red)' }),
|
|
64
67
|
'white': getThemeColors({ backgroundColor: 'var(--bgl-white)' }),
|
|
65
68
|
'black': getThemeColors({ backgroundColor: 'var(--bgl-black)' }),
|
|
@@ -72,11 +75,11 @@ const themes: { [key in ThemeType]: typeof computedDefaultColors } = {
|
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
const cumputedTextColor = $computed(
|
|
75
|
-
() => (themes[computedTheme as ThemeType]
|
|
78
|
+
() => (themes[computedTheme as ThemeType]?.color || computedDefaultColors.color),
|
|
76
79
|
)
|
|
77
80
|
|
|
78
81
|
const computedBackgroundColor = $computed(
|
|
79
|
-
() => (themes[computedTheme as ThemeType]
|
|
82
|
+
() => (themes[computedTheme as ThemeType]?.backgroundColor || computedDefaultColors.backgroundColor),
|
|
80
83
|
)
|
|
81
84
|
</script>
|
|
82
85
|
|