PATH: /home/hwyuvbry/dear.waroenkhoki123.web.id/topadmin/assets/js
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
๐ app-access-permission.js
โ
X
๐ app-access-roles.js
โ
X
๐ app-calendar-events.js
โ
X
๐ app-calendar.js
โ
X
๐ app-chat.js
โ
X
๐ app-email.js
โ
X
๐ app-invoice-add.js
โ
X
๐ app-invoice-edit.js
โ
X
๐ app-invoice-list.js
โ
X
๐ app-invoice-print.js
โ
X
๐ app-kanban.js
โ
X
๐ app-user-list.js
โ
X
๐ app-user-view-account.js
โ
X
๐ app-user-view-billing.js
โ
X
๐ app-user-view-security.js
โ
X
๐ app-user-view.js
โ
X
๐ cards-actions.js
โ
X
๐ cards-analytics.js
โ
X
๐ cards-statistics.js
โ
X
๐ charts-apex.js
โ
X
๐ charts-chartjs.js
โ
X
๐ config.js
โ
X
๐ dashboards-analytics.js
โ
X
๐ dashboards-crm.js
โ
X
๐ dashboards-ecommerce.js
โ
X
๐ extended-ui-blockui.js
โ
X
๐ extended-ui-drag-and-drop.js
โ
X
๐ extended-ui-media-player.js
โ
X
๐ extended-ui-misc-clipboardjs.js
โ
X
๐ extended-ui-misc-idle-timer.js
โ
X
๐ extended-ui-misc-numeraljs.js
โ
X
๐ extended-ui-perfect-scrollbar.js
โ
X
๐ extended-ui-star-ratings.js
โ
X
๐ extended-ui-sweetalert2.js
โ
X
๐ extended-ui-timeline.js
โ
X
๐ extended-ui-tour.js
โ
X
๐ extended-ui-treeview.js
โ
X
๐ form-basic-inputs.js
โ
X
๐ form-layouts.js
โ
X
๐ form-validation.js
โ
X
๐ form-wizard-icons.js
โ
X
๐ form-wizard-numbered.js
โ
X
๐ form-wizard-validation.js
โ
X
๐ forms-editors.js
โ
X
๐ forms-extras.js
โ
X
๐ forms-file-upload.js
โ
X
๐ forms-pickers.js
โ
X
๐ forms-selects.js
โ
X
๐ forms-sliders.js
โ
X
๐ forms-tagify.js
โ
X
๐ forms-typeahead.js
โ
X
๐ main.js
โ
X
๐ maps-leaflet.js
โ
X
๐ modal-add-new-address.js
โ
X
๐ modal-add-new-cc.js
โ
X
๐ modal-add-permission.js
โ
X
๐ modal-add-role.js
โ
X
๐ modal-create-app.js
โ
X
๐ modal-edit-cc.js
โ
X
๐ modal-edit-permission.js
โ
X
๐ modal-edit-user.js
โ
X
๐ modal-enable-otp.js
โ
X
๐ modal-share-project.js
โ
X
๐ modal-two-factor-auth.js
โ
X
๐ offcanvas-add-payment.js
โ
X
๐ offcanvas-send-invoice.js
โ
X
๐ pages-account-settings-account.js
โ
X
๐ pages-account-settings-billing.js
โ
X
๐ pages-account-settings-security.js
โ
X
๐ pages-auth-multisteps.js
โ
X
๐ pages-auth-two-steps.js
โ
X
๐ pages-auth.js
โ
X
๐ pages-pricing.js
โ
X
๐ pages-profile.js
โ
X
๐ tables-datatables-advanced.js
โ
X
๐ tables-datatables-basic.js
โ
X
๐ tables-datatables-extensions.js
โ
X
๐ ui-app-brand.js
โ
X
๐ ui-carousel.js
โ
X
๐ ui-menu.js
โ
X
๐ ui-modals.js
โ
X
๐ ui-navbar.js
โ
X
๐ ui-popover.js
โ
X
๐ ui-toasts.js
โ
X
๐ wizard-ex-checkout.js
โ
X
๐ wizard-ex-create-deal.js
โ
X
๐ wizard-ex-property-listing.js
โ
X
SAVING...
BERHASIL DIUBAH!
EDITING: forms-extras.js
/** * Form Extras */ 'use strict'; (function () { const textarea = document.querySelector('#autosize-demo'), creditCard = document.querySelector('.credit-card-mask'), phoneMask = document.querySelector('.phone-number-mask'), dateMask = document.querySelector('.date-mask'), timeMask = document.querySelector('.time-mask'), numeralMask = document.querySelector('.numeral-mask'), blockMask = document.querySelector('.block-mask'), delimiterMask = document.querySelector('.delimiter-mask'), customDelimiter = document.querySelector('.custom-delimiter-mask'), prefixMask = document.querySelector('.prefix-mask'); // Autosize // -------------------------------------------------------------------- if (textarea) { autosize(textarea); } // Cleave JS Input Mask // -------------------------------------------------------------------- // Credit Card if (creditCard) { new Cleave(creditCard, { creditCard: true, onCreditCardTypeChanged: function (type) { if (type != '' && type != 'unknown') { document.querySelector('.card-type').innerHTML = '<img src="' + assetsPath + 'img/icons/payments/' + type + '-cc.png" height="28"/>'; } else { document.querySelector('.card-type').innerHTML = ''; } } }); } // Phone Number if (phoneMask) { new Cleave(phoneMask, { phone: true, phoneRegionCode: 'US' }); } // Date if (dateMask) { new Cleave(dateMask, { date: true, delimiter: '-', datePattern: ['Y', 'm', 'd'] }); } // Time if (timeMask) { new Cleave(timeMask, { time: true, timePattern: ['h', 'm', 's'] }); } //Numeral if (numeralMask) { new Cleave(numeralMask, { numeral: true, numeralThousandsGroupStyle: 'thousand' }); } //Block if (blockMask) { new Cleave(blockMask, { blocks: [4, 3, 3], uppercase: true }); } // Delimiter if (delimiterMask) { new Cleave(delimiterMask, { delimiter: 'ยท', blocks: [3, 3, 3], uppercase: true }); } // Custom Delimiter if (customDelimiter) { new Cleave(customDelimiter, { delimiters: ['.', '.', '-'], blocks: [3, 3, 3, 2], uppercase: true }); } // Prefix if (prefixMask) { new Cleave(prefixMask, { prefix: '+63', blocks: [3, 3, 3, 4], uppercase: true }); } })(); // bootstrap-maxlength & repeater (jquery) $(function () { var maxlengthInput = $('.bootstrap-maxlength-example'), formRepeater = $('.form-repeater'); // Bootstrap Max Length // -------------------------------------------------------------------- if (maxlengthInput.length) { maxlengthInput.each(function () { $(this).maxlength({ warningClass: 'label label-success bg-success text-white', limitReachedClass: 'label label-danger', separator: ' out of ', preText: 'You typed ', postText: ' chars available.', validate: true, threshold: +this.getAttribute('maxlength') }); }); } // Form Repeater // ! Using jQuery each loop to add dynamic id and class for inputs. You may need to improve it based on form fields. // ----------------------------------------------------------------------------------------------------------------- if (formRepeater.length) { var row = 2; var col = 1; formRepeater.on('submit', function (e) { e.preventDefault(); }); formRepeater.repeater({ show: function () { var fromControl = $(this).find('.form-control, .form-select'); var formLabel = $(this).find('.form-label'); fromControl.each(function (i) { var id = 'form-repeater-' + row + '-' + col; $(fromControl[i]).attr('id', id); $(formLabel[i]).attr('for', id); col++; }); row++; $(this).slideDown(); }, hide: function (e) { confirm('Are you sure you want to delete this element?') && $(this).slideUp(e); } }); } });
SIMPAN PERUBAHAN