@quidgest/ui 0.17.8 → 0.17.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.17.8
2
+ * Quidgest UI v0.17.9
3
3
  * (c) 2026 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -2197,6 +2197,114 @@ $q-carousel-height-md: 300px;
2197
2197
  @media (min-width: $breakpoint-xxl) {
2198
2198
  @include generate-cols('-xxl');
2199
2199
  }
2200
+ 
2201
+ .q-spacer {
2202
+ flex: 1 1 0;
2203
+ }
2204
+ $q-spacers: (
2205
+ 0: 0,
2206
+ 1: $space-base * 0.25,
2207
+ 2: $space-base * 0.5,
2208
+ 3: $space-base,
2209
+ 4: $space-base * 1.5,
2210
+ 5: $space-base * 3
2211
+ ) !default;
2212
+ $q-breakpoints: (
2213
+ sm: $breakpoint-sm,
2214
+ md: $breakpoint-md,
2215
+ lg: $breakpoint-lg,
2216
+ xl: $breakpoint-xl,
2217
+ xxl: $breakpoint-xxl
2218
+ ) !default;
2219
+ $q-spacing-sides: (
2220
+ null: '',
2221
+
2222
+ t: 't',
2223
+
2224
+ b: 'b',
2225
+
2226
+ l: 'l',
2227
+
2228
+ r: 'r',
2229
+
2230
+ x: 'x',
2231
+
2232
+ y: 'y'
2233
+ ) !default;
2234
+ @mixin q-media-up($breakpoint) {
2235
+ $value: map.get($q-breakpoints, $breakpoint);
2236
+ @if $value {
2237
+ @media (min-width: $value) {
2238
+ @content;
2239
+ }
2240
+ } @else {
2241
+ @warn "Breakpoint `#{$breakpoint}` not found in $q-breakpoints.";
2242
+ }
2243
+ }
2244
+ @mixin q-emit-spacing($property, $side, $value) {
2245
+ @if not $side {
2246
+ #{$property}: $value;
2247
+ } @else if $side == t {
2248
+ #{$property}-top: $value;
2249
+ } @else if $side == b {
2250
+ #{$property}-bottom: $value;
2251
+ } @else if $side == l {
2252
+ #{$property}-left: $value;
2253
+ } @else if $side == r {
2254
+ #{$property}-right: $value;
2255
+ } @else if $side == x {
2256
+ #{$property}-left: $value;
2257
+ #{$property}-right: $value;
2258
+ } @else if $side == y {
2259
+ #{$property}-top: $value;
2260
+ #{$property}-bottom: $value;
2261
+ } @else {
2262
+ @warn "Unknown side `#{$side}` used for spacing generation.";
2263
+ }
2264
+ }
2265
+ @mixin q-generate-responsive-spacing($property, $short) {
2266
+
2267
+ @each $size, $length in $q-spacers {
2268
+ @each $sideKey, $sideSuffix in $q-spacing-sides {
2269
+ .q-#{$short}#{$sideSuffix}-#{$size} {
2270
+ @include q-emit-spacing($property, $sideKey, $length);
2271
+ }
2272
+ }
2273
+ }
2274
+
2275
+ @each $breakpoint, $bpValue in $q-breakpoints {
2276
+ @include q-media-up($breakpoint) {
2277
+ @each $size, $length in $q-spacers {
2278
+ @each $sideKey, $sideSuffix in $q-spacing-sides {
2279
+ .q-#{$short}#{$sideSuffix}-#{$breakpoint}-#{$size} {
2280
+ @include q-emit-spacing($property, $sideKey, $length);
2281
+ }
2282
+ }
2283
+ }
2284
+ }
2285
+ }
2286
+ }
2287
+ @mixin q-generate-margin-auto() {
2288
+
2289
+ @each $sideKey, $sideSuffix in $q-spacing-sides {
2290
+ .q-m#{$sideSuffix}-auto {
2291
+ @include q-emit-spacing(margin, $sideKey, auto);
2292
+ }
2293
+ }
2294
+
2295
+ @each $breakpoint, $bpValue in $q-breakpoints {
2296
+ @include q-media-up($breakpoint) {
2297
+ @each $sideKey, $sideSuffix in $q-spacing-sides {
2298
+ .q-m#{$sideSuffix}-#{$breakpoint}-auto {
2299
+ @include q-emit-spacing(margin, $sideKey, auto);
2300
+ }
2301
+ }
2302
+ }
2303
+ }
2304
+ }
2305
+ @include q-generate-responsive-spacing(margin, m);
2306
+ @include q-generate-responsive-spacing(padding, p);
2307
+ @include q-generate-margin-auto;
2200
2308
  .q-group-box {
2201
2309
  $this: &;
2202
2310
  display: inline-block;
@@ -2569,6 +2677,62 @@ $q-line-loader-color: var(--q-line-loader-color);
2569
2677
  background-color: var(--q-theme-primary);
2570
2678
  }
