@alauda/ui 6.2.2-beta.2 → 6.2.2-beta.3
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/alauda-ui.d.ts +20 -21
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +69 -63
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/esm2015/alauda-ui.js +21 -22
- package/esm2015/alauda-ui.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.ngfactory.js +1 -1
- package/esm2015/icon/icon.module.ngfactory.js +1 -1
- package/esm2015/public-api.ngsummary.json +1 -1
- package/esm2015/theme/public-api.js +3 -2
- package/esm2015/theme/public-api.ngsummary.json +1 -1
- package/esm2015/theme/theme.module.js +2 -3
- package/esm2015/theme/theme.module.ngfactory.js +1 -1
- package/esm2015/theme/theme.module.ngsummary.json +1 -1
- package/esm2015/theme/theme.pipe.js +61 -0
- package/esm2015/theme/theme.pipe.ngsummary.json +1 -0
- package/esm2015/theme/utils.js +10 -0
- package/esm2015/theme/utils.ngsummary.json +1 -0
- package/fesm2015/alauda-ui.js +35 -26
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +1 -1
- package/theme/public-api.d.ts +2 -1
- package/theme/style.css +68 -68
- package/theme/{theme-picker.pipe.d.ts → theme.pipe.d.ts} +10 -0
- package/theme/utils.d.ts +3 -0
- package/esm2015/theme/color.pipe.js +0 -26
- package/esm2015/theme/color.pipe.ngsummary.json +0 -1
- package/esm2015/theme/theme-picker.pipe.js +0 -36
- package/esm2015/theme/theme-picker.pipe.ngsummary.json +0 -1
- package/theme/color.pipe.d.ts +0 -10
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -532,6 +532,44 @@
|
|
|
532
532
|
];
|
|
533
533
|
ThemeService.ctorParameters = function () { return []; };
|
|
534
534
|
|
|
535
|
+
function rgbColor(color) {
|
|
536
|
+
return "rgb(var(--aui-color-" + color + "))";
|
|
537
|
+
}
|
|
538
|
+
function rgbaColor(_a) {
|
|
539
|
+
var _b = __read(_a, 2), color = _b[0], opacity = _b[1];
|
|
540
|
+
return "rgba(var(--aui-color-" + color + "), " + opacity + ")";
|
|
541
|
+
}
|
|
542
|
+
function cssVar(value) {
|
|
543
|
+
return "var(--aui-" + value + ")";
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
var RgbColorPipe = /** @class */ (function () {
|
|
547
|
+
function RgbColorPipe() {
|
|
548
|
+
this.transform = rgbColor;
|
|
549
|
+
}
|
|
550
|
+
return RgbColorPipe;
|
|
551
|
+
}());
|
|
552
|
+
RgbColorPipe.decorators = [
|
|
553
|
+
{ type: i0.Pipe, args: [{ name: 'auiRgbColor', pure: true },] }
|
|
554
|
+
];
|
|
555
|
+
var RgbaColorPipe = /** @class */ (function () {
|
|
556
|
+
function RgbaColorPipe() {
|
|
557
|
+
this.transform = rgbaColor;
|
|
558
|
+
}
|
|
559
|
+
return RgbaColorPipe;
|
|
560
|
+
}());
|
|
561
|
+
RgbaColorPipe.decorators = [
|
|
562
|
+
{ type: i0.Pipe, args: [{ name: 'auiRgbaColor', pure: true },] }
|
|
563
|
+
];
|
|
564
|
+
var CssVarPipe = /** @class */ (function () {
|
|
565
|
+
function CssVarPipe() {
|
|
566
|
+
this.transform = cssVar;
|
|
567
|
+
}
|
|
568
|
+
return CssVarPipe;
|
|
569
|
+
}());
|
|
570
|
+
CssVarPipe.decorators = [
|
|
571
|
+
{ type: i0.Pipe, args: [{ name: 'auiCssVar', pure: true },] }
|
|
572
|
+
];
|
|
535
573
|
var ThemePickerPipe = /** @class */ (function () {
|
|
536
574
|
function ThemePickerPipe(themeService, cdr) {
|
|
537
575
|
var _this = this;
|
|
@@ -566,41 +604,6 @@
|
|
|
566
604
|
{ type: i0.ChangeDetectorRef }
|
|
567
605
|
]; };
|
|
568
606
|
|
|
569
|
-
var RgbColorPipe = /** @class */ (function () {
|
|
570
|
-
function RgbColorPipe() {
|
|
571
|
-
}
|
|
572
|
-
RgbColorPipe.prototype.transform = function (color) {
|
|
573
|
-
return "rgb(var(--aui-color-" + color + "))";
|
|
574
|
-
};
|
|
575
|
-
return RgbColorPipe;
|
|
576
|
-
}());
|
|
577
|
-
RgbColorPipe.decorators = [
|
|
578
|
-
{ type: i0.Pipe, args: [{ name: 'auiRgbColor', pure: true },] }
|
|
579
|
-
];
|
|
580
|
-
var RgbaColorPipe = /** @class */ (function () {
|
|
581
|
-
function RgbaColorPipe() {
|
|
582
|
-
}
|
|
583
|
-
RgbaColorPipe.prototype.transform = function (_a) {
|
|
584
|
-
var _b = __read(_a, 2), color = _b[0], opacity = _b[1];
|
|
585
|
-
return "rgba(var(--aui-color-" + color + "), " + opacity + ")";
|
|
586
|
-
};
|
|
587
|
-
return RgbaColorPipe;
|
|
588
|
-
}());
|
|
589
|
-
RgbaColorPipe.decorators = [
|
|
590
|
-
{ type: i0.Pipe, args: [{ name: 'auiRgbaColor', pure: true },] }
|
|
591
|
-
];
|
|
592
|
-
var CssVarPipe = /** @class */ (function () {
|
|
593
|
-
function CssVarPipe() {
|
|
594
|
-
}
|
|
595
|
-
CssVarPipe.prototype.transform = function (value) {
|
|
596
|
-
return "var(--aui-" + value + ")";
|
|
597
|
-
};
|
|
598
|
-
return CssVarPipe;
|
|
599
|
-
}());
|
|
600
|
-
CssVarPipe.decorators = [
|
|
601
|
-
{ type: i0.Pipe, args: [{ name: 'auiCssVar', pure: true },] }
|
|
602
|
-
];
|
|
603
|
-
|
|
604
607
|
var ThemeModule = /** @class */ (function () {
|
|
605
608
|
function ThemeModule() {
|
|
606
609
|
}
|
|
@@ -12556,6 +12559,7 @@
|
|
|
12556
12559
|
exports.CommonFormControl = CommonFormControl;
|
|
12557
12560
|
exports.ComponentSize = ComponentSize;
|
|
12558
12561
|
exports.ConfirmDialogConfig = ConfirmDialogConfig;
|
|
12562
|
+
exports.CssVarPipe = CssVarPipe;
|
|
12559
12563
|
exports.CustomAutoCompleteDirective = CustomAutoCompleteDirective;
|
|
12560
12564
|
exports.DATA = DATA;
|
|
12561
12565
|
exports.DATE = DATE;
|
|
@@ -12663,6 +12667,8 @@
|
|
|
12663
12667
|
exports.RadioModule = RadioModule;
|
|
12664
12668
|
exports.RadioSize = RadioSize;
|
|
12665
12669
|
exports.RangePickerComponent = RangePickerComponent;
|
|
12670
|
+
exports.RgbColorPipe = RgbColorPipe;
|
|
12671
|
+
exports.RgbaColorPipe = RgbaColorPipe;
|
|
12666
12672
|
exports.SECOND = SECOND;
|
|
12667
12673
|
exports.SECOND_ITEMS = SECOND_ITEMS;
|
|
12668
12674
|
exports.ScrollingModule = ScrollingModule;
|
|
@@ -12751,6 +12757,7 @@
|
|
|
12751
12757
|
exports.coerceAttrBoolean = coerceAttrBoolean;
|
|
12752
12758
|
exports.coerceNumber = coerceNumber;
|
|
12753
12759
|
exports.coerceString = coerceString;
|
|
12760
|
+
exports.cssVar = cssVar;
|
|
12754
12761
|
exports.en = en;
|
|
12755
12762
|
exports.getAnchorTreeItems = getAnchorTreeItems;
|
|
12756
12763
|
exports.getSortDuplicateSortableIdError = getSortDuplicateSortableIdError;
|
|
@@ -12764,6 +12771,8 @@
|
|
|
12764
12771
|
exports.last = last;
|
|
12765
12772
|
exports.observeMutationOn = observeMutationOn;
|
|
12766
12773
|
exports.observeResizeOn = observeResizeOn;
|
|
12774
|
+
exports.rgbColor = rgbColor;
|
|
12775
|
+
exports.rgbaColor = rgbaColor;
|
|
12767
12776
|
exports.scrollIntoView = scrollIntoView;
|
|
12768
12777
|
exports.sleep = sleep;
|
|
12769
12778
|
exports.watchContentExist = watchContentExist;
|
|
@@ -12771,34 +12780,31 @@
|
|
|
12771
12780
|
exports.ɵ0 = ɵ0;
|
|
12772
12781
|
exports.ɵ1 = ɵ1;
|
|
12773
12782
|
exports.ɵ2 = ɵ2;
|
|
12774
|
-
exports.ɵa =
|
|
12775
|
-
exports.ɵb =
|
|
12776
|
-
exports.ɵ
|
|
12777
|
-
exports.ɵ
|
|
12778
|
-
exports.ɵ
|
|
12779
|
-
exports.ɵ
|
|
12780
|
-
exports.ɵ
|
|
12781
|
-
exports.ɵ
|
|
12782
|
-
exports.ɵ
|
|
12783
|
-
exports.ɵ
|
|
12784
|
-
exports.ɵ
|
|
12785
|
-
exports.ɵ
|
|
12786
|
-
exports.ɵ
|
|
12787
|
-
exports.ɵ
|
|
12788
|
-
exports.ɵ
|
|
12789
|
-
exports.ɵ
|
|
12790
|
-
exports.ɵ
|
|
12791
|
-
exports.ɵ
|
|
12792
|
-
exports.ɵ
|
|
12793
|
-
exports.ɵ
|
|
12794
|
-
exports.ɵ
|
|
12795
|
-
exports.ɵ
|
|
12796
|
-
exports.ɵ
|
|
12797
|
-
exports.ɵ
|
|
12798
|
-
exports.ɵ
|
|
12799
|
-
exports.ɵx = BaseMessage;
|
|
12800
|
-
exports.ɵy = NotificationWrapperComponent;
|
|
12801
|
-
exports.ɵz = VirtualForOfDirective;
|
|
12783
|
+
exports.ɵa = TablePlaceholderDefDirective;
|
|
12784
|
+
exports.ɵb = TablePlaceholderOutlet;
|
|
12785
|
+
exports.ɵc = TableExpandButtonCellComponent;
|
|
12786
|
+
exports.ɵd = TableExpandPanelCellComponent;
|
|
12787
|
+
exports.ɵe = TooltipCopyDirective;
|
|
12788
|
+
exports.ɵf = DialogComponent;
|
|
12789
|
+
exports.ɵg = ConfirmDialogComponent;
|
|
12790
|
+
exports.ɵh = BaseRadio;
|
|
12791
|
+
exports.ɵi = InputAddonBeforeDirective;
|
|
12792
|
+
exports.ɵj = InputAddonAfterDirective;
|
|
12793
|
+
exports.ɵk = InputPrefixDirective;
|
|
12794
|
+
exports.ɵl = InputSuffixDirective;
|
|
12795
|
+
exports.ɵm = SharedModule;
|
|
12796
|
+
exports.ɵn = ClickOutsideDirective;
|
|
12797
|
+
exports.ɵo = AutosizeDirective;
|
|
12798
|
+
exports.ɵp = BaseSelect;
|
|
12799
|
+
exports.ɵq = MenuGroupTitleDirective;
|
|
12800
|
+
exports.ɵr = MessageWrapperComponent;
|
|
12801
|
+
exports.ɵs = MessageComponent;
|
|
12802
|
+
exports.ɵt = MessageAnimations;
|
|
12803
|
+
exports.ɵu = BaseMessage;
|
|
12804
|
+
exports.ɵv = NotificationWrapperComponent;
|
|
12805
|
+
exports.ɵw = VirtualForOfDirective;
|
|
12806
|
+
exports.ɵx = _isNumberValue;
|
|
12807
|
+
exports.ɵy = DatePickerComponent;
|
|
12802
12808
|
|
|
12803
12809
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12804
12810
|
|