WhatsApp Chat WP - Version 4.5.5

Version Description

Hello! We've recently acquired this plugin and included tons of new features.

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WhatsApp Chat WP
Version 4.5.5
Comparing to
See all releases

Code changes from version 4.5.4 to 4.5.5

Files changed (63) hide show
  1. assets/backend/css/qlwapp-admin.css +243 -0
  2. assets/backend/css/qlwapp-admin.css.map +1 -0
  3. assets/backend/css/qlwapp-admin.min.css +2 -0
  4. assets/backend/css/qlwapp-select2.css +414 -0
  5. assets/backend/css/qlwapp-select2.min.css +2 -0
  6. assets/{img → backend/img}/box1.png +0 -0
  7. assets/{img → backend/img}/box2.png +0 -0
  8. assets/{img → backend/img}/icon.png +0 -0
  9. assets/{img → backend/img}/logo.jpg +0 -0
  10. assets/{img → backend/img}/quadlayers.jpg +0 -0
  11. assets/{js → backend/js}/qlwapp-admin-contact.js +220 -35
  12. assets/backend/js/qlwapp-admin-contact.min.js +1 -0
  13. assets/{js → backend/js}/qlwapp-admin.js +57 -39
  14. assets/backend/js/qlwapp-admin.min.js +2 -0
  15. assets/{js → backend/js}/select2.min.js +0 -0
  16. assets/css/qlwapp-admin.css +0 -143
  17. assets/css/qlwapp-admin.css.map +0 -1
  18. assets/css/qlwapp-admin.min.css +0 -2
  19. assets/css/qlwapp-select2.css +0 -409
  20. assets/css/qlwapp-select2.min.css +0 -2
  21. assets/css/qlwapp.min.css +0 -2
  22. assets/{css → frontend/css}/qlwapp.css +23 -2
  23. assets/frontend/css/qlwapp.css.map +1 -0
  24. assets/frontend/css/qlwapp.min.css +2 -0
  25. assets/{js → frontend/js}/qlwapp.js +0 -0
  26. assets/{js → frontend/js}/qlwapp.min.js +1 -0
  27. assets/js/qlwapp-admin-contact.min.js +0 -1
  28. assets/js/qlwapp-admin.min.js +0 -2
  29. changelog.txt +5 -0
  30. includes/backend.php +6 -6
  31. includes/controllers/ContactController.php +139 -118
  32. includes/controllers/DisplayController.php +40 -38
  33. includes/controllers/Display_services.php +76 -0
  34. includes/controllers/QLWAPP_Controller.php +12 -15
  35. includes/controllers/SchemeController.php +2 -2
  36. includes/controllers/SuggestionsController.php +2 -2
  37. includes/controllers/WelcomeController.php +3 -3
  38. includes/frontend.php +117 -137
  39. includes/models/Box.php +0 -1
  40. includes/models/Contact.php +130 -118
  41. includes/models/Display.php +5 -9
  42. includes/models/Display_Component.php +67 -0
  43. includes/models/QLWAPP_Model.php +7 -4
  44. includes/notices.php +93 -93
  45. includes/settings.php +56 -10
  46. includes/view/backend/pages/contacts.php +21 -26
  47. includes/view/backend/pages/display.php +53 -47
  48. includes/view/backend/pages/modals/contact-modal.php +0 -127
  49. includes/view/backend/pages/modals/contact/modal-contact.php +36 -0
  50. includes/view/backend/pages/modals/contact/panel-contact-chat.php +16 -0
  51. includes/view/backend/pages/modals/contact/panel-contact.php +63 -0
  52. includes/view/backend/pages/modals/contact/panel-footer.php +11 -0
  53. includes/view/backend/pages/modals/contact/panel-header.php +10 -0
  54. includes/view/backend/pages/modals/contact/panel-info.php +25 -0
  55. includes/view/backend/pages/modals/contact/panel-tabs.php +8 -0
  56. includes/view/backend/pages/modals/contact/panel-visibility.php +70 -0
  57. includes/view/backend/pages/modals/template-scripts.php +31 -0
  58. includes/view/backend/pages/parts/header.php +3 -3
  59. includes/view/backend/pages/premium.php +2 -2
  60. includes/view/backend/pages/welcome.php +1 -1
  61. readme.txt +2 -2
  62. template/box.php +0 -3
  63. wp-whatsapp-chat.php +3 -3