2571
2679
  }
2680
+ .q-obfuscation {
2681
+ &__value {
2682
+ display: flex;
2683
+ align-items: center;
2684
+ gap: $space-base;
2685
+ font-size: inherit;
2686
+ }
2687
+ &__mask {
2688
+ display: inline-flex;
2689
+ align-items: center;
2690
+ gap: $space-base;
2691
+ width: 100%;
2692
+ color: var(--q-theme-neutral);
2693
+ user-select: none;
2694
+ .q-icon {
2695
+ color: inherit;
2696
+ }
2697
+ }
2698
+ &__action {
2699
+ justify-content: flex-start;
2700
+ margin: 0;
2701
+ padding: 0;
2702
+ border-width: 0;
2703
+ width: 100%;
2704
+ min-height: 1.5em;
2705
+ line-height: inherit;
2706
+ color: var(--q-theme-primary);
2707
+ &:hover,
2708
+ &:focus-visible {
2709
+ outline-offset: 0;
2710
+ }
2711
+ .q-button__content {
2712
+ justify-content: flex-start;
2713
+ }
2714
+ &.q-button--labeled {
2715
+ padding: 0;
2716
+ }
2717
+ }
2718
+ &__content {
2719
+ display: flex;
2720
+ align-items: flex-start;
2721
+ gap: $space-base;
2722
+ min-width: 0;
2723
+ }
2724
+ &__label-action {
2725
+ color: var(--q-theme-primary);
2726
+ min-width: auto;
2727
+ min-height: auto;
2728
+ &:focus-visible {
2729
+ outline-offset: 2px;
2730
+ }
2731
+ }
2732
+ &__icon {
2733
+ flex-shrink: 0;
2734
+ }
2735
+ }
2572
2736
  $overlay-border-width: 1px;
2573
2737
  $overlay-arrow-width: 11.31px;
2574
2738
  $overlay-arrow-height: 11.31px;
@@ -3780,111 +3944,3 @@ $q-toast-slide-distance: clamp(1rem, 3vw, 1.5rem) !default;
3780
3944
  max-width: 200px;
3781
3945
  }
3782
3946
  }
