chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1642272 [24/29] - in /chemistry/parts: branches/ tags/ trunk/ trunk/cmis-js/ trunk/cmis-js/components/ trunk/cmis-js/components/browser/ trunk/cmis-js/components/library/ trunk/cmis-js/lib/ trunk/cmis-js/samples/ trunk/cmis-js/samples/brow...
Date Fri, 28 Nov 2014 08:44:33 GMT
Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/lib/cmis.js
URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/lib/cmis.js?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/lib/cmis.js (added)
+++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/lib/cmis.js Fri Nov 28 08:44:28 2014
@@ -0,0 +1,1364 @@
+(function(root, factory) {
+	'use strict';
+	root.cmis = factory();
+}(this, function() {
+	'use strict';
+
+	/**
+	 * @class cmis global object
+	 */
+
+	var lib = {};
+
+	/**
+	 * @return {CmisSession}
+	 * 
+	 */
+	lib.createSession = function(url) {
+
+		/**
+		 * @class CmisSession
+		 * 
+		 * the session is the enrty point for all cmis requests before making
+		 * any request, session.loadRepository() must be invoked
+		 * 
+		 */
+		var session = {};
+
+		/**
+		 * sets token for authentication
+		 * 
+		 * @param {String}
+		 *            token
+		 * @return {CmisSession}
+		 */
+		session.setToken = function(token) {
+			_token = token;
+			return session;
+		};
+
+		/**
+		 * sets credentials for authentication
+		 * 
+		 * @param {String}
+		 *            username
+		 * @param {String}
+		 *            password
+		 * @return {CmisSession}
+		 */
+		session.setCredentials = function(username, password) {
+			_username = username;
+			_password = password;
+			return session;
+		};
+
+		/**
+		 * get credentials for authentication
+		 * 
+		 * @return username:password
+		 */
+		session.getCredentials = function() {
+			return _username + ":" + _password;
+		};
+
+		/**
+		 * get token for authentication
+		 * 
+		 * @return token
+		 */
+		session.getToken = function() {
+			return _token;
+		};
+
+		/**
+		 * Connects to a cmis server and retrieves repositories, token or
+		 * credentials must already be set
+		 * 
+		 */
+		session.loadRepositories = function(options) {
+			var _options;
+			if (options == null)
+				_options = {
+					request : {}
+				};
+			else
+				_options = $.extend(true, {}, options);
+
+			_options.request.success = function(data) {
+				for ( var repo in data) {
+					session.defaultRepository = data[repo];
+					break;
+				}
+				session.repositories = data;
+
+				if (options != null && options.request != null && options.request.success != null)
+					options.request.success(data);
+			};
+
+			new CmisRequest(_get(url, _options));
+		};
+
+		/**
+		 * gets an object by objectId
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            returnVersion (if set must be one of 'this', latest' or
+		 *            'latestmajor')
+		 * @param {Object}
+		 *            options (possible options: filter, renditionFilter,
+		 *            includeAllowableActions, includeRelationships, includeACL,
+		 *            includePolicyIds, succinct, token)
+		 */
+		session.getObject = function(objectId, returnVersion, options) {
+			options = _fill(options);
+			options.cmisselector = 'object';
+			options.objectId = objectId;
+			if (returnVersion && returnVersion != 'this') {
+				options.major = (returnVersion == 'latestmajor');
+			}
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * gets an object by path
+		 * 
+		 * @param {String}
+		 *            path
+		 * @param {Object}
+		 *            options
+		 */
+		session.getObjectByPath = function(path, options) {
+			options = _fill(options);
+			options.cmisselector = 'object';
+
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl + path, options));
+		};
+
+		/**
+		 * creates a new folder
+		 * 
+		 * @param {String}
+		 *            parentId
+		 * @param {String/Object}
+		 *            input if `input` is a string used as the folder name, if
+		 *            `input` is an object it must contain required properties:
+		 *            {'cmis:name': 'aFolder', 'cmis:objectTypeId':
+		 *            'cmis:folder'}
+		 */
+		session.createFolder = function(parentId, input, policies, addACEs, removeACEs, options) {
+			var options = _fill(options);
+			if ('string' == typeof input) {
+				input = {
+					'cmis:name' : input
+				};
+			}
+			var properties = input || {};
+			if (!properties['cmis:objectTypeId']) {
+				properties['cmis:objectTypeId'] = 'cmis:folder';
+			}
+			options.objectId = parentId;
+			_setProps(properties, options);
+			_setACEs(addACEs, 'add', options);
+			_setACEs(removeACEs, 'remove', options);
+			options.repositoryId = session.defaultRepository.repositoryId;
+			options.cmisaction = 'createFolder';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * deletes an object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            allVersions
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.deleteObject = function(objectId, allVersions, options) {
+			var options = _fill(options);
+			options.repositoryId = session.defaultRepository.repositoryId;
+			options.cmisaction = 'delete';
+			options.objectId = objectId;
+			options.allVersions = !!allVersions;
+
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * gets repository informations
+		 * 
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getRepositoryInfo = function(options) {
+			var options = _fill(options);
+			options.cmisselector = 'repositoryInfo';
+			return new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * gets the types that are immediate children of the specified typeId,
+		 * or the base types if no typeId is provided
+		 * 
+		 * @param {String}
+		 *            typeId
+		 * @param {Boolean}
+		 *            includePropertyDefinitions
+		 * @param {Object}
+		 *            options (possible options: maxItems, skipCount, token)
+		 */
+		session.getTypeChildren = function(typeId, includePropertyDefinitions, options) {
+			options = _fill(options);
+			if (typeId) {
+				options.typeId = typeId;
+			}
+			options.includePropertyDefinitions = includePropertyDefinitions;
+			options.cmisselector = 'typeChildren'
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * gets all types descended from the specified typeId, or all the types
+		 * in the repository if no typeId is provided
+		 * 
+		 * @param {String}
+		 *            typeId
+		 * @param {Integer}
+		 *            depth
+		 * @param {Boolean}
+		 *            includePropertyDefinitions
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getTypeDescendants = function(typeId, depth, includePropertyDefinitions, options) {
+			options = _fill(options);
+			if (typeId) {
+				options.typeId = typeId;
+			}
+			options.depth = depth || 1;
+			options.includePropertyDefinitions = includePropertyDefinitions;
+			options.cmisselector = 'typeDescendants'
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+
+		};
+
+		/**
+		 * gets definition of the specified type
+		 * 
+		 * @param {String}
+		 *            typeId
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getTypeDefinition = function(typeId, options) {
+			options = _fill(options);
+			options.typeId = typeId;
+			options.cmisselector = 'typeDefinition'
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+
+		};
+
+		/**
+		 * gets the documents that have been checked out in the repository
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: filter, maxItems, skipCount,
+		 *            orderBy, renditionFilter, includeAllowableActions,
+		 *            includeRelationships, succinct, token)
+		 */
+		session.getCheckedOutDocs = function(objectId, options) {
+			options = _fill(options);
+			if (objectId) {
+				options.objectId = objectId;
+			}
+			options.cmisselector = 'checkedOut'
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+
+		};
+
+		/**
+		 * creates a new document
+		 * 
+		 * @param {String}
+		 *            parentId
+		 * @param {String/Buffer/Blob}
+		 *            content
+		 * @param {String/Object}
+		 *            input if `input` is a string used as the document name, if
+		 *            `input` is an object it must contain required properties:
+		 *            {'cmis:name': 'docName', 'cmis:objectTypeId':
+		 *            'cmis:document'}
+		 * @param {String}
+		 *            mimeType
+		 * @param {String}
+		 *            versioningState (if set must be one of: "none", "major",
+		 *            "minor", "checkedout")
+		 * @param {Object}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.createDocument = function(parentId, file, input, mimeType, versioningState, policies, addACEs, removeACEs, options) {
+			var options = _fill(options);
+			if ('string' == typeof input) {
+				input = {
+					'cmis:name' : input
+				};
+			}
+			var properties = input || {};
+			if (!properties['cmis:objectTypeId']) {
+				properties['cmis:objectTypeId'] = 'cmis:document';
+			}
+			if (versioningState) {
+				options.versioningState = versioningState;
+			}
+
+			options.objectId = parentId;
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+			if (removeACEs) {
+				_removeACEs(removeACEs, 'remove', options);
+			}
+			options.repositoryId = session.defaultRepository.repositoryId;
+			options.cmisaction = 'createDocument';
+
+			new CmisRequest(_postMultipart(session.defaultRepository.rootFolderUrl, options, file, mimeType, properties['cmis:name']));
+		};
+
+		/**
+		 * creates a document object as a copy of the given source document
+		 * 
+		 * @param {String}
+		 *            parentId
+		 * @param {String}
+		 *            sourceId
+		 * @param {String/Buffer/Blob}
+		 *            content
+		 * @param {String/Object}
+		 *            input if `input` is a string used as the document name, if
+		 *            `input` is an object it must contain required properties:
+		 *            {'cmis:name': 'docName', 'cmis:objectTypeId':
+		 *            'cmis:document'}
+		 * @param {Stirng}
+		 *            mimeType
+		 * @param {String}
+		 *            versioningState (if set must be one of: "none", "major",
+		 *            "minor", "checkedout")
+		 * @param {Array}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.createDocumentFromSource = function(parentId, sourceId, content, input, mimeType, versioningState, policies, addACEs, removeACEs, options) {
+			var options = _fill(options);
+			if ('string' == typeof input) {
+				input = {
+					'cmis:name' : input
+				};
+			}
+			var properties = input || {};
+			if (!properties['cmis:objectTypeId']) {
+				properties['cmis:objectTypeId'] = 'cmis:document';
+			}
+			if (versioningState) {
+				options.versioningState = versioningState;
+			}
+			options.objectId = parentId;
+			options.sourceId = sourceId;
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (removeACEs) {
+				_removeACEs(removeACEs, 'remove', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+			options.repositoryId = session.defaultRepository.repositoryId;
+			options.cmisaction = 'createDocumentFromSource';
+
+			new CmisRequest(_postMultipart(session.defaultRepository.rootFolderUrl, options, content, mimeType, properties['cmis:name']));
+		};
+
+		/**
+		 * Creates a relationship
+		 * 
+		 * @param {Object}
+		 *            properties
+		 * @param {Object}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.createRelationship = function(properties, policies, addACES, removeACEs, options) {
+			options = _fill(options);
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (removeACEs) {
+				_removeACEs(removeACEs, 'remove', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+			options.cmisaction = 'createRelationship';
+			new CmisRequest(_post(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * Creates a policy
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Object}
+		 *            properties
+		 * @param {Object}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.createPolicy = function(folderId, properties, policies, addACES, removeACEs, options) {
+			options = _fill(options);
+			options.objectId = folderId;
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (removeACEs) {
+				_removeACEs(removeACEs, 'remove', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+			options.cmisaction = 'createPolicy';
+			return new CmisRequest(_post(session.defaultRepository.rootFolderUrl).send(options));
+		};
+
+		/**
+		 * Creates an item
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Object}
+		 *            properties
+		 * @param {Object}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.createItem = function(folderId, properties, policies, addACEs, removeACEs, options) {
+			options = _fill(options);
+			options.objectId = folderId;
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (removeACEs) {
+				_removeACEs(removeACEs, 'remove', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+			options.cmisaction = 'createItem';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Updates properties of specified objects
+		 * 
+		 * @param {Array}
+		 *            objectIds
+		 * @param {Object}
+		 *            properties
+		 * @param {Array}
+		 *            addSecondaryTypeIds
+		 * @param {Array}
+		 *            removeSecondaryTypeIds
+		 * @param {Options}
+		 *            options (possible options: token)
+		 */
+		session.bulkUpdateProperties = function(objectIds, properties, addSecondaryTypeIds, removeSecondaryTypeIds, options) {
+			var options = _fill(options);
+			for (var i = objectIds.length - 1; i >= 0; i--) {
+				options['objectId[' + i + ']'] = objectIds[i];
+			}
+			options.objectIds = objectIds;
+			_setProps(properties, options);
+			if (addSecondaryTypeIds) {
+				_setSecondaryTypeIds(addSecondaryTypeIds, 'add', options);
+			}
+			if (removeSecondaryTypeIds) {
+				_setSecondaryTypeIds(removeSecondaryTypeIds, 'remove', options);
+			}
+			options.cmisaction = 'bulkUpdate';
+			new CmisRequest(_post(session.defaultRepository.repositoryUrl, options));
+
+		};
+
+		/**
+		 * performs a cmis query against the repository
+		 * 
+		 * @param {String}
+		 *            statement
+		 * @param {Boolean}
+		 *            searchAllversions
+		 * @param {Object}
+		 *            options (possible options: maxItems, skipCount, orderBy,
+		 *            renditionFilter, includeAllowableActions,
+		 *            includeRelationships, succinct, token)
+		 */
+		session.query = function(statement, searchAllversions, options) {
+			options = _fill(options);
+			options.cmisaction = 'query';
+			options.q = statement;
+			options.searchAllversions = !!searchAllversions;
+			new CmisRequest(_post(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * gets the changed objects, the list object should contain the next
+		 * change log token.
+		 * 
+		 * @param {String}
+		 *            changeLogToken
+		 * @param {Boolean}
+		 *            includeProperties
+		 * @param {Boolean}
+		 *            includePolicyIds
+		 * @param {Boolean}
+		 *            includeACL
+		 * @param {Object}
+		 *            options (possible options: maxItems, succinct, token)
+		 */
+		session.getContentChanges = function(changeLogToken, includeProperties, includePolicyIds, includeACL, options) {
+			options = _fill(options);
+			options.cmisselector = 'contentChanges';
+			if (changeLogToken) {
+				options.changeLogToken = changeLogToken;
+			}
+			options.includeProperties = !!includeProperties;
+			options.includePolicyIds = !!includePolicyIds;
+			options.includeACL = !!includeACL;
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * Creates a new type
+		 * 
+		 * @param {Object}
+		 *            type
+		 * @param {Object}
+		 *            options (possible options: token)
+		 * 
+		 */
+		session.createType = function(type, options) {
+			options = _fill(options);
+			options.cmisaction = 'createType';
+			options.type = JSON.stringify(type);
+			return new CmisRequest(_post(session.defaultRepository.repositoryUrl).send(options));
+		};
+
+		/**
+		 * Updates a type definition
+		 * 
+		 * @param {Object}
+		 *            type
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.updateType = function(type, options) {
+			options = _fill(options);
+			options.cmisaction = 'updateType';
+			options.type = JSON.stringify(type);
+			return new CmisRequest(_post(session.defaultRepository.repositoryUrl).send(options));
+
+		};
+
+		/**
+		 * Deletes specified type
+		 * 
+		 * @param {String}
+		 *            typeId
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.deleteType = function(typeId, options) {
+			options = _fill(options);
+			options.cmisaction = 'deleteType';
+			options.typeId = typeId;
+			return new CmisRequest(_post(session.defaultRepository.repositoryUrl).send(options));
+		};
+
+		/**
+		 * gets last result
+		 * 
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getLastResult = function(options) {
+			options = _fill(options);
+			options.cmisaction = 'lastResult';
+			new CmisRequest(_get(session.defaultRepository.repositoryUrl, options));
+		};
+
+		/**
+		 * Returns children of object specified by id
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: maxItems, skipCount, filter,
+		 *            orderBy, renditionFilter, includeAllowableActions,
+		 *            includeRelationships, includePathSegment, succinct, token)
+		 */
+		session.getChildren = function(objectId, options) {
+			options = _fill(options);
+			options.cmisselector = 'children';
+			options.objectId = objectId;
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets all descendants of specified folder
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Integer}
+		 *            depth
+		 * @param {Object}
+		 *            options (possible options: filter, renditionFilter,
+		 *            includeAllowableActions, includeRelationships,
+		 *            includePathSegment, succinct, token)
+		 */
+		session.getDescendants = function(folderId, depth, options) {
+			options = _fill(options);
+			options.cmisselector = 'descendants';
+			if (depth) {
+				options.depth = depth;
+			}
+			options.objectId = folderId;
+			return new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets the folder tree of the specified folder
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Integer}
+		 *            depth
+		 * @param {Object}
+		 *            options (possible options: filter, renditionFilter,
+		 *            includeAllowableActions, includeRelationships,
+		 *            includePathSegment, succinct, token)
+		 */
+		session.getFolderTree = function(folderId, depth, options) {
+			options = _fill(options);
+			options.cmisselector = 'folderTree';
+			if (depth) {
+				options.depth = depth;
+			}
+			options.objectId = folderId;
+
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets the parent folder of the specified folder
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.getFolderParent = function(folderId, options) {
+			options = _fill(options);
+			options.cmisselector = 'parent';
+			options.objectId = folderId;
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets the folders that are the parents of the specified object
+		 * 
+		 * @param {String}
+		 *            folderId
+		 * @param {Object}
+		 *            options (possible options: filter, renditionFilter,
+		 *            includeAllowableActions, includeRelationships,
+		 *            includePathSegment, succinct, token)
+		 */
+		session.getParents = function(objectId, options) {
+			options = _fill(options);
+			options.cmisselector = 'parents';
+			options.objectId = objectId;
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets the allowable actions of the specified object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: filter, maxItems, skipCount,
+		 *            orderBy, renditionFilter, includeAllowableActions,
+		 *            includeRelationships, succinct, token)
+		 */
+		session.getAllowableActions = function(objectId, options) {
+			options = _fill(options);
+			options.cmisselector = 'allowableActions';
+			options.objectId = objectId;
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets the properties of the specified object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            returnVersion (if set must be one of 'this', latest' or
+		 *            'latestmajor')
+		 * @param {Object}
+		 *            options (possible options: filter, succinct, token)
+		 */
+		session.getProperties = function(objectId, returnVersion, options) {
+			options = _fill(options);
+			options.cmisselector = 'properties';
+			options.objectId = objectId;
+			if (returnVersion && returnVersion != 'this') {
+				options.major = (returnVersion == 'latestmajor');
+			}
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Gets document content, WARNING: will not work for binary files
+		 * (images, documents, ecc..)
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            download
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getContentStream = function(objectId, download, options) {
+			options = _fill(options);
+			options.cmisselector = 'content';
+			options.objectId = objectId;
+			options.download = !!download;
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options), true);
+		};
+
+		/**
+		 * Gets document content URL
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            download
+		 * @param {Object}
+		 *            options (possible options: token)
+		 * @return String
+		 */
+		session.getContentStreamURL = function(objectId, download, options) {
+			options = _fill(options);
+			options.cmisselector = 'content';
+			options.objectId = objectId;
+			options.download = !!download;
+
+			var pairs = [];
+			for ( var key in options) {
+				pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(options[key]));
+			}
+			var query = pairs.join('&');
+			return session.defaultRepository.rootFolderUrl + '?' + query;
+		};
+
+		/**
+		 * gets document renditions
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: renditionFilter, maxItems,
+		 *            skipCount, token)
+		 */
+		session.getRenditions = function(objectId, options) {
+			options = _fill(options);
+			options.cmisselector = 'renditions';
+			options.objectId = objectId;
+			options.renditionFilter = options.renditionFilter || '*';
+
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+
+		};
+
+		/**
+		 * Updates properties of specified object
+		 * 
+		 * @param {Object}
+		 *            properties
+		 * @param {Options}
+		 *            options (possible options: changeToken, succinct, token)
+		 */
+		session.updateProperties = function(objectId, properties, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			_setProps(properties, options);
+			options.cmisaction = 'update';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Moves an object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            targeFolderId
+		 * @param {String}
+		 *            sourceFolderId
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.moveObject = function(objectId, sourceFolderId, targetFolderId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'move';
+			options.targetFolderId = targetFolderId;
+			options.sourceFolderId = sourceFolderId;
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Deletes a folfder tree
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            allVersions
+		 * @param {String}
+		 *            unfileObjects (if set must be one of 'unfile',
+		 *            'deletesinglefiled', 'delete')
+		 * @param {Boolean}
+		 *            continueOnFailure
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.deleteTree = function(objectId, allVersions, unfileObjects, continueOnFailure, options) {
+			var options = _fill(options);
+			options.repositoryId = session.defaultRepository.repositoryId;
+			options.cmisaction = 'deleteTree';
+			options.objectId = objectId;
+			options.allVersions = !!allVersions;
+			if (unfileObjects) {
+				options.unfileObjects = unfileObjects;
+			}
+			options.continueOnFailure = !!continueOnFailure;
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+
+		};
+
+		/**
+		 * Updates content of document
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String/Buffer}
+		 *            content
+		 * @param {Boolean}
+		 *            overwriteFlag
+		 * @param {String}
+		 *            mimeType
+		 * @param changeToken
+		 * @param {Object}
+		 *            options (possible options: changeToken, succinct, token)
+		 */
+		session.setContentStream = function(objectId, content, overwriteFlag, mimeType, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.overwriteFlag = !!overwriteFlag;
+			options.cmisaction = 'setContent';
+			new CmisRequest(_postMultipart(session.defaultRepository.rootFolderUrl, options, content, mimeType));
+		};
+
+		/**
+		 * Appends content to document
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String/Buffer}
+		 *            content
+		 * @param {Boolean}
+		 *            isLastChunk
+		 * @param {Object}
+		 *            options
+		 * @return {CmisRequest} (possible options: changeToken, succinct,
+		 *         token)
+		 */
+		session.appendContentStream = function(objectId, content, isLastChunk, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'appendContent';
+			options.isLastChunk = !!isLastChunk;
+			new CmisRequest(_postMultipart(session.defaultRepository.rootFolderUrl, options, content));
+		};
+
+		/**
+		 * deletes object content
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: changeToken, succinct, token)
+		 */
+		session.deleteContentStream = function(objectId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'deleteContent';
+			return new CmisRequest(_post(session.defaultRepository.rootFolderUrl).send(options));
+		};
+
+		/**
+		 * Adds specified object to folder
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            folderId
+		 * @param {Boolean}
+		 *            allVersions
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.addObjectToFolder = function(objectId, folderId, allVersions, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'addObjectToFolder';
+			options.allVersions = !!allVersions;
+			options.folderId = folderId;
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * Removes specified object from folder
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            folderId
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.removeObjectFromFolder = function(objectId, folderId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'removeObjectFromFolder';
+			options.folderId = folderId;
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * checks out a document
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options
+		 */
+		session.checkOut = function(objectId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'checkOut';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+
+		};
+
+		/**
+		 * cancels a check out
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.cancelCheckOut = function(objectId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisaction = 'cancelCheckOut';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+
+		};
+
+		/**
+		 * checks in a document, if needed mimetype may be specified as
+		 * input['cmis:contentStreamMimeType'] or as option.mimeType
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            major
+		 * @param {String/Object}
+		 *            input if `input` is a string used as the document name, if
+		 *            `input` is an object it must contain required properties:
+		 *            {'cmis:name': 'docName'}
+		 * @param {String/Buffer}
+		 *            content
+		 * @param {String}
+		 *            comment
+		 * @param {Array}
+		 *            policies
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {Object}
+		 *            options
+		 */
+		session.checkIn = function(objectId, major, input, content, comment, policies, addACEs, removeACEs, options) {
+			var options = _fill(options);
+			if ('string' == typeof input) {
+				input = {
+					'cmis:name' : input
+				};
+			}
+			var properties = input || {};
+			if (comment) {
+				options.checkInComment = comment;
+			}
+			options.major = !!major;
+			options.objectId = objectId;
+			_setProps(properties, options);
+			if (addACEs) {
+				_setACEs(addACEs, 'add', options);
+			}
+			if (removeACEs) {
+				_setACEs(removeACEs, 'remove', options);
+			}
+			if (policies) {
+				_setPolicies(policies, options);
+			}
+
+			options.cmisaction = 'checkIn';
+
+			new CmisRequest(_postMultipart(session.defaultRepository.rootFolderUrl, options, content, options.mimeType || properties['cmis:contentStreamMimeType'], properties['cmis:name']));
+
+		};
+
+		/**
+		 * gets versions of object
+		 * 
+		 * @param {Object}
+		 *            options (possible options: filter,
+		 *            includeAllowableActions, succinct, token)
+		 */
+		session.getAllVersions = function(objectId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisselector = 'versions';
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+
+		};
+
+		/**
+		 * gets object relationships
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            includeSubRelationshipTypes
+		 * @param {String}
+		 *            relationshipDirection
+		 * @param {String}
+		 *            typeId
+		 * @param {Object}
+		 *            options (possible options: maxItems, skipCount,
+		 *            includeAllowableActions, filter, succinct, token)
+		 */
+		session.getObjectRelationships = function(objectId, includeSubRelationshipTypes, relationshipDirection, typeId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.includeSubRelationshipTypes = !!includeSubRelationshipTypes;
+			options.relationshipDirection = relationshipDirection || 'either';
+			if (typeId) {
+				options.typeId = typeId;
+			}
+			options.cmisselector = 'relationships';
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * gets object applied policies
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            options (possible options: filter, succinct, token)
+		 */
+		session.getAppliedPolicies = function(objectId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.cmisselector = 'policies';
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * applies policy to object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            policyId
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.applyPolicy = function(objectId, policyId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.policyId = policyId;
+			options.cmisaction = 'applyPolicy';
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * removes policy from object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {String}
+		 *            policyId
+		 * @param {Object}
+		 *            options (possible options: succinct, token)
+		 */
+		session.removePolicy = function(objectId, policyId, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.policyId = policyId;
+			options.cmisaction = 'removePolicy';
+			return new CmisRequest(_post(session.defaultRepository.rootFolderUrl).send(options));
+
+		};
+
+		/**
+		 * applies ACL to object
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Object}
+		 *            addACEs
+		 * @param {Object}
+		 *            removeACEs
+		 * @param {String}
+		 *            propagation
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.applyACL = function(objectId, addACEs, removeACEs, propagation, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.propagation = propagation;
+			options.cmisaction = 'applyACL';
+			_setACEs(addACEs, 'add', options);
+			_setACEs(removeACEs, 'remove', options);
+			new CmisRequest(_post(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * gets object ACL
+		 * 
+		 * @param {String}
+		 *            objectId
+		 * @param {Boolean}
+		 *            onlyBasicPermissions
+		 * @param {Object}
+		 *            options (possible options: token)
+		 */
+		session.getACL = function(objectId, onlyBasicPermissions, options) {
+			var options = _fill(options);
+			options.objectId = objectId;
+			options.onlyBasicPermissions = !!onlyBasicPermissions;
+			options.cmisselector = 'acl';
+			new CmisRequest(_get(session.defaultRepository.rootFolderUrl, options));
+		};
+
+		/**
+		 * @class CmisRequest jQuery wrapper used to manage async requests
+		 */
+		function CmisRequest(req) {
+			$.ajax(req);
+		}
+
+		// Private members and methods
+		var _url = url;
+		var _token = null;
+		var _username = null;
+		var _password = null;
+		var _afterlogin;
+
+		var _http = function(method, options, url) {
+			var r = {
+				type : method,
+				dataType : "json",
+				url : url,
+				data : options,
+				crossDomain : true
+			};
+
+			// If the basic authentication is configured
+			if (_username && _password) {
+				var tok = _username + ":" + _password;
+				var hash = btoa(tok);
+				if (!r.headers)
+					r.headers = new Object();
+				r.headers["Authorization"] = "Basic " + hash;
+			}
+
+			// If we use the authentication with token
+			if (_token) {
+				var tokenName = Object.keys(_token)[0];
+				var tokenValue = _token[tokenName];
+
+				if (method == "GET")
+					r.data[tokenName] = tokenValue;
+				else {
+					// Append the ticket in the URL
+					if (r.url.indexOf("?") > -1)
+						r.url += "&" + tokenName + "=" + tokenValue;
+					else
+						r.url += "?" + tokenName + "=" + tokenValue;
+				}
+			}
+
+			// Merge with options.request
+			if (!(typeof options === 'undefined') && !(typeof options.request === 'undefined')) {
+				for ( var attrName in options.request) {
+					r[attrName] = options.request[attrName];
+				}
+
+				// Delete request options
+				delete r.data.request;
+			}
+
+			return r;
+		};
+
+		var _get = function(url, options) {
+			return _http('GET', options, url);
+		};
+
+		var _post = function(url, options) {
+			return _http('POST', options, url);
+		};
+
+		var _postMultipart = function(url, options, file, mimeType) {
+			var req = _post(url, options);
+
+			var data = new FormData();
+			if (file)
+				data.append('content', file);
+			for ( var k in options) {
+				data.append(k, options[k]);
+			}
+
+			req.data = data;
+			req.contentType = false;
+			req.processData = false;
+
+			return req;
+		}
+
+		var _defaultOptions = {
+		// succinct : true
+		};
+
+		var _fill = function(options) {
+			var o = {};
+			for ( var k in _defaultOptions) {
+				o[k] = _defaultOptions[k];
+			}
+			if (options === undefined) {
+				return o;
+			}
+			for (k in options) {
+				o[k] = options[k];
+			}
+
+			return o;
+		};
+
+		var _setProps = function(properties, options) {
+			var i = 0;
+			for ( var id in properties) {
+				options['propertyId[' + i + ']'] = id;
+				options['propertyValue[' + i + ']'] = properties[id];
+				i++;
+			}
+		};
+
+		var _setPolicies = function(policies, options) {
+			for (var i = 0; i < policies.length; i++) {
+				options['policy[' + i + ']'] = policies[i];
+			}
+		};
+
+		// action must be either 'add' or 'remove'
+		var _setACEs = function(ACEs, action, options) {
+			var i = 0;
+			for ( var id in ACEs) {
+				options[action + 'ACEPrincipal[' + i + ']'] = id;
+				var ace = ACEs[id];
+				for (var j = 0; j < ace.length; j++) {
+					options[action + 'ACEPermission[' + i + '][' + j + ']'] = ACEs[id][j];
+				}
+				i++;
+			}
+		};
+
+		// action must be either 'add' or 'remove'
+		var _setSecondaryTypeIds = function(secondaryTypeIds, action, options) {
+			for (var i = 0; i < secondaryTypeIds.length; i++) {
+				options[action + 'SecondaryTypeId[' + i + ']'] = secondaryTypeIds[i];
+			}
+		};
+
+		return session;
+	};
+
+	return lib;
+
+}));

Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/lib/cmis.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/library.css
URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/library.css?rev=1642272&view=auto
==============================================================================
--- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/library.css (added)
+++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/library.css Fri Nov 28 08:44:28 2014
@@ -0,0 +1,659 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+ .cmislibrary {
+	cursor: default;
+	font-size: 13px;
+}
+
+#cmisbrowser-templates {
+	display: none;
+}
+
+#cmis-library-row-template {
+	display: table-row;
+}
+
+.cmislibrary .noDocument {
+	width: 100%;
+	font-style: italic;
+	text-align: center;
+	padding-top: 10px;
+	padding-bottom: 10px;
+	color: grey;
+}
+
+.cmislibrary table {
+	width: 100%;
+	padding: 5px;
+}
+
+.cmislibrary thead td.actions {
+	text-align: center;
+}
+
+.cmislibrary .cmis-library-cell.actions {
+	
+}
+
+.cmislibrary .cmis-library-row {
+	
+}
+
+.cmislibrary tbody .cmis-library-row:hover {
+	background-color: #E5F2FB;
+}
+
+.cmislibrary tbody .cmis-library-row .cmis-library-cell.more-actions {
+	width: 32px;
+	min-width: 32px;
+	text-align: center;
+}
+
+.cmislibrary .more-actions-popup {
+	display: none;
+	position: fixed;
+	width: 205px !important;
+	background-color: white;
+	border: 1px solid #444;
+	padding: 10px !important;
+	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 7px 0px;
+}
+
+.cmislibrary .more-actions-popup div.icon {
+	width: 185px !important;
+	text-align: left;
+	margin-top: 0px;
+}
+
+.cmislibrary tbody .cmis-library-row:hover .cmis-library-cell.more-actions
+	{
+	background-color: #CDE6F9;
+}
+
+.cmislibrary .cmis-library-cell {
+	padding: 2px 0;
+	min-width: 100px;
+	border-bottom: 1px solid #EEE;
+}
+
+.cmislibrary .tableHeader .cmis-library-cell {
+	padding: 10px 0;
+	color: grey;
+	font-weight: bold;
+}
+
+.cmislibrary .documentdetail,.cmislibrary .documentversion,.cmislibrary .documentpreview,.cmislibrary .advanced-search-forms
+	{
+	width: 100%;
+	display: none;
+}
+
+.cmislibrary .documentdetail a {
+	text-decoration: none;
+	color: #444444;
+}
+
+.cmislibrary .cmis-library-header .cmis-library-cell.icon {
+	width: 25px;
+	min-width: 25px;
+	background-position: 3px;
+}
+
+.cmislibrary .cmis-library-row .cmis-library-cell.icon {
+	width: 25px;
+	height: 16px;
+	min-width: 25px;
+	background-position: 3px !important;
+}
+
+.cmislibrary .cmis-library-row[baseTypeId="cmis:document"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAEbgAABG4B0KOyaAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACUSURBVDiN7ZIxCsJAEEXfFy8gpPUWHkjxJIKFkCqeIAdI6QFEPI526b+NK0NcYergh4Hh/523sLOyDYCkC/DgWyvgCexdDkfZ5u33pY8FbIEjcAY0zReVG2u6Azegk6QYZAHYHmqQLGAn6QRsgDXQlmCZGB6A68Q7pAG2R2CMnqTPNtJv8Et/wCwA8SM1kvrkXFOaF+RNPplrW410AAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[baseTypeId="cmis:folder"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAEbgAABG4B0KOyaAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACWSURBVDiN1ZMhDsJAEEXf35CA4BBgOFdvwjWQGCz3AIOnoroeASGbj2lpQit2WQxP/sz7mREjQMCcgWj7SSICDsANcJetgK3tU2rB3nb1DqQFsEt0z7PP1PYdqEbjUw3SUcAFuDKckIqAjYDG9jpT7jdoAhC/kTtiKJABCEBb4LcBqAsK6p+c8OcFU8+U4y7F+J1zeLwAMmknXSmGUikAAAAASUVORK5CYII=) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="application/pdf"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAxklEQVR4Xo2RUQ2DQBBEt6QCkICEc1BwUAelCnpIqALqoDho6gAHnIQ6AAd0ks4H2dCBl7xALtzssnuwHwMMts0DNuYo4AxzEZDzmxE+bYX5z6XSfRN8SCaqRvhyIQlW8AxbaEfTfESnETbqF0qeBzETy3ZUn6CHZzqg5rM1QSbWduPACk69pMGIGmJkm5fFOutF63cVEFm9g2945Xng+k6wN8fMSgPfWyhZ20LNKoktbuIDOljRyQRqiL3tI/cBCY5wN7xjXw2KLRFhErXQAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAt0lEQVR4Xp2T0Q3CMAxEDeoAGaEjdANgA1Zgg3SClglgg8IkjNBsEjYoJ3EfliVs2pOeZF2ik20lO/lqBp3EuoPemi1YQHICEu9UMIkVD10xoLMhe1mnAk7gDG5AGnEUdJpB744Q7eTXCKNaWEsqvZEB72iJM70XWegpmQ4MFxZHQs/ICSjgKhTrEgVYDrZeE5BV68I6/xvQgUGN8mA98CwMmEBSYU9Q6E3eC0tbHlKjWq0b/oV8AMINLOAVmhMjAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="image/tiff"] .cmis-library-cell.icon,.cmislibrary .cmis-library-row[mimetype="image/jpeg"] .cmis-library-cell.icon,.cmislibrary .cmis-library-row[mimetype="image/png"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAABrUlEQVQ4jY1TwWoTURQ9txkyxWI2YjFJs3kZtBAIgbyXpWTpqmBdtFr3/QJdWIQU/IHiNyjF6aabbvyD8N4QcOUmiKSlVEqbOHQ1c68bB6bRJjmrd98799xz4D7qdrvLcRx/EpFnAO5hMdwAOBmPx6+9OI53RGQZwEPn3M0i3c1mc6VYLB6VSqVXpLXuAYCIXAC4v6CD30S0CgBedkNEq9ba3n/IpLXeYmaJougLAMmGAsDSNNsY0zLGtLK63W6/BHAO4JfWemuaf0ug0+k8ZuZNZn6htX7yNxqJSCIiCQCaKZCm6a5Sal8p1WPmXWPMoyiKPhPRGhGVrbWHMwUAvA/DMA3DMPV9f4+Z3zUajRVr7WGhUPiutW5NCxQqlUo3K5xzX7PzaDRKarVa3/O8XrlcPmPm50S0Xq1WrwGs3+XgFvr9/mWSJAcADur1+gdr7T4zb8+K8A8Gg8EPZn47HA7fABCl1F7+Pb9IlwCqdwkR0VMA30TkCsApET0AcovknPs4z00e2eC5EeZhSURGImKCIPAXbQqCwGfmDoCflPvOG8hFmoNERI4nk8nOH4uttxLbV8EpAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="application/zip"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAi0lEQVR4Xp2Q0Q2EMAxDE8QAGeFGYIXbgFVuAmCCuw0Y6boJbACWyJc/WtWW3keTyrLj9ugPJmvrBz48fIELRMUg8s8BdmPlkrXS/AITmwygZug0L+ANZvAVEhC05PfaukmtgpMxc0o3YKQEzNhIYGqCRDfYssamGixZY1Fv4EqF6KgenKCAw/pUgN3qACO6aKyVugAAAABJRU5ErkJggg==) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="application/vnd.ms-powerpoint"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAoklEQVR4Xp2T0Q3CMAxEXZQBMgIjdAPEBukmdAM2gA0YCTYoG6QbhJPwh3UfOTVPel+JLefkTPbnDWfTPOFqxBk2mDuF2e9U+IIMDjUNztzkZMf4wCss8AEtWQcx6Q2u4gkyEzxhjJ0yGIcbtCCw4qlvblHhMNXP7v7ujWtSp9EUlutCi/c9NEGwUo3MYIF7SH4RGWh6E2Qo4bsp7Hgd+Bf2A/1EL2lvoi9nAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .cmis-library-row[mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"] .cmis-library-cell.icon
+	{
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAw0lEQVR4Xp2TDQ3CMBCFD4KASsABczBwABJwwJSAAyQADooCOgc46ByMl/CSNpfLDnbJl7XZy+u7/izkWy/QiF8X0GnBGowgTBgEajK4WoJRnKKm0SZL+a8S2IE9OANZTYi9pCfQOS04e2IkuDHeAUSQaXCs+r7zv7kHPb8N2KoVI8dPILZBEW1AqwyGovENdIKW8wGkIrdPIVW38l0ZBvYvUwl0xEhC6d836KvxQ83jLwbJSCC6fw0f0/yLlECe8S7kA53hL2aqKySAAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .icon {
+	height: 16px;
+	width: 16px;
+	display: table-cell;
+}
+
+.cmislibrary .documentlist .tableBody .actions .icon {
+	display: block;
+	float: right
+}
+
+.cmislibrary .icon-back {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAjUlEQVQ4jd3PsQkCQRhE4U8wMRIN7eSKEMECDC3ADuzAFjwwEkwMxGrMDNXQ6DTZg+VgXblLxAeT/DBvZ/lrRti2LS9xQ9Xm1RKvkAorzDDIlae4RuVmHlijnxIswuyUoM7u04oJjo3CBic8o9s89514Tc0Y+3A75wTxmpgeDrh/I0gxxKWLAIqugh/iDScHKrT7yNzzAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .icon-checkin {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAKElEQVQ4jWNgGOzgPxTjBEyU2jAMDGBEYuMNLFx6KXYBITAajUMCAACASwUQjGKN8AAAAABJRU5ErkJggg==) no-repeat;
+}
+
+.cmislibrary .icon-checkout {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAbwAAAG8B8aLcQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACySURBVDiNpdO9DcIwEIbh92MCagp6mAEhWhr+MgtLUPE/AzuxAkUkKkDiowmRFZngwEmu7OfOZ51lm3+i1RRIyiRdJC0BsJ28gC4wAK6AgXbyDSRlwBnoAWNgZTtPrZwBj6LqExiWewl4EWADR0BJCSL4EOLaBMAcuAd4Hz33Ac9ScDRBBO9q26zgaQVvvz7yP7hMAEwqeNNgOukDtwCvG443o1+xbQR0ihZy26fUv/GOF+Z0wqJ7XgcyAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .icon-cancel-checkout {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAbwAAAG8B8aLcQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVDiNndO7SkNBEIDhL/gC1haWFsFHEG/YKTHExtJGsLOyESSINoJIDNGnsNAH8U3svBtwbeaEJWY9wYUtdmb+f5a9NNDEQkrp3j/HIYbopJTUTezgCUcpJVXwGF9o18DzWMIzEmbz5ElIWn90/sR+SC5GO8iKulG0NQEeRtdvLI9yEzqdhmQz1p0MTrhFoygI6AwfOB+Db3K4KAjJXQYmDCbWFeB2HGgFPxQbTQE/4h0btQJsj8H9iF/iDetFQQnO8ld4xdovAVpj8HXhbHohWclimnHvFdyrec59vFSPCVanhTPJIP7DIszhALvTwCFoYA8zP3ox0WE54hmqAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .icon-delete {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA80lEQVQ4jbXSQUrDYBAF4E/xAiqCqBcSBZeiXkEXXQgKbUEQ3Ok53NZdj1BBwW1PIIhSrBspiZsJjiGxuPDBgz9v5r1/Mgn/gBX0McJzcIQelueZd/CKsoUv2G4z72H2i7niDLt18xom0VBg2GAcRq3EG1ZzwEVqvAutm7RuaIOk9XPAQyoUOAn9DOdxPk4TlLjPAe8NI+cbeg31CSzWl5Gw1HKusJAfnlpuPw0KLfc85oCrVBiE1klaJ7S8xMscsIEP39/51s+FFaFV/8kU6/V3OqqZ2ljgoGEn4DBN0sQp9tvMFbZwgzE+g2NcY3Oe+c/4Ahp7duByKVzVAAAAAElFTkSuQmCC) no-repeat;
+}
+
+.cmislibrary .icon-close {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIBJREFUOI3dkLENg0AQBGeRIHIGtGBciQNnpJRADgUgN+AKXQAVODpHSA7u75EzmHRvVquD0/HI5BVwjw6uwJSSJT2BNreiA+Z/Za8klJUp6SVdzOwFrN5RERS8JdVm9knJEZWkBaiJH+tS/sgb3mNDuXGyXSVjQt64AcOeJQfiC5NFE9mPPVrMAAAAAElFTkSuQmCC) no-repeat;
+	left: 185px;
+	position: relative;
+	width: 16px !important;
+}
+
+.cmislibrary .icon-download {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAoUlEQVQ4jd3QMQ6BURAE4C8S56CXqGmJIyjdgopC3EDpDoIzcARqCi4gFKJA8/Dwy5/QiEmmePN2d2aXv0YP58Duu6LMty5fD0hCByf3+Fee0E5LUMMaDRwj/YA6NqgmuWYxwAq5oFWwDawELY8l+qHnhnGIOUIz0ssoRe8WJqF2GA/Ye9y3kJCy+FSziz8XXo+Wxjn3I04THNMw+6DnF3EBx8Yx7C+Q9N0AAAAASUVORK5CYII=) no-repeat;
+}
+
+.cmislibrary .version .icon-download {
+	padding-left: 20px;
+}
+
+.cmislibrary .icon-version {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAi0lEQVQ4jdXSsQ3CMBSE4Q8URMMAKenS0tGmTJmRMgZjULICHVuQARiAIkSy0Ist0QC/ZMk6+e4sP/NtVoHWo8OY8bWvFdLjUCge5k31ZoQdGuwD4xX3VEgDOpwyrQ2OOC8FjLhlAkS3WhcMRf4vYGsacf1pwMb0kJdZqBaPxjxkxthKflhAnTb/Dk9Sxw2Z0G/nhQAAAABJRU5ErkJggg==) no-repeat;
+}
+
+.cmislibrary .icon-update {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAPklEQVQ4jWNgGOyghIGBoYpczXUMDAz/obiLEs0kG4JNM9GG4NNM0BBiNBPtkhosmpqxKWQiZBIhMGrAYAAA3Jwo/umv1BEAAAAASUVORK5CYII=) no-repeat;
+}
+
+.cmislibrary .icon-view {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA30lEQVQ4jaXTvUoDQRQF4G+1Ee3TmiIhILELpBAkRQgSK9/Aykr0KYyNb+CbhGAvWEniLynyBNpqZZHZsEx2E8MeGIZ7uPfM/RtKIingd9BFPdgfGOFnnUCCC1QxxGvgD9DDFPershmgtSLjNm6KMr/OCa6YlxOLXKbGVrj3sI+nyPkOZxH3iBp2YTuQJ3jGLHL+whjfEf9r3uDPNIMGXiyjg/McfhJiFiVQPNI8LHxTgXc0NxA4xFtWYITTHMdqODH6eIjJKxz94/VjmTFmkeDW+kUayPSg9CqX/kyl8QdMvSQhz2641AAAAABJRU5ErkJggg==)
+		no-repeat;
+}
+
+.cmislibrary .icon-preview {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAAwElEQVQ4jcXQoWqCURQH8N8cU2HJsLwZRNPaiixYNhC/5BModqttYc3k+p7A5jv4BsMoZsMGA9OwLPgJY3yeLyj4hxvuOfA7517OnYuM+wB32OAK13jHKg8rYIKHf/USXvGYBwxwH/THKGdN3aeKjwCYoh0B23hBCzQi4DIHqGAdAcX0HEqCeTShjpcDvVu8ZTX+rv2FHwzxjU/coIsOenafvIy2YPeMLkboo5bWWyn6lAdEaaZIcgzyjNkxwGnzC1ozGR+w85N7AAAAAElFTkSuQmCC) no-repeat;
+}
+
+.documentpreview .icon-back-documents {
+	float: right;
+	margin-bottom: 20px;
+	padding-left: 20px;
+	text-align: right;
+	width: 130px;
+}
+
+.cmislibrary .detail,.cmislibrary .versions {
+	float: left;
+	border-right: 1px dotted #EEE;
+	width: 75%;
+}
+
+.cmislibrary .detail-actions {
+	float: left;
+	width: 24%;
+	padding-left: 5px;
+}
+
+.cmislibrary .detail-actions div.icon {
+	width: 100%;
+	display: block;
+	padding-left: 20px;
+	margin-top: 5px;
+}
+
+.cmislibrary .detail td {
+	line-height: 20px;
+	border-bottom: 1px solid #EEE;
+}
+
+.cmislibrary .cmis-library-detail-label {
+	font-weight: bold;
+}
+
+.cmislibrary .cmis-library-detail-value {
+	font-style: italic;
+}
+
+.cmislibrary .version {
+	border-bottom: 1px dashed #000000;
+	margin-left: 40px;
+}
+
+.cmislibrary .pagination .page,.cmislibrary .pagination .label {
+	display: table-cell;
+	padding: 5px;
+}
+
+.cmislibrary .pagination .label,.cmislibrary .pagination .page.highlight
+	{
+	font-weight: bold;
+}
+
+.cmislibrary #overlay {
+	position: absolute;
+	left: 0;
+	right: 0;
+	top: 0;
+	bottom: 0;
+	background-color: #FFFFFF;
+	-moz-opacity: .80;
+	filter: alpha(opacity = 80);
+	opacity: .80;
+	z-index: 10000000;
+	display: none;
+}
+
+.cmislibrary .addDocument {
+	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAB0ElEQVRYhe3XP2tUQRSG8Z+6oouRCIISkSDEaCcGwSKaRmNhkUoL/RqCnaQQrATFRkhjrWga/7BRQioRxEKwEYNRSIJooWISKxuLmZXlst6dWfayTR5YuMycec+7s3fmnGWTPrMlM/4oLuA89mFvHP+Ob5jDIyz2ymCTMbzAOu7jEsYxGj/juIwH2MBzHO9F4hru4AeuYSBhzW5M4yduR42u2CN865fY38X6IbwSdmMwd/F2LAhbuqOL5E124iHmo2YyM3gdBcq4iesdYup4g7upyU9iDQcTYlMMwLDwAp8oTmxtE3wjCq8mCKeyjFtRu5Qj+IVdicKpO0A4Qes43DpY3IGLeIrfiaI5bOCZcJH918AZNCpI3qSBs2UGhrFUoYGlmOMfxVtqCF8LY2W/8Sn86RAz3fL8BQfKDLSjXjJXS4jJ4gNOZ8TnnAKYwPvWgeI7sIqRDMFcRrFSZqCBqQoNTCmcsqKBxzgn/SLKYQCTeFJmYFEoQlcqMHBVKO0fOwWOCddxr4vRGo4VJ9oVo7e4h1mdy3EK9ag1g3epi2pCN9SrhmQO23IXD+pjS9akr01pK5W15bl/TEaEy2QyPh+K45+FSjcvnPNPmbqb9I+/7TVcR2eVFrIAAAAASUVORK5CYII=);
+	background-repeat: no-repeat;
+	line-height: 32px;
+	font-weight: bold;
+	font-size: 14px;
+	padding-left: 35px;
+}
+
+.cmislibrary #filedrag {
+	font-weight: bold;
+	color: #555;
+	cursor: default;
+	margin: 1em 0;
+}
+
+.cmislibrary #filedrag.hover {
+	color: #f00;
+	border-color: #f00;
+	border-style: solid;
+	box-shadow: inset 0 3px 4px #888;
+}
+
+.cmislibrary .uploadarea {
+	display: none;
+	width: 100%;
+}
+
+.cmislibrary .uploadarea .uploadform,.cmislibrary #filedrag {
+	padding: 10px;
+	display: table-cell;
+	width: 50%;
+}
+
+.cmislibrary .uploadarea .uploadform .container,.cmislibrary #filedrag  .container
+	{
+	padding: 1em 0;
+	vertical-align: middle;
+	width: 100%;
+	text-align: center;
+	border: 2px dashed #555555;
+	border-radius: 7px;
+	height: 20px;
+}
+
+.cmislibrary td.checkInRow .checkIn,.cmislibrary td.updateRow .update {
+	text-align: center;
+}
+
+.cmislibrary td.checkInRow .checkIn input[type='text'],.cmislibrary td.updateRow .update input[type='text']
+	{
+	margin: 0 10px;
+}
+
+.cmislibrary .checkIn,.cmislibrary .update {
+	padding-left: 50px;
+	padding-top: 20px;
+	padding-bottom: 20px;
+}
+
+.cmislibrary .checkIn>label,.cmislibrary .update>label {
+	display: block;
+	text-align: left;
+	width: 100px;
+}
+
+.cmislibrary .checkIn>input,.cmislibrary .checkIn>button,.cmislibrary .update>input,.cmislibrary .update>button
+	{
+	display: block;
+}
+
+.cmislibrary .checkIn>input[type='text'] {
+	width: 400px;
+}
+
+.cmislibrary #filedrag  .container {
+	
+}
+
+.cmislibrary .uploadarea .uploadform {
+	margin-right: 20px;
+}
+
+.cmislibrary .uploadarea .uploadform  button {
+	display: none;
+}
+
+.cmislibrary .documentlist {
+	clear: both;
+	padding-top: 20px;
+}
+
+.cmislibrary .documentlist .pagination {
+	padding-top: 20px;
+}
+
+.cmislibrary .action-header div.item {
+	float: right;
+	line-height: 22px;
+	margin-right: 20px;
+}
+
+.cmislibrary .action-header div.item.logout {
+	background-image:
+		url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAuklEQVQ4T2NkYGD4D8TEgoVAhQnIihmhBmwB0gcJmFIMlN+Jy4BSoEQPAQOuAOXPDKgBM4C23wbiq0AcAsQ5QPwDFgbEeAHmQ24g4zoQzwXiRnIMABnkB8QrgVgLlwHKQMmZBALVDhQruAxQAkpOI2CAIz4DCCWsQKCCpfi8gM8AXqDkNSCeBcTNpATibKCGW0B8CYhBLsgH4p+kGEDblLgN6JzDBEKuACi/A4gTkNXBvEAo1GHyGNkZAC8zPbdcjOsOAAAAAElFTkSuQmCC);
+	background-repeat: no-repeat;
+	background-position: 3px;
+	padding-left: 22px;
+}
+
+.cmislibrary .query {
+	float: right;
+}
+
+.cmislibrary .uploadDocument {
+	float: left;
+	width: 100%;
+}
+
+.cmislibrary .query #queryButton {
+	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKQWlD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: 20px;
+	float: right;
+	margin-left: 7px;
+}
+
+.cmislibrary .query #queryClean {
+	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAXxJREFUOI2V1MtKHEEUxvGfEmcWisy8goSAC/F+2esmWQoGJeIzRRBc6UJmITHJMwi6yFOYaEAEyc6dkLg41VDpqZ4Z/9DQVefUV7fzFWXaOMB3/MZT+u7wDfspZyR28Qcn2MRkFpvCFk7xiI+DhMZxjEvMjDDxW1zhKI3t4xg9vBlBrGIC50n0P3bTyl4jVtHCNXaqjrY4s3ybXSwMEFlEJ2u/w0MSdyAuIGcBv7BWENvAT8zV+s/wiSiNzcLANdzWRDfSREuF/Pe4IOpsspCQi65nYssNuZ20ck8NCRXroqBvsTIk97lYPzXG8A9/0/9Q7oQDSlTbXMGq2NJqQ24XN4Q3twaI5Wc2SPQDvhBGP60FF9PA0gVUovO1/h72iMJ+FN6s6Oivs5x5TGftWdxLhU28GlfCm6+ljR/YrgeOhNFb9cAQsa84LAXHk+i18OYwZtPKPmt4vip2hNHPhJ3yR6ArbrMnzqxvm020hNEvxI0+p+9GlMaehqN5AXv9Si2J2w4ZAAAAAElFTkSuQmCC);
+	width: 20px;
+	height: 20px;
+	float: right;
+	margin-left: 7px;
+	display: none;
+}
+
+.cmislibrary .query .advanced-search {
+	background-color: white;
+	border: 1px solid rgb(171, 171, 171);
+	margin-top: -1px;
+	padding: 10px !important;
+	position: fixed;
+	width: 135px !important;
+	display: none;
+}
+
+.cmislibrary .query .advanced-search .title {
+	font-weight: bold;
+	margin-bottom: 10px;
+}
+
+.cmislibrary .query .advanced-search .type {
+	font-style: italic;
+	margin-left: 10px;
+}
+
+.cmislibrary .advanced-search-form .search-form {
+	padding-top: 50px;
+	padding-left: 30px;
+}
+
+.cmislibrary .advanced-search-form table {
+	width: auto !important;
+}
+
+.cmislibrary .advanced-search-form tr {
+	height: 35px;
+}
+
+.cmislibrary .advanced-search-form .cmis-library-search-form-label {
+	color: #333;
+	font-family: Open Sans Bold, Arial, sans-serif;
+	font-weight: bold;
+	margin-right: 0.4em;
+	padding-bottom: 0.2em;
+	min-width: 150px;
+}
+
+.cmislibrary .advanced-search-form .cmis-library-search-form-input input,.cmislibrary .advanced-search-form .cmis-library-search-form-input select
+	{
+	width: 30em;
+	border: 1px solid #ccc;
+	font-weight: normal;
+	box-shadow: 0.33px 2px 8px rgba(0, 0, 0, 0.1);
+	padding: 5px;
+}
+
+.cmislibrary .advanced-search-form .cmis-library-search-form-input input[cmisPropertyType='date']
+	{
+	width: 12em;
+}
+
+.cmislibrary .advanced-search-form .search-button {
+	min-height: 2em;
+	padding: 5px 10px 5px 30px;
+	background:
+		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO9JREFUeNqkUssRgkAMlR3v2oF0oHZACXYAJ66uFUgJeOUidkALViCWYAdaAb7MPJi4sghjZt5kyeclJAmappn9I3P9URRFBpUAK5oeQJmmaeYjCNoOkFxDrYETUNEvZDFwAUniJWDlI7BFYO10JYln4ABf7hIYaiuV3WQR2ErpgDFfYlBhCb1QbfdJpebS28EvefocBi2K8wVEAwQJN+LtQIZj8TsbNwC2iJsoh+5ACHbADQl6jWLb8x0O3oE6JMuhdofE5Ji2j5sIxp4yyHVgR2ImnP1dvWMQ5lMJIocknETAdbckVw5+/Ax88hZgANPmWM6XSaz8AAAAAElFTkSuQmCC")
+		no-repeat scroll 12px 4px rgba(0, 0, 0, 0);
+	border-color: #ccc;
+	border-style: solid;
+	border-width: 1px;
+	width: 90px;
+	float: right;
+}
+
+.cmislibrary .query #queryValue {
+	border: 1px solid rgb(171, 171, 171);
+	padding: 3px;
+}
+
+.cmislibrary .query #queryValue:focus {
+	outline: none;
+	border-color: #2a8dd4;
+}
+
+.cmislibrary .cmis-library-header td {
+	height: 22px;
+}
+
+.cmislibrary .cmis-library-header .header-name {
+	float: left;
+}
+
+.cmislibrary .cmis-library-header .sort-icon {
+	float: right;
+	height: 16px;
+	width: 16px;
+	padding: 3px;
+	background-position: 3px !important;
+}
+
+.cmislibrary .cmis-library-header .sort-icon:hover {
+	background-color: #f0f0f0;
+}
+
+.cmislibrary .cmis-library-header .sort-descending-icon {
+	background:
+		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+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WTPZtJm6ebeLZ5bDpaql+
 aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAGtJREFUeNrEk8sNwDAIQ58rBupUDJWlMhK9VFXaKhJR+uFoIWMbUEQwUwuTZQCllJsMd9cnCjSSwa5Ujcq8habnRGKJqStQL/BBYonAagcPQIqIUQsAcvcH7yC781cOybKTeoT6/ZmmCbYBAMYdMSFQpX0FAAAAAElFTkSuQmCC")
+		no-repeat scroll 0 0 rgba(0, 0, 0, 0);
+}
+
+.cmislibrary .cmis-library-header .sort-ascending-icon {
+	background:
+		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3Ag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X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAF5JREFUeNpi/P//PwMlgImBQsDCwMDAMGvWLAxnpKWlMdLFBYzEhgGyK5FdN/BeYCHFNpxhgM8L2OSQ1RDjBUNcmqkSCwS9gG4IujhJsYDNUMYBz0wUGwAAAAD//wMAdFk12XUNNgEAAAAASUVORK5CYII=")
+		no-repeat scroll 0 0 rgba(0, 0, 0, 0);
+}
+
+.cmislibrary .errors {
+	padding: 5px;
+}
+
+.cmislibrary .errors .error {
+	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA80lEQVQ4jbXSQUrDYBAF4E/xAiqCqBcSBZeiXkEXXQgKbUEQ3Ok53NZdj1BBwW1PIIhSrBspiZsJjiGxuPDBgz9v5r1/Mgn/gBX0McJzcIQelueZd/CKsoUv2G4z72H2i7niDLt18xom0VBg2GAcRq3EG1ZzwEVqvAutm7RuaIOk9XPAQyoUOAn9DOdxPk4TlLjPAe8NI+cbeg31CSzWl5Gw1HKusJAfnlpuPw0KLfc85oCrVBiE1klaJ7S8xMscsIEP39/51s+FFaFV/8kU6/V3OqqZ2ljgoGEn4DBN0sQp9tvMFbZwgzE+g2NcY3Oe+c/4Ahp7duByKVzVAAAAAElFTkSuQmCC) no-repeat
+		rgb(254, 215, 214);
+	background-position: 5px 5px;
+	border: 1px solid rgb(222, 143, 142);
+	border-radius: 10px;
+	padding: 10px 30px 10px;
+}
+
+.cmislibrary .cmis-form {
+	margin-left: auto;
+	margin-right: auto;
+	max-width: 500px;
+	background: #FFF;
+	padding: 20px 30px 20px 30px;
+	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
+	color: #888;
+	text-shadow: 1px 1px 1px #FFF;
+	border: 1px solid #DDD;
+	border-radius: 5px;
+	-webkit-border-radius: 5px;
+	-moz-border-radius: 5px;
+}
+
+.cmislibrary .cmis-form h1 {
+	font: 25px "Helvetica Neue", Helvetica, Arial, sans-serif;
+	padding: 0px 0px 10px 40px;
+	display: block;
+	border-bottom: 1px solid #DADADA;
+	margin: -10px -30px 30px -30px;
+	color: #888;
+}
+
+.cmislibrary .cmis-form h1>span {
+	display: block;
+	font-size: 11px;
+}
+
+.cmislibrary .cmis-form label {
+	display: block;
+	margin: 0px 0px 5px;
+}
+
+.cmislibrary .cmis-form label>span {
+	float: left;
+	width: 20%;
+	text-align: right;
+	padding-right: 10px;
+	margin-top: 10px;
+	color: #333;
+	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+	font-weight: bold;
+}
+
+.cmislibrary .cmis-form input[type="checkbox"],.cmislibrary .cmis-form input[type="text"],.cmislibrary .cmis-form input[type="password"],.cmislibrary .cmis-form input[type="email"],.cmislibrary .cmis-form textarea,.cmislibrary .cmis-form select
+	{
+	border: 1px solid #CCC;
+	color: #888;
+	min-height: 20px;
+	line-height: 15px;
+	margin-bottom: 16px;
+	margin-right: 6px;
+	margin-top: 2px;
+	outline: 0 none;
+	padding: 5px 0px 5px 5px;
+	width: 70%;
+	border-radius: 4px;
+	-webkit-border-radius: 4px;
+	-moz-border-radius: 4px;
+	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+}
+
+.cmislibrary .cmis-form input[type="checkbox"] {
+	width: 20px;
+	margin-top: 7px;
+}
+
+.cmislibrary .cmis-form select {
+	background: #FFF
+		url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAICAYAAAAiJnXPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGJJREFUeNpirK+vP8vAwGDEgB18bmho4EMXZALi9UB8C4emVdgEQZpagDgfiB+gyXUCcQouTSBwAIh7gfgbkoYKHLYzsEDpH0A8BepMJ3waQIDx////DKQCJgYyAFmaAAIMALOYE2LW9o5QAAAAAElFTkSuQmCC)
+		no-repeat right;
+	appearance: none;
+	-webkit-appearance: none;
+	-moz-appearance: none;
+	text-indent: 0.01px;
+	text-overflow: '';
+	width: 70%;
+	height: 35px;
+	line-height: 15px;
+}
+
+.cmislibrary .cmis-form textarea {
+	height: 100px;
+	padding: 5px 0px 0px 5px;
+	width: 70%;
+}
+
+.cmislibrary .cmis-form .button {
+	background: #FFF;
+	border: 1px solid #CCC;
+	padding: 10px 25px 10px 25px;
+	color: #333;
+	border-radius: 4px;
+}
+
+.cmislibrary .cmis-form .button:hover {
+	color: #333;
+	background-color: #EBEBEB;
+	border-color: #ADADAD;
+}
\ No newline at end of file

Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/library.css
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message