assets/backend/css/qlwapp-admin.css ADDED
@@ -0,0 +1,243 @@
1
+ #qlwapp_contacts_table td,
2
+ #qlwapp_contacts_table th {
3
+ padding: 1em!important;
4
+ vertical-align: top;
5
+ line-height: 1.75em;
6
+ }
7
+ #qlwapp_contacts_table td img.qlwapp-avatar {
8
+ width: 50px;
9
+ height: 50px;
10
+ }
11
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button {
12
+ position: relative;
13
+ overflow: hidden;
14
+ float: left;
15
+ display: block;
16
+ width: 24px;
17
+ height: 24px;
18
+ margin: 0;
19
+ background: 0 0;
20
+ border: none;
21
+ box-shadow: none;
22
+ color: #82878c;
23
+ text-indent: -9999px;
24
+ cursor: pointer;
25
+ outline: 0;
26
+ }
27
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button::before {
28
+ display: inline-block;
29
+ position: absolute;
30
+ top: 0;
31
+ right: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ font: normal 20px/23px dashicons;
35
+ text-align: center;
36
+ text-indent: 0;
37
+ -webkit-font-smoothing: antialiased;
38
+ -moz-osx-font-smoothing: grayscale;
39
+ }
40
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-up::before {
41
+ content: "\f343";
42
+ }
43
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-down::before {
44
+ content: "\f347";
45
+ }
46
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-disabled {
47
+ color: #d5d5d5!important;
48
+ cursor: default;
49
+ pointer-events: none;
50
+ }
51
+ #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav::before {
52
+ content: "\f333";
53
+ font-family: Dashicons;
54
+ text-align: center;
55
+ line-height: 1;
56
+ color: #999;
57
+ display: block;
58
+ width: 24px;
59
+ float: left;
60
+ height: 100%;
61
+ line-height: 24px;
62
+ cursor: move;
63
+ }
64
+ #qlwapp_modal {
65
+ max-width: 890px;
66
+ max-height: 560px;
67
+ margin: auto;
68
+ }
69
+ #qlwapp_modal.processing {
70
+ pointer-events: none;
71
+ }
72
+ #qlwapp_modal.processing:before {
73
+ content: '';
74
+ position: absolute;
75
+ top: 0;
76
+ bottom: 0;
77
+ left: 0;
78
+ right: 0;
79
+ background-color: #ffffff;
80
+ z-index: 999;
81
+ opacity: 0.8;
82
+ }
83
+ #qlwapp_modal.qlwapp-modal-icon .thumbnail {
84
+ vertical-align: middle;
85
+ text-align: center;
86
+ }
87
+ #qlwapp_modal.qlwapp-modal-icon .thumbnail:before {
88
+ content: '';
89
+ display: inline-block;
90
+ width: 0px;
91
+ height: 100%;
92
+ vertical-align: middle;
93
+ }
94
+ #qlwapp_modal.qlwapp-modal-icon .thumbnail > i {
95
+ text-align: center;
96
+ font-size: 2vw;
97
+ display: inline-block;
98
+ vertical-align: middle;
99
+ height: auto;
100
+ width: auto;
101
+ }
102
+ #qlwapp_modal.qlwapp-modal-contact {
103
+ max-width: 990px;
104
+ max-height: 560px;
105
+ margin: auto;
106
+ }
107
+ #qlwapp_modal.qlwapp-modal-contact table {
108
+ padding: 15px;
109
+ border-width: 1px 0 0 0;
110
+ box-shadow: none;
111
+ table-layout: fixed;
112
+ }
113
+ #qlwapp_modal.qlwapp-modal-contact table th {
114
+ width: 70px;
115
+ }
116
+ #qlwapp_modal.qlwapp-modal-contact table td {
117
+ width: calc(50% - 70px);
118
+ }
119
+ #qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-media-view {
120
+ width: 75% ;
121
+ }
122
+ #qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-info {
123
+ width: 25%;
124
+ }
125
+ #qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-details {
126
+ overflow: hidden;
127
+ }
128
+ #qlwapp_modal.qlwapp-modal-contact input[type=time] {
129
+ height: 30px;
130
+ }
131
+ #qlwapp_modal.qlwapp-modal-contact .panel-wrap {
132
+ overflow: hidden;
133
+ }
134
+ #qlwapp_modal.qlwapp-modal-contact .panel .options_group {
135
+ overflow: hidden;
136
+ border-bottom: 1px solid #eee;
137
+ }
138
+ #qlwapp_modal.qlwapp-modal-contact .panel .options_group:first-child {
139
+ border-top: 0;
140
+ }
141
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field {
142
+ font-size: 12px;
143
+ padding: 7.5px 15px;
144
+ line-height: 24px;
145
+ }
146
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field > label {
147
+ display: inline-block;
148
+ }
149
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field > label:first-child {
150
+ width: 80px;
151
+ }
152
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field > .select2-container:nth-of-type(1) {
153
+ width: 80px!important;
154
+ }
155
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field > .select2-container:nth-of-type(2) {
156
+ width: calc(100% - 171px) !important;
157
+ }
158
+ #qlwapp_modal.qlwapp-modal-contact .panel p.form-field > .select2-container:only-of-type {
159
+ width: calc(100% - 88px) !important;
160
+ }
161
+ #qlwapp_modal.qlwapp-modal-contact .panel select,
162
+ #qlwapp_modal.qlwapp-modal-contact .panel textarea,
163
+ #qlwapp_modal.qlwapp-modal-contact .panel input[type=phone],
164
+ #qlwapp_modal.qlwapp-modal-contact .panel input[type=text] {
165
+ width: 100%;
166
+ max-width: 100%;
167
+ }
168
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs {
169
+ margin: 0;
170
+ width: 20%;
171
+ float: left;
172
+ line-height: 1em;
173
+ padding: 0 0 10px;
174
+ position: relative;
175
+ background-color: #fafafa;
176
+ border-right: 1px solid #eee;
177
+ box-sizing: border-box;
178
+ }
179
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs:after {
180
+ content: "";
181
+ display: block;
182
+ width: 100%;
183
+ height: 9999em;
184
+ position: absolute;
185
+ bottom: -9999em;
186
+ left: 0;
187
+ background-color: #fafafa;
188
+ border-right: 1px solid #eee;
189
+ }
190
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li {
191
+ margin: 0;
192
+ padding: 0;
193
+ display: block;
194
+ position: relative;
195
+ }
196
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a {
197
+ margin: 0;
198
+ padding: 10px;
199
+ display: block;
200
+ box-shadow: none;
201
+ text-decoration: none;
202
+ line-height: 20px!important;
203
+ border-bottom: 1px solid #eee;
204
+ }
205
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a span {
206
+ margin-left: .618em;
207
+ margin-right: .618em;
208
+ }
209
+ #qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a:before {
210
+ content: "\f107";
211
+ font-family: Dashicons;
212
+ speak: none;
213
+ font-weight: 400;
214
+ text-transform: none;
215
+ line-height: 1;
216
+ -webkit-font-smoothing: antialiased;
217
+ font-variant: normal;
218
+ text-decoration: none;
219
+ }
220
+ #qlwapp_modal.qlwapp-modal-contact .qlwapp-input,
221
+ #qlwapp_modal.qlwapp-modal-contact .qlwapp-select2 {
222
+ width: 350px;
223
+ max-width: 100%;
224
+ }
225
+ #qlwapp_modal.qlwapp-modal-contact .qlwapp-input {
226
+ margin: 0;
227
+ padding: 6px;
228
+ box-sizing: border-box;
229
+ vertical-align: top;
230
+ }
231
+ .settings-save-status .spinner {
232
+ float: none;
233
+ display: inline-block;
234
+ margin: 0 10px;
235
+ }
236
+ .settings-save-status .saved {
237
+ font-size: 12px;
238
+ display: none;
239
+ }
240
+ .settings-save-status .saved.is-active {
241
+ display: inline-block;
242
+ }
243
+ /*# sourceMappingURL=qlwapp-admin.css.map */
assets/backend/css/qlwapp-admin.css.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../less/qlwapp-admin.less"],"names":[],"mappings":"AAAA,sBACE;AADF,sBAEE;EACE,sBAAA;EACA,mBAAA;EACA,mBAAA;;AALJ,sBAQE,GAAG,IAAG;EACJ,WAAA;EACA,YAAA;;AAIA,sBADF,MACG,YACC,qBACE;EACE,kBAAA;EACA,gBAAA;EACA,WAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;EACA,eAAA;EACA,YAAA;EACA,gBAAA;EACA,cAAA;EACA,oBAAA;EACA,eAAA;EACA,UAAA;;AACA,sBAlBR,MACG,YACC,qBACE,OAeG;EACC,qBAAA;EACA,kBAAA;EACA,MAAA;EACA,QAAA;EACA,WAAA;EACA,YAAA;EACA,gCAAA;EACA,kBAAA;EACA,cAAA;EACA,mCAAA;EACA,kCAAA;;AAE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A,mCAAA;EACA,oBAAA;EACA,qBAAA;;AA5IV,aAAC,qBAkJC;AAlJF,aAAC,qBAmJC;EACE,YAAA;EACA,eAAA;;AArJJ,aAAC,qBAwJC;EACE,SAAA;EACA,YAAA;EACA,sBAAA;EACA,mBAAA;;AAKN,qBACE;EACE,WAAA;EACA,qBAAA;EACA,cAAA;;AAJJ,qBAME;EACE,eAAA;EACA,aAAA;;AACA,qBAHF,OAGG;EACC,qBAAA","file":"qlwapp-admin.css"}
assets/backend/css/qlwapp-admin.min.css ADDED
@@ -0,0 +1,2 @@
1
+
2
+ #qlwapp_contacts_table td,#qlwapp_contacts_table th{padding:1em!important;vertical-align:top;line-height:1.75em}#qlwapp_contacts_table td img.qlwapp-avatar{width:50px;height:50px}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button{position:relative;overflow:hidden;float:left;display:block;width:24px;height:24px;margin:0;background:0;border:0;box-shadow:none;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button::before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:normal 20px/23px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-up::before{content:"\f343"}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-down::before{content:"\f347"}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-disabled{color:#d5d5d5!important;cursor:default;pointer-events:none}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav::before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:24px;float:left;height:100%;line-height:24px;cursor:move}#qlwapp_modal{max-width:890px;max-height:560px;margin:auto}#qlwapp_modal.processing{pointer-events:none}#qlwapp_modal.processing:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background-color:#fff;z-index:999;opacity:.8}#qlwapp_modal .select2-container{z-index:160001}#qlwapp_modal.qlwapp-modal-icon .thumbnail{vertical-align:middle;text-align:center}#qlwapp_modal.qlwapp-modal-icon .thumbnail:before{content:'';display:inline-block;width:0;height:100%;vertical-align:middle}#qlwapp_modal.qlwapp-modal-icon .thumbnail>i{text-align:center;font-size:2vw;display:inline-block;vertical-align:middle;height:auto;width:auto}#qlwapp_modal.qlwapp-modal-contact{max-width:990px;max-height:560px;margin:auto}#qlwapp_modal.qlwapp-modal-contact table{padding:15px;border-width:1px 0 0 0;box-shadow:none;table-layout:fixed}#qlwapp_modal.qlwapp-modal-contact table th{width:70px}#qlwapp_modal.qlwapp-modal-contact table td{width:calc(50% - 70px)}#qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-media-view{width:75%}#qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-info{width:25%}#qlwapp_modal.qlwapp-modal-contact .edit-attachment-frame .attachment-details{overflow:hidden}#qlwapp_modal.qlwapp-modal-contact input[type=time]{height:30px}#qlwapp_modal.qlwapp-modal-contact .panel-wrap{overflow:hidden}#qlwapp_modal.qlwapp-modal-contact .panel .options_group{overflow:hidden;border-bottom:1px solid #eee}#qlwapp_modal.qlwapp-modal-contact .panel .options_group:first-child{border-top:0}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field{font-size:12px;padding:7.5px 15px;line-height:24px}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field>label{display:inline-block}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field>label:first-child{width:80px}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field>.select2-container:nth-of-type(1){width:80px!important}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field>.select2-container:nth-of-type(2){width:calc(100% - 171px)!important}#qlwapp_modal.qlwapp-modal-contact .panel p.form-field>.select2-container:only-of-type{width:calc(100% - 88px)!important}#qlwapp_modal.qlwapp-modal-contact .panel select,#qlwapp_modal.qlwapp-modal-contact .panel textarea,#qlwapp_modal.qlwapp-modal-contact .panel input[type=phone],#qlwapp_modal.qlwapp-modal-contact .panel input[type=text]{width:100%;max-width:100%}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs{margin:0;width:20%;float:left;line-height:1em;padding:0 0 10px;position:relative;background-color:#fafafa;border-right:1px solid #eee;box-sizing:border-box}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;left:0;background-color:#fafafa;border-right:1px solid #eee}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li{margin:0;padding:0;display:block;position:relative}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a span{margin-left:.618em;margin-right:.618em}#qlwapp_modal.qlwapp-modal-contact ul.qlwapp-tabs li a:before{content:"\f107";font-family:Dashicons;speak:none;font-weight:400;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-variant:normal;text-decoration:none}#qlwapp_modal.qlwapp-modal-contact .qlwapp-input,#qlwapp_modal.qlwapp-modal-contact .qlwapp-select2{width:350px;max-width:100%}#qlwapp_modal.qlwapp-modal-contact .qlwapp-input{margin:0;padding:6px;box-sizing:border-box;vertical-align:top}.settings-save-status .spinner{float:none;display:inline-block;margin:0 10px}.settings-save-status .saved{font-size:12px;display:none}.settings-save-status .saved.is-active{display:inline-block}
assets/backend/css/qlwapp-select2.css ADDED
@@ -0,0 +1,414 @@
1
+ .select2-container {
2
+ box-sizing: border-box;
3
+ display: inline-block;
4
+ margin: 0;
5
+ position: relative;
6
+ vertical-align: middle;
7
+ z-index:9999;
8
+ }
9
+
10
+ .modal-open .select2-container--open {
11
+ z-index: 160010;
12
+ }
13
+
14
+ .select2-container .select2-selection {
15
+ box-sizing: border-box;
16
+ cursor: pointer;
17
+ display: block;
18
+ height: 28px;
19
+ margin: 0 0 -4px;
20
+ -moz-user-select: none;
21
+ -ms-user-select: none;
22
+ user-select: none;
23
+ -webkit-user-select: none
24
+ }
25
+
26
+ .select2-container .select2-selection .select2-selection__rendered {
27
+ display: block;
28
+ padding-left: 8px;
29
+ padding-right: 20px;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ white-space: nowrap
33
+ }
34
+
35
+ .select2-container .select2-selection .select2-selection__clear {
36
+ position: relative
37
+ }
38
+
39
+ .select2-container[dir=rtl] .select2-selection .select2-selection__rendered {
40
+ padding-right: 8px;
41
+ padding-left: 20px
42
+ }
43
+
44
+ .select2-container .select2-selection {
45
+ box-sizing: border-box;
46
+ cursor: pointer;
47
+ display: block;
48
+ min-height: 32px;
49
+ -moz-user-select: none;
50
+ -ms-user-select: none;
51
+ user-select: none;
52
+ -webkit-user-select: none
53
+ }
54
+
55
+ .select2-container .select2-selection .select2-selection__rendered {
56
+ display: inline-block;
57
+ overflow: hidden;
58
+ padding-left: 8px;
59
+ text-overflow: ellipsis;
60
+ white-space: nowrap
61
+ }
62
+
63
+ .select2-container .select2-search--inline {
64
+ float: left;
65
+ padding: 0
66
+ }
67
+
68
+ .select2-container .select2-search--inline .select2-search__field {
69
+ box-sizing: border-box;
70
+ border: none;
71
+ font-size: 100%;
72
+ margin: 0;
73
+ padding: 0
74
+ }
75
+
76
+ .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
77
+ -webkit-appearance: none
78
+ }
79
+
80
+ .select2-dropdown {
81
+ background-color: #fff;
82
+ border: 1px solid #ccc;
83
+ border-radius: 2px;
84
+ box-sizing: border-box;
85
+ display: block;
86
+ position: absolute;
87
+ left: -100000px;
88
+ width: 100%;
89
+ z-index: 1051
90
+ }
91
+
92
+ .select2-results {
93
+ display: block
94
+ }
95
+
96
+ .select2-results__options {
97
+ list-style: none;
98
+ margin: 0;
99
+ padding: 0
100
+ }
101
+
102
+ .select2-results__option {
103
+ margin: 0;
104
+ padding: 8px;
105
+ -moz-user-select: none;
106
+ -ms-user-select: none;
107
+ user-select: none;
108
+ -webkit-user-select: none
109
+ }
110
+
111
+ .select2-results__option[aria-selected],
112
+ .select2-results__option[data-selected] {
113
+ cursor: pointer
114
+ }
115
+
116
+ .select2-container--open .select2-dropdown {
117
+ left: 0
118
+ }
119
+
120
+ .select2-container--open .select2-dropdown--above {
121
+ border-bottom: none;
122
+ border-bottom-left-radius: 0;
123
+ border-bottom-right-radius: 0
124
+ }
125
+
126
+ .select2-container--open .select2-dropdown--below {
127
+ border-top: none;
128
+ border-top-left-radius: 0;
129
+ border-top-right-radius: 0
130
+ }
131
+
132
+ .select2-search--dropdown {
133
+ display: block;
134
+ padding: 4px
135
+ }
136
+
137
+ .select2-search--dropdown .select2-search__field {
138
+ padding: 4px;
139
+ width: 100%;
140
+ box-sizing: border-box
141
+ }
142
+
143
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
144
+ -webkit-appearance: none
145
+ }
146
+
147
+ .select2-search--dropdown.select2-search--hide {
148
+ display: none
149
+ }
150
+
151
+ .select2-close-mask {
152
+ border: 0;
153
+ margin: 0;
154
+ padding: 0;
155
+ display: block;
156
+ position: fixed;
157
+ left: 0;
158
+ top: 0;
159
+ min-height: 100%;
160
+ min-width: 100%;
161
+ height: auto;
162
+ width: auto;
163
+ opacity: 0;
164
+ z-index: 99;
165
+ background-color: #fff
166
+ }
167
+
168
+ .select2-hidden-accessible {
169
+ border: 0!important;
170
+ clip: rect(0 0 0 0)!important;
171
+ height: 1px!important;
172
+ margin: -1px!important;
173
+ overflow: hidden!important;
174
+ padding: 0!important;
175
+ position: absolute!important;
176
+ width: 1px!important
177
+ }
178
+
179
+ .select2-container--default .select2-selection {
180
+ background-color: #fff;
181
+ border: 1px solid #ccc;
182
+ border-radius: 4px
183
+ }
184
+
185
+ .select2-container--default .select2-selection .select2-selection__clear {
186
+ cursor: pointer;
187
+ float: right;
188
+ font-weight: 700
189
+ }
190
+
191
+ .select2-container--default .select2-selection .select2-selection__placeholder {
192
+ color: #999
193
+ }
194
+
195
+ .select2-container--default .select2-selection .select2-selection__arrow {
196
+ height: 32px;
197
+ position: absolute;
198
+ top: 0px;
199
+ right: 1px;
200
+ width: 20px
201
+ }
202
+
203
+ .select2-container--default .select2-selection .select2-selection__arrow b {
204
+ border-color: #888 transparent transparent transparent;
205
+ border-style: solid;
206
+ border-width: 5px 4px 0 4px;
207
+ height: 0;
208
+ left: 50%;
209
+ margin-left: -4px;
210
+ margin-top: -2px;
211
+ position: absolute;
212
+ top: 50%;
213
+ width: 0
214
+ }
215
+
216
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__clear {
217
+ float: left
218
+ }
219
+
220
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__arrow {
221
+ left: 1px;
222
+ right: auto
223
+ }
224
+
225
+ .select2-container--default.select2-container--disabled .select2-selection {
226
+ background-color: #eee;
227
+ cursor: default
228
+ }
229
+
230
+ .select2-container--default.select2-container--disabled .select2-selection .select2-selection__clear {
231
+ display: none
232
+ }
233
+
234
+ .select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b {
235
+ border-color: transparent transparent #888 transparent;
236
+ border-width: 0 4px 5px 4px
237
+ }
238
+
239
+ .select2-container--default .select2-selection {
240
+ background-color: #fff;
241
+ border: 1px solid #ccc;
242
+ border-radius: 2px;
243
+ cursor: text
244
+ }
245
+
246
+ .select2-container--default .select2-selection .select2-selection__rendered {
247
+ color: #444;
248
+ line-height: 30px;
249
+ box-sizing: border-box;
250
+ list-style: none;
251
+ margin: 0;
252
+ padding: 0 5px;
253
+ width: 100%
254
+ }
255
+
256
+ .select2-container--default .select2-selection .select2-selection__rendered li {
257
+ list-style: none;
258
+ margin: 2px 4px 2px 0;
259
+ line-height: 24px;
260
+ }
261
+
262
+ .select2-container--default .select2-selection .select2-selection__rendered li.select2-search {
263
+ margin: 0;
264
+ }
265
+
266
+ .select2-container--default .select2-selection .select2-selection__rendered li:before {
267
+ content: '';
268
+ display: none
269
+ }
270
+
271
+ .select2-container--default .select2-selection .select2-selection__placeholder {
272
+ color: #999;
273
+ float: left
274
+ }
275
+
276
+ .select2-container--default .select2-selection .select2-selection__clear {
277
+ cursor: pointer;
278
+ float: right;
279
+ font-weight: 700;
280
+ margin-right: 10px
281
+ }
282
+
283
+ .select2-container--default .select2-selection .select2-selection__choice {
284
+ background-color: #e4e4e4;
285
+ border: 1px solid #ccc;
286
+ border-radius: 2px;
287
+ cursor: default;
288
+ float: left;
289
+ margin-right: 5px;
290
+ margin-top: 5px;
291
+ padding: 0 5px
292
+ }
293
+
294
+ .select2-container--default .select2-selection .select2-selection__choice__remove {
295
+ color: #999;
296
+ cursor: pointer;
297
+ display: inline-block;
298
+ font-weight: 700;
299
+ margin-right: 2px
300
+ }
301
+
302
+ .select2-container--default .select2-selection .select2-selection__choice__remove:hover {
303
+ color: #333
304
+ }
305
+
306
+ .select2-container--default[dir=rtl] .select2-selection .select2-search--inline,
307
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,
308
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder {
309
+ float: right
310
+ }
311
+
312
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice {
313
+ margin-left: 5px;
314
+ margin-right: auto
315
+ }
316
+
317
+ .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove {
318
+ margin-left: 2px;
319
+ margin-right: auto
320
+ }
321
+
322
+ .select2-container--default.select2-container--focus .select2-selection {
323
+ outline: 0
324
+ }
325
+
326
+ .select2-container--default.select2-container--disabled .select2-selection {
327
+ background-color: #eee;
328
+ cursor: default
329
+ }
330
+
331
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
332
+ display: none
333
+ }
334
+
335
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection,
336
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection {
337
+ border-top-left-radius: 0;
338
+ border-top-right-radius: 0
339
+ }
340
+
341
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection,
342
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection {
343
+ border-bottom-left-radius: 0;
344
+ border-bottom-right-radius: 0
345
+ }
346
+
347
+ .select2-container--default .select2-search--dropdown .select2-search__field {
348
+ border: 1px solid #ccc
349
+ }
350
+
351
+ .select2-container--default .select2-search--inline .select2-search__field {
352
+ background: 0 0;
353
+ border: none;
354
+ outline: 0;
355
+ box-shadow: none;
356
+ -webkit-appearance: textfield
357
+ }
358
+
359
+ .select2-container--default .select2-results>.select2-results__options {
360
+ max-height: 200px;
361
+ overflow-y: auto
362
+ }
363
+
364
+ .select2-container--default .select2-results__option[role=group] {
365
+ padding: 0
366
+ }
367
+
368
+ .select2-container--default .select2-results__option[aria-disabled=true] {
369
+ color: #999
370
+ }
371
+
372
+ .select2-container--default .select2-results__option[aria-selected=true],
373
+ .select2-container--default .select2-results__option[data-selected=true] {
374
+ background-color: #ddd
375
+ }
376
+
377
+ .select2-container--default .select2-results__option .select2-results__option {
378
+ padding-left: 1em
379
+ }
380
+
381
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
382
+ padding-left: 0
383
+ }
384
+
385
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
386
+ margin-left: -1em;
387
+ padding-left: 2em
388
+ }
389
+
390
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
391
+ margin-left: -2em;
392
+ padding-left: 3em
393
+ }
394
+
395
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
396
+ margin-left: -3em;
397
+ padding-left: 4em
398
+ }
399
+
400
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
401
+ margin-left: -4em;
402
+ padding-left: 5em
403
+ }
404
+
405
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
406
+ margin-left: -5em;
407
+ padding-left: 6em
408
+ }
409
+
410
+ .select2-container--default .select2-results__option--highlighted[aria-selected],
411
+ .select2-container--default .select2-results__option--highlighted[data-selected] {
412
+ background-color: #0073aa;
413
+ color: #fff
414
+ }
assets/backend/css/qlwapp-select2.min.css ADDED
@@ -0,0 +1,2 @@
1
+
2
+ .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;z-index:9999}.modal-open .select2-container--open{z-index:160010}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{color:#444;line-height:30px;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:2px 4px 2px 0;line-height:24px}.select2-container--default .select2-selection .select2-selection__rendered li.select2-search{margin:0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}
assets/{img → backend/img}/box1.png RENAMED
File without changes
assets/{img → backend/img}/box2.png RENAMED
File without changes
assets/{img → backend/img}/icon.png RENAMED
File without changes
assets/{img → backend/img}/logo.jpg RENAMED
File without changes
assets/{img → backend/img}/quadlayers.jpg RENAMED
File without changes
assets/{js → backend/js}/qlwapp-admin-contact.js RENAMED
@@ -3,6 +3,23 @@
3
var count = 0,
4
timer;
5
6
_.mixin({
7
escapeHtml: function (attribute) {
8
return attribute.replace('&', /&/g)
@@ -10,14 +27,115 @@
10
.replace(/&lt;/g, "<")
11
.replace(/&quot;/g, '"')
12
.replace(/&#039;/g, "'");
13
- }
14
});
15
-
16
var Contact = Backbone.Model.extend({
17
defaults: qlwapp_contact.args
18
});
19
20
var ContactView = Backbone.View.extend({
21
events: {
22
'change input': 'enable',
23
'change textarea': 'enable',
@@ -27,41 +145,71 @@
27
'click .media-modal-prev': 'edit',
28
'click .media-modal-next': 'edit',
29
'change .media-modal-change': 'change',
30
'submit .media-modal-form': 'submit'
31
},
32
templates: {},
33
initialize: function () {
34
- _.bindAll(this, 'open', 'edit', 'change', 'load', 'render', 'close', 'submit');
35
this.init();
36
this.open();
37
-
38
},
39
init: function () {
40
this.templates.window = wp.template('qlwapp-modal-window');
41
},
42
render: function () {
43
44
var modal = this;
45
-
46
// get active tab from the previous modal
47
var tab = this.$el.find('ul.wc-tabs li.active a').attr('href');
48
-
49
modal.$el.html(modal.templates.window(modal.model.attributes));
50
51
_.delay(function () {
52
- // modal.$el.trigger('wooccm-enhanced-options');
53
- // modal.$el.trigger('wooccm-enhanced-select');
54
- // modal.$el.trigger('wooccm-tab-panels', tab);
55
- // modal.$el.trigger('init_tooltips');
56
}, 100);
57
-
58
},
59
load: function () {
60
var modal = this;
61
- if (modal.model.attributes.id == undefined) {
62
- modal.render();
63
- return;
64
- }
65
$.ajax({
66
url: ajaxurl,
67
data: {
@@ -72,16 +220,16 @@
72
dataType: 'json',
73
type: 'POST',
74
beforeSend: function () {
75
-
76
},
77
complete: function () {
78
- //unblock($tr);
79
},
80
error: function () {
81
alert('Error!');
82
},
83
success: function (response) {
84
-
85
if (response.success) {
86
modal.model.set(response.data);
87
modal.render();
@@ -97,6 +245,7 @@
97
$button = $(e.target),
98
contact_count = parseInt($('#qlwapp_contacts_table tr[data-contact_id]').length),
99
order = parseInt(modal.model.get('order'));
100
count++;
101
if (timer) {
102
clearTimeout(timer);
@@ -109,39 +258,44 @@
109
} else {
110
order = Math.max(order - count, 1);
111
}
112
-
113
modal.model.set({
114
- id: parseInt($('#qlwapp_contacts_table tr[data-contact_order=' + order + ']').data('contact_id'))
115
});
116
count = 0;
117
modal.load();
118
}, 300);
119
},
120
open: function (e) {
121
- this.load();
122
$('body').addClass('modal-open').append(this.$el);
123
},
124
update: function (e) {
125
126
e.preventDefault();
127
-
128
var $field = $(e.target),
129
name = $field.attr('name'),
130
value = $field.val();
131
-
132
if (e.target.type === 'checkbox') {
133
value = $field.prop('checked') === true ? 1 : 0;
134
}
135
136
this.model.attributes[name] = value;
137
this.model.changed[name] = value;
138
-
139
},
140
change: function (e) {
141
e.preventDefault();
142
this.update(e);
143
- this.render();
144
-
145
},
146
reload: function (e) {
147
if (this.$el.find('#qlwapp_modal').hasClass('reload')) {
@@ -155,7 +309,9 @@
155
e.preventDefault();
156
this.undelegateEvents();
157
$(document).off('focusin');
158
- $('body').removeClass('modal-open');
159
this.reload(e);
160
return;
161
},
@@ -189,14 +345,15 @@
189
alert('Error!');
190
},
191
success: function (response) {
192
if (response.success) {
193
194
- $modal.addClass('reload');
195
-
196
if (modal.model.attributes.id == undefined) {
197
modal.close(e);
198
}
199
-
200
} else {
201
alert(response.data);
202
}
@@ -215,17 +372,25 @@
215
});
216
new ContactView({
217
model: model
218
- });
219
- },
220
});
221
$('.qlwapp_settings_edit').on('click', function (e) {
222
e.preventDefault();
223
- new ContactModal(e);
224
});
225
$('#qlwapp_contact_add').on('click', function (e) {
226
e.preventDefault();
227
new ContactModal(e);
228
});
229
$('.qlwapp_settings_delete').on('click', function (e) {
230
e.preventDefault();
231
var nonce = $('#qlwapp_delete_contact_nonce').val();
@@ -257,7 +422,7 @@
257
success: function (response) {
258
259
if (response.data) {
260
- console.log(response.data);
261
location.reload();
262
} else {
263
alert(response.data);
@@ -266,7 +431,6 @@
266
});
267
}
268
});
269
-
270
// Sorting
271
// ---------------------------------------------------------------------------
272
$('table#qlwapp_contacts_table tbody').sortable({
@@ -361,6 +525,7 @@
361
/// alert(response);
362
},
363
success: function (response) {
364
$saved.addClass('is-active');
365
$('#qlwapp_contact_order').prop('disabled', true);
366
if (response.success) {
@@ -376,4 +541,24 @@
376
});
377
return false;
378
});
379
})(jQuery);
3
var count = 0,
4
timer;
5
6
+ var is_blocked = function ($node) {
7
+ return $node.is('.processing') || $node.parents('.processing').length;
8
+ };
9
+
10
+ //fix
11
+ var block = function () {
12
+ //var $node = $('#qlwapp_modal');
13
+ // if (!is_blocked($node)) {
14
+ $('#qlwapp_modal').addClass('processing');
15
+ // }
16
+ };
17
+
18
+ var unblock = function () {
19
+ $('#qlwapp_modal').removeClass('processing');
20
+ };
21
+
22
+
23
_.mixin({
24
escapeHtml: function (attribute) {
25
return attribute.replace('&amp;', /&/g)
27
.replace(/&lt;/g, "<")
28
.replace(/&quot;/g, '"')
29
.replace(/&#039;/g, "'");
30
+ },
31
});
32
var Contact = Backbone.Model.extend({
33
defaults: qlwapp_contact.args
34
});
35
36
+ var SubHeader = Backbone.View.extend({
37
+ templates: {},
38
+ initialize: function (options) {
39
+ this.templates.window = wp.template(options.subview);
40
+ },
41
+ render: function () {
42
+ var modal = this;
43
+ modal.$el.html(modal.templates.window(modal.attributes));
44
+ return this;
45
+ }
46
+ });
47
+
48
+ var SubFooter = Backbone.View.extend({
49
+ templates: {},
50
+ initialize: function (options) {
51
+ this.templates.window = wp.template(options.subview);
52
+ },
53
+ render: function () {
54
+ var modal = this;
55
+ modal.$el.html(modal.templates.window(modal.attributes));
56
+ return this;
57
+ }
58
+ });
59
+
60
+ var SubTabs = Backbone.View.extend({
61
+ templates: {},
62
+ initialize: function (options) {
63
+ this.templates.window = wp.template(options.subview);
64
+ },
65
+ render: function () {
66
+ var modal = this;
67
+ modal.$el.html(modal.templates.window(modal.attributes));
68
+ return this;
69
+ }
70
+ });
71
+
72
+ var SubContact = Backbone.View.extend({
73
+ templates: {},
74
+ initialize: function (options) {
75
+ this.templates.window = wp.template(options.subview);
76
+ },
77
+ render: function () {
78
+ var modal = this;
79
+ modal.$el.html(modal.templates.window(modal.attributes));
80
+ return this;
81
+ }
82
+ });
83
+
84
+ var SubViewChat = Backbone.View.extend({
85
+
86
+ templates: {},
87
+ initialize: function (options) {
88
+ this.templates.window = wp.template(options.subview);
89
+ },
90
+ render: function () {
91
+ var modal = this;
92
+ modal.$el.html(modal.templates.window(modal.attributes));
93
+ return this;
94
+ }
95
+ });
96
+
97
+ var SubVisibility = Backbone.View.extend({
98
+ templates: {},
99
+ initialize: function (options) {
100
+ this.templates.window = wp.template(options.subview);
101
+ },
102
+ render: function () {
103
+ var modal = this;
104
+ modal.$el.html(modal.templates.window(modal.attributes));
105
+ return this;
106
+ }
107
+ });
108
+ var SubInfo = Backbone.View.extend({
109
+ templates: {},
110
+ initialize: function (options) {
111
+ this.templates.window = wp.template(options.subview);
112
+ },
113
+ render: function () {
114
+ var modal = this;
115
+ modal.$el.html(modal.templates.window(modal.attributes));
116
+ return this;
117
+ }
118
+
119
+ });
120
+
121
+ var LoadTemplate = Backbone.View.extend({
122
+ templates: {},
123
+ initialize: function (options) {
124
+ // this.model.attributes = options.attributes;
125
+ // console.log(options);
126
+ this.templates.window = wp.template(options.subview);
127
+ // return this.init();
128
+ },
129
+ render: function () {
130
+ var modal = this;
131
+ modal.$el.html(modal.templates.window(modal.attributes));
132
+ return this;
133
+ }
134
+ });
135
+
136
+
137
var ContactView = Backbone.View.extend({
138
+
139
events: {
140
'change input': 'enable',
141
'change textarea': 'enable',
145
'click .media-modal-prev': 'edit',
146
'click .media-modal-next': 'edit',
147
'change .media-modal-change': 'change',
148
+ 'change .media-modal-subview': 'subview',
149
'submit .media-modal-form': 'submit'
150
},
151
templates: {},
152
initialize: function () {
153
+ _.bindAll(this, 'open', 'edit', 'change', 'subview', 'load', 'render', 'close', 'submit');
154
this.init();
155
this.open();
156
},
157
init: function () {
158
this.templates.window = wp.template('qlwapp-modal-window');
159
},
160
+ LoadTemplate1: function (options) {
161
+ var x = Backbone.View.extend({
162
+ templates: {},
163
+ initialize: function (options) {
164
+ // this.model.attributes = options.attributes;
165
+ this.templates.window = wp.template(options.subview);
166
+ // return this.init();
167
+ },
168
+ render: function () {
169
+ var modal = this;
170
+ modal.$el.html(modal.templates.window(modal.attributes));
171
+ return this;
172
+ }
173
+ });
174
+ return x;
175
+ },
176
+ assign: function (view, selector) {
177
+ view.setElement(this.$(selector)).render();
178
+ },
179
render: function () {
180
181
var modal = this;
182
// get active tab from the previous modal
183
var tab = this.$el.find('ul.wc-tabs li.active a').attr('href');
184
modal.$el.html(modal.templates.window(modal.model.attributes));
185
186
+ this.header = new SubHeader({subview: "subview-header", attributes: modal.model.attributes});
187
+ this.footer = new SubFooter({subview: "subview-footer", attributes: modal.model.attributes});
188
+ this.tabs = new SubTabs({subview: "subview-tabs", attributes: modal.model.attributes});
189
+ this.contact = new SubContact({subview: "subview-contact", attributes: modal.model.attributes});
190
+ this.contact_chat = new SubViewChat({subview: "subview-contact-chat", attributes: modal.model.attributes});
191
+ this.info = new SubInfo({subview: "subview-contact-info", attributes: modal.model.attributes});
192
+ this.visibility = new SubVisibility({subview: "subview-visibility", attributes: modal.model.attributes});
193
+
194
+ this.assign(this.header, '#panel-header');
195
+ this.assign(this.footer, '#panel-footer');
196
+ this.assign(this.tabs, '#panel-tabs');
197
+ this.assign(this.contact, '#panel-contact');
198
+ this.assign(this.contact_chat, '#subpanel-contact-chat');
199
+ this.assign(this.info, '#panel-info');
200
+ this.assign(this.visibility, '#panel-visibility');
201
+
202
_.delay(function () {
203
+ modal.$el.trigger('qlwapp-enhanced-select');
204
+ modal.$el.trigger('qlwapp-tab-panels', tab);
205
+ // modal.$el.trigger('init_tooltips');
206
}, 100);
207
},
208
load: function () {
209
var modal = this;
210
+
211
+ block();
212
+
213
$.ajax({
214
url: ajaxurl,
215
data: {
220
dataType: 'json',
221
type: 'POST',
222
beforeSend: function () {
223
+ // block($modal); fix si se puede
224
},
225
complete: function () {
226
+ unblock();
227
},
228
error: function () {
229
alert('Error!');
230
},
231
success: function (response) {
232
+ // console.log(response.data);
233
if (response.success) {
234
modal.model.set(response.data);
235
modal.render();
245
$button = $(e.target),
246
contact_count = parseInt($('#qlwapp_contacts_table tr[data-contact_id]').length),
247
order = parseInt(modal.model.get('order'));
248
+ //var global
249
count++;
250
if (timer) {
251
clearTimeout(timer);
258
} else {
259
order = Math.max(order - count, 1);
260
}
261
+ // console.log(order);
262
modal.model.set({
263
+ id: parseInt($('#qlwapp_contacts_table tr[data-contact_position=' + order + ']').data('contact_id'))
264
});
265
count = 0;
266
modal.load();
267
}, 300);
268
},
269
open: function (e) {
270
$('body').addClass('modal-open').append(this.$el);
271
+ if (this.model.attributes.id == undefined) {
272
+ _.delay(function () {
273
+ unblock();
274
+ }, 100);
275
+ return;
276
+ }
277
+ this.load();
278
},
279
update: function (e) {
280
281
e.preventDefault();
282
var $field = $(e.target),
283
name = $field.attr('name'),
284
value = $field.val();
285
if (e.target.type === 'checkbox') {
286
value = $field.prop('checked') === true ? 1 : 0;
287
}
288
289
this.model.attributes[name] = value;
290
this.model.changed[name] = value;
291
},
292
change: function (e) {
293
e.preventDefault();
294
this.update(e);
295
+ // this.render();
296
+ },
297
+ subview: function (e) {
298
+ this.contact_chat.render();
299
},
300
reload: function (e) {
301
if (this.$el.find('#qlwapp_modal').hasClass('reload')) {
309
e.preventDefault();
310
this.undelegateEvents();
311
$(document).off('focusin');
312
+ // $('body').removeClass('modal-open');
313
+ // if necesary reload...
314
+ this.$el.find('#qlwapp_modal').addClass('reload');
315
this.reload(e);
316
return;
317
},
345
alert('Error!');
346
},
347
success: function (response) {
348
+ //.log(response);
349
if (response.success) {
350
351
if (modal.model.attributes.id == undefined) {
352
+ $modal.addClass('reload');
353
+ modal.reload(e);
354
modal.close(e);
355
}
356
+
357
} else {
358
alert(response.data);
359
}
372
});
373
new ContactView({
374
model: model
375
+ }).render();
376
+ }
377
});
378
+
379
+ var exist_modal = false;
380
$('.qlwapp_settings_edit').on('click', function (e) {
381
e.preventDefault();
382
+ if (!exist_modal) {
383
+ new ContactModal(e);
384
+ exist_modal = true;
385
+ }
386
});
387
+
388
$('#qlwapp_contact_add').on('click', function (e) {
389
+
390
e.preventDefault();
391
new ContactModal(e);
392
});
393
+
394
$('.qlwapp_settings_delete').on('click', function (e) {
395
e.preventDefault();
396
var nonce = $('#qlwapp_delete_contact_nonce').val();
422
success: function (response) {
423
424
if (response.data) {
425
+ // console.log(response.data);
426
location.reload();
427
} else {
428
alert(response.data);
431
});
432
}
433
});
434
// Sorting
435
// ---------------------------------------------------------------------------
436
$('table#qlwapp_contacts_table tbody').sortable({
525
/// alert(response);
526
},
527
success: function (response) {
528
+ // console.log(response);
529
$saved.addClass('is-active');
530
$('#qlwapp_contact_order').prop('disabled', true);
531
if (response.success) {
541
});
542
return false;
543
});
544
+ $(document).on('qlwapp-tab-panels', function (e, active) {
545
+ var $modal = $(e.target),
546
+ $tabs = $modal.find('ul.qlwapp-tabs'),
547
+ $active = $tabs.find('a[href="' + active + '"]');
548
+ $tabs.show();
549
+ $tabs.find('a').click(function (e) {
550
+ e.preventDefault();
551
+ var panel_wrap = $(this).closest('div.panel-wrap');
552
+ $tabs.find('li', panel_wrap).removeClass('active');
553
+ $(this).parent().addClass('active');
554
+ $('div.panel', panel_wrap).hide();
555
+ $($(this).attr('href')).show();
556
+ });
557
+ if ($active.length && $($active.attr('href')).length) {
558
+ $active.click();
559
+ } else {
560
+ $tabs.find('li.active').find('a').click();
561
+ }
562
+
563
+ });
564
})(jQuery);
assets/backend/js/qlwapp-admin-contact.min.js ADDED
@@ -0,0 +1 @@
1
+ (function(d){var e=0,k;var r=function(s){return s.is(".processing")||s.parents(".processing").length};var i=function(){d("#qlwapp_modal").addClass("processing")};var g=function(){d("#qlwapp_modal").removeClass("processing")};_.mixin({escapeHtml:function(s){return s.replace("&amp;",/&/g).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&#039;/g,"'")},});var f=Backbone.Model.extend({defaults:qlwapp_contact.args});var c=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var a=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var n=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var l=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var p=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var h=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var m=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var q=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var o=Backbone.View.extend({events:{"change input":"enable","change textarea":"enable","change select":"enable","click .media-modal-backdrop":"close","click .media-modal-close":"close","click .media-modal-prev":"edit","click .media-modal-next":"edit","change .media-modal-change":"change","change .media-modal-subview":"subview","submit .media-modal-form":"submit"},templates:{},initialize:function(){_.bindAll(this,"open","edit","change","subview","load","render","close","submit");this.init();this.open()},init:function(){this.templates.window=wp.template("qlwapp-modal-window")},LoadTemplate1:function(t){var s=Backbone.View.extend({templates:{},initialize:function(u){this.templates.window=wp.template(u.subview)},render:function(){var u=this;u.$el.html(u.templates.window(u.attributes));return this}});return s},assign:function(t,s){t.setElement(this.$(s)).render()},render:function(){var t=this;var s=this.$el.find("ul.wc-tabs li.active a").attr("href");t.$el.html(t.templates.window(t.model.attributes));this.header=new c({subview:"subview-header",attributes:t.model.attributes});this.footer=new a({subview:"subview-footer",attributes:t.model.attributes});this.tabs=new n({subview:"subview-tabs",attributes:t.model.attributes});this.contact=new l({subview:"subview-contact",attributes:t.model.attributes});this.contact_chat=new p({subview:"subview-contact-chat",attributes:t.model.attributes});this.info=new m({subview:"subview-contact-info",attributes:t.model.attributes});this.visibility=new h({subview:"subview-visibility",attributes:t.model.attributes});this.assign(this.header,"#panel-header");this.assign(this.footer,"#panel-footer");this.assign(this.tabs,"#panel-tabs");this.assign(this.contact,"#panel-contact");this.assign(this.contact_chat,"#subpanel-contact-chat");this.assign(this.info,"#panel-info");this.assign(this.visibility,"#panel-visibility");_.delay(function(){t.$el.trigger("qlwapp-enhanced-select");t.$el.trigger("qlwapp-tab-panels",s)},100)},load:function(){var s=this;i();d.ajax({url:ajaxurl,data:{action:"qlwapp_edit_contact",nonce:qlwapp_contact.nonce.qlwapp_edit_contact,contact_id:this.model.attributes.id},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){g()},error:function(){alert("Error!")},success:function(t){if(t.success){s.model.set(t.data);s.render()}else{alert(t.data)}}})},edit:function(w){w.preventDefault();var u=this,v=d(w.target),t=parseInt(d("#qlwapp_contacts_table tr[data-contact_id]").length),s=parseInt(u.model.get("order"));e++;if(k){clearTimeout(k)}k=setTimeout(function(){if(v.hasClass("media-modal-next")){s=Math.min(s+e,t)}else{s=Math.max(s-e,1)}u.model.set({id:parseInt(d("#qlwapp_contacts_table tr[data-contact_position="+s+"]").data("contact_id"))});e=0;u.load()},300)},open:function(s){d("body").addClass("modal-open").append(this.$el);if(this.model.attributes.id==undefined){_.delay(function(){g()},100);return}this.load()},update:function(v){v.preventDefault();var t=d(v.target),s=t.attr("name"),u=t.val();if(v.target.type==="checkbox"){u=t.prop("checked")===true?1:0}this.model.attributes[s]=u;this.model.changed[s]=u},change:function(s){s.preventDefault();this.update(s)},subview:function(s){this.contact_chat.render()},reload:function(s){if(this.$el.find("#qlwapp_modal").hasClass("reload")){location.reload();return}this.remove();return},close:function(s){s.preventDefault();this.undelegateEvents();d(document).off("focusin");this.$el.find("#qlwapp_modal").addClass("reload");this.reload(s);return},enable:function(s){d(".media-modal-submit").removeProp("disabled")},submit:function(v){v.preventDefault();var u=this,t=u.$el.find("#qlwapp_modal"),s=t.find(".attachment-details");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact",nonce:qlwapp_contact.nonce.qlwapp_save_contact,contact_id:u.model.attributes.id,contact_data:d("form",this.$el).serialize()},dataType:"json",type:"POST",beforeSend:function(){d(".media-modal-submit").prop("disabled",true);s.addClass("save-waiting")},complete:function(){s.addClass("save-complete");s.removeClass("save-waiting")},error:function(){alert("Error!")},success:function(w){if(w.success){if(u.model.attributes.id==undefined){t.addClass("reload");u.reload(v);u.close(v)}}else{alert(w.data)}}});return false}});var b=Backbone.View.extend({initialize:function(v){var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");var s=new f();s.set({id:t});new o({model:s}).render()}});var j=false;d(".qlwapp_settings_edit").on("click",function(s){s.preventDefault();if(!j){new b(s);j=true}});d("#qlwapp_contact_add").on("click",function(s){s.preventDefault();new b(s)});d(".qlwapp_settings_delete").on("click",function(v){v.preventDefault();var s=d("#qlwapp_delete_contact_nonce").val();var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");if(!confirm(qlwapp_contact.message.contact_confirm_delete)){return false}else{d.ajax({url:ajaxurl,data:{action:"qlwapp_delete_contact",nonce:s,contact_id:t},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){},error:function(w){console.log("response from error ");console.log(w)},success:function(w){if(w.data){location.reload()}else{alert(w.data)}}})}});d("table#qlwapp_contacts_table tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(s,t){t.children().each(function(){d(this).width(d(this).width())});t.css("left","0");return t},start:function(s,t){t.item.css("background-color","#f6f6f6")},stop:function(s,t){t.item.removeAttr("style");t.item.trigger("updateMoveButtons");t.item.trigger("updateSaveButton")}});d(document).on("updateSaveButton",function(){d("#qlwapp_contact_order").removeProp("disabled")});d(".wc-item-reorder-nav").find(".wc-move-up, .wc-move-down").on("click",function(){var x=d(this),s=x.closest("tr");x.focus();var w=x.is(".wc-move-up"),v=x.is(".wc-move-down");if(w){var u=s.prev("tr");if(u&&u.length){u.before(s)}}else{if(v){var t=s.next("tr");if(t&&t.length){t.after(s)}}}x.focus();x.closest("table").trigger("updateMoveButtons");x.closest("table").trigger("updateSaveButton")});d(".wc-item-reorder-nav").closest("table").on("updateMoveButtons",function(){var t=d(this),s=d(this).find("tbody tr:last"),u=d(this).find("tbody tr:first");t.find(".wc-item-reorder-nav .wc-move-disabled").removeClass("wc-move-disabled").attr({tabindex:"0","aria-hidden":"false"});u.find(".wc-item-reorder-nav .wc-move-up").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"});s.find(".wc-item-reorder-nav .wc-move-down").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"})});d("table#qlwapp_contacts_table tbody").trigger("updateMoveButtons");d(document).on("submit","#qlwapp_contacts_form",function(v){v.preventDefault();var s=d(this),u=s.find(".settings-save-status .spinner"),t=s.find(".settings-save-status .saved");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact_order",nonce:qlwapp_contact.nonce.qlwapp_save_contact_order,contact_data:s.serialize()},dataType:"json",type:"POST",beforeSend:function(){u.addClass("is-active")},complete:function(){u.removeClass("is-active")},error:function(w){console.log("response from error ");console.log(w)},success:function(w){t.addClass("is-active");d("#qlwapp_contact_order").prop("disabled",true);if(w.success){setTimeout(function(){t.removeClass("is-active")},1500)}else{console.log(w.data);alert(w.data)}}});return false});d(document).on("qlwapp-tab-panels",function(w,v){var u=d(w.target),t=u.find("ul.qlwapp-tabs"),s=t.find('a[href="'+v+'"]');t.show();t.find("a").click(function(y){y.preventDefault();var x=d(this).closest("div.panel-wrap");t.find("li",x).removeClass("active");d(this).parent().addClass("active");d("div.panel",x).hide();d(d(this).attr("href")).show()});if(s.length&&d(s.attr("href")).length){s.click()}else{t.find("li.active").find("a").click()}})})(jQuery);
assets/{js → backend/js}/qlwapp-admin.js RENAMED
@@ -11,7 +11,7 @@
11
}
12
13
disabled(true);
14
-
15
$('form').change(function (e) {
16
disabled(false);
17
});
@@ -27,53 +27,71 @@
27
change: function (event, ui) {
28
disabled(false);
29
},
30
});
31
32
$(document).on('tinymce_change', function (e) {
33
disabled(false);
34
});
35
36
- $('.qlwapp-select2').select2({allowClear: false, theme: 'default', minimumResultsForSearch: -1});
37
-
38
- $('.qlwapp-select2-ajax').each(function () {
39
-
40
- var $select = $(this),
41
- name = $(this).data('name');
42
- $select.select2({
43
- allowClear: true,
44
- ajax: {
45
- url: ajaxurl,
46
- dataType: 'json',
47
- //delay: 500,
48
- data: function (params) {
49
- return {
50
- name: name,
51
- per_page: 10,
52
- q: params.term || 0,
53
- selected: $select.select2('val') || 0,
54
- action: 'qlwapp_get_posts',
55
- nonce: qlwapp.nonce.qlwapp_get_posts
56
- };
57
- },
58
- processResults: function (response) {
59
-
60
- var options = [];
61
-
62
- if (response) {
63
- $.each(response, function (index, text) {
64
- options.push({id: text[0], text: text[1]});
65
- });
66
- }
67
- return {
68
- results: options
69
- };
70
},
71
- cache: true
72
- },
73
- minimumInputLength: 3
74
});
75
76
- });
77
78
$('.qlwapp-color-field').wpColorPicker();
79
11
}
12
13
disabled(true);
14
+
15
$('form').change(function (e) {
16
disabled(false);
17
});
27
change: function (event, ui) {
28
disabled(false);
29
},
30
+ clear: function (event, ui) {
31
+ disabled(false);
32
+ },
33
});
34
35
$(document).on('tinymce_change', function (e) {
36
disabled(false);
37
});
38
39
+ $(document).on('qlwapp-enhanced-select', function (e) {
40
+ $('.qlwapp-select2').filter(':not(.enhanced)').each(function () {
41
+ var select2_args = {
42
+ allowClear: false,
43
+ theme: 'default',
44
+ minimumResultsForSearch: -1
45
+ };
46
+
47
+ $(this).select2(select2_args).addClass('enhanced');
48
+ });
49
+ $('.qlwapp-select2-search').filter(':not(.enhanced)').each(function () {
50
+ var $select = $(this),
51
+ name = $(this).data('name');
52
+ var select2_args = {
53
+ allowClear: true,
54
+ ajax: {
55
+ url: ajaxurl,
56
+ dataType: 'json',
57
+ //delay: 500,
58
+ data: function (params) {
59
+ return {
60
+ name: name,
61
+ per_page: 10,
62
+ q: params.term || 0,
63
+ selected: $select.select2('val') || 0,
64
+ action: 'qlwapp_get_posts',
65
+ nonce: qlwapp.nonce.qlwapp_get_posts
66
+ };
67
+ },
68
+ processResults: function (response) {
69
+
70
+ var options = [];
71
+
72
+ if (response) {
73
+ $.each(response, function (index, text) {
74
+ options.push({id: text[0], text: text[1]});
75
+ });
76
+ }
77
+ return {
78
+ results: options
79
+ };
80
+ },
81
+ cache: true
82
},
83
+ minimumInputLength: 3
84
+ };
85
+
86
+ $(this).select2(select2_args).addClass('enhanced');
87
+
88
});
89
90
+ // $('.qlwapp-select2').select2({allowClear: false, theme: 'default', minimumResultsForSearch: -1});
91
+
92
+ }).trigger('qlwapp-enhanced-select');
93
+
94
+
95
96
$('.qlwapp-color-field').wpColorPicker();
97
assets/backend/js/qlwapp-admin.min.js ADDED
@@ -0,0 +1,2 @@
1
+
2
+ (function(b){function a(c){if(c){b("#submit").attr("disabled",true)}else{b("#submit").attr("disabled",false)}}a(true);b("form").change(function(c){a(false)});b(".button").click(function(){a(false)});b("button").click(function(){a(false)});b(".qlwapp-color-field").wpColorPicker({change:function(c,d){a(false)},clear:function(c,d){a(false)},});b(document).on("tinymce_change",function(c){a(false)});b(document).on("qlwapp-enhanced-select",function(c){b(".qlwapp-select2").filter(":not(.enhanced)").each(function(){var d={allowClear:false,theme:"default",minimumResultsForSearch:-1};b(this).select2(d).addClass("enhanced")});b(".qlwapp-select2-search").filter(":not(.enhanced)").each(function(){var e=b(this),d=b(this).data("name");var f={allowClear:true,ajax:{url:ajaxurl,dataType:"json",data:function(g){return{name:d,per_page:10,q:g.term||0,selected:e.select2("val")||0,action:"qlwapp_get_posts",nonce:qlwapp.nonce.qlwapp_get_posts}},processResults:function(g){var h=[];if(g){b.each(g,function(i,j){h.push({id:j[0],text:j[1]})})}return{results:h}},cache:true},minimumInputLength:3};b(this).select2(f).addClass("enhanced")})}).trigger("qlwapp-enhanced-select");b(".qlwapp-color-field").wpColorPicker();b(document).on("click",".upload_image_button",function(f){f.preventDefault();var c=wp.media.editor.send.attachment,d=b(this);wp.media.editor.send.attachment=function(e,g){b(d).parent().prev().attr("src",g.url);b(d).prev().val(g.url).trigger("change");wp.media.editor.send.attachment=c};wp.media.editor.open(d);return false});b(document).on("click",".remove_image_button",function(c){c.preventDefault();var d=b(this).parent().prev().attr("data-src");b(this).parent().prev().attr("src",d);b(this).prev().prev().val("").trigger("change");return false});b(document).on("qlwapp.save","form",function(i,h,f){var c=b(i.currentTarget),g=c.find(".settings-save-status .spinner"),d=c.find(".settings-save-status .saved");b.ajax({url:ajaxurl,data:{action:h,nonce:f,form_data:c.serialize()},dataType:"json",type:"POST",beforeSend:function(){a(true);g.addClass("is-active")},complete:function(){g.removeClass("is-active")},error:function(e){console.log(e)},success:function(e){d.addClass("is-active");if(e.success){setTimeout(function(){d.removeClass("is-active")},2000);console.log(e.data)}else{alert(e.data)}}});return false});b(document).on("submit","#qlwapp_button_form",function(f){f.preventDefault();var c=b(this),d=c.find("#qlwapp_button_form_nonce").val();c.trigger("qlwapp.save",["qlwapp_save_button",d])});b(document).on("submit","#qlwapp_box_form",function(f){f.preventDefault();var c=b(this),d=c.find("#qlwapp_box_form_nonce").val();c.trigger("qlwapp.save",["qlwapp_save_box",d])});b(document).on("submit","#qlwapp_display_form",function(f){f.preventDefault();var c=b(this),d=c.find("#qlwapp_display_form_nonce").val();c.trigger("qlwapp.save",["qlwapp_save_display",d])});b(document).on("submit","#qlwapp_scheme_form",function(f){f.preventDefault();var c=b(this),d=c.find("#qlwapp_scheme_form_nonce").val();c.trigger("qlwapp.save",["qlwapp_save_scheme",d])})})(jQuery);
assets/{js → backend/js}/select2.min.js RENAMED
File without changes
assets/css/qlwapp-admin.css DELETED
@@ -1,143 +0,0 @@
1
- /* re-order td */
2
- #qlwapp_contacts_table td,
3
- #qlwapp_contacts_table th {
4
- padding: 1em!important;
5
- vertical-align: top;
6
- line-height: 1.75em;
7
- }
8
- #qlwapp_contacts_table td img.qlwapp-avatar {
9
- width: 50px;
10
- height: 50px;
11
- }
12
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button {
13
- position: relative;
14
- overflow: hidden;
15
- float: left;
16
- display: block;
17
- width: 24px;
18
- height: 24px;
19
- margin: 0;
20
- background: 0 0;
21
- border: none;
22
- box-shadow: none;
23
- color: #82878c;
24
- text-indent: -9999px;
25
- cursor: pointer;
26
- outline: 0;
27
- }
28
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button::before {
29
- display: inline-block;
30
- position: absolute;
31
- top: 0;
32
- right: 0;
33
- width: 100%;
34
- height: 100%;
35
- font: normal 20px/23px dashicons;
36
- text-align: center;
37
- text-indent: 0;
38
- -webkit-font-smoothing: antialiased;
39
- -moz-osx-font-smoothing: grayscale;
40
- }
41
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-up::before {
42
- content: "\f343";
43
- }
44
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-down::before {
45
- content: "\f347";
46
- }
47
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-disabled {
48
- color: #d5d5d5!important;
49
- cursor: default;
50
- pointer-events: none;
51
- }
52
- #qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav::before {
53
- content: "\f333";
54
- font-family: Dashicons;
55
- text-align: center;
56
- line-height: 1;
57
- color: #999;
58
- display: block;
59
- width: 24px;
60
- float: left;
61
- height: 100%;
62
- line-height: 24px;
63
- cursor: move;
64
- }
65
- /*end re-order*/
66
- #qlwapp_modal {
67
- max-width: 890px;
68
- max-height: 560px;
69
- margin: auto;
70
- }
71
- #qlwapp_modal .edit-attachment-frame .attachment-media-view {
72
- width: 75% ;
73
- }
74
- #qlwapp_modal .edit-attachment-frame .attachment-info {
75
- width: 25%;
76
- }
77
- #qlwapp_modal input[type=time] {
78
- height: 30px;
79
- }
80
- #qlwapp_modal.qlwapp-modal-contact table {
81
- width: 100%;
82
- padding: 15px;
83
- border-width: 1px 0 0 0;
84
- box-shadow: none;
85
- table-layout: fixed;
86
- }
87
- #qlwapp_modal.qlwapp-modal-contact table th {
88
- width: 70px;
89
- }
90
- #qlwapp_modal.qlwapp-modal-contact table td {
91
- width: calc(50% - 70px);
92
- }
93
- #qlwapp_modal.qlwapp-modal-icons .attachments {
94
- top: 0;
95
- left: 0;
96
- right: 0;
97
- }
98
- #qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail {
99
- vertical-align: middle;
100
- text-align: center;
101
- }
102
- #qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail > i {
103
- text-align: center;
104
- font-size: 3vw;
105
- display: inline-block;
106
- vertical-align: middle;
107
- height: auto;
108
- width: auto;
109
- font-size: 2em;
110
- position: relative;
111
- left: -1px;
112
- }
113
- #qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail:before {
114
- content: '';
115
- display: inline-block;
116
- width: 0px;
117
- height: 100%;
118
- vertical-align: middle;
119
- }
120
- .settings-save-status .spinner {
121
- float: none;
122
- display: inline-block;
123
- margin: 0 10px;
124
- }
125
- .settings-save-status .saved {
126
- font-size: 12px;
127
- display: none;
128
- }
129
- .settings-save-status .saved.is-active {
130
- display: inline-block;
131
- }
132
- .qlwapp-input,
133
- .qlwapp-select2 {
134
- width: 350px;
135
- max-width: 100%;
136
- }
137
- .qlwapp-input {
138
- margin: 0;
139
- padding: 6px;
140
- box-sizing: border-box;
141
- vertical-align: top;
142
- }
143
- /*# sourceMappingURL=qlwapp-admin.css.map */
assets/css/qlwapp-admin.css.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../less/qlwapp-admin.less"],"names":[],"mappings":";AAEA,sBACE;AADF,sBAEE;EACE,sBAAA;EACA,mBAAA;EACA,mBAAA;;AALJ,sBAQE,GAAG,IAAG;EACJ,WAAA;EACA,YAAA;;AAIA,sBADF,MACG,YACC,qBACE;EACE,kBAAA;EACA,gBAAA;EACA,WAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;EACA,eAAA;EACA,YAAA;EACA,gBAAA;EACA,cAAA;EACA,oBAAA;EACA,eAAA;EACA,UAAA;;AACA,sBAlBR,MACG,YACC,qBACE,OAeG;EACC,qBAAA;EACA,kBAAA;EACA,MAAA;EACA,QAAA;EACA,WAAA;EACA,YAAA;EACA,gCAAA;EACA,kBAAA;EACA,cAAA;EACA,mCAAA;EACA,kCAAA;;AAEF,sBA/BR,MACG,YACC,qBACE,OA4BG,WAAW;EACV,SAAS,OAAT;;AAEF,sBAlCR,MACG,YACC,qBACE,OA+BG,aAAa;EACZ,SAAS,OAAT;;AAEF,sBArCR,MACG,YACC,qBACE,OAkCG;EACC,wBAAA;EACA,eAAA;EACA,oBAAA;;AAGJ,sBA3CN,MACG,YACC,qBAyCG;EACC,SAAS,OAAT;EACA,sBAAA;EACA,kBAAA;EACA,cAAA;EACA,WAAA;EACA,cAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,YAAA;;;AAYV;EAEE,gBAAA;EACA,iBAAA;EACA,YAAA;;AAJF,aAME,uBAAuB;EACrB,WAAA;;AAPJ,aASE,uBAAuB;EACrB,UAAA;;AAVJ,aAaE,MAAK;EACH,YAAA;;AAGF,aAAC,qBAEC;EACE,WAAA;EACA,aAAA;EACA,uBAAA;EACA,gBAAA;EACA,mBAAA;;AAPJ,aAAC,qBAEC,MAOE;EACE,WAAA;;AAVN,aAAC,qBAEC,MAWE;EACE,uBAAA;;AAKN,aAAC,mBAEC;EACE,MAAA;EACA,OAAA;EACA,QAAA;;AALJ,aAAC,mBAEC,aAKE;EACE,sBAAA;EACA,kBAAA;;AATN,aAAC,mBAEC,aAKE,WAIE;EACE,kBAAA;EACA,cAAA;EACA,qBAAA;EACA,sBAAA;EACA,YAAA;EACA,WAAA;EACA,cAAA;EACA,kBAAA;EACA,UAAA;;AAGF,aAvBL,mBAEC,aAKE,WAgBG;EACC,SAAS,EAAT;EACA,qBAAA;EACA,UAAA;EACA,YAAA;EACA,sBAAA;;AAQV,qBAEE;EACE,WAAA;EACA,qBAAA;EACA,cAAA;;AALJ,qBAQE;EACE,eAAA;EACA,aAAA;;AACA,qBAHF,OAGG;EACC,qBAAA;;AAKN;AACA;EACE,YAAA;EACA,eAAA;;AAGF;EACE,SAAA;EACA,YAAA;EACA,sBAAA;EACA,mBAAA","file":"qlwapp-admin.css"}
assets/css/qlwapp-admin.min.css DELETED
@@ -1,2 +0,0 @@
1
-
2
- #qlwapp_contacts_table td,#qlwapp_contacts_table th{padding:1em!important;vertical-align:top;line-height:1.75em}#qlwapp_contacts_table td img.qlwapp-avatar{width:50px;height:50px}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button{position:relative;overflow:hidden;float:left;display:block;width:24px;height:24px;margin:0;background:0;border:0;box-shadow:none;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button::before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:normal 20px/23px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-up::before{content:"\f343"}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-down::before{content:"\f347"}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav button.wc-move-disabled{color:#d5d5d5!important;cursor:default;pointer-events:none}#qlwapp_contacts_table tbody.ui-sortable .wc-item-reorder-nav::before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:24px;float:left;height:100%;line-height:24px;cursor:move}#qlwapp_modal{max-width:890px;max-height:560px;margin:auto}#qlwapp_modal .edit-attachment-frame .attachment-media-view{width:75%}#qlwapp_modal .edit-attachment-frame .attachment-info{width:25%}#qlwapp_modal input[type=time]{height:30px}#qlwapp_modal.qlwapp-modal-contact table{width:100%;padding:15px;border-width:1px 0 0 0;box-shadow:none;table-layout:fixed}#qlwapp_modal.qlwapp-modal-contact table th{width:70px}#qlwapp_modal.qlwapp-modal-contact table td{width:calc(50% - 70px)}#qlwapp_modal.qlwapp-modal-icons .attachments{top:0;left:0;right:0}#qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail{vertical-align:middle;text-align:center}#qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail>i{text-align:center;font-size:3vw;display:inline-block;vertical-align:middle;height:auto;width:auto;font-size:2em;position:relative;left:-1px}#qlwapp_modal.qlwapp-modal-icons .attachments .thumbnail:before{content:'';display:inline-block;width:0;height:100%;vertical-align:middle}.settings-save-status .spinner{float:none;display:inline-block;margin:0 10px}.settings-save-status .saved{font-size:12px;display:none}.settings-save-status .saved.is-active{display:inline-block}.qlwapp-input,.qlwapp-select2{width:350px;max-width:100%}.qlwapp-input{margin:0;padding:6px;box-sizing:border-box;vertical-align:top}
assets/css/qlwapp-select2.css DELETED
@@ -1,409 +0,0 @@
1
- .select2-container {
2
- box-sizing: border-box;
3
- display: inline-block;
4
- margin: 0;
5
- position: relative;
6
- vertical-align: middle
7
- }
8
-
9
- .select2-container .select2-selection--single {
10
- box-sizing: border-box;
11
- cursor: pointer;
12
- display: block;
13
- height: 28px;
14
- margin: 0 0 -4px;
15
- -moz-user-select: none;
16
- -ms-user-select: none;
17
- user-select: none;
18
- -webkit-user-select: none
19
- }
20
-
21
- .select2-container .select2-selection--single .select2-selection__rendered {
22
- display: block;
23
- padding-left: 8px;
24
- padding-right: 20px;
25
- overflow: hidden;
26
- text-overflow: ellipsis;
27
- white-space: nowrap
28
- }
29
-
30
- .select2-container .select2-selection--single .select2-selection__clear {
31
- position: relative
32
- }
33
-
34
- .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
35
- padding-right: 8px;
36
- padding-left: 20px
37
- }
38
-
39
- .select2-container .select2-selection {
40
- box-sizing: border-box;
41
- cursor: pointer;
42
- display: block;
43
- min-height: 32px;
44
- -moz-user-select: none;
45
- -ms-user-select: none;
46
- user-select: none;
47
- -webkit-user-select: none
48
- }
49
-
50
- .select2-container .select2-selection .select2-selection__rendered {
51
- display: inline-block;
52
- overflow: hidden;
53
- padding-left: 8px;
54
- text-overflow: ellipsis;
55
- white-space: nowrap
56
- }
57
-
58
- .select2-container .select2-search--inline {
59
- float: left;
60
- padding: 0
61
- }
62
-
63
- .select2-container .select2-search--inline .select2-search__field {
64
- box-sizing: border-box;
65
- border: none;
66
- font-size: 100%;
67
- margin: 0;
68
- padding: 0
69
- }
70
-
71
- .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
72
- -webkit-appearance: none
73
- }
74
-
75
- .select2-dropdown {
76
- background-color: #fff;
77
- border: 1px solid #ccc;
78
- border-radius: 2px;
79
- box-sizing: border-box;
80
- display: block;
81
- position: absolute;
82
- left: -100000px;
83
- width: 100%;
84
- z-index: 1051
85
- }
86
-
87
- .select2-results {
88
- display: block
89
- }
90
-
91
- .select2-results__options {
92
- list-style: none;
93
- margin: 0;
94
- padding: 0
95
- }
96
-
97
- .select2-results__option {
98
- margin: 0;
99
- padding: 8px;
100
- -moz-user-select: none;
101
- -ms-user-select: none;
102
- user-select: none;
103
- -webkit-user-select: none
104
- }
105
-
106
- .select2-results__option[aria-selected],
107
- .select2-results__option[data-selected] {
108
- cursor: pointer
109
- }
110
-
111
- .select2-container--open .select2-dropdown {
112
- left: 0
113
- }
114
-
115
- .select2-container--open .select2-dropdown--above {
116
- border-bottom: none;
117
- border-bottom-left-radius: 0;
118
- border-bottom-right-radius: 0
119
- }
120
-
121
- .select2-container--open .select2-dropdown--below {
122
- border-top: none;
123
- border-top-left-radius: 0;
124
- border-top-right-radius: 0
125
- }
126
-
127
- .select2-search--dropdown {
128
- display: block;
129
- padding: 4px
130
- }
131
-
132
- .select2-search--dropdown .select2-search__field {
133
- padding: 4px;
134
- width: 100%;
135
- box-sizing: border-box
136
- }
137
-
138
- .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
139
- -webkit-appearance: none
140
- }
141
-
142
- .select2-search--dropdown.select2-search--hide {
143
- display: none
144
- }
145
-
146
- .select2-close-mask {
147
- border: 0;
148
- margin: 0;
149
- padding: 0;
150
- display: block;
151
- position: fixed;
152
- left: 0;
153
- top: 0;
154
- min-height: 100%;
155
- min-width: 100%;
156
- height: auto;
157
- width: auto;
158
- opacity: 0;
159
- z-index: 99;
160
- background-color: #fff
161
- }
162
-
163
- .select2-hidden-accessible {
164
- border: 0!important;
165
- clip: rect(0 0 0 0)!important;
166
- height: 1px!important;
167
- margin: -1px!important;
168
- overflow: hidden!important;
169
- padding: 0!important;
170
- position: absolute!important;
171
- width: 1px!important
172
- }
173
-
174
- .select2-container--default .select2-selection--single {
175
- background-color: #fff;
176
- border: 1px solid #ccc;
177
- border-radius: 4px
178
- }
179
-
180
- .select2-container--default .select2-selection--single .select2-selection__rendered {
181
- color: #444;
182
- line-height: 28px
183
- }
184
-
185
- .select2-container--default .select2-selection--single .select2-selection__clear {
186
- cursor: pointer;
187
- float: right;
188
- font-weight: 700
189
- }
190
-
191
- .select2-container--default .select2-selection--single .select2-selection__placeholder {
192
- color: #999
193
- }
194
-
195
- .select2-container--default .select2-selection--single .select2-selection__arrow {
196
- height: 32px;
197
- position: absolute;
198
- top: 0px;
199
- right: 1px;
200
- width: 20px
201
- }
202
-
203
- .select2-container--default .select2-selection--single .select2-selection__arrow b {
204
- border-color: #888 transparent transparent transparent;
205
- border-style: solid;
206
- border-width: 5px 4px 0 4px;
207
- height: 0;
208
- left: 50%;
209
- margin-left: -4px;
210
- margin-top: -2px;
211
- position: absolute;
212
- top: 50%;
213
- width: 0
214
- }
215
-
216
- .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
217
- float: left
218
- }
219
-
220
- .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
221
- left: 1px;
222
- right: auto
223
- }
224
-
225
- .select2-container--default.select2-container--disabled .select2-selection--single {
226
- background-color: #eee;
227
- cursor: default
228
- }
229
-
230
- .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
231
- display: none
232
- }
233
-
234
- .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
235
- border-color: transparent transparent #888 transparent;
236
- border-width: 0 4px 5px 4px
237
- }
238
-
239
- .select2-container--default .select2-selection {
240
- background-color: #fff;
241
- border: 1px solid #ccc;
242
- border-radius: 2px;
243
- cursor: text
244
- }
245
-
246
- .select2-container--default .select2-selection .select2-selection__rendered {
247
- box-sizing: border-box;
248
- list-style: none;
249
- margin: 0;
250
- padding: 0 5px;
251
- width: 100%
252
- }
253
-
254
- .select2-container--default .select2-selection .select2-selection__rendered li {
255
- list-style: none;
256
- margin: 5px 5px 0 0
257
- }
258
-
259
- .select2-container--default .select2-selection .select2-selection__rendered li:before {
260
- content: '';
261
- display: none
262
- }
263
-
264
- .select2-container--default .select2-selection .select2-selection__placeholder {
265
- color: #999;
266
- margin-top: 5px;
267
- float: left
268
- }
269
-
270
- .select2-container--default .select2-selection .select2-selection__clear {
271
- cursor: pointer;
272
- float: right;
273
- font-weight: 700;
274
- margin-top: 5px;
275
- margin-right: 10px
276
- }
277
-
278
- .select2-container--default .select2-selection .select2-selection__choice {
279
- background-color: #e4e4e4;
280
- border: 1px solid #ccc;
281
- border-radius: 2px;
282
- cursor: default;
283
- float: left;
284
- margin-right: 5px;
285
- margin-top: 5px;
286
- padding: 0 5px
287
- }
288
-
289
- .select2-container--default .select2-selection .select2-selection__choice__remove {
290
- color: #999;
291
- cursor: pointer;
292
- display: inline-block;
293
- font-weight: 700;
294
- margin-right: 2px
295
- }
296
-
297
- .select2-container--default .select2-selection .select2-selection__choice__remove:hover {
298
- color: #333
299
- }
300
-
301
- .select2-container--default[dir=rtl] .select2-selection .select2-search--inline,
302
- .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,
303
- .select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder {
304
- float: right
305
- }
306
-
307
- .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice {
308
- margin-left: 5px;
309
- margin-right: auto
310
- }
311
-
312
- .select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove {
313
- margin-left: 2px;
314
- margin-right: auto
315
- }
316
-
317
- .select2-container--default.select2-container--focus .select2-selection {
318
- outline: 0
319
- }
320
-
321
- .select2-container--default.select2-container--disabled .select2-selection {
322
- background-color: #eee;
323
- cursor: default
324
- }
325
-
326
- .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
327
- display: none
328
- }
329
-
330
- .select2-container--default.select2-container--open.select2-container--above .select2-selection,
331
- .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
332
- border-top-left-radius: 0;
333
- border-top-right-radius: 0
334
- }
335
-
336
- .select2-container--default.select2-container--open.select2-container--below .select2-selection,
337
- .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
338
- border-bottom-left-radius: 0;
339
- border-bottom-right-radius: 0
340
- }
341
-
342
- .select2-container--default .select2-search--dropdown .select2-search__field {
343
- border: 1px solid #ccc
344
- }
345
-
346
- .select2-container--default .select2-search--inline .select2-search__field {
347
- background: 0 0;
348
- border: none;
349
- outline: 0;
350
- box-shadow: none;
351
- -webkit-appearance: textfield
352
- }
353
-
354
- .select2-container--default .select2-results>.select2-results__options {
355
- max-height: 200px;
356
- overflow-y: auto
357
- }
358
-
359
- .select2-container--default .select2-results__option[role=group] {
360
- padding: 0
361
- }
362
-
363
- .select2-container--default .select2-results__option[aria-disabled=true] {
364
- color: #999
365
- }
366
-
367
- .select2-container--default .select2-results__option[aria-selected=true],
368
- .select2-container--default .select2-results__option[data-selected=true] {
369
- background-color: #ddd
370
- }
371
-
372
- .select2-container--default .select2-results__option .select2-results__option {
373
- padding-left: 1em
374
- }
375
-
376
- .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
377
- padding-left: 0
378
- }
379
-
380
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
381
- margin-left: -1em;
382
- padding-left: 2em
383
- }
384
-
385
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
386
- margin-left: -2em;
387
- padding-left: 3em
388
- }
389
-
390
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
391
- margin-left: -3em;
392
- padding-left: 4em
393
- }
394
-
395
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
396
- margin-left: -4em;
397
- padding-left: 5em
398
- }
399
-
400
- .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
401
- margin-left: -5em;
402
- padding-left: 6em
403
- }
404
-
405
- .select2-container--default .select2-results__option--highlighted[aria-selected],
406
- .select2-container--default .select2-results__option--highlighted[data-selected] {
407
- background-color: #0073aa;
408
- color: #fff
409
- }
assets/css/qlwapp-select2.min.css DELETED
@@ -1,2 +0,0 @@
1
-
2
- .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:5px 5px 0 0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}
assets/css/qlwapp.min.css DELETED
@@ -1,2 +0,0 @@
1
-
2
- @font-face{font-family:'qlwapp-whatsapp';src:url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAYEAAsAAAAABbgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFKmNtYXAAAAFoAAAAVAAAAFQXVtKHZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAfwAAAH8pb7IGGhlYWQAAAPAAAAANgAAADYUXm9HaGhlYQAAA/gAAAAkAAAAJAfAA8ZobXR4AAAEHAAAABQAAAAUCgAAA2xvY2EAAAQwAAAADAAAAAwAKAESbWF4cAAABDwAAAAgAAAAIAAJAJluYW1lAAAEXAAAAYYAAAGGmUoJ+3Bvc3QAAAXkAAAAIAAAACAAAwAAAAMDAAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QADwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkA//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAA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AQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:normal;font-style:normal}.qlwapp-whatsapp-icon{font-family:'qlwapp-whatsapp'!important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.qlwapp-whatsapp-icon:before{content:"\e900"}#qlwapp{pointer-events:none;box-sizing:border-box}@media(min-width:430px){#qlwapp{width:430px}}#qlwapp *{box-sizing:border-box}#qlwapp.qlwapp-js-ready{display:block}#qlwapp.qlwapp-hide,#qlwapp.qlwapp-desktop.mobile,#qlwapp.qlwapp-mobile.desktop{display:none}#qlwapp .qlwapp-readonly,#qlwapp.qlwapp-readonly{pointer-events:none!important;opacity:.5!important}#qlwapp .qlwapp-disabled,#qlwapp.qlwapp-disabled{display:none;visibility:hidden}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{position:fixed;z-index:9999999}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-bottom-left{right:auto;left:0}#qlwapp.qlwapp-middle-left .qlwapp-toggle .qlwapp-time,#qlwapp.qlwapp-bottom-left .qlwapp-toggle .qlwapp-time{left:0;right:auto}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-left.qlwapp-button .qlwapp-toggle{margin-left:20px}#qlwapp.qlwapp-middle-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text,#qlwapp.qlwapp-bottom-left.qlwapp-bubble .qlwapp-toggle .qlwapp-text{right:auto;left:60px}#qlwapp.qlwapp-middle-left .qlwapp-box:before,#qlwapp.qlwapp-bottom-left .qlwapp-box:before{right:auto;left:20px}#qlwapp.qlwapp-middle-right,#qlwapp.qlwapp-bottom-right{left:auto;right:0}#qlwapp.qlwapp-middle-right .qlwapp-toggle .qlwapp-time,#qlwapp.qlwapp-bottom-right .qlwapp-toggle .qlwapp-time{left:auto;right:0}#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-bubble .qlwapp-toggle,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle,#qlwapp.qlwapp-bottom-right.qlwapp-button .qlwapp-toggle{margin-right:20px}#qlwapp.qlwapp-middle-left,#qlwapp.qlwapp-middle-right{top:40%;bottom:auto}#qlwapp.qlwapp-middle-left .qlwapp-developer,#qlwapp.qlwapp-middle-right .qlwapp-developer{padding:0 24px}#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-left.qlwapp-button .qlwapp-toggle{margin-left:-48px;padding-left:60px}#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-developer,#qlwapp.qlwapp-middle-right.qlwapp-button .qlwapp-toggle{margin-right:-48px;padding-right:60px}#qlwapp.qlwapp-bottom-left,#qlwapp.qlwapp-bottom-right{top:auto;bottom:0}#qlwapp.qlwapp-rounded.qlwapp-bubble .qlwapp-toggle{border-radius:50%}#qlwapp.qlwapp-rounded.qlwapp-button .qlwapp-toggle{border-radius:50px}@media(min-width:430px){#qlwapp.qlwapp-rounded .qlwapp-box{border-radius:8px}}#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-user,#qlwapp.qlwapp-rounded .qlwapp-box .qlwapp-message{border-radius:4px}#qlwapp p:last-child{margin:0}#qlwapp time{opacity:.8;font-style:italic;font-size:10px}#qlwapp .qlwapp-container{display:flex;flex-direction:column}#qlwapp .qlwapp-clearfix:before,#qlwapp .qlwapp-clearfix:after{content:'';display:block;clear:both}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close{display:block;opacity:.8;font-style:unset;font-size:24px;font-weight:bold;width:24px;height:24px;cursor:pointer;text-align:center;line-height:24px;z-index:1}#qlwapp .qlwapp-previous{width:16px;height:36px;cursor:pointer;text-align:center;line-height:36px;margin-right:auto}#qlwapp .qlwapp-developer{font-size:8px;top:-20px;position:relative}#qlwapp .qlwapp-developer,#qlwapp .qlwapp-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;margin-right:auto}#qlwapp .qlwapp-toggle{pointer-events:all;cursor:pointer;box-shadow:0 1px 6px 0 rgba(0,0,0,0.06),0 2px 32px 0 rgba(0,0,0,0.16);margin-top:24px;margin-bottom:24px;position:relative;text-decoration:none}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-toggle:active,#qlwapp .qlwapp-toggle:focus,#qlwapp .qlwapp-toggle:hover{outline:0;text-decoration:none}#qlwapp .qlwapp-toggle .qlwapp-time{position:absolute;bottom:-2em;color:initial;font-size:10px;display:inline-block;top:auto;width:120px}#qlwapp .qlwapp-avatar .qlwapp-avatar-container{overflow:hidden;border-radius:50%;width:inherit;height:inherit}#qlwapp .qlwapp-avatar .qlwapp-avatar-container img{width:100%;height:auto}#qlwapp.qlwapp-bubble .qlwapp-toggle{width:60px;height:60px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{position:absolute;display:block;pointer-events:none;font-size:24px}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{position:absolute;right:60px;height:60px;margin:0 24px;display:flex;align-items:center;justify-content:flex-end;font-weight:bold;white-space:pre}#qlwapp.qlwapp-button .qlwapp-toggle{height:40px;white-space:nowrap;padding:12px 24px}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-icon{margin:0 12px 0 0}#qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-close{display:none}#qlwapp .qlwapp-box{pointer-events:all;padding-bottom:56px;position:fixed;top:auto;bottom:0;left:0;right:0;z-index:99999;box-shadow:0 5px 40px 5px rgba(0,0,0,0.5)}@media(min-width:430px){#qlwapp .qlwapp-box{position:relative;top:auto;bottom:auto;left:auto;right:auto;box-shadow:0 8px 25px -5px rgba(45,62,79,0.15);margin-top:24px;margin-left:24px;margin-right:24px;margin-bottom:12px}#qlwapp .qlwapp-box:before{content:'';position:absolute;bottom:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-header{border-top-left-radius:inherit;border-top-right-radius:inherit}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}}#qlwapp .qlwapp-box .qlwapp-header{position:relative;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background:linear-gradient(135deg,transparent 0,rgba(0,0,0,0.3) 100%)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:12px;right:12px}@media(min-width:430px){#qlwapp .qlwapp-box .qlwapp-header .qlwapp-close{position:absolute;top:7px;right:7px;font-size:16px}}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-description{position:relative}#qlwapp .qlwapp-box .qlwapp-description,#qlwapp .qlwapp-box .qlwapp-contact{padding:24px 36px;height:100%}#qlwapp .qlwapp-box .qlwapp-description p,#qlwapp .qlwapp-box .qlwapp-description h3{color:inherit;font-family:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-description h3{margin:0 0 .25em 0}#qlwapp .qlwapp-box .qlwapp-contact{display:flex;justify-content:flex-end;align-items:center;text-align:right}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous{position:relative;left:-16px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous>i{line-height:36px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-avatar{width:42px;height:42px}#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-name{color:inherit}#qlwapp .qlwapp-box .qlwapp-account{color:inherit;padding:16px 36px;display:flex;align-items:center;overflow:hidden;position:relative;cursor:pointer;width:100%;text-decoration:none}#qlwapp .qlwapp-box .qlwapp-account:only-of-type{padding-top:36px;padding-bottom:36px}#qlwapp .qlwapp-box .qlwapp-info{padding:0 16px}#qlwapp .qlwapp-box .qlwapp-avatar{position:relative;width:62px;height:62px}#qlwapp .qlwapp-box .qlwapp-avatar:after{content:'';display:block;width:15px;height:15px;position:absolute;bottom:2px;right:2px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAXgklEQVR4Ad2aCXhV9Zn/scv/P/N02mfmmc50anWqdUHUouwLYSFhCQlhIYEkLEnYF1SkoriXKkWxLo+2OlintopOq9UiewJJSEJCErKHsBAWCIshYSFAWO5y7zvf833uub78nnNvEhaxc9o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IW+5YBDDI61AeS03fo41iJdMwFx4m+0IRldPedRvVsQaIHP5++Gjf/N3hxCdkXSf4GfG8iNgcLtQT5Tkdc/UZxrLSA2+EcIUdtKwZrgXw5x3sbiGGx0e6jN4UML7sOaV9Ue1x3sdQZ7pmPvkVq46yVgB2zqC5GIF/PFEOP3cJ6MwLeYG7UsINo+tv8BxKJi30HMkusg2jHE/Rv2eAI5/KfO53oLOMcQ7ABO/l1MpiFQRzPwVQho0gU+qdhvKcjE3odxt593upgGrsCdsA3rl4P5iDUc+/67zuHrFPB9JLE6INj94Hs60HUU0OT74DbQEfQE/RAjMsBA9CNAZ9Ae/Ah829z3Rgj4v+tgYwWlsH1vAAAAAElFTkSuQmCC);background-color:transparent;background-repeat:no-repeat;background-position:center center;background-size:cover;z-index:4}#qlwapp .qlwapp-box .qlwapp-time,#qlwapp .qlwapp-box .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-offline-text{font-size:12px;line-height:1.5em;opacity:.6;display:block}#qlwapp .qlwapp-box .qlwapp-time{font-size:11px;font-style:italic}#qlwapp .qlwapp-box .qlwapp-name{display:block;font-weight:bold;line-height:1.5em}#qlwapp .qlwapp-box .qlwapp-body{overflow-x:hidden;overflow-y:auto}#qlwapp .qlwapp-box .qlwapp-body .qlwapp-carousel{max-height:470px;min-height:134px}#qlwapp .qlwapp-box .qlwapp-chat{display:flex;flex-direction:column;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-message{padding:16px 24px;margin:36px;position:relative;word-wrap:break-word;width:calc(100% - 36px*2)}#qlwapp .qlwapp-box .qlwapp-user:before,#qlwapp .qlwapp-box .qlwapp-message:before{content:'';position:absolute;top:-6px;right:24px;width:13px;height:13px;transform:rotate(45deg)}#qlwapp .qlwapp-box .qlwapp-user{width:auto;max-width:75%;align-self:flex-start;justify-self:flex-end;margin-top:0}#qlwapp .qlwapp-box .qlwapp-user:before{top:auto;bottom:-6px;left:24px}#qlwapp .qlwapp-box .qlwapp-padding{padding-bottom:56px}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{position:absolute;bottom:0;left:0;right:0;height:auto;width:100%}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{max-height:160px}#qlwapp .qlwapp-box .qlwapp-footer pre,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-footer textarea,#qlwapp .qlwapp-box .qlwapp-response textarea{color:inherit;background-color:inherit}#qlwapp .qlwapp-box .qlwapp-footer:before,#qlwapp .qlwapp-box .qlwapp-response:before{pointer-events:none;position:absolute;content:'';height:59px;top:-59px;background-image:linear-gradient(transparent,rgba(0,0,0,0.05));left:0;right:0}#qlwapp .qlwapp-box .qlwapp-footer{min-height:56px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;padding:12px 36px}#qlwapp .qlwapp-box .qlwapp-footer p{padding:0;font-size:inherit}#qlwapp .qlwapp-box .qlwapp-footer p:last-child{margin-bottom:0}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{min-height:56px}#qlwapp .qlwapp-box .qlwapp-response pre,#qlwapp .qlwapp-box .qlwapp-response textarea{width:100%;height:100%;resize:none;border:0;padding:18px 56px 18px 36px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:normal;line-height:20px;white-space:pre-wrap;word-wrap:break-word;border-radius:inherit;margin:0}#qlwapp .qlwapp-box .qlwapp-response pre{visibility:hidden}#qlwapp .qlwapp-box .qlwapp-response textarea{position:absolute;bottom:0;left:0}#qlwapp .qlwapp-box .qlwapp-response textarea:focus{outline:0}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons{position:absolute;top:0;right:21px;display:flex;align-items:center}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i{display:none}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons.active>i.qlwf-emoji{display:block}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i{opacity:.4}#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>i,#qlwapp .qlwapp-box .qlwapp-response .qlwapp-buttons>a{cursor:pointer;margin:0 0 0 10px;display:inherit;font-size:18px;line-height:24px}#qlwapp .qlwapp-previous,#qlwapp .qlwapp-close,#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-contact,#qlwapp .qlwapp-box .qlwapp-user{color:#fff}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-text{color:#303030}#qlwapp .qlwapp-box,#qlwapp .qlwapp-box:before{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account{background-color:#fff}#qlwapp .qlwapp-box .qlwapp-account:not(:first-child){border-top:1px solid #f5f5f5}#qlwapp .qlwapp-box .qlwapp-avatar .qlwapp-avatar-container{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-message:before{background-color:#eee}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response{color:#303030;background-color:#fff;border-top:1px solid #e6e6e6}#qlwapp .qlwapp-toggle,#qlwapp .qlwapp-box .qlwapp-header,#qlwapp .qlwapp-box .qlwapp-user,#qlwapp .qlwapp-box .qlwapp-user:before{background-color:#303030}#qlwapp{display:none}#qlwapp.qlwapp-show .qlwapp-box{visibility:visible;opacity:1;transform:translateY(0) scale(1);display:block}#qlwapp.qlwapp-transition .qlwapp-box{visibility:visible;display:block}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-icon{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble.qlwapp-show .qlwapp-toggle .qlwapp-close{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transform:scale(0,0);opacity:0}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon{transform:scale(1,1);opacity:1}#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-icon,#qlwapp.qlwapp-bubble .qlwapp-toggle .qlwapp-close{transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}#qlwapp .qlwapp-box{display:none;opacity:0;visibility:hidden;transform:translateY(50px);transition:transform 300ms cubic-bezier(0.215,0.61,0.355,1),opacity 300ms ease-in}@media(min-width:430px){#qlwapp .qlwapp-box{transform:translateY(50px) scale(0.9)}}#qlwapp .qlwapp-box .qlwapp-carousel{display:flex;width:200%;height:100%}#qlwapp .qlwapp-box .qlwapp-carousel .qlwapp-slide{width:50%;transition:max-height 500ms cubic-bezier(0.215,0.61,0.355,1) 1000ms,transform 300ms cubic-bezier(0.215,0.61,0.355,1) 500ms,opacity 500ms ease-in 500ms;height:100%;overflow:hidden}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-slide{max-height:300px}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) .3s,opacity ease-in .3s}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transform:scale(0.5)}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-name{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-label{transition-delay:850ms}#qlwapp .qlwapp-box .qlwapp-header .qlwapp-avatar{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-footer,#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-message,#qlwapp .qlwapp-box .qlwapp-user{transition:transform cubic-bezier(0.215,0.61,0.355,1) 600ms,opacity ease-in 200ms}#qlwapp .qlwapp-box .qlwapp-response,#qlwapp .qlwapp-box .qlwapp-previous,#qlwapp .qlwapp-box .qlwapp-user{opacity:0}#qlwapp .qlwapp-box .qlwapp-response{pointer-events:none}#qlwapp .qlwapp-box .qlwapp-previous{transform:translateX(56px)}#qlwapp .qlwapp-box .qlwapp-user{transform:translateY(56px)}#qlwapp .qlwapp-box .qlwapp-close{transition:opacity 300ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-description{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 900ms cubic-bezier(0.215,0.61,0.355,1)}#qlwapp .qlwapp-box .qlwapp-account{transition:transform 600ms cubic-bezier(0.215,0.61,0.355,1),opacity 150ms ease-in}#qlwapp .qlwapp-box .qlwapp-previous{transition-delay:800ms}#qlwapp .qlwapp-box .qlwapp-message{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-close,#qlwapp .qlwapp-box .qlwapp-description{transition-delay:900ms}#qlwapp .qlwapp-box .qlwapp-user{transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(6){transition-delay:600ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(5){transition-delay:500ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(4){transition-delay:400ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(3){transition-delay:300ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(2){transition-delay:200ms}#qlwapp .qlwapp-box .qlwapp-account:nth-of-type(1){transition-delay:100ms}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-message{opacity:0;transform:translateY(-56px)}#qlwapp .qlwapp-box .qlwapp-slide .qlwapp-box .qlwapp-account:hover{background-color:#fafafa}#qlwapp .qlwapp-box.response .qlwapp-carousel .qlwapp-slide{transform:translateX(-100%)}#qlwapp .qlwapp-box.response .qlwapp-body .qlwapp-carousel{overflow:hidden;max-height:134px!important;min-height:122px}#qlwapp .qlwapp-box.response .qlwapp-close{transition-delay:0ms}#qlwapp .qlwapp-box.response .qlwapp-close,#qlwapp .qlwapp-box.response .qlwapp-footer,#qlwapp .qlwapp-box.response .qlwapp-description,#qlwapp .qlwapp-box.response .qlwapp-account{opacity:0}#qlwapp .qlwapp-box.response .qlwapp-account{transform:translateY(-33.333%);border-top-color:transparent!important}#qlwapp .qlwapp-box.response .qlwapp-user{display:block}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous,#qlwapp .qlwapp-box.response .qlwapp-response{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-response{pointer-events:all}#qlwapp .qlwapp-box.response .qlwapp-message,#qlwapp .qlwapp-box.response .qlwapp-previous{transform:translate(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-slide{max-height:84px}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{opacity:1}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{opacity:.5}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-label{transform:translateX(0)}#qlwapp .qlwapp-box.response .qlwapp-header .qlwapp-avatar{transform:scale(1)}#qlwapp .qlwapp-box.response.opening .qlwapp-footer,#qlwapp .qlwapp-box.response.opening .qlwapp-response,#qlwapp .qlwapp-box.response.opening .qlwapp-close,#qlwapp .qlwapp-box.response.opening .qlwapp-previous,#qlwapp .qlwapp-box.response.opening .qlwapp-description,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-name,#qlwapp .qlwapp-box.response.opening .qlwapp-header .qlwapp-label{visibility:visible}#qlwapp .qlwapp-box.texting .qlwapp-body{overflow-y:auto}#qlwapp .qlwapp-box.texting .qlwapp-user{opacity:1;transform:translate(0)}#qlwapp .qlwapp-box.closing .qlwapp-previous{transition-delay:0ms;transform:translateX(-24px);opacity:0;transition:transform cubic-bezier(0.215,0.61,0.355,1) 300ms,opacity ease-out 200ms}#qlwapp .qlwapp-box.closing .qlwapp-description{opacity:0}
assets/{css → frontend/css}/qlwapp.css RENAMED
@@ -413,7 +413,6 @@
413
display: flex;
414
justify-content: flex-end;
415
align-items: center;
416
- text-align: right;
417
}
418
#qlwapp .qlwapp-box .qlwapp-contact .qlwapp-previous {
419
position: relative;
@@ -594,7 +593,7 @@
594
height: 100%;
595
resize: none;
596