3783
- 
3784
- .q-spacer {
3785
- flex: 1 1 0;
3786
- }
3787
- $q-spacers: (
3788
- 0: 0,
3789
- 1: $space-base * 0.25,
3790
- 2: $space-base * 0.5,
3791
- 3: $space-base,
3792
- 4: $space-base * 1.5,
3793
- 5: $space-base * 3
3794
- ) !default;
3795
- $q-breakpoints: (
3796
- sm: $breakpoint-sm,
3797
- md: $breakpoint-md,
3798
- lg: $breakpoint-lg,
3799
- xl: $breakpoint-xl,
3800
- xxl: $breakpoint-xxl
3801
- ) !default;
3802
- $q-spacing-sides: (
3803
- null: '',
3804
-
3805
- t: 't',
3806
-
3807
- b: 'b',
3808
-
3809
- l: 'l',
3810
-
3811
- r: 'r',
3812
-
3813
- x: 'x',
3814
-
3815
- y: 'y'
3816
- ) !default;
3817
- @mixin q-media-up($breakpoint) {
3818
- $value: map.get($q-breakpoints, $breakpoint);
3819
- @if $value {
3820
- @media (min-width: $value) {
3821
- @content;
3822
- }
3823
- } @else {
3824
- @warn "Breakpoint `#{$breakpoint}` not found in $q-breakpoints.";
3825
- }
3826
- }
3827
- @mixin q-emit-spacing($property, $side, $value) {
3828
- @if not $side {
3829
- #{$property}: $value;
3830
- } @else if $side == t {
3831
- #{$property}-top: $value;
3832
- } @else if $side == b {
3833
- #{$property}-bottom: $value;
3834
- } @else if $side == l {
3835
- #{$property}-left: $value;
3836
- } @else if $side == r {
3837
- #{$property}-right: $value;
3838
- } @else if $side == x {
3839
- #{$property}-left: $value;
3840
- #{$property}-right: $value;
3841
- } @else if $side == y {
3842
- #{$property}-top: $value;
3843
- #{$property}-bottom: $value;
3844
- } @else {
3845
- @warn "Unknown side `#{$side}` used for spacing generation.";
3846
- }
3847
- }
3848
- @mixin q-generate-responsive-spacing($property, $short) {
3849
-
3850
- @each $size, $length in $q-spacers {
3851
- @each $sideKey, $sideSuffix in $q-spacing-sides {
3852
- .q-#{$short}#{$sideSuffix}-#{$size} {
3853
- @include q-emit-spacing($property, $sideKey, $length);
3854
- }
3855
- }
3856
- }
3857
-
3858
- @each $breakpoint, $bpValue in $q-breakpoints {
3859
- @include q-media-up($breakpoint) {
3860
- @each $size, $length in $q-spacers {
3861
- @each $sideKey, $sideSuffix in $q-spacing-sides {
3862
- .q-#{$short}#{$sideSuffix}-#{$breakpoint}-#{$size} {
3863
- @include q-emit-spacing($property, $sideKey, $length);
3864
- }
3865
- }
3866
- }
3867
- }
3868
- }
3869
- }
3870
- @mixin q-generate-margin-auto() {
3871
-
3872
- @each $sideKey, $sideSuffix in $q-spacing-sides {
3873
- .q-m#{$sideSuffix}-auto {
3874
- @include q-emit-spacing(margin, $sideKey, auto);
3875
- }
3876
- }
3877
-
3878
- @each $breakpoint, $bpValue in $q-breakpoints {
3879
- @include q-media-up($breakpoint) {
3880
- @each $sideKey, $sideSuffix in $q-spacing-sides {
3881
- .q-m#{$sideSuffix}-#{$breakpoint}-auto {
3882
- @include q-emit-spacing(margin, $sideKey, auto);
3883
- }
3884
- }
3885
- }
3886
- }
3887
- }
3888
- @include q-generate-responsive-spacing(margin, m);
3889
- @include q-generate-responsive-spacing(padding, p);
3890
- @include q-generate-margin-auto;
@@ -0,0 +1,74 @@
1
+ import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
2
+ import { QObfuscationProps } from '.';
3
+ import { Component } from 'vue';
4
+ type __VLS_Props = QObfuscationProps;
5
+ type __VLS_PublicProps = {
6
+ 'revealed'?: boolean;
7
+ } & __VLS_Props;
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: Readonly<{
11
+ default?: (props: {
12
+ qObfuscationHideAction: Component;
13
+ toggle: () => void;
14
+ revealed: boolean;
15
+ loading: boolean;
16
+ }) => unknown;
17
+ reveal?: (props: {
18
+ revealed: boolean;
19
+ toggle: () => void;
20
+ loading: boolean;
21
+ }) => unknown;
22
+ mask?: () => unknown;
23
+ 'label.prepend'?: () => unknown;
24
+ 'label.append'?: () => unknown;
25
+ extras?: () => unknown;
26
+ }> & {
27
+ default?: (props: {
28
+ qObfuscationHideAction: Component;
29
+ toggle: () => void;
30
+ revealed: boolean;
31
+ loading: boolean;
32
+ }) => unknown;
33
+ reveal?: (props: {
34
+ revealed: boolean;
35
+ toggle: () => void;
36
+ loading: boolean;
37
+ }) => unknown;
38
+ mask?: () => unknown;
39
+ 'label.prepend'?: () => unknown;
40
+ 'label.append'?: () => unknown;
41
+ extras?: () => unknown;
42
+ };
43
+ refs: {};
44
+ rootEl: any;
45
+ };
46
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ "update:revealed": (value: boolean) => any;
49
+ } & {
50
+ hide: () => any;
51
+ reveal: () => any;
52
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
53
+ onHide?: (() => any) | undefined;
54
+ onReveal?: (() => any) | undefined;
55
+ "onUpdate:revealed"?: ((value: boolean) => any) | undefined;
56
+ }>, {
57
+ size: import('..').QFieldSize;
58
+ required: boolean;
59
+ mask: import('./types').QObfuscationMask;
60
+ loading: boolean;
61
+ icons: typeof DEFAULT_ICONS;
62
+ texts: Partial<typeof DEFAULT_TEXTS>;
63
+ labelPosition: import('..').QLabelPosition;
64
+ revealable: boolean;
65
+ bulletCount: number;
66
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
67
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
+ export default _default;
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
74
+ //# sourceMappingURL=QObfuscation.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QObfuscation.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QObfuscation/QObfuscation.vue"],"names":[],"mappings":"AAsFA;AA+RC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAW1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAcpC,KAAK,WAAW,GAAG,iBAAiB,CAAC;AA0LtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmLT,OAAO,IAA6B;;kBA9VtC,CAAC,KAAK,EAAE;YACjB,sBAAsB,EAAE,SAAS,CAAA;YACjC,MAAM,EAAE,MAAM,IAAI,CAAA;YAClB,QAAQ,EAAE,OAAO,CAAA;YACjB,OAAO,EAAE,OAAO,CAAA;SAChB,KAAK,OAAO;iBACJ,CAAC,KAAK,EAAE;YAAE,QAAQ,EAAE,OAAO,CAAC;YAAC,MAAM,EAAE,MAAM,IAAI,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,KAAK,OAAO;eACjF,MAAM,OAAO;0BACF,MAAM,OAAO;yBACd,MAAM,OAAO;iBACrB,MAAM,OAAO;;kBAVZ,CAAC,KAAK,EAAE;YACjB,sBAAsB,EAAE,SAAS,CAAA;YACjC,MAAM,EAAE,MAAM,IAAI,CAAA;YAClB,QAAQ,EAAE,OAAO,CAAA;YACjB,OAAO,EAAE,OAAO,CAAA;SAChB,KAAK,OAAO;iBACJ,CAAC,KAAK,EAAE;YAAE,QAAQ,EAAE,OAAO,CAAC;YAAC,MAAM,EAAE,MAAM,IAAI,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,KAAK,OAAO;eACjF,MAAM,OAAO;0BACF,MAAM,OAAO;yBACd,MAAM,OAAO;iBACrB,MAAM,OAAO;;;;EAyVvB;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,183 @@
1
+ import { QButton as e } from "../QButton/index.js";
2
+ import { QIcon as t } from "../QIcon/index.js";
3
+ import { useId as n } from "../../composables/uid.js";
4
+ import { QField as r } from "../QField/index.js";
5
+ import { DEFAULT_ICONS as i, DEFAULT_TEXTS as a } from "./constants.js";
6
+ import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, defineComponent as h, h as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, onBeforeMount as x, onBeforeUnmount as S, openBlock as C, ref as w, renderSlot as T, toDisplayString as E, unref as D, useModel as O, watch as k, withCtx as A } from "vue";
7
+ //#region src/components/QObfuscation/QObfuscation.vue?vue&type=script&setup=true&lang.ts
8
+ var j = ["id"], M = ["id"], N = {
9
+ key: 1,
10
+ class: "q-obfuscation__mask"
11
+ }, P = /*@__PURE__*/ h({
12
+ __name: "QObfuscation",
13
+ props: /*@__PURE__*/ _({
14
+ id: {},
15
+ class: {},
16
+ label: {},
17
+ required: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ for: {},
22
+ labelPosition: { default: "topleft" },
23
+ size: { default: "medium" },
24
+ readonly: { type: Boolean },
25
+ disabled: { type: Boolean },
26
+ invalid: { type: Boolean },
27
+ revealable: {
28
+ type: Boolean,
29
+ default: !1
30
+ },
31
+ loading: {
32
+ type: Boolean,
33
+ default: !1
34
+ },
35
+ mask: { default: "restricted" },
36
+ bulletCount: { default: 12 },
37
+ icons: { default: () => i },
38
+ texts: { default: () => a }
39
+ }, {
40
+ revealed: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ revealedModifiers: {}
45
+ }),
46
+ emits: /*@__PURE__*/ _(["reveal", "hide"], ["update:revealed"]),
47
+ setup(i, { emit: _ }) {
48
+ let P = i, F = _, I = O(i, "revealed"), L = n(), R = w(0), z = w(!1), B = s(() => ({
49
+ ...a,
50
+ ...P.texts
51
+ })), V = s(() => P.revealable && I.value && !P.loading), H = s(() => R.value > 0), U = s(() => {
52
+ if (!(V.value && (!z.value || H.value))) return P.label;
53
+ }), W = s(() => V.value && z.value && !H.value), G = s(() => P.mask === "bullets" ? "•".repeat(P.bulletCount) : B.value.restricted), K = s(() => [
54
+ "q-obfuscation",
55
+ {
56
+ "q-obfuscation--revealable": P.revealable,
57
+ "q-obfuscation--revealed": V.value,
58
+ "q-obfuscation--loading": P.loading
59
+ },
60
+ P.class
61
+ ]);
62
+ k(V, async (e) => {
63
+ if (!e) {
64
+ z.value = !1;
65
+ return;
66
+ }
67
+ z.value = !1, await y(), z.value = !0;
68
+ }, { immediate: !0 });
69
+ let q = h({
70
+ name: "QObfuscationHideAction",
71
+ props: { track: {
72
+ type: Boolean,
73
+ default: !0
74
+ } },
75
+ setup(n) {
76
+ return n.track && (x(() => {
77
+ R.value++;
78
+ }), S(() => {
79
+ R.value--;
80
+ })), () => g(e, {
81
+ variant: "text",
82
+ borderless: !0,
83
+ size: "small",
84
+ class: "q-obfuscation__label-action",
85
+ disabled: P.disabled,
86
+ title: B.value.hideData,
87
+ "aria-label": B.value.hideData,
88
+ "aria-expanded": !0,
89
+ "aria-controls": L.value,
90
+ "data-testid": "q-obfuscation__hide",
91
+ onClick: J
92
+ }, () => g(t, {
93
+ ...P.icons.hide,
94
+ class: "q-obfuscation__icon"
95
+ }));
96
+ }
97
+ });
98
+ function J() {
99
+ !P.revealable || P.loading || (I.value = !I.value, I.value ? F("reveal") : F("hide"));
100
+ }
101
+ return (n, i) => (C(), c(D(r), {
102
+ id: P.id,
103
+ class: b(K.value),
104
+ for: P.for ?? D(L),
105
+ label: U.value,
106
+ "label-position": P.labelPosition,
107
+ size: P.size,
108
+ readonly: P.readonly,
109
+ disabled: P.disabled,
110
+ required: P.required,
111
+ invalid: P.invalid
112
+ }, f({
113
+ "label.prepend": A(() => [T(n.$slots, "label.prepend")]),
114
+ "label.append": A(() => [
115
+ T(n.$slots, "label.append"),
116
+ l(" Own padlock only when the consumer did not place QObfuscationHideAction "),
117
+ W.value ? (C(), c(D(q), {
118
+ key: 0,
119
+ track: !1
120
+ })) : l("v-if", !0)
121
+ ]),
122
+ control: A(() => [l(" Revealed: slot content; place QObfuscationHideAction on the field label to own it "), V.value ? (C(), u("div", {
123
+ key: 0,
124
+ id: D(L),
125
+ class: "q-obfuscation__content"
126
+ }, [T(n.$slots, "default", {
127
+ qObfuscationHideAction: D(q),
128
+ toggle: J,
129
+ revealed: I.value,
130
+ loading: P.loading
131
+ })], 8, j)) : (C(), u(o, { key: 1 }, [l(" Masked / loading: QObfuscation label + control surface "), d("div", {
132
+ id: D(L),
133
+ class: "q-field__control q-obfuscation__value"
134
+ }, [P.revealable ? T(n.$slots, "reveal", {
135
+ key: 0,
136
+ revealed: I.value,
137
+ toggle: J,
138
+ loading: P.loading
139
+ }, () => [m(D(e), {
140
+ variant: "text",
141
+ borderless: "",
142
+ block: "",
143
+ class: "q-obfuscation__action",
144
+ disabled: P.disabled,
145
+ loading: P.loading,
146
+ label: B.value.showData,
147
+ "aria-expanded": !1,
148
+ "aria-controls": D(L),
149
+ "data-testid": "q-obfuscation__reveal",
150
+ onClick: J
151
+ }, {
152
+ default: A(() => [m(D(t), v(P.icons.show, { class: "q-obfuscation__icon" }), null, 16)]),
153
+ _: 1
154
+ }, 8, [
155
+ "disabled",
156
+ "loading",
157
+ "label",
158
+ "aria-controls"
159
+ ])]) : (C(), u("span", N, [m(D(t), v(P.icons.restricted, {
160
+ class: "q-obfuscation__icon",
161
+ "aria-hidden": "true"
162
+ }), null, 16), T(n.$slots, "mask", {}, () => [p(E(G.value), 1)])]))], 8, M)], 2112))]),
163
+ _: 2
164
+ }, [n.$slots.extras ? {
165
+ name: "extras",
166
+ fn: A(() => [T(n.$slots, "extras")]),
167
+ key: "0"
168
+ } : void 0]), 1032, [
169
+ "id",
170
+ "class",
171
+ "for",
172
+ "label",
173
+ "label-position",
174
+ "size",
175
+ "readonly",
176
+ "disabled",
177
+ "required",
178
+ "invalid"
179
+ ]));
180
+ }
181
+ });
182
+ //#endregion
183
+ export { P as default };
@@ -0,0 +1,5 @@
1
+ import e from "./QObfuscation.vue.js";
2
+ //#region src/components/QObfuscation/QObfuscation.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,17 @@
1
+ export declare const DEFAULT_ICONS: {
2
+ restricted: {
3
+ icon: string;
4
+ };
5
+ show: {
6
+ icon: string;
7
+ };
8
+ hide: {
9
+ icon: string;
10
+ };
11
+ };
12
+ export declare const DEFAULT_TEXTS: {
13
+ restricted: string;
14
+ showData: string;
15
+ hideData: string;
16
+ };
17
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QObfuscation/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;;;;;;CAUM,CAAA;AAEhC,eAAO,MAAM,aAAa;;;;CAIQ,CAAA"}
@@ -0,0 +1,12 @@
1
+ //#region src/components/QObfuscation/constants.ts
2
+ var e = {
3
+ restricted: { icon: "lock" },
4
+ show: { icon: "lock" },
5
+ hide: { icon: "lock-open-variant" }
6
+ }, t = {
7
+ restricted: "Restricted",
8
+ showData: "Show data",
9
+ hideData: "Hide data"
10
+ };
11
+ //#endregion
12
+ export { e as DEFAULT_ICONS, t as DEFAULT_TEXTS };