layers-design-system 2.4.0 → 2.6.0
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/layers-design-system.js +78505 -0
- package/dist/layers-design-system.umd.cjs +285 -0
- package/dist/style.css +1 -0
- package/package.json +26 -12
- package/.nvmrc +0 -1
- package/babel.config.js +0 -5
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -20
- package/src/assets/button-text-editor/double-quotes.svg +0 -4
- package/src/assets/button-text-editor/remove-formatting.svg +0 -5
- package/src/assets/button-text-editor/title.svg +0 -4
- package/src/assets/failed-to-load/failed-to-load.svg +0 -60
- package/src/assets/l-presentation/external-apps.png +0 -0
- package/src/assets/l-presentation/notification.png +0 -0
- package/src/assets/search-topics/empty-tags.svg +0 -59
- package/src/components/LAlert/docs.vue +0 -81
- package/src/components/LAlert/index.vue +0 -43
- package/src/components/LAttachmentChip/docs.vue +0 -84
- package/src/components/LAttachmentChip/index.vue +0 -179
- package/src/components/LBox/docs.vue +0 -26
- package/src/components/LBox/index.vue +0 -19
- package/src/components/LBoxHeader/index.vue +0 -24
- package/src/components/LBreadcrumb/docs.vue +0 -21
- package/src/components/LBreadcrumb/index.vue +0 -22
- package/src/components/LBreadcrumbItem/index.vue +0 -7
- package/src/components/LButton/docs.vue +0 -205
- package/src/components/LButton/index.vue +0 -369
- package/src/components/LButtonGroup/index.vue +0 -7
- package/src/components/LCarousel/docs.vue +0 -32
- package/src/components/LCarousel/index.vue +0 -88
- package/src/components/LCheckbox/docs.vue +0 -62
- package/src/components/LCheckbox/index.vue +0 -34
- package/src/components/LCheckboxButton/index.vue +0 -30
- package/src/components/LCheckboxGroup/index.vue +0 -53
- package/src/components/LChip/docs.vue +0 -113
- package/src/components/LChip/index.vue +0 -78
- package/src/components/LCircularLoader/docs.vue +0 -30
- package/src/components/LCircularLoader/index.vue +0 -97
- package/src/components/LCollapse/docs.vue +0 -68
- package/src/components/LCollapse/index.vue +0 -13
- package/src/components/LCollapseItem/index.vue +0 -28
- package/src/components/LDatePicker/docs.vue +0 -66
- package/src/components/LDatePicker/index.vue +0 -63
- package/src/components/LDialog/docs.vue +0 -36
- package/src/components/LDialog/index.vue +0 -37
- package/src/components/LDropdown/index.vue +0 -7
- package/src/components/LDropdownItem/index.vue +0 -13
- package/src/components/LDropdownMenu/docs.vue +0 -44
- package/src/components/LDropdownMenu/index.vue +0 -12
- package/src/components/LFailedToLoad/docs.vue +0 -37
- package/src/components/LFailedToLoad/index.vue +0 -61
- package/src/components/LForm/index.vue +0 -7
- package/src/components/LFormItem/index.vue +0 -12
- package/src/components/LHelperBox/assets/link.svg +0 -4
- package/src/components/LHelperBox/assets/open-envelope.svg +0 -9
- package/src/components/LHelperBox/docs.vue +0 -29
- package/src/components/LHelperBox/index.vue +0 -83
- package/src/components/LIcon/docs.vue +0 -174
- package/src/components/LIcon/index.vue +0 -55
- package/src/components/LImage/index.vue +0 -7
- package/src/components/LImageViewer/docs.vue +0 -111
- package/src/components/LImageViewer/index.vue +0 -449
- package/src/components/LInput/docs.vue +0 -43
- package/src/components/LInput/index.vue +0 -60
- package/src/components/LLinearProgress/docs.vue +0 -21
- package/src/components/LLinearProgress/index.vue +0 -74
- package/src/components/LNotice/docs.vue +0 -26
- package/src/components/LNotice/index.vue +0 -86
- package/src/components/LNotification/index.vue +0 -182
- package/src/components/LOption/index.vue +0 -7
- package/src/components/LOptionGroup/index.vue +0 -7
- package/src/components/LPresentation/docs.vue +0 -35
- package/src/components/LPresentation/index.vue +0 -182
- package/src/components/LProgress/index.vue +0 -7
- package/src/components/LPromptDialog/index.vue +0 -82
- package/src/components/LRadio/docs.vue +0 -54
- package/src/components/LRadio/index.vue +0 -13
- package/src/components/LRadioButton/index.vue +0 -30
- package/src/components/LRadioGroup/index.vue +0 -54
- package/src/components/LSearchBar/AddFilterButton.vue +0 -71
- package/src/components/LSearchBar/Filters/Editors/AmountEditor.vue +0 -110
- package/src/components/LSearchBar/Filters/Editors/DateEditor.vue +0 -146
- package/src/components/LSearchBar/Filters/Editors/NumberEditor.vue +0 -141
- package/src/components/LSearchBar/Filters/Editors/StringEditor.vue +0 -140
- package/src/components/LSearchBar/Filters/Editors/index.js +0 -16
- package/src/components/LSearchBar/Filters/FilterChip.vue +0 -105
- package/src/components/LSearchBar/Filters/Views/AmountView.vue +0 -28
- package/src/components/LSearchBar/Filters/Views/DateView.vue +0 -46
- package/src/components/LSearchBar/Filters/Views/NumberView.vue +0 -24
- package/src/components/LSearchBar/Filters/Views/StringView.vue +0 -47
- package/src/components/LSearchBar/Filters/Views/index.js +0 -16
- package/src/components/LSearchBar/docs.vue +0 -60
- package/src/components/LSearchBar/index.vue +0 -240
- package/src/components/LSearchTopics/RecentTermSearched.vue +0 -30
- package/src/components/LSearchTopics/TopicItem.vue +0 -346
- package/src/components/LSearchTopics/docs/drawer.vue +0 -254
- package/src/components/LSearchTopics/docs.vue +0 -60
- package/src/components/LSearchTopics/header.vue +0 -199
- package/src/components/LSearchTopics/helpers/showDialogConfirmation.js +0 -30
- package/src/components/LSearchTopics/helpers/showDiscardChangesDialog.js +0 -27
- package/src/components/LSearchTopics/index.vue +0 -750
- package/src/components/LSelect/docs.vue +0 -129
- package/src/components/LSelect/index.vue +0 -9
- package/src/components/LSlider/index.vue +0 -7
- package/src/components/LSwitch/docs.vue +0 -24
- package/src/components/LSwitch/index.vue +0 -60
- package/src/components/LTabPane/index.vue +0 -7
- package/src/components/LTable/FieldTypes/AmountView.vue +0 -16
- package/src/components/LTable/FieldTypes/DateView.vue +0 -18
- package/src/components/LTable/FieldTypes/EmailView.vue +0 -8
- package/src/components/LTable/FieldTypes/NumberView.vue +0 -13
- package/src/components/LTable/FieldTypes/PaymentStatusView.vue +0 -8
- package/src/components/LTable/FieldTypes/StringView.vue +0 -24
- package/src/components/LTable/FieldTypes/index.js +0 -18
- package/src/components/LTable/LTableBody.vue +0 -245
- package/src/components/LTable/LTableBodySpacer.vue +0 -17
- package/src/components/LTable/LTableEndspace.vue +0 -20
- package/src/components/LTable/LTableHeader.vue +0 -155
- package/src/components/LTable/LTableHeaderCell.vue +0 -188
- package/src/components/LTable/LTableHeaderLoader.vue +0 -62
- package/src/components/LTable/LTableHeaderResizer.vue +0 -162
- package/src/components/LTable/LTableLoadMore.vue +0 -56
- package/src/components/LTable/LTablePagination.vue +0 -174
- package/src/components/LTable/LTableReloader.vue +0 -61
- package/src/components/LTable/ListAdapter.js +0 -74
- package/src/components/LTable/docs.vue +0 -111
- package/src/components/LTable/helpers.js +0 -194
- package/src/components/LTable/index.vue +0 -961
- package/src/components/LTabs/docs.vue +0 -28
- package/src/components/LTabs/index.vue +0 -37
- package/src/components/LTargetChip/docs.vue +0 -86
- package/src/components/LTargetChip/index.vue +0 -64
- package/src/components/LTargetInput/docs.vue +0 -72
- package/src/components/LTargetInput/index.vue +0 -78
- package/src/components/LTextEditor/FloatingLink.vue +0 -91
- package/src/components/LTextEditor/LinkBox.vue +0 -94
- package/src/components/LTextEditor/docs.vue +0 -32
- package/src/components/LTextEditor/extensions/LayersBlockquote.js +0 -12
- package/src/components/LTextEditor/extensions/LayersBold.js +0 -11
- package/src/components/LTextEditor/extensions/LayersBreakLine.js +0 -16
- package/src/components/LTextEditor/extensions/LayersBubbleMenu.js +0 -10
- package/src/components/LTextEditor/extensions/LayersBulletList.js +0 -12
- package/src/components/LTextEditor/extensions/LayersHeading.js +0 -13
- package/src/components/LTextEditor/extensions/LayersHistory.js +0 -10
- package/src/components/LTextEditor/extensions/LayersItalic.js +0 -11
- package/src/components/LTextEditor/extensions/LayersLink.js +0 -29
- package/src/components/LTextEditor/extensions/LayersOrderedList.js +0 -12
- package/src/components/LTextEditor/extensions/LayersParagraph.js +0 -44
- package/src/components/LTextEditor/extensions/LayersPlaceholder.js +0 -11
- package/src/components/LTextEditor/extensions/LayersUnderline.js +0 -29
- package/src/components/LTextEditor/helpers/addProtocol.js +0 -5
- package/src/components/LTextEditor/helpers/removeEmptyTags.js +0 -5
- package/src/components/LTextEditor/index.vue +0 -421
- package/src/components/LTimeSelect/docs.vue +0 -41
- package/src/components/LTimeSelect/index.vue +0 -49
- package/src/components/LToggleButtonGroup/index.vue +0 -87
- package/src/components/LTooltip/docs.vue +0 -66
- package/src/components/LTooltip/index.vue +0 -28
- package/src/components/LTransitionExpand/docs.vue +0 -26
- package/src/components/LTransitionExpand/index.vue +0 -88
- package/src/components/LUpload/index.vue +0 -7
- package/src/docs/Colors.vue +0 -50
- package/src/docs/Home.vue +0 -11
- package/src/docs/Notifications.vue +0 -88
- package/src/docs/index.vue +0 -76
- package/src/docs/routes.js +0 -20
- package/src/helpers/Colors.js +0 -79
- package/src/helpers/FieldTypeComponents.js +0 -43
- package/src/helpers/Icons.js +0 -67
- package/src/helpers/Notification.js +0 -94
- package/src/helpers/PrettySize.js +0 -25
- package/src/helpers/RegisterElementUIComponents.js +0 -9
- package/src/helpers/Schemas.js +0 -18
- package/src/helpers/util.js +0 -15
- package/src/main-docs.js +0 -132
- package/src/main.js +0 -100
- package/src/style/colors.scss +0 -31
- package/src/style/element-variables.scss +0 -21
- package/src/style/icons.scss +0 -5
- package/src/style/layers-variables.scss +0 -73
- package/src/style/layout.scss +0 -2288
- package/src/style/main.scss +0 -11
- package/src/style/notifications.scss +0 -88
- package/src/style/transitions.scss +0 -43
- package/src/style/typography.scss +0 -155
- package/vue.config.js +0 -14
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span
|
|
3
|
-
class="l-attachment-chip"
|
|
4
|
-
>
|
|
5
|
-
<div class="l-attachment-chip-thumb" v-if="thumb">
|
|
6
|
-
<img :src="thumb" width="32" height="32" />
|
|
7
|
-
</div>
|
|
8
|
-
<div class="l-attachment-chip-mime" v-else-if="mime && prettyMime">
|
|
9
|
-
<div
|
|
10
|
-
class="l-attachment-chip-extension"
|
|
11
|
-
:style="{ 'background-color': 'var(--color-' + prettyMime.color + ')' }">
|
|
12
|
-
{{ prettyMime.extension }}
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<span class="l-attachment-chip-text">
|
|
16
|
-
<span class="l-attachment-chip-name" v-if="name">{{ name }}</span>
|
|
17
|
-
<span class="l-attachment-chip-size" v-if="prettySize && !closeable">({{ prettySize }})</span>
|
|
18
|
-
</span>
|
|
19
|
-
<button class="l-attachment-chip-clear" v-if="closeable" @click="handleClose">
|
|
20
|
-
<l-icon color="link">uil-multiply</l-icon>
|
|
21
|
-
</button>
|
|
22
|
-
</span>
|
|
23
|
-
</template>
|
|
24
|
-
<script>
|
|
25
|
-
import PrettySize from '../../helpers/PrettySize'
|
|
26
|
-
export default {
|
|
27
|
-
tagName: 'l-attachment-chip',
|
|
28
|
-
|
|
29
|
-
props: {
|
|
30
|
-
name: String,
|
|
31
|
-
mime: String,
|
|
32
|
-
thumb: String,
|
|
33
|
-
url: String,
|
|
34
|
-
size: Number,
|
|
35
|
-
closeable: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: false,
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
computed: {
|
|
42
|
-
prettySize() {
|
|
43
|
-
return PrettySize(this.size)
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
prettyMime() {
|
|
47
|
-
if(!this.mime) return { extension: '???', color: 'gray-20' }
|
|
48
|
-
|
|
49
|
-
if(this.mime.indexOf('image/') > -1) {
|
|
50
|
-
const mimeDefault = { extension: 'IMG', color: 'green' }
|
|
51
|
-
return {
|
|
52
|
-
'image/gif': { extension: 'GIF', color: 'primary' },
|
|
53
|
-
'image/jpeg': { extension: 'JPG', color: 'primary' },
|
|
54
|
-
'image/png': { extension: 'PNG', color: 'primary' },
|
|
55
|
-
'image/svg+xml': { extension: 'SVG', color: 'danger' },
|
|
56
|
-
}[this.mime] || mimeDefault
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
if(this.mime.indexOf('text/') > -1) {
|
|
60
|
-
const mimeDefault = { extension: 'TXT', color: 'lead' }
|
|
61
|
-
return {
|
|
62
|
-
'text/css': { extension: 'CSS', color: 'lead' },
|
|
63
|
-
'text/csv': { extension: 'CSV', color: 'lead' },
|
|
64
|
-
'text/html': { extension: 'HTML', color: 'lead' },
|
|
65
|
-
}[this.mime] || mimeDefault
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
if(this.mime.indexOf('video/') > -1) {
|
|
69
|
-
const mimeDefault = { extension: 'VID', color: 'danger' }
|
|
70
|
-
return {
|
|
71
|
-
'video/quicktime': { extension: 'MOV', color: 'danger' },
|
|
72
|
-
'video/mp4': { extension: 'MP4', color: 'danger' },
|
|
73
|
-
'video/mpeg': { extension: 'MP4', color: 'danger' }
|
|
74
|
-
}[this.mime] || mimeDefault
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if(this.mime.indexOf('audio/') > -1) {
|
|
78
|
-
return { extension: 'AUD', color: 'info' }
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
if(this.mime.indexOf('application/') > -1) {
|
|
82
|
-
const mimeDefault = { extension: 'FIL', color: 'danger' }
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
'application/zip': { extension: 'ZIP', color: 'danger' },
|
|
86
|
-
'application/x-rar-compressed': { extension: 'RAR', color: 'danger' },
|
|
87
|
-
'application/pdf': { extension: 'PDF', color: 'danger' },
|
|
88
|
-
'application/xml': { extension: 'XML', color: 'danger' },
|
|
89
|
-
'application/javascript': { extension: 'JS', color: 'success' },
|
|
90
|
-
'application/json': { extension: 'JSON', color: 'success' },
|
|
91
|
-
|
|
92
|
-
// Office tools
|
|
93
|
-
'application/msword': { extension: 'DOC', color: 'link' },
|
|
94
|
-
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': { extension: 'DOC', color: 'link' },
|
|
95
|
-
'application/vnd.ms-powerpoint': { extension: 'PPT', color: 'salmon' },
|
|
96
|
-
'application/vnd.openxmlformats-officedocument.presentationml.presentation': { extension: 'PPT', color: 'info' },
|
|
97
|
-
'application/vnd.ms-excel': { extension: 'XLS', color: 'success' },
|
|
98
|
-
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': { extension: 'XLS', color: 'success' }
|
|
99
|
-
}[this.mime] || mimeDefault
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
return { extension: 'FIL', color: 'gray-20' }
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
methods: {
|
|
107
|
-
handleClose(event) {
|
|
108
|
-
event.stopPropagation();
|
|
109
|
-
this.$emit('close', this);
|
|
110
|
-
},
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
</script>
|
|
114
|
-
<style>
|
|
115
|
-
.l-attachment-chip {
|
|
116
|
-
background: var(--color-gray-20);
|
|
117
|
-
display: inline-flex;
|
|
118
|
-
border-radius: 4px;
|
|
119
|
-
}
|
|
120
|
-
.l-attachment-chip-thumb {
|
|
121
|
-
margin-right: 6px;
|
|
122
|
-
}
|
|
123
|
-
.l-attachment-chip-thumb > img {
|
|
124
|
-
object-fit: cover;
|
|
125
|
-
width: 32px;
|
|
126
|
-
height: 32px;
|
|
127
|
-
overflow: hidden;
|
|
128
|
-
border-radius: 4px;
|
|
129
|
-
}
|
|
130
|
-
.l-attachment-chip-thumb,
|
|
131
|
-
.l-attachment-chip-mime {
|
|
132
|
-
width: 32px;
|
|
133
|
-
height: 32px;
|
|
134
|
-
display: flex;
|
|
135
|
-
align-items: center;
|
|
136
|
-
justify-content: center;
|
|
137
|
-
flex: none;
|
|
138
|
-
}
|
|
139
|
-
.l-attachment-chip-extension {
|
|
140
|
-
width: 16px;
|
|
141
|
-
height: 16px;
|
|
142
|
-
border-radius: 2px;
|
|
143
|
-
font-size: 6px;
|
|
144
|
-
line-height: 16px;
|
|
145
|
-
text-align: center;
|
|
146
|
-
color: white;
|
|
147
|
-
font-weight: bold;
|
|
148
|
-
}
|
|
149
|
-
.l-attachment-chip-text {
|
|
150
|
-
display: flex;
|
|
151
|
-
align-items: center;
|
|
152
|
-
justify-content: center;
|
|
153
|
-
margin-right: 8px;
|
|
154
|
-
font-size: 12px;
|
|
155
|
-
font-weight: 600;
|
|
156
|
-
flex: 1 1 auto;
|
|
157
|
-
}
|
|
158
|
-
.l-attachment-chip-name {
|
|
159
|
-
color: var(--color-link);
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
display: -webkit-box;
|
|
162
|
-
-webkit-box-orient: vertical;
|
|
163
|
-
-webkit-line-clamp: 1;
|
|
164
|
-
}
|
|
165
|
-
.l-attachment-chip-size {
|
|
166
|
-
color: var(--color-gray-70);
|
|
167
|
-
padding-left: 4px;
|
|
168
|
-
white-space: pre;
|
|
169
|
-
}
|
|
170
|
-
.l-attachment-chip-clear {
|
|
171
|
-
border: none;
|
|
172
|
-
border-radius: 4px;
|
|
173
|
-
width: 24px;
|
|
174
|
-
background: var(--color-gray-30);
|
|
175
|
-
outline: none;
|
|
176
|
-
cursor: pointer;
|
|
177
|
-
flex: none;
|
|
178
|
-
}
|
|
179
|
-
</style>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<h1>Box</h1>
|
|
4
|
-
|
|
5
|
-
<div>
|
|
6
|
-
<h2>Basic</h2>
|
|
7
|
-
|
|
8
|
-
<div class="row">
|
|
9
|
-
<l-box style="width: 320px; height: 224px;">
|
|
10
|
-
<l-box-header>Título do Box</l-box-header>
|
|
11
|
-
<p>Conteúdo do Box</p>
|
|
12
|
-
</l-box>
|
|
13
|
-
<l-box style="width: 320px; height: 224px; margin-left: 24px">
|
|
14
|
-
<l-box-header icon="user">Título do Box</l-box-header>
|
|
15
|
-
<p>Conteúdo do Box</p>
|
|
16
|
-
</l-box>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
export default {
|
|
24
|
-
name: "Box"
|
|
25
|
-
};
|
|
26
|
-
</script>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<slot></slot>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
export default {
|
|
8
|
-
tagName: 'l-box',
|
|
9
|
-
}
|
|
10
|
-
</script>
|
|
11
|
-
<style>
|
|
12
|
-
.l-box {
|
|
13
|
-
border: 1px solid var(--color-gray-30);
|
|
14
|
-
background: white;
|
|
15
|
-
box-shadow: 0px 1px 6px rgba(46, 142, 255, 0.1);
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
padding: 24px;
|
|
18
|
-
}
|
|
19
|
-
</style>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<h1>
|
|
4
|
-
<l-icon v-if="icon">{{ icon }}</l-icon>
|
|
5
|
-
<slot></slot>
|
|
6
|
-
</h1>
|
|
7
|
-
</div>
|
|
8
|
-
</template>
|
|
9
|
-
<script>
|
|
10
|
-
export default {
|
|
11
|
-
tagName: "l-box-header",
|
|
12
|
-
props: ["icon"]
|
|
13
|
-
};
|
|
14
|
-
</script>
|
|
15
|
-
<style>
|
|
16
|
-
.l-box-header h1 {
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
margin: 0 0 16px 0;
|
|
20
|
-
}
|
|
21
|
-
.l-box-header .l-icon {
|
|
22
|
-
margin-right: 8px;
|
|
23
|
-
}
|
|
24
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<h1>Breadcrumb</h1>
|
|
4
|
-
|
|
5
|
-
<div class="row">
|
|
6
|
-
<l-breadcrumb>
|
|
7
|
-
<l-breadcrumb-item :to="{ path: '/' }">Payments</l-breadcrumb-item>
|
|
8
|
-
<l-breadcrumb-item>Cobranças</l-breadcrumb-item>
|
|
9
|
-
<l-breadcrumb-item>Em protesto</l-breadcrumb-item>
|
|
10
|
-
<l-breadcrumb-item>Em protesto</l-breadcrumb-item>
|
|
11
|
-
<l-breadcrumb-item>Em protesto</l-breadcrumb-item>
|
|
12
|
-
</l-breadcrumb>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
export default {
|
|
19
|
-
name: "Breadcrumb"
|
|
20
|
-
};
|
|
21
|
-
</script>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import { Breadcrumb } from 'element-ui';
|
|
3
|
-
export default {
|
|
4
|
-
tagName: 'l-breadcrumb',
|
|
5
|
-
extends: Breadcrumb,
|
|
6
|
-
props: {
|
|
7
|
-
"separator-class": {
|
|
8
|
-
type: String,
|
|
9
|
-
default: () => "uil-angle-right-b"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
</script>
|
|
14
|
-
<style>
|
|
15
|
-
.l-breadcrumb .el-breadcrumb__separator {
|
|
16
|
-
font-size: 20px;
|
|
17
|
-
height: 20px;
|
|
18
|
-
}
|
|
19
|
-
.l-breadcrumb-item:last-child {
|
|
20
|
-
line-height: 24px;
|
|
21
|
-
}
|
|
22
|
-
</style>
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<h1>Button</h1>
|
|
4
|
-
|
|
5
|
-
<div>
|
|
6
|
-
<h2>Sizes</h2>
|
|
7
|
-
<div class="row-2">
|
|
8
|
-
<l-button>Default</l-button>
|
|
9
|
-
<l-button size="large">Large</l-button>
|
|
10
|
-
<l-button size="medium">Medium</l-button>
|
|
11
|
-
<l-button size="small">Small</l-button>
|
|
12
|
-
<l-button size="mini">Mini</l-button>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<div class="row-2">
|
|
16
|
-
<l-button round>Default</l-button>
|
|
17
|
-
<l-button size="large" round>Large</l-button>
|
|
18
|
-
<l-button size="medium" round>Medium</l-button>
|
|
19
|
-
<l-button size="small" round>Small</l-button>
|
|
20
|
-
<l-button size="small" round plain type="info">Small</l-button>
|
|
21
|
-
<l-button size="mini" round>Mini</l-button>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<h2>Fill</h2>
|
|
25
|
-
<div class="row-2">
|
|
26
|
-
<l-button fill>Default</l-button>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<h2>Type (primary, success, info...)</h2>
|
|
30
|
-
<div class="row-2 mb-2">
|
|
31
|
-
<l-button>Default</l-button>
|
|
32
|
-
<l-button type="primary">Primary</l-button>
|
|
33
|
-
<l-button type="success">Success</l-button>
|
|
34
|
-
<l-button type="info">Info</l-button>
|
|
35
|
-
<l-button type="warning">Warning</l-button>
|
|
36
|
-
<l-button type="danger">Danger</l-button>
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
<div>
|
|
40
|
-
<h2>Text Buttons</h2>
|
|
41
|
-
<l-button type="text">Text Button</l-button>
|
|
42
|
-
<l-button type="text" disabled>Text Button</l-button>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<div>
|
|
46
|
-
<h2>Text Buttons - Colors</h2>
|
|
47
|
-
<l-button type="text" text-color="link">Text Button</l-button>
|
|
48
|
-
<l-button type="text" text-color="success">Text Button</l-button>
|
|
49
|
-
<l-button type="text" text-color="danger">Text Button</l-button>
|
|
50
|
-
<l-button type="text" text-color="warning">Text Button</l-button>
|
|
51
|
-
</div>
|
|
52
|
-
|
|
53
|
-
<h2>Plain</h2>
|
|
54
|
-
<div class="row-2 mb-2">
|
|
55
|
-
<l-button plain>Plain</l-button>
|
|
56
|
-
<l-button type="primary" plain>Primary</l-button>
|
|
57
|
-
<l-button type="success" plain>Success</l-button>
|
|
58
|
-
<l-button type="info" plain>Info</l-button>
|
|
59
|
-
<l-button type="warning" plain>Warning</l-button>
|
|
60
|
-
<l-button type="danger" plain>Danger</l-button>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
<h2>Round</h2>
|
|
64
|
-
<div class="row-2 mb-2">
|
|
65
|
-
<l-button
|
|
66
|
-
type="info"
|
|
67
|
-
plain
|
|
68
|
-
round
|
|
69
|
-
size="small"
|
|
70
|
-
>
|
|
71
|
-
<l-icon class="mr-2" size="16" color="lead">uil-calender</l-icon>
|
|
72
|
-
Carregando...
|
|
73
|
-
<l-icon class="ml-2" size="16" color="lead">uil-angle-down</l-icon>
|
|
74
|
-
</l-button>
|
|
75
|
-
|
|
76
|
-
<l-button type="info" plain round>
|
|
77
|
-
<l-icon class="mr-2">uil-calender</l-icon>
|
|
78
|
-
Default
|
|
79
|
-
<l-icon class="ml-2">uil-angle-down</l-icon>
|
|
80
|
-
</l-button>
|
|
81
|
-
|
|
82
|
-
<l-button round>Round</l-button>
|
|
83
|
-
<l-button type="primary" round>Primary</l-button>
|
|
84
|
-
<l-button type="success" round>Success</l-button>
|
|
85
|
-
<l-button type="info" round>Info</l-button>
|
|
86
|
-
<l-button type="warning" round>Warning</l-button>
|
|
87
|
-
<l-button type="danger" round>Danger</l-button>
|
|
88
|
-
</div>
|
|
89
|
-
|
|
90
|
-
<h2>Circle</h2>
|
|
91
|
-
<div class="row-2">
|
|
92
|
-
<l-button icon="el-icon-search" size="large" circle></l-button>
|
|
93
|
-
<l-button icon="el-icon-search" size="medium" circle></l-button>
|
|
94
|
-
<l-button icon="el-icon-search" size="small" circle></l-button>
|
|
95
|
-
<l-button icon="el-icon-search" size="mini" circle></l-button>
|
|
96
|
-
<l-button icon="el-icon-search" circle></l-button>
|
|
97
|
-
<l-button type="primary" icon="el-icon-edit" circle></l-button>
|
|
98
|
-
<l-button type="success" icon="el-icon-check" circle></l-button>
|
|
99
|
-
<l-button type="info" icon="el-icon-message" circle></l-button>
|
|
100
|
-
<l-button type="warning" icon="el-icon-star-off" circle></l-button>
|
|
101
|
-
<l-button type="danger" icon="el-icon-delete" circle></l-button>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
<h2>FAB</h2>
|
|
105
|
-
<div class="row-2 mb-2">
|
|
106
|
-
<l-button type="primary" icon="uil-times" fab size="large"></l-button>
|
|
107
|
-
<l-button type="primary" plain fab icon="uil-times" size="medium"></l-button>
|
|
108
|
-
<l-button fab icon="uil-times" size="small"></l-button>
|
|
109
|
-
<l-button fab icon="uil-times" size="mini"></l-button>
|
|
110
|
-
|
|
111
|
-
<l-button icon="el-icon-search" fab></l-button>
|
|
112
|
-
<l-button type="primary" icon="el-icon-edit" fab></l-button>
|
|
113
|
-
<l-button type="success" icon="el-icon-check" fab></l-button>
|
|
114
|
-
<l-button type="info" icon="el-icon-message" fab></l-button>
|
|
115
|
-
<l-button type="warning" icon="el-icon-star-off" fab></l-button>
|
|
116
|
-
<l-button type="danger" icon="el-icon-delete" fab></l-button>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<h2>Square</h2>
|
|
120
|
-
<div class="row-2 mb-2">
|
|
121
|
-
<l-button type="primary" icon="uil-setting" square size="large"></l-button>
|
|
122
|
-
<l-button type="primary" plain square icon="uil-setting" size="medium"></l-button>
|
|
123
|
-
<l-button square icon="uil-setting" size="small"></l-button>
|
|
124
|
-
<l-button square icon="uil-setting" size="mini"></l-button>
|
|
125
|
-
|
|
126
|
-
<l-button icon="el-icon-search" square></l-button>
|
|
127
|
-
<l-button type="primary" icon="el-icon-edit" square></l-button>
|
|
128
|
-
<l-button type="success" icon="el-icon-check" square></l-button>
|
|
129
|
-
<l-button type="info" icon="el-icon-message" square></l-button>
|
|
130
|
-
<l-button type="warning" icon="el-icon-star-off" square></l-button>
|
|
131
|
-
<l-button type="danger" icon="el-icon-delete" square></l-button>
|
|
132
|
-
</div>
|
|
133
|
-
|
|
134
|
-
<h2>Disabled</h2>
|
|
135
|
-
<div class="row-2">
|
|
136
|
-
<l-button disabled>Default</l-button>
|
|
137
|
-
<l-button type="primary" disabled>Primary</l-button>
|
|
138
|
-
<l-button type="success" disabled>Success</l-button>
|
|
139
|
-
<l-button type="info" disabled>Info</l-button>
|
|
140
|
-
<l-button type="warning" disabled>Warning</l-button>
|
|
141
|
-
<l-button type="danger" disabled>Danger</l-button>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
<div class="row-2">
|
|
145
|
-
<l-button plain disabled>Plain</l-button>
|
|
146
|
-
<l-button type="primary" plain disabled>Primary</l-button>
|
|
147
|
-
<l-button type="success" plain disabled>Success</l-button>
|
|
148
|
-
<l-button type="info" plain disabled>Info</l-button>
|
|
149
|
-
<l-button type="warning" plain disabled>Warning</l-button>
|
|
150
|
-
<l-button type="danger" plain disabled>Danger</l-button>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
|
|
154
|
-
<div>
|
|
155
|
-
<h2>Icon Buttons</h2>
|
|
156
|
-
|
|
157
|
-
<l-button type="primary" icon="el-icon-edit"></l-button>
|
|
158
|
-
<l-button type="primary" icon="el-icon-share"></l-button>
|
|
159
|
-
<l-button type="primary" icon="el-icon-delete"></l-button>
|
|
160
|
-
<l-button type="primary" icon="el-icon-search">Search</l-button>
|
|
161
|
-
<l-button type="primary">
|
|
162
|
-
Upload
|
|
163
|
-
<i class="el-icon-upload el-icon-right"></i>
|
|
164
|
-
</l-button>
|
|
165
|
-
</div>
|
|
166
|
-
|
|
167
|
-
<div>
|
|
168
|
-
<h2>Button Group</h2>
|
|
169
|
-
|
|
170
|
-
<div class="row-2">
|
|
171
|
-
<l-button-group>
|
|
172
|
-
<l-button type="primary" icon="el-icon-arrow-left">Previous Page</l-button>
|
|
173
|
-
<l-button type="primary">
|
|
174
|
-
Next Page
|
|
175
|
-
<i class="el-icon-arrow-right el-icon-right"></i>
|
|
176
|
-
</l-button>
|
|
177
|
-
</l-button-group>
|
|
178
|
-
</div>
|
|
179
|
-
<div class="row-2">
|
|
180
|
-
<l-button-group>
|
|
181
|
-
<l-button type="primary" icon="el-icon-edit"></l-button>
|
|
182
|
-
<l-button type="primary" icon="el-icon-share"></l-button>
|
|
183
|
-
<l-button type="primary" icon="el-icon-delete"></l-button>
|
|
184
|
-
</l-button-group>
|
|
185
|
-
</div>
|
|
186
|
-
</div>
|
|
187
|
-
|
|
188
|
-
<div>
|
|
189
|
-
<h2>Loading Button</h2>
|
|
190
|
-
<l-button type="primary" :loading="true">Loading</l-button>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</template>
|
|
194
|
-
|
|
195
|
-
<script>
|
|
196
|
-
export default {
|
|
197
|
-
name: "Button"
|
|
198
|
-
};
|
|
199
|
-
</script>
|
|
200
|
-
|
|
201
|
-
<style>
|
|
202
|
-
.row-2 {
|
|
203
|
-
margin: 8px 0;
|
|
204
|
-
}
|
|
205
|
-
</style>
|