@po-ui/ng-components 18.19.0 → 18.19.1
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/esm2022/lib/components/po-field/po-combo/po-combo.component.mjs +41 -41
- package/esm2022/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +23 -23
- package/esm2022/lib/components/po-field/po-lookup/po-lookup.component.mjs +38 -47
- package/esm2022/lib/po.module.mjs +3 -12
- package/esm2022/lib/services/po-theme/enum/po-theme-type.enum.mjs +1 -4
- package/esm2022/lib/services/po-theme/helpers/po-theme-dark-defaults.constant.mjs +203 -0
- package/esm2022/lib/services/po-theme/helpers/po-theme-light-defaults.constant.mjs +134 -0
- package/esm2022/lib/services/po-theme/helpers/po-theme-poui.constant.mjs +13 -29
- package/esm2022/lib/services/po-theme/index.mjs +4 -7
- package/esm2022/lib/services/po-theme/interfaces/po-theme.interface.mjs +1 -1
- package/esm2022/lib/services/po-theme/po-theme.service.mjs +32 -216
- package/fesm2022/po-ui-ng-components.mjs +555 -816
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/po.module.d.ts +0 -3
- package/lib/services/po-theme/enum/po-theme-type.enum.d.ts +0 -3
- package/lib/services/po-theme/helpers/{types/po-theme-dark-defaults.constant.d.ts → po-theme-dark-defaults.constant.d.ts} +11 -4
- package/lib/services/po-theme/helpers/po-theme-light-defaults.constant.d.ts +41 -0
- package/lib/services/po-theme/helpers/po-theme-poui.constant.d.ts +1 -5
- package/lib/services/po-theme/index.d.ts +3 -6
- package/lib/services/po-theme/interfaces/po-theme.interface.d.ts +5 -18
- package/lib/services/po-theme/po-theme.service.d.ts +10 -90
- package/package.json +4 -4
- package/po-ui-ng-components-18.19.1.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/esm2022/lib/services/po-theme/enum/po-theme-a11y.enum.mjs +0 -30
- package/esm2022/lib/services/po-theme/helpers/accessibilities/po-theme-default-aa.constant.mjs +0 -14
- package/esm2022/lib/services/po-theme/helpers/accessibilities/po-theme-default-aaa.constant.mjs +0 -18
- package/esm2022/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.mjs +0 -210
- package/esm2022/lib/services/po-theme/helpers/types/po-theme-light-defaults.constant.mjs +0 -114
- package/lib/services/po-theme/enum/po-theme-a11y.enum.d.ts +0 -28
- package/lib/services/po-theme/helpers/accessibilities/po-theme-default-aa.constant.d.ts +0 -10
- package/lib/services/po-theme/helpers/accessibilities/po-theme-default-aaa.constant.d.ts +0 -14
- package/lib/services/po-theme/helpers/types/po-theme-light-defaults.constant.d.ts +0 -25
- package/po-ui-ng-components-18.19.0.tgz +0 -0
|
@@ -19622,36 +19622,6 @@ class PoNotificationModule {
|
|
|
19622
19622
|
}], null, null); })();
|
|
19623
19623
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoNotificationModule, { imports: [CommonModule, PoButtonModule, PoIconModule, PoToasterModule] }); })();
|
|
19624
19624
|
|
|
19625
|
-
/**
|
|
19626
|
-
* Enum para definir os níveis de acessibilidade suportados pelo serviço de temas.
|
|
19627
|
-
*
|
|
19628
|
-
* @usedBy PoThemeService
|
|
19629
|
-
*
|
|
19630
|
-
* @example
|
|
19631
|
-
*
|
|
19632
|
-
* Em um serviço de tema, você pode usar este enum de acessibilidade para alternar entre os níveis de temas suportados.
|
|
19633
|
-
*
|
|
19634
|
-
* ```
|
|
19635
|
-
* import { PoThemeA11yEnum } from '@po-ui/theme';
|
|
19636
|
-
*
|
|
19637
|
-
* // Definindo o nível de acessibilidade ao setar o tema junto com o tipo
|
|
19638
|
-
* themeService.setTheme(...theme, ...type, PoThemeA11yEnum.AA);
|
|
19639
|
-
*
|
|
19640
|
-
* // Definir o tema junto com o nível de acessibilidade
|
|
19641
|
-
* themeService.setThemeA11y(...theme, PoThemeA11yEnum.AAA);
|
|
19642
|
-
*
|
|
19643
|
-
* // Definir o nível de acessibilidade de um tema já aplicado
|
|
19644
|
-
* themeService.setCurrentThemeA11y(PoThemeA11yEnum.AAA);
|
|
19645
|
-
* ```
|
|
19646
|
-
*/
|
|
19647
|
-
var PoThemeA11yEnum;
|
|
19648
|
-
(function (PoThemeA11yEnum) {
|
|
19649
|
-
/** Nível de acessibilidade duplo A (AA) */
|
|
19650
|
-
PoThemeA11yEnum["AA"] = "AA";
|
|
19651
|
-
/** Nível de acessibilidade triplo A (AAA) */
|
|
19652
|
-
PoThemeA11yEnum["AAA"] = "AAA";
|
|
19653
|
-
})(PoThemeA11yEnum || (PoThemeA11yEnum = {}));
|
|
19654
|
-
|
|
19655
19625
|
/**
|
|
19656
19626
|
* Enum para definir os tipos de tema suportados pelo serviço de temas.
|
|
19657
19627
|
*
|
|
@@ -19669,9 +19639,6 @@ var PoThemeA11yEnum;
|
|
|
19669
19639
|
*
|
|
19670
19640
|
* // Definindo o tipo de tema para dark
|
|
19671
19641
|
* themeService.setTheme(...theme, PoThemeTypeEnum.dark);
|
|
19672
|
-
*
|
|
19673
|
-
* // Definir o tipo do tema de um tema já aplicado
|
|
19674
|
-
* themeService.setCurrentThemeType(PoThemeTypeEnum.dark);
|
|
19675
19642
|
* ```
|
|
19676
19643
|
*/
|
|
19677
19644
|
var PoThemeTypeEnum;
|
|
@@ -19682,38 +19649,6 @@ var PoThemeTypeEnum;
|
|
|
19682
19649
|
PoThemeTypeEnum[PoThemeTypeEnum["dark"] = 1] = "dark";
|
|
19683
19650
|
})(PoThemeTypeEnum || (PoThemeTypeEnum = {}));
|
|
19684
19651
|
|
|
19685
|
-
/**
|
|
19686
|
-
* Define estilos específicos por componente e onRoot para temas de acessibilidade AA.
|
|
19687
|
-
*/
|
|
19688
|
-
const poThemeDefaultAA = {
|
|
19689
|
-
perComponent: {},
|
|
19690
|
-
onRoot: {
|
|
19691
|
-
/*------------------------------------*\
|
|
19692
|
-
COMMON
|
|
19693
|
-
\*------------------------------------*/
|
|
19694
|
-
'--outline-width': 'var(--border-width-md)',
|
|
19695
|
-
'--outline-width-focus-visible': 'var(--border-width-md)'
|
|
19696
|
-
}
|
|
19697
|
-
};
|
|
19698
|
-
|
|
19699
|
-
/**
|
|
19700
|
-
* Define estilos específicos por componente e onRoot para temas de acessibilidade AAA.
|
|
19701
|
-
*/
|
|
19702
|
-
const poThemeDefaultAAA = {
|
|
19703
|
-
perComponent: {},
|
|
19704
|
-
onRoot: {
|
|
19705
|
-
/*------------------------------------*\
|
|
19706
|
-
FONT
|
|
19707
|
-
\*------------------------------------*/
|
|
19708
|
-
'--font-family': 'Roboto',
|
|
19709
|
-
'--font-family-theme': 'Roboto',
|
|
19710
|
-
'--font-family-theme-bold': 'Roboto-Bold',
|
|
19711
|
-
'--font-family-theme-extra-light': 'Roboto-Condensed-Light',
|
|
19712
|
-
'--font-family-heading': 'Roboto',
|
|
19713
|
-
'--font-family-code': 'Monospace'
|
|
19714
|
-
}
|
|
19715
|
-
};
|
|
19716
|
-
|
|
19717
19652
|
/**
|
|
19718
19653
|
* Define as cores de ação padrão para temas claros.
|
|
19719
19654
|
*/
|
|
@@ -19799,9 +19734,6 @@ const poThemeDefaultFeedback = {
|
|
|
19799
19734
|
darkest: '#473400'
|
|
19800
19735
|
}
|
|
19801
19736
|
};
|
|
19802
|
-
/**
|
|
19803
|
-
* Define as cores da Brand padrão para temas claros.
|
|
19804
|
-
*/
|
|
19805
19737
|
const poThemeDefaultBrands = {
|
|
19806
19738
|
'01': {
|
|
19807
19739
|
lightest: '#f2eaf6',
|
|
@@ -19820,219 +19752,33 @@ const poThemeDefaultBrands = {
|
|
|
19820
19752
|
}
|
|
19821
19753
|
};
|
|
19822
19754
|
/**
|
|
19823
|
-
* Define estilos específicos por componente e onRoot para temas claros
|
|
19755
|
+
* Define estilos específicos por componente e onRoot para temas claros.
|
|
19824
19756
|
*/
|
|
19825
19757
|
const poThemeDefaultLightValues = {
|
|
19826
19758
|
perComponent: {},
|
|
19827
|
-
onRoot: {}
|
|
19828
|
-
};
|
|
19829
|
-
|
|
19830
|
-
/**
|
|
19831
|
-
* Define as cores de ação padrão para temas escuros.
|
|
19832
|
-
*/
|
|
19833
|
-
const poThemeDefaultActionsDark = {
|
|
19834
|
-
/** Cor padrão. */
|
|
19835
|
-
default: 'var(--color-brand-01-dark)',
|
|
19836
|
-
/** Cor ao passar o mouse. */
|
|
19837
|
-
hover: 'var(--color-brand-01-darker)',
|
|
19838
|
-
/** Cor quando pressionado. */
|
|
19839
|
-
pressed: 'var(--color-brand-01-darkest)',
|
|
19840
|
-
/** Cor quando desabilitado. */
|
|
19841
|
-
disabled: 'var(--color-neutral-mid-40)',
|
|
19842
|
-
/** Cor ao focar. */
|
|
19843
|
-
focus: 'var(--color-brand-01-darkest)'
|
|
19844
|
-
};
|
|
19845
|
-
/**
|
|
19846
|
-
* Define as cores neutras padrão para temas escuros.
|
|
19847
|
-
*/
|
|
19848
|
-
const poThemeDefaultNeutralsDark = {
|
|
19849
|
-
/** Tons de cinza claro. */
|
|
19850
|
-
light: {
|
|
19851
|
-
'00': '#1c1c1c',
|
|
19852
|
-
'05': '#202020',
|
|
19853
|
-
'10': '#2b2b2b',
|
|
19854
|
-
'20': '#3b3b3b',
|
|
19855
|
-
'30': '#5a5a5a'
|
|
19856
|
-
},
|
|
19857
|
-
/** Tons de cinza intermediários. */
|
|
19858
|
-
mid: {
|
|
19859
|
-
'40': '#7c7c7c',
|
|
19860
|
-
'60': '#a1a1a1'
|
|
19861
|
-
},
|
|
19862
|
-
/** Tons de cinza escuro. */
|
|
19863
|
-
dark: {
|
|
19864
|
-
'70': '#c1c1c1',
|
|
19865
|
-
'80': '#d9d9d9',
|
|
19866
|
-
'90': '#eeeeee',
|
|
19867
|
-
'95': '#fbfbfb'
|
|
19868
|
-
}
|
|
19869
|
-
};
|
|
19870
|
-
/**
|
|
19871
|
-
* Define as cores de feedback padrão para temas escuros.
|
|
19872
|
-
*/
|
|
19873
|
-
const poThemeDefaultFeedbackDark = {
|
|
19874
|
-
/** Cores para feedback negativo. */
|
|
19875
|
-
negative: {
|
|
19876
|
-
lightest: '#4a1512',
|
|
19877
|
-
lighter: '#72211d',
|
|
19878
|
-
light: '#9b2d27',
|
|
19879
|
-
base: '#be3e37',
|
|
19880
|
-
dark: '#d58581',
|
|
19881
|
-
darker: '#e3aeab',
|
|
19882
|
-
darkest: '#f6e6e5'
|
|
19883
|
-
},
|
|
19884
|
-
/** Cores para feedback informativo. */
|
|
19885
|
-
info: {
|
|
19886
|
-
lightest: '#081536',
|
|
19887
|
-
lighter: '#0f2557',
|
|
19888
|
-
light: '#173782',
|
|
19889
|
-
base: '#0079b8',
|
|
19890
|
-
dark: '#7996d7',
|
|
19891
|
-
darker: '#b0c1e8',
|
|
19892
|
-
darkest: '#e3e9f7'
|
|
19893
|
-
},
|
|
19894
|
-
/** Cores para feedback positivo. */
|
|
19895
|
-
positive: {
|
|
19896
|
-
lightest: '#002415',
|
|
19897
|
-
lighter: '#083a25',
|
|
19898
|
-
light: '#0f5236',
|
|
19899
|
-
base: '#107048',
|
|
19900
|
-
dark: '#41b483',
|
|
19901
|
-
darker: '#7ecead',
|
|
19902
|
-
darkest: '#def7ed'
|
|
19903
|
-
},
|
|
19904
|
-
/** Cores para feedback de aviso. */
|
|
19905
|
-
warning: {
|
|
19906
|
-
lightest: '#473400',
|
|
19907
|
-
lighter: '#705200',
|
|
19908
|
-
light: '#d8a20e',
|
|
19909
|
-
base: '#efba2a',
|
|
19910
|
-
dark: '#f1cd6a',
|
|
19911
|
-
darker: '#f7dd97',
|
|
19912
|
-
darkest: '#fcf6e3'
|
|
19913
|
-
}
|
|
19914
|
-
};
|
|
19915
|
-
const poThemeDefaultBrandsDark = {
|
|
19916
|
-
'01': {
|
|
19917
|
-
lightest: '#260538',
|
|
19918
|
-
lighter: '#400e58',
|
|
19919
|
-
light: '#5b1c7d',
|
|
19920
|
-
base: '#753399',
|
|
19921
|
-
dark: '#bd94d1',
|
|
19922
|
-
darker: '#d9c2e5',
|
|
19923
|
-
darkest: '#f2eaf6'
|
|
19924
|
-
},
|
|
19925
|
-
'02': {
|
|
19926
|
-
base: '#b92f72'
|
|
19927
|
-
},
|
|
19928
|
-
'03': {
|
|
19929
|
-
base: '#ffd464'
|
|
19930
|
-
}
|
|
19931
|
-
};
|
|
19932
|
-
/**
|
|
19933
|
-
* Define estilos específicos por componente e onRoot para temas escuros.
|
|
19934
|
-
*/
|
|
19935
|
-
const poThemeDefaultDarkValues = {
|
|
19936
|
-
perComponent: {
|
|
19937
|
-
/** TAB */
|
|
19938
|
-
'.po-tab-border-active': {
|
|
19939
|
-
'background-color': 'var(--color)'
|
|
19940
|
-
},
|
|
19941
|
-
/** GAUGE */
|
|
19942
|
-
'.po-gauge-wrapper': {
|
|
19943
|
-
'background-color': 'var(--color-neutral-light-00)'
|
|
19944
|
-
},
|
|
19945
|
-
/** OVERLAY */
|
|
19946
|
-
'po-overlay': {
|
|
19947
|
-
'--color-overlay': 'var(--color-neutral-light-20)'
|
|
19948
|
-
},
|
|
19949
|
-
/** MODAL */
|
|
19950
|
-
'po-modal': {
|
|
19951
|
-
'--color-overlay': 'var(--color-neutral-light-20)'
|
|
19952
|
-
},
|
|
19953
|
-
/** TOASTER */
|
|
19954
|
-
'po-toaster': {
|
|
19955
|
-
'--color-icon': 'var(--color-neutral-dark-80)',
|
|
19956
|
-
'--color-icon-warning': 'var(--color-neutral-light-00)'
|
|
19957
|
-
},
|
|
19958
|
-
/** BADGE */
|
|
19959
|
-
'po-badge': {
|
|
19960
|
-
'--color': 'var(--color-neutral-dark-95)'
|
|
19961
|
-
},
|
|
19962
|
-
'po-badge[p-status=warning]': {
|
|
19963
|
-
'--color': 'var(--color-neutral-light-00)'
|
|
19964
|
-
},
|
|
19965
|
-
// CHART: AXIS LABEL
|
|
19966
|
-
'po-chart po-chart-container > svg .po-chart-axis-x-label, .po-chart-axis-y-label': {
|
|
19967
|
-
'fill': 'var(--color-neutral-dark-95)'
|
|
19968
|
-
},
|
|
19969
|
-
// LINK: item visitado
|
|
19970
|
-
'po-link': {
|
|
19971
|
-
'--text-color-visited': 'var(--color-action-default)'
|
|
19972
|
-
},
|
|
19973
|
-
// focus e outline: po-rich-text-body/ poinfo/ po-list-view/ po-stepper-circle (mudar no po-style)
|
|
19974
|
-
'po-rich-text-body .po-rich-text-body:focus-visible, po-info .po-info-link:focus-visible, po-list-view a.po-list-view-title-link:focus-visible, po-stepper-circle .po-stepper-circle:focus-visible': {
|
|
19975
|
-
'border-color': 'var(--color-action-default);',
|
|
19976
|
-
'outline-color': 'var(--color-action-focus);',
|
|
19977
|
-
'outline-width': 'var(--outline-width-focus-visible);',
|
|
19978
|
-
'outline-style': 'solid;',
|
|
19979
|
-
'outline-offset': '2px;'
|
|
19980
|
-
},
|
|
19981
|
-
// background container
|
|
19982
|
-
'po-container': {
|
|
19983
|
-
'--background': 'var(--color-neutral-light-00);'
|
|
19984
|
-
},
|
|
19985
|
-
// Background input disabled
|
|
19986
|
-
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
|
|
19987
|
-
'--background-disabled': 'var(--color-neutral-light-20);'
|
|
19988
|
-
},
|
|
19989
|
-
// autocomplete dos inputs (setar no po-style)
|
|
19990
|
-
'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
|
|
19991
|
-
'-webkit-background-clip': 'text',
|
|
19992
|
-
'-webkit-text-fill-color': '#ffffff',
|
|
19993
|
-
'transition': 'background-color 5000s ease-in-out 0s',
|
|
19994
|
-
'box-shadow': 'inset 0 0 20px 20px #23232329'
|
|
19995
|
-
},
|
|
19996
|
-
'po-overlay, po-page-slide': {
|
|
19997
|
-
'--color-overlay': 'var(--color-neutral-light-05)'
|
|
19998
|
-
},
|
|
19999
|
-
/** SELECT */
|
|
20000
|
-
'po-select': {
|
|
20001
|
-
'--color-hover': 'var(--color-action-hover);'
|
|
20002
|
-
}
|
|
20003
|
-
},
|
|
20004
19759
|
onRoot: {
|
|
20005
|
-
/*
|
|
20006
|
-
'--color-
|
|
20007
|
-
'--color-
|
|
20008
|
-
'--color-
|
|
20009
|
-
'--color-
|
|
20010
|
-
'--color-
|
|
20011
|
-
'--color-
|
|
20012
|
-
'--color-secondary-dark-80': 'var(--color-brand-01-darkest)',
|
|
20013
|
-
'--color-black-alpha-10': 'rgba(255, 255, 255, 0.1)',
|
|
20014
|
-
'--color-black-alpha-15': 'rgba(255, 255, 255, 0.15)',
|
|
20015
|
-
'--color-black-alpha-30': 'rgba(255, 255, 255, 0.3)',
|
|
20016
|
-
'--color-primary-light-80': 'color-mix(in srgb, var(--color-brand-02-base) 80%, black)',
|
|
20017
|
-
'--color-primary-light-95': 'color-mix(in srgb, var(--color-brand-02-base) 95%, black)',
|
|
20018
|
-
'--color-primary-alpha-50': 'color-mix(in srgb, var(--color-brand-02-base) 50%, white)',
|
|
20019
|
-
'--color-primary-dark-20': 'color-mix(in srgb, var(--color-brand-02-base) 20%, white)',
|
|
20020
|
-
'--color-primary-dark-40': 'color-mix(in srgb, var(--color-brand-02-base) 40%, white)',
|
|
20021
|
-
'--color-secondary-dark-60-alpha-70': 'color-mix(in srgb, var(--color-neutral-mid-60) 70%, white)',
|
|
20022
|
-
'--color-tertiary-light-90': 'color-mix(in srgb, var(--color-brand-03-base) 90%, black)',
|
|
20023
|
-
'--color-tertiary-dark-5': 'color-mix(in srgb, var(--color-brand-03-base) 5%, white)',
|
|
20024
|
-
/* PAGE */
|
|
20025
|
-
'--color-page-background-color-page': 'var(--color-neutral-light-05)',
|
|
20026
|
-
/* TOOLBAR BADGE */
|
|
20027
|
-
'--color-toolbar-color-badge-text': 'var(--color-neutral-dark-95)',
|
|
20028
|
-
/* POPOVER */
|
|
20029
|
-
'--shadow-popover-box-shadow': '0 0 4px 0 var(--color-neutral-light-20)',
|
|
20030
|
-
'--shadow-popover-box-shadow-arrow': '-1px -1px 1px 0 var(--color-neutral-light-20)',
|
|
19760
|
+
/* WIDGET */
|
|
19761
|
+
'--color-widget-color-action-active': 'var(--color-primary-dark-20)',
|
|
19762
|
+
'--color-widget-color-action-hover': 'var(--color-primary-dark-20)',
|
|
19763
|
+
'--color-widget-color-action': 'var(--color-brand-02-base)',
|
|
19764
|
+
'--color-widget-color-default': 'var(--color-neutral-dark-70)',
|
|
19765
|
+
'--color-widget-color-title-action': 'var(--color-brand-02-base)',
|
|
19766
|
+
'--color-widget-color-widget-primary': 'var(--color-neutral-dark-90)',
|
|
20031
19767
|
/* CALENDAR */
|
|
20032
|
-
'--color-calendar-
|
|
20033
|
-
|
|
20034
|
-
'--color-
|
|
20035
|
-
'--color-
|
|
19768
|
+
'--color-calendar-arrow': 'var(--color-brand-02-base)',
|
|
19769
|
+
'--color-calendar-title': 'var(--color-brand-02-base)',
|
|
19770
|
+
'--color-calendar-text-box-background-active': 'var(--color-neutral-dark-90)',
|
|
19771
|
+
'--color-calendar-background-color-border-today': 'var(--color-brand-02-base)',
|
|
19772
|
+
'--color-calendar-color-box-foreground': 'var(--color-neutral-dark-70)',
|
|
19773
|
+
'--color-calendar-color-box-foreground-selected': 'var(--color-neutral-dark-90)',
|
|
19774
|
+
'--color-calendar-color-box-foreground-pressed': 'var(--color-neutral-dark-90)',
|
|
19775
|
+
'--color-calendar-color-box-foreground-range': 'var(--color-brand-02-base)',
|
|
19776
|
+
'--color-calendar-color-box-foreground-today': 'var(--color-brand-02-base)',
|
|
19777
|
+
/* TOOLBAR */
|
|
19778
|
+
'--color-toolbar-color-default': 'var(--color-brand-02-base)',
|
|
19779
|
+
'--color-toolbar-color-title': 'var(--color-action-default)',
|
|
19780
|
+
/* CALENDAR */
|
|
19781
|
+
'--color-calendar-background-color-box-background-range': 'var(--color-primary-light-80)'
|
|
20036
19782
|
}
|
|
20037
19783
|
};
|
|
20038
19784
|
|
|
@@ -20045,17 +19791,12 @@ const poThemeDefaultLight = {
|
|
|
20045
19791
|
action: poThemeDefaultActions,
|
|
20046
19792
|
neutral: poThemeDefaultNeutrals,
|
|
20047
19793
|
feedback: poThemeDefaultFeedback
|
|
20048
|
-
}
|
|
20049
|
-
|
|
20050
|
-
|
|
20051
|
-
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
color: {
|
|
20055
|
-
brand: poThemeDefaultBrandsDark,
|
|
20056
|
-
action: poThemeDefaultActionsDark,
|
|
20057
|
-
neutral: poThemeDefaultNeutralsDark,
|
|
20058
|
-
feedback: poThemeDefaultFeedbackDark
|
|
19794
|
+
},
|
|
19795
|
+
perComponent: {
|
|
19796
|
+
...poThemeDefaultLightValues.perComponent
|
|
19797
|
+
},
|
|
19798
|
+
onRoot: {
|
|
19799
|
+
...poThemeDefaultLightValues.onRoot
|
|
20059
19800
|
}
|
|
20060
19801
|
};
|
|
20061
19802
|
/**
|
|
@@ -20063,19 +19804,10 @@ const poThemeDefaultDark = {
|
|
|
20063
19804
|
*/
|
|
20064
19805
|
const poThemeDefault = {
|
|
20065
19806
|
name: 'default',
|
|
20066
|
-
type:
|
|
20067
|
-
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
a11y: PoThemeA11yEnum.AAA
|
|
20071
|
-
},
|
|
20072
|
-
{
|
|
20073
|
-
light: poThemeDefaultLight,
|
|
20074
|
-
dark: poThemeDefaultDark,
|
|
20075
|
-
a11y: PoThemeA11yEnum.AA
|
|
20076
|
-
}
|
|
20077
|
-
],
|
|
20078
|
-
active: { type: PoThemeTypeEnum.light, a11y: PoThemeA11yEnum.AAA }
|
|
19807
|
+
type: {
|
|
19808
|
+
light: poThemeDefaultLight
|
|
19809
|
+
},
|
|
19810
|
+
active: PoThemeTypeEnum.light
|
|
20079
19811
|
};
|
|
20080
19812
|
|
|
20081
19813
|
/**
|
|
@@ -20100,7 +19832,7 @@ class PoThemeService {
|
|
|
20100
19832
|
window;
|
|
20101
19833
|
document;
|
|
20102
19834
|
renderer;
|
|
20103
|
-
theme;
|
|
19835
|
+
theme = poThemeDefault;
|
|
20104
19836
|
_iconToken;
|
|
20105
19837
|
get iconNameLib() {
|
|
20106
19838
|
return this._iconToken.NAME_LIB;
|
|
@@ -20110,37 +19842,24 @@ class PoThemeService {
|
|
|
20110
19842
|
this.document = document;
|
|
20111
19843
|
this.renderer = rendererFactory.createRenderer(null, null);
|
|
20112
19844
|
this._iconToken = value ?? PhosphorIconDictionary;
|
|
20113
|
-
|
|
20114
|
-
|
|
20115
|
-
|
|
20116
|
-
|
|
20117
|
-
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
this.setPerComponentAndOnRoot({ type: PoThemeTypeEnum.dark }, poThemeDefaultDarkValues.perComponent, poThemeDefaultDarkValues.onRoot);
|
|
20125
|
-
}
|
|
20126
|
-
/**
|
|
20127
|
-
* Aplica um tema ao componente de acordo com o tipo de tema e o nível de acessibilidade especificados.
|
|
20128
|
-
*
|
|
20129
|
-
* Este método configura o tema do componente com base no objeto `themeConfig` fornecido, no `themeType` e no `a11yLevel`.
|
|
20130
|
-
* Além disso, ele pode opcionalmente salvar a preferência de tema no localStorage, se solicitado.
|
|
20131
|
-
*
|
|
20132
|
-
* @param {PoTheme} themeConfig - Configuração de tema a ser aplicada ao componente.
|
|
20133
|
-
* @param {PoThemeTypeEnum} [themeType=PoThemeTypeEnum.light] - (Opcional) Tipo de tema, podendo ser 'light' (claro) ou 'dark' (escuro). O tema claro é o padrão.
|
|
20134
|
-
* @param {PoThemeA11yEnum} [a11yLevel=PoThemeA11yEnum.AAA] - (Opcional) Nível de acessibilidade do tema, podendo ser AA ou AAA. Padrão é AAA.
|
|
20135
|
-
* @param {boolean} [persistPreference=true] - (Opcional) Define se a preferência de tema deve ser salva no localStorage para persistência. `true` para salvar, `false` para não salvar.
|
|
20136
|
-
*/
|
|
20137
|
-
setTheme(themeConfig, themeType = PoThemeTypeEnum.light, a11yLevel = PoThemeA11yEnum.AAA, persistPreference = true) {
|
|
19845
|
+
}
|
|
19846
|
+
/**
|
|
19847
|
+
* Define o tema a ser aplicado no componente, de acordo com o tipo de tema especificado.
|
|
19848
|
+
*
|
|
19849
|
+
* Este método define o tema a ser aplicado no componente com base no objeto `theme` fornecido e no tipo de tema especificado.
|
|
19850
|
+
* Ele atualiza as propriedades do componente para refletir o tema selecionado, como cores, estilos e comportamentos.
|
|
19851
|
+
*
|
|
19852
|
+
* @param {PoTheme} theme - Objeto contendo as definições de tema a serem aplicadas no componente.
|
|
19853
|
+
* @param {PoThemeTypeEnum} [themeType=PoThemeTypeEnum.light] - (Opcional) Tipo de tema a ser aplicado, podendo ser 'light' (claro) ou 'dark' (escuro). Por padrão, o tema claro é aplicado.
|
|
19854
|
+
*/
|
|
19855
|
+
setTheme(theme, themeType = PoThemeTypeEnum.light) {
|
|
20138
19856
|
// Change theme name, remove special characteres and number, replace space with dash
|
|
20139
|
-
|
|
20140
|
-
|
|
20141
|
-
|
|
20142
|
-
|
|
20143
|
-
|
|
19857
|
+
theme.name = theme.name
|
|
19858
|
+
.toLowerCase()
|
|
19859
|
+
.replace(/[^a-zA-Z ]/g, '')
|
|
19860
|
+
.replace(/\s+/g, '-');
|
|
19861
|
+
theme.active = themeType;
|
|
19862
|
+
const _themeType = theme.type[PoThemeTypeEnum[themeType]];
|
|
20144
19863
|
if (!_themeType) {
|
|
20145
19864
|
return;
|
|
20146
19865
|
}
|
|
@@ -20149,91 +19868,14 @@ class PoThemeService {
|
|
|
20149
19868
|
const onRootStyles = _themeType.onRoot ? this.generateAdditionalStyles(_themeType.onRoot) : '';
|
|
20150
19869
|
const additionalStyles = this.generateAdditionalStyles(_themeType);
|
|
20151
19870
|
const combinedStyles = `
|
|
20152
|
-
|
|
19871
|
+
.${theme.name}-${PoThemeTypeEnum[themeType]}:root {
|
|
20153
19872
|
${colorStyles}
|
|
20154
19873
|
${perComponentStyles}
|
|
20155
19874
|
${onRootStyles}
|
|
20156
19875
|
${additionalStyles}
|
|
20157
19876
|
}`;
|
|
20158
19877
|
this.applyThemeStyles(combinedStyles);
|
|
20159
|
-
this.changeThemeType(
|
|
20160
|
-
}
|
|
20161
|
-
/**
|
|
20162
|
-
* @docsPrivate
|
|
20163
|
-
*
|
|
20164
|
-
* Aplica estilos customizados para o componente e para o root HTML, utilizando os tokens definidos.
|
|
20165
|
-
*
|
|
20166
|
-
* Esse método é chamado para inserir ou atualizar estilos no DOM, aplicando tanto tokens de `onRoot` (ex: `--font-family: 'Roboto'`)
|
|
20167
|
-
* quanto estilos específicos de componentes (`perComponent`, como `po-listbox [hidden]: { display: 'flex !important' }`).
|
|
20168
|
-
*
|
|
20169
|
-
* O seletor CSS gerado leva em consideração o tema (`type`) e as configurações de acessibilidade (`a11y`) do tema ativo.
|
|
20170
|
-
* A classe do tema é aplicada no HTML e pode ser formatada como `html[class*="-light-AA"]` para personalizações
|
|
20171
|
-
* em temas específicos.
|
|
20172
|
-
*
|
|
20173
|
-
* @param {PoThemeActive} active - Objeto que define o tema ativo, com `type` e `a11y`.
|
|
20174
|
-
* @param {any} perComponent - Objeto contendo os estilos específicos para componentes a serem aplicados.
|
|
20175
|
-
* @param {any} onRoot - Objeto contendo tokens de estilo que serão aplicados diretamente no seletor `:root` do HTML.
|
|
20176
|
-
*
|
|
20177
|
-
* @example
|
|
20178
|
-
*
|
|
20179
|
-
* // Exemplo de utilização com um tema ativo e tokens de estilo
|
|
20180
|
-
* const themeActive = { type: 'light', a11y: 'AA' };
|
|
20181
|
-
* const perComponentStyles = {
|
|
20182
|
-
* 'po-listbox [hidden]': {
|
|
20183
|
-
* 'display': 'flex !important'
|
|
20184
|
-
* }
|
|
20185
|
-
* };
|
|
20186
|
-
* const onRootStyles = {
|
|
20187
|
-
* '--font-family': 'Roboto',
|
|
20188
|
-
* '--background-color': '#fff'
|
|
20189
|
-
* };
|
|
20190
|
-
*
|
|
20191
|
-
* this.setPerComponentAndOnRoot(themeActive, perComponentStyles, onRootStyles);
|
|
20192
|
-
*
|
|
20193
|
-
* // Resultado:
|
|
20194
|
-
* // Gera e aplica os seguintes estilos no DOM
|
|
20195
|
-
* // html[class*="-light-AA"]:root {
|
|
20196
|
-
* // --font-family: 'Roboto';
|
|
20197
|
-
* // --background-color: '#fff';
|
|
20198
|
-
* // po-listbox [hidden] {
|
|
20199
|
-
* // display: flex !important;
|
|
20200
|
-
* // }
|
|
20201
|
-
* // }
|
|
20202
|
-
*
|
|
20203
|
-
*/
|
|
20204
|
-
setPerComponentAndOnRoot(active, perComponent, onRoot) {
|
|
20205
|
-
const perComponentStyles = perComponent ? this.generatePerComponentStyles(perComponent) : '';
|
|
20206
|
-
const onRootStyles = onRoot ? this.generateAdditionalStyles(onRoot) : '';
|
|
20207
|
-
let selector = 'html';
|
|
20208
|
-
const typeSelector = active?.type !== undefined ? `-${PoThemeTypeEnum[active.type]}` : '';
|
|
20209
|
-
const accessibilitySelector = active?.a11y !== undefined ? `-${PoThemeA11yEnum[active.a11y]}` : '';
|
|
20210
|
-
if (typeSelector && accessibilitySelector) {
|
|
20211
|
-
selector += `[class*="${typeSelector}${accessibilitySelector}"]`;
|
|
20212
|
-
}
|
|
20213
|
-
else if (!typeSelector && accessibilitySelector) {
|
|
20214
|
-
selector += `[class$="${accessibilitySelector}"]`;
|
|
20215
|
-
}
|
|
20216
|
-
else if (typeSelector) {
|
|
20217
|
-
selector += `[class*="${typeSelector}"]`;
|
|
20218
|
-
}
|
|
20219
|
-
const styleCss = `
|
|
20220
|
-
${selector}:root {
|
|
20221
|
-
${perComponentStyles}
|
|
20222
|
-
${onRootStyles}
|
|
20223
|
-
}
|
|
20224
|
-
`;
|
|
20225
|
-
let styleElement = this.document.head.querySelector('#baseStyle');
|
|
20226
|
-
if (!styleElement) {
|
|
20227
|
-
styleElement = this.renderer.createElement('style');
|
|
20228
|
-
styleElement.id = 'baseStyle';
|
|
20229
|
-
this.renderer.appendChild(styleElement, this.renderer.createText(styleCss));
|
|
20230
|
-
this.renderer.appendChild(this.document.head, styleElement);
|
|
20231
|
-
}
|
|
20232
|
-
else {
|
|
20233
|
-
if (!styleElement.textContent.includes(styleCss.trim())) {
|
|
20234
|
-
this.renderer.appendChild(styleElement, this.renderer.createText(styleCss));
|
|
20235
|
-
}
|
|
20236
|
-
}
|
|
19878
|
+
this.changeThemeType(theme);
|
|
20237
19879
|
}
|
|
20238
19880
|
/**
|
|
20239
19881
|
* @docsPrivate
|
|
@@ -20255,23 +19897,17 @@ class PoThemeService {
|
|
|
20255
19897
|
* @param styleCss Os estilos CSS a serem aplicados.
|
|
20256
19898
|
*/
|
|
20257
19899
|
applyThemeStyles(styleCss) {
|
|
20258
|
-
const styleElement = this.createStyleElement(styleCss
|
|
20259
|
-
const existingStyleElement = document.head.querySelector('#
|
|
19900
|
+
const styleElement = this.createStyleElement(styleCss);
|
|
19901
|
+
const existingStyleElement = document.head.querySelector('#pouiTheme');
|
|
20260
19902
|
if (existingStyleElement) {
|
|
20261
19903
|
this.renderer.removeChild(document.head, existingStyleElement);
|
|
20262
19904
|
}
|
|
20263
19905
|
this.renderer.appendChild(document.head, styleElement);
|
|
20264
19906
|
}
|
|
20265
|
-
changeThemeType(theme
|
|
20266
|
-
this.cleanThemeActive(
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
}
|
|
20270
|
-
document
|
|
20271
|
-
.getElementsByTagName('html')[0]
|
|
20272
|
-
.classList.add(...[
|
|
20273
|
-
`${theme.name}-${PoThemeTypeEnum[this.getActiveTypeFromTheme(theme.active)]}-${PoThemeA11yEnum[this.getActiveA11yFromTheme(theme.active)]}`
|
|
20274
|
-
]);
|
|
19907
|
+
changeThemeType(theme) {
|
|
19908
|
+
this.cleanThemeActive();
|
|
19909
|
+
this.setThemeActive(theme);
|
|
19910
|
+
document.getElementsByTagName('html')[0].classList.add(...[`${theme.name}-${PoThemeTypeEnum[theme.active]}`]);
|
|
20275
19911
|
}
|
|
20276
19912
|
/**
|
|
20277
19913
|
* Persiste e define o tema do aplicativo com base nos dados armazenados.
|
|
@@ -20282,35 +19918,9 @@ class PoThemeService {
|
|
|
20282
19918
|
*/
|
|
20283
19919
|
persistThemeActive() {
|
|
20284
19920
|
const _theme = this.getThemeActive();
|
|
20285
|
-
this.setTheme(_theme,
|
|
19921
|
+
this.setTheme(_theme, _theme.active);
|
|
20286
19922
|
return _theme;
|
|
20287
19923
|
}
|
|
20288
|
-
formatTheme(themeConfig, themeType, a11yLevel) {
|
|
20289
|
-
themeConfig.name = themeConfig.name
|
|
20290
|
-
.toLowerCase()
|
|
20291
|
-
.replace(/[^a-zA-Z ]/g, '')
|
|
20292
|
-
.replace(/\s+/g, '-');
|
|
20293
|
-
themeConfig.active = { type: themeType, a11y: a11yLevel };
|
|
20294
|
-
}
|
|
20295
|
-
applyTheme(theme) {
|
|
20296
|
-
const _localTheme = this.getThemeActive();
|
|
20297
|
-
if (!theme) {
|
|
20298
|
-
if (_localTheme) {
|
|
20299
|
-
this.persistThemeActive();
|
|
20300
|
-
return _localTheme;
|
|
20301
|
-
}
|
|
20302
|
-
return undefined;
|
|
20303
|
-
}
|
|
20304
|
-
const _type = this.getActiveTypeFromTheme(theme.active);
|
|
20305
|
-
const _accessibility = this.getActiveA11yFromTheme(theme.active);
|
|
20306
|
-
if (_localTheme && JSON.stringify(_localTheme) === JSON.stringify(theme)) {
|
|
20307
|
-
this.persistThemeActive();
|
|
20308
|
-
return _localTheme;
|
|
20309
|
-
}
|
|
20310
|
-
this.formatTheme(theme, _type, _accessibility);
|
|
20311
|
-
this.setTheme(theme, _type, _accessibility);
|
|
20312
|
-
return theme;
|
|
20313
|
-
}
|
|
20314
19924
|
/**
|
|
20315
19925
|
* Altera o tipo do tema armazenado e aplica os novos estilos ao documento.
|
|
20316
19926
|
*
|
|
@@ -20320,35 +19930,17 @@ class PoThemeService {
|
|
|
20320
19930
|
*/
|
|
20321
19931
|
changeCurrentThemeType(type) {
|
|
20322
19932
|
const _theme = this.getThemeActive();
|
|
20323
|
-
|
|
19933
|
+
_theme.active = type;
|
|
20324
19934
|
this.changeThemeType(_theme);
|
|
20325
19935
|
}
|
|
20326
19936
|
/**
|
|
20327
19937
|
* Método remove o tema armazenado e limpa todos os estilos de tema
|
|
20328
19938
|
* aplicados ao documento.
|
|
20329
|
-
*
|
|
20330
|
-
* @param {boolean} [persistPreference=true] - (Opcional) Define se a preferência de tema não deve ser mantida no localStorage para persistência. `true` para remover, `false` para manter.
|
|
20331
19939
|
*/
|
|
20332
|
-
cleanThemeActive(
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
20336
|
-
// Converte `classList` em um array e remove as classes que terminam com os sufixos especificados
|
|
20337
|
-
Array.from(htmlElement.classList).forEach(className => {
|
|
20338
|
-
if (themeSuffixes.some(suffix => className.includes(suffix))) {
|
|
20339
|
-
htmlElement.classList.remove(className);
|
|
20340
|
-
}
|
|
20341
|
-
});
|
|
20342
|
-
// Remove o tema ativo do localStorage
|
|
20343
|
-
if (persistPreference) {
|
|
20344
|
-
localStorage.removeItem('totvs-theme');
|
|
20345
|
-
}
|
|
20346
|
-
}
|
|
20347
|
-
getActiveTypeFromTheme(active) {
|
|
20348
|
-
return typeof active === 'object' ? active.type : active;
|
|
20349
|
-
}
|
|
20350
|
-
getActiveA11yFromTheme(active) {
|
|
20351
|
-
return typeof active === 'object' ? active.a11y : PoThemeA11yEnum.AAA;
|
|
19940
|
+
cleanThemeActive() {
|
|
19941
|
+
const _theme = this.getThemeActive();
|
|
19942
|
+
document.getElementsByTagName('html')[0].classList.remove(`${_theme.name}-${PoThemeTypeEnum[_theme.active]}`);
|
|
19943
|
+
localStorage.removeItem('totvs-theme');
|
|
20352
19944
|
}
|
|
20353
19945
|
/**
|
|
20354
19946
|
* @docsPrivate
|
|
@@ -20356,7 +19948,7 @@ class PoThemeService {
|
|
|
20356
19948
|
* Este método define um dados do tema e o armazena.
|
|
20357
19949
|
* @param theme Os tokens de tema contendo os estilos adicionais a serem gerados.
|
|
20358
19950
|
*/
|
|
20359
|
-
|
|
19951
|
+
setThemeActive(theme) {
|
|
20360
19952
|
if (theme) {
|
|
20361
19953
|
localStorage.setItem('totvs-theme', JSON.stringify(theme));
|
|
20362
19954
|
this.theme = theme;
|
|
@@ -20382,13 +19974,12 @@ class PoThemeService {
|
|
|
20382
19974
|
* @docsPrivate
|
|
20383
19975
|
*
|
|
20384
19976
|
* Gera estilos CSS com base nos tokens de cores fornecidos.
|
|
20385
|
-
* @param
|
|
20386
|
-
* @param id id do style a ser aplicado.
|
|
19977
|
+
* @param themeColor Os tokens de cor a serem usados para gerar os estilos.
|
|
20387
19978
|
* @returns Uma string contendo os estilos CSS gerados.
|
|
20388
19979
|
*/
|
|
20389
|
-
createStyleElement(css
|
|
19980
|
+
createStyleElement(css) {
|
|
20390
19981
|
const styleElement = this.renderer.createElement('style');
|
|
20391
|
-
styleElement.id =
|
|
19982
|
+
styleElement.id = 'pouiTheme';
|
|
20392
19983
|
this.renderer.appendChild(styleElement, this.renderer.createText(css));
|
|
20393
19984
|
return styleElement;
|
|
20394
19985
|
}
|
|
@@ -20493,44 +20084,6 @@ class PoThemeService {
|
|
|
20493
20084
|
svg = svg.concat(`%3E%3C/path%3E%3C/svg%3E");`);
|
|
20494
20085
|
return svg;
|
|
20495
20086
|
}
|
|
20496
|
-
/**
|
|
20497
|
-
* Define o tipo (light/dark) quando um tema está sendo aplicado.
|
|
20498
|
-
*
|
|
20499
|
-
* @param {PoTheme} theme - Objeto contendo as definições de tema a serem aplicadas no componente.
|
|
20500
|
-
* @param {PoThemeTypeEnum} [themeType=PoThemeTypeEnum.light] - (Opcional) Tipo de tema a ser aplicado, podendo ser 'light' (claro) ou 'dark' (escuro). Por padrão, o tema claro é aplicado.
|
|
20501
|
-
*/
|
|
20502
|
-
setThemeType(theme, themeType = PoThemeTypeEnum.light) {
|
|
20503
|
-
const _accessibility = typeof theme.active === 'object' ? theme.active.a11y : PoThemeA11yEnum.AAA;
|
|
20504
|
-
this.setTheme(theme, themeType, _accessibility);
|
|
20505
|
-
}
|
|
20506
|
-
/**
|
|
20507
|
-
* Define o tipo (light/dark) para um tema já ativo.
|
|
20508
|
-
*
|
|
20509
|
-
* @param {PoThemeTypeEnum} [themeType=PoThemeTypeEnum.light] - (Opcional) Tipo de tema a ser aplicado, podendo ser 'light' (claro) ou 'dark' (escuro). Por padrão, o tema claro é aplicado.
|
|
20510
|
-
*/
|
|
20511
|
-
setCurrentThemeType(themeType = PoThemeTypeEnum.light) {
|
|
20512
|
-
const _theme = this.getThemeActive();
|
|
20513
|
-
this.setThemeType(_theme, themeType);
|
|
20514
|
-
}
|
|
20515
|
-
/**
|
|
20516
|
-
* Define o nivel de acessibilidade quando um tema está sendo aplicado.
|
|
20517
|
-
*
|
|
20518
|
-
* @param {PoTheme} theme - Objeto contendo as definições de tema a serem aplicadas no componente.
|
|
20519
|
-
* @param {PoThemeA11yEnum} [a11y=PoThemeA11yEnum.AAA] - (Opcional) Nível de acessibilidade a ser aplicado ao tema, como AA ou AAA. Se não for informado, por padrão a acessibilidade será AAA.
|
|
20520
|
-
*/
|
|
20521
|
-
setThemeA11y(theme, a11y = PoThemeA11yEnum.AAA) {
|
|
20522
|
-
const _type = (typeof theme.active === 'object' ? theme.active.type : theme.active) || 0;
|
|
20523
|
-
this.setTheme(theme, _type, a11y);
|
|
20524
|
-
}
|
|
20525
|
-
/**
|
|
20526
|
-
* Define o nivel de acessibilidade para um tema já ativo.
|
|
20527
|
-
*
|
|
20528
|
-
* @param {PoThemeA11yEnum} [a11y=PoThemeA11yEnum.AAA] - (Opcional) Nível de acessibilidade a ser aplicado ao tema, como AA ou AAA. Se não for informado, por padrão a acessibilidade será AAA.
|
|
20529
|
-
*/
|
|
20530
|
-
setCurrentThemeA11y(a11y = PoThemeA11yEnum.AAA) {
|
|
20531
|
-
const _theme = this.getThemeActive();
|
|
20532
|
-
this.setThemeA11y(_theme, a11y);
|
|
20533
|
-
}
|
|
20534
20087
|
static ɵfac = function PoThemeService_Factory(t) { return new (t || PoThemeService)(i0.ɵɵinject('Window'), i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i0.RendererFactory2), i0.ɵɵinject(ICONS_DICTIONARY, 8)); };
|
|
20535
20088
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoThemeService, factory: PoThemeService.ɵfac, providedIn: 'root' });
|
|
20536
20089
|
}
|
|
@@ -29206,9 +28759,9 @@ const _c2$b = ["contentElement"];
|
|
|
29206
28759
|
const _c3$7 = ["iconArrow"];
|
|
29207
28760
|
const _c4$2 = ["inp"];
|
|
29208
28761
|
const _c5 = ["poListbox"];
|
|
29209
|
-
function
|
|
29210
|
-
i0.ɵɵelementStart(0, "div",
|
|
29211
|
-
i0.ɵɵelement(1, "po-icon",
|
|
28762
|
+
function PoComboComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
28763
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
28764
|
+
i0.ɵɵelement(1, "po-icon", 20);
|
|
29212
28765
|
i0.ɵɵelementEnd();
|
|
29213
28766
|
} if (rf & 2) {
|
|
29214
28767
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -29216,50 +28769,50 @@ function PoComboComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
29216
28769
|
i0.ɵɵclassProp("po-field-icon-disabled", ctx_r1.disabled);
|
|
29217
28770
|
i0.ɵɵproperty("p-icon", ctx_r1.icon);
|
|
29218
28771
|
} }
|
|
29219
|
-
function
|
|
28772
|
+
function PoComboComponent_po_clean_9_Template(rf, ctx) { if (rf & 1) {
|
|
29220
28773
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
29221
|
-
i0.ɵɵelementStart(0, "po-clean",
|
|
29222
|
-
i0.ɵɵlistener("p-change-event", function
|
|
28774
|
+
i0.ɵɵelementStart(0, "po-clean", 21);
|
|
28775
|
+
i0.ɵɵlistener("p-change-event", function PoComboComponent_po_clean_9_Template_po_clean_p_change_event_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clear($event)); })("click", function PoComboComponent_po_clean_9_Template_po_clean_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.clear(null); return i0.ɵɵresetView($event.preventDefault()); })("keydown.enter", function PoComboComponent_po_clean_9_Template_po_clean_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.clearAndFocus(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
29223
28776
|
i0.ɵɵelementEnd();
|
|
29224
28777
|
} if (rf & 2) {
|
|
29225
28778
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29226
28779
|
i0.ɵɵproperty("p-element-ref", ctx_r1.inputEl);
|
|
29227
28780
|
i0.ɵɵattribute("aria-label", ctx_r1.literals.clean);
|
|
29228
28781
|
} }
|
|
29229
|
-
function
|
|
28782
|
+
function PoComboComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
29230
28783
|
i0.ɵɵelementContainer(0);
|
|
29231
28784
|
} }
|
|
29232
|
-
function
|
|
28785
|
+
function PoComboComponent_ng_template_14_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
29233
28786
|
i0.ɵɵelementContainer(0);
|
|
29234
28787
|
} }
|
|
29235
|
-
function
|
|
29236
|
-
i0.ɵɵtemplate(0,
|
|
28788
|
+
function PoComboComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
28789
|
+
i0.ɵɵtemplate(0, PoComboComponent_ng_template_14_ng_container_0_Template, 1, 0, "ng-container", 22);
|
|
29237
28790
|
} if (rf & 2) {
|
|
29238
28791
|
i0.ɵɵnextContext();
|
|
29239
|
-
const dropdownListbox_r4 = i0.ɵɵreference(
|
|
28792
|
+
const dropdownListbox_r4 = i0.ɵɵreference(20);
|
|
29240
28793
|
i0.ɵɵproperty("ngTemplateOutlet", dropdownListbox_r4);
|
|
29241
28794
|
} }
|
|
29242
|
-
function
|
|
28795
|
+
function PoComboComponent_ng_template_16_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
29243
28796
|
i0.ɵɵelementContainer(0);
|
|
29244
28797
|
} }
|
|
29245
|
-
function
|
|
29246
|
-
i0.ɵɵtemplate(0,
|
|
28798
|
+
function PoComboComponent_ng_template_16_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
28799
|
+
i0.ɵɵtemplate(0, PoComboComponent_ng_template_16_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 22);
|
|
29247
28800
|
} if (rf & 2) {
|
|
29248
28801
|
i0.ɵɵnextContext(2);
|
|
29249
|
-
const dropdownListbox_r4 = i0.ɵɵreference(
|
|
28802
|
+
const dropdownListbox_r4 = i0.ɵɵreference(20);
|
|
29250
28803
|
i0.ɵɵproperty("ngTemplateOutlet", dropdownListbox_r4);
|
|
29251
28804
|
} }
|
|
29252
|
-
function
|
|
29253
|
-
i0.ɵɵtemplate(0,
|
|
28805
|
+
function PoComboComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
28806
|
+
i0.ɵɵtemplate(0, PoComboComponent_ng_template_16_ng_template_0_Template, 1, 1, "ng-template", 23);
|
|
29254
28807
|
} if (rf & 2) {
|
|
29255
28808
|
i0.ɵɵnextContext();
|
|
29256
|
-
const trigger_r5 = i0.ɵɵreference(
|
|
28809
|
+
const trigger_r5 = i0.ɵɵreference(4);
|
|
29257
28810
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", true);
|
|
29258
28811
|
} }
|
|
29259
|
-
function
|
|
28812
|
+
function PoComboComponent_ng_template_19_Template(rf, ctx) { if (rf & 1) {
|
|
29260
28813
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
29261
|
-
i0.ɵɵelementStart(0, "div",
|
|
29262
|
-
i0.ɵɵlistener("p-selectcombo-item", function
|
|
28814
|
+
i0.ɵɵelementStart(0, "div", 24, 7)(2, "po-listbox", 25, 8);
|
|
28815
|
+
i0.ɵɵlistener("p-selectcombo-item", function PoComboComponent_ng_template_19_Template_po_listbox_p_selectcombo_item_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionClick($event, $event.event)); })("p-update-infinite-scroll", function PoComboComponent_ng_template_19_Template_po_listbox_p_update_infinite_scroll_2_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showMoreInfiniteScroll()); })("p-close", function PoComboComponent_ng_template_19_Template_po_listbox_p_close_2_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCloseCombo()); });
|
|
29263
28816
|
i0.ɵɵelementEnd()();
|
|
29264
28817
|
} if (rf & 2) {
|
|
29265
28818
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -29839,31 +29392,31 @@ class PoComboComponent extends PoComboBaseComponent {
|
|
|
29839
29392
|
useExisting: forwardRef(() => PoComboComponent),
|
|
29840
29393
|
multi: true
|
|
29841
29394
|
}
|
|
29842
|
-
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls:
|
|
29395
|
+
]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 21, vars: 31, consts: [["outerContainer", ""], ["trigger", "cdkOverlayOrigin"], ["inp", ""], ["iconArrow", ""], ["dropdownDefault", ""], ["dropdownCDK", ""], ["dropdownListbox", ""], ["containerElement", ""], ["poListbox", "", "contentElement", ""], [3, "p-disabled", "p-id", "p-label", "p-optional", "p-required", "p-show-required"], ["cdkOverlayOrigin", "", 1, "po-field-container-content", "po-combo-container-content"], ["class", "po-field-icon-container-left", 4, "ngIf"], ["autocomplete", "off", "type", "text", 1, "po-combo-input", 3, "click", "keyup", "blur", "keydown", "ngClass", "disabled", "id", "placeholder", "required"], [1, "po-field-icon-container-right"], ["tabindex", "0", "role", "button", "class", "po-combo-clean po-icon-input", 3, "p-element-ref", "p-change-event", "click", "keydown.enter", 4, "ngIf"], [1, "po-combo-arrow", "po-field-icon", 3, "click"], [3, "p-icon"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "p-help", "p-disabled", "p-error-pattern"], [1, "po-field-icon-container-left"], [1, "po-field-icon", "po-icon-input", 3, "p-icon"], ["tabindex", "0", "role", "button", 1, "po-combo-clean", "po-icon-input", 3, "p-change-event", "click", "keydown.enter", "p-element-ref"], [4, "ngTemplateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "po-combo-container", 3, "hidden"], ["p-type", "option", 3, "p-selectcombo-item", "p-update-infinite-scroll", "p-close", "p-items", "p-field-value", "p-field-label", "p-template", "p-search-value", "p-infinite-loading", "p-infinite-scroll", "p-filtering", "p-cache", "p-filter-mode", "p-visible", "p-is-searching", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-infinite-scroll-distance", "p-container-width"]], template: function PoComboComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29843
29396
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
29844
|
-
i0.ɵɵelementStart(0, "div", null, 0)(2, "po-field-container", 9)(3, "div", 10, 1)
|
|
29845
|
-
i0.ɵɵtemplate(
|
|
29846
|
-
i0.ɵɵelementStart(
|
|
29847
|
-
i0.ɵɵlistener("click", function
|
|
29397
|
+
i0.ɵɵelementStart(0, "div", null, 0)(2, "po-field-container", 9)(3, "div", 10, 1);
|
|
29398
|
+
i0.ɵɵtemplate(5, PoComboComponent_div_5_Template, 2, 3, "div", 11);
|
|
29399
|
+
i0.ɵɵelementStart(6, "input", 12, 2);
|
|
29400
|
+
i0.ɵɵlistener("click", function PoComboComponent_Template_input_click_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleComboVisibility()); })("keyup", function PoComboComponent_Template_input_keyup_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyUp($event)); })("blur", function PoComboComponent_Template_input_blur_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBlur()); })("keyup", function PoComboComponent_Template_input_keyup_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.searchOnEnterOrArrow($event, $event.target.value)); })("keydown", function PoComboComponent_Template_input_keydown_6_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); });
|
|
29848
29401
|
i0.ɵɵelementEnd();
|
|
29849
|
-
i0.ɵɵelementStart(
|
|
29850
|
-
i0.ɵɵtemplate(
|
|
29851
|
-
i0.ɵɵelementStart(
|
|
29852
|
-
i0.ɵɵlistener("click", function
|
|
29853
|
-
i0.ɵɵelement(
|
|
29854
|
-
i0.ɵɵelementEnd()()()
|
|
29855
|
-
i0.ɵɵtemplate(
|
|
29856
|
-
i0.ɵɵelement(
|
|
29402
|
+
i0.ɵɵelementStart(8, "div", 13);
|
|
29403
|
+
i0.ɵɵtemplate(9, PoComboComponent_po_clean_9_Template, 1, 2, "po-clean", 14);
|
|
29404
|
+
i0.ɵɵelementStart(10, "div", 15, 3);
|
|
29405
|
+
i0.ɵɵlistener("click", function PoComboComponent_Template_div_click_10_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleComboVisibility(true)); });
|
|
29406
|
+
i0.ɵɵelement(12, "po-icon", 16);
|
|
29407
|
+
i0.ɵɵelementEnd()()();
|
|
29408
|
+
i0.ɵɵtemplate(13, PoComboComponent_ng_container_13_Template, 1, 0, "ng-container", 17)(14, PoComboComponent_ng_template_14_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor)(16, PoComboComponent_ng_template_16_Template, 1, 2, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
29409
|
+
i0.ɵɵelement(18, "po-field-container-bottom", 18);
|
|
29857
29410
|
i0.ɵɵelementEnd();
|
|
29858
|
-
i0.ɵɵtemplate(
|
|
29411
|
+
i0.ɵɵtemplate(19, PoComboComponent_ng_template_19_Template, 5, 18, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
29859
29412
|
i0.ɵɵelementEnd();
|
|
29860
29413
|
} if (rf & 2) {
|
|
29861
|
-
const inp_r7 = i0.ɵɵreference(
|
|
29862
|
-
const dropdownDefault_r8 = i0.ɵɵreference(
|
|
29863
|
-
const dropdownCDK_r9 = i0.ɵɵreference(
|
|
29414
|
+
const inp_r7 = i0.ɵɵreference(7);
|
|
29415
|
+
const dropdownDefault_r8 = i0.ɵɵreference(15);
|
|
29416
|
+
const dropdownCDK_r9 = i0.ɵɵreference(17);
|
|
29864
29417
|
i0.ɵɵadvance(2);
|
|
29865
29418
|
i0.ɵɵproperty("p-disabled", ctx.disabled)("p-id", ctx.id)("p-label", ctx.label)("p-optional", ctx.optional)("p-required", ctx.required)("p-show-required", ctx.showRequired);
|
|
29866
|
-
i0.ɵɵadvance(
|
|
29419
|
+
i0.ɵɵadvance(3);
|
|
29867
29420
|
i0.ɵɵproperty("ngIf", ctx.icon);
|
|
29868
29421
|
i0.ɵɵadvance();
|
|
29869
29422
|
i0.ɵɵclassProp("po-input-icon-left", ctx.icon);
|
|
@@ -29897,7 +29450,7 @@ class PoComboComponent extends PoComboBaseComponent {
|
|
|
29897
29450
|
useExisting: forwardRef(() => PoComboComponent),
|
|
29898
29451
|
multi: true
|
|
29899
29452
|
}
|
|
29900
|
-
], template: "<div #outerContainer>\n <po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n >\n <div
|
|
29453
|
+
], template: "<div #outerContainer>\n <po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n >\n <div cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" class=\"po-field-container-content po-combo-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon\n class=\"po-field-icon po-icon-input\"\n [class.po-field-icon-disabled]=\"disabled\"\n [p-icon]=\"icon\"\n ></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-combo-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-input-icon-left]=\"icon\"\n autocomplete=\"off\"\n type=\"text\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [required]=\"required\"\n (click)=\"toggleComboVisibility()\"\n (keyup)=\"onKeyUp($event)\"\n (blur)=\"onBlur()\"\n (keyup)=\"searchOnEnterOrArrow($event, $event.target.value)\"\n (keydown)=\"onKeyDown($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"literals.clean\"\n class=\"po-combo-clean po-icon-input\"\n *ngIf=\"clean && !disabled && inp.value\"\n [p-element-ref]=\"inputEl\"\n (p-change-event)=\"clear($event)\"\n (click)=\"clear(null); $event.preventDefault()\"\n (keydown.enter)=\"clearAndFocus(); $event.preventDefault()\"\n >\n </po-clean>\n\n <div\n #iconArrow\n class=\"po-combo-arrow po-field-icon\"\n [class.po-field-icon-disabled]=\"disabled\"\n (click)=\"toggleComboVisibility(true)\"\n >\n <po-icon\n [p-icon]=\"comboOpen ? 'ICON_ARROW_UP po-icon-input' : 'ICON_ARROW_DOWN po-icon-input'\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-combo-default-border]=\"!disabled && inp.value\"\n [class.po-combo-background-arrow-up]=\"!disabled && comboOpen\"\n ></po-icon>\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"appendBox; then dropdownCDK; else dropdownDefault\"> </ng-container>\n\n <ng-template #dropdownDefault>\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"> </ng-container>\n </ng-template>\n\n <ng-template #dropdownCDK>\n <ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"true\">\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"></ng-container>\n </ng-template>\n </ng-template>\n\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorPattern()\"\n ></po-field-container-bottom>\n </po-field-container>\n\n <ng-template #dropdownListbox>\n <div #containerElement class=\"po-combo-container\" [hidden]=\"!comboOpen && !isServerSearching\">\n <po-listbox\n #poListbox\n #contentElement\n p-type=\"option\"\n [p-items]=\"visibleOptions\"\n [p-field-value]=\"dynamicValue\"\n [p-field-label]=\"dynamicLabel\"\n [p-template]=\"comboOptionTemplate\"\n [p-search-value]=\"getInputValue()\"\n [p-infinite-loading]=\"infiniteLoading\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-filtering]=\"isFiltering\"\n [p-cache]=\"cache\"\n (p-selectcombo-item)=\"onOptionClick($event, $event.event)\"\n [p-filter-mode]=\"filterMode\"\n [p-visible]=\"comboOpen\"\n [p-is-searching]=\"isServerSearching\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareObjects(cacheOptions, visibleOptions)\"\n [p-combo-service]=\"service\"\n [p-infinite-scroll-distance]=\"infiniteScrollDistance\"\n (p-update-infinite-scroll)=\"showMoreInfiniteScroll()\"\n (p-close)=\"onCloseCombo()\"\n [p-container-width]=\"containerWidth\"\n ></po-listbox>\n </div>\n </ng-template>\n</div>\n" }]
|
|
29901
29454
|
}], () => [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: PoComboFilterService }, { type: i0.Renderer2 }, { type: PoControlPositionService }, { type: i0.ChangeDetectorRef }, { type: PoLanguageService }], { comboOptionTemplate: [{
|
|
29902
29455
|
type: ContentChild,
|
|
29903
29456
|
args: [PoComboOptionTemplateDirective, { static: true }]
|
|
@@ -30570,17 +30123,17 @@ const _c1$m = ["endDateInput"];
|
|
|
30570
30123
|
const _c2$a = ["startDateInput"];
|
|
30571
30124
|
const _c3$6 = ["iconCalendar"];
|
|
30572
30125
|
const _c4$1 = ["calendarPicker"];
|
|
30573
|
-
function
|
|
30126
|
+
function PoDatepickerRangeComponent_po_clean_12_Template(rf, ctx) { if (rf & 1) {
|
|
30574
30127
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
30575
|
-
i0.ɵɵelementStart(0, "po-clean",
|
|
30576
|
-
i0.ɵɵlistener("p-change-event", function
|
|
30128
|
+
i0.ɵɵelementStart(0, "po-clean", 16);
|
|
30129
|
+
i0.ɵɵlistener("p-change-event", function PoDatepickerRangeComponent_po_clean_12_Template_po_clean_p_change_event_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.clear()); });
|
|
30577
30130
|
i0.ɵɵelementEnd();
|
|
30578
30131
|
} }
|
|
30579
|
-
function
|
|
30132
|
+
function PoDatepickerRangeComponent_ng_container_17_Template(rf, ctx) { if (rf & 1) {
|
|
30580
30133
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
30581
30134
|
i0.ɵɵelementContainerStart(0);
|
|
30582
|
-
i0.ɵɵelementStart(1, "div",
|
|
30583
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
30135
|
+
i0.ɵɵelementStart(1, "div", 17, 4)(3, "po-calendar", 18);
|
|
30136
|
+
i0.ɵɵlistener("ngModelChange", function PoDatepickerRangeComponent_ng_container_17_Template_po_calendar_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onCalendarChange($event)); });
|
|
30584
30137
|
i0.ɵɵelementEnd()();
|
|
30585
30138
|
i0.ɵɵelementContainerEnd();
|
|
30586
30139
|
} if (rf & 2) {
|
|
@@ -31025,30 +30578,30 @@ class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent {
|
|
|
31025
30578
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startDateInput = _t.first);
|
|
31026
30579
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconCalendar = _t.first);
|
|
31027
30580
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.calendarPicker = _t.first);
|
|
31028
|
-
} }, features: [i0.ɵɵProvidersFeature(providers$5), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls:
|
|
30581
|
+
} }, features: [i0.ɵɵProvidersFeature(providers$5), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 30, consts: [["dateRangeField", ""], ["startDateInput", ""], ["endDateInput", ""], ["iconCalendar", ""], ["calendarPicker", ""], [3, "p-disabled", "p-label", "p-optional", "p-required", "p-show-required"], [1, "po-datepicker-range-field", "po-input"], [1, "po-datepicker-range-start-date"], ["maxlength", "10", "type", "text", 1, "po-datepicker-range-input", 3, "blur", "focus", "keydown", "keyup", "click", "autocomplete", "disabled", "name", "readonly"], [1, "po-datepicker-range-separator"], [1, "po-datepicker-range-end-date"], [1, "po-datepicker-range-icon"], ["class", "po-icon-input", 3, "p-change-event", 4, "ngIf"], [3, "click", "p-icon"], [3, "p-help", "p-disabled", "p-error-pattern"], [4, "ngIf"], [1, "po-icon-input", 3, "p-change-event"], [1, "po-calendar-range-picker"], ["p-mode", "range", 3, "ngModelChange", "ngModel", "p-max-date", "p-min-date", "p-locale"]], template: function PoDatepickerRangeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31029
30582
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
31030
|
-
i0.ɵɵelementStart(0, "po-field-container", 5)(1, "div", 6
|
|
31031
|
-
i0.ɵɵlistener("blur", function
|
|
30583
|
+
i0.ɵɵelementStart(0, "po-field-container", 5)(1, "div", 6, 0)(3, "div", 7)(4, "input", 8, 1);
|
|
30584
|
+
i0.ɵɵlistener("blur", function PoDatepickerRangeComponent_Template_input_blur_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBlur($event)); })("focus", function PoDatepickerRangeComponent_Template_input_focus_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFocus($event)); })("keydown", function PoDatepickerRangeComponent_Template_input_keydown_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeydown($event)); })("keyup", function PoDatepickerRangeComponent_Template_input_keyup_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyup($event)); })("click", function PoDatepickerRangeComponent_Template_input_click_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.eventOnClick($event)); });
|
|
31032
30585
|
i0.ɵɵelementEnd()();
|
|
31033
|
-
i0.ɵɵelementStart(
|
|
31034
|
-
i0.ɵɵtext(
|
|
30586
|
+
i0.ɵɵelementStart(6, "div", 9);
|
|
30587
|
+
i0.ɵɵtext(7, "-");
|
|
31035
30588
|
i0.ɵɵelementEnd();
|
|
31036
|
-
i0.ɵɵelementStart(
|
|
31037
|
-
i0.ɵɵlistener("blur", function
|
|
30589
|
+
i0.ɵɵelementStart(8, "div", 10)(9, "input", 8, 2);
|
|
30590
|
+
i0.ɵɵlistener("blur", function PoDatepickerRangeComponent_Template_input_blur_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBlur($event)); })("focus", function PoDatepickerRangeComponent_Template_input_focus_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFocus($event)); })("keydown", function PoDatepickerRangeComponent_Template_input_keydown_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeydown($event)); })("keyup", function PoDatepickerRangeComponent_Template_input_keyup_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyup($event)); })("click", function PoDatepickerRangeComponent_Template_input_click_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.eventOnClick($event)); });
|
|
31038
30591
|
i0.ɵɵelementEnd()();
|
|
31039
|
-
i0.ɵɵelementStart(
|
|
31040
|
-
i0.ɵɵtemplate(
|
|
30592
|
+
i0.ɵɵelementStart(11, "div", 11);
|
|
30593
|
+
i0.ɵɵtemplate(12, PoDatepickerRangeComponent_po_clean_12_Template, 1, 0, "po-clean", 12);
|
|
31041
30594
|
i0.ɵɵelementEnd();
|
|
31042
|
-
i0.ɵɵelementStart(
|
|
31043
|
-
i0.ɵɵlistener("click", function
|
|
31044
|
-
i0.ɵɵelementEnd()()()
|
|
31045
|
-
i0.ɵɵelement(
|
|
30595
|
+
i0.ɵɵelementStart(13, "div", 11)(14, "po-icon", 13, 3);
|
|
30596
|
+
i0.ɵɵlistener("click", function PoDatepickerRangeComponent_Template_po_icon_click_14_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleCalendar()); });
|
|
30597
|
+
i0.ɵɵelementEnd()()();
|
|
30598
|
+
i0.ɵɵelement(16, "po-field-container-bottom", 14);
|
|
31046
30599
|
i0.ɵɵelementEnd();
|
|
31047
|
-
i0.ɵɵtemplate(
|
|
30600
|
+
i0.ɵɵtemplate(17, PoDatepickerRangeComponent_ng_container_17_Template, 4, 4, "ng-container", 15);
|
|
31048
30601
|
} if (rf & 2) {
|
|
31049
30602
|
i0.ɵɵclassProp("po-date-picker-container-disabled", ctx.disabled);
|
|
31050
30603
|
i0.ɵɵproperty("p-disabled", ctx.disabled)("p-label", ctx.label)("p-optional", ctx.optional)("p-required", ctx.required)("p-show-required", ctx.showRequired);
|
|
31051
|
-
i0.ɵɵadvance(
|
|
30604
|
+
i0.ɵɵadvance();
|
|
31052
30605
|
i0.ɵɵclassProp("po-datepicker-range-field-disabled", ctx.disabled);
|
|
31053
30606
|
i0.ɵɵattribute("disabled", ctx.disabled);
|
|
31054
30607
|
i0.ɵɵadvance(3);
|
|
@@ -31070,7 +30623,7 @@ class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent {
|
|
|
31070
30623
|
}
|
|
31071
30624
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerRangeComponent, [{
|
|
31072
30625
|
type: Component,
|
|
31073
|
-
args: [{ selector: 'po-datepicker-range', providers: providers$5, changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container\n [class.po-date-picker-container-disabled]=\"disabled\"\n [p-disabled]=\"disabled\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div
|
|
30626
|
+
args: [{ selector: 'po-datepicker-range', providers: providers$5, changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container\n [class.po-date-picker-container-disabled]=\"disabled\"\n [p-disabled]=\"disabled\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div\n #dateRangeField\n class=\"po-datepicker-range-field po-input\"\n [class.po-datepicker-range-field-disabled]=\"disabled\"\n [attr.disabled]=\"disabled\"\n >\n <div class=\"po-datepicker-range-start-date\">\n <input\n #startDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [attr.aria-label]=\"label\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"startDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-separator\">-</div>\n\n <div class=\"po-datepicker-range-end-date\">\n <input\n #endDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"endDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <po-clean class=\"po-icon-input\" *ngIf=\"enableCleaner\" (p-change-event)=\"clear()\"></po-clean>\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <po-icon\n #iconCalendar\n [p-icon]=\"!disabled || !readonly ? 'ICON_CALENDAR po-clickable' : 'ICON_CALENDAR'\"\n class=\"po-field-icon {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [class.po-field-icon-disabled]=\"disabled || readonly\"\n (click)=\"toggleCalendar()\"\n >\n </po-icon>\n </div>\n </div>\n\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorMessage\"\n ></po-field-container-bottom>\n</po-field-container>\n\n<ng-container *ngIf=\"isCalendarVisible\">\n <div #calendarPicker class=\"po-calendar-range-picker\">\n <po-calendar\n p-mode=\"range\"\n [ngModel]=\"dateRange\"\n [p-max-date]=\"maxDate\"\n [p-min-date]=\"minDate\"\n [p-locale]=\"locale\"\n (ngModelChange)=\"onCalendarChange($event)\"\n ></po-calendar>\n </div>\n</ng-container>\n" }]
|
|
31074
30627
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoLanguageService }, { type: PoDateService }, { type: i0.ElementRef }], { dateRangeField: [{
|
|
31075
30628
|
type: ViewChild,
|
|
31076
30629
|
args: ['dateRangeField', { read: ElementRef, static: true }]
|
|
@@ -35231,42 +34784,38 @@ class PoLookupBaseComponent {
|
|
|
35231
34784
|
}] }); })();
|
|
35232
34785
|
|
|
35233
34786
|
const _c0$Q = ["inp"];
|
|
35234
|
-
function
|
|
34787
|
+
function PoLookupComponent_div_1_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
35235
34788
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
35236
|
-
i0.ɵɵelementStart(0, "
|
|
35237
|
-
i0.ɵɵlistener("
|
|
34789
|
+
i0.ɵɵelementStart(0, "button", 12);
|
|
34790
|
+
i0.ɵɵlistener("click", function PoLookupComponent_div_1_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.cleanModel()); });
|
|
34791
|
+
i0.ɵɵelement(1, "po-clean", 13);
|
|
35238
34792
|
i0.ɵɵelementEnd();
|
|
35239
34793
|
} if (rf & 2) {
|
|
35240
|
-
i0.ɵɵnextContext();
|
|
35241
|
-
|
|
35242
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
35243
|
-
i0.ɵɵproperty("p-element-ref", inp_r4);
|
|
35244
|
-
i0.ɵɵattribute("aria-label", ctx_r1.literals.clean);
|
|
34794
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
34795
|
+
i0.ɵɵproperty("ariaLabel", ctx_r1.literals.clean);
|
|
35245
34796
|
} }
|
|
35246
34797
|
function PoLookupComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
35247
34798
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
35248
|
-
i0.ɵɵelementStart(0, "div", 6)(1, "
|
|
35249
|
-
i0.ɵɵlistener("blur", function
|
|
35250
|
-
i0.ɵɵelementEnd();
|
|
35251
|
-
i0.ɵɵelementStart(
|
|
35252
|
-
i0.ɵɵtemplate(
|
|
35253
|
-
i0.ɵɵelementStart(
|
|
35254
|
-
i0.ɵɵlistener("
|
|
35255
|
-
i0.ɵɵelement(
|
|
35256
|
-
i0.ɵɵelementEnd()()()
|
|
34799
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "input", 7, 1);
|
|
34800
|
+
i0.ɵɵlistener("blur", function PoLookupComponent_div_1_Template_input_blur_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.searchEvent()); });
|
|
34801
|
+
i0.ɵɵelementEnd();
|
|
34802
|
+
i0.ɵɵelementStart(3, "div", 8);
|
|
34803
|
+
i0.ɵɵtemplate(4, PoLookupComponent_div_1_button_4_Template, 2, 1, "button", 9);
|
|
34804
|
+
i0.ɵɵelementStart(5, "button", 10, 2);
|
|
34805
|
+
i0.ɵɵlistener("click", function PoLookupComponent_div_1_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openLookup()); });
|
|
34806
|
+
i0.ɵɵelement(7, "po-icon", 11);
|
|
34807
|
+
i0.ɵɵelementEnd()()();
|
|
35257
34808
|
} if (rf & 2) {
|
|
35258
|
-
const inp_r4 = i0.ɵɵreference(
|
|
34809
|
+
const inp_r4 = i0.ɵɵreference(2);
|
|
35259
34810
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
35260
34811
|
i0.ɵɵclassProp("po-lookup-disabled", ctx_r1.disabled);
|
|
35261
|
-
i0.ɵɵadvance(
|
|
34812
|
+
i0.ɵɵadvance();
|
|
35262
34813
|
i0.ɵɵproperty("ngClass", ctx_r1.clean && inp_r4.value ? "po-input-double-icon-right" : "po-input-icon-right")("id", ctx_r1.id)("autocomplete", ctx_r1.autocomplete)("disabled", ctx_r1.disabled)("placeholder", ctx_r1.placeholder)("required", ctx_r1.required);
|
|
35263
34814
|
i0.ɵɵadvance(3);
|
|
35264
34815
|
i0.ɵɵproperty("ngIf", ctx_r1.clean && !ctx_r1.disabled && !!inp_r4.value);
|
|
35265
34816
|
i0.ɵɵadvance();
|
|
35266
|
-
i0.ɵɵclassProp("po-
|
|
35267
|
-
i0.ɵɵproperty("ariaLabel", ctx_r1.literals.search);
|
|
35268
|
-
i0.ɵɵadvance(2);
|
|
35269
|
-
i0.ɵɵclassProp("po-field-icon", !ctx_r1.disabled);
|
|
34817
|
+
i0.ɵɵclassProp("po-lookup-button-disabled", ctx_r1.disabled);
|
|
34818
|
+
i0.ɵɵproperty("ariaLabel", ctx_r1.literals.search)("disabled", ctx_r1.disabled);
|
|
35270
34819
|
} }
|
|
35271
34820
|
function PoLookupComponent_ng_template_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
35272
34821
|
i0.ɵɵelementStart(0, "span", 18);
|
|
@@ -35288,28 +34837,26 @@ function PoLookupComponent_ng_template_3_po_disclaimer_4_Template(rf, ctx) { if
|
|
|
35288
34837
|
i0.ɵɵclassProp("po-clickable", disclaimer_r7.value === "" && !ctx_r1.disabled);
|
|
35289
34838
|
i0.ɵɵproperty("p-label", disclaimer_r7.label)("p-value", disclaimer_r7.value)("p-hide-close", disclaimer_r7.value === "" || ctx_r1.disabled);
|
|
35290
34839
|
} }
|
|
35291
|
-
function
|
|
34840
|
+
function PoLookupComponent_ng_template_3_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
35292
34841
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
35293
|
-
i0.ɵɵelementStart(0, "
|
|
35294
|
-
i0.ɵɵlistener("
|
|
34842
|
+
i0.ɵɵelementStart(0, "button", 20);
|
|
34843
|
+
i0.ɵɵlistener("click", function PoLookupComponent_ng_template_3_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.cleanModel()); });
|
|
34844
|
+
i0.ɵɵelement(1, "po-clean", 13);
|
|
35295
34845
|
i0.ɵɵelementEnd();
|
|
35296
34846
|
} if (rf & 2) {
|
|
35297
|
-
i0.ɵɵnextContext();
|
|
35298
|
-
|
|
35299
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
35300
|
-
i0.ɵɵproperty("p-element-ref", inp_r9);
|
|
35301
|
-
i0.ɵɵattribute("aria-label", ctx_r1.literals.clean);
|
|
34847
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
34848
|
+
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ariaLabel", ctx_r1.literals.clean);
|
|
35302
34849
|
} }
|
|
35303
34850
|
function PoLookupComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
35304
34851
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
35305
|
-
i0.ɵɵelementStart(0, "div",
|
|
35306
|
-
i0.ɵɵtemplate(3, PoLookupComponent_ng_template_3_span_3_Template, 2, 1, "span",
|
|
35307
|
-
i0.ɵɵelementEnd();
|
|
35308
|
-
i0.ɵɵelementStart(5, "div",
|
|
35309
|
-
i0.ɵɵtemplate(6,
|
|
35310
|
-
i0.ɵɵelementStart(7, "
|
|
35311
|
-
i0.ɵɵlistener("
|
|
35312
|
-
i0.ɵɵelement(9, "po-icon",
|
|
34852
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "div", 14, 1);
|
|
34853
|
+
i0.ɵɵtemplate(3, PoLookupComponent_ng_template_3_span_3_Template, 2, 1, "span", 15)(4, PoLookupComponent_ng_template_3_po_disclaimer_4_Template, 1, 5, "po-disclaimer", 16);
|
|
34854
|
+
i0.ɵɵelementEnd();
|
|
34855
|
+
i0.ɵɵelementStart(5, "div", 8);
|
|
34856
|
+
i0.ɵɵtemplate(6, PoLookupComponent_ng_template_3_button_6_Template, 2, 2, "button", 17);
|
|
34857
|
+
i0.ɵɵelementStart(7, "button", 10, 2);
|
|
34858
|
+
i0.ɵɵlistener("click", function PoLookupComponent_ng_template_3_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openLookup()); });
|
|
34859
|
+
i0.ɵɵelement(9, "po-icon", 11);
|
|
35313
34860
|
i0.ɵɵelementEnd()()();
|
|
35314
34861
|
} if (rf & 2) {
|
|
35315
34862
|
const inp_r9 = i0.ɵɵreference(2);
|
|
@@ -35323,12 +34870,9 @@ function PoLookupComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
35323
34870
|
i0.ɵɵadvance();
|
|
35324
34871
|
i0.ɵɵproperty("ngForOf", ctx_r1.visibleDisclaimers);
|
|
35325
34872
|
i0.ɵɵadvance(2);
|
|
35326
|
-
i0.ɵɵproperty("ngIf", ctx_r1.clean && !ctx_r1.disabled
|
|
34873
|
+
i0.ɵɵproperty("ngIf", ctx_r1.clean && !ctx_r1.disabled);
|
|
35327
34874
|
i0.ɵɵadvance();
|
|
35328
|
-
i0.ɵɵ
|
|
35329
|
-
i0.ɵɵproperty("ariaLabel", ctx_r1.literals.search);
|
|
35330
|
-
i0.ɵɵadvance(2);
|
|
35331
|
-
i0.ɵɵclassProp("po-field-icon", !ctx_r1.disabled);
|
|
34875
|
+
i0.ɵɵproperty("ariaLabel", ctx_r1.literals.search)("disabled", ctx_r1.disabled);
|
|
35332
34876
|
} }
|
|
35333
34877
|
/* istanbul ignore next */
|
|
35334
34878
|
const providers$2 = [
|
|
@@ -35708,12 +35252,12 @@ class PoLookupComponent extends PoLookupBaseComponent {
|
|
|
35708
35252
|
} if (rf & 2) {
|
|
35709
35253
|
let _t;
|
|
35710
35254
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
35711
|
-
} }, features: [i0.ɵɵProvidersFeature(providers$2), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 11, consts: [["disclaimersTemplate", ""], ["inp", ""], ["iconLookup", ""], [3, "p-disabled", "p-id", "p-label", "p-optional", "p-required", "p-show-required"], ["class", "po-
|
|
35255
|
+
} }, features: [i0.ɵɵProvidersFeature(providers$2), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 11, consts: [["disclaimersTemplate", ""], ["inp", ""], ["iconLookup", ""], [3, "p-disabled", "p-id", "p-label", "p-optional", "p-required", "p-show-required"], ["class", "po-lookup", 3, "po-lookup-disabled", 4, "ngIf", "ngIfElse"], [3, "p-help", "p-disabled", "p-error-pattern"], [1, "po-lookup"], ["type", "text", 1, "po-lookup-input", "po-lookup-input-trigger", 3, "blur", "ngClass", "id", "autocomplete", "disabled", "placeholder", "required"], [1, "po-lookup-buttons"], ["type", "button", "class", "po-lookup-button po-lookup-button-clean", 3, "ariaLabel", "click", 4, "ngIf"], [1, "po-lookup-button", "po-lookup-button-trigger", 3, "click", "ariaLabel", "disabled"], ["p-icon", "ICON_SEARCH", 1, "po-icon-input"], ["type", "button", 1, "po-lookup-button", "po-lookup-button-clean", 3, "click", "ariaLabel"], [1, "po-icon-input"], [1, "po-lookup-input", "po-input-icon-right", "po-lookup-input", "po-icon-input", 3, "tabindex", "ngClass"], ["class", "po-lookup-input-placeholder", 4, "ngIf"], ["class", "po-lookup-input-disclaimer", 3, "p-label", "p-value", "p-hide-close", "po-clickable", "p-close-action", 4, "ngFor", "ngForOf"], ["type", "button", "class", "po-lookup-button po-lookup-button-clean", 3, "disabled", "ariaLabel", "click", 4, "ngIf"], [1, "po-lookup-input-placeholder"], [1, "po-lookup-input-disclaimer", 3, "p-close-action", "p-label", "p-value", "p-hide-close"], ["type", "button", 1, "po-lookup-button", "po-lookup-button-clean", 3, "click", "disabled", "ariaLabel"]], template: function PoLookupComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35712
35256
|
i0.ɵɵelementStart(0, "po-field-container", 3);
|
|
35713
|
-
i0.ɵɵtemplate(1, PoLookupComponent_div_1_Template,
|
|
35257
|
+
i0.ɵɵtemplate(1, PoLookupComponent_div_1_Template, 8, 13, "div", 4);
|
|
35714
35258
|
i0.ɵɵelement(2, "po-field-container-bottom", 5);
|
|
35715
35259
|
i0.ɵɵelementEnd();
|
|
35716
|
-
i0.ɵɵtemplate(3, PoLookupComponent_ng_template_3_Template, 10,
|
|
35260
|
+
i0.ɵɵtemplate(3, PoLookupComponent_ng_template_3_Template, 10, 17, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
35717
35261
|
} if (rf & 2) {
|
|
35718
35262
|
const disclaimersTemplate_r10 = i0.ɵɵreference(4);
|
|
35719
35263
|
i0.ɵɵproperty("p-disabled", ctx.disabled)("p-id", ctx.id)("p-label", ctx.label)("p-optional", ctx.optional)("p-required", ctx.required)("p-show-required", ctx.showRequired);
|
|
@@ -35725,7 +35269,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
|
|
|
35725
35269
|
}
|
|
35726
35270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupComponent, [{
|
|
35727
35271
|
type: Component,
|
|
35728
|
-
args: [{ selector: 'po-lookup', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$2, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div
|
|
35272
|
+
args: [{ selector: 'po-lookup', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$2, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div class=\"po-lookup\" [class.po-lookup-disabled]=\"disabled\" *ngIf=\"!disclaimers.length; else disclaimersTemplate\">\n <input\n #inp\n class=\"po-lookup-input po-lookup-input-trigger\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [id]=\"id\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n (blur)=\"searchEvent()\"\n />\n <div class=\"po-lookup-buttons\">\n <button\n *ngIf=\"clean && !disabled && !!inp.value\"\n type=\"button\"\n class=\"po-lookup-button po-lookup-button-clean\"\n [ariaLabel]=\"literals.clean\"\n (click)=\"cleanModel()\"\n >\n <po-clean class=\"po-icon-input\"></po-clean>\n </button>\n <button\n #iconLookup\n class=\"po-lookup-button po-lookup-button-trigger\"\n [class.po-lookup-button-disabled]=\"disabled\"\n [ariaLabel]=\"literals.search\"\n (click)=\"openLookup()\"\n [disabled]=\"disabled\"\n >\n <po-icon p-icon=\"ICON_SEARCH\" class=\"po-icon-input\"></po-icon>\n </button>\n </div>\n </div>\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorPattern()\"\n ></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #disclaimersTemplate>\n <div class=\"po-lookup\" [class.po-lookup-disabled]=\"disabled\">\n <div\n #inp\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-lookup-input po-input-icon-right po-lookup-input po-icon-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-lookup-input-auto]=\"autoHeight\"\n [class.po-lookup-input-static]=\"!autoHeight\"\n [class.po-lookup-input-padding-button-clean]=\"clean\"\n [class.po-lookup-input-disabled]=\"disabled\"\n >\n <span *ngIf=\"placeholder && !disclaimers?.length\" class=\"po-lookup-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-lookup-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n </div>\n <div class=\"po-lookup-buttons\">\n <button\n *ngIf=\"clean && !disabled\"\n type=\"button\"\n class=\"po-lookup-button po-lookup-button-clean\"\n [disabled]=\"disabled\"\n [ariaLabel]=\"literals.clean\"\n (click)=\"cleanModel()\"\n >\n <po-clean class=\"po-icon-input\"></po-clean>\n </button>\n <button\n #iconLookup\n class=\"po-lookup-button po-lookup-button-trigger\"\n [ariaLabel]=\"literals.search\"\n (click)=\"openLookup()\"\n [disabled]=\"disabled\"\n >\n <po-icon p-icon=\"ICON_SEARCH\" class=\"po-icon-input\"></po-icon>\n </button>\n </div>\n </div>\n</ng-template>\n" }]
|
|
35729
35273
|
}], () => [{ type: PoLanguageService }, { type: i0.Renderer2 }, { type: PoLookupFilterService }, { type: PoLookupModalService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Injector }], { inputEl: [{
|
|
35730
35274
|
type: ViewChild,
|
|
35731
35275
|
args: ['inp', { read: ElementRef, static: false }]
|
|
@@ -59478,6 +59022,199 @@ class PoPipesModule {
|
|
|
59478
59022
|
}], null, null); })();
|
|
59479
59023
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoPipesModule, { imports: [PoTimeModule], exports: [PoTimeModule] }); })();
|
|
59480
59024
|
|
|
59025
|
+
class PoModule {
|
|
59026
|
+
static ɵfac = function PoModule_Factory(t) { return new (t || PoModule)(); };
|
|
59027
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoModule });
|
|
59028
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [PoNotificationService], imports: [PoComponentsModule,
|
|
59029
|
+
PoDirectivesModule,
|
|
59030
|
+
PoGuardsModule,
|
|
59031
|
+
PoInterceptorsModule,
|
|
59032
|
+
PoPipesModule,
|
|
59033
|
+
PoServicesModule, PoComponentsModule,
|
|
59034
|
+
PoDirectivesModule,
|
|
59035
|
+
PoInterceptorsModule,
|
|
59036
|
+
PoGuardsModule,
|
|
59037
|
+
PoPipesModule,
|
|
59038
|
+
PoServicesModule] });
|
|
59039
|
+
}
|
|
59040
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoModule, [{
|
|
59041
|
+
type: NgModule,
|
|
59042
|
+
args: [{
|
|
59043
|
+
declarations: [],
|
|
59044
|
+
imports: [
|
|
59045
|
+
PoComponentsModule,
|
|
59046
|
+
PoDirectivesModule,
|
|
59047
|
+
PoGuardsModule,
|
|
59048
|
+
PoInterceptorsModule,
|
|
59049
|
+
PoPipesModule,
|
|
59050
|
+
PoServicesModule
|
|
59051
|
+
],
|
|
59052
|
+
exports: [
|
|
59053
|
+
PoComponentsModule,
|
|
59054
|
+
PoDirectivesModule,
|
|
59055
|
+
PoInterceptorsModule,
|
|
59056
|
+
PoGuardsModule,
|
|
59057
|
+
PoPipesModule,
|
|
59058
|
+
PoServicesModule
|
|
59059
|
+
],
|
|
59060
|
+
providers: [PoNotificationService],
|
|
59061
|
+
bootstrap: []
|
|
59062
|
+
}]
|
|
59063
|
+
}], null, null); })();
|
|
59064
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoModule, { imports: [PoComponentsModule,
|
|
59065
|
+
PoDirectivesModule,
|
|
59066
|
+
PoGuardsModule,
|
|
59067
|
+
PoInterceptorsModule,
|
|
59068
|
+
PoPipesModule,
|
|
59069
|
+
PoServicesModule], exports: [PoComponentsModule,
|
|
59070
|
+
PoDirectivesModule,
|
|
59071
|
+
PoInterceptorsModule,
|
|
59072
|
+
PoGuardsModule,
|
|
59073
|
+
PoPipesModule,
|
|
59074
|
+
PoServicesModule] }); })();
|
|
59075
|
+
|
|
59076
|
+
/**
|
|
59077
|
+
* @usedBy PoDynamicFormComponent
|
|
59078
|
+
*
|
|
59079
|
+
* @description
|
|
59080
|
+
*
|
|
59081
|
+
* Enum para definição do tipo de componente a ser renderizado.
|
|
59082
|
+
*/
|
|
59083
|
+
var ForceBooleanComponentEnum;
|
|
59084
|
+
(function (ForceBooleanComponentEnum) {
|
|
59085
|
+
/** Força a renderização de um po-switch */
|
|
59086
|
+
ForceBooleanComponentEnum["switch"] = "switch";
|
|
59087
|
+
/** Força a renderização de um po-checkbox */
|
|
59088
|
+
ForceBooleanComponentEnum["checkbox"] = "checkbox";
|
|
59089
|
+
})(ForceBooleanComponentEnum || (ForceBooleanComponentEnum = {}));
|
|
59090
|
+
/**
|
|
59091
|
+
* @usedBy PoDynamicFormComponent
|
|
59092
|
+
*
|
|
59093
|
+
* @description
|
|
59094
|
+
*
|
|
59095
|
+
* Enum para definição do tipo de componente a ser renderizado.
|
|
59096
|
+
*/
|
|
59097
|
+
var ForceOptionComponentEnum;
|
|
59098
|
+
(function (ForceOptionComponentEnum) {
|
|
59099
|
+
/** Força a renderização de um po-radio-group independente da quantidade do opções */
|
|
59100
|
+
ForceOptionComponentEnum["radioGroup"] = "radioGroup";
|
|
59101
|
+
/** Força a renderização de um po-select independente da quantidade do opções */
|
|
59102
|
+
ForceOptionComponentEnum["select"] = "select";
|
|
59103
|
+
})(ForceOptionComponentEnum || (ForceOptionComponentEnum = {}));
|
|
59104
|
+
|
|
59105
|
+
/**
|
|
59106
|
+
* Função utilizada pela fábrica de decoradores para validar uma propriedade de uma classe durante
|
|
59107
|
+
* o ciclo de vida do Angular.
|
|
59108
|
+
*
|
|
59109
|
+
* @param decoratorProperties propriedades da interface PoPropertyDecoratorInterface.
|
|
59110
|
+
* @param lifecycleName clico de vida que se deseja executar com a validação.
|
|
59111
|
+
* @param callback função que será executada para validadar a propriedade.
|
|
59112
|
+
*/
|
|
59113
|
+
function validatePropertyOnLifeCycle(decoratorProperties, lifecycleName, callback) {
|
|
59114
|
+
const { target, property } = decoratorProperties;
|
|
59115
|
+
const emptyFunction = () => { };
|
|
59116
|
+
const lifecycleFunctionClone = target[lifecycleName] || emptyFunction;
|
|
59117
|
+
Object.defineProperty(target, lifecycleName, {
|
|
59118
|
+
value: function () {
|
|
59119
|
+
callback.call(this, property, target);
|
|
59120
|
+
lifecycleFunctionClone.call(this);
|
|
59121
|
+
}
|
|
59122
|
+
});
|
|
59123
|
+
}
|
|
59124
|
+
/**
|
|
59125
|
+
* Função utilizada pela fábrica de decoradores para alterar/manipular o valor de uma propriedade.
|
|
59126
|
+
*
|
|
59127
|
+
* > Este decorator irá criar os métodos get e set internamente. Portanto,
|
|
59128
|
+
* é importante **não** criar nomes privados para as propriedades utilizando
|
|
59129
|
+
* `$$__nomeDaPropriedade` ao utilizar este decorator, pois ela será sobrescrita pela propriedade privada
|
|
59130
|
+
* criada pelo decorator.
|
|
59131
|
+
*
|
|
59132
|
+
* @param decoratorProperties propriedades da interface PoPropertyDecoratorInterface.
|
|
59133
|
+
* @param decoratorName nome do decorator
|
|
59134
|
+
* @param callback função que será executada para alterar o valor da propriedade
|
|
59135
|
+
*/
|
|
59136
|
+
function changeValueByCallback(decoratorProperties, decoratorName, callback) {
|
|
59137
|
+
const { target, property, originalDescriptor } = decoratorProperties;
|
|
59138
|
+
const privatePropertyName = createPrivateProperty(target, property, decoratorName);
|
|
59139
|
+
return {
|
|
59140
|
+
get: getter(originalDescriptor, privatePropertyName),
|
|
59141
|
+
set: setter(originalDescriptor, callback, privatePropertyName)
|
|
59142
|
+
};
|
|
59143
|
+
}
|
|
59144
|
+
function setter(originalDescriptor, callback, privatePropertyName) {
|
|
59145
|
+
return function (value) {
|
|
59146
|
+
if (originalDescriptor && originalDescriptor.set) {
|
|
59147
|
+
originalDescriptor.set.bind(this)(callback(value));
|
|
59148
|
+
}
|
|
59149
|
+
this[privatePropertyName] = callback(value);
|
|
59150
|
+
};
|
|
59151
|
+
}
|
|
59152
|
+
function getter(originalDescriptor, privatePropName) {
|
|
59153
|
+
return function () {
|
|
59154
|
+
return originalDescriptor && originalDescriptor.get ? originalDescriptor.get.bind(this)() : this[privatePropName];
|
|
59155
|
+
};
|
|
59156
|
+
}
|
|
59157
|
+
function createPrivateProperty(target, propertyName, decoratorName) {
|
|
59158
|
+
const privatePropName = `$$__${propertyName}`;
|
|
59159
|
+
if (Object.prototype.hasOwnProperty.call(target, privatePropName)) {
|
|
59160
|
+
console.warn(`The prop "${privatePropName}" is already exist, it will be overrided by ${decoratorName} decorator.`);
|
|
59161
|
+
}
|
|
59162
|
+
Object.defineProperty(target, privatePropName, {
|
|
59163
|
+
configurable: true,
|
|
59164
|
+
writable: true
|
|
59165
|
+
});
|
|
59166
|
+
return privatePropName;
|
|
59167
|
+
}
|
|
59168
|
+
|
|
59169
|
+
/**
|
|
59170
|
+
* Converte o valor de um campo de entrada para booleano.
|
|
59171
|
+
*
|
|
59172
|
+
* Forma de utilização:
|
|
59173
|
+
*
|
|
59174
|
+
* ```
|
|
59175
|
+
* @Input('p-loading') @InputBoolean() loading: boolean;
|
|
59176
|
+
* ```
|
|
59177
|
+
*/
|
|
59178
|
+
function InputBoolean() {
|
|
59179
|
+
return function (target, property, originalDescriptor) {
|
|
59180
|
+
const decoratorProperties = { target, property, originalDescriptor };
|
|
59181
|
+
return changeValueByCallback(decoratorProperties, 'InputBoolean', convertToBoolean);
|
|
59182
|
+
};
|
|
59183
|
+
}
|
|
59184
|
+
|
|
59185
|
+
/**
|
|
59186
|
+
* @docsPrivate
|
|
59187
|
+
*
|
|
59188
|
+
* @description
|
|
59189
|
+
*
|
|
59190
|
+
* Verifica se uma entrada de um componente foi preenchida.
|
|
59191
|
+
*
|
|
59192
|
+
* Na ausência da propriedade o decorator irá disparar um warn no console
|
|
59193
|
+
* do navegador do usuário.
|
|
59194
|
+
*
|
|
59195
|
+
* > Esta verificação é feita apenas no ngOnInit do componente.
|
|
59196
|
+
*
|
|
59197
|
+
* Forma de utilização:
|
|
59198
|
+
* ```
|
|
59199
|
+
* @Input('p-label') @InputRequired() label: string;
|
|
59200
|
+
* ```
|
|
59201
|
+
*
|
|
59202
|
+
* Referência:
|
|
59203
|
+
* https://netbasal.com/how-to-add-angular-component-input-validation-b078a30af97f
|
|
59204
|
+
* https://medium.com/@abdelelmedny/angular-input-decorators-5d38089070aa
|
|
59205
|
+
*/
|
|
59206
|
+
function InputRequired() {
|
|
59207
|
+
return function (target, property) {
|
|
59208
|
+
const decoratorProperties = { target, property };
|
|
59209
|
+
validatePropertyOnLifeCycle(decoratorProperties, 'ngOnInit', validateProperty);
|
|
59210
|
+
};
|
|
59211
|
+
}
|
|
59212
|
+
function validateProperty(property, target) {
|
|
59213
|
+
if (this[property] == null) {
|
|
59214
|
+
console.warn(`${target.constructor.name}: ${property} is required, but was not provided`);
|
|
59215
|
+
}
|
|
59216
|
+
}
|
|
59217
|
+
|
|
59481
59218
|
const I18N_CONFIG = new InjectionToken('I18N_CONFIG');
|
|
59482
59219
|
|
|
59483
59220
|
/**
|
|
@@ -60137,211 +59874,213 @@ function initializeLanguageDefault(config, languageService) {
|
|
|
60137
59874
|
*
|
|
60138
59875
|
*/
|
|
60139
59876
|
|
|
60140
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
60141
|
-
|
|
60142
|
-
class PoModule {
|
|
60143
|
-
themeService;
|
|
60144
|
-
constructor(themeService) {
|
|
60145
|
-
this.themeService = themeService;
|
|
60146
|
-
if (this.themeService.getThemeActive() === undefined) {
|
|
60147
|
-
this.themeService.setTheme(poThemeDefault, PoThemeTypeEnum.light, PoThemeA11yEnum.AAA, false);
|
|
60148
|
-
}
|
|
60149
|
-
}
|
|
60150
|
-
static ɵfac = function PoModule_Factory(t) { return new (t || PoModule)(i0.ɵɵinject(PoThemeService)); };
|
|
60151
|
-
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoModule });
|
|
60152
|
-
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [PoNotificationService], imports: [PoComponentsModule,
|
|
60153
|
-
PoDirectivesModule,
|
|
60154
|
-
PoGuardsModule,
|
|
60155
|
-
PoInterceptorsModule,
|
|
60156
|
-
PoPipesModule,
|
|
60157
|
-
PoServicesModule, PoComponentsModule,
|
|
60158
|
-
PoDirectivesModule,
|
|
60159
|
-
PoInterceptorsModule,
|
|
60160
|
-
PoGuardsModule,
|
|
60161
|
-
PoPipesModule,
|
|
60162
|
-
PoServicesModule] });
|
|
60163
|
-
}
|
|
60164
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoModule, [{
|
|
60165
|
-
type: NgModule,
|
|
60166
|
-
args: [{
|
|
60167
|
-
declarations: [],
|
|
60168
|
-
imports: [
|
|
60169
|
-
PoComponentsModule,
|
|
60170
|
-
PoDirectivesModule,
|
|
60171
|
-
PoGuardsModule,
|
|
60172
|
-
PoInterceptorsModule,
|
|
60173
|
-
PoPipesModule,
|
|
60174
|
-
PoServicesModule
|
|
60175
|
-
],
|
|
60176
|
-
exports: [
|
|
60177
|
-
PoComponentsModule,
|
|
60178
|
-
PoDirectivesModule,
|
|
60179
|
-
PoInterceptorsModule,
|
|
60180
|
-
PoGuardsModule,
|
|
60181
|
-
PoPipesModule,
|
|
60182
|
-
PoServicesModule
|
|
60183
|
-
],
|
|
60184
|
-
providers: [PoNotificationService],
|
|
60185
|
-
bootstrap: []
|
|
60186
|
-
}]
|
|
60187
|
-
}], () => [{ type: PoThemeService }], null); })();
|
|
60188
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoModule, { imports: [PoComponentsModule,
|
|
60189
|
-
PoDirectivesModule,
|
|
60190
|
-
PoGuardsModule,
|
|
60191
|
-
PoInterceptorsModule,
|
|
60192
|
-
PoPipesModule,
|
|
60193
|
-
PoServicesModule], exports: [PoComponentsModule,
|
|
60194
|
-
PoDirectivesModule,
|
|
60195
|
-
PoInterceptorsModule,
|
|
60196
|
-
PoGuardsModule,
|
|
60197
|
-
PoPipesModule,
|
|
60198
|
-
PoServicesModule] }); })();
|
|
60199
|
-
|
|
60200
59877
|
/**
|
|
60201
|
-
*
|
|
60202
|
-
*
|
|
60203
|
-
* @description
|
|
60204
|
-
*
|
|
60205
|
-
* Enum para definição do tipo de componente a ser renderizado.
|
|
59878
|
+
* Define as cores de ação padrão para temas escuros.
|
|
60206
59879
|
*/
|
|
60207
|
-
|
|
60208
|
-
|
|
60209
|
-
|
|
60210
|
-
|
|
60211
|
-
|
|
60212
|
-
|
|
60213
|
-
|
|
59880
|
+
const poThemeDefaultActionsDark = {
|
|
59881
|
+
/** Cor padrão. */
|
|
59882
|
+
default: 'var(--color-brand-01-dark)',
|
|
59883
|
+
/** Cor ao passar o mouse. */
|
|
59884
|
+
hover: 'var(--color-brand-01-darker)',
|
|
59885
|
+
/** Cor quando pressionado. */
|
|
59886
|
+
pressed: 'var(--color-brand-01-darkest)',
|
|
59887
|
+
/** Cor quando desabilitado. */
|
|
59888
|
+
disabled: 'var(--color-neutral-mid-40)',
|
|
59889
|
+
/** Cor ao focar. */
|
|
59890
|
+
focus: 'var(--color-brand-01-darkest)'
|
|
59891
|
+
};
|
|
60214
59892
|
/**
|
|
60215
|
-
*
|
|
60216
|
-
*
|
|
60217
|
-
* @description
|
|
60218
|
-
*
|
|
60219
|
-
* Enum para definição do tipo de componente a ser renderizado.
|
|
59893
|
+
* Define as cores neutras padrão para temas escuros.
|
|
60220
59894
|
*/
|
|
60221
|
-
|
|
60222
|
-
|
|
60223
|
-
|
|
60224
|
-
|
|
60225
|
-
|
|
60226
|
-
|
|
60227
|
-
|
|
60228
|
-
|
|
59895
|
+
const poThemeDefaultNeutralsDark = {
|
|
59896
|
+
/** Tons de cinza claro. */
|
|
59897
|
+
light: {
|
|
59898
|
+
'00': '#1c1c1c',
|
|
59899
|
+
'05': '#202020',
|
|
59900
|
+
'10': '#2b2b2b',
|
|
59901
|
+
'20': '#3b3b3b',
|
|
59902
|
+
'30': '#5a5a5a'
|
|
59903
|
+
},
|
|
59904
|
+
/** Tons de cinza intermediários. */
|
|
59905
|
+
mid: {
|
|
59906
|
+
'40': '#7c7c7c',
|
|
59907
|
+
'60': '#a1a1a1'
|
|
59908
|
+
},
|
|
59909
|
+
/** Tons de cinza escuro. */
|
|
59910
|
+
dark: {
|
|
59911
|
+
'70': '#c1c1c1',
|
|
59912
|
+
'80': '#d9d9d9',
|
|
59913
|
+
'90': '#eeeeee',
|
|
59914
|
+
'95': '#fbfbfb'
|
|
59915
|
+
}
|
|
59916
|
+
};
|
|
60229
59917
|
/**
|
|
60230
|
-
*
|
|
60231
|
-
* o ciclo de vida do Angular.
|
|
60232
|
-
*
|
|
60233
|
-
* @param decoratorProperties propriedades da interface PoPropertyDecoratorInterface.
|
|
60234
|
-
* @param lifecycleName clico de vida que se deseja executar com a validação.
|
|
60235
|
-
* @param callback função que será executada para validadar a propriedade.
|
|
59918
|
+
* Define as cores de feedback padrão para temas escuros.
|
|
60236
59919
|
*/
|
|
60237
|
-
|
|
60238
|
-
|
|
60239
|
-
|
|
60240
|
-
|
|
60241
|
-
|
|
60242
|
-
|
|
60243
|
-
|
|
60244
|
-
|
|
60245
|
-
|
|
60246
|
-
|
|
60247
|
-
}
|
|
59920
|
+
const poThemeDefaultFeedbackDark = {
|
|
59921
|
+
/** Cores para feedback negativo. */
|
|
59922
|
+
negative: {
|
|
59923
|
+
lightest: '#4a1512',
|
|
59924
|
+
lighter: '#72211d',
|
|
59925
|
+
light: '#9b2d27',
|
|
59926
|
+
base: '#be3e37',
|
|
59927
|
+
dark: '#d58581',
|
|
59928
|
+
darker: '#e3aeab',
|
|
59929
|
+
darkest: '#f6e6e5'
|
|
59930
|
+
},
|
|
59931
|
+
/** Cores para feedback informativo. */
|
|
59932
|
+
info: {
|
|
59933
|
+
lightest: '#081536',
|
|
59934
|
+
lighter: '#0f2557',
|
|
59935
|
+
light: '#173782',
|
|
59936
|
+
base: '#23489f',
|
|
59937
|
+
dark: '#7996d7',
|
|
59938
|
+
darker: '#b0c1e8',
|
|
59939
|
+
darkest: '#e3e9f7'
|
|
59940
|
+
},
|
|
59941
|
+
/** Cores para feedback positivo. */
|
|
59942
|
+
positive: {
|
|
59943
|
+
lightest: '#002415',
|
|
59944
|
+
lighter: '#083a25',
|
|
59945
|
+
light: '#0f5236',
|
|
59946
|
+
base: '#107048',
|
|
59947
|
+
dark: '#41b483',
|
|
59948
|
+
darker: '#7ecead',
|
|
59949
|
+
darkest: '#def7ed'
|
|
59950
|
+
},
|
|
59951
|
+
/** Cores para feedback de aviso. */
|
|
59952
|
+
warning: {
|
|
59953
|
+
lightest: '#473400',
|
|
59954
|
+
lighter: '#705200',
|
|
59955
|
+
light: '#d8a20e',
|
|
59956
|
+
base: '#efba2a',
|
|
59957
|
+
dark: '#f1cd6a',
|
|
59958
|
+
darker: '#f7dd97',
|
|
59959
|
+
darkest: '#fcf6e3'
|
|
59960
|
+
}
|
|
59961
|
+
};
|
|
60248
59962
|
/**
|
|
60249
|
-
*
|
|
60250
|
-
*
|
|
60251
|
-
* > Este decorator irá criar os métodos get e set internamente. Portanto,
|
|
60252
|
-
* é importante **não** criar nomes privados para as propriedades utilizando
|
|
60253
|
-
* `$$__nomeDaPropriedade` ao utilizar este decorator, pois ela será sobrescrita pela propriedade privada
|
|
60254
|
-
* criada pelo decorator.
|
|
60255
|
-
*
|
|
60256
|
-
* @param decoratorProperties propriedades da interface PoPropertyDecoratorInterface.
|
|
60257
|
-
* @param decoratorName nome do decorator
|
|
60258
|
-
* @param callback função que será executada para alterar o valor da propriedade
|
|
59963
|
+
* Define estilos específicos por componente e onRoot para temas escuros.
|
|
60259
59964
|
*/
|
|
60260
|
-
|
|
60261
|
-
|
|
60262
|
-
|
|
60263
|
-
|
|
60264
|
-
|
|
60265
|
-
|
|
60266
|
-
|
|
60267
|
-
|
|
60268
|
-
|
|
60269
|
-
|
|
60270
|
-
|
|
60271
|
-
|
|
59965
|
+
const poThemeDefaultDarkValues = {
|
|
59966
|
+
perComponent: {
|
|
59967
|
+
/** TAB */
|
|
59968
|
+
'.po-tab-border-active': {
|
|
59969
|
+
'background-color': 'var(--color)'
|
|
59970
|
+
},
|
|
59971
|
+
/** GAUGE */
|
|
59972
|
+
'.po-gauge-wrapper': {
|
|
59973
|
+
'background-color': 'var(--color-neutral-light-00)'
|
|
59974
|
+
},
|
|
59975
|
+
/** OVERLAY */
|
|
59976
|
+
'po-overlay': {
|
|
59977
|
+
'--color-overlay': 'var(--color-neutral-light-20)'
|
|
59978
|
+
},
|
|
59979
|
+
/** MODAL */
|
|
59980
|
+
'po-modal': {
|
|
59981
|
+
'--color-overlay': 'var(--color-neutral-light-20)'
|
|
59982
|
+
},
|
|
59983
|
+
/** TOASTER */
|
|
59984
|
+
'po-toaster': {
|
|
59985
|
+
'--color-icon': 'var(--color-neutral-dark-80)',
|
|
59986
|
+
'--color-icon-warning': 'var(--color-neutral-light-00)'
|
|
59987
|
+
},
|
|
59988
|
+
/** BADGE */
|
|
59989
|
+
'po-badge': {
|
|
59990
|
+
'--color': 'var(--color-neutral-dark-95)'
|
|
59991
|
+
},
|
|
59992
|
+
'po-badge[p-status=warning]': {
|
|
59993
|
+
'--color': 'var(--color-neutral-light-00)'
|
|
59994
|
+
},
|
|
59995
|
+
// CHART: AXIS LABEL
|
|
59996
|
+
'po-chart po-chart-container > svg .po-chart-axis-x-label, .po-chart-axis-y-label': {
|
|
59997
|
+
'fill': 'var(--color-neutral-dark-95)'
|
|
59998
|
+
},
|
|
59999
|
+
// RICH-TEXT: color button border
|
|
60000
|
+
'po-rich-text-toolbar .po-button-default.po-rich-text-toolbar-color-picker-button': {
|
|
60001
|
+
'border-style': 'solid'
|
|
60002
|
+
},
|
|
60003
|
+
// LINK: item visitado
|
|
60004
|
+
'po-link': {
|
|
60005
|
+
'--text-color-visited': 'var(--color-action-default)'
|
|
60006
|
+
},
|
|
60007
|
+
// focus e outline: po-rich-text-body/ poinfo/ po-list-view/ po-stepper-circle (mudar no po-style)
|
|
60008
|
+
'po-rich-text-body .po-rich-text-body:focus-visible, po-info .po-info-link:focus-visible, po-list-view a.po-list-view-title-link:focus-visible, po-stepper-circle .po-stepper-circle:focus-visible': {
|
|
60009
|
+
'border-color': 'var(--color-action-default);',
|
|
60010
|
+
'outline-color': 'var(--color-action-focus);',
|
|
60011
|
+
'outline-width': 'var(--outline-width-focus-visible);',
|
|
60012
|
+
'outline-style': 'solid;',
|
|
60013
|
+
'outline-offset': '2px;'
|
|
60014
|
+
},
|
|
60015
|
+
// background container
|
|
60016
|
+
'po-container': {
|
|
60017
|
+
'--background': 'var(--color-neutral-light-00);'
|
|
60018
|
+
},
|
|
60019
|
+
// Background input disabled
|
|
60020
|
+
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
|
|
60021
|
+
'--background-disabled': 'var(--color-neutral-light-20);'
|
|
60022
|
+
},
|
|
60023
|
+
// autocomplete dos inputs (setar no po-style)
|
|
60024
|
+
'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
|
|
60025
|
+
'-webkit-background-clip': 'text',
|
|
60026
|
+
'-webkit-text-fill-color': '#ffffff',
|
|
60027
|
+
'transition': 'background-color 5000s ease-in-out 0s',
|
|
60028
|
+
'box-shadow': 'inset 0 0 20px 20px #23232329'
|
|
60029
|
+
},
|
|
60030
|
+
'po-overlay, po-page-slide': {
|
|
60031
|
+
'--color-overlay': 'var(--color-neutral-light-05)'
|
|
60032
|
+
},
|
|
60033
|
+
'po-select': {
|
|
60034
|
+
'--color-hover': 'var(--color-action-hover);'
|
|
60035
|
+
},
|
|
60036
|
+
'po-select select': {
|
|
60037
|
+
'--color': 'var(--color-neutral-light-30);'
|
|
60272
60038
|
}
|
|
60273
|
-
|
|
60274
|
-
|
|
60275
|
-
|
|
60276
|
-
|
|
60277
|
-
|
|
60278
|
-
|
|
60279
|
-
|
|
60280
|
-
|
|
60281
|
-
|
|
60282
|
-
|
|
60283
|
-
|
|
60284
|
-
|
|
60039
|
+
},
|
|
60040
|
+
onRoot: {
|
|
60041
|
+
/* CORES LEGADAS */
|
|
60042
|
+
'--color-neutral': 'var(--color-neutral-dark-70)',
|
|
60043
|
+
'--color-secondary': 'var(--color-action-default)',
|
|
60044
|
+
'--color-secondary-light-20': 'var(--color-brand-01-lighter)',
|
|
60045
|
+
'--color-secondary-light-40': 'var(--color-brand-01-light)',
|
|
60046
|
+
'--color-secondary-dark-20': 'var(--color-brand-01-dark)',
|
|
60047
|
+
'--color-secondary-dark-40': 'var(--color-brand-01-darker)',
|
|
60048
|
+
'--color-secondary-dark-80': 'var(--color-brand-01-darkest)',
|
|
60049
|
+
'--color-black-alpha-10': 'rgba(255, 255, 255, 0.1)',
|
|
60050
|
+
'--color-black-alpha-15': 'rgba(255, 255, 255, 0.15)',
|
|
60051
|
+
'--color-black-alpha-30': 'rgba(255, 255, 255, 0.3)',
|
|
60052
|
+
'--color-primary-light-80': 'color-mix(in srgb, var(--color-brand-02-base) 80%, black)',
|
|
60053
|
+
'--color-primary-light-95': 'color-mix(in srgb, var(--color-brand-02-base) 95%, black)',
|
|
60054
|
+
'--color-primary-alpha-50': 'color-mix(in srgb, var(--color-brand-02-base) 50%, white)',
|
|
60055
|
+
'--color-primary-dark-20': 'color-mix(in srgb, var(--color-brand-02-base) 20%, white)',
|
|
60056
|
+
'--color-primary-dark-40': 'color-mix(in srgb, var(--color-brand-02-base) 40%, white)',
|
|
60057
|
+
'--color-secondary-dark-60-alpha-70': 'color-mix(in srgb, var(--color-neutral-mid-60) 70%, white)',
|
|
60058
|
+
'--color-tertiary-light-90': 'color-mix(in srgb, var(--color-brand-03-base) 90%, black)',
|
|
60059
|
+
'--color-tertiary-dark-5': 'color-mix(in srgb, var(--color-brand-03-base) 5%, white)',
|
|
60060
|
+
/* PO-PAGE */
|
|
60061
|
+
'--color-page-background-color-page': 'var(--color-neutral-light-00)',
|
|
60062
|
+
/* TOOLBAR BADGE */
|
|
60063
|
+
'--color-toolbar-color-badge-text': 'var(--color-neutral-dark-95)',
|
|
60064
|
+
/* POPOVER */
|
|
60065
|
+
'--shadow-popover-box-shadow': '0 0 4px 0 var(--color-neutral-light-20)',
|
|
60066
|
+
'--shadow-popover-box-shadow-arrow': '-1px -1px 1px 0 var(--color-neutral-light-20)',
|
|
60067
|
+
/* CALENDAR */
|
|
60068
|
+
'--color-calendar-background-color-box-background-range': 'var(--color-brand-01-lightest)',
|
|
60069
|
+
/* STEPPER */
|
|
60070
|
+
'--color-stepper-circle-disabled': 'var(--color-neutral-mid-40)',
|
|
60071
|
+
'--color-stepper-bar-disabled': 'var(--color-neutral-mid-40)',
|
|
60072
|
+
/* TAB */
|
|
60073
|
+
'--po-tab-smart-active': 'var(--color-neutral-dark-95)',
|
|
60074
|
+
'--po-tab-smart-background-item-selected': 'var(--color-brand-01-lighter)',
|
|
60075
|
+
'--po-tab-smart-background-hover': 'var(--color-brand-01-lightest)'
|
|
60285
60076
|
}
|
|
60286
|
-
|
|
60287
|
-
configurable: true,
|
|
60288
|
-
writable: true
|
|
60289
|
-
});
|
|
60290
|
-
return privatePropName;
|
|
60291
|
-
}
|
|
60292
|
-
|
|
60293
|
-
/**
|
|
60294
|
-
* Converte o valor de um campo de entrada para booleano.
|
|
60295
|
-
*
|
|
60296
|
-
* Forma de utilização:
|
|
60297
|
-
*
|
|
60298
|
-
* ```
|
|
60299
|
-
* @Input('p-loading') @InputBoolean() loading: boolean;
|
|
60300
|
-
* ```
|
|
60301
|
-
*/
|
|
60302
|
-
function InputBoolean() {
|
|
60303
|
-
return function (target, property, originalDescriptor) {
|
|
60304
|
-
const decoratorProperties = { target, property, originalDescriptor };
|
|
60305
|
-
return changeValueByCallback(decoratorProperties, 'InputBoolean', convertToBoolean);
|
|
60306
|
-
};
|
|
60307
|
-
}
|
|
60077
|
+
};
|
|
60308
60078
|
|
|
60309
|
-
|
|
60310
|
-
* @docsPrivate
|
|
60311
|
-
*
|
|
60312
|
-
* @description
|
|
60313
|
-
*
|
|
60314
|
-
* Verifica se uma entrada de um componente foi preenchida.
|
|
60315
|
-
*
|
|
60316
|
-
* Na ausência da propriedade o decorator irá disparar um warn no console
|
|
60317
|
-
* do navegador do usuário.
|
|
60318
|
-
*
|
|
60319
|
-
* > Esta verificação é feita apenas no ngOnInit do componente.
|
|
60320
|
-
*
|
|
60321
|
-
* Forma de utilização:
|
|
60322
|
-
* ```
|
|
60323
|
-
* @Input('p-label') @InputRequired() label: string;
|
|
60324
|
-
* ```
|
|
60325
|
-
*
|
|
60326
|
-
* Referência:
|
|
60327
|
-
* https://netbasal.com/how-to-add-angular-component-input-validation-b078a30af97f
|
|
60328
|
-
* https://medium.com/@abdelelmedny/angular-input-decorators-5d38089070aa
|
|
60329
|
-
*/
|
|
60330
|
-
function InputRequired() {
|
|
60331
|
-
return function (target, property) {
|
|
60332
|
-
const decoratorProperties = { target, property };
|
|
60333
|
-
validatePropertyOnLifeCycle(decoratorProperties, 'ngOnInit', validateProperty);
|
|
60334
|
-
};
|
|
60335
|
-
}
|
|
60336
|
-
function validateProperty(property, target) {
|
|
60337
|
-
if (this[property] == null) {
|
|
60338
|
-
console.warn(`${target.constructor.name}: ${property} is required, but was not provided`);
|
|
60339
|
-
}
|
|
60340
|
-
}
|
|
60079
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
60341
60080
|
|
|
60342
60081
|
/**
|
|
60343
60082
|
* Generated bundle index. Do not edit.
|
|
60344
60083
|
*/
|
|
60345
60084
|
|
|
60346
|
-
export { ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, ICONS_DICTIONARY, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PhosphorIconDictionary, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconDictionary, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent,
|
|
60085
|
+
export { ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, ICONS_DICTIONARY, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PhosphorIconDictionary, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconDictionary, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, poBreadcrumbLiterals, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poTabsLiterals, poThemeDefault, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultDarkValues, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poToasterLiterals, returnPoI18nService };
|
|
60347
60086
|
//# sourceMappingURL=po-ui-ng-components.mjs.map
|