view release on metacpan or search on metacpan
share/examples/layout-browser/layouts/combination.js
share/examples/layout-browser/layouts/custom.js
share/examples/layout-browser/tree-data.json
share/examples/layout/accordion.html
share/examples/layout/anchor.html
share/examples/layout/column.html
share/examples/layout/complex.html
share/examples/layout/hbox.html
share/examples/layout/table.html
share/examples/layout/vbox.html
share/examples/locale/ContactForm-nl.js
share/examples/locale/ContactForm.js
share/examples/locale/dutch-form.html
share/examples/locale/dutch-provinces.js
share/examples/locale/languages.js
share/examples/locale/multi-lang.html
share/examples/locale/multi-lang.js
share/examples/menu/actions.html
share/examples/menu/actions.js
share/examples/menu/images/delete.gif
share/examples/menu/images/edit.gif
share/examples/menu/images/find.gif
share/examples/menu/images/group.gif
share/examples/menu/images/view.gif
share/examples/menu/list-items.gif
share/examples/menu/menu-show.gif
share/examples/menu/menus.css
share/examples/shared/screens/keyboard.gif
share/examples/shared/screens/layout-absolute.gif
share/examples/shared/screens/layout-accordion.gif
share/examples/shared/screens/layout-anchor.gif
share/examples/shared/screens/layout-browser.gif
share/examples/shared/screens/layout-column.gif
share/examples/shared/screens/layout-form.gif
share/examples/shared/screens/layout-table.gif
share/examples/shared/screens/layout-vbox.gif
share/examples/shared/screens/list-view.gif
share/examples/shared/screens/locale-dutch.gif
share/examples/shared/screens/locale-switch.gif
share/examples/shared/screens/msg-box.gif
share/examples/shared/screens/multisort-dataview.png
share/examples/shared/screens/organizer.gif
share/examples/shared/screens/panel-bubble.gif
share/examples/shared/screens/panel.gif
share/examples/shared/screens/pivotgrid-cellcls.gif
share/examples/shared/screens/pivotgrid-people.gif
share/examples/shared/screens/pivotgrid.gif
share/examples/shared/screens/portal.gif
share/examples/shared/screens/progress-bar-pager.gif
share/src/ext-core/src/core/Loader.js
share/src/ext-core/src/core/Template.js
share/src/ext-core/src/data/Connection.js
share/src/ext-core/src/util/DelayedTask.js
share/src/ext-core/src/util/JSON.js
share/src/ext-core/src/util/Observable.js
share/src/ext-core/src/util/TaskMgr.js
share/src/ext-core/test/yui_2.6.0/yui/build/logger/logger-min.js
share/src/ext-core/test/yui_2.6.0/yui/build/yahoo-dom-event/yahoo-dom-event.js
share/src/ext-core/test/yui_2.6.0/yui/build/yuitest/yuitest-min.js
share/src/locale/ext-lang-af.js
share/src/locale/ext-lang-am.js
share/src/locale/ext-lang-bg.js
share/src/locale/ext-lang-ca.js
share/src/locale/ext-lang-cs.js
share/src/locale/ext-lang-da.js
share/src/locale/ext-lang-de.js
share/src/locale/ext-lang-el_GR.js
share/src/locale/ext-lang-en.js
share/src/locale/ext-lang-en_GB.js
share/src/locale/ext-lang-es.js
share/src/locale/ext-lang-fa.js
share/src/locale/ext-lang-fi.js
share/src/locale/ext-lang-fr.js
share/src/locale/ext-lang-fr_CA.js
share/src/locale/ext-lang-gr.js
share/src/locale/ext-lang-he.js
share/src/locale/ext-lang-hr.js
share/src/locale/ext-lang-hu.js
share/src/locale/ext-lang-id.js
share/src/locale/ext-lang-it.js
share/src/locale/ext-lang-ja.js
share/src/locale/ext-lang-ko.js
share/src/locale/ext-lang-lt.js
share/src/locale/ext-lang-lv.js
share/src/locale/ext-lang-mk.js
share/src/locale/ext-lang-nl.js
share/src/locale/ext-lang-no_NB.js
share/src/locale/ext-lang-no_NN.js
share/src/locale/ext-lang-pl.js
share/src/locale/ext-lang-pt.js
share/src/locale/ext-lang-pt_BR.js
share/src/locale/ext-lang-pt_PT.js
share/src/locale/ext-lang-ro.js
share/src/locale/ext-lang-ru.js
share/src/locale/ext-lang-sk.js
share/src/locale/ext-lang-sl.js
share/src/locale/ext-lang-sr.js
share/src/locale/ext-lang-sr_RS.js
share/src/locale/ext-lang-sv_SE.js
share/src/locale/ext-lang-th.js
share/src/locale/ext-lang-tr.js
share/src/locale/ext-lang-ukr.js
share/src/locale/ext-lang-vn.js
share/src/locale/ext-lang-zh_CN.js
share/src/locale/ext-lang-zh_TW.js
share/src/state/CookieProvider.js
share/src/state/Provider.js
share/src/state/StateManager.js
share/src/util/AbstractManager.js
share/src/util/CSS.js
share/src/util/ClickRepeater.js
share/src/util/Cookies.js
share/src/util/Date.js
share/src/util/Format.js
share/src/util/Function.js
share/docs/output/Ext.DatePicker.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Ext_DatePicker({"alternateClassNames":[],"aliases":{"widget":["datepicker"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.Component","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><d...
share/docs/output/Ext.MessageBox.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Ext_MessageBox({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/...
share/docs/output/Ext.grid.DateColumn.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Ext_grid_DateColumn({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.grid.Column","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subcla...
share/docs/output/Ext.grid.PropertyColumnModel.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Ext_grid_PropertyColumnModel({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.grid.ColumnModel","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div...
share/docs/output/Ext.list.DateColumn.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
Ext.data.JsonP.Ext_list_DateColumn({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.list.Column","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subcla...
share/docs/source/Column.html view on Meta::CPAN
format : '0,000.00',
<span id='Ext-grid-NumberColumn-method-constructor'> constructor: function(cfg){
</span> Ext.grid.NumberColumn.superclass.constructor.call(this, cfg);
this.renderer = Ext.util.Format.numberRenderer(this.format);
}
});
<span id='Ext-grid-DateColumn'>/**
</span> * @class Ext.grid.DateColumn
* @extends Ext.grid.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column}
* for more details.</p>
*/
Ext.grid.DateColumn = Ext.extend(Ext.grid.Column, {
<span id='Ext-grid-DateColumn-cfg-format'> /**
</span> * @cfg {String} format
* A formatting string as used by {@link Date#format} to format a Date for this Column
* (defaults to <tt>'m/d/Y'</tt>).
*/
format : 'm/d/Y',
share/docs/source/Column2.html view on Meta::CPAN
</span> c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':number("' + (c.format || this.format) + '")}');
Ext.list.NumberColumn.superclass.constructor.call(this, c);
}
});
Ext.reg('lvnumbercolumn', Ext.list.NumberColumn);
<span id='Ext-list-DateColumn'>/**
</span> * @class Ext.list.DateColumn
* @extends Ext.list.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column}
* for more details.</p>
*/
Ext.list.DateColumn = Ext.extend(Ext.list.Column, {
<span id='Ext-list-DateColumn-property-format'> format: 'm/d/Y',
</span><span id='Ext-list-DateColumn-method-constructor'> constructor : function(c) {
</span> c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':date("' + (c.format || this.format) + '")}');
Ext.list.DateColumn.superclass.constructor.call(this, c);
}
});
share/docs/source/Date.html view on Meta::CPAN
*
* Note: The date string returned by the javascript Date object's toString() method varies
* between browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).
* For a given date string e.g. "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)",
* getTimezone() first tries to get the timezone abbreviation from between a pair of parentheses
* (which may or may not be present), failing which it proceeds to get the timezone abbreviation
* from the GMT offset portion of the date string.
* @return {String} The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).
*/
getTimezone : function() {
// the following list shows the differences between date strings from different browsers on a WinXP SP2 machine from an Asian locale:
//
// Opera : "Thu, 25 Oct 2007 22:53:45 GMT+0800" -- shortest (weirdest) date string of the lot
// Safari : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone (same as FF)
// FF : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone
// IE : "Thu Oct 25 22:54:35 UTC+0800 2007" -- (Asian system setting) look for 3-4 letter timezone abbrev
// IE : "Thu Oct 25 17:06:37 PDT 2007" -- (American system setting) look for 3-4 letter timezone abbrev
//
// this crazy regex attempts to guess the correct timezone abbreviation despite these differences.
// step 1: (?:\((.*)\) -- find timezone in parentheses
// step 2: ([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?) -- if nothing was found in step 1, find timezone from timezone offset portion of date string
share/docs/source/DatePicker.html view on Meta::CPAN
document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
}
</script>
</head>
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js"><span id='Ext-DatePicker-method-constructor'><span id='Ext-DatePicker'>/**
</span></span> * @class Ext.DatePicker
* @extends Ext.Component
* <p>A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
* to allow browsing and selection of valid dates.</p>
* <p>All the string values documented below may be overridden by including an Ext locale file in
* your page.</p>
* @constructor
* Create a new DatePicker
* @param {Object} config The config object
* @xtype datepicker
*/
Ext.DatePicker = Ext.extend(Ext.BoxComponent, {
<span id='Ext-DatePicker-cfg-todayText'> /**
</span> * @cfg {String} todayText
* The text to display on the button that selects the current date (defaults to <code>'Today'</code>)
share/docs/source/MessageBox.html view on Meta::CPAN
*/
minProgressWidth : 250,
<span id='Ext-MessageBox-property-minPromptWidth'> /**
</span> * The minimum width in pixels of the message box if it is a prompt dialog. This is useful
* for setting a different minimum width than text-only dialogs may need (defaults to 250).
* @type Number
*/
minPromptWidth: 250,
<span id='Ext-MessageBox-property-buttonText'> /**
</span> * An object containing the default button text strings that can be overriden for localized language support.
* Supported properties are: ok, cancel, yes and no. Generally you should include a locale-specific
* resource file for handling language support across the framework.
* Customize the default text like so: Ext.MessageBox.buttonText.yes = "oui"; //french
* @type Object
*/
buttonText : {
ok : "OK",
cancel : "Cancel",
yes : "Yes",
no : "No"
}
share/docs/source/PropertyGrid.html view on Meta::CPAN
<span id='Ext-grid-PropertyColumnModel-method-constructor'><span id='Ext-grid-PropertyColumnModel'>/**
</span></span> * @class Ext.grid.PropertyColumnModel
* @extends Ext.grid.ColumnModel
* A custom column model for the {@link Ext.grid.PropertyGrid}. Generally it should not need to be used directly.
* @constructor
* @param {Ext.grid.Grid} grid The grid this store will be bound to
* @param {Object} source The source data config object
*/
Ext.grid.PropertyColumnModel = Ext.extend(Ext.grid.ColumnModel, {
<span id='Ext-grid-PropertyColumnModel-property-nameText'> // private - strings used for locale support
</span> nameText : 'Name',
<span id='Ext-grid-PropertyColumnModel-property-valueText'> valueText : 'Value',
</span><span id='Ext-grid-PropertyColumnModel-property-dateFormat'> dateFormat : 'm/j/Y',
</span><span id='Ext-grid-PropertyColumnModel-property-trueText'> trueText: 'true',
</span><span id='Ext-grid-PropertyColumnModel-property-falseText'> falseText: 'false',
</span>
constructor : function(grid, store){
var g = Ext.grid,
f = Ext.form;
share/examples/data.js view on Meta::CPAN
desc: '',
status: 'new'
},{
text: 'Debugging Console',
url: 'debug/debug-console.html',
icon: 'debug-console.gif',
desc: '',
status: 'new'
},{
text: 'Localization (static)',
url: 'locale/dutch-form.html',
icon: 'locale-dutch.gif',
desc: 'Demonstrates fully localizing a form by including a custom locale script.'
},{
text: 'Localization (dynamic)',
url: 'locale/multi-lang.html',
icon: 'locale-switch.gif',
desc: 'Dynamically render various Ext components in different locales by selecting from a locale list.'
}]
}];
share/examples/locale/dutch-form.html view on Meta::CPAN
<title>Dutch Form</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<!-- GC -->
<!-- LIBS -->
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
<!-- ENDLIBS -->
<script type="text/javascript" src="../../ext-all.js"></script>
<!-- include the locale file -->
<script type="text/javascript" src="../../src/locale/ext-lang-nl.js"></script>
<script type="text/javascript" src="dutch-provinces.js"></script>
<script type="text/javascript" src="ContactForm.js"></script>
<script type="text/javascript" src="ContactForm-nl.js"></script>
<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="../shared/examples.css" />
</head>
<body>
<script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
<h1>Localization with Ext</h1>
<p>
This demonstrates a dutch location of Ext using the form component. It includes the localization
file "ext-lang-nl.js" from the source/locale folder of the Ext download. By placing all language
text such as field labels and button labels and date formats in the prototype, we can easily
localize our components by overriding these values. View
<a href="ContactForm.js" target="_blank">ContactForm.js</a>and
<a href="ContactForm-nl.js" target="_blank">ContactForm-nl.js</a> to learn how Ext applies
internationalization to JavaScript.
</p>
<p>The js is not minified so it is readable. See <a href="ContactForm.js">ContactForm.js</a> and <a href="ContactForm-nl.js">ContactForm-nl.js</a>.</p>
</body>
share/examples/locale/multi-lang.js view on Meta::CPAN
}
return false;
});
// if language was found in store assign it as current value in combobox
if (record) {
combo.setValue(record.data.language);
}
}
if (params.lang) {
var url = String.format("../../src/locale/ext-lang-{0}.js", params.lang);
Ext.Ajax.request({
url: url,
success: this.onSuccess,
failure: this.onFailure,
scope: this
});
} else {
this.setupDemo();
}
},
onSuccess: function(response, opts) {
eval(response.responseText);
this.setupDemo();
},
onFailure: function() {
Ext.Msg.alert('Failure', 'Failed to load locale file.');
this.setupDemo();
},
setupDemo: function() {
/* Email field */
var emailfield = new Ext.FormPanel({
renderTo: 'emailfield',
labelWidth: 100, // label settings here cascade unless overridden
frame: true,
title: 'Email Field',
bodyStyle: 'padding:5px 5px 0',
share/ext-all-debug-w-comments.js view on Meta::CPAN
*
* Note: The date string returned by the javascript Date object's toString() method varies
* between browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).
* For a given date string e.g. "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)",
* getTimezone() first tries to get the timezone abbreviation from between a pair of parentheses
* (which may or may not be present), failing which it proceeds to get the timezone abbreviation
* from the GMT offset portion of the date string.
* @return {String} The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).
*/
getTimezone : function() {
// the following list shows the differences between date strings from different browsers on a WinXP SP2 machine from an Asian locale:
//
// Opera : "Thu, 25 Oct 2007 22:53:45 GMT+0800" -- shortest (weirdest) date string of the lot
// Safari : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone (same as FF)
// FF : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone
// IE : "Thu Oct 25 22:54:35 UTC+0800 2007" -- (Asian system setting) look for 3-4 letter timezone abbrev
// IE : "Thu Oct 25 17:06:37 PDT 2007" -- (American system setting) look for 3-4 letter timezone abbrev
//
// this crazy regex attempts to guess the correct timezone abbreviation despite these differences.
// step 1: (?:\((.*)\) -- find timezone in parentheses
// step 2: ([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?) -- if nothing was found in step 1, find timezone from timezone offset portion of date string
share/ext-all-debug-w-comments.js view on Meta::CPAN
/**
* @cfg {String} autoEl @hide
*/
});
Ext.reg('colorpalette', Ext.ColorPalette);/**
* @class Ext.DatePicker
* @extends Ext.Component
* <p>A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
* to allow browsing and selection of valid dates.</p>
* <p>All the string values documented below may be overridden by including an Ext locale file in
* your page.</p>
* @constructor
* Create a new DatePicker
* @param {Object} config The config object
* @xtype datepicker
*/
Ext.DatePicker = Ext.extend(Ext.BoxComponent, {
/**
* @cfg {String} todayText
* The text to display on the button that selects the current date (defaults to <code>'Today'</code>)
share/ext-all-debug-w-comments.js view on Meta::CPAN
*/
minProgressWidth : 250,
/**
* The minimum width in pixels of the message box if it is a prompt dialog. This is useful
* for setting a different minimum width than text-only dialogs may need (defaults to 250).
* @type Number
*/
minPromptWidth: 250,
/**
* An object containing the default button text strings that can be overriden for localized language support.
* Supported properties are: ok, cancel, yes and no. Generally you should include a locale-specific
* resource file for handling language support across the framework.
* Customize the default text like so: Ext.MessageBox.buttonText.yes = "oui"; //french
* @type Object
*/
buttonText : {
ok : "OK",
cancel : "Cancel",
yes : "Yes",
no : "No"
}
share/ext-all-debug-w-comments.js view on Meta::CPAN
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':number("' + (c.format || this.format) + '")}');
Ext.list.NumberColumn.superclass.constructor.call(this, c);
}
});
Ext.reg('lvnumbercolumn', Ext.list.NumberColumn);
/**
* @class Ext.list.DateColumn
* @extends Ext.list.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column}
* for more details.</p>
*/
Ext.list.DateColumn = Ext.extend(Ext.list.Column, {
format: 'm/d/Y',
constructor : function(c) {
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':date("' + (c.format || this.format) + '")}');
Ext.list.DateColumn.superclass.constructor.call(this, c);
}
});
share/ext-all-debug-w-comments.js view on Meta::CPAN
format : '0,000.00',
constructor: function(cfg){
Ext.grid.NumberColumn.superclass.constructor.call(this, cfg);
this.renderer = Ext.util.Format.numberRenderer(this.format);
}
});
/**
* @class Ext.grid.DateColumn
* @extends Ext.grid.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column}
* for more details.</p>
*/
Ext.grid.DateColumn = Ext.extend(Ext.grid.Column, {
/**
* @cfg {String} format
* A formatting string as used by {@link Date#format} to format a Date for this Column
* (defaults to <tt>'m/d/Y'</tt>).
*/
format : 'm/d/Y',
share/ext-all-debug-w-comments.js view on Meta::CPAN
/**
* @class Ext.grid.PropertyColumnModel
* @extends Ext.grid.ColumnModel
* A custom column model for the {@link Ext.grid.PropertyGrid}. Generally it should not need to be used directly.
* @constructor
* @param {Ext.grid.Grid} grid The grid this store will be bound to
* @param {Object} source The source data config object
*/
Ext.grid.PropertyColumnModel = Ext.extend(Ext.grid.ColumnModel, {
// private - strings used for locale support
nameText : 'Name',
valueText : 'Value',
dateFormat : 'm/j/Y',
trueText: 'true',
falseText: 'false',
constructor : function(grid, store){
var g = Ext.grid,
f = Ext.form;
share/pkgs/cmp-foundation-debug.js view on Meta::CPAN
/**
* @cfg {String} autoEl @hide
*/
});
Ext.reg('colorpalette', Ext.ColorPalette);/**
* @class Ext.DatePicker
* @extends Ext.Component
* <p>A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
* to allow browsing and selection of valid dates.</p>
* <p>All the string values documented below may be overridden by including an Ext locale file in
* your page.</p>
* @constructor
* Create a new DatePicker
* @param {Object} config The config object
* @xtype datepicker
*/
Ext.DatePicker = Ext.extend(Ext.BoxComponent, {
/**
* @cfg {String} todayText
* The text to display on the button that selects the current date (defaults to <code>'Today'</code>)
share/pkgs/data-list-views-debug.js view on Meta::CPAN
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':number("' + (c.format || this.format) + '")}');
Ext.list.NumberColumn.superclass.constructor.call(this, c);
}
});
Ext.reg('lvnumbercolumn', Ext.list.NumberColumn);
/**
* @class Ext.list.DateColumn
* @extends Ext.list.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column}
* for more details.</p>
*/
Ext.list.DateColumn = Ext.extend(Ext.list.Column, {
format: 'm/d/Y',
constructor : function(c) {
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':date("' + (c.format || this.format) + '")}');
Ext.list.DateColumn.superclass.constructor.call(this, c);
}
});
share/pkgs/ext-foundation-debug.js view on Meta::CPAN
*
* Note: The date string returned by the javascript Date object's toString() method varies
* between browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).
* For a given date string e.g. "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)",
* getTimezone() first tries to get the timezone abbreviation from between a pair of parentheses
* (which may or may not be present), failing which it proceeds to get the timezone abbreviation
* from the GMT offset portion of the date string.
* @return {String} The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).
*/
getTimezone : function() {
// the following list shows the differences between date strings from different browsers on a WinXP SP2 machine from an Asian locale:
//
// Opera : "Thu, 25 Oct 2007 22:53:45 GMT+0800" -- shortest (weirdest) date string of the lot
// Safari : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone (same as FF)
// FF : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone
// IE : "Thu Oct 25 22:54:35 UTC+0800 2007" -- (Asian system setting) look for 3-4 letter timezone abbrev
// IE : "Thu Oct 25 17:06:37 PDT 2007" -- (American system setting) look for 3-4 letter timezone abbrev
//
// this crazy regex attempts to guess the correct timezone abbreviation despite these differences.
// step 1: (?:\((.*)\) -- find timezone in parentheses
// step 2: ([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?) -- if nothing was found in step 1, find timezone from timezone offset portion of date string
share/pkgs/pkg-grid-foundation-debug.js view on Meta::CPAN
format : '0,000.00',
constructor: function(cfg){
Ext.grid.NumberColumn.superclass.constructor.call(this, cfg);
this.renderer = Ext.util.Format.numberRenderer(this.format);
}
});
/**
* @class Ext.grid.DateColumn
* @extends Ext.grid.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column}
* for more details.</p>
*/
Ext.grid.DateColumn = Ext.extend(Ext.grid.Column, {
/**
* @cfg {String} format
* A formatting string as used by {@link Date#format} to format a Date for this Column
* (defaults to <tt>'m/d/Y'</tt>).
*/
format : 'm/d/Y',
share/pkgs/pkg-grid-property-debug.js view on Meta::CPAN
/**
* @class Ext.grid.PropertyColumnModel
* @extends Ext.grid.ColumnModel
* A custom column model for the {@link Ext.grid.PropertyGrid}. Generally it should not need to be used directly.
* @constructor
* @param {Ext.grid.Grid} grid The grid this store will be bound to
* @param {Object} source The source data config object
*/
Ext.grid.PropertyColumnModel = Ext.extend(Ext.grid.ColumnModel, {
// private - strings used for locale support
nameText : 'Name',
valueText : 'Value',
dateFormat : 'm/j/Y',
trueText: 'true',
falseText: 'false',
constructor : function(grid, store){
var g = Ext.grid,
f = Ext.form;
share/pkgs/window-debug.js view on Meta::CPAN
*/
minProgressWidth : 250,
/**
* The minimum width in pixels of the message box if it is a prompt dialog. This is useful
* for setting a different minimum width than text-only dialogs may need (defaults to 250).
* @type Number
*/
minPromptWidth: 250,
/**
* An object containing the default button text strings that can be overriden for localized language support.
* Supported properties are: ok, cancel, yes and no. Generally you should include a locale-specific
* resource file for handling language support across the framework.
* Customize the default text like so: Ext.MessageBox.buttonText.yes = "oui"; //french
* @type Object
*/
buttonText : {
ok : "OK",
cancel : "Cancel",
yes : "Yes",
no : "No"
}
share/src/locale/ext-lang-ro.js view on Meta::CPAN
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
/**
* Romanian translations for ExtJS 2.1
* First released by Lucian Lature on 2007-04-24
* Changed locale for Romania (date formats) as suggested by keypoint
* on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
* Removed some useless parts
* Changed by: Emil Cazamir, 2008-04-24
* Fixed some errors left behind
* Changed by: Emil Cazamir, 2008-09-01
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">ÃncÄrcare...</div>';
if(Ext.grid.GridPanel){
share/src/util/Date.js view on Meta::CPAN
*
* Note: The date string returned by the javascript Date object's toString() method varies
* between browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).
* For a given date string e.g. "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)",
* getTimezone() first tries to get the timezone abbreviation from between a pair of parentheses
* (which may or may not be present), failing which it proceeds to get the timezone abbreviation
* from the GMT offset portion of the date string.
* @return {String} The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).
*/
getTimezone : function() {
// the following list shows the differences between date strings from different browsers on a WinXP SP2 machine from an Asian locale:
//
// Opera : "Thu, 25 Oct 2007 22:53:45 GMT+0800" -- shortest (weirdest) date string of the lot
// Safari : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone (same as FF)
// FF : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone
// IE : "Thu Oct 25 22:54:35 UTC+0800 2007" -- (Asian system setting) look for 3-4 letter timezone abbrev
// IE : "Thu Oct 25 17:06:37 PDT 2007" -- (American system setting) look for 3-4 letter timezone abbrev
//
// this crazy regex attempts to guess the correct timezone abbreviation despite these differences.
// step 1: (?:\((.*)\) -- find timezone in parentheses
// step 2: ([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?) -- if nothing was found in step 1, find timezone from timezone offset portion of date string
share/src/widgets/DatePicker.js view on Meta::CPAN
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
/**
* @class Ext.DatePicker
* @extends Ext.Component
* <p>A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
* to allow browsing and selection of valid dates.</p>
* <p>All the string values documented below may be overridden by including an Ext locale file in
* your page.</p>
* @constructor
* Create a new DatePicker
* @param {Object} config The config object
* @xtype datepicker
*/
Ext.DatePicker = Ext.extend(Ext.BoxComponent, {
/**
* @cfg {String} todayText
* The text to display on the button that selects the current date (defaults to <code>'Today'</code>)
share/src/widgets/MessageBox.js view on Meta::CPAN
*/
minProgressWidth : 250,
/**
* The minimum width in pixels of the message box if it is a prompt dialog. This is useful
* for setting a different minimum width than text-only dialogs may need (defaults to 250).
* @type Number
*/
minPromptWidth: 250,
/**
* An object containing the default button text strings that can be overriden for localized language support.
* Supported properties are: ok, cancel, yes and no. Generally you should include a locale-specific
* resource file for handling language support across the framework.
* Customize the default text like so: Ext.MessageBox.buttonText.yes = "oui"; //french
* @type Object
*/
buttonText : {
ok : "OK",
cancel : "Cancel",
yes : "Yes",
no : "No"
}
share/src/widgets/grid/Column.js view on Meta::CPAN
format : '0,000.00',
constructor: function(cfg){
Ext.grid.NumberColumn.superclass.constructor.call(this, cfg);
this.renderer = Ext.util.Format.numberRenderer(this.format);
}
});
/**
* @class Ext.grid.DateColumn
* @extends Ext.grid.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column}
* for more details.</p>
*/
Ext.grid.DateColumn = Ext.extend(Ext.grid.Column, {
/**
* @cfg {String} format
* A formatting string as used by {@link Date#format} to format a Date for this Column
* (defaults to <tt>'m/d/Y'</tt>).
*/
format : 'm/d/Y',
share/src/widgets/grid/PropertyGrid.js view on Meta::CPAN
/**
* @class Ext.grid.PropertyColumnModel
* @extends Ext.grid.ColumnModel
* A custom column model for the {@link Ext.grid.PropertyGrid}. Generally it should not need to be used directly.
* @constructor
* @param {Ext.grid.Grid} grid The grid this store will be bound to
* @param {Object} source The source data config object
*/
Ext.grid.PropertyColumnModel = Ext.extend(Ext.grid.ColumnModel, {
// private - strings used for locale support
nameText : 'Name',
valueText : 'Value',
dateFormat : 'm/j/Y',
trueText: 'true',
falseText: 'false',
constructor : function(grid, store){
var g = Ext.grid,
f = Ext.form;
share/src/widgets/list/Column.js view on Meta::CPAN
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':number("' + (c.format || this.format) + '")}');
Ext.list.NumberColumn.superclass.constructor.call(this, c);
}
});
Ext.reg('lvnumbercolumn', Ext.list.NumberColumn);
/**
* @class Ext.list.DateColumn
* @extends Ext.list.Column
* <p>A Column definition class which renders a passed date according to the default locale, or a configured
* {@link #format}. See the {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column}
* for more details.</p>
*/
Ext.list.DateColumn = Ext.extend(Ext.list.Column, {
format: 'm/d/Y',
constructor : function(c) {
c.tpl = c.tpl || new Ext.XTemplate('{' + c.dataIndex + ':date("' + (c.format || this.format) + '")}');
Ext.list.DateColumn.superclass.constructor.call(this, c);
}
});