@dialpad/dialtone-vue 2.28.0-beta.1 → 2.28.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/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +1117 -374
- package/dist/dialtone-vue.umd.js +1117 -374
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +255 -38
- package/dist/emoji.umd.js +255 -38
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/emoji.umd.js
CHANGED
|
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28
28
|
|
|
29
29
|
var ___CSS_LOADER_EXPORT___ = _node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_vue_cli_service_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
30
30
|
// Module
|
|
31
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-
|
|
31
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}", ""]);
|
|
32
32
|
// Exports
|
|
33
33
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
34
34
|
|
|
@@ -768,7 +768,7 @@ function findEmojis(textContent) {
|
|
|
768
768
|
const emojis = matches.length ? matches.map(match => match[0]) : [];
|
|
769
769
|
return new Set(emojis);
|
|
770
770
|
}
|
|
771
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji/emoji.vue?vue&type=template&id=
|
|
771
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji/emoji.vue?vue&type=template&id=a9cdd478&
|
|
772
772
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.skeletonSizeClass},[_c('dt-skeleton',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgLoading && _vm.showSkeleton),expression:"imgLoading && showSkeleton"}],class:_vm.skeletonSizeClass,attrs:{"offset":0,"shape-option":{ shape: 'square', contentClass: _vm.skeletonSizeClass, size: 'auto' }}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.imgLoading),expression:"!imgLoading"}],ref:"emojiImg",class:[_vm.size, _vm.imgClass],attrs:{"aria-label":_vm.emojiLabel,"alt":_vm.emojiAlt,"title":_vm.emojiLabel,"src":_vm.emojiSrc},on:{"load":_vm.imageLoaded,"error":_vm.imageErrored}})],1)}
|
|
773
773
|
var staticRenderFns = []
|
|
774
774
|
|
|
@@ -788,20 +788,20 @@ const EMOJI_SIZES = {
|
|
|
788
788
|
/* harmony default export */ const emoji_constants = ({
|
|
789
789
|
EMOJI_SIZES
|
|
790
790
|
});
|
|
791
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton.vue?vue&type=template&id=
|
|
792
|
-
var
|
|
793
|
-
var
|
|
791
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton.vue?vue&type=template&id=6cda56f1&
|
|
792
|
+
var skeletonvue_type_template_id_6cda56f1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"aria-busy":"true","role":"status","aria-label":_vm.ariaLabel}},[(_vm.listItemOption)?_c('dt-skeleton-list-item',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-list-item',_vm.listItemOption === true ? {} : _vm.listItemOption,false)):(_vm.shapeOption)?_c('dt-skeleton-shape',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-shape',_vm.shapeOption === true ? {} : _vm.shapeOption,false)):(_vm.paragraphOption)?_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphOption === true ? {} : _vm.paragraphOption,false)):_c('dt-skeleton-text',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-text',_vm.textOption || {},false))],1)}
|
|
793
|
+
var skeletonvue_type_template_id_6cda56f1_staticRenderFns = []
|
|
794
794
|
|
|
795
795
|
|
|
796
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-shape.vue?vue&type=template&id=
|
|
797
|
-
var
|
|
796
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-shape.vue?vue&type=template&id=afabf0b6&
|
|
797
|
+
var skeleton_shapevue_type_template_id_afabf0b6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"skeleton",class:[
|
|
798
798
|
'skeleton-placeholder',
|
|
799
799
|
_vm.SKELETON_SHAPES[_vm.shape],
|
|
800
800
|
{
|
|
801
801
|
'skeleton-placeholder--animate': _vm.animate,
|
|
802
802
|
},
|
|
803
803
|
_vm.contentClass ],style:(_vm.shapeStyles),attrs:{"data-qa":"skeleton-shape"}})}
|
|
804
|
-
var
|
|
804
|
+
var skeleton_shapevue_type_template_id_afabf0b6_staticRenderFns = []
|
|
805
805
|
|
|
806
806
|
|
|
807
807
|
;// CONCATENATED MODULE: ./components/skeleton/skeleton_constants.js
|
|
@@ -835,6 +835,10 @@ const SKELETON_HEADING_HEIGHTS = {
|
|
|
835
835
|
});
|
|
836
836
|
;// CONCATENATED MODULE: ./common/mixins/skeleton.js
|
|
837
837
|
|
|
838
|
+
/**
|
|
839
|
+
* @displayName Skeleton Animation Mixin
|
|
840
|
+
*/
|
|
841
|
+
|
|
838
842
|
/* harmony default export */ const skeleton = ({
|
|
839
843
|
computed: {
|
|
840
844
|
skeletonOffset() {
|
|
@@ -890,27 +894,58 @@ const SKELETON_HEADING_HEIGHTS = {
|
|
|
890
894
|
name: 'DtSkeletonShape',
|
|
891
895
|
mixins: [skeleton],
|
|
892
896
|
props: {
|
|
897
|
+
/**
|
|
898
|
+
* Defines the shape of the skeleton, accepts circle or square.
|
|
899
|
+
* @values circle, square
|
|
900
|
+
*/
|
|
893
901
|
shape: {
|
|
894
902
|
type: String,
|
|
895
903
|
default: 'circle',
|
|
896
904
|
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
897
905
|
},
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Size of the shape
|
|
909
|
+
* @values xs, sm, md, lg, xl
|
|
910
|
+
*/
|
|
898
911
|
size: {
|
|
899
912
|
type: String,
|
|
900
913
|
default: 'md'
|
|
901
914
|
},
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Duration time of the animation (ms), set -1 for an infinite animation.
|
|
918
|
+
*/
|
|
902
919
|
animationDuration: {
|
|
903
920
|
type: Number,
|
|
904
921
|
default: -1
|
|
905
922
|
},
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* This property has higher priority than "option.animate"
|
|
926
|
+
* @values true, false
|
|
927
|
+
*/
|
|
906
928
|
animate: {
|
|
907
929
|
type: Boolean,
|
|
908
930
|
default: true
|
|
909
931
|
},
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* RippleDuration controls how long the delay is for the animation of a
|
|
935
|
+
* placeholder 1000 pixels from the top of the page. Each placeholder
|
|
936
|
+
* from the top down will have a delay duration from 0 to this offset.
|
|
937
|
+
* The delay of each placeholder animation is based on how far down the page
|
|
938
|
+
* the placeholder is rendered. This is a linear relationship. The unit
|
|
939
|
+
* is milliseconds.
|
|
940
|
+
*/
|
|
910
941
|
offset: {
|
|
911
942
|
type: Number,
|
|
912
943
|
default: 1
|
|
913
944
|
},
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Additional class name for the content.
|
|
948
|
+
*/
|
|
914
949
|
contentClass: {
|
|
915
950
|
type: [String, Object, Array],
|
|
916
951
|
default: ''
|
|
@@ -1048,8 +1083,8 @@ function normalizeComponent (
|
|
|
1048
1083
|
;
|
|
1049
1084
|
var component = normalizeComponent(
|
|
1050
1085
|
skeleton_skeleton_shapevue_type_script_lang_js_,
|
|
1051
|
-
|
|
1052
|
-
|
|
1086
|
+
skeleton_shapevue_type_template_id_afabf0b6_render,
|
|
1087
|
+
skeleton_shapevue_type_template_id_afabf0b6_staticRenderFns,
|
|
1053
1088
|
false,
|
|
1054
1089
|
null,
|
|
1055
1090
|
null,
|
|
@@ -1058,28 +1093,28 @@ var component = normalizeComponent(
|
|
|
1058
1093
|
)
|
|
1059
1094
|
|
|
1060
1095
|
/* harmony default export */ const skeleton_shape = (component.exports);
|
|
1061
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-list-item.vue?vue&type=template&id=
|
|
1062
|
-
var
|
|
1096
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-list-item.vue?vue&type=template&id=550aef30&
|
|
1097
|
+
var skeleton_list_itemvue_type_template_id_550aef30_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
1063
1098
|
'd-d-flex',
|
|
1064
1099
|
{
|
|
1065
1100
|
'd-ai-center': _vm.paragraphs.rows === 1,
|
|
1066
1101
|
},
|
|
1067
1102
|
_vm.contentClass ],attrs:{"data-qa":"skeleton-list-item"}},[_c('dt-skeleton-shape',{staticClass:"d-mr8",attrs:{"size":_vm.shapeSize,"shape":_vm.shape,"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset,"content-class":_vm.shapeClass}}),_c('div',{staticClass:"d-d-flex d-fd-column d-w100p"},[_c('dt-skeleton-paragraph',_vm._b({attrs:{"animation-duration":_vm.animationDuration,"animate":_vm.animate,"offset":_vm.offset}},'dt-skeleton-paragraph',_vm.paragraphs,false))],1)],1)}
|
|
1068
|
-
var
|
|
1103
|
+
var skeleton_list_itemvue_type_template_id_550aef30_staticRenderFns = []
|
|
1069
1104
|
|
|
1070
1105
|
|
|
1071
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=
|
|
1072
|
-
var
|
|
1106
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-paragraph.vue?vue&type=template&id=74552fc9&
|
|
1107
|
+
var skeleton_paragraphvue_type_template_id_74552fc9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
1073
1108
|
'd-w100p',
|
|
1074
1109
|
_vm.contentClass ],attrs:{"contentClass":"","data-qa":"skeleton-paragraph"}},_vm._l((_vm.integerRows),function(row){return _c('dt-skeleton-text',{key:row,class:[
|
|
1075
1110
|
{
|
|
1076
1111
|
'd-mb12': row !== _vm.integerRows,
|
|
1077
1112
|
} ],attrs:{"data-qa":"skeleton-paragraph-row","content-class":_vm.rowClass,"animate":_vm.animate,"offset":_vm.offset,"animation-duration":_vm.animationDuration,"width":_vm.getSizeParagraphRow(row)}})}),1)}
|
|
1078
|
-
var
|
|
1113
|
+
var skeleton_paragraphvue_type_template_id_74552fc9_staticRenderFns = []
|
|
1079
1114
|
|
|
1080
1115
|
|
|
1081
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-text.vue?vue&type=template&id=
|
|
1082
|
-
var
|
|
1116
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-text.vue?vue&type=template&id=0603ca4d&
|
|
1117
|
+
var skeleton_textvue_type_template_id_0603ca4d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.type === 'body')?_c('div',{ref:"skeleton",class:[
|
|
1083
1118
|
'd-h8',
|
|
1084
1119
|
'd-bar2',
|
|
1085
1120
|
'skeleton-placeholder',
|
|
@@ -1096,7 +1131,7 @@ var skeleton_textvue_type_template_id_b36ce9f2_render = function () {var _vm=thi
|
|
|
1096
1131
|
},
|
|
1097
1132
|
_vm.contentClass ],style:(Object.assign({}, {width: _vm.width},
|
|
1098
1133
|
_vm.skeletonStyle)),attrs:{"data-qa":"skeleton-text-heading"}}):_vm._e()}
|
|
1099
|
-
var
|
|
1134
|
+
var skeleton_textvue_type_template_id_0603ca4d_staticRenderFns = []
|
|
1100
1135
|
|
|
1101
1136
|
|
|
1102
1137
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/skeleton/skeleton-text.vue?vue&type=script&lang=js&
|
|
@@ -1145,32 +1180,67 @@ var skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns = []
|
|
|
1145
1180
|
name: 'DtSkeletonText',
|
|
1146
1181
|
mixins: [skeleton],
|
|
1147
1182
|
props: {
|
|
1183
|
+
/**
|
|
1184
|
+
* Skeleton type
|
|
1185
|
+
* @values body, heading
|
|
1186
|
+
*/
|
|
1148
1187
|
type: {
|
|
1149
1188
|
type: String,
|
|
1150
1189
|
default: 'body',
|
|
1151
1190
|
validator: type => SKELETON_TEXT_TYPES.includes(type)
|
|
1152
1191
|
},
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Heading height
|
|
1195
|
+
* @values sm, md, lg
|
|
1196
|
+
*/
|
|
1153
1197
|
headingHeight: {
|
|
1154
1198
|
type: String,
|
|
1155
1199
|
default: 'md',
|
|
1156
1200
|
validator: headingHeight => Object.keys(SKELETON_HEADING_HEIGHTS).includes(headingHeight)
|
|
1157
1201
|
},
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Width of the skeleton
|
|
1205
|
+
*/
|
|
1158
1206
|
width: {
|
|
1159
1207
|
type: String,
|
|
1160
1208
|
default: '100%'
|
|
1161
1209
|
},
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Duration time of the animation (ms), set -1 for an infinite animation.
|
|
1213
|
+
*/
|
|
1162
1214
|
animationDuration: {
|
|
1163
1215
|
type: Number,
|
|
1164
1216
|
default: -1
|
|
1165
1217
|
},
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* This property has higher priority than "option.animate"
|
|
1221
|
+
* @values true, false
|
|
1222
|
+
*/
|
|
1166
1223
|
animate: {
|
|
1167
1224
|
type: Boolean,
|
|
1168
1225
|
default: false
|
|
1169
1226
|
},
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* RippleDuration controls how long the delay is for the animation of a
|
|
1230
|
+
* placeholder 1000 pixels from the top of the page. Each placeholder
|
|
1231
|
+
* from the top down will have a delay duration from 0 to this offset.
|
|
1232
|
+
* The delay of each placeholder animation is based on how far down the page
|
|
1233
|
+
* the placeholder is rendered. This is a linear relationship. The unit
|
|
1234
|
+
* is milliseconds.
|
|
1235
|
+
*/
|
|
1170
1236
|
offset: {
|
|
1171
1237
|
type: Number,
|
|
1172
1238
|
default: 1
|
|
1173
1239
|
},
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Additional class name for the content.
|
|
1243
|
+
*/
|
|
1174
1244
|
contentClass: {
|
|
1175
1245
|
type: String,
|
|
1176
1246
|
default: ''
|
|
@@ -1196,8 +1266,8 @@ var skeleton_textvue_type_template_id_b36ce9f2_staticRenderFns = []
|
|
|
1196
1266
|
;
|
|
1197
1267
|
var skeleton_text_component = normalizeComponent(
|
|
1198
1268
|
skeleton_skeleton_textvue_type_script_lang_js_,
|
|
1199
|
-
|
|
1200
|
-
|
|
1269
|
+
skeleton_textvue_type_template_id_0603ca4d_render,
|
|
1270
|
+
skeleton_textvue_type_template_id_0603ca4d_staticRenderFns,
|
|
1201
1271
|
false,
|
|
1202
1272
|
null,
|
|
1203
1273
|
null,
|
|
@@ -1244,45 +1314,91 @@ const validator = number => number !== '' && !Number.isNaN(Number(number));
|
|
|
1244
1314
|
DtSkeletonText: skeleton_text
|
|
1245
1315
|
},
|
|
1246
1316
|
props: {
|
|
1317
|
+
/**
|
|
1318
|
+
* Quantity of rows to display
|
|
1319
|
+
*/
|
|
1247
1320
|
rows: {
|
|
1248
1321
|
type: [Number, String],
|
|
1249
1322
|
default: 3,
|
|
1250
1323
|
validator
|
|
1251
1324
|
},
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* This property has higher priority than "option.animate"
|
|
1328
|
+
* @values true, false
|
|
1329
|
+
*/
|
|
1252
1330
|
animate: {
|
|
1253
1331
|
type: Boolean,
|
|
1254
1332
|
default: true
|
|
1255
1333
|
},
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Controls the min width of paragraphs
|
|
1337
|
+
*/
|
|
1256
1338
|
minWidth: {
|
|
1257
1339
|
type: [Number, String],
|
|
1258
1340
|
default: 30,
|
|
1259
1341
|
validator
|
|
1260
1342
|
},
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Controls the max width of paragraphs
|
|
1346
|
+
*/
|
|
1261
1347
|
maxWidth: {
|
|
1262
1348
|
type: [Number, String],
|
|
1263
1349
|
default: 100,
|
|
1264
1350
|
validator
|
|
1265
1351
|
},
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Controls the width of paragraphs
|
|
1355
|
+
*/
|
|
1266
1356
|
width: {
|
|
1267
1357
|
type: [String, Array],
|
|
1268
1358
|
default: null
|
|
1269
1359
|
},
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* If true, row widths will be random
|
|
1363
|
+
* @values true, false
|
|
1364
|
+
*/
|
|
1270
1365
|
randomWidth: {
|
|
1271
1366
|
type: Boolean,
|
|
1272
1367
|
default: false
|
|
1273
1368
|
},
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* RippleDuration controls how long the delay is for the animation of a
|
|
1372
|
+
* placeholder 1000 pixels from the top of the page. Each placeholder
|
|
1373
|
+
* from the top down will have a delay duration from 0 to this offset.
|
|
1374
|
+
* The delay of each placeholder animation is based on how far down the page
|
|
1375
|
+
* the placeholder is rendered. This is a linear relationship. The unit
|
|
1376
|
+
* is milliseconds.
|
|
1377
|
+
*/
|
|
1274
1378
|
offset: {
|
|
1275
1379
|
type: Number,
|
|
1276
1380
|
default: 1
|
|
1277
1381
|
},
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Duration time of the animation (ms), set -1 for an infinite animation.
|
|
1385
|
+
*/
|
|
1278
1386
|
animationDuration: {
|
|
1279
1387
|
type: Number,
|
|
1280
1388
|
default: -1
|
|
1281
1389
|
},
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* Additional class name for the content.
|
|
1393
|
+
*/
|
|
1282
1394
|
contentClass: {
|
|
1283
1395
|
type: String,
|
|
1284
1396
|
default: ''
|
|
1285
1397
|
},
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Additional class name for the row.
|
|
1401
|
+
*/
|
|
1286
1402
|
rowClass: {
|
|
1287
1403
|
type: String,
|
|
1288
1404
|
default: ''
|
|
@@ -1336,8 +1452,8 @@ const validator = number => number !== '' && !Number.isNaN(Number(number));
|
|
|
1336
1452
|
;
|
|
1337
1453
|
var skeleton_paragraph_component = normalizeComponent(
|
|
1338
1454
|
skeleton_skeleton_paragraphvue_type_script_lang_js_,
|
|
1339
|
-
|
|
1340
|
-
|
|
1455
|
+
skeleton_paragraphvue_type_template_id_74552fc9_render,
|
|
1456
|
+
skeleton_paragraphvue_type_template_id_74552fc9_staticRenderFns,
|
|
1341
1457
|
false,
|
|
1342
1458
|
null,
|
|
1343
1459
|
null,
|
|
@@ -1388,15 +1504,29 @@ var skeleton_paragraph_component = normalizeComponent(
|
|
|
1388
1504
|
DtSkeletonParagraph: skeleton_paragraph
|
|
1389
1505
|
},
|
|
1390
1506
|
props: {
|
|
1507
|
+
/**
|
|
1508
|
+
* Defines the shape of the skeleton, accepts circle or square.
|
|
1509
|
+
* @values circle, square
|
|
1510
|
+
*/
|
|
1391
1511
|
shape: {
|
|
1392
1512
|
type: String,
|
|
1393
1513
|
default: 'circle',
|
|
1394
1514
|
validator: shape => Object.keys(SKELETON_SHAPES).includes(shape)
|
|
1395
1515
|
},
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Size of the shape
|
|
1519
|
+
* @values xs, sm, md, lg, xl
|
|
1520
|
+
*/
|
|
1396
1521
|
shapeSize: {
|
|
1397
1522
|
type: String,
|
|
1398
1523
|
default: 'md'
|
|
1399
1524
|
},
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* Object containing quantity of paragraphs to display
|
|
1528
|
+
* and a randomWidth boolean.
|
|
1529
|
+
*/
|
|
1400
1530
|
paragraphs: {
|
|
1401
1531
|
type: Object,
|
|
1402
1532
|
default: () => ({
|
|
@@ -1404,22 +1534,48 @@ var skeleton_paragraph_component = normalizeComponent(
|
|
|
1404
1534
|
randomWidth: true
|
|
1405
1535
|
})
|
|
1406
1536
|
},
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Duration time of the animation (ms), set -1 for an infinite animation.
|
|
1540
|
+
*/
|
|
1407
1541
|
animationDuration: {
|
|
1408
1542
|
type: Number,
|
|
1409
1543
|
default: -1
|
|
1410
1544
|
},
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* This property has higher priority than "option.animate"
|
|
1548
|
+
* @values true, false
|
|
1549
|
+
*/
|
|
1411
1550
|
animate: {
|
|
1412
1551
|
type: Boolean,
|
|
1413
1552
|
default: true
|
|
1414
1553
|
},
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* RippleDuration controls how long the delay is for the animation of a
|
|
1557
|
+
* placeholder 1000 pixels from the top of the page. Each placeholder
|
|
1558
|
+
* from the top down will have a delay duration from 0 to this offset.
|
|
1559
|
+
* The delay of each placeholder animation is based on how far down the page
|
|
1560
|
+
* the placeholder is rendered. This is a linear relationship. The unit
|
|
1561
|
+
* is milliseconds.
|
|
1562
|
+
*/
|
|
1415
1563
|
offset: {
|
|
1416
1564
|
type: Number,
|
|
1417
1565
|
default: 1
|
|
1418
1566
|
},
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Additional class name for the shape.
|
|
1570
|
+
*/
|
|
1419
1571
|
shapeClass: {
|
|
1420
1572
|
type: String,
|
|
1421
1573
|
default: ''
|
|
1422
1574
|
},
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Additional class name for the content.
|
|
1578
|
+
*/
|
|
1423
1579
|
contentClass: {
|
|
1424
1580
|
type: String,
|
|
1425
1581
|
default: ''
|
|
@@ -1438,8 +1594,8 @@ var skeleton_paragraph_component = normalizeComponent(
|
|
|
1438
1594
|
;
|
|
1439
1595
|
var skeleton_list_item_component = normalizeComponent(
|
|
1440
1596
|
skeleton_skeleton_list_itemvue_type_script_lang_js_,
|
|
1441
|
-
|
|
1442
|
-
|
|
1597
|
+
skeleton_list_itemvue_type_template_id_550aef30_render,
|
|
1598
|
+
skeleton_list_itemvue_type_template_id_550aef30_staticRenderFns,
|
|
1443
1599
|
false,
|
|
1444
1600
|
null,
|
|
1445
1601
|
null,
|
|
@@ -1490,6 +1646,13 @@ var skeleton_list_item_component = normalizeComponent(
|
|
|
1490
1646
|
|
|
1491
1647
|
|
|
1492
1648
|
|
|
1649
|
+
/**
|
|
1650
|
+
* Skeleton loader is a non-interactive placeholder that displays a preview of the UI to visually communicate
|
|
1651
|
+
* that content is in the process of loading. Skeleton is used to provide a low fidelity
|
|
1652
|
+
* representation of the user interface (UI) before content appears on the page.
|
|
1653
|
+
* @see https://dialpad.design/components/skeleton.html
|
|
1654
|
+
*/
|
|
1655
|
+
|
|
1493
1656
|
/* harmony default export */ const skeletonvue_type_script_lang_js_ = ({
|
|
1494
1657
|
name: 'DtSkeleton',
|
|
1495
1658
|
components: {
|
|
@@ -1499,34 +1662,75 @@ var skeleton_list_item_component = normalizeComponent(
|
|
|
1499
1662
|
DtSkeletonParagraph: skeleton_paragraph
|
|
1500
1663
|
},
|
|
1501
1664
|
props: {
|
|
1665
|
+
/**
|
|
1666
|
+
* Set this prop to have the skeleton render as multiple lines of text.
|
|
1667
|
+
* Set only one option prop at a time.
|
|
1668
|
+
*/
|
|
1502
1669
|
paragraphOption: {
|
|
1503
1670
|
type: [Object, Boolean],
|
|
1504
1671
|
default: null
|
|
1505
1672
|
},
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Set this prop to have the skeleton render as a list item with an avatar and wrapping text.
|
|
1676
|
+
* Set only one option prop at a time.
|
|
1677
|
+
*/
|
|
1506
1678
|
listItemOption: {
|
|
1507
1679
|
type: [Object, Boolean],
|
|
1508
1680
|
default: null
|
|
1509
1681
|
},
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Set this prop to have the skeleton render as a single line of text.
|
|
1685
|
+
* Set only one option prop at a time.
|
|
1686
|
+
*/
|
|
1510
1687
|
textOption: {
|
|
1511
1688
|
type: Object,
|
|
1512
1689
|
default: null
|
|
1513
1690
|
},
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Set this prop to have the skeleton render as a specific shape.
|
|
1694
|
+
* Set only one option prop at a time.
|
|
1695
|
+
*/
|
|
1514
1696
|
shapeOption: {
|
|
1515
1697
|
type: [Object, Boolean],
|
|
1516
1698
|
default: null
|
|
1517
1699
|
},
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Duration time of the animation (ms), set -1 for an infinite animation.
|
|
1703
|
+
*/
|
|
1518
1704
|
animationDuration: {
|
|
1519
1705
|
type: Number,
|
|
1520
1706
|
default: -1
|
|
1521
1707
|
},
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Descriptive label for the content.
|
|
1711
|
+
*/
|
|
1522
1712
|
ariaLabel: {
|
|
1523
1713
|
type: String,
|
|
1524
1714
|
default: ''
|
|
1525
1715
|
},
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* This property has higher priority than "option.animate"
|
|
1719
|
+
* @values true, false
|
|
1720
|
+
*/
|
|
1526
1721
|
animate: {
|
|
1527
1722
|
type: Boolean,
|
|
1528
1723
|
default: true
|
|
1529
1724
|
},
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* RippleDuration controls how long the delay is for the animation of a
|
|
1728
|
+
* placeholder 1000 pixels from the top of the page. Each placeholder
|
|
1729
|
+
* from the top down will have a delay duration from 0 to this offset.
|
|
1730
|
+
* The delay of each placeholder animation is based on how far down the page
|
|
1731
|
+
* the placeholder is rendered. This is a linear relationship. The unit
|
|
1732
|
+
* is milliseconds.
|
|
1733
|
+
*/
|
|
1530
1734
|
offset: {
|
|
1531
1735
|
type: Number,
|
|
1532
1736
|
default: 1
|
|
@@ -1584,8 +1788,8 @@ var skeletonvue_type_style_index_0_lang_less_ = __webpack_require__(778);
|
|
|
1584
1788
|
|
|
1585
1789
|
var skeleton_component = normalizeComponent(
|
|
1586
1790
|
skeleton_skeletonvue_type_script_lang_js_,
|
|
1587
|
-
|
|
1588
|
-
|
|
1791
|
+
skeletonvue_type_template_id_6cda56f1_render,
|
|
1792
|
+
skeletonvue_type_template_id_6cda56f1_staticRenderFns,
|
|
1589
1793
|
false,
|
|
1590
1794
|
null,
|
|
1591
1795
|
null,
|
|
@@ -1627,6 +1831,11 @@ var skeleton_component = normalizeComponent(
|
|
|
1627
1831
|
|
|
1628
1832
|
|
|
1629
1833
|
|
|
1834
|
+
/**
|
|
1835
|
+
* Renders an emoji from a shortcode such as :smile: or unicode character such as 😄
|
|
1836
|
+
* @see https://dialpad.design/components/emoji.html
|
|
1837
|
+
*/
|
|
1838
|
+
|
|
1630
1839
|
/* harmony default export */ const emojivue_type_script_lang_js_ = ({
|
|
1631
1840
|
name: 'DtEmoji',
|
|
1632
1841
|
components: {
|
|
@@ -1634,19 +1843,21 @@ var skeleton_component = normalizeComponent(
|
|
|
1634
1843
|
},
|
|
1635
1844
|
props: {
|
|
1636
1845
|
/**
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1846
|
+
* Supports shortcode ex: :smile: or unicode ex: 😄. Will display the resulting emoji.
|
|
1847
|
+
* See <a href="https://emojipedia.org/joypixels/" target="_blank">JoyPixels</a>
|
|
1848
|
+
* for all supported shortcode/unicode or the docs for setting up custom emojis.
|
|
1849
|
+
*/
|
|
1641
1850
|
code: {
|
|
1642
1851
|
type: String,
|
|
1643
1852
|
default: null
|
|
1644
1853
|
},
|
|
1645
1854
|
|
|
1646
1855
|
/**
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1856
|
+
* The size of the emoji. Can be any of the svg size utility classes from
|
|
1857
|
+
* <a href="https://dialpad.design/utilities/svg/size" target="_blank"> Dialpad SVG Size</a>
|
|
1858
|
+
* @values d-svg--size14, d-svg--size16, d-svg--size18, d-svg--size20
|
|
1859
|
+
* d-svg--size24, d-svg--size32, d-svg--size48, d-svg--size64, d-svg--size100p
|
|
1860
|
+
*/
|
|
1650
1861
|
size: {
|
|
1651
1862
|
type: String,
|
|
1652
1863
|
default: EMOJI_SIZES.SIZE_20,
|
|
@@ -1655,8 +1866,8 @@ var skeleton_component = normalizeComponent(
|
|
|
1655
1866
|
|
|
1656
1867
|
/**
|
|
1657
1868
|
* Additional class name for the emoji img element.
|
|
1658
|
-
* Can accept
|
|
1659
|
-
* same
|
|
1869
|
+
* Can accept String, Object, and Array, i.e. has the
|
|
1870
|
+
* same API as Vue's built-in handling of the class attribute.
|
|
1660
1871
|
*/
|
|
1661
1872
|
imgClass: {
|
|
1662
1873
|
type: [String, Object, Array],
|
|
@@ -1664,7 +1875,7 @@ var skeleton_component = normalizeComponent(
|
|
|
1664
1875
|
},
|
|
1665
1876
|
|
|
1666
1877
|
/**
|
|
1667
|
-
* Will be read out on a
|
|
1878
|
+
* Will be read out on a screen reader for this emoji. You must use this prop if you want your emoji to be i18n
|
|
1668
1879
|
* Compatible as Dialtone Vue will not translate it by itself. If you do not set this prop the aria-label will
|
|
1669
1880
|
* be set to the english description of the emoji. You can retrieve the description for an emoji yourself via the
|
|
1670
1881
|
* getEmojiData() function
|
|
@@ -1676,6 +1887,7 @@ var skeleton_component = normalizeComponent(
|
|
|
1676
1887
|
|
|
1677
1888
|
/**
|
|
1678
1889
|
* Shows a skeleton loader while the emoji asset is loading.
|
|
1890
|
+
* @values true, false
|
|
1679
1891
|
*/
|
|
1680
1892
|
showSkeleton: {
|
|
1681
1893
|
type: Boolean,
|
|
@@ -1791,6 +2003,11 @@ var emoji_component = normalizeComponent(
|
|
|
1791
2003
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/emoji_text_wrapper/emoji_text_wrapper.vue?vue&type=script&lang=js&
|
|
1792
2004
|
|
|
1793
2005
|
|
|
2006
|
+
/**
|
|
2007
|
+
* Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
|
|
2008
|
+
* @see https://dialpad.design/components/emoji_text_wrapper.html
|
|
2009
|
+
*/
|
|
2010
|
+
|
|
1794
2011
|
/* harmony default export */ const emoji_text_wrappervue_type_script_lang_js_ = ({
|
|
1795
2012
|
name: 'DtEmojiTextWrapper',
|
|
1796
2013
|
components: {
|
|
@@ -1799,7 +2016,7 @@ var emoji_component = normalizeComponent(
|
|
|
1799
2016
|
inheritAttrs: false,
|
|
1800
2017
|
props: {
|
|
1801
2018
|
/**
|
|
1802
|
-
*
|
|
2019
|
+
* Element type (tag name) to use for the wrapper.
|
|
1803
2020
|
*/
|
|
1804
2021
|
elementType: {
|
|
1805
2022
|
type: String,
|