This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button id="openButton">Modalni ochish</button> | |
<div class="bottom-sheet" id="bottomSheet" > | |
<div class="sheet-content"> | |
<div class="sheet-header"> | |
<h3>Modal Title</h3> | |
</div> | |
<div class="sheet-body"> | |
<p>Что такое Lorem Ipsum? | |
Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum является стандартной "рыбой" для текстов на латинице с начала XVI века. В то время некий безымянный печатник создал большую коллекцию размеров и форм шрифтов, используя Lorem Ipsum для распечатки образцов. Lorem Ipsum не только успешно пережил без заметных изменений пять веков, но и перешагнул в электронный дизайн. Его популяризации в новое время послужили публикация листов Letraset с образцами Lorem Ipsum в 60-х годах и, в более недавнее время, программы электронной вёрстки типа Aldus PageMaker, в шаблонах которых используется Lorem Ipsum.</p> | |
<p>Что такое Lorem Ipsum? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Builder(builder: (context) { | |
RegExp visaRegExp = RegExp(r'^4[0-9]{3}'); | |
RegExp mastercardRegExp = | |
RegExp(r'^5[1-5][0-9]{2}|^2[2-7][0-9]{2}'); | |
RegExp humoRegExp = RegExp(r'^9[0-9]{3}'); | |
RegExp uzcardRegExp = RegExp(r'^8[0-9]{3}'); | |
if (visaRegExp.hasMatch(params.number!)) { | |
return Image.asset(Assets.visaPng, height: SIZE_16); | |
} else if (mastercardRegExp | |
.hasMatch(params.number!)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let widget = ExternalWidgetBuilder() | |
.buildDefaultWidget( | |
accountName: account, | |
location: location, | |
visitorFields: visitorFields | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ExternalWidgetBuilder.swift | |
// WebimWidget_Example | |
// | |
// Created by Аслан Кутумбаев on 14.03.2023. | |
// Copyright © 2023 Webim. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This XML file does not appear to have any style information associated with it. The document tree is shown below. | |
<?mso-application progid="Word.Document"?> | |
<pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"> | |
<pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"> | |
<pkg:xmlData> | |
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> | |
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/> | |
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/> | |
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/> | |
</Relationships> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exportHTML(){ | |
var header = "<html xmlns:o='urn:schemas-microsoft-com:office:office' "+ | |
"xmlns:w='urn:schemas-microsoft-com:office:word' "+ | |
"xmlns='http://www.w3.org/TR/REC-html40'>"+ | |
"<head><meta charset='utf-8'><title>Export HTML to Word Document with JavaScript</title></head><body>"; | |
var footer = "</body></html>"; | |
var sourceHTML = header+document.getElementsByClassName("fr-view")[0].innerHTML+footer; | |
var source = 'data:application/vnd.ms-word;charset=utf-8,' + encodeURIComponent(sourceHTML); | |
var fileDownload = document.createElement("a"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp " ">]> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" | |
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" | |
xmlns:o="urn:schemas-microsoft-com:office:office" | |
xmlns:v="urn:schemas-microsoft-com:vml" | |
xmlns:WX="http://schemas.microsoft.com/office/word/2003/auxHint" | |
xmlns:aml="http://schemas.microsoft.com/aml/2001/core" | |
xmlns:w10="urn:schemas-microsoft-com:office:word" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var item = "12345678911234567891"; | |
print(prettyBankCode(item)); // 1234 5678 9112 3456 7891 | |
} | |
prettyBankCode(item){ | |
if(item != null && item.length == 20){ | |
var code = item.substring(0,4); | |
code = code + ' ' + item.substring(4,8); | |
code = code + ' ' + item.substring(8,12); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SOFTWARE developer ----> Software Developer | |
String capitalizeAllWord(String val) { | |
var value = val.toLowerCase(); | |
var result = value[0].toUpperCase(); | |
for (int i = 1; i < value.length; i++) { | |
if (value[i - 1] == " ") { | |
result = result + value[i].toUpperCase(); | |
} else { | |
result = result + value[i]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Developer: Bekzod | |
$crm_api_entity_search = isset($_REQUEST['action']) && $_REQUEST['action'] == 'crm.api.entity.search' ? true : false; | |
if($crm_api_entity_search) | |
{ | |
$request = $_REQUEST; | |
if(isset($request['options']['types'][0]) && $request['options']['types'][0] == 'CONTACT') | |
{ |
NewerOlder