@frollo/frollo-web-ui 2.0.0 → 3.0.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/cjs/index.js +17802 -1708
- package/esm/add-to-unscopables-2400f45b.js +25 -0
- package/esm/array-iteration-107f927f.js +92 -0
- package/esm/array-method-has-species-support-3d413468.js +23 -0
- package/esm/array-method-is-strict-055b1830.js +14 -0
- package/esm/array-species-create-a5f5503b.js +97 -0
- package/esm/{classof-088c9833.js → classof-39c30bd5.js} +1 -2
- package/esm/create-property-534611fd.js +14 -0
- package/esm/delete-property-or-throw-8032646c.js +31 -0
- package/esm/does-not-exceed-safe-integer-31d08811.js +11 -0
- package/esm/es.array.concat-987938be.js +69 -0
- package/esm/{es.array.find-54b8f84b.js → es.array.find-dfa1f42f.js} +5 -6
- package/esm/{es.array.includes-9a6e4066.js → es.array.includes-91be7771.js} +3 -4
- package/esm/{es.function.name-2fa3a718.js → es.function.name-557cb1f9.js} +1 -1
- package/esm/{es.number.constructor-b7faae1f.js → es.number.constructor-1249bd78.js} +2 -3
- package/esm/es.string.iterator-284b31d4.js +470 -0
- package/esm/{object-keys-3c73c404.js → export-a37ba078.js} +2 -13
- package/esm/function-apply-ce251590.js +14 -0
- package/esm/fw-accordion.js +2 -8
- package/esm/fw-animations.js +6 -20
- package/esm/fw-bar-chart.js +19 -0
- package/esm/{fw-button-765b9d52.js → fw-button-1486e2d9.js} +6 -24
- package/esm/fw-button.js +9 -8
- package/esm/fw-card-1b6a67fe.js +90 -0
- package/esm/fw-card.js +2 -95
- package/esm/fw-checkbox.js +27 -17
- package/esm/fw-dropdown.js +17 -33
- package/esm/fw-image-4727ac61.js +289 -0
- package/esm/fw-image.js +22 -847
- package/esm/fw-input.js +24 -25
- package/esm/fw-loading-bar-f5ca605c.js +22 -0
- package/esm/{fw-loading-spinner-01b9a040.js → fw-loading-spinner-df1627c0.js} +1 -2
- package/esm/fw-loading.js +6 -9
- package/esm/fw-modal.js +218 -11
- package/esm/fw-navigation-menu.js +11 -19
- package/esm/fw-progress-bar.js +4 -11
- package/esm/fw-table.js +12 -56
- package/esm/fw-tabs.js +60 -20
- package/esm/fw-tag.js +8 -8
- package/esm/fw-toast.js +276 -0
- package/esm/fw-transactions-card.js +115 -0
- package/esm/index-1a41e7bf.js +15838 -0
- package/esm/{index-7833cf39.js → index-4605e00e.js} +114 -86
- package/esm/index.js +87 -73
- package/esm/is-forced-752b5893.js +927 -0
- package/esm/{add-to-unscopables-a5032b1d.js → object-create-f6f3a673.js} +3 -25
- package/esm/object-keys-4f5bf4e7.js +13 -0
- package/esm/{to-string-c2bd1f4d.js → to-string-12728fd2.js} +2 -2
- package/esm/uniqueId-fe08534a.js +279 -0
- package/esm/web.timers-0f117224.js +72 -0
- package/frollo-web-ui.esm.js +18020 -1824
- package/icons/index.ts +5 -1
- package/icons/solid-check.svg +3 -0
- package/icons/solid-xmark.svg +3 -0
- package/index.d.ts +344 -22
- package/package.json +5 -1
- package/styles/web-components.scss +8 -0
- package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -0
- package/types/components/fw-bar-chart/index.d.ts +2 -0
- package/types/components/fw-bar-chart/index.types.d.ts +11 -0
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +3 -1
- package/types/components/fw-input/fw-input.vue.d.ts +1 -0
- package/types/components/fw-modal/fw-modal.vue.d.ts +16 -0
- package/types/components/fw-modal/index.types.d.ts +1 -0
- package/types/components/fw-toast/fw-toast.vue.d.ts +121 -0
- package/types/components/fw-toast/index.d.ts +2 -0
- package/types/components/fw-toast/index.types.d.ts +13 -0
- package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -0
- package/types/components/fw-transactions-card/index.d.ts +2 -0
- package/types/components/fw-transactions-card/index.types.d.ts +6 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/index.types.d.ts +3 -0
- package/types/icons/index.d.ts +3 -1
- package/types/index.browser-umd.d.ts +1 -0
- package/types/services/index.d.ts +1 -0
- package/types/services/modal.d.ts +1 -1
- package/types/services/toast.d.ts +9 -0
- package/web-components/index.js +36612 -0
- package/esm/array-iteration-4f83e223.js +0 -186
- package/esm/create-property-da6d232b.js +0 -26
- package/esm/function-name-c49146fc.js +0 -492
- package/esm/fw-loading-bar-da7d53fb.js +0 -22
- package/esm/index-06f4e5f1.js +0 -482
- package/esm/is-forced-fd46b5f2.js +0 -438
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent, createElementVNode, resolveComponent, openBlock, createBlock, withCtx, createCommentVNode, toDisplayString, createElementBlock } from 'vue';
|
|
2
|
+
import { s as script$1 } from './fw-card-1b6a67fe.js';
|
|
3
|
+
import { s as script$2 } from './fw-image-4727ac61.js';
|
|
4
|
+
import './es.array.includes-91be7771.js';
|
|
5
|
+
import './is-forced-752b5893.js';
|
|
6
|
+
import './export-a37ba078.js';
|
|
7
|
+
import './add-to-unscopables-2400f45b.js';
|
|
8
|
+
import './object-create-f6f3a673.js';
|
|
9
|
+
import './object-keys-4f5bf4e7.js';
|
|
10
|
+
import './es.number.constructor-1249bd78.js';
|
|
11
|
+
import './to-string-12728fd2.js';
|
|
12
|
+
import './classof-39c30bd5.js';
|
|
13
|
+
import './es.array.find-dfa1f42f.js';
|
|
14
|
+
import './array-iteration-107f927f.js';
|
|
15
|
+
import './array-species-create-a5f5503b.js';
|
|
16
|
+
import './es.string.iterator-284b31d4.js';
|
|
17
|
+
import './create-property-534611fd.js';
|
|
18
|
+
import './web.timers-0f117224.js';
|
|
19
|
+
import './function-apply-ce251590.js';
|
|
20
|
+
import './array-method-is-strict-055b1830.js';
|
|
21
|
+
import './fw-loading-bar-f5ca605c.js';
|
|
22
|
+
import './style-inject.es-1f59c1d0.js';
|
|
23
|
+
import './index-4605e00e.js';
|
|
24
|
+
import './check-94a5917a.js';
|
|
25
|
+
|
|
26
|
+
var script = defineComponent({
|
|
27
|
+
name: 'FwTransactionsCard',
|
|
28
|
+
components: {
|
|
29
|
+
FwCard: script$1,
|
|
30
|
+
FwImage: script$2
|
|
31
|
+
},
|
|
32
|
+
props: {
|
|
33
|
+
/**
|
|
34
|
+
* The transaction title of the card
|
|
35
|
+
*/
|
|
36
|
+
title: {
|
|
37
|
+
type: String
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* The transaction sub-title of the card
|
|
41
|
+
*/
|
|
42
|
+
subTitle: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: false
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
* The transaction amount.
|
|
48
|
+
*/
|
|
49
|
+
amount: {
|
|
50
|
+
type: String,
|
|
51
|
+
required: false
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* The src url for the image.
|
|
55
|
+
*/
|
|
56
|
+
imageUrl: {
|
|
57
|
+
type: String,
|
|
58
|
+
required: false
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
var _hoisted_1 = /*#__PURE__*/createElementVNode("div", {
|
|
64
|
+
"class": "absolute top-0 left-0 w-full h-full rounded-lg bg-primary opacity-5 pointer-events-none"
|
|
65
|
+
}, null, -1);
|
|
66
|
+
var _hoisted_2 = {
|
|
67
|
+
"class": "flex flex-row w-full items-center py-3 px-4"
|
|
68
|
+
};
|
|
69
|
+
var _hoisted_3 = {
|
|
70
|
+
"class": "flex flex-col w-full flex-1 ml-2"
|
|
71
|
+
};
|
|
72
|
+
var _hoisted_4 = {
|
|
73
|
+
"class": "flex flex-row justify-between gap-x-2 items-center w-full"
|
|
74
|
+
};
|
|
75
|
+
var _hoisted_5 = {
|
|
76
|
+
"class": "text-left"
|
|
77
|
+
};
|
|
78
|
+
var _hoisted_6 = {
|
|
79
|
+
"class": "text-p2 font-semibold mb-0"
|
|
80
|
+
};
|
|
81
|
+
var _hoisted_7 = ["innerHTML"];
|
|
82
|
+
var _hoisted_8 = {
|
|
83
|
+
key: 0,
|
|
84
|
+
"class": "text-right"
|
|
85
|
+
};
|
|
86
|
+
var _hoisted_9 = {
|
|
87
|
+
"class": "text-p2 font-semibold mb-0"
|
|
88
|
+
};
|
|
89
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
90
|
+
var _component_FwImage = resolveComponent("FwImage");
|
|
91
|
+
var _component_FwCard = resolveComponent("FwCard");
|
|
92
|
+
return openBlock(), createBlock(_component_FwCard, {
|
|
93
|
+
"class": "relative rounded-lg shadow",
|
|
94
|
+
"slot-padding": false
|
|
95
|
+
}, {
|
|
96
|
+
"default": withCtx(function () {
|
|
97
|
+
return [_hoisted_1, createElementVNode("div", _hoisted_2, [_ctx.imageUrl ? (openBlock(), createBlock(_component_FwImage, {
|
|
98
|
+
key: 0,
|
|
99
|
+
src: _ctx.imageUrl,
|
|
100
|
+
type: "background",
|
|
101
|
+
rounded: true,
|
|
102
|
+
"class": "w-9 h-9"
|
|
103
|
+
}, null, 8, ["src"])) : createCommentVNode("", true), createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createElementVNode("p", _hoisted_6, toDisplayString(_ctx.title), 1), _ctx.subTitle ? (openBlock(), createElementBlock("p", {
|
|
104
|
+
key: 0,
|
|
105
|
+
innerHTML: _ctx.subTitle,
|
|
106
|
+
"class": "text-p-small text-grey-base mb-0"
|
|
107
|
+
}, null, 8, _hoisted_7)) : createCommentVNode("", true)]), _ctx.amount ? (openBlock(), createElementBlock("div", _hoisted_8, [createElementVNode("p", _hoisted_9, toDisplayString(_ctx.amount), 1)])) : createCommentVNode("", true)])])])];
|
|
108
|
+
}),
|
|
109
|
+
_: 1
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
script.render = render;
|
|
114
|
+
|
|
115
|
+
export { script as FwTransactionsCard };
|