callix-dialer-widget 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55177,52 +55177,107 @@ function ActiveCallSummary({
|
|
|
55177
55177
|
] }) });
|
|
55178
55178
|
}
|
|
55179
55179
|
function InlineDialer({ variant = "default", ...props }) {
|
|
55180
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
55180
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
55181
55181
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55182
55182
|
"style",
|
|
55183
55183
|
{
|
|
55184
55184
|
dangerouslySetInnerHTML: {
|
|
55185
55185
|
__html: `
|
|
55186
|
-
|
|
55187
|
-
|
|
55188
|
-
display: flex;
|
|
55189
|
-
|
|
55190
|
-
|
|
55191
|
-
|
|
55192
|
-
|
|
55193
|
-
|
|
55194
|
-
|
|
55195
|
-
|
|
55186
|
+
/* Estilos para modo mini quando Tailwind CDN não processa classes */
|
|
55187
|
+
.callix.mode.min {
|
|
55188
|
+
display: flex !important;
|
|
55189
|
+
flex-direction: column !important;
|
|
55190
|
+
gap: 0.75rem !important;
|
|
55191
|
+
border-radius: 1rem !important;
|
|
55192
|
+
border: 1px solid #e2e8f0 !important;
|
|
55193
|
+
background: rgba(255, 255, 255, 0.95) !important;
|
|
55194
|
+
padding: 0.75rem !important;
|
|
55195
|
+
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
|
|
55196
|
+
color: #1e293b !important;
|
|
55196
55197
|
width: 100% !important;
|
|
55197
|
-
|
|
55198
|
+
max-width: 100% !important;
|
|
55198
55199
|
}
|
|
55199
|
-
|
|
55200
|
-
|
|
55201
|
-
|
|
55202
|
-
|
|
55203
|
-
|
|
55204
|
-
|
|
55205
|
-
|
|
55206
|
-
|
|
55200
|
+
|
|
55201
|
+
/* Botões do modo mini */
|
|
55202
|
+
.callix.mode.min button {
|
|
55203
|
+
cursor: pointer !important;
|
|
55204
|
+
transition: all 0.2s ease !important;
|
|
55205
|
+
}
|
|
55206
|
+
|
|
55207
|
+
.callix.mode.min button:disabled {
|
|
55208
|
+
cursor: not-allowed !important;
|
|
55209
|
+
opacity: 0.6 !important;
|
|
55210
|
+
}
|
|
55211
|
+
|
|
55212
|
+
/* Grid do teclado numérico */
|
|
55213
|
+
.callix.mode.min [class*="grid-cols-3"] {
|
|
55214
|
+
display: grid !important;
|
|
55215
|
+
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
55216
|
+
gap: 0.5rem !important;
|
|
55217
|
+
}
|
|
55218
|
+
|
|
55219
|
+
/* Botões do teclado */
|
|
55220
|
+
.callix.mode.min [class*="grid-cols-3"] button {
|
|
55221
|
+
display: flex !important;
|
|
55222
|
+
height: 3rem !important;
|
|
55223
|
+
flex-direction: column !important;
|
|
55224
|
+
align-items: center !important;
|
|
55225
|
+
justify-content: center !important;
|
|
55226
|
+
border-radius: 0.5rem !important;
|
|
55227
|
+
border: 1px solid #e2e8f0 !important;
|
|
55228
|
+
background: white !important;
|
|
55229
|
+
font-size: 1rem !important;
|
|
55230
|
+
font-weight: 600 !important;
|
|
55231
|
+
color: #1e293b !important;
|
|
55232
|
+
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
|
|
55233
|
+
}
|
|
55234
|
+
|
|
55235
|
+
.callix.mode.min [class*="grid-cols-3"] button:hover:not(:disabled) {
|
|
55236
|
+
border-color: #cbd5e1 !important;
|
|
55237
|
+
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
|
|
55207
55238
|
}
|
|
55208
|
-
|
|
55239
|
+
|
|
55240
|
+
.callix.mode.min [class*="grid-cols-3"] button:active:not(:disabled) {
|
|
55241
|
+
transform: scale(0.95) !important;
|
|
55242
|
+
}
|
|
55243
|
+
|
|
55244
|
+
/* Botão principal de Ligar/Encerrar */
|
|
55245
|
+
.callix.mode.min > button[class*="bg-emerald"],
|
|
55246
|
+
.callix.mode.min > button[class*="bg-rose"] {
|
|
55247
|
+
display: flex !important;
|
|
55248
|
+
height: 2.75rem !important;
|
|
55209
55249
|
width: 100% !important;
|
|
55210
|
-
|
|
55211
|
-
|
|
55250
|
+
align-items: center !important;
|
|
55251
|
+
justify-content: center !important;
|
|
55252
|
+
gap: 0.5rem !important;
|
|
55253
|
+
border-radius: 0.75rem !important;
|
|
55254
|
+
font-size: 0.875rem !important;
|
|
55255
|
+
font-weight: 700 !important;
|
|
55256
|
+
color: white !important;
|
|
55257
|
+
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
|
|
55258
|
+
border: none !important;
|
|
55212
55259
|
}
|
|
55213
|
-
|
|
55214
|
-
|
|
55215
|
-
|
|
55216
|
-
min-height: 640px !important;
|
|
55260
|
+
|
|
55261
|
+
.callix.mode.min > button[class*="bg-emerald"] {
|
|
55262
|
+
background: #10b981 !important;
|
|
55217
55263
|
}
|
|
55218
|
-
|
|
55219
|
-
|
|
55264
|
+
|
|
55265
|
+
.callix.mode.min > button[class*="bg-emerald"]:hover:not(:disabled) {
|
|
55266
|
+
background: #059669 !important;
|
|
55267
|
+
}
|
|
55268
|
+
|
|
55269
|
+
.callix.mode.min > button[class*="bg-rose"] {
|
|
55270
|
+
background: #f43f5e !important;
|
|
55271
|
+
}
|
|
55272
|
+
|
|
55273
|
+
.callix.mode.min > button[class*="bg-rose"]:hover:not(:disabled) {
|
|
55274
|
+
background: #e11d48 !important;
|
|
55220
55275
|
}
|
|
55221
55276
|
`
|
|
55222
55277
|
}
|
|
55223
55278
|
}
|
|
55224
55279
|
),
|
|
55225
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55280
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FloatingDialer, { ...props, variant })
|
|
55226
55281
|
] });
|
|
55227
55282
|
}
|
|
55228
55283
|
function deriveOptionsFromElement(element) {